:root {
            --blue:       #1a3faa;
            --blue-dark:  #0d2277;
            --blue-light: #3a60d4;
            --blue-vivid: #2952cc;
            --navy:       #0a0f2c;
            --navy-mid:   #111840;
            --cream:      #f4f7ff;
            --white:      #ffffff;
            --text:       #0d1333;
            --muted:      #5a6790;
            --border:     rgba(26,63,170,0.18);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--cream); overflow-x: hidden; }

        /* NAV */
        nav {
            position: fixed; top: 0; width: 100%; z-index: 1000;
            background: var(--white); /* Changed to white */
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: adds a nice shadow under the white bar */
            display: flex; justify-content: space-between; align-items: center;
            padding: 0.8rem 6%;
            border-bottom: 1px solid rgba(26,63,170,0.25);
        }
		
        .logo-img { height: 44px; width: auto; display: block; }
        .nav-links { list-style: none; display: flex; gap: 2rem; }
        .nav-links a {
            text-decoration: none; 
            color: var(--navy); /* Changed to your theme's dark navy color */
            font-size: 0.82rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s;
        }
        .nav-links a:hover, .nav-links a.active { color: var(--blue-light); }

        /* HERO */
        #home {
            min-height: 100vh; background: var(--navy);
            display: flex; align-items: center; justify-content: center;
            text-align: center; padding: 0 6%; position: relative; overflow: hidden;
        }
        #home::before {
            content: ''; position: absolute; inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26,63,170,0.22) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 20% 20%, rgba(58,96,212,0.1) 0%, transparent 60%);
        }
        .hero-content { position: relative; z-index: 1; max-width: 820px; }
        .hero-eyebrow {
            display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 4px;
            text-transform: uppercase; color: var(--blue-light);
            background: rgba(26,63,170,0.15); border: 1px solid rgba(26,63,170,0.3);
            padding: 0.4rem 1.2rem; border-radius: 50px; margin-bottom: 2rem;
        }
        .hero-content h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900;
            color: var(--white); line-height: 1.1; margin-bottom: 1.5rem;
        }
        .hero-content h1 em { font-style: normal; color: var(--blue-light); }
        .hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.62); max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.7; }
        .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
        .btn-primary {
            padding: 0.9rem 2.2rem; background: var(--blue); color: white;
            text-decoration: none; border-radius: 4px; font-weight: 700; font-size: 0.9rem;
            letter-spacing: 0.5px; transition: all 0.3s;
        }
        .btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,63,170,0.4); }
        .btn-outline {
            padding: 0.9rem 2.2rem; background: transparent; color: white;
            text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 0.9rem;
            border: 1px solid rgba(255,255,255,0.3); transition: all 0.3s;
        }
        .btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); }
        .hero-stats {
            display: flex; gap: 3rem; justify-content: center; margin-top: 4rem;
            padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1);
        }
        .stat-num {
            font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900;
            color: var(--blue-light); display: block;
        }
        .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; margin-top: 0.2rem; }

        /* SECTIONS */
        section { padding: 100px 6%; }
        .section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; display: block; }
        .section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 1.5rem; }
        .section-intro { font-size: 1.05rem; color: var(--muted); max-width: 600px; line-height: 1.8; margin-bottom: 3rem; }

        /* ABOUT */
        #about { background: var(--white); }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
        .about-img-wrap { position: relative; }
        .about-img-wrap img { width: 100%; height: 520px; object-fit: cover; border-radius: 4px; }
        .about-badge {
            position: absolute; bottom: -24px; right: -24px;
            background: var(--blue); color: white;
            padding: 1.5rem; border-radius: 4px; text-align: center;
        }
        .about-badge .big { font-size: 2.2rem; font-weight: 900; display: block; font-family: 'Playfair Display', serif; }
        .about-badge .small { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
        .mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
        .mv-card { background: var(--cream); border-left: 3px solid var(--blue); padding: 1.5rem; border-radius: 0 4px 4px 0; }
        .mv-card h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem; }
        .mv-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

        /* OBJECTIVES */
        #objectives { background: var(--navy); }
        .obj-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
        .obj-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(26,63,170,0.2); padding: 2rem 1.5rem; border-radius: 4px; transition: all 0.3s; }
        .obj-card:hover { background: rgba(26,63,170,0.12); border-color: rgba(58,96,212,0.5); transform: translateY(-4px); }
        .obj-icon { font-size: 2rem; color: var(--blue-light); margin-bottom: 1.2rem; }
        .obj-card h3 { color: white; font-size: 1rem; margin-bottom: 0.7rem; font-weight: 600; }
        .obj-card p { color: rgba(255,255,255,0.52); font-size: 0.88rem; line-height: 1.6; }

        /* PROGRAMS */
        #services { background: var(--cream); }
        .programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
        .program-card { background: white; padding: 2.5rem 2rem; border-radius: 4px; border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s; position: relative; overflow: hidden; }
        .program-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--blue); transition: width 0.4s; }
        .program-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26,63,170,0.1); }
        .program-card:hover::after { width: 100%; }
        .program-icon { font-size: 2rem; color: var(--blue); margin-bottom: 1.2rem; }
        .program-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.7rem; }
        .program-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

        /* GALLERY */
        #gallery { background: white; }
        /* GALLERY SLIDESHOW */
        .gallery-slider-wrapper {
            position: relative;
            max-width: 900px; /* Adjusts the slider width on screen */
            margin: 2rem auto;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

        .gallery-slider {
            display: flex;
            transition: transform 0.5s ease-in-out; /* Makes the sliding transition smooth */
        }

        .gallery-slide {
            min-width: 100%;
            box-sizing: border-box;
        }

        .gallery-slide img {
            width: 100%;
            height: 480px; /* Keeps all images uniform in height */
            object-fit: cover;
            display: block;
        }

        /* Slide Control Buttons */
        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(10, 15, 44, 0.7); /* Deep dark background */
            color: #ffffff;
            border: none;
            width: 45px;
            height: 45px;
            cursor: pointer;
            font-size: 1.2rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s, transform 0.2s;
            z-index: 10;
        }

        .slider-btn:hover {
            background: var(--blue-light); /* Uses your bright theme color on hover */
            transform: translateY(-50%) scale(1.1);
        }

        .prev-btn { left: 20px; }
        .next-btn { right: 20px; }
		
		.slideshows-row-container {
    display: flex;
    gap: 24px;                  /* Spaces the slideshows out evenly */
    justify-content: center;    /* Centers the group on large displays */
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    flex-wrap: wrap;            /* Automatically stacks them vertically on mobile screens */
}

/* 2. Modified wrapper to fit nicely into a 3-column layout */
.gallery-slider-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;           /* Mobile safe size limit */
    max-width: 360px;           /* Desktop size cap so they don't get too wide */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin: 0;                  /* Removed old margin rules */
}

/* 3. Adjusted image height to keep a clean layout proportion */
.gallery-slide img {
    width: 100%;
    height: 280px;              /* Lowered from 480px so they match the narrower width beautifully */
    object-fit: cover;
    display: block;
}

        /* TESTIMONIALS */
        #testimonials { background: var(--cream); }
        .testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
        .testimonial-card { background: white; padding: 2.5rem; border-radius: 4px; border: 1px solid rgba(0,0,0,0.06); }
        .quote-mark { font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--blue-light); line-height: 0; display: block; margin-bottom: 1rem; opacity: 0.35; }
        .testimonial-card p { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
        .testimonial-card strong { font-size: 0.82rem; color: var(--blue); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

        /* DONATIONS */
        #donations { background: var(--navy); }
        .donations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; }
        .don-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(26,63,170,0.25); border-radius: 4px; padding: 2.5rem; }
        .don-card h3 { color: var(--blue-light); font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1.5rem; }
        .bank-row { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
        .bank-row:last-child { border-bottom: none; }
        .bank-row .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.38); }
        .bank-row .value { font-size: 0.92rem; color: white; font-weight: 500; }
        .why-list { list-style: none; }
        .why-list li { color: rgba(255,255,255,0.68); padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.95rem; display: flex; align-items: center; gap: 0.8rem; }
        .why-list li::before { content: "→"; color: var(--blue-light); }
        .don-note { background: rgba(26,63,170,0.15); border: 1px solid rgba(26,63,170,0.3); border-radius: 4px; padding: 1rem 1.5rem; margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.58); line-height: 1.6; }

        /* CONTACT */
        #contact { background: white; }
        .contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; max-width: 1100px; margin: 0 auto; align-items: start; }
        .contact-item { display: flex; gap: 1.2rem; margin-bottom: 2rem; align-items: flex-start; }
        .contact-icon { width: 44px; height: 44px; background: var(--cream); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1rem; flex-shrink: 0; }
        .contact-item h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 0.3rem; }
        .contact-item p { font-size: 0.95rem; color: var(--text); }
        form { display: flex; flex-direction: column; gap: 1rem; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
        input, textarea { padding: 0.9rem 1.2rem; border: 1px solid rgba(0,0,0,0.12); border-radius: 4px; font-size: 0.95rem; font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); transition: border-color 0.3s; width: 100%; }
        input:focus, textarea:focus { outline: none; border-color: var(--blue); background: white; }
        textarea { resize: vertical; min-height: 140px; }
        button.btn-submit { padding: 1rem 2.5rem; background: var(--blue); color: white; border: none; border-radius: 4px; font-weight: 700; font-size: 0.95rem; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.3s; align-self: flex-start; letter-spacing: 0.5px; }
        button.btn-submit:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,63,170,0.35); }

        /* FOOTER */
        footer { background: var(--navy); color: rgba(255,255,255,0.45); text-align: center; padding: 2.5rem 6%; font-size: 0.85rem; border-top: 1px solid rgba(26,63,170,0.2); }
        footer span { color: var(--blue-light); }

        @media (max-width: 900px) {
            .about-grid, .donations-grid, .contact-grid { grid-template-columns: 1fr; }
            .obj-grid, .programs-grid { grid-template-columns: 1fr 1fr; }
            .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
            .gallery-item:first-child { grid-column: span 1; }
            .hero-stats { gap: 1.5rem; }
            .nav-links { display: none; }
        }
		
		/* FLOATING SOCIAL ICONS */
.floating-socials {
    position: fixed;
    bottom: 30px;       /* Distance from the bottom of the screen */
    right: 30px;        /* Distance from the right edge of the screen */
    display: flex;
    flex-direction: column; /* Stacks them vertically */
    gap: 12px;          /* Space between the two circles */
    z-index: 9999;      /* Ensures they float on top of all other elements */
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
}

/* Brand specific colors */
.social-btn.whatsapp {
    background-color: #25D366; /* Official WhatsApp Green */
}

.social-btn.facebook {
    background-color: #1877F2; /* Official Facebook Blue */
}

/* Subtle pop effect when hovering over the buttons */
.social-btn:hover {
    transform: scale(1.1) translateY(-3px);
    filter: brightness(1.1);
}

/* Hide the hamburger button on computer screens */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--navy);
    cursor: pointer;
    z-index: 1001; /* Keeps it above everything else */
}

/* 1. TABLET & MOBILE MENU BREAKPOINT (900px) */
@media (max-width: 900px) {
    .about-grid, .donations-grid, .contact-grid { grid-template-columns: 1fr; }
    .obj-grid, .programs-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-item:first-child { grid-column: span 1; }
    
    /* Allow hero stats to wrap onto a new line if they run out of space */
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; } 
    
    /* Bring the mobile menu activation up to 900px */
    .menu-toggle {
        display: block; 
    }

    .nav-links {
        position: fixed;
        top: 60px;          
        right: -100%;       
        width: 75%;         
        height: calc(100vh - 60px); 
        background-color: var(--white);
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: right 0.4s ease-in-out; 
        box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0; 
    }
}

/* 2. NEW BREAKPOINT: SMALL PHONES (600px) */
@media (max-width: 600px) {
    /* Stack these elements into a single, full-width column on small screens */
    .obj-grid, 
    .programs-grid, 
    .testimonials-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Optional: Shrink the hero text slightly more for tiny screens */
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
.footer-legal {
    font-size: 0.85rem;
    color: #888888; /* Soft gray color, adjust to match your theme */
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
}