@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --black: #000;
    --white: #ffffff;
    --lightgrey: #f1f1f1;
    --darkblue: #0d102c;
    --primarycolor: #3d51f2;
    --secondarycolor: #5670ef;
    --lightDark: #080a25;
    --darkText: #8388b4;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--darkblue) !important;
    color: var(--white) !important;
}
.nav {
    flex-wrap: nowrap !important;
}
.toast {
    opacity: 0.9;
  }
  .address-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .address-item h5 {
    flex: 1; /* Allow the text to take as much space as needed */
    margin-right: 10px;
    word-break: break-word; /* Ensure long text breaks properly */
  }
  
  .copy-button {
    flex-shrink: 0; /* Prevent the button from shrinking */
  }

/* Header */
header {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2em 1em;
}

#barContainer {
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav {
    list-style-type: none;
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--lightDark);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.showNav {
    padding: 1em;
    padding-top: 5em;
    width: 70%;
    max-width: 300px;
}

.navLogo {
    margin-bottom: 3rem;
}
.logo {
    width: 48px;
    height: 48px;
}
.nav-link {
    font-size: 1rem;
    width: 100%;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link a {
    color: var(--white);
}

.sociallinkContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
}

.sociallink {
    margin-right: 1em;
    cursor: pointer;
}

@media screen and (min-width: 800px) {
    #registerModal .modal-body form {
        width: 50%;
    }
    #contactModal .modal-body form {
        width: 50%;
    }
    #logoutModal .modal-dialog {
        width: 50%;
    }

    .modal-dialog {
        max-width: 65% !important;
    }
    .nav {
        position: relative;
        width: auto;
        background-color: transparent;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-right: 5%;
    }
    .nav-link {
        margin-right: 2em;
    }
    .navLogo,
    #barContainer,
    .sociallinkContainer {
        display: none;
    }
}

/* Hero page */
.headline {
    color: var(--white);
    font-size: 3rem;
    width: 100%;
}

.cryptoText {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.btnContainer {
    margin-top: 2em;
}

.fa-play {
    margin-left: 0.5em;
}

.sectionPic {
    order: 0;
}

.sectionDesc {
    order: 1;
    margin-top: 1em;
}

@media screen and (min-width: 800px) {
    .sectionPic {
        order: 1;
    }

    .sectionDesc {
        order: 0;
    }
    .gridSectionVideosDashboard {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (min-width: 1000px) {
    .headline {
        font-size: 4em;
    }
}

/* carousel */
.carouselContainer {
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow: hidden;
    border-radius: 20px;
    scroll-behavior: smooth;
}

.eachCarousel {
    background-color: var(--lightgrey);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1em;
    border-radius: 20px;
    margin: auto;
    width: 100%;
    height: 200px;
}
.eachCarousel img {
    width: 50px;
    height: 50px;
}
.carouselDesc {
    margin-left: 1em;
    padding-right: 10px;
}

.carouselTitle {
    color: var(--darkblue);
    font-size: 1.5rem;
    margin-bottom: 1em;
}

.carouselPara {
    color: var(--lightDark);
    font-weight: 500;
    margin-bottom: 1em;
}

.carouselPrice {
    color: var(--darkblue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    margin-bottom: 1em;
}

.carouselDiscount {
    color: var(--primarycolor);
}

.rect {
    width: 10px;
    height: 10px;
    background-color: var(--lightDark);
}

.carouselBtn {
    background-color: var(--secondarycolor);
    margin-top: 20px;
    text-transform: uppercase;
}

.carouselIndicator {
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--lightgrey);
    cursor: pointer;
    margin-right: 10px;
    opacity: 0.5;
}

.activeIndicator {
    opacity: 1;
}

@media screen and (min-width: 700px) {
    .carouselContainer {
        grid-auto-columns: calc(100% / 2);
    }

    .eachCarouselBorder {
        border: 5px solid var(--primarycolor);
    }
}

@media screen and (min-width: 1100px) {
    .carouselContainer {
        grid-auto-columns: calc(100% / 3);
    }
}

/* Processes */
.processessDesc {
    order: 0;
}

.processesPic {
    order: 1;
}

.eachProcesses {
    display: flex;
    margin-bottom: 2em;
}

.eachProcesses img {
    margin-right: 2em;
}

.processTitle {
    color: var(--white);
    margin-bottom: 1em;
}

/* Markets */

.marketDesc {
    order: 0;
}

.eachMarket {
    display: flex;
    margin-bottom: 2em;
}

.eachMarket img {
    margin-right: 2em;
}

.marketTitle {
    color: var(--white);
    margin-bottom: 1em;
}

.marketspicSection {
    background-color: var(--lightgrey);
    border-radius: 20px;
    padding: 1em;
}

.marketspicHeader {
    color: var(--darkblue);
    text-align: center;
    padding: 1em;
    text-transform: uppercase;
}

.marketsPicContainer {
    width: 100%;
    max-width: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 1em;
    margin: auto;
}

.marketPic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 150px;
    border-radius: 20px;
}

.marketPic1 {
    background-color: #fc9531;
}

.marketPic2 {
    background-color: #4990ff;
}

.marketPic3 {
    background-color: #3ec2f1;
}

.marketPic4 {
    background-color: #50d79f;
}

.marketPic img {
    width: 50px !important;
}

.marketTitle {
    color: var(--white);
    font-weight: bold;
    margin-top: 0.5em;
    text-transform: uppercase;
}

/* Funds */
.fundSection {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    margin-top: 5em;
    margin-bottom: 5em;
}
.fundsContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.fund {
    margin-top: 3em;
}

.fundType {
    color: var(--white);
    margin-bottom: 1em;
    font-size: 1.5rem;
}

@media screen and (min-width: 800px) {
    .fundSection {
        width: 85%;
    }
}

@media screen and (min-width: 1000px) {
    .fundsContainer {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .fund {
        margin-top: 1em;
    }
}

/* Newsletter */

.newsletter {
    border: 1px solid #fff;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
}

.newsletter input {
    font-size: 1.1rem;
    padding: 0.7em 1.5em;
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
}

.newsletter input::placeholder {
    color: var(--lightgrey);
}

.newsletter button {
    background-color: var(--primarycolor);
    font-weight: 700;
}

.newsletterDesc {
    order: 0;
}

.newsletterPic {
    order: 1;
}

@media screen and (min-width: 800px) {
    .newsletterDesc {
        order: 1;
    }

    .newsletterPic {
        order: 0;
    }
}

/* Join Now */
footer {
    background-color: var(--lightDark);
    margin-top: 5em;
}

footer a {
    text-decoration: none;
}

.joinSection,
.footerlinksContainer {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 1em;
}

.joinSection {
    display: flex;
    align-items: center;
    padding: 3em 0em;
}

.joinSection .joinDesc {
    width: 80%;
}

.joinSection button {
    height: auto;
}

.footerlinksContainer {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-content: space-between;
    padding-top: 5em;
    border-top: 1px solid var(--lightgrey);
}

.footersociallinkContainer {
    margin-top: 1em;
}

.footerAboutus .sociallinkContainer {
    justify-content: flex-start;
}

.footerlink {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.linkTitle {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}

.footerlink a {
    color: var(--white);
    margin-bottom: 1em;
    transition: all 0.5s ease-in-out;
}

.footerlink a:hover {
    transform: translateX(10px);
}

.footerCopyright {
    background-color: var(--darkblue);
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
}

.footerCopyright p {
    text-align: center;
}

.developedBy {
    font-weight: bold;
    color: var(--white);
}

@media screen and (min-width: 700px) {
    .footerlinksContainer {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/* Contact page */
.contactSection {
    margin-top: 2em;
}
.contactformContainer {
    display: flex;
    flex-direction: column;
    order: 1;
}
.contactformContainerDashboard .registerForm {
    display: flex;
}

.contactPic {
    order: 0;
    width: 150px;
    background-color: rgba(241, 241, 241, 0.05);
    border-top-left-radius: 20%;
}

.contactPic img {
    width: 100%;
}

.contactInput {
    width: 100%;
    font-size: 1.1rem;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 20px;
    border: none;
    outline: none;
    border: 2px solid var(--white);
    background-color: transparent;
    resize: none;
    color: var(--white);
}
.contactBtn {
    width: 100%;
}

.contactInputDashboard {
    width: 90% !important;
}
.modalContentDashboard .contactBtn {
    width: 96%;
}

.contactInput::placeholder {
    color: var(--lightgrey);
    text-transform: capitalize;
}

.addressHeader {
    text-align: center;
    color: var(--white);
    margin-bottom: 2em;
}

.address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: space-between;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.eachAddress h1 {
    color: var(--white);
    margin-bottom: 0.5em;
    font-size: 1.5rem;
}

.eachAddress p {
    margin-bottom: 1em;
}
@media screen and (max-width: 800px) {
    header {
        align-items: start;
    }
    .contactPic {
        display: none;
    }
}
@media screen and (min-width: 800px) {
    .contactformContainer {
        order: 0;
    }

    .contactPic {
        order: 1;
    }

    .address {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* common styles */
section {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    margin-top: 2em;
}

.gridSection {
    display: grid;
    align-items: center;
    gap: 40px;
    margin-bottom: 5em;
}

#sectionPic {
    width: 100%;
    max-width: 550px;
    margin: auto;
}

.sectionPic img {
    width: 100%;
}

p {
    color: var(--lightgrey);
}

.darkPara {
    color: var(--darkText);
    font-weight: 500;
}

.btn {
    border: 1px solid #fff !important;
    border-radius: 50px !important;
    background-color: transparent;
    color: var(--white) !important;
    font-size: 1.1rem !important;
    padding: 0.7em 1.5em !important;
    cursor: pointer;
    transition: transform 0.2s !important;
}
.btn:hover {
    transform: scale(0.98);
}
.btn1 {
    margin-right: 1em;
}

.btn2 {
    border: none;
}

.primaryBtn {
    background-color: var(--primarycolor);
}

@keyframes bounce {
    0% {
        transform: translateY(-30px);
    }
    50% {
        transform: translateY(30px);
    }
    100% {
        transform: translateY(-30px);
    }
}

.bouncepic img {
    animation: bounce 15s infinite;
}

.sectionHeader {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.7em;
}

.sectionPara {
    font-size: 1.1rem;
    margin-bottom: 3em;
}

@media screen and (min-width: 800px) {
    section {
        width: 85%;
    }

    .gridSection {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 1000px) {
    .sectionHeader {
        font-size: 3em;
    }
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    padding: 20px;
    background-color: var(--darkblue) !important;
}
.btn-close {
    background: transparent url(img/x.png) center/1em auto no-repeat !important;
}
.modalContentDashboard {
    width: 60%;
}

.modalPopUp {
    width: 35%;
}

.modalPopUp h2 {
    margin-bottom: 24px;
}
@media screen and (max-width: 800px) {
    #registerModal .modal-body form {
        width: 100%;
    }
    .modalContent {
        width: 90%;
    }
}
/* Close button */
.closeBtn,
.closeBtnUp,
.btn-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background-color: transparent;
    border: none;
}
/* Animation */
@keyframes slideDown {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.apply {
    text-align: center;
}

.balance {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}
video {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.hero-info {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.hero-info div {
    width: 30%;
}
.hero-info img {
    width: 100%;
}

@media screen and (max-width: 992px) {
    .hero-info {
        flex-direction: column;
    }
    .hero-info div {
        width: 100%;
        margin-bottom: 24px;
    }
}

.hero-info button {
    width: 100%;
    margin-top: 24px;
}

.balance h3 {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.balance h3::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background-color: #0657ae; /* Blue underline */
    width: 0;
    animation: underline 4s infinite ease-in-out;
}

@keyframes underline {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

.error-message {
    font-size: 12px;
    color: red;
    margin-top: 5px;
}

.success-message {
    font-size: 12px;
    color: green;
    margin-top: 10px;
}

#registerModal .modal-body {
    display: flex;
    justify-content: space-between;
}
#registerModal .modal-body .contactPic {
    width: 40%;
}


#contactModal .modal-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#contactModal .modal-body .contactPic {
    width: 40%;
}


.fund img {
    margin-bottom: 8px;
}
.navbar-toggler-icon {
    width: 24px; /* Width of the image */
    height: 24px; /* Height of the image */
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: inline-block;
}

.hamburger {
    background: url("img/hamburger.png") no-repeat center center;
}

.navbar-toggler-icon:not(.hamburger) {
    background: url("img/hamburger.png") no-repeat center center;
}

.hero h5 {
    color: white;
    text-align: center;
}
.hero .col-md-6 {
    margin-bottom: 5%;
}
