html{
    scroll-behavior: smooth;
}

body {
    background-color: #f1f5f9; 
    color: #1e293b;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.Nav-Container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: gray;
    border-radius: 50px;
    margin: 40px;
    padding: 25px;
    margin-bottom: 130px;
    box-shadow: 0px 2px 5px black;
    background-color: #0f172a;
}
.Imagery{
    width: 12%;
}

.Navlist{
    display: flex;
    gap: 30px;
    list-style: none; 
}

.Navlist a{
    font-size: 20px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    padding: 10px;
    border-radius: 15px;
}

.Navlist a:hover{
    color: black;
    background-color: aliceblue;
}

.Navbar-toggle{
    background: transparent;
    display: none;
    padding: auto;
    border: none;
    cursor: pointer;
}

.bar{
    display: block;
    width: 20px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: all 0.3s ease-in-out;
    margin-top: 3px;
}

button{
    margin-top: 20px;
    padding: 7px 20px;
    border: none;
    border-radius: 8px;
    background-color: #333;
    color: white;
    cursor: pointer;
    font-size: 13px;
    margin-top: -3px;
}

.dark-mode{
    background-color: #121212;
    color: white;
}

.dark-mode button{
    background-color: white;
    color: black;
}

#menu-btn{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:white;
}




.hero-high{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px;
    margin-top: -20px;
}

.learn{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 65px;
    margin-bottom: 10px;
}

.forex{
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    font-style: italic;
}

.Course{
    text-transform: uppercase;
    text-decoration: underline;
    margin-top: 70px;
    text-align: center;
}

.card-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px;
}

.card{
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0px 5px 10px black;
}

.card:hover{
    transform: translateY(-30px);
    cursor: pointer;
}

.card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    color: black;
}

.card h1{
    font-size: 1.5rem;
    padding: 15px 20px 10px;
    color: black;
    margin: auto;
}

.card p{
    padding: 0 20px 20px;
    line-height: 1.5;
    color: black;
}


/* FAQ */
.faq{
    margin-bottom: 10px;
}
 .FAQ{
    text-align: center;
    text-decoration: underline;
    margin-top: 45px;
}

#box{
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    margin: 50px;
    margin-left: 470px;
    margin-bottom: 100px;
}

.question{
    background-color: #0f172a;
    color: white;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 15px;
    width: 100%;
    cursor: pointer;
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

.answer{
    display: none;
    background-color: white;
    color: black;
    padding: 10px;
    border-radius: 15px;
    font-weight: bold;
}

.join-us{
    width:90%;
    max-width:1000px;
    margin:100px auto;
    padding:60px;
    background:#0f172a;
    color:white;
    border-radius:20px;
    text-align:center;
}

.join-us h2{
    font-size:2.2rem;
    margin-bottom:20px;
}

.join-us p{
    width:70%;
    margin:auto;
    line-height:1.8;
}

.join-btn{
    display: inline-block;
    background-color: #1658f1;
    padding: 10px;
    border-radius: 15px;
    border: none;
    color: white;
    text-decoration: none;
    margin-top: 20px;
}




.Footer-Container {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.Footer-Top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.Footer-Brand {
    max-width: 260px;
}

.Footer-Logo {
    width: 80px;
    margin-left: -18px;
    margin-bottom: 12px;
}

.Footer-Brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}

.Footer-Links h4,
.Footer-Contact h4 {
    color: #f1f5f9;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.Footer-Links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Footer-Links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.Footer-Links a:hover {
    color: #38bdf8;
}

.Footer-Contact p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.Footer-Email {
    display: inline-block;
    margin-top: 10px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.Footer-Email:hover {
    opacity: 0.75;
}

.Footer-Bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 13px;
    color: #64748b;
}

.Footer-Socials {
    display: flex;
    gap: 20px;
}

.Footer-Socials a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.Footer-Socials a:hover {
    color: #38bdf8;
}



@media (max-width:786px){

     .Navlist{
        position:fixed;
        top:0;
        right:-100%;
        width:200px;
        height:40vh;
        background:#0f172a;
        flex-direction: column;
        gap:30px;
        transition:0.5s;
        padding:30px;
        margin-top: 90px;
    }

    #menu-btn{
        display:block;
    }


    .Nav-Container{
     width: 100%;
     padding: 50px;
     border-radius: 30px;
     margin-left: 2px;
     margin-top: 8px;
    }

  

    .Navlist.active{
        right:0;
    }

    .Navlist li{
        list-style:none;
    }

    .Navlist li a{
        text-decoration:none;
        font-size:20px;
    }

    .Imagery{
        width: 40%;
        margin-left: -35px;
    }

    .learn{
        text-align: center;
        font-size: 70px;
        margin-top: -50px;
    }

    .forex{
        margin-top: 60px;
        text-align: center;
        font-size: 23px;
    }

    .Course{
        font-size: 25px;
        margin-top: 50px;
    }

   .card-container{
    width: 100%;
    padding: 15px;
    margin: 7px;
    grid-template-columns: 1fr;
   }

   .card{
    width: 95%;
   }

   .card img{
    width: 100%;
    object-fit: cover;
   }
   
   #box{
    width: 80%;
    max-width: 300px;
    border-radius: 20px;
    margin: 35px;
    margin-bottom: 100px;
}


    .join-us p{
        width:100%;
    }

    .join-us{
        padding:40px 20px;
    }

   
    .join-btn{
    display: inline-block;
    background-color: #1658f1;
    padding: 10px;
    border-radius: 15px;
    border: none;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    }

   

 .Footer-Container {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.Footer-Top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.Footer-Brand {
    max-width: 260px;
}

.Footer-Logo {
    width: 80px;
    margin-left: -18px;
    margin-bottom: 12px;
}

.Footer-Brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}

.Footer-Links h4,
.Footer-Contact h4 {
    color: #f1f5f9;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.Footer-Links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Footer-Links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.Footer-Links a:hover {
    color: #38bdf8;
}

.Footer-Contact p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.Footer-Email {
    display: inline-block;
    margin-top: 10px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.Footer-Email:hover {
    opacity: 0.75;
}

.Footer-Bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 13px;
    color: #64748b;
}

.Footer-Socials {
    display: flex;
    gap: 20px;
}

.Footer-Socials a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.Footer-Socials a:hover {
    color: #38bdf8;
}

}
