/* =========================
   GLOBAL STYLES
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#333;
    line-height:1.7;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 5%;
    background:#0a3d62;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo-img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

.brand h1{
    color:white;
    font-size:1.4rem;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:20px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

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

.nav-links a.active{
    color:#f39c12;
    font-weight:bold;
}

.menu-toggle{
    display:none;
    color:white;
    font-size:1.6rem;
    cursor:pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slider{
    position:absolute;
    width:100%;
    height:100%;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{
    opacity:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:relative;
    z-index:2;
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
    background:rgba(0,0,0,.55);
    color:white;
}

.hero h2{
    font-size:clamp(2rem,5vw,4rem);
    margin-bottom:20px;
}

.motto{
    font-size:1.4rem;
    color:#f39c12;
    margin-bottom:20px;
    font-style:italic;
}

.hero-text{
    max-width:700px;
    margin-bottom:30px;
    font-size:1.1rem;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-block;
    padding:12px 30px;
    border-radius:50px;
    background:#f39c12;
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    background:white;
    color:#0a3d62;
}

/* =========================
   SECTIONS
========================= */

.section{
    padding:80px 5%;
    text-align:center;
}

.section h2{
    color:#0a3d62;
    margin-bottom:20px;
    font-size:2rem;
}

.alt{
    background:#f5f7fa;
}

/* =========================
   GRID LAYOUTS
========================= */

.services-container,
.services-containerr,
.donation-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}

/* =========================
   CARDS
========================= */

.card,
.cardd,
.donation-card{
    background:white;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.4s;
}

.card:hover,
.cardd:hover,
.donation-card:hover{
    transform:translateY(-10px);
}

.card h3,
.cardd h3{
    color:#0a3d62;
    margin-bottom:10px;
}

.card p,
.cardd p{
    color:#555;
}

/* =========================
   LEADERSHIP IMAGES
========================= */

.cardd_img{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    display:block;
    margin:0 auto 15px;
    border:5px solid #eee;
}

/* =========================
   SERVICE IMAGES
========================= */

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-top:15px;
}

/* =========================
   COUNTERS
========================= */

#stats .card h1{
    font-size:3rem;
    color:#f39c12;
    margin-bottom:10px;
}

/* =========================
   GALLERY
========================= */

.gallery-img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:.4s;
}

.gallery-img:hover{
    transform:scale(1.05);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.95);
    z-index:9999;
    
}

.lightbox img{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    max-width:90%;
    max-height:90%;
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

/* =========================
   DONATION SECTION
========================= */

.donation-card h3{
    color:#0a3d62;
    margin-bottom:15px;
}

.donation-card p{
    margin:10px 0;
}

/* =========================
   FORMS
========================= */

.contact-form{
    max-width:700px;
    margin:auto;
    margin-top:30px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:8px;
}

.contact-form textarea{
    min-height:150px;
    resize:vertical;
}

.contact-form button{
    width:100%;
    padding:15px;
    background:#0a3d62;
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#072a45;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#0a3d62;
    color:white;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    margin-bottom:15px;
    font-size:1.8rem;
}

footer p{
    margin:8px 0;
}

footer i{
    color:#f39c12;
    margin-right:8px;
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn{
    position:fixed;
    bottom:20px;
    left:20px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:28px;
    z-index:999;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
}

/* =========================
   BACK TO TOP
========================= */

.back-to-top{
    position:fixed;
    right:20px;
    bottom:20px;
    width:50px;
    height:50px;
    background:#f39c12;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    z-index:999;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:90px;
        left:0;
        width:100%;
        background:#0a3d62;
        padding:20px;
        text-align:center;
    }

    .nav-links.show{
        display:flex;
    }

    .hero h2{
        font-size:2rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .cardd_img{
        width:140px;
        height:140px;
    }

    .gallery-img{
        height:200px;
    }
}

@media(max-width:480px){

    .section{
        padding:60px 20px;
    }

    .hero-text{
        font-size:1rem;
    }

    #stats .card h1{
        font-size:2.2rem;
    }

    .brand h1{
        font-size:1.1rem;
    }
}