 body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

/* Section Heading */
.sponsor-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

/* Card Grid */
.sponsor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Individual Card */
.child-card {
    display: flex;
    gap: 18px;
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    align-items: flex-start;
}

/* Image */
.child-card img {
    width: 110px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

/* Text */
.child-text h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2933;
}

.child-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}

/* Mobile */
@media (max-width: 600px) {
    .child-card {
        flex-direction: column;
        text-align: center;
    }

    .child-card img {
        margin: 0 auto;
    }
}

 
 .about-us {
            background: #f9f9f9;
            padding: 20px 10px;
            font-family: "Poppins", sans-serif;
            color: #0d1b2a;
        }

        .about-container {
            max-width: 1200px;
            margin: auto;
            display: flex;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            /* responsive */
        }

        .about-image img {
            width: 100%;
            max-width: 500px;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            object-fit: cover;
        }

        .about-text {
            flex: 1;
            min-width: 280px;
        }

        .about-text h2 {
            font-size: 36px;
            color: #0a2a43;
            margin-bottom: 20px;
        }

        .about-text p {
            font-size: 20px;
            line-height: 1.8;
            margin-bottom: 25px;
            text-align: justify;
        }

        .learn-more {
            display: inline-block;
            padding: 12px 28px;
            background: #0a2a43;
            color: #fff;
            border-radius: 8px;
            text-decoration: none;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .learn-more:hover {
            background: #00b86b;
            transform: translateY(-3px);
        }

        /* Responsive adjustments */
        @media (max-width: 900px) {
            .about-container {
                flex-direction: column-reverse;
                text-align: center;
                gap: 20px;
            }

            .about-text h2 {
                font-size: 28px;
            }

            .about-text p {
                font-size: 16px;
            }
        }

            /* --- GENERAL SECTION STYLES --- */
.objectives-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, white #148a58);
  color: #0c4b33;
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
}

/* --- GRID LAYOUT --- */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* --- CARD STYLE --- */
.objective-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform .3s ease, background .3s ease;
  backdrop-filter: blur(6px);
}

.objective-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.18);
}

.number {
  font-size: 40px;
  font-weight: 700;
  opacity: 0.8;
  display: block;
  margin-bottom: 10px;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- MOBILE FRIENDLY --- */
@media (max-width: 600px) {
  .section-title {
    font-size: 32px;
  }

  .objective-card {
    padding: 20px;
  }

  .number {
    font-size: 32px;
  }
}
   
        /* =========================================================
           GLOBAL RESET & BASE STYLES
        ========================================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
        }

        body {
            line-height: 1.6;
            background-color: #fff;
            color: #0a2a43;
        }

        a {
            text-decoration: none;
            color: inherit;
            margin-top: 10px;
        }

        img {
            max-width: 100%;
            display: block;
        }


        /* =========================================================
           NAVBAR
        ========================================================== */
        header {
            background-color: #fff;
            padding: 10px 20px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-img {
            height: 55px;
            object-fit: contain;
        }

        .title-block {
            line-height: 1.1;
        }

        .site-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #0a2a43;
        }

        .site-subtitle {
            font-size: 0.95rem;
            opacity: 0.8;
        }

        .menu-btn {
            display: none;
            font-size: 28px;
            cursor: pointer;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            padding: 15px;
            align-items: center;
        }

        .nav-menu a {
            font-weight: 600;
            padding: 8px 8px;
            transition: 0.3s;
            color: #0a2a43;
            font-size: 18px;
        }

        .nav-menu a:hover {
            color: #3ec1ff;
        }


        /* Dropdown */
        .nav-menu li {
            position: relative;
        }

        

        .dropdown,
        .sub-dropdown {
            position: absolute;
            background: #103755;
            border-radius: 6px;
            opacity: 0;
            visibility: hidden;
            min-width: 200px;
            transform: translateY(15px);
            transition: 0.3s ease;
            padding: 10px 0;
            z-index: 10;
        }

        .dropdown a,
        .sub-dropdown a {
            color:white;
            padding: 8px 15px;
            display: block;  
        }
    

        .nav-menu li:hover>.dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown li:hover .sub-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .sub-dropdown {
            top: 0;
            left: 200px;
            transform: translateX(15px);
            background-color: #0284c7;
        }


        /* MOBILE NAVIGATION */
        @media (max-width: 900px) {
            .menu-btn {
                display: block;
            }

            .nav-menu {
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background: #0a2a43;
                flex-direction: column;
                display: none;
                padding: 20px 0;
            }

            .nav-menu.show {
                display: flex;
            }

            .nav-menu a {
                color: white;
            }

            .dropdown,
            .sub-dropdown {
                position: static;
                opacity: 1;
                visibility: visible;
                background: #133a5d;
                display: none;
                transform: none;
            }

            .dropdown.show,
            .sub-dropdown.show {
                display: block;
            }
        }
        .dropdown li{
            text-decoration: none;
        }


        /* =========================================================
           HERO SECTION
        ========================================================== */
        .hero {
            background: url('https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .hero-content {
            position: relative;
            color: white;
            max-width: 800px;
            z-index: 1;
        }

        .hero-content h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .hero-content button {
            background: #ffd60a;
            padding: 12px 30px;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            font-weight: bold;
            border-radius: 5px;
        }


        /* =========================================================
           ABOUT SECTION
        ========================================================== */
        .about {
            padding: 60px 20px;
            background-color: #f5f5f5;
            text-align: center;
            margin-bottom: 20px 10px;
        }

        .about p {
            max-width: 800px;
            margin: auto;
            font-size: 20px;
            padding-bottom: 10px;
        }


/* =========================================================
   PROGRAMS SECTION
========================================================== */
.programs {
    padding: 40px 20px;
    background: #f9f9f9;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.program-card {
    background: #e6f2ea;
    border-radius: 12px;
    overflow: hidden; /* ensures rounded corners on images */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Images styling */
.program-card img {
    width: 100%;
    height: 200px;        /* fixed height for uniformity */
    object-fit: cover;     /* crops/resizes without distortion */
    display: block;
}

/* Optional: card text/content */
.program-card h3 {
    font-size: 20px;
    color: #0d1b2a;
    margin: 15px 0 10px;
}

.program-card p {
    font-size: 16px;
    color: #333;
    padding: 0 15px 20px;
    flex-grow: 1; /* makes text expand to fill space if needed */
}

        /* =========================================================
           PARTNERS
        ========================================================== */
        .partners {
            padding: 10px 10px;
        }

        .partners p {
            max-width: 800px;
           
            font-size: 15px;
            padding-bottom: 5px;
            text-align: center;
            
           margin-bottom: 10px;
            
        }

        .partners h2 {
            text-align: center;
        }

        .partners-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .partner {
            font-size: 16px;
            background: white;
            padding: 15px;
            width: 180px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: 0.3s;
            text-align: center;
            height: 130px;
        }

        .partner img {
            width: 100%;
            height: 80%;
            align-items: center;
            justify-content: center;
            padding-bottom: 10px;
        }

        .partner:hover {
            transform: scale(1.05);
        }


            /* ====================== FOOTER STYLE ====================== */

.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3,
.footer-column h4 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #38bdf8;
}

/* Social Media Icons */
.social-media a {
    margin-right: 12px;
    display: inline-block;
}

.social-media img {
    width: 32px;
    height: 32px;
    transition: 0.3s;
    filter: brightness(0.9);
}

.social-media img:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 20px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 800px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-media a {
        margin: 0 8px;
    }
}
        /* ======= SLIDER STYLES ======= */
        .image-index-slider {
            position: relative;
            max-width: 1200px;
            margin: 20px auto;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

        }

        .slider-wrapper-index {
            position: relative;
        }

        .slide-index {
            position: absolute;
            width: 100%;
            height: 600px;
            opacity: 0;
            transition: all 1s ease-in-out;
        }

        .slide-index.active {
            opacity: 1;
            position: relative;
        }

        .slide-index img {
            width: 100%;
            display: block;
            border-radius: 5px;
            transform: scale(1.05);
            transition: transform 1s ease;
        }

        .slide-index.active img {
            transform: scale(1);
        }

        /* ======= TEXT ANIMATION ======= */
        .slide-index-text {
            position: absolute;
            bottom: 40px;
            left: 50px;
            color: #fff;
            text-align: left;
            max-width: 600px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }

        .animated-text-index {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 1s forwards;
        }

        .animated-text-index:nth-child(1) {
            animation-delay: 0.3s;
        }

        .animated-text-index:nth-child(2) {
            animation-delay: 0.6s;
        }

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ======= ARROWS ======= */
        .prev,
        .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            font-size: 2rem;
            padding: 12px;
            color: white;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 50%;
            user-select: none;
            transform: translateY(-50%);
            transition: 0.3s;
        }

        .prev:hover,
        .next:hover {
            background: rgba(0, 0, 0, 0.7);
        }

        .prev {
            left: 20px;
        }

        .next {
            right: 20px;
        }

        /* ======= RESPONSIVE ======= */
        @media (max-width: 768px) {
            .slide-text h2 {
                font-size: 1.5rem;
            }

            .slide-text p {
                font-size: 0.95rem;
            }

            .slide-text {
                left: 20px;
                bottom: 20px;
                max-width: 90%;
            }

            .slide {
                height: auto;
            }
        }
    
        programs a {
            background-color: #0a2a43;
            color: #e6f2ea;
            font-size: 18px;
            padding: 10px;
            border-radius: 5px;
        }
    
        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
            z-index: 999;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .whatsapp-float:hover {
            transform: scale(1.12);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .wa-logo {

            width: 60px;
            height: 60px;
            background: #25D366;

            object-fit: contain;
            border-radius: 50%;
            /* slight rounding to match your image shape */
        }

        /* Contact Section Layout */
/* Contact Section Layout */
.contact-section {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 40px 10%;
    flex-wrap: wrap;
}

/* Card Base Style (for both cards) */
.card {
    flex: 1 1 380px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 500px; /* Makes both cards equal height */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover Effect */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* Photo Card */
.photo-card img {
    width: 100%;          /* full width */
    height: 100%;         /* full height of its container */
    max-height: 350px;    /* prevents the image from becoming too tall */
    object-fit: cover;    /* crops nicely while keeping proportions */
    border-radius: 10px;
    margin-bottom: 15px;
}
/* Titles */
.card h2 {
    margin-bottom: 15px;
    color: #0f172a;
    font-size: 22px;
}

/* Info Card (text styling) */
.info-card {
    text-align: left;
}

.info-block {
    margin-bottom: 20px;
}

.info-block h3 {
    color: #1e293b;
    font-size: 17px;
    margin-bottom: 5px;
}

.info-block p {
    color: #334155;
    line-height: 1.6;
}

/* Email Styling */
.gmail-button {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: bold;
}

.gmail-button:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 800px) {
    .contact-section {
        padding: 20px;
    }

    .card {
        min-height: auto; /* Removes fixed height for small screens */
        text-align: center !important;
    }
}
/**..Donate styles..**/
.donation-header {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

.donation-header h1 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 15px;
}

.donation-description {
    font-size: 18px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 30px;
}

.donation-button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.donation-btn {
    padding: 12px 25px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: bold;
    transition: 0.3s ease;
}

/* Bank Button */
.bank-btn {
    background: #0ea5e9;
}

.bank-btn:hover {
    background: #0284c7;
}

/* Mobile Money Button */
.mobile-btn {
    background: #16a34a;
}

.mobile-btn:hover {
    background: #15803d;
}
/* Container  */
.donate-now {
    display: flex;
    justify-content: center;
    padding: 20px 20px;
}

/* Bank Card */
.bank-card {
    background: #ffffff;
    padding: 30px;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: 0.3s ease;
}

/* Hover effect */
.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Title */
.bank-card h3 {
    margin-bottom: 15px;
    color: #0f172a;
    text-transform: uppercase;
    font-size: 25px;
    letter-spacing: 1px;
}

/* Bank Logo */
.bank-logo {
    width: 100%;
    max-width: 200px;
    margin: 10px auto 20px;
    border-radius: 10px;
}

/* Bank Details Section */
.bank-details p {
    margin: 8px 0;
    color: #334155;
    font-size: 18px;
}

.bank-details strong {
    color: #0f172a;
}
/* Container for the entire donation section */
.Donatenow {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    text-align: center;
}

/* Mobile money card styling */
.Mobile-Money {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 30px;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.Mobile-Money:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Headings */
.Mobile-Money h3 {
    color: #FFB300; /* MTN yellow accent */
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Image styling */
.Mobile-Money img {
    max-width: 120px;
    margin: 10px 0 20px 0;
}

/* Paragraphs inside Mobile-Money */
.Mobile-Money p {
    font-size: 1rem;
    margin: 6px 0;
    color: #333;
}

/* Bold labels */
.Mobile-Money b {
    color: #555;
}

/* Donation button container */
.donation-button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Donation buttons */
.donation-btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s, transform 0.2s;
}

/* Bank button */
.bank-btn {
    background-color: #1E88E5;
}

.bank-btn:hover {
    background-color: #1565C0;
    transform: translateY(-3px);
}

/* Mobile money button */
.mobile-btn {
    background-color: #FFB300;
    color: #000;
}

.mobile-btn:hover {
    background-color: #E6A100;
    transform: translateY(-3px);
}

/* Responsive for smaller screens */
@media (max-width: 480px) {
    .Donatenow {
        padding: 15px;
        margin: 20px;
    }
    .Mobile-Money img {
        max-width: 80px;
    }
    .donation-button-container {
        flex-direction: column;
        gap: 10px;
    }
}
/* ===== Container ===== */
.GalleryContainer {
    width: 90%;
    margin: 40px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* ===== Heading ===== */
.GalleryContainer h1 {
    font-size: 22px;
    font-weight: bold;
    color: darkgreen;
    margin: 10px 0 20px 0;
    position: relative;
    padding-bottom: 20px;
}

.GalleryContainer h1::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: rgb(179,12,12);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: animate 4s linear infinite;
}

@keyframes animate {
    0% { width: 100px; }
    50% { width: 200px; }
    100% { width: 100px; }
}

/* ===== Top Content / Filters ===== */
.photo-filters input[type="radio"] {
    display: none;
}
/* ----------------------------------------------------
   TOP CONTENT CONTAINER
---------------------------------------------------- */
.top-content {
    background-color: #fff;
    width: 90%;
    margin: 0 auto 20px auto;
    height: auto;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 3px 3px 8px rgba(173, 185, 173, 0.6);
    gap: 15px;
    flex-wrap: wrap; /* allows controlled breaking */
}

/* ----------------------------------------------------
   GALLERY TITLE
---------------------------------------------------- */
.Gallarycontainer h3 {
    background-color: lightgray;
    color: rgb(16, 16, 70);
    padding: 10px 30px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .5s ease;
}

/* ----------------------------------------------------
   LABEL STYLES
---------------------------------------------------- */
.top-content label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    margin: 5px;
    font-size: 1rem;
    color: rgb(16, 16, 70);
    cursor: pointer;
    background: #f5f5f5;
    border-radius: 4px;
    transition: color .3s ease, background .3s ease;
    white-space: nowrap;
    flex-shrink: 0;  /* prevents squeezing too small */
}

.top-content label:hover {
    color: rgb(26, 179, 230);
    background: #e8f9ff;
}

/* ----------------------------------------------------
   RESPONSIVE BEHAVIOR
   ✦ Labels never exceed 2 rows on mobile
---------------------------------------------------- */
@media (max-width: 850px) {

    .top-content {
        justify-content: center;
        gap: 8px;
    }

    .top-content label {
        font-size: 0.95rem;
        padding: 8px 12px;
        min-width: 110px; /* controls number of labels per row */
    }
}

@media (max-width: 500px) {

    /* Force around 3–4 labels per row,
       making a maximum of **two rows** */
    .top-content label {
        min-width: 90px;
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .Gallarycontainer h3 {
        font-size: 1rem;
        padding: 8px 20px;
    }
}

label:hover {
    color: rgb(26, 179, 230);
}


/* ===== Photo Gallery Grid ===== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    
}

/* Hide all photos initially */
.photo-gallery .pic {
    opacity: 0;
    transform: scale(0);
    position: absolute;
    width: 100%;
    transition: all 0.5s ease;

}

/* Show photos with smooth fade & scale */
.pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    background-size: cover;
    border: 1px solid rgb(13, 13, 66);
}

.pic img:hover {
    transform: scale(1.05);
}

input {
    display: none;
}

/* ===== Filter Logic ===== */
/* All Photos */
#check1:checked ~ .GalleryContainer .photo-gallery .pic {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

/* Livelihood */
#check2:checked ~ .GalleryContainer .photo-gallery .Livelihood {
    opacity: 1;
    transform: scale(1);
    position: relative;
}
#check2:checked ~ .GalleryContainer .photo-gallery .Education,
#check2:checked ~ .GalleryContainer .photo-gallery .EnvironmentalConservation,
#check2:checked ~ .GalleryContainer .photo-gallery .CommunityHealth {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

/* Education */
#check3:checked ~ .GalleryContainer .photo-gallery .Education {
    opacity: 1;
    transform: scale(1);
    position: relative;
}
#check3:checked ~ .GalleryContainer .photo-gallery .Livelihood,
#check3:checked ~ .GalleryContainer .photo-gallery .EnvironmentalConservation,
#check3:checked ~ .GalleryContainer .photo-gallery .CommunityHealth {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

/* Community Health */
#check4:checked ~ .GalleryContainer .photo-gallery .CommunityHealth {
    opacity: 1;
    transform: scale(1);
    position: relative;
}
#check4:checked ~ .GalleryContainer .photo-gallery .Livelihood,
#check4:checked ~ .GalleryContainer .photo-gallery .EnvironmentalConservation,
#check4:checked ~ .GalleryContainer .photo-gallery .Education {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

/* Environmental Conservation */
#check5:checked ~ .GalleryContainer .photo-gallery .EnvironmentalConservation {
    opacity: 1;
    transform: scale(1);
    position: relative;
}
#check5:checked ~ .GalleryContainer .photo-gallery .Livelihood,
#check5:checked ~ .GalleryContainer .photo-gallery .CommunityHealth,
#check5:checked ~ .GalleryContainer .photo-gallery .Education {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

/* ===== Responsive ===== */
@media(max-width: 850px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    .top-content label {
        font-size: 14px;
        padding: 6px 10px;
    }
}
.volunteer-body {
    width: 90%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #333;
}

.volunteer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    align-items: stretch; /* ensures equal height */
}

.volunteer-section.reverse {
    flex-direction: row-reverse;
}

.volunteer-image-wrapper img {
    width: 100%;
    height: 350px; /* reduced height to align with content */
    border-radius: 10px;
    object-fit: cover; /* ensures image covers the box without distortion */
}

.volunteer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    align-items: stretch; /* ensures image and content are same height */
}

.volunteer-image-wrapper {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.volunteer-details {
    background:lightblue;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    flex-shrink: 0;
    color: darkblue;
}

.volunteer-content {
    flex: 1;
    min-width: 280px;
}

.volunteer-content h2 {
    margin-top: 0;
    font-size: 26px;
    color: #0f1046;
}

.volunteer-content h3 {
    margin-top: 10px;
    font-size: 20px;
    color: darkgreen;
}

.volunteer-content p {
    line-height: 1.6;
    margin-bottom: 12px;
    
}

@media (max-width: 900px) {
    .volunteer-section,
    .volunteer-section.reverse {
        flex-direction: column;
    }
    .volunteer-image-wrapper, .volunteer-content {
        min-width: 100%;
    }
}
.sponsor-section {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

/* Left side text */
.sponsor-content {
    flex: 1;
    min-width: 280px; /* ensures it doesn’t shrink too small */
}

.sponsor-content h2 {
    color: #0a5a3b;
    margin-bottom: 15px;
    font-size: 30px;
}

.sponsor-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 17px;
}

/* ---------- Slider ---------- */
.slider-container {
    flex: 1;
    min-width: 300px; /* ensures slider doesn’t shrink too small */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    padding: 15px;
    text-align: center;
}

.slide.active {
    display: block;
    animation: fadeSlide 1.3s ease;
}

.slide img {
    width: 100%;
    height: auto; /* allows height to adjust automatically */
    max-height: 400px; /* optional limit for very tall images */
    object-fit: contain; /* ensures the full image is visible */
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #f5f5f5; /* fills empty space if image aspect is small */
}

/* Animated text */
.slide p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0a5a3b;
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    opacity: 0.9;
}

.slider-btn:hover {
    background: #0d7c50;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* ---------- Animation ---------- */
@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sponsor-section {
        flex-direction: column;
        gap: 20px;
    }

    .slider-container, .sponsor-content {
        min-width: 100%;
    }

    .slide img {
        max-height: none; /* allow image to scale naturally */
    }
}
    .caption {
        padding: 20px 25px;
    }

    .caption h3 {
        color: #0b5725;
        margin-bottom: 8px;
        font-size: 22px;
        font-weight: 700;
    }

    .caption p {
        line-height: 1.6;
        color: #444;
        font-size: 16px;
    }

    /* Navigation Buttons */
    .nav {
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.4);
        color: white;
        border: none;
        padding: 12px 17px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 22px;
        transition: .3s;
    }

    .nav:hover {
        background: rgba(0, 0, 0, 0.7);
    }

/**sponsored section**/

    .sponsored-section {
        display: flex;
        align-items: center;
        gap: 25px;
        width: 90%;
        max-width: 1100px;
        margin: 50px auto;
        padding: 25px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    }

    .sponsored-section img {
        width: 45%;
        border-radius: 10px;
        object-fit: cover;
    }

    .sponsored-section .sponsored-text {
        width: 55%;
    }

    .sponsored-section h3 {
        font-size: 26px;
        color: #0a5a3b;
        margin-bottom: 10px;
    }

    .sponsored-section p {
        font-size: 17px;
        line-height: 1.7;
        color: #444;
    }

    /* Responsive */
    @media (max-width: 850px) {
        .sponsored-section {
            flex-direction: column;
            text-align: center;
            padding: 20px;
        }

        .sponsored-section img {
            width: 100%;
            max-height: 350px;
        }

        .sponsored-section .sponsored-text {
            width: 100%;
        }
    }



  /**-- ===============================
     SPONSORED CHILDREN SECTION
=============================== -->


    /* ---- Sponsored Children Section Styles ---- */

    .sponsored-section {
        display: flex;
        align-items: center;
        gap: 25px;
        width: 90%;
        max-width: 1100px;
        margin: 50px auto;
        padding: 25px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
        animation: fadeIn 1.2s ease;
    }

    .sponsored-section img {
        width: 45%;
        border-radius: 10px;
        object-fit: cover;
        max-height: 400px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .sponsored-section .sponsored-text {
        width: 55%;
    }

    .sponsored-section h3 {
        font-size: 26px;
        color: #0a5a3b;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .sponsored-section p {
        font-size: 17px;
        line-height: 1.7;
        color: #444;
        margin-bottom: 10px;
    }

    /* Fade-in Animation */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* --------- Responsive Design --------- */
    @media (max-width: 850px) {
        .sponsored-section {
            flex-direction: column;
            text-align: center;
            padding: 20px;
        }

        .sponsored-section img {
            width: 100%;
            max-height: 350px;
        }

        .sponsored-section .sponsored-text {
            width: 100%;
        }

        .sponsored-section h3 {
            font-size: 22px;
        }

        .sponsored-section p {
            font-size: 16px;
        }
    }
    .section-title {
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        color: #0b7d33;
        margin-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
.cards-grid {
    grid-template-columns: repeat(5, 1fr);
}
    .section-title p {

        font-size: 20px;
        color: #333;
        line-height: 1.9;
        /* increased line height for longer paragraphs */
        margin-bottom: 15px;
        /* more spacing between paragraphs */
        text-align: justify;
        /* makes paragraphs feel fuller and professional */
    }

    .board-row {
        display: grid;
        gap: 25px;
        padding: 10px 20px;
        justify-content: center;
        /* centers the 3 cards per row */
        grid-template-columns: repeat(4, auto);
        /* auto width based on image/card size */
    }


    /* Responsive adjustments */
    @media (max-width: 992px) {
        .board-row {
            grid-template-columns: repeat(2, 1fr);
            /* 2 per row on tablets */
        }
    }

    @media (max-width: 600px) {
        .board-row {
            grid-template-columns: 1fr;
            /* 1 per row on mobile */
        }
    }

    .board-card {
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        text-align: center;
        transition: all 0.3s ease;
        padding-bottom: 18px;
    }

    .board-card img {
        width: 180px;
        /* reduced width */
        height: 180px;
        /* same as width for perfect circle */
        object-fit: cover;
        border-bottom: 4px solid #0b7d33;
        border-radius: 50%;
        /* keeps image perfectly round */
        margin: 0 auto;
        /* center the image */
        display: block;
    }


    .board-card h5 {
        margin-top: 8px;
        font-size: 18px;
        font-weight: 700;
        color: #222;
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .board-card h6 {
        font-size: 14px;
        color: #0b7d33;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 4px;
    }

    /* Hover effect */
    .board-card:hover {
        transform: translateY(-6px);
    }
    /* Page Wrapper */
.education-page {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
    width: 92%;
    max-width: 1250px;
    margin: 50px auto;
    padding-bottom: 50px;
}

/* Main Content */
.content-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #0a5a3b;
    font-size: 32px;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #3a3a3a;
    margin-bottom: 18px;
}

/* Image blocks in main area */
.image-block {
    text-align: center;
    margin: 25px 0;
}

.image-block img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.image-block p {
    margin-top: 8px;
    font-style: italic;
    color: #555;
}


/* Sidebar */
.sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.sidebar-image {
    margin-bottom: 30px;
    text-align: center;
}

.sidebar-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-image p {
    margin-top: 8px;
    font-size: 15px;
    font-style: italic;
    color: #444;
}

/* Responsive Design */
@media (max-width: 900px) {

    .education-page {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 25px;
    }
}
/* Page Wrapper */
.health-page {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
    width: 92%;
    max-width: 1250px;
    margin: 50px auto;
    padding-bottom: 50px;
}

/* Main Content Styling */
.health-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.health-content h2 {
    color: #0a5a3b;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.health-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

/* Image block (main content) */
.image-block {
    text-align: center;
    margin: 25px 0;
}

.image-block img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.18);
}

.image-block p {
    margin-top: 8px;
    color: #444;
    font-style: italic;
    font-size: 15px;
}

/* Sidebar Styling */
.health-sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.sidebar-image {
    margin-bottom: 30px;
    text-align: center;
}

.sidebar-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
}

.sidebar-image p {
    margin-top: 8px;
    font-size: 15px;
    font-style: italic;
    color: #555;
}

/* Responsive Layout */
@media (max-width: 900px) {
    .health-page {
        grid-template-columns: 1fr;
    }

    .health-sidebar {
        margin-top: 25px;
    }
}
/* Two-column layout: Sidebar left + Grid right */
.impact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Sidebar smaller, grid larger */
    gap: 3rem;
    align-items: stretch; /* ensures sidebar height matches grid */
}

/* Sidebar Text Styling */
.impact-sidebar {
    background-color: #f0f3f8; /* subtle light background */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.06rem;
    line-height: 1.75;
    text-align: justify;
    color: #102B46;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
}

/* Closing Text in Sidebar */
.impact-sidebar .closing-text {
    font-weight: 700;
    color: #e3b600;
    margin-top: 1rem;
}

/* Right Column: Image Grid */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two images per row */
    gap: 2rem;
    align-items: stretch;
    
}

/* Life & Side Cards */
.life-card, .side-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.life-card img, .side-card img {
    width: 100%;
    height: 230px; /* Increased height for full visibility */
    object-fit: cover;
    border-bottom: 4px solid #0A1A2F;
}

.life-card p, .side-card p {
    padding: 1.2rem;
    font-size: 1.04rem;
    color: #102B46;
    line-height: 1.55;
    
}

.life-card:hover, .side-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* Two-image cards */
.card-images {
    display: flex;
    height: 230px;
}

.card-images img {
    width: 50%;
    object-fit: cover;
    border-bottom: 4px solid #0A1A2F;
}

/* ======================= Responsive ======================= */
@media (max-width: 960px) {
    .impact-layout {
        grid-template-columns: 1fr; /* Sidebar on top, grid below */
    }
    .impact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .life-card img, .side-card img,
    .card-images img {
        height: 190px;
    }
    .impact-sidebar {
        font-size: 1rem;
        padding: 1.8rem 1.5rem;
    }
}


/* ------------------------------
   HERO SECTION
------------------------------ */
.hero-section {
    position: relative;
    background: url('images/cceduc-bg.jpg') center/cover no-repeat;
    padding: 6rem 2rem;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.85); /* Dark navy overlay */
}

.hero-section h1,
.hero-section p {
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    height: 200px;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section {
    padding: 3rem 8%;
}

.section h2 {
    color: #0A1A2F;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ------------------------------
   CARDS - Mission / Vision
------------------------------ */
.cards-section {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch;            /* Ensures all cards align to full height */
}

.card {
    flex: 1;
    background: #102B46;  
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    min-width: 280px;

    display: flex;                  /* Makes content flexible */
    flex-direction: column;          /* Stack title + text */
    justify-content: space-between;  /* Keeps spacing inside clean */
    height: auto;                    /* Full equal height */
}

.card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* ------------------------------
   CORE VALUES CARDS
------------------------------ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: #ffffff;
    border-left: 6px solid #1E3A56;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.value-card h4 {
    margin-top: 0;
    color: #102B46;
    font-size: 1.2rem;
}

/* ------------------------------
   GOALS CARDS
------------------------------ */
.goal-card {
    background: #0A1A2F;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    grid-template-columns: 5 1fr;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.goal-card h4 {
    margin-top: 0;
    font-size: 1.15rem;
    color: #4da6ff;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 900px) {
    .cards-section {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    hero-section h1 {
        font-size: 2rem;
    }
}
/* ============================
   GLOBAL STYLES
============================= */
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #f5f7fb;
    color: #1b2533;
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

h2 {
    font-size: 2.4rem;
    color: #0A1A2F;
    margin-bottom: 1.2rem;
}

/* ============================
   HERO SECTION
============================= */
.bidibidi-hero {
    position: relative;
    background: url('images/bidibidi-banner.jpg') center/cover no-repeat;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(8, 20, 35, 0.75);
    top: 0;
    left: 0;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
}

.hero-content p {
    margin-top: .8rem;
    font-size: 1.25rem;
    opacity: .9;
}

/* ============================
   INTRO SECTION
============================= */
.intro-section {
    padding: 4rem 0;
    max-width: 900px;
}

/* ============================
   PROGRAM OVERVIEW
============================= */
.program-overview-section {
    background: #0A1A2F;
    color: #fff;
    padding: 4rem 0;
}

.program-overview-section h2 {
    color: #f8d778;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.overview-text ul li {
    margin-bottom: .5rem;
}

.overview-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ============================
   IMPACT SECTION
============================= */
.impact-section {
    padding: 4rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    transition: .25s ease;
}

.impact-card:hover {
    transform: translateY(-6px);
}

.impact-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.impact-card h3 {
    padding: 1rem;
    font-size: 1.3rem;
    color: #0A1A2F;
}

.impact-card p {
    padding: 0 1rem 1.5rem;
}

/* ============================
   SUCCESS STORIES
============================= */
.success-section {
    padding: 4rem 0;
    background: #eef2f6;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.story-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.story-card p {
    padding: 1.2rem;
}

/* ============================
   CHALLENGES
============================= */
.challenges-section {
    padding: 4rem 0;
}

.challenge-list li {
    margin-bottom: .8rem;
    font-size: 1.1rem;
}

/* ============================
   CONCLUSION
============================= */
.conclusion-section {
    background: #0A1A2F;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.conclusion-section p {
    max-width: 800px;
    margin: auto;
    font-size: 1.2rem;
}

/* ============================
   RESPONSIVE
============================= */
@media (max-width: 900px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {
    .impact-card img, .story-card img {
        height: 180px;
    }
}
 body {
            font-family: "Segoe UI", Arial, sans-serif;
            margin: 0;
            background: #eef2f6;
            color: #333;
        }

        .achievements-section {
            max-width: 1100px;
            margin: auto;
            padding: 60px 20px;
        }

        .achievements-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .achievements-header h1 {
            font-size: 34px;
            color: #0b3d6e;
            letter-spacing: 1px;
            font-weight: 800;
        }

        /* GRID: 2 columns */
        .achievements-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 35px;
        }

        /* Card */
        .achievement-card {
            background: white;
            padding: 35px 30px;
            border-radius: 14px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            display: flex;
            gap: 20px;
            align-items: flex-start;
            border-left: 7px solid #0b3d6e;
            transition: 0.3s ease;
        }

        .achievement-card:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        /* Icon style */
        .achievement-icon {
            background: #0b3d6e;
            color: white;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            font-size: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .achievement-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .achievement-text {
            font-size: 16px;
            line-height: 1.6;
        }

        /* Mobile responsive: stack 1 column */
        @media (max-width: 800px) {
            .achievements-grid {
                grid-template-columns: 1fr;
            }
        }

        
    /* ------------------------------------------
   MAIN SLIDER CONTAINER — RESPONSIVE
------------------------------------------- */
.image-slider-index {
    position: relative;
    width: 100%;
    height: 80vh;          /* Desktop height */
    max-height: 720px;
    overflow: hidden;
}

/* Slide wrapper */
.slider-index-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Each slide */
.slide-index {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.slide-index.active {
    opacity: 1;
    z-index: 1;
}

/* Image Fit */
.slide-index img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.slide-index::before {
    content: "";
    position: absolute;
    top:0; 
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* ------------------------------
   SLIDE TEXT
------------------------------ */
.slide-index-text {
    position: absolute;
    width: 100%;
    bottom: 18%;
    left: 40px;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.slide-index.active .slide-index-text {
    opacity: 1;
    transform: translateY(0);
}

/* Text sizes */
.slide-index-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 45px;
    color: white;
}

.slide-index-text p {
    font-size: 20px;
    line-height: 1.5;
}

/* Navigation arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 38px;
    padding: 12px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover { background: rgba(0,0,0,0.8); }

/* Dots */
.dots-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #c9c9c9;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.dot.active, .dot:hover {
    background: #ffb703;
    transform: scale(1.2);
}

/* ------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------- */

/* Tablets */
@media (max-width: 900px) {
    .image-slider-index {
        height: 60vh;      /* Reduce slider height */
    }

    .slide-index-text {
        bottom: 15%;
        left: 25px;
        max-width: 90%;
    }

    .slide-index-text h2 { 
        font-size: 32px; 
        line-height: 36px;
    }

    .slide-index-text p { 
        font-size: 16px; 
    }

    .prev, .next {
        font-size: 30px;
        padding: 10px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .image-slider-index {
        height: 45vh;      /* No full screen — FIXED */
        max-height: 380px;
    }

    .slide-index-text {
        bottom: 20%;
        left: 15px;
        text-align: left;
        max-width: 85%;
    }

    .slide-index-text h2 { 
        font-size: 24px; 
        line-height: 30px;
    }

    .slide-index-text p { 
        font-size: 14px; 
    }

    .prev, .next {
        font-size: 24px;
        padding: 8px;
    }

    .dots-nav {
        bottom: 10px;
    }
}

/* Extra small phones */
@media (max-width: 420px) {
    .image-slider-index {
        height: 38vh;      /* Even smaller */
    }

    .slide-index-text h2 { 
        font-size: 20px; 
    }

    .slide-index-text p { 
        font-size: 13px; 
    }
}

/* ----------------------------------------------------
   GLOBAL PAGE WRAPPER (Modern Eco Gradient)
---------------------------------------------------- */
.environment-page {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 50px auto;
    padding: 50px;
    border-radius: 20px;

    /* Elegant eco gradient background */
    background: linear-gradient(135deg, #e6f7f1 0%, #d9efe7 40%, #c1e8d8 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    align-items: stretch;  /* Equal height columns */
}

/* ----------------------------------------------------
   LEFT MAIN CONTENT COLUMN
---------------------------------------------------- */
.env-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
    padding: 20px 0;
}

/* Title */
.env-main h2 {
    font-size: 48px;
    font-weight: 900;
    color: #1c6b4a;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.08);
}

/* Paragraphs */
.env-main p {
    font-size: 18px;
    line-height: 1.85;
    color: #2a2a2a;
}

/* ----------------------------------------------------
   UPDATED IMAGE STYLE FOR .env-main
   (full width, clear, uniform height)
---------------------------------------------------- */
.env-main .env-card img {
    width: 100%;
    height: 330px;           /* Fixed uniform height */
    object-fit: cover;       /* Prevent distortion */
    border-bottom: 5px solid #1c6b4a33;
    image-rendering: auto;   /* Clear & smooth */
}

/* Responsive image heights */
@media (max-width: 900px) {
    .env-main .env-card img {
        height: 260px;
    }
}
@media (max-width: 600px) {
    .env-main .env-card img {
        height: 220px;
    }
}

/* ----------------------------------------------------
   RIGHT SIDEBAR (Glass Panel)
---------------------------------------------------- */
.env-sidebar {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;

    /* Premium glass panel */
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    padding: 25px 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);

    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.env-sidebar p {
    font-size: 17px;
    line-height: 1.75;
    color: #1d1d1d;
}

/* ----------------------------------------------------
   UNIVERSAL CARD STYLE (Modern 3D Floating Cards)
---------------------------------------------------- */
.env-card, .env-side-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;

    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
}

/* Hover — 3D Lift + Glow */
.env-card:hover, .env-side-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
}

/* ----------------------------------------------------
   SIDEBAR CARD IMAGES (same quality style)
---------------------------------------------------- */
.env-side-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-bottom: 4px solid #1c6b4a33;
}

/* ----------------------------------------------------
   CARD TEXT
---------------------------------------------------- */
.env-card p, .env-side-card p {
    padding: 18px 20px;
    font-size: 17px;
    color: #1f1f1f;
    font-weight: 500;
    line-height: 1.6;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------- */
@media (max-width: 1100px) {
    .environment-page {
        flex-direction: column;
        padding: 30px 20px;
    }

    .env-main h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .env-main h2 {
        font-size: 30px;
    }

    .env-card img, .env-side-card img {
        height: 200px;
    }
}
