/* ==========================
   GOOGLE FONT
========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#08111f;
    color:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

/* ==========================
   NAVIGATION
========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(15px);
    background:rgba(8,17,31,.75);
    border-bottom:1px solid rgba(255,255,255,.08);
}

nav{
    width:90%;
    margin:auto;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:1.8rem;
    font-weight:700;
    color:#22c55e;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.4s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#22c55e;
}

/* ==========================
   HERO SECTION
========================== */

.hero{
    height:100vh;
    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.75)),
    url("../assets/images/history-bg.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    animation:zoomHero 18s infinite alternate;
}

@keyframes zoomHero{

0%{
background-size:100%;
}

100%{
background-size:115%;
}

}

.overlay{
    width:100%;
    display:flex;
    justify-content:center;
}

.hero-content{
    width:90%;
    max-width:900px;
    text-align:center;
}

.hero-content h1{

font-size:3.8rem;

margin-bottom:20px;

font-weight:800;

}

.hero-content p{

font-size:1.2rem;

margin-bottom:35px;

color:#dddddd;

}

.btn{

display:inline-block;

padding:15px 35px;

background:#6d28d9;

border-radius:50px;

color:white;

text-decoration:none;

font-weight:600;

transition:.4s;

box-shadow:0 15px 40px rgba(109,40,217,.35);

}

.btn:hover{

background:#22c55e;

transform:translateY(-6px);

box-shadow:0 20px 45px rgba(34,197,94,.45);

}

/* ==========================
   STATISTICS
========================== */

.stats{

width:90%;

margin:80px auto;

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.stat-card{

background:rgba(255,255,255,.05);

padding:35px;

border-radius:18px;

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.08);

text-align:center;

transition:.4s;

}

.stat-card:hover{

transform:translateY(-10px);

background:#6d28d9;

}

.stat-card h2{

font-size:3rem;

color:#22c55e;

margin-bottom:10px;

}

.stat-card p{

font-size:1rem;

letter-spacing:1px;

}

/* ==========================
   FORM SECTION
========================== */

.form-section{

width:90%;

margin:auto;

padding:80px 0;

text-align:center;

}

.form-section h2{

font-size:2.6rem;

margin-bottom:15px;

}

.form-section p{

color:#d8d8d8;

max-width:700px;

margin:auto auto 45px;

}

.form-card{

background:rgba(255,255,255,.05);

padding:25px;

border-radius:20px;

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.08);

box-shadow:0 15px 45px rgba(0,0,0,.35);

}

.form-card iframe{

width:100%;

border:none;

border-radius:15px;

background:white;

}

/* ==========================
   WHY YOUR CONTRIBUTION MATTERS
========================== */

.importance{
    width:90%;
    margin:100px auto;
    text-align:center;
}

.importance h2{
    font-size:2.6rem;
    margin-bottom:50px;
    color:#ffffff;
}

.importance-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.box{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border-radius:20px;
    padding:35px 30px;
    transition:.4s ease;
}

.box:hover{
    transform:translateY(-12px);
    background:#6d28d9;
    box-shadow:0 20px 40px rgba(109,40,217,.35);
}

.box h3{
    font-size:1.5rem;
    margin-bottom:18px;
    color:#22c55e;
}

.box p{
    color:#dddddd;
    font-size:1rem;
    line-height:1.8;
}

/* ==========================
   COMMUNITY SPOTLIGHT
========================== */

.spotlight{
    width:90%;
    margin:100px auto;
}

.spotlight h2{
    text-align:center;
    font-size:2.6rem;
    margin-bottom:50px;
}

.spotlight-card{
    display:flex;
    gap:40px;
    align-items:center;
    background:rgba(255,255,255,.05);
    border-radius:20px;
    overflow:hidden;
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.08);
    transition:.4s;
}

.spotlight-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.spotlight-card img{
    width:350px;
    height:420px;
    object-fit:cover;
}

.spotlight-text{
    padding:35px;
}

.spotlight-text h3{
    font-size:2rem;
    color:#22c55e;
    margin-bottom:20px;
}

.spotlight-text p{
    color:#dddddd;
    line-height:1.9;
    margin-bottom:30px;
}

/* ==========================
   REFLECTION CORNER
========================== */

.reflection{
    width:90%;
    margin:100px auto;
    text-align:center;
}

.reflection h2{
    font-size:2.6rem;
    margin-bottom:35px;
}

.reflection-box{
    background:linear-gradient(135deg,#6d28d9,#3b82f6);
    padding:60px 40px;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.35);
}

.reflection-box p{
    font-size:1.5rem;
    line-height:1.8;
    margin-bottom:35px;
    font-style:italic;
    color:#ffffff;
}

.reflection .btn{
    cursor:pointer;
}

/* ==========================
   FADE-IN ANIMATION
========================== */

.fade{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}

/* ==========================
   QUOTE SECTION
========================== */

.quote{
    width:90%;
    margin:100px auto;
    text-align:center;
    padding:70px 30px;
}

.quote blockquote{
    font-size:2rem;
    font-style:italic;
    color:#f8fafc;
    max-width:900px;
    margin:auto;
    line-height:1.8;
    position:relative;
}

.quote blockquote::before{
    content:"“";
    font-size:5rem;
    color:#22c55e;
    position:absolute;
    left:-20px;
    top:-35px;
    opacity:.4;
}

/* ==========================
   CALL TO ACTION
========================== */

.cta{
    width:90%;
    margin:100px auto;
    text-align:center;
    padding:70px 30px;
    border-radius:20px;
    background:linear-gradient(135deg,#6d28d9,#22c55e);
}

.cta h2{
    font-size:2.7rem;
    margin-bottom:20px;
}

.cta p{
    max-width:750px;
    margin:0 auto 35px;
    line-height:1.9;
    font-size:1.05rem;
}

.cta .btn{
    background:white;
    color:#6d28d9;
}

.cta .btn:hover{
    background:#08111f;
    color:white;
}

/* ==========================
   FOOTER
========================== */

footer{
    margin-top:100px;
    background:#040b16;
    padding:60px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
}

footer h3{
    color:#22c55e;
    font-size:2rem;
    margin-bottom:15px;
}

footer p{
    color:#cbd5e1;
    margin:10px 0;
    line-height:1.7;
}

footer .copyright{
    margin-top:30px;
    color:#94a3b8;
    font-size:.9rem;
}

/* ==========================
   SCROLLBAR
========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#08111f;
}

::-webkit-scrollbar-thumb{
    background:#6d28d9;
    border-radius:50px;
}

::-webkit-scrollbar-thumb:hover{
    background:#22c55e;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

@media(max-width:992px){

    .hero-content h1{
        font-size:3rem;
    }

    .spotlight-card{
        flex-direction:column;
    }

    .spotlight-card img{
        width:100%;
        height:350px;
    }

}

@media(max-width:768px){

    nav{
        flex-direction:column;
        height:auto;
        padding:20px 0;
    }

    nav ul{
        margin-top:15px;
        gap:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        height:90vh;
    }

    .hero-content h1{
        font-size:2.3rem;
    }

    .hero-content p{
        font-size:1rem;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .importance-grid{
        grid-template-columns:1fr;
    }

    .spotlight-text{
        padding:25px;
    }

    .spotlight-text h3{
        font-size:1.6rem;
    }

    .reflection-box{
        padding:40px 20px;
    }

    .reflection-box p{
        font-size:1.2rem;
    }

    .quote blockquote{
        font-size:1.4rem;
    }

    .cta h2{
        font-size:2rem;
    }

}

@media(max-width:480px){

    .logo{
        font-size:1.4rem;
    }

    .hero-content h1{
        font-size:1.9rem;
    }

    .btn{
        padding:13px 25px;
        font-size:.95rem;
    }

    .form-section h2,
    .importance h2,
    .spotlight h2,
    .reflection h2{
        font-size:2rem;
    }

    .stat-card h2{
        font-size:2.3rem;
    }

    .quote blockquote{
        font-size:1.2rem;
    }

    .cta{
        padding:50px 20px;
    }

    footer h3{
        font-size:1.6rem;
    }

}

