*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    color:#222;
    background:#fff;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* ---------------- NAVIGATION ---------------- */

nav{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:rgba(255,255,255,.9);
    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(0,0,0,.05);
}

.logo{
    font-size:1.4rem;
    font-weight:700;
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:#222;
    font-weight:600;
    transition:.25s;
}

.nav-links a:hover{
    color:#2563eb;
}

/* ---------------- HERO ---------------- */

.hero{

    height:100vh;

    background:url("images/hero.jpg") center center/cover;

    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.overlay{

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.45);

}

.hero-content{

    position:relative;

    color:white;

    max-width:850px;

    padding:20px;

}

.hero h1{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:20px;

}

.hero p{

    font-size:1.4rem;

    margin-bottom:35px;

}

/* ---------------- BUTTONS ---------------- */

.button{

    display:inline-block;

    padding:16px 34px;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

    margin:8px;

}

.primary{

    background:#2563eb;

    color:white;

}

.primary:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 30px rgba(37,99,235,.25);

}

.secondary{

    border:2px solid white;

    color:white;

}

.secondary:hover{

    background:white;

    color:#222;

}

/* ---------------- SECTIONS ---------------- */

.section{

    padding:90px 8%;

    max-width:1200px;

    margin:auto;

}

.section h2{

    text-align:center;

    font-size:2.4rem;

    margin-bottom:50px;

}

.grey{

    background:#f8fafc;

    border-radius:30px;

}

/* ---------------- BADGES ---------------- */

.badges{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    padding:80px 8%;

}

.badge{

    background:#f8fafc;

    border-radius:18px;

    padding:30px;

    text-align:center;

    font-size:2rem;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.badge h3{

    margin-top:15px;

    font-size:1.1rem;

}

/* ---------------- TESTIMONIALS ---------------- */

.testimonial-box{

    max-width:850px;

    margin:auto;

    text-align:center;

    background:#fff;

    border-radius:20px;

    padding:45px;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.stars{

    color:#f4b400;

    font-size:2rem;

    margin-bottom:20px;

}

.testimonial{

    display:none;

}

.testimonial.active{

    display:block;

}

.testimonial p{

    font-size:1.2rem;

    font-style:italic;

    margin-bottom:25px;

}

.testimonial h4{

    margin-bottom:5px;

}

.dots{

    margin-top:30px;

}

.dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#ccc;

    display:inline-block;

    margin:0 6px;

    cursor:pointer;

}

.dot.active{

    background:#2563eb;

}

/* ---------------- ABOUT ---------------- */

.about{

    display:grid;
    grid-template-columns:350px 1fr;
    gap:60px;

}

.about img{

    border-radius:25px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.about-text p{
    margin-bottom:18px;
    font-size:1.1rem;
    line-height:1.8;
    color:#444;
}

.about-text p:last-child{
    margin-bottom:0;
}


/* ---------------- CARDS ---------------- */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.card{

    background:white;

    border-radius:18px;

    padding:30px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

/* ---------------- SUBJECTS ---------------- */

.subjects{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.subjects div{

    background:white;

    padding:25px;

    border-radius:16px;

    text-align:center;

    font-weight:600;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

/* ---------------- TIMELINE ---------------- */

.timeline{

    display:grid;

    gap:18px;

    max-width:700px;

    margin:auto;

}

.timeline div{

    background:#f8fafc;

    padding:20px;

    border-radius:15px;

    font-weight:600;

}

/* ---------------- CONTACT ---------------- */

.contact{

    background:#111;

    color:white;

    text-align:center;

    padding:100px 8%;

}

.contact h2{

    font-size:2.8rem;

    margin-bottom:20px;

}

.contact p{

    margin-bottom:35px;

}

/* ---------------- FOOTER ---------------- */

footer{

    padding:35px;

    text-align:center;

    color:#777;

}

/* ---------------- MOBILE ---------------- */

@media(max-width:900px){

.hero h1{

font-size:2.8rem;

}

.about{

grid-template-columns:1fr;

text-align:center;

}

.nav-links{

display:none;

}

.section{

padding:70px 6%;

}

.contact h2{

font-size:2rem;

}

}