/* styles.css */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ULTIMATE PREMIUM BACKGROUND - 7 LAYERS */

/* LAYER 1: Ultra-Rich Gradient Base (21 stops!) */
body {
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #f7fef9 5%,
        #f0fdf4 10%,
        #e6fcf5 15%,
        #d9f9ed 20%,
        #ccf7e5 25%,
        #b7f5dc 30%,
        #a3f3d4 35%,
        #8ff0cb 40%,
        #7bedc3 45%,
        #67eaba 50%,
        #5eead4 55%,
        #52ddc6 60%,
        #46d0b8 65%,
        #3ac3aa 70%,
        #2eb69c 75%,
        #22a98e 80%,
        #1d9d85 85%,
        #18917c 90%,
        #148573 95%,
        #107869 100%
    );
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* LAYER 2: Animated Mesh Gradient Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(240, 253, 244, 0.8) 0%, transparent 35%),
        radial-gradient(circle at 90% 10%, rgba(209, 250, 229, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 30% 60%, rgba(94, 234, 212, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(15, 118, 110, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
    animation: meshMove 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -20px) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: translate(20px, 20px) scale(1.02);
        opacity: 0.75;
    }
}

/* LAYER 3: Sophisticated Grid Pattern */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(15, 118, 110, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* LAYER 4: Floating Light Orbs Container */
.orb-container {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    mix-blend-mode: soft-light;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 253, 244, 0.9) 0%, rgba(209, 250, 229, 0.4) 50%, transparent 100%);
    top: -200px;
    left: -150px;
    animation: float1 25s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.6) 0%, rgba(45, 212, 191, 0.3) 50%, transparent 100%);
    top: 40%;
    right: -100px;
    animation: float2 20s ease-in-out infinite;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(236, 253, 245, 0.4) 50%, transparent 100%);
    bottom: -150px;
    left: 30%;
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(80px, 100px) rotate(120deg) scale(1.15); }
    66% { transform: translate(-60px, 150px) rotate(240deg) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-100px, -80px) rotate(-120deg) scale(1.1); }
    66% { transform: translate(50px, -120px) rotate(-240deg) scale(0.95); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(100px, -100px) rotate(180deg) scale(1.08); }
}

/* LAYER 5: Diagonal Light Streaks */
.light-streaks {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 150px,
            rgba(255, 255, 255, 0.03) 150px,
            rgba(255, 255, 255, 0.03) 152px,
            transparent 152px,
            transparent 300px
        );
    animation: streakMove 15s linear infinite;
}

@keyframes streakMove {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(50px) translateY(50px); }
}

/* LAYER 6: Particle Dots */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(15, 118, 110, 0.3);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-40px) scale(1.2);
        opacity: 0.6;
    }
}

/* LAYER 7: Premium Shimmer Wave */
.shimmer-wave {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 48%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 52%,
        transparent 60%,
        transparent 100%
    );
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    animation: shimmer 12s ease-in-out infinite;
    transform: translateX(-100%) translateY(-100%) rotate(-10deg);
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 0;
        transform: translateX(-100%) translateY(-100%) rotate(-10deg);
    }
    5% { opacity: 1; }
    10%, 90% { opacity: 1; }
    50% { 
        transform: translateX(120%) translateY(120%) rotate(-10deg);
    }
    95% { opacity: 1; }
}

/* Mobile optimization for layers */
@media (max-width: 768px) {
    @media (max-width: 768px) {
    /* Mobile-specific spacing adjustments */
    
    /* Tighter section padding on mobile */
    .section,
    .content-section,
    .programmes-section,
    .centres-section,
    .stats-section,
    .explore-section,
    .impact-section,
    .featured-section,
    .process-section {
        padding: 2.5rem 0;
    }
    
    /* Hero sections */
    .hero,
    .page-hero {
        padding: 2rem 0;
    }
    
    /* Cards - compact on mobile */
    .card,
    .explore-card,
    .programme-card,
    .centre-card,
    .value-card,
    .impact-card,
    .process-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    /* Grid gaps - tighter on mobile */
    .stats-grid,
    .explore-grid,
    .values-grid,
    .impact-grid,
    .process-grid {
        gap: 1rem;
    }
    
    /* Two column becomes single - more gap */
    .two-column-layout {
        gap: 2rem;
    }
    
    /* Section headings - tighter */
    .section-heading {
        margin-bottom: 1.75rem;
    }
    
    .section-title {
        margin-bottom: 1.75rem;
    }
    
    /* Container padding - comfortable on mobile */
    .container {
        padding: 0 1rem;
    }
    
    /* Hero card - compact */
    .hero-card {
        padding: 1.5rem;
    }
    
    /* CTA sections - compact */
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-band__inner {
        padding: 2rem 1.5rem;
    }
    
    /* Description boxes */
    .description,
    .hero-text {
        padding: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* Footer - tighter */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-grid {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Timeline - compact */
    .timeline {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .timeline__item {
        padding: 0.875rem 0;
    }
    
    /* Form spacing */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Accordion */
    .accordion summary {
        padding: 1rem 1.125rem;
    }
    
    .accordion__content {
        padding: 0 1.125rem 1.125rem;
    }
    
    /* Stats grid - comfortable 2-column */
    .stats-grid {
        margin: 1.75rem 0;
    }
}
    .orb-1, .orb-2, .orb-3 {
        width: 350px;
        height: 350px;
        filter: blur(40px);
    }
    
    body::before {
        animation-duration: 25s;
    }
}

/* ==========================================
   PERFECT TEXT ALIGNMENT
   ========================================== */

/* Center all section headings */
.section-heading,
.section-title {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading__subtitle {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

/* Left-align card content */
.card,
.explore-card,
.programme-card,
.centre-card,
.value-card,
.impact-card,
.process-card {
    text-align: left;
}

/* Center stat cards */
.stat-card {
    text-align: center;
}

/* Center hero text */
.hero-content,
.page-hero,
.hero-text,
.description {
    text-align: center;
}

/* Center CTA sections */
.cta-card,
.cta-band__inner h2,
.cta-band__inner p {
    text-align: center;
}

.cta-band__inner {
    text-align: center;
}

/* Center footer brand */
.footer-brand,
.footer-logo {
    text-align: left;
}

.footer-bottom {
    text-align: left;
}

/* Lists always left-align */
.programme-list,
.impact-list,
.help-list,
.feature-list,
.checklist,
.footer-links {
    text-align: left;
}

/* Ensure proper line length for readability */
.card p,
.programme-card p,
.centre-card p {
    max-width: 75ch;
}

/* Hero description - comfortable reading width */
.hero-description,
.page-subtitle {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   VISUAL BALANCE & BREATHING ROOM
   ========================================== */

/* Ensure cards don't feel cramped */
.card > *:first-child,
.programme-card > *:first-child,
.centre-card > *:first-child {
    margin-top: 0;
}

.card > *:last-child,
.programme-card > *:last-child,
.centre-card > *:last-child {
    margin-bottom: 0;
}

/* Space between different sections within cards */
.card h3,
.programme-card h3,
.centre-card h3 {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.card h3:first-child,
.programme-card h3:first-child,
.centre-card h3:first-child {
    margin-top: 0;
}

/* Sidebar spacing */
.sidebar-card + .sidebar-card {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* Grid items shouldn't have bottom margin */
.stats-grid > *,
.explore-grid > *,
.values-grid > *,
.impact-grid > *,
.process-grid > * {
    margin-bottom: 0;
}

/* Perfect spacing for hero grid */
.hero-grid {
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}

/* Balance hero tags */
.hero-tags {
    gap: clamp(0.625rem, 1.5vw, 0.875rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* Perfect button alignment */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Ensure images don't break layout */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Centre gallery spacing */
.centre-gallery {
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    gap: clamp(0.875rem, 2vw, 1.25rem);
}

/* Perfect modal spacing */
.modal__close {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

/* Executive Ultra Background Layers */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(15, 118, 110, 0.04) 79px,
            rgba(15, 118, 110, 0.04) 80px
        );
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 120px,
            rgba(255, 255, 255, 0.15) 120px,
            rgba(255, 255, 255, 0.15) 122px,
            transparent 122px,
            transparent 240px
        );
    z-index: 0;
    pointer-events: none;
}

/* Perfect Container System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    width: 100%;
}

/* Ensure all content has proper z-index above backgrounds */
.section,
.content-section,
.programmes-section,
.centres-section,
.stats-section,
.explore-section,
.impact-section,
.featured-section,
.process-section,
.faq-section,
.contact-section,
.overview-section,
.values-section,
.team-section,
.cta-section,
.cta-band {
    position: relative;
    z-index: 10;
}

/* ==========================================
   PERFECT SPACING & ALIGNMENT SYSTEM
   ========================================== */

/* Consistent Section Padding */
.section,
.content-section,
.programmes-section,
.centres-section,
.stats-section,
.explore-section,
.impact-section,
.featured-section,
.process-section,
.faq-section,
.contact-section,
.overview-section,
.values-section,
.team-section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* First section after header - less top padding */
main > .section:first-child,
main > .content-section:first-child,
main > .page-hero + .section {
    padding-top: clamp(2rem, 6vw, 4rem);
}

/* Last section before footer - less bottom padding */
main > .section:last-of-type,
main > .content-section:last-of-type {
    padding-bottom: clamp(2rem, 6vw, 4rem);
}

/* CTA sections - special spacing */
.cta-section,
.cta-band {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

/* Hero sections - tighter on mobile */
.hero,
.page-hero {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

/* Card Spacing - Consistent gaps */
.card,
.explore-card,
.programme-card,
.centre-card,
.value-card,
.impact-card,
.process-card,
.stat-card,
.overview-card,
.sidebar-card {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* Remove margin from last card in container */
.card:last-child,
.explore-card:last-child,
.programme-card:last-child,
.centre-card:last-child {
    margin-bottom: 0;
}

/* Grid Gaps - Consistent */
.stats-grid,
.explore-grid,
.programmes-grid,
.centres-grid,
.values-grid,
.impact-grid,
.process-grid,
.accordion-grid {
    gap: clamp(1.25rem, 3vw, 2rem);
}

/* Two Column Layout - Perfect spacing */
.two-column-layout {
    gap: clamp(2rem, 5vw, 4rem);
}

/* Heading Margins - Consistent rhythm */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

.card h2,
.card h3,
.sidebar-card h3,
.programme-card h2,
.centre-card h2 {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    line-height: 1.3;
}

.section-heading {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.section-heading__title {
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.section-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

/* Paragraph Spacing */
p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.card p + p,
.programme-card p + p {
    margin-top: 1rem;
}

/* List Spacing */
.programme-list,
.impact-list,
.help-list,
.feature-list,
.checklist {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.programme-list li,
.impact-list li,
.help-list li,
.feature-list li {
    padding: clamp(0.625rem, 1.5vw, 0.875rem) 0;
    padding-left: clamp(1.5rem, 3vw, 2rem);
}

/* Button Spacing */
.btn {
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.hero-buttons,
.cta-band__actions {
    gap: clamp(0.75rem, 2vw, 1.25rem);
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

/* Timeline Spacing */
.timeline {
    margin: clamp(1.5rem, 3vw, 2.5rem) 0;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.timeline__item {
    padding: clamp(0.875rem, 2vw, 1.25rem) 0;
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* Carousel Spacing */
.carousel {
    margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.carousel__track {
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: 0.5rem 0.25rem clamp(1rem, 2vw, 1.5rem);
}

.carousel__dots {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

/* Stats Grid - Perfect alignment */
.stats-grid {
    margin: clamp(2rem, 4vw, 3rem) 0;
}

/* Accordion Spacing */
.accordion {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.accordion:last-child {
    margin-bottom: 0;
}

.accordion summary {
    padding: clamp(1rem, 2vw, 1.25rem) clamp(1.125rem, 2.5vw, 1.5rem);
}

.accordion__content {
    padding: 0 clamp(1.125rem, 2.5vw, 1.5rem) clamp(1.125rem, 2.5vw, 1.5rem);
}

/* Contact Form Spacing */
.contact-form {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-group {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.form-group:last-of-type {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

/* Footer Spacing */
.footer {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.footer-grid {
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
}

.footer-bottom {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* Badge Spacing */
.centre-badge,
.badge {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

/* Hero Card Spacing */
.hero-card {
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.hero-card h3 {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.support-list {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.banking-details {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* Description/Hero Text Boxes */
.description,
.hero-text {
    padding: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* CTA Card Spacing */
.cta-card {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3rem);
}

.cta-card h2 {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.cta-card p {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.cta-band__inner {
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.75rem, 4vw, 2.5rem);
}

/* Value/Impact Card Icons */
.value-icon,
.mini-icon {
    margin-bottom: clamp(0.875rem, 2vw, 1.25rem);
}

/* Filter Bar */
.filter-bar {
    margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Modal Spacing */
.modal__dialog {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.modal__title {
    margin: clamp(0.75rem, 2vw, 1rem) 0 clamp(0.5rem, 1vw, 0.75rem);
}

.modal__subtitle {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.modal__grid {
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* Ensure content doesn't touch edges */
* {
    box-sizing: border-box;
}

/* Perfect vertical rhythm */
.section + .section,
.content-section + .content-section {
    padding-top: clamp(2rem, 6vw, 4rem);
}

/* Header */
.header {
    background-color: #0f172a;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0f766e, #065f46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer .logo-img {
    height: 55px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 8px;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
}

/* Navigation */
.nav {
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #16a34a; /* subtle brand green */
}

.nav-links a.active {
    color: #16a34a;
    font-weight: 600;
}

.btn-support {
    background-color: #16a34a;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-support:hover {
    background-color: #15803d;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
        transition: all 0.3s ease;
    }

    /* Animate hamburger to X when open */
    .nav-open ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-open ~ .hamburger span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .nav-open ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Premium Full-Screen Menu */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f766e 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    /* Add subtle animated background */
    .nav-links::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(15, 118, 110, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(22, 163, 74, 0.2) 0%, transparent 50%);
        opacity: 0;
        animation: navGlow 8s ease-in-out infinite;
        pointer-events: none;
    }

    @keyframes navGlow {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 0.6; }
    }

    .nav-links.nav-open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .nav-links.nav-open::before {
        opacity: 1;
    }

.nav-links li {
    width: 100%;
    max-width: 400px;
}

    /* Staggered animation for each menu item */
.nav-links.nav-open li:nth-child(1) {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

.nav-links.nav-open li:nth-child(2) {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.nav-links.nav-open li:nth-child(3) {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

.nav-links.nav-open li:nth-child(4) {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.nav-links.nav-open li:nth-child(5) {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.25s both;
}

.nav-links.nav-open li:nth-child(6) {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.125rem 2rem;
        border-radius: 16px;
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0.5rem 0;
        min-height: 56px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    /* Hover shine effect */
    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
        transition: left 0.5s ease;
    }

    .nav-links a:hover::before {
        left: 100%;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }

    .nav-links a:active {
        transform: translateY(0) scale(0.98);
    }

    .nav-links a.active {
        background: linear-gradient(135deg, #0f766e 0%, #16a34a 100%);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 
            0 8px 24px rgba(15, 118, 110, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }

    /* Support Us button - special styling */
    .btn-support {
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
        border: 2px solid rgba(255, 255, 255, 0.3);
        margin-top: 1rem;
        box-shadow: 
            0 8px 24px rgba(22, 163, 74, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset;
        font-size: 1.125rem;
    }

    .btn-support:hover {
        background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
        transform: translateY(-3px) scale(1.03);
        box-shadow: 
            0 12px 32px rgba(22, 163, 74, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    }

    /* Close button hint */
    .nav-links.nav-open::after {
        content: 'Tap anywhere to close';
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.875rem;
        font-weight: 500;
        animation: fadeInUp 0.5s ease 0.8s forwards;
        opacity: 0;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(-10px);
        }
    }

    .brand-text {
        font-size: 0.9rem;
    }
}

/* ==========================================
   PREMIUM MOBILE OPTIMIZATION
   ========================================== */

@media (max-width: 768px) {
    /* Reduce container padding on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Optimize section spacing */
    .section, .content-section, .programmes-section, 
    .centres-section, .stats-section, .explore-section,
    .impact-section, .featured-section, .process-section {
        padding: 2rem 0;
    }

    /* Mobile-optimized header */
    .header-content {
        padding: 0.75rem 0;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .logo-img {
        height: 40px;
    }

    .footer .logo-img {
        height: 45px;
    }

    /* Hero sections - compact on mobile */
    .hero, .page-hero {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .hero-card {
        padding: 1.5rem;
    }

    /* Page titles */
    .page-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    /* Section headings */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-heading__title {
        font-size: 1.5rem;
    }

    .section-heading__subtitle {
        font-size: 0.9rem;
    }

    /* Cards - mobile optimized */
    .card, .explore-card, .programme-card, 
    .centre-card, .value-card, .impact-card,
    .process-card, .overview-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
        border-radius: 14px;
    }

    .card h2, .card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .card p, .card li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Stats grid - 2 columns on mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Buttons - touch friendly */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .btn-small {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Lists - better spacing */
    .programme-list li, .impact-list li, .help-list li {
        padding: 0.75rem 0 0.75rem 1.75rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Sidebar - full width on mobile */
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    /* Values grid - single column */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Accordion grid - single column */
    .accordion-grid {
        grid-template-columns: 1fr;
    }

    /* Impact/Process grids - single column */
    .impact-grid, .process-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Centres grid - single column */
    .centres-grid {
        grid-template-columns: 1fr;
    }

    /* Hero text/description boxes */
    .hero-text, .description {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* CTA sections - compact */
    .cta-card, .cta-band__inner {
        padding: 2rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    .cta-card p {
        font-size: 0.95rem;
    }

    .cta-band__inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cta-band__actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .cta-band__actions .btn {
        width: 100%;
    }

    /* Contact form - full width inputs */
    .contact-form {
        padding: 1.5rem;
    }

    /* Footer - stack columns */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 2rem 0 1.5rem;
    }

    .newsletter {
        flex-direction: column;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
    }

    /* Modal - better mobile sizing */
    .modal {
        padding: 1rem;
    }

    .modal__dialog {
        padding: 1.25rem;
        max-height: calc(100vh - 2rem);
    }

    .modal__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal__grid img {
        height: 220px;
    }

    /* Carousel - optimize for mobile */
    .carousel__track {
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .carousel__slide {
        width: 88%;
    }

    .carousel__btn {
        display: none; /* Hide arrows, use swipe */
    }

    .carousel__dots {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    /* Timeline - stack on mobile */
    .timeline__item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .timeline__year {
        font-size: 0.9rem;
    }

    /* Badges - smaller on mobile */
    .centre-badge, .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }

    /* Mini icons - slightly smaller */
    .mini-icon, .value-icon {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    /* Floating orbs - smaller on mobile */
    .bg-orbs::before {
        width: 400px;
        height: 400px;
        top: -150px;
        left: -100px;
        filter: blur(30px);
    }

    .bg-orbs::after {
        width: 350px;
        height: 350px;
        bottom: -100px;
        right: -80px;
        filter: blur(30px);
    }

    /* Shimmer - lighter on mobile */
    .shimmer {
        background: linear-gradient(
            110deg,
            transparent 0%,
            transparent 45%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 55%,
            transparent 100%
        );
        animation-duration: 10s;
    }

    /* Ensure text is always readable */
    p, li, .stat-label, .footer-text {
        font-size: max(0.95rem, 16px);
    }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.65rem;
    }

    .card h2 {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .carousel__slide {
        width: 92%;
    }
}

/* Safe area support for notched devices */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .header {
            padding-top: max(1rem, env(safe-area-inset-top));
        }
        
        body {
            padding-bottom: env(safe-area-inset-bottom);
        }
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0f766e;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0f766e;
}

.btn-accent {
    background-color: #16a34a;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
    color: #ffffff;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-eyebrow {
    font-size: 13px;
    color: #facc15;
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hero-card {
    background-color: #ffffff;
    color: #1f2937;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0f172a;
}

.support-list {
    list-style: none;
    margin-bottom: 24px;
}

.support-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.support-list li:last-child {
    border-bottom: none;
}

.banking-details {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.banking-details strong {
    color: #0f766e;
}

.banking-text {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
}

/* Hero animations */
.hero-animate {
    animation: heroSlideUp 0.8s ease-out;
}

.hero-animate-card {
    animation: heroSlideUp 0.8s ease-out 0.2s backwards;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: #f3f4f6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px) saturate(180%);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 
    0 8px 16px rgba(15, 118, 110, 0.08),
    0 20px 40px rgba(15, 118, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-green) 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Explore Section */
.explore-section {
    padding: 80px 0;
    background: linear-gradient(180deg, 
      rgba(240, 253, 244, 0.3) 0%,
      rgba(209, 250, 229, 0.35) 50%,
      rgba(204, 251, 241, 0.25) 100%);
    position: relative;
    overflow: hidden;
}

.explore-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.explore-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--c-navy) 0%, #1e3a5f 50%, var(--c-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.explore-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 
    0 8px 16px rgba(15, 118, 110, 0.08),
    0 20px 40px rgba(15, 118, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: #1f2937;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #0f766e;
}

.explore-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0f766e;
}

.explore-card p {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
    flex-grow: 1;
}

.card-arrow {
    font-size: 24px;
    color: #16a34a;
    transition: transform 0.3s ease;
}

.explore-card:hover .card-arrow {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .explore-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.content-main h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
    margin-top: 36px;
    color: var(--c-navy);
    position: relative;
    padding-left: 18px;
}

.content-main h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: linear-gradient(180deg, var(--c-teal), var(--c-green));
    border-radius: 999px;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.content-main p strong {
    color: var(--c-teal);
    font-weight: 700;
}

.sidebar-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
    backdrop-filter: blur(20px) saturate(180%);
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 24px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, var(--c-teal), var(--c-green)) 1;
    box-shadow: 
      0 8px 16px rgba(15, 118, 110, 0.08),
      0 20px 40px rgba(15, 118, 110, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--c-navy);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(15, 118, 110, 0.15);
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-card p {
    color: #4b5563;
    line-height: 1.7;
}

.sidebar-card strong {
    color: var(--c-teal);
    font-weight: 700;
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: linear-gradient(180deg, 
      rgba(240, 253, 244, 0.5) 0%,
      rgba(209, 250, 229, 0.3) 50%,
      rgba(204, 251, 241, 0.2) 100%);
}

.values-section .container {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(15, 118, 110, 0.08);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
    padding: 32px;
    border-radius: 20px;
    box-shadow: 
      0 4px 12px rgba(15, 118, 110, 0.06),
      0 12px 24px rgba(15, 118, 110, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.08);
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-teal), var(--c-green), var(--c-yellow));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 
      0 12px 24px rgba(15, 118, 110, 0.12),
      0 24px 48px rgba(15, 118, 110, 0.08);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card p {
    color: #4b5563;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .values-section .container {
        padding: 30px 20px;
        border-radius: 18px;
    }
}

/* Programmes Section */
.programmes-section {
    padding: 80px 0;
}

.programmes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.programme-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
    backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 
      0 8px 16px rgba(15, 118, 110, 0.08),
      0 20px 40px rgba(15, 118, 110, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-left: 5px solid transparent;
    border-image: linear-gradient(180deg, var(--c-teal), var(--c-green), var(--c-yellow)) 1;
    transition: all 0.3s ease;
}

.programme-card:hover {
    box-shadow: 
      0 12px 24px rgba(15, 118, 110, 0.12),
      0 24px 48px rgba(15, 118, 110, 0.08);
    transform: translateY(-2px);
}

.programme-card__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

.programme-card__header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.programme-card h2 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #0f172a;
}

.programme-card > p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4b5563;
}

.programme-list {
    list-style: none;
    padding-left: 0;
}

.programme-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.programme-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0f766e;
    font-weight: 700;
}

/* Centres Section */
.centres-section {
    padding: 80px 0;
}

.centres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Prevent mobile overflow/glitch when grid items contain long text or nested grids */
.centres-grid > * {
    min-width: 0;
}

.centre-card {
    background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px) saturate(180%);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 
    0 8px 16px rgba(15, 118, 110, 0.08),
    0 20px 40px rgba(15, 118, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    min-width: 0;
}

.centre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.centre-badge {
    display: inline-block;
    background-color: #0f766e;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.badge-urgent {
    background-color: #16a34a;
}

.badge-rural {
    background-color: #facc15;
    color: #0f172a;
}

.badge-regional {
    background-color: #065f46;
}

.badge-developing {
    background-color: #6b7280;
}

.centre-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #0f172a;
}

.centre-location {
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 15px;
}

.centre-card p {
    color: #4b5563;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .centres-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #0f172a;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item strong {
    display: block;
    color: #0f766e;
    margin-bottom: 6px;
    font-size: 15px;
}

.contact-item p {
    color: #4b5563;
    line-height: 1.6;
}

.help-section {
    background-color: #f3f4f6;
    padding: 28px;
    border-radius: 12px;
}

.help-section h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #0f766e;
}

.help-section p {
    margin-bottom: 16px;
    color: #4b5563;
    line-height: 1.7;
}

.help-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.help-list li {
    padding: 8px 0;
    color: #4b5563;
    line-height: 1.6;
}

.help-list strong {
    color: #0f172a;
}

/* Contact Form */
.contact-form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #0f172a;
}

.contact-form {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f766e;
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-info {
        padding-right: 0;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, 
      rgba(240, 253, 244, 0.3) 0%,
      rgba(209, 250, 229, 0.2) 50%,
      rgba(243, 244, 246, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative elements for CTA section */
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(94, 234, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card {
    background: linear-gradient(135deg, 
      #0f766e 0%, 
      #0d6d66 25%,
      #0a5f5a 50%,
      #065f46 100%);
    color: #ffffff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
      0 10px 30px rgba(15, 118, 110, 0.3),
      0 20px 60px rgba(6, 95, 70, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Inner glow effect */
.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, rgba(94, 234, 212, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle pattern overlay */
.cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.cta-card h2, .cta-card p, .cta-card .btn {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 26px;
    }

    .cta-card p {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background-color: #020617;
    color: #ffffff;
    padding: 40px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Fade-in Animation
   Safety: keep content visible if JS doesn't load.
   We only hide elements when <html> has the .js class (added in main.js). */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-in {
    opacity: 0;
    transform: translateY(20px);
}

html.js .fade-in.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile fallback - ensure content is visible even if JS animations have issues */
@media (max-width: 768px) {
    html.js .fade-in {
        opacity: 0;
        transform: translateY(15px); /* Smaller transform on mobile */
        transition: opacity 0.4s ease, transform 0.4s ease; /* Faster animation */
    }
    
    /* Auto-reveal after animation delay as CSS-only fallback */
    html.js .fade-in {
        animation: mobileRevealFallback 0.5s ease 2s forwards;
    }
    
    html.js .fade-in.reveal-visible {
        animation: none;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileRevealFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Centre photo gallery */
.centre-gallery {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.centre-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.centre-gallery img:only-child {
    grid-column: 1 / -1;
    height: 260px;
}

@media (max-width: 768px) {
    .centre-gallery img {
        height: 160px;
    }

    .centre-gallery img:only-child {
        height: 220px;
    }
}


/* Disabled buttons */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Photo button spacing */
.btn-photo {
    margin-top: 14px;
}

/* Modal (Centres photos) */
body.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 1000;
}

.modal.open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
}

.modal__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(15, 118, 110, 0.25);
}

.modal__close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.18);
}

.modal__title {
    margin: 8px 0 4px;
    font-size: 22px;
    color: #0f172a;
}

.modal__subtitle {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 14px;
}

.modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.modal__grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
    .modal__grid {
        grid-template-columns: 1fr;
    }
    .modal__grid img {
        height: 220px;
    }
}


/* ============================
   Ultra polish v300
   ============================ */

/* Design tokens */
:root {
  --c-navy: #0f172a;
  --c-ink: #1f2937;
  --c-muted: #4b5563;
  --c-teal: #0f766e;
  --c-green: #16a34a;
  --c-yellow: #facc15;
  --c-surface: #ffffff;
  --c-soft: #f3f4f6;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: #ffffff;
  color: var(--c-navy);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 118, 110, .25);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* Subtle hero texture */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 15% 20%, rgba(250, 204, 21, .18), transparent 55%),
    radial-gradient(900px 420px at 85% 10%, rgba(22, 163, 74, .14), transparent 60%),
    radial-gradient(900px 420px at 70% 90%, rgba(15, 118, 110, .16), transparent 60%);
  pointer-events: none;
}
.hero > .container, .page-hero > .container {
  position: relative;
  z-index: 1;
}

/* Better responsive typography */
.hero-title {
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.02em;
}
.page-title {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.02em;
}

/* Header polish: compact on scroll + progress bar */
.header.compact .header-content {
  padding: .75rem 0;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 1500;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-green));
}

/* Section heading helper */
.section-heading {
  margin-bottom: 22px;
  text-align: center;
}
.section-heading__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--c-navy) 0%, #1e3a5f 50%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-heading__subtitle {
  margin-top: 10px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(31, 41, 55, .78);
  line-height: 1.8;
  font-size: 1.05rem;
}
.section-heading__title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  border-radius: 999px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--c-teal), var(--c-green), var(--c-yellow));
  opacity: .95;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

/* Premium card hover */
.explore-card, .programme-card, .centre-card, .value-card, .sidebar-card, .stat-card {
  position: relative;
}
.explore-card::before, .programme-card::before, .centre-card::before, .value-card::before, .stat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(15,118,110,.22), rgba(22,163,74,.14), rgba(250,204,21,.18));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.explore-card:hover::before,
.programme-card:hover::before,
.centre-card:hover::before,
.value-card:hover::before,
.stat-card:hover::before {
  opacity: 1;
}

/* Value icon (About page) */
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--c-teal), var(--c-green));
  box-shadow: 0 10px 25px rgba(15,118,110,.22);
}

/* Timeline (About page) */
.timeline {
  margin: 24px 0 8px;
  padding: 18px;
  background: var(--c-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 118, 110, .18);
}
.timeline__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
}
.timeline__item + .timeline__item {
  border-top: 1px solid rgba(15, 118, 110, .12);
}
.timeline__year {
  font-weight: 800;
  color: var(--c-teal);
}
.timeline__content p {
  margin-top: 6px;
  color: rgba(31,41,55,.78);
}
@media (max-width: 520px) {
  .timeline__item {
    grid-template-columns: 1fr;
  }
}

/* Buttons: small variant */
.btn-small {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
}

/* Carousel (no libraries) */
.carousel {
  position: relative;
}
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__slide {
  flex: 0 0 auto;
  width: min(380px, 86%);
  scroll-snap-align: start;
}
/* Make programme cards feel like “cards”, not full-width blocks, when inside carousel */
.carousel .programme-card {
  padding: 26px;
  border-left-width: 0;
  border: 1px solid rgba(15,118,110,.14);
}
.carousel .programme-card h3 {
  margin-bottom: 8px;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15,118,110,.22);
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--c-navy);
}
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
@media (max-width: 768px) {
  .carousel__btn--prev { left: -6px; }
  .carousel__btn--next { right: -6px; }
}
.carousel__btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,118,110,.35);
  background: rgba(15,118,110,.08);
  cursor: pointer;
}
.carousel__dot.active {
  background: linear-gradient(90deg, var(--c-teal), var(--c-green));
  border-color: transparent;
}

/* Centres overview card */
.overview-section {
  padding: 50px 0 30px;
  background: linear-gradient(180deg, 
    rgba(240, 253, 244, 0.4) 0%, 
    rgba(209, 250, 229, 0.3) 50%,
    rgba(204, 251, 241, 0.2) 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative elements for overview section */
.overview-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.overview-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.overview-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(240, 253, 244, 0.9) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 
    0 4px 6px rgba(15, 118, 110, 0.07),
    0 10px 20px rgba(15, 118, 110, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 26px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 16px rgba(15, 118, 110, 0.12),
    0 20px 40px rgba(15, 118, 110, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 118, 110, 0.25);
}

/* Subtle top accent line on cards */
.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-green), var(--c-teal));
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overview-card:hover::before {
  opacity: 1;
}
.overview-card h3 {
  margin-top: 12px;
  color: var(--c-navy);
  font-size: 20px;
}
.overview-meta {
  margin-top: 6px;
  font-weight: 700;
  color: var(--c-green);
  font-size: 14px;
}
.overview-text {
  margin-top: 10px;
  color: rgba(31,41,55,.78);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Badge colors for Centres page (missing in base CSS) */
.badge-featured { background: var(--c-yellow); color: var(--c-navy); }
.badge-established { background: rgba(15,118,110,.95); }
/* existing .badge-rural/.badge-regional/.badge-developing already present */

/* Back-to-top button */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(15,118,110,.22);
  background: rgba(255,255,255,.95);
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--c-navy);
  z-index: 1400;
}
.to-top.show {
  display: inline-flex;
}

/* Prefer-reduced-motion: keep it smooth and respectful */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}


/* Screen-reader only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}



/* ============================
   Signature v400 upgrades
   ============================ */

:root {
  --section-pad: clamp(56px, 7vw, 92px);
  --ring: 0 0 0 4px rgba(15, 118, 110, .25);
}

/* Focus styles (professional accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

/* Impact + process sections */
.impact-section, .featured-section, .process-section, .faq-section {
  padding: var(--section-pad) 0;
}

.impact-section {
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(240, 253, 244, 0.5) 30%,
    rgba(209, 250, 229, 0.3) 70%,
    rgba(204, 251, 241, 0.4) 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.impact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.impact-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.impact-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.impact-card, .process-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(240, 253, 244, 0.95) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 
    0 4px 6px rgba(15, 118, 110, 0.06),
    0 10px 20px rgba(15, 118, 110, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Subtle gradient overlay on hover */
.impact-card::after, .process-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(15, 118, 110, 0.02) 0%, 
    rgba(94, 234, 212, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.impact-card:hover::after, .process-card:hover::after {
  opacity: 1;
}

.impact-card:hover, .process-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 12px 24px rgba(15, 118, 110, 0.12),
    0 24px 48px rgba(15, 118, 110, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(15, 118, 110, 0.2);
}

/* Featured section (carousel) styling */
.featured-section {
  background: linear-gradient(180deg, 
    rgba(209, 250, 229, 0.25) 0%,
    rgba(240, 253, 244, 0.4) 50%,
    rgba(255, 255, 255, 0.6) 100%);
  position: relative;
  overflow: hidden;
}

.featured-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-green) 100%);
  margin-bottom: 16px;
  box-shadow: 
    0 4px 12px rgba(15, 118, 110, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.checklist {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: rgba(31,41,55,.82);
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--c-green);
  font-weight: 900;
}

@media (max-width: 980px) {
  .impact-grid, .process-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  padding: 0 0 var(--section-pad);
}
.cta-band__inner{
  background: linear-gradient(135deg, rgba(15,118,110,.95), rgba(15,23,42,.98));
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 40px 50px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.cta-band__inner::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 20% 20%, rgba(250,204,21,.25), transparent 45%),
              radial-gradient(circle at 80% 60%, rgba(22,163,74,.22), transparent 45%);
  transform: rotate(8deg);
  pointer-events:none;
}
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band__inner h2{ font-size: 28px; letter-spacing: -0.01em; margin: 0; }
.cta-band__inner p{ opacity:.92; margin-top: 6px; max-width: 600px; }
.cta-band__actions{ display:flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 860px){
  .cta-band__inner{ padding: 30px 24px; }
  .cta-band__actions{ justify-content: center; }
}

/* Footer upgrade */
.footer {
  background: #0b1222;
  color: rgba(255,255,255,.92);
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px 0 30px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-logo{
  display:flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-brand {
  text-align: center;
}
.footer-brand h3{ margin:0; font-size: 18px; }
.footer-muted{ color: rgba(255,255,255,.68); margin-top: 6px; }
.footer-text{ color: rgba(255,255,255,.82); margin-top: 10px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.footer-col { text-align: center; }
.footer-col h4{ font-size: 14px; text-transform: uppercase; letter-spacing: .09em; opacity:.9; margin-bottom: 12px; }
.footer-links{ list-style:none; display:grid; gap: 10px; }
.footer-links a{ color: rgba(255,255,255,.86); text-decoration:none; }
.footer-links a:hover{ color: #ffffff; text-decoration: underline; }
.footer-label{ color: rgba(255,255,255,.62); }
.footer-note{ margin-top: 10px; color: rgba(255,255,255,.62); font-size: 13px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0 26px;
  display:flex;
  justify-content: center;
  align-items:center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-support{
  color: #ffffff;
  text-decoration:none;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(22,163,74,.18);
  border: 1px solid rgba(22,163,74,.28);
}
.footer-support:hover{ background: rgba(22,163,74,.26); }

.footer .footer-social {
  justify-content: center;
}

@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
}

/* Accordion */

/* FAQ Section styling */
.faq-section {
  background: linear-gradient(180deg, 
    rgba(204, 251, 241, 0.3) 0%,
    rgba(209, 250, 229, 0.4) 50%,
    rgba(240, 253, 244, 0.3) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.accordion-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.accordion{
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(240, 253, 244, 0.95) 100%);
  border: 1px solid rgba(15,118,110,.12);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 4px 6px rgba(15, 118, 110, 0.06),
    0 10px 20px rgba(15, 118, 110, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion:hover {
  box-shadow: 
    0 8px 16px rgba(15, 118, 110, 0.1),
    0 16px 32px rgba(15, 118, 110, 0.06);
  border-color: rgba(15,118,110,.2);
}
.accordion summary{
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--c-navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, transparent 0%, rgba(240, 253, 244, 0.3) 100%);
}
.accordion summary:hover {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.5) 0%, rgba(209, 250, 229, 0.3) 100%);
}
.accordion[open] summary {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, rgba(94, 234, 212, 0.08) 100%);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion summary::after{
  content:"+";
  font-size: 20px;
  color: var(--c-teal);
  font-weight: 900;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.accordion[open] summary::after{ 
  content:"–"; 
  background: rgba(15, 118, 110, 0.15);
  transform: rotate(180deg);
}
.accordion__content{
  padding: 0 18px 18px;
  color: rgba(31,41,55,.84);
}
.accordion__content p{ margin-top: 10px; }
.footnote{
  margin-top: 14px;
  color: rgba(31,41,55,.72);
}
@media (max-width: 860px){
  .accordion-grid{ grid-template-columns: 1fr; }
}

/* Filter bar */
.filter-bar{
  margin: 22px 0 18px;
  display:flex;
  justify-content: center;
}
.filter-bar input{
  width: min(680px, 100%);
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,118,110,.18);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.filter-empty{
  margin-top: 14px;
  text-align: center;
  color: rgba(31,41,55,.72);
}

/* Toast */
.toast-wrap{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2500;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast{
  pointer-events: auto;
  background: rgba(15,23,42,.95);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  min-width: min(520px, calc(100vw - 24px));
}
.toast button{
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .hero-animate, .hero-animate-card{ animation: none !important; }
  .fade-in{ transition: none !important; transform: none !important; opacity: 1 !important; }
  .to-top{ transition: none !important; }
}



/* ============================
   Mobile UX v410
   ============================ */

/* Prevent accidental horizontal scroll on small devices */
html, body { overflow-x: hidden; }
body { -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Lock background scroll when mobile menu is open */
body.nav-locked { overflow: hidden; }

/* Better anchor jumps with sticky header */
html { scroll-padding-top: 88px; }

@media (max-width: 768px) {
  html { scroll-padding-top: 84px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .nav-links a { padding: 12px 14px; } /* bigger tap targets */
  .btn { min-height: 44px; }
}

@media (max-width: 540px) {
  /* Typography + spacing */
  .hero { padding: 44px 0 46px; }
  .hero-grid { gap: 26px; }
  .hero-title { font-size: 32px; line-height: 1.12; }
  .hero-description { font-size: 15px; line-height: 1.7; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .section-title { font-size: 28px; margin-bottom: 28px; }
  .section-subtitle { font-size: 15px; }

  /* Cards/grids: reduce dense spacing */
  .explore-section, .programmes-section, .centres-section, .stats-section { padding: 54px 0; }
  .explore-grid, .programmes-grid, .centres-grid, .process-grid { gap: 16px; }

  /* Carousels: swipe-first on mobile */
  .carousel__track { padding-bottom: 10px; gap: 12px; }
  .carousel__slide { width: 92%; }
  .carousel__btn { display: none; } /* rely on swipe + dots */
  .carousel__dots { margin-top: 8px; gap: 10px; }
  .carousel__dot { width: 11px; height: 11px; }

  /* Search input: prevent iOS zoom */
  .filter-bar input { font-size: 16px; padding: 12px 14px; }

  /* Forms: comfortable typing */
  input, textarea, select { font-size: 16px; }

  /* Modal: better fit on small screens */
  .modal { padding: 10px; }
  .modal__dialog { max-height: calc(100dvh - 20px); padding: 14px; border-radius: 18px; }
  .modal__grid img { height: 190px; }

  /* Footer: stack cleanly */
  .footer-grid { gap: 18px; }

  /* Safe-area friendly fixed UI */
  .back-to-top { bottom: calc(18px + env(safe-area-inset-bottom)); right: 16px; }
  .toast-wrap { bottom: calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .hero-title { font-size: 30px; }
  .carousel__slide { width: 94%; }
  .modal__grid img { height: 175px; }
  .section-title { font-size: 26px; }
}

/* ==========================================
   EXECUTIVE ULTRA EFFECTS - ADD AT END
   ========================================== */

/* Floating Orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orbs::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(240, 253, 244, 0.2) 30%,
        transparent 70%
    );
    border-radius: 50%;
    top: -300px;
    left: -200px;
    animation: float1 25s ease-in-out infinite;
    filter: blur(40px);
}

.bg-orbs::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(236, 253, 245, 0.18) 30%,
        transparent 70%
    );
    border-radius: 50%;
    bottom: -200px;
    right: -150px;
    animation: float2 20s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 80px) scale(1.1); }
    66% { transform: translate(-30px, 120px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -70px) scale(1.08); }
    66% { transform: translate(40px, -100px) scale(0.92); }
}

/* Shimmer Effect */
.shimmer {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 0;
        transform: translateX(-100%);
    }
    10%, 90% { 
        opacity: 1;
    }
    50% { 
        opacity: 1;
        transform: translateX(100%);
    }
}

/* Respect reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .bg-orbs::before,
    .bg-orbs::after,
    .shimmer {
        animation: none;
    }
}

/* --- Professional galleries (replaces "View Photos" modal) --- */
.gallery-grid{
  display:grid;
  /* minmax(0, 1fr) prevents overflow on narrow screens */
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
.gallery-grid.small{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
@media (max-width: 900px){
  .gallery-grid{grid-template-columns:repeat(2, 1fr);}  
}
@media (max-width: 520px){
  .gallery-grid, .gallery-grid.small{grid-template-columns:1fr;}
}

.gallery-item{
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(15, 118, 110, 0.12);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(240,253,244,0.95));
  transition:transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.gallery-item:hover{
  transform:translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.12);
}
.gallery-item img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}
.gallery-grid.small .gallery-item img{height:110px;}

/* Gallery caption styling */
.gallery-item .caption {
  display: block;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-navy);
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border-top: 1px solid rgba(15, 118, 110, 0.08);
}

.gallery-item:hover .caption {
  color: var(--c-teal);
}

.gallery-caption{
  padding:10px 12px;
  font-size:0.95rem;
  color:#222;
}
.gallery-caption small{opacity:.75; display:block; margin-top:2px;}

.program-card{
  border-radius:18px;
}
.program-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.program-tag{
  font-size:0.85rem;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,0.05);
}

.page-hero .lead{
  max-width: 70ch;
  opacity:.9;
}

/* ============================
   LIGHTBOX MODAL - Image Popup
   ============================ */

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
}

.lightbox__container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.lightbox__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.lightbox__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.lightbox__image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 118, 110, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox__nav:hover {
    background: rgba(15, 118, 110, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: -70px;
}

.lightbox__nav--next {
    right: -70px;
}

.lightbox__info {
    margin-top: 20px;
    text-align: center;
    color: #ffffff;
}

.lightbox__caption {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lightbox__counter {
    font-size: 0.9rem;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
}

.lightbox__thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow-x: auto;
    max-width: 100%;
}

.lightbox__thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox__thumb:hover {
    opacity: 0.8;
}

.lightbox__thumb.active {
    opacity: 1;
    border-color: #5eead4;
    box-shadow: 0 0 15px rgba(94, 234, 212, 0.4);
}

/* Responsive adjustments for lightbox */
@media (max-width: 1200px) {
    .lightbox__nav--prev {
        left: 15px;
    }
    .lightbox__nav--next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .lightbox {
        padding: 10px;
    }
    
    .lightbox__close {
        top: -45px;
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .lightbox__nav--prev {
        left: 10px;
    }
    
    .lightbox__nav--next {
        right: 10px;
    }
    
    .lightbox__image {
        max-height: 65vh;
        border-radius: 12px;
    }
    
    .lightbox__caption {
        font-size: 1rem;
    }
    
    .lightbox__thumbnails {
        padding: 8px;
        gap: 8px;
    }
    
    .lightbox__thumb {
        width: 50px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .lightbox__nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .lightbox__image {
        max-height: 55vh;
    }
    
    .lightbox__thumbnails {
        display: none;
    }
}

/* Body class when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* Make gallery items show pointer cursor */
.gallery-item {
    cursor: pointer;
}

/* Error state for broken images in lightbox */
.lightbox__image--error {
    min-width: 300px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__thumb--error {
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.4;
}


/* ===== ENHANCED HIGHLIGHTING & KEY INFO STYLES ===== */

/* Highlighted key information */
.highlight-text {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(94, 234, 212, 0.08));
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--c-teal);
}

/* Key stat inline */
.key-stat {
  font-weight: 800;
  font-size: 1.1em;
  background: linear-gradient(135deg, var(--c-teal), var(--c-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced impact list styling */
.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.impact-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #374151;
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  transition: all 0.2s ease;
}

.impact-list li:last-child {
  border-bottom: none;
}

.impact-list li::before {
  content: "›";
  position: absolute;
  left: 8px;
  top: 10px;
  color: var(--c-teal);
  font-weight: 700;
  font-size: 1.1em;
}

.impact-list li:hover {
  background: rgba(240, 253, 244, 0.5);
  padding-left: 32px;
}

.impact-list li strong {
  color: var(--c-teal);
  font-weight: 700;
}

/* Enhanced clean-list for programmes */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.clean-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: #4b5563;
  line-height: 1.6;
}

.clean-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 8px;
  color: var(--c-green);
  font-weight: bold;
}

.clean-list li strong {
  color: var(--c-navy);
  font-weight: 700;
}

/* Page title enhancements */
.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Explore card heading enhancement */
.explore-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Overview card (centres at a glance) heading enhancement */
.overview-card h3 {
  margin-top: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Impact card heading enhancement */
.impact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-navy);
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Centre card heading enhancement */
.centre-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA card heading enhancement */
.cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Trustee card enhancement */
.trustee-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,253,244,0.95)) !important;
  transition: all 0.3s ease;
}

.trustee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.12) !important;
}

.trustee-card strong {
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Banking section enhancement */
.banking-section h3 {
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banking-section strong {
  color: var(--c-navy);
}

/* Help section enhancement */
.help-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.help-list li strong {
  color: var(--c-teal);
}

/* Contact item enhancement */
.contact-item strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-teal);
  margin-bottom: 4px;
}

/* ===== DONATE PAGE STYLES ===== */

.donate-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(240, 253, 244, 0.5) 50%,
    rgba(209, 250, 229, 0.3) 100%);
  position: relative;
}

.donate-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.donate-hero__content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.donate-hero__content > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 2rem;
}

.donate-impact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.donate-impact__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  font-weight: 600;
  color: var(--c-navy);
  font-size: 0.95rem;
}

.donate-impact__icon {
  font-size: 1.4rem;
}

/* Donate Card */
.donate-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 
    0 20px 40px rgba(15, 118, 110, 0.1),
    0 40px 80px rgba(15, 118, 110, 0.05);
  position: relative;
}

.donate-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-teal), var(--c-green));
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.donate-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1rem 0 0.75rem;
  color: var(--c-navy);
}

.donate-card > p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Big Donate Button */
.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px 40px;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-green) 50%, #059669 100%);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 20px rgba(15, 118, 110, 0.3),
    0 16px 40px rgba(15, 118, 110, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.donate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.donate-btn:hover::before {
  left: 100%;
}

.donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 28px rgba(15, 118, 110, 0.35),
    0 24px 56px rgba(15, 118, 110, 0.25);
}

.donate-btn:active {
  transform: translateY(-1px);
}

.donate-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-btn__icon svg {
  animation: pulse-heart 1.5s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.donate-card__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.donate-card__trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 118, 110, 0.1);
  font-size: 0.8rem;
  color: #6b7280;
}

/* Banking Details Section */
.banking-details-section {
  padding: 80px 0;
  background: linear-gradient(180deg, 
    rgba(209, 250, 229, 0.2) 0%,
    rgba(240, 253, 244, 0.3) 100%);
}

.banking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.bank-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 
    0 10px 30px rgba(15, 118, 110, 0.08),
    0 20px 50px rgba(15, 118, 110, 0.05);
  transition: all 0.3s ease;
}

.bank-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 16px 40px rgba(15, 118, 110, 0.12),
    0 28px 60px rgba(15, 118, 110, 0.08);
}

.bank-card__header {
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-green) 100%);
}

.bank-card--lillah .bank-card__header {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1e3a5f 100%);
}

.bank-card__type {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bank-card__body {
  padding: 24px;
}

.bank-card__logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(15, 118, 110, 0.1);
}

.bank-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.06);
}

.bank-card__row:last-child {
  border-bottom: none;
}

.bank-card__label {
  font-size: 0.9rem;
  color: #6b7280;
}

.bank-card__value {
  font-weight: 600;
  color: var(--c-navy);
  text-align: right;
}

.bank-card__value--highlight {
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-teal), var(--c-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Banking Note */
.banking-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
}

.banking-note__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.banking-note__content {
  color: #4b5563;
  line-height: 1.6;
}

.banking-note__content strong {
  color: var(--c-navy);
}

.banking-note__content a {
  color: var(--c-teal);
  font-weight: 600;
}

/* Tax Section */
.tax-section {
  padding: 60px 0;
}

.tax-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(94, 234, 212, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.tax-card__icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.tax-card__content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.5rem;
}

.tax-card__content p {
  color: #4b5563;
  line-height: 1.7;
}

.tax-card__content strong {
  color: var(--c-teal);
}

/* Responsive */
@media (max-width: 968px) {
  .donate-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .donate-hero__content {
    text-align: center;
  }
  
  .donate-impact {
    justify-content: center;
  }
  
  .banking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .donate-impact {
    grid-template-columns: 1fr;
  }
  
  .donate-card {
    padding: 30px 20px;
  }
  
  .donate-btn {
    padding: 18px 30px;
    font-size: 1.1rem;
  }
  
  .tax-card {
    flex-direction: column;
    text-align: center;
  }
  
  .donate-card__trust {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== SOCIAL LINKS ===== */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social:hover {
  color: #ffffff;
}

.footer-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-social:hover .footer-social__icon {
  background: #1877f2;
  transform: translateY(-2px);
}

.footer-social__icon svg {
  width: 18px;
  height: 18px;
}

/* Social link on contact page */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-link svg {
  flex-shrink: 0;
}

/* ===== PROGRAMMES PAGE SECTION STYLES ===== */
.section {
  padding: 70px 0;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(240, 253, 244, 0.4) 50%,
    rgba(209, 250, 229, 0.25) 100%);
  position: relative;
}

.section--muted {
  background: linear-gradient(180deg, 
    rgba(209, 250, 229, 0.3) 0%,
    rgba(240, 253, 244, 0.4) 50%,
    rgba(204, 251, 241, 0.25) 100%);
}

.section + .section {
  border-top: 1px solid rgba(15, 118, 110, 0.08);
}

/* Programmes grid spacing */
.programmes-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.programmes-grid .programme-card {
  margin-bottom: 0;
}

/* ===== MAP SECTION STYLES ===== */
.map-section {
  padding: 70px 0;
  background: linear-gradient(180deg, 
    rgba(240, 253, 244, 0.3) 0%,
    rgba(209, 250, 229, 0.25) 50%,
    rgba(255, 255, 255, 0.9) 100%);
}

.map-container {
  margin-top: 2rem;
}

.map-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 
    0 20px 50px rgba(15, 118, 110, 0.1),
    0 40px 80px rgba(15, 118, 110, 0.05);
}

.map-card__info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-teal), var(--c-green));
  border-radius: 16px;
  color: white;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.map-card__details h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.map-card__address {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

.map-card__actions {
  margin-top: auto;
}

.map-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-green) 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.25);
}

.map-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.35);
}

.map-card__btn svg {
  flex-shrink: 0;
}

.map-card__embed {
  position: relative;
  min-height: 400px;
  background: #e5e7eb;
}

.map-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .map-card {
    grid-template-columns: 1fr;
  }
  
  .map-card__info {
    padding: 30px;
  }
  
  .map-card__embed {
    min-height: 350px;
  }
}

@media (max-width: 640px) {
  .map-card__info {
    padding: 24px;
  }
  
  .map-card__icon {
    width: 56px;
    height: 56px;
  }
  
  .map-card__icon svg {
    width: 28px;
    height: 28px;
  }
  
  .map-card__details h3 {
    font-size: 1.25rem;
  }
  
  .map-card__embed {
    min-height: 280px;
  }
}

/* ===== PARTNERS SECTION STYLES ===== */
.partners-section {
  padding: 70px 0;
  background: linear-gradient(180deg, 
    rgba(240, 253, 244, 0.4) 0%,
    rgba(209, 250, 229, 0.3) 50%,
    rgba(204, 251, 241, 0.2) 100%);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 
    0 10px 30px rgba(15, 118, 110, 0.08),
    0 20px 50px rgba(15, 118, 110, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 16px 40px rgba(15, 118, 110, 0.12),
    0 28px 60px rgba(15, 118, 110, 0.06);
}

.partner-card__header {
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-green) 100%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.partner-card--intl .partner-card__header {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1e4a6d 100%);
}

.partner-card__icon {
  font-size: 2.5rem;
  line-height: 1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__icon svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.partner-card__header h3 {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  letter-spacing: 0.01em;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
}

.partner-card__body {
  padding: 24px 28px;
  flex: 1;
  background: #ffffff;
}

.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.partner-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: #111827;
  line-height: 1.7;
  font-weight: 500;
}

.partner-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: #0f766e;
  font-weight: bold;
  font-size: 1.1rem;
}

.partner-card--intl .partner-list {
  grid-template-columns: 1fr;
}

.partner-card--intl .partner-card__body {
  background: #ffffff;
}

.partner-card--intl .partner-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
}

.partner-card--intl .partner-list li::before {
  color: #0f766e;
  font-size: 1.1rem;
  left: 8px;
  top: 14px;
}

.partner-card--intl .partner-list li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .partner-list {
    grid-template-columns: 1fr;
  }
  
  .partner-card__header {
    padding: 20px 24px;
  }
  
  .partner-card__body {
    padding: 20px 24px;
  }
}

/* ===== LOADING SCREEN ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #0f766e 50%, #065f46 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.page-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-loader__logo {
  width: 120px;
  height: auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 16px;
  border-radius: 16px;
  animation: logoReveal 0.8s ease-out forwards, logoPulse 2s ease-in-out infinite 0.8s;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.1);
  }
}

.page-loader__text {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: textFadeIn 0.6s ease-out 0.4s forwards;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.page-loader__progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  animation: textFadeIn 0.6s ease-out 0.6s forwards;
}

.page-loader__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #10b981, #22c55e, #facc15);
  border-radius: 10px;
  animation: progressFill 1.8s ease-in-out 0.4s forwards;
}

@keyframes progressFill {
  0% {
    width: 0;
  }
  20% {
    width: 20%;
  }
  50% {
    width: 60%;
  }
  80% {
    width: 85%;
  }
  100% {
    width: 100%;
  }
}

.page-loader__dots {
  display: flex;
  gap: 8px;
  opacity: 0;
  animation: textFadeIn 0.6s ease-out 0.5s forwards;
}

.page-loader__dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
}

.page-loader__dot:nth-child(1) {
  animation-delay: 0s;
}

.page-loader__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.page-loader__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.3);
    opacity: 1;
    background: #22c55e;
  }
}

/* Hide body scroll while loading */
body.loading {
  overflow: hidden;
}

/* PayFast Donation Input Styling */
.donation-input-wrapper {
    position: relative;
    max-width: 300px;
    margin: 0 auto 1.5rem auto;
}

.donation-amount-input {
    width: 100%;
    padding: 16px 16px 16px 40px; /* Left padding for the 'R' symbol */
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-navy);
    background: #ffffff;
    border: 2px solid rgba(15, 118, 110, 0.2);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.donation-amount-input:focus {
    outline: none;
    border-color: var(--c-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.currency-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: var(--c-teal);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Ensure the button looks right as a <button> element */
button.donate-btn {
    width: 100%;
    font-family: inherit;
    cursor: pointer;
}
