/* ============================================================
   THE ASHOK FOUNDATION — Complete Stylesheet v4
   Colors from taflogo.jpeg:
   Navy: #001D6C | Blue: #0060C2 | Orange: #FE9300 | Green: #1C8116
============================================================ */

/* ── RESET & VARIABLES ─────────────────────────────────────── */
:root {
    --navy:      #001D6C;
    --blue:      #0060C2;
    --orange:    #FE9300;
    --green:     #1C8116;
    --light-bg:  #F5F8FF;
    --white:     #FFFFFF;
    --text-dark: #1a2340;
    --text-mid:  #4a5568;
    --text-light:#718096;
    --border:    #e2e8f0;
    --shadow:    0 4px 24px rgba(0,29,108,0.10);
    --shadow-lg: 0 12px 40px rgba(0,29,108,0.16);
    --radius:    12px;
    --radius-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: all 0.25s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 2000; background: var(--white); box-shadow: 0 2px 12px rgba(0,29,108,0.08); }
.header-top { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 13px; padding: 6px 0; }
.header-top .container { display: flex; gap: 24px; flex-wrap: wrap; }
.header-top span { display: flex; align-items: center; gap: 6px; }
.header-top i { color: var(--orange); }
.main-nav { padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 100%; height: 56px; object-fit: contain; xborder-radius: 8px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-tagline { font-size: 11px; color: var(--orange); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-mid); border-radius: 8px; display: block; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--navy); background: var(--light-bg); }
.btn-donate { background: var(--orange) !important; color: var(--white) !important; padding: 10px 20px !important; border-radius: 50px !important; font-weight: 600 !important; }
.btn-donate:hover { background: #e07e00 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(254,147,0,0.4) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ── DROPDOWN NAV ──────────────────────────────────────────── */
.nav-links li { position: relative; }
.nav-links li .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,29,108,0.16);
    border: 1px solid var(--border);
    padding: 8px 0;
    z-index: 2100;
    animation: dropIn 0.2s ease;
    margin-top:-10px;
}
@keyframes dropIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown { display: block; }
.dropdown a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 18px !important;
    font-size: 14px !important;
    color: var(--text-mid) !important;
    background: none !important;
    border-radius: 0 !important;
    white-space: nowrap;
    border-left: 3px solid transparent !important;
}
.dropdown a:hover, .dropdown a.active {
    color: var(--navy) !important;
    background: var(--light-bg) !important;
    border-left-color: var(--orange) !important;
}
.dropdown a i { color: var(--orange); font-size: 13px; width: 16px; }
.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 4px;
    font-size: 11px;
    opacity: 0.7;
}

/* ── HERO SLIDER ───────────────────────────────────────────── */
/* ── HERO SLIDER ─────────────────────────────────────────────
   Recommended image size: 1600 × 700px (16:7 ratio), JPG/WebP
   Minimum: 1200 × 600px | Max file size: 500KB (compressed)
   Subject should be centred. Text overlays the LEFT side.
   Portrait/square photos will not display well — use landscape.
─────────────────────────────────────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    /* Fixed height = consistent crop across all image sizes */
    height: 600px;
    overflow: hidden;
    background: var(--navy);
}

/* Every slide is stacked absolutely inside the fixed-height container */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    pointer-events: none;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* Background image — always fills the box, crops from centre */
.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 7s ease;
    will-change: transform;
}
.slide.active .slide-bg { transform: scale(1.05); }

/* Dark gradient — stronger on left so text is always readable */
.slide-overlay {
    position: absolute;
    inset: 0;
    /* Left side very dark for text legibility, right fades to show photo */
    background:
        linear-gradient(90deg,
            rgba(0,8,40,0.28) 0%,
            rgba(0,20,80,0.32) 45%,
            rgba(0,40,100,0.10) 75%,
            transparent 100%),
        linear-gradient(0deg,
            rgba(0,0,0,0.10) 0%,
            transparent 60%);
    z-index: 1;
}

/* Top colour ribbon */
.slide-ribbon {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--green), var(--blue), var(--orange));
    z-index: 10;
}

/* Slide text — sits on top of the overlay */
.slide-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
    padding-right: 24px;
}
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(254,147,0,0.50);
    color: #fff; /*var(--orange);*/
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
    /* Keep readable even on light backgrounds */
    text-shadow: none;
}
.slide-content h1 {
    font-size: clamp(32px, 4.5vw, 60px);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.slide-content h1 span { color: var(--orange); }
.slide-content .slide-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Prev / Next arrows — tucked away from stats panel */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.14);
    border: 2px solid rgba(255,255,255,0.30);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s;
    backdrop-filter: blur(6px);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover,
.slider-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.1);
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 28px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.slider-dot.active {
    background: var(--orange);
    width: 44px;
}

/* Counter */
.slider-counter {
    position: absolute;
    bottom: 20px;
    right: 28px;
    z-index: 10;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.slider-counter span { color: rgba(255,255,255,0.9); }

/* Stats panel — right side, clear of arrow */
.hero-slider .hero-stats {
    position: absolute;
    right: 72px;  /* clear of .slider-next arrow */
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
   display:none;
}
.stat-card {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    padding: 16px 22px;
    text-align: center;
    color: white;
    min-width: 110px;
}
.stat-card .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
}
.stat-card .lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary { background: var(--orange); color: var(--white); padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; transition: all 0.25s; display: inline-block; }
.btn-primary:hover { background: #e07e00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254,147,0,0.4); color: white; }
.btn-outline { border: 2px solid rgba(255,255,255,0.4); color: var(--white); padding: 13px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; transition: all 0.25s; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ── SECTIONS ──────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: rgba(0,96,194,0.08); color: var(--blue); padding: 4px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(32px, 4vw, 50px); color: var(--navy); margin-bottom: 14px; }
.section-header p { font-size: 17px; color: var(--text-mid); max-width: 600px; margin: 0 auto; }
.divider { width: 64px; height: 4px; background: linear-gradient(90deg, var(--orange), var(--blue)); border-radius: 2px; margin: 16px auto 0; }

/* ── MISSION PILLARS ───────────────────────────────────────── */
.mission-bg { background: var(--light-bg); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pillar-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); transition: all 0.3s; position: relative; overflow: hidden; }
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.pillar-card:nth-child(1)::before { background: var(--orange); }
.pillar-card:nth-child(2)::before { background: var(--blue); }
.pillar-card:nth-child(3)::before { background: var(--green); }
.pillar-card:nth-child(4)::before { background: var(--navy); }
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar-icon { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px; }
.pillar-card:nth-child(1) .pillar-icon { background: rgba(254,147,0,0.12); color: var(--orange); }
.pillar-card:nth-child(2) .pillar-icon { background: rgba(0,96,194,0.12); color: var(--blue); }
.pillar-card:nth-child(3) .pillar-icon { background: rgba(28,129,22,0.12); color: var(--green); }
.pillar-card:nth-child(4) .pillar-icon { background: rgba(0,29,108,0.10); color: var(--navy); }
.pillar-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.pillar-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── ABOUT STRIP ───────────────────────────────────────────── */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; height: 480px; }
.about-badge-float { position: absolute; bottom: -20px; right: -20px; background: var(--orange); color: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-lg); text-align: center; }
.about-badge-float .num { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 700; line-height: 1; }
.about-badge-float .lbl { font-size: 13px; opacity: 0.9; }
.about-content .section-header { text-align: left; margin-bottom: 24px; }
.about-content p { color: #fff/*var(--text-mid)*/; margin-bottom: 16px; line-height: 1.85; }
.vision-box { background: var(--navy); color: white; border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; border-left: 4px solid var(--orange); }
.vision-box .hindi { font-size: 15px; opacity: 0.75; font-style: italic; margin-top: 4px; }

/* ── STORY SECTION ─────────────────────────────────────────── */
.story-section { background: linear-gradient(135deg, var(--navy) 0%, #003399 100%); color: white; position: relative; overflow: hidden; padding: 80px 0; }
.story-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(254,147,0,0.12) 0%, transparent 70%); border-radius: 50%; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.story-content .section-tag { background: rgba(254,147,0,0.15); color: var(--orange); }
.story-content h2 { color: white; font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
.story-content p { color: rgba(255,255,255,0.80); margin-bottom: 14px; line-height: 1.85; }
.story-timeline { display: flex; flex-direction: column; gap: 20px; }
.timeline-item { display: flex; gap: 16px; align-items: flex-start; }
.timeline-year { background: var(--orange); color: white; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap; margin-top: 3px; flex-shrink: 0; }
.timeline-item p { color: rgba(255,255,255,0.80); font-size: 15px; line-height: 1.7; }

/* ── TRUSTEES ──────────────────────────────────────────────── */
.trustees-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.trustee-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; text-align: center; }
.trustee-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trustee-img-wrap { position: relative; overflow: hidden; height: 220px; }
.trustee-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s; }
.trustee-card:hover .trustee-img-wrap img { transform: scale(1.05); }
.trustee-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(0,29,108,0.5), transparent); }
.trustee-info { padding: 20px 16px; }
.trustee-info h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.trustee-role { font-size: 13px; color: var(--orange); font-weight: 600; text-transform: normal; letter-spacing: 0.5px; }
.trustee-profession { font-size: 13px; color: var(--text-mid); margin-top: 4px; }
.trustee-badge { display: inline-block; background: var(--light-bg); color: var(--navy); border-radius: 50px; padding: 3px 12px; font-size: 12px; margin-top: 8px; }

/* ── FOUNDER SPOTLIGHT ─────────────────────────────────────── */
.founder-spotlight { background: var(--navy); border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-bottom: 56px; overflow: hidden; position: relative; }
.founder-spotlight::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(254,147,0,0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.founder-photo { position: relative; z-index: 2; flex-shrink: 0; }
.founder-photo img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--orange); box-shadow: 0 8px 32px rgba(0,0,0,0.3); display: block; }
.founder-content { position: relative; z-index: 2; }
.founder-content .badge { display: inline-block; background: rgba(254,147,0,0.2); color: var(--orange); padding: 3px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.founder-content h2 { color: white; font-size: 36px; margin: 0 0 6px; }
.founder-content .subtitle { color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 20px; }
.founder-content p { color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.85; }

/* ── PROGRAMS ──────────────────────────────────────────────── */
.programs-bg { background: var(--light-bg); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.program-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-img { height: 200px; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.program-card:hover .program-img img { transform: scale(1.06); }
.program-body { padding: 24px; }
.program-body .tag { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.tag-health { background: rgba(254,147,0,0.12); color: #c97000; }
.tag-edu { background: rgba(0,96,194,0.12); color: var(--blue); }
.tag-skill { background: rgba(28,129,22,0.12); color: var(--green); }
.program-body h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.program-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── QUOTE BANNER ──────────────────────────────────────────── */
.quote-banner { background: linear-gradient(135deg, var(--orange) 0%, #e07e00 100%); padding: 60px 0; text-align: center; color: white; }
.quote-banner blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 4vw, 42px); font-style: italic; font-weight: 600; max-width: 800px; margin: 0 auto 12px; line-height: 1.4; }
.quote-banner cite { font-size: 15px; opacity: 0.85; }

/* ── CONTACT ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 28px; color: var(--navy); margin-bottom: 20px; }
.contact-info p { color: var(--text-mid); margin-bottom: 24px; line-height: 1.85; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { width: 44px; height: 44px; background: var(--light-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 16px; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.contact-item-text span { font-size: 14px; color: var(--text-mid); }
.contact-form { background: var(--light-bg); border-radius: var(--radius-lg); padding: 36px; }
.contact-form h3 { font-size: 24px; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text-dark); background: var(--white); transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit { width: 100%; background: var(--navy); color: white; border: none; padding: 14px; border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.btn-submit:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,29,108,0.3); }

/* ── PAGE HERO ─────────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #003399 100%); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--green), var(--blue)); }
.page-hero h1 { color: white; font-size: clamp(36px, 5vw, 56px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 18px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--orange); }
.breadcrumb i { font-size: 10px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: #03123a; color: rgba(255,255,255,0.75); }
.footer-main { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 200px; height: 48px; border-radius: 8px; object-fit: contain; background: white; }
.footer-logo strong { display: block; color: white; font-family: 'Cormorant Garamond', serif; font-size: 16px; }
.footer-logo span { font-size: 11px; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; }
.footer-about { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 14px; transition: all 0.2s; }
.social-links a:hover { background: var(--orange); color: white; }
.footer-col h4 { color: white; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--orange); }
.footer-col p { font-size: 14px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-bottom i { color: var(--orange); }
.footer-bottom strong { color: var(--orange); }

/* ── INNER PAGE GRIDS ──────────────────────────────────────── */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.two-col-grid-start { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.three-col-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.impact-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; margin-bottom: 48px; }
.donate-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.donate-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.bank-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.core-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.gallery-grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ── POPUP SYSTEM ──────────────────────────────────────────── */
.taf-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn 0.35s ease; }
.taf-popup-overlay.hiding { animation: fadeOut 0.3s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
.taf-popup-box { background: white; border-radius: var(--radius-lg); box-shadow: 0 24px 80px rgba(0,0,0,0.35); max-width: 560px; width: 100%; position: relative; animation: popupIn 0.4s cubic-bezier(0.34,1.56,0.64,1); overflow: hidden; }
@keyframes popupIn { from { opacity:0; transform:scale(0.88) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
.taf-popup-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; background: rgba(0,0,0,0.12); border: none; border-radius: 50%; color: white; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.2s; }
.taf-popup-close:hover { background: rgba(0,0,0,0.35); }
.taf-popup-box.popup-image-only { background: transparent; box-shadow: none; }
.taf-popup-box.popup-image-only img { border-radius: var(--radius-lg); display: block; max-height: 80vh; width: 100%; object-fit: contain; }
.taf-popup-box.popup-image-only .taf-popup-close { background: rgba(0,0,0,0.45); color: white; top: 8px; right: 8px; }
.popup-ribbon { height: 5px; background: linear-gradient(90deg, var(--orange), var(--blue)); }
.popup-body { padding: 32px 36px 36px; }
.popup-body .popup-tag { display: inline-block; background: rgba(254,147,0,0.12); color: var(--orange); padding: 3px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.popup-body h3 { font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.popup-body p { color: var(--text-mid); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.popup-body .popup-btn { display: inline-block; background: var(--orange); color: white; padding: 11px 28px; border-radius: 50px; font-weight: 600; font-size: 14px; margin-top: 8px; transition: all 0.2s; }
.popup-body .popup-btn:hover { background: #e07e00; transform: translateY(-1px); }
.popup-no-show { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--text-light); cursor: pointer; }
.popup-no-show input { cursor: pointer; accent-color: var(--navy); }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-in { animation: fadeInUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-slider .hero-stats { display: none; }
    /* When stats hide, right arrow moves back to normal right edge */
    .slider-next { right: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .impact-stats-grid { grid-template-columns: repeat(2,1fr); }
    .donate-impact-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    section { padding: 56px 0; }
    .hamburger { display: flex; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; align-items: stretch; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); gap: 4px; z-index: 2000; }
    .nav-links.open { display: flex; }
    .nav-links > li > a { padding: 10px 16px; border-radius: 8px; }
    .main-nav { position: relative; }
    /* Mobile dropdown */
    .nav-links li .dropdown { position: static; box-shadow: none; border: none; border-radius: 0; padding: 0; background: var(--light-bg); display: none; animation: none; }
    .nav-links li.open > .dropdown { display: block; }
    .dropdown a { padding: 9px 28px !important; font-size: 13px !important; }
    .has-dropdown > a { justify-content: space-between; }
    .has-dropdown > a::after { margin-left: auto; }
    /* Tablet — shorter slider height */
    .hero-slider { height: 500px; }
    .about-strip { grid-template-columns: 1fr; gap: 40px; }
    .story-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .two-col-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
    .two-col-grid-start { grid-template-columns: 1fr; gap: 28px; }
    .three-col-photos { grid-template-columns: 1fr 1fr; gap: 14px; }
    .vision-mission-grid { grid-template-columns: 1fr; gap: 24px; }
    .donate-form-row { grid-template-columns: 1fr; gap: 0; }
    .bank-details-grid { grid-template-columns: 1fr; }
    .founder-spotlight { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; text-align: center; }
    .founder-photo { display: flex; justify-content: center; }
    .founder-content h2 { font-size: 26px; }
    .about-img-wrap img { height: 320px; }
    .about-badge-float { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 16px; }
    .slide-content { max-width: 100%; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .slide-btns { flex-direction: column; }
}
@media (max-width: 480px) {
    .header-top .container { gap: 12px; font-size: 12px; }
    .logo-name { font-size: 15px; }
    .trustees-grid { grid-template-columns: 1fr 1fr; }
    .three-col-photos img { height: 160px !important; }
    /* Mobile — compact slider */
    .hero-slider { height: 420px; }
    .slide-content h1 { font-size: 28px; }
    .slide-content .slide-sub { font-size: 14px; margin-bottom: 22px; }
    .slide-badge { font-size: 10px; padding: 5px 12px; margin-bottom: 14px; }
    .slider-prev { left: 8px; width: 36px; height: 36px; font-size: 13px; }
    .slider-next { right: 8px; width: 36px; height: 36px; font-size: 13px; }
    .slider-dot { width: 20px; height: 3px; }
    .slider-dot.active { width: 32px; }
    .btn-primary, .btn-outline { padding: 11px 22px; font-size: 14px; }
}

/* ── ORDER HELPERS ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .order-last-mobile { order: 2; }
    .order-first-mobile { order: 1; }
}

/* ── TAG COLOURS (extra) ───────────────────────────────────── */
.tag-community { background: rgba(0,29,108,0.10); color: var(--navy); }
.tag-welfare   { background: rgba(28,129,22,0.12); color: var(--green); }

/* ══════════════════════════════════════════════════════════════
   UPCOMING EVENTS — Frontend
══════════════════════════════════════════════════════════════ */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Each event row */
.event-row {
    display: grid;
    grid-template-columns: 90px 260px 1fr;
    gap: 28px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--orange);
    transition: all 0.3s;
}
.event-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--navy);
}
/* Row without image: spans remaining columns */
.event-row:not(:has(.event-image)) {
    grid-template-columns: 90px 1fr;
}

/* Date badge */
.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: white;
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    flex-shrink: 0;
    min-width: 76px;
}
.event-day   { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 700; line-height: 1; color: var(--orange); }
.event-month { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; opacity: 0.85; }
.event-year  { font-size: 11px; opacity: 0.55; margin-top: 1px; }

/* Event image thumbnail in row */
.event-image {
    width: 260px;
    height: 160px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
}
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.event-row:hover .event-image img { transform: scale(1.04); }

/* Event text */
.event-details h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}
.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 500;
}
.event-meta i { color: var(--orange); font-size: 12px; }
.event-desc { font-size: 15px; color: var(--text-mid); line-height: 1.75; }

/* Past events grid */
.events-past-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.event-past-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.event-past-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-past-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--navy);
}
.event-past-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.event-past-no-img { display: flex; align-items: flex-end; padding: 14px; }
.event-past-date {
    position: absolute;
    bottom: 10px; left: 12px;
    background: var(--orange);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.event-past-body { padding: 16px 18px; }
.event-past-body h4 { font-size: 16px; color: var(--navy); line-height: 1.4; }

/* Responsive events */
@media (max-width: 900px) {
    .event-row { grid-template-columns: 80px 1fr; gap: 20px; padding: 22px 20px; }
    .event-image { display: none; }
}
@media (max-width: 600px) {
    .event-row { grid-template-columns: 70px 1fr; gap: 16px; padding: 18px 16px; }
    .event-date-badge { min-width: 64px; padding: 10px 8px; }
    .event-day { font-size: 30px; }
    .event-details h3 { font-size: 18px; }
    .event-meta { gap: 10px; }
    .events-past-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .events-past-grid { grid-template-columns: 1fr; }
}

/* ── PROGRAMS CATEGORY HEADER ──────────────────────────────── */
.programs-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    margin-bottom: 36px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--orange);
    flex-wrap: wrap;
}
.programs-category-header h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 4px;
}
.programs-category-header p {
    font-size: 14px;
    color: var(--text-mid);
    margin: 0;
}
.programs-category-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .programs-category-header { flex-direction: column; align-items: flex-start; }
    .programs-category-header .btn-primary { margin-left: 0 !important; }
}
