html {
    scroll-behavior: smooth;
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
}

header{
    background:#0056b3;
    color:white;
    text-align:center;
    padding:20px;
}

nav{
    background:#003366;
    padding:20px;
    text-align:center;

    position:sticky;
    top:0;
    z-index:1000;
}

nav a{
    color:white;
    text-decoration:none;
    margin:20px;
    font-size:18px;
    transition:0.3s;
}

nav a:hover{
    color:#87CEFA;
}

.hero{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px;
    gap:40px;
    background:#f0f8ff;
}

.hero img{
    width:400px;
    border-radius:15px;
}

.hero-text{
    max-width:500px;
}

.hero-text h2{
    color:#003366;
    font-size:45px;
    margin-bottom:20px;
}

.hero-text p{
    font-size:20px;
    line-height:1.6;
}

button{
    margin-top:20px;
    padding:15px 35px;
    border:none;
    background:#0056b3;
    color:white;
    font-size:18px;
    border-radius:8px;
    cursor:pointer;
}

.why-us{
    text-align:center;
    padding:70px;
}

.cards{
    display:flex;
    justify-content:center;
    gap:30px;
    margin-top:40px;
}

.card{
    width:300px;
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 0 15px rgba(0,0,0,0.1);
}
.about,
.courses,
.fees{
    padding:70px;
    text-align:center;
}

.about p{
    max-width:800px;
    margin:auto;
    font-size:20px;
    line-height:1.8;
}

.course-card{
    width:400px;
    margin:auto;
    padding:30px;
    border-radius:15px;
    box-shadow:0 0 15px rgba(0,0,0,0.1);
}.contact{
    background:#f0f8ff;
    text-align:center;
    padding:70px;
}

.contact p{
    font-size:20px;
    margin:15px;
}.hero,
.about,
.courses,
.fees,
.contact{
    animation:fadeIn 1.5s;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.testimonials{
    padding:80px;
    background:#f0f8ff;
    text-align:center;
}

.testimonials h2{
    color:#003366;
    margin-bottom:40px;
}

.testimonial-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.testimonial{
    width:350px;
    padding:30px;
    background:white;
    border-radius:15px;
    box-shadow:0 0 15px rgba(0,0,0,0.1);
}

.testimonial p{
    font-style:italic;
    line-height:1.8;
}

.testimonial h4{
    margin-top:20px;
    color:#0056b3;
}

.whatsapp{

    position:fixed;

    width:70px;
    height:70px;

    bottom:30px;
    right:30px;

    z-index:1000;

}

.whatsapp img{

    width:100%;

    transition:0.3s;

}

.whatsapp img:hover{

    transform:scale(1.1);

}

table{
    width:80%;
    margin:auto;
    border-collapse:collapse;
}

th{
    background:#0056b3;
    color:white;
}

th,td{
    border:1px solid lightgray;
    padding:15px;
}

tr:nth-child(even){
    background:#f5f5f5;
}

footer{
    background:#003366;
    color:white;
    text-align:center;
    padding:30px;
}

.application{
    padding:70px;
    background:#f8f9fa;
    text-align:center;
}

form{
    width:60%;
    margin:auto;
}

input,
textarea{
    width:100%;
    padding:15px;
    margin:15px 0;
    border:1px solid lightgray;
    border-radius:10px;
    font-size:16px;
}

textarea{
    height:150px;
}

form button{
    width:100%;
}

@media(max-width:768px){

    .hero{

        flex-direction:column;

        padding:30px;

    }

    .hero img{

        width:100%;

    }

    .hero-text h2{

        font-size:35px;

    }

    .cards{

        flex-direction:column;

        align-items:center;

    }

    .testimonial-container{

        flex-direction:column;

        align-items:center;

    }

    .course-card{

        width:90%;

    }

    form{

        width:90%;

    }

    table{

        width:100%;

        font-size:14px;

    }

    nav a{

        display:block;

        margin:15px;

    }

}

footer{

    background:#003366;

    color:white;

    padding:50px;

}

.footer-container{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:40px;

}

.footer-section{

    flex:1;

    min-width:250px;

}

.footer-section h3{

    margin-bottom:20px;

}

.footer-section a{

    color:white;

    text-decoration:none;

    line-height:2;

}

.footer-section a:hover{

    color:#87CEFA;

}

hr{

    margin:30px 0;

}

.copyright{

    text-align:center;

}

#darkModeBtn{

    background:white;

    color:#003366;

    border:none;

    padding:10px 15px;

    border-radius:8px;

    cursor:pointer;

}

.dark-mode{

    background:#121212;

    color:white;

}

.dark-mode .card,
.dark-mode .course-card,
.dark-mode .testimonial{

    background:#1e1e1e;

    color:white;

}

.dark-mode footer{

    background:black;

}

#topBtn{

    display:none;

    position:fixed;

    bottom:30px;

    left:30px;

    z-index:1000;

    border:none;

    outline:none;

    background:#0056b3;

    color:white;

    cursor:pointer;

    padding:15px;

    border-radius:50%;

    font-size:20px;

}

#topBtn:hover{

    background:#003366;

}

.menu-toggle{

    display:none;

    font-size:35px;

    cursor:pointer;

    color:white;

    background:#003366;

    padding:10px 20px;

}

@media(max-width:768px){

    .menu-toggle{

        display:block;

    }

    #navbar{

        display:none;

        flex-direction:column;

    }

    #navbar.active{

        display:flex;

    }

}