/* ==========================================================================
   VisionIndia Foundation - Premium & 100% Mobile-Friendly Theme Stylesheet
   Color Scheme: Navy Blue (#0d2b5e), Royal Blue (#1a6fd4), Warm Saffron (#f59e0b), Emerald (#10b981)
   ========================================================================== */

:root {
    --navy: #0d2b5e;
    --navy-dark: #071937;
    --navy-light: #163e7c;
    --blue: #1a6fd4;
    --blue-dark: #1257ab;
    --blue-soft: #eaf3fd;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    --orange-soft: #fef3c7;
    --green: #10b981;
    --green-soft: #ecfdf5;
    --purple: #8b5cf6;
    --purple-soft: #f5f3ff;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(13, 43, 94, 0.05);
    --shadow-md: 0 10px 25px rgba(13, 43, 94, 0.08);
    --shadow-lg: 0 20px 40px rgba(13, 43, 94, 0.12);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

body.mobile-nav-open {
    overflow: hidden !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Container for Mobile */
@media (max-width: 580px) {
    .container {
        padding: 0 16px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-orange { color: var(--orange) !important; }
.text-blue { color: var(--blue) !important; }
.text-green { color: var(--green) !important; }
.text-purple { color: var(--purple) !important; }
.text-warning { color: #f59e0b !important; }
.text-success { color: #10b981 !important; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    min-height: 46px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0d5bb8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 111, 212, 0.3);
}

.btn-primary:hover, .btn-primary:active {
    background: linear-gradient(135deg, #0d5bb8, var(--navy));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 111, 212, 0.4);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #111;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover, .btn-warning:active {
    background: linear-gradient(135deg, #fbbf24, var(--orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
    color: #000;
}

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

.btn-outline:hover, .btn-outline:active {
    background: #ffffff;
    color: var(--navy);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.btn-outline-primary:hover, .btn-outline-primary:active {
    background: var(--blue);
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    min-height: 38px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-title span {
    color: var(--blue);
    position: relative;
}

.section-subtitle {
    font-size: clamp(0.92rem, 2.5vw, 1.05rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.top-item i {
    color: var(--orange);
    font-size: 0.85rem;
}

.top-item:hover {
    color: #fff;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
}

.badge-trust i {
    color: var(--green);
}

.top-socials {
    display: flex;
    gap: 8px;
    margin-left: 6px;
}

.top-socials a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #fff;
}

.top-socials a:hover {
    background: var(--orange);
    color: #111;
}

/* Hide utility items selectively */
@media (max-width: 992px) {
    .d-none-tablet { display: none !important; }
}
@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    .top-bar { padding: 5px 0; font-size: 0.78rem; }
    .top-bar-left, .top-bar-right { gap: 10px; }
}

/* ==========================================================================
   MOBILE BACKDROP
   ========================================================================== */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 25, 55, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-name span {
    color: var(--orange);
}

.brand-sub {
    font-size: 0.74rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--blue);
}

/* Navigation Menu (Desktop) */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.nav-link .nav-arrow {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.nav-icon-mobile {
    display: none;
}

.nav-link:hover, .nav-link.active {
    color: var(--blue);
}

.nav-item:hover .nav-link .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu (Desktop) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
}

.dropdown-menu a i {
    font-size: 0.95rem;
    color: var(--blue);
    width: 18px;
}

.dropdown-menu a:hover {
    background: var(--blue-soft);
    color: var(--blue);
    padding-left: 22px;
}

.dropdown-menu.mega-style {
    min-width: 320px;
}

.dropdown-menu.mega-style a {
    align-items: flex-start;
    padding: 12px 18px;
}

.dropdown-menu.mega-style a div strong {
    display: block;
    font-size: 0.88rem;
    color: var(--navy);
}

.dropdown-menu.mega-style a div small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--blue-soft);
    color: var(--blue);
}

.btn-donate-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 20px;
    min-height: 44px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-donate-nav i {
    color: #ffffff;
    animation: pulse 1.8s infinite;
}

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

.btn-donate-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
    color: #ffffff;
}

/* Mobile Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.hamburger-btn span {
    width: 100%;
    height: 2.5px;
    background: var(--navy);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger-btn:hover {
    background: var(--blue-soft);
}

/* Mobile Drawer specific elements (hidden on desktop) */
.mobile-drawer-header,
.mobile-drawer-cta,
.mobile-drawer-footer {
    display: none;
}

/* Header Search Box */
.header-search-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 14px 0;
    border-top: 1px solid var(--border-color);
    display: none;
    z-index: 99;
}

.header-search-box.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 16px; /* Prevents auto zoom on iOS Safari */
    outline: none;
    transition: var(--transition);
}

.search-form input:focus {
    border-color: var(--blue);
}

.search-form button[type="submit"] {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 12px 22px;
    min-height: 44px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
}

.close-search {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER OVERRIDES
   ========================================================================== */
@media (max-width: 992px) {
    .hamburger-btn {
        display: flex;
    }

    /* Keep site-header and drawer strictly above the backdrop when drawer is open */
    body.mobile-nav-open .site-header {
        z-index: 1005 !important;
        background: transparent !important;
        box-shadow: none !important;
        pointer-events: none;
    }

    body.mobile-nav-open .header-container > *:not(.main-nav) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: #ffffff !important;
        box-shadow: -10px 0 35px rgba(7, 25, 55, 0.25);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1006 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto !important;
        filter: none !important;
        -webkit-filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .main-nav.active {
        right: 0;
    }

    /* Mobile Drawer Header */
    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 10;
    }

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

    .drawer-logo {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .drawer-brand strong {
        font-size: 1.15rem;
        color: var(--navy);
        line-height: 1.1;
        display: block;
    }

    .drawer-brand small {
        font-size: 0.72rem;
        color: var(--blue);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 700;
        display: block;
    }

    .drawer-close-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid var(--border-color);
        color: var(--navy);
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Drawer CTA */
    .mobile-drawer-cta {
        display: block;
        padding: 16px 20px 8px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 10px 16px;
        gap: 4px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .nav-link span {
        flex: 1;
        text-align: left;
        font-weight: 600;
    }

    .nav-link .nav-arrow {
        margin-left: auto;
        font-size: 0.8rem;
        transition: transform 0.25s ease;
    }

    .nav-link:hover, .nav-link.active {
        background: var(--blue-soft);
        color: var(--blue);
    }

    .nav-icon-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: var(--blue);
        flex-shrink: 0;
        font-size: 1.05rem;
    }

    /* Mobile Accordion Dropdowns */
    .dropdown-menu, .dropdown-menu.mega-style {
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        border-radius: 10px;
        padding: 6px 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin: 4px 0 8px;
    }

    .nav-item.open .dropdown-menu {
        display: block;
        animation: fadeIn 0.25s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-6px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-item.open .nav-link .nav-arrow {
        transform: rotate(180deg);
        color: var(--blue);
    }

    .dropdown-menu a {
        padding: 10px 12px;
        font-size: 0.88rem;
        border-radius: 6px;
    }

    .dropdown-menu a:hover {
        padding-left: 14px;
    }

    /* Mobile Drawer Footer */
    .mobile-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px 20px 30px;
        background: var(--bg-light);
        margin-top: auto;
        border-top: 1px solid var(--border-color);
        font-size: 0.82rem;
    }

    .drawer-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-body);
    }

    .drawer-contact-item i {
        color: var(--orange);
        width: 16px;
    }

    .drawer-socials {
        display: flex;
        gap: 10px;
        margin-top: 6px;
    }

    .drawer-socials a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--navy);
        font-size: 0.82rem;
    }
}

/* Header fine-tuning for small mobile phones (<520px) */
@media (max-width: 520px) {
    .header-container {
        height: 68px;
    }

    .brand-img {
        height: 44px;
        width: 44px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-sub {
        font-size: 0.68rem;
    }

    .header-actions {
        gap: 8px;
    }

    .search-btn {
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
    }

    .btn-donate-nav {
        padding: 8px 14px;
        font-size: 0.82rem;
        min-height: 38px;
    }
}

@media (max-width: 380px) {
    .btn-donate-nav .btn-donate-text {
        display: none;
    }
    .btn-donate-nav {
        padding: 8px 12px;
    }
}

/* ==========================================================================
   HERO CAROUSEL SECTION (RESPONSIVE)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    height: 620px;
    min-height: 520px;
    background: var(--navy-dark);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.03);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 25, 55, 0.94) 0%, rgba(13, 43, 94, 0.8) 55%, rgba(7, 25, 55, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(245, 158, 11, 0.55);
    color: var(--orange);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-title em {
    font-style: italic;
    color: var(--orange);
}

.hero-desc {
    font-size: clamp(0.92rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 26px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--orange);
    color: #111;
}

.slider-arrow-prev { left: 24px; }
.slider-arrow-next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--orange);
    width: 28px;
    border-radius: 10px;
}

/* Hero mobile adaptations */
@media (max-width: 768px) {
    .hero-slider-section {
        height: auto;
        min-height: 520px;
        padding: 50px 0 60px;
    }

    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(7, 25, 55, 0.92) 0%, rgba(13, 43, 94, 0.85) 60%, rgba(7, 25, 55, 0.7) 100%);
    }

    .slider-arrow {
        display: none; /* Rely on touch swipe for cleaner mobile viewport */
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   IMPACT STATS STRIP
   ========================================================================== */
.impact-stats-strip {
    background: var(--navy);
    color: #ffffff;
    padding: 36px 20px;
    position: relative;
    z-index: 30;
    margin-top: -30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.stat-item {
    position: relative;
    padding: 8px 12px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 8px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 520px) {
    .impact-stats-strip {
        margin-top: -15px;
        padding: 24px 14px;
        border-radius: var(--radius-md);
    }
    .stat-item::after {
        display: none !important;
    }
    .stat-item {
        padding: 6px;
    }
    .stat-label {
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #ffffff;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 290px;
    border-left: 5px solid var(--orange);
}

.floating-icon {
    font-size: 2rem;
    color: var(--orange);
    flex-shrink: 0;
}

.floating-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.floating-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-para {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 16px;
}

.about-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0 26px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.about-feature-item i {
    color: var(--green);
    font-size: 1.05rem;
}

.tax-badge-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--blue-soft);
    border-left: 4px solid var(--blue);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 26px;
}

.tax-badge-banner i {
    color: var(--blue);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.about-btn-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.contact-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--navy);
    min-height: 44px;
}

.contact-quick-link i {
    color: #25d366;
    font-size: 1.3rem;
}

@media (max-width: 992px) {
    .about-section { padding: 60px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-floating-card {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    .about-feature-list { grid-template-columns: 1fr; }
    .about-btn-group { flex-direction: column; align-items: stretch; }
    .about-btn-group .btn { width: 100%; }
}

/* ==========================================================================
   4 CORE PILLARS SECTION
   ========================================================================== */
.pillars-section {
    padding: 75px 0;
    background: var(--bg-light);
}

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

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.pillar-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.pillar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-thumb img {
    transform: scale(1.08);
}

.pillar-icon-badge {
    position: absolute;
    bottom: -18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pillar-body {
    padding: 24px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pillar-category {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
}

.pillar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 10px;
}

.pillar-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--blue);
    min-height: 40px;
}

.pillar-link i {
    transition: transform 0.2s;
}

.pillar-link:hover i {
    transform: translateX(4px);
}

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

@media (max-width: 580px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .pillars-section { padding: 55px 0; }
}

/* ==========================================================================
   URGENT CAMPAIGNS & CAUSES
   ========================================================================== */
.campaigns-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.campaign-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.campaign-thumb {
    position: relative;
    height: 210px;
    overflow: hidden;
}

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

.campaign-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(13, 43, 94, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.campaign-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campaign-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 10px;
}

.campaign-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Progress Bar */
.progress-wrap {
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 10px;
}

.progress-stats-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.84rem;
}

.stat-raised {
    color: var(--blue);
    font-weight: 700;
}

.stat-goal {
    color: var(--text-muted);
}

.campaign-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .campaigns-grid { grid-template-columns: 1fr; }
    .campaigns-section { padding: 55px 0; }
}

/* ==========================================================================
   DONATION CALCULATOR SECTION
   ========================================================================== */
.calc-section {
    padding: 75px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #ffffff;
}

.calc-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.calc-text-col h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.calc-text-col p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.calc-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.calc-point i {
    color: var(--orange);
    margin-top: 3px;
    flex-shrink: 0;
}

.calc-box-card {
    background: #ffffff;
    color: var(--text-body);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.calc-box-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .calc-grid { grid-template-columns: 1fr; gap: 30px; }
    .calc-wrapper { padding: 24px 18px; border-radius: var(--radius-md); }
}

/* ==========================================================================
   VOLUNTEER & GET INVOLVED
   ========================================================================== */
.volunteer-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 45px;
}

.volunteer-info-col h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 5vw, 2.4rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.volunteer-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 28px;
}

.volunteer-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.volunteer-benefit i {
    color: var(--green);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.volunteer-roles-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-pill-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.role-pill-card i {
    color: var(--blue);
}

.volunteer-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.volunteer-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.volunteer-form-sub {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .volunteer-section { padding: 55px 0; }
    .volunteer-grid { grid-template-columns: 1fr; gap: 36px; }
    .volunteer-form-card { padding: 24px 18px; border-radius: var(--radius-md); }
}

@media (max-width: 520px) {
    .volunteer-roles-mini { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FORM CONTROLS & MOBILE INPUT SAFETY
   ========================================================================== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px; /* 16px is required so iOS Safari doesn't auto-zoom on touch */
    background: #fff;
    color: var(--text-dark);
    outline: none;
    min-height: 46px;
    transition: var(--transition);
}

textarea.form-control {
    min-height: 90px;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.12);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-status-msg {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    display: none;
}

.form-status-msg.success {
    display: block;
    background: var(--green-soft);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status-msg.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: 75px 0;
    background: var(--bg-light);
}

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

.testi-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.testi-quote-icon {
    font-size: 1.6rem;
    color: var(--orange);
    opacity: 0.4;
    margin-bottom: 10px;
}

.testi-stars {
    color: var(--orange);
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.testi-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 20px;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.author-info strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
}

.author-info span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testi-grid { grid-template-columns: 1fr; }
    .testimonials-section { padding: 55px 0; }
}

/* ==========================================================================
   PHOTO GALLERY & MOBILE HORIZONTAL SCROLL FILTERS
   ========================================================================== */
.gallery-section {
    padding: 75px 0;
    background: var(--bg-white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gallery-filters::-webkit-scrollbar {
        display: none;
    }
}

.gallery-filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    min-height: 40px;
    white-space: nowrap;
    transition: var(--transition);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 43, 94, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.gallery-overlay span {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 580px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 images side-by-side on mobile */
        gap: 10px;
    }
    .gallery-item {
        height: 155px;
        border-radius: var(--radius-sm);
    }
    .gallery-overlay {
        opacity: 1; /* Always readable on mobile */
        padding: 10px 8px;
    }
    .gallery-overlay h5 {
        font-size: 0.78rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .gallery-overlay span {
        font-size: 0.65rem;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 360px) {
    .gallery-grid {
        gap: 8px;
    }
    .gallery-item {
        height: 135px;
    }
    .gallery-overlay h5 {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   FOOTER STYLES (MOBILE-READY)
   ========================================================================== */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    font-size: 0.9rem;
}

.footer-top-strip {
    background: #091f3e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-strip-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strip-item i {
    font-size: 1.4rem;
    color: var(--orange);
    flex-shrink: 0;
}

.strip-item small {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.strip-item a, .strip-item span {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-main {
    padding: 60px 0 45px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
    gap: 35px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    font-weight: 700;
}

.brand-desc {
    font-size: 0.86rem;
    line-height: 1.7;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.gov-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.gov-badge {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gov-badge i {
    color: var(--green);
}

.footer-social-links {
    display: flex;
    gap: 8px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
    min-height: 32px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--orange);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.address-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.addr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.addr-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer-tax-strip {
    background: rgba(16, 185, 129, 0.12);
    border-top: 1px solid rgba(16, 185, 129, 0.25);
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    padding: 12px 0;
    color: #a7f3d0;
    font-size: 0.82rem;
}

.footer-bottom {
    background: #051227;
    padding: 20px 0;
    font-size: 0.82rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-strip-container { flex-direction: column; align-items: flex-start; }
    .footer-bottom-container { flex-direction: column; text-align: center; }
    .footer-legal-links { justify-content: center; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (MOBILE-SAFE)
   ========================================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 998;
    transition: var(--transition);
}

.whatsapp-float-btn:hover, .whatsapp-float-btn:active {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float-btn .tooltip-text {
    position: absolute;
    right: 64px;
    background: var(--navy-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

@media (hover: hover) {
    .whatsapp-float-btn:hover .tooltip-text {
        opacity: 1;
        visibility: visible;
    }
}

/* ==========================================================================
   DONATION MODAL POPUP (FULL MOBILE ADAPTIVE)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 25, 55, 0.78);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 30px 24px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #ea580c;
    background: #ffedd5;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 4vw, 1.7rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 6px;
    padding-right: 30px;
}

.modal-subtitle {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Frequency Selector */
.donate-freq-selector {
    display: flex;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: 18px;
}

.freq-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    min-height: 40px;
    transition: var(--transition);
}

.freq-btn.active {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 111, 212, 0.25);
}

.input-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.amount-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.amount-pill {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    min-height: 52px;
    transition: var(--transition);
    text-align: center;
}

.amount-pill small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
}

.amount-pill.active, .amount-pill:hover {
    border-color: var(--orange);
    background: var(--orange-soft);
    color: #b45309;
}

.custom-amount-wrap {
    position: relative;
    margin-bottom: 14px;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.custom-amount-wrap input {
    padding-left: 36px;
    font-weight: 700;
    font-size: 1.05rem;
}

.modal-impact-note {
    background: var(--blue-soft);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--navy);
    margin-bottom: 18px;
    font-weight: 500;
}

/* Payment tabs */
.payment-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.pay-tab-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    min-height: 42px;
    transition: var(--transition);
}

.pay-tab-btn.active {
    border-color: var(--blue);
    background: #ffffff;
    color: var(--blue);
    box-shadow: var(--shadow-sm);
}

.pay-content {
    display: none;
    margin-bottom: 16px;
}

.pay-content.active {
    display: block;
}

.upi-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius-sm);
}

.qr-preview-img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    object-fit: cover;
    flex-shrink: 0;
}

.upi-info {
    flex: 1;
}

.upi-id-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.upi-code-copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px dashed var(--blue);
    padding: 6px 12px;
    border-radius: 6px;
    margin: 4px 0;
    cursor: pointer;
}

.copy-btn {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 600;
}

.upi-apps-note {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.bank-details-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

.bank-table {
    width: 100%;
    font-size: 0.84rem;
}

.bank-table td {
    padding: 4px 0;
}

.bank-table td:first-child {
    color: var(--text-muted);
    width: 40%;
}

.tax-checkbox-wrap {
    margin-bottom: 18px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-body);
    cursor: pointer;
}

.custom-checkbox input {
    margin-top: 3px;
    accent-color: var(--blue);
    width: 18px;
    height: 18px;
}

.submit-pledge-btn {
    padding: 14px;
    font-size: 0.98rem;
}

@media (max-width: 520px) {
    .modal-card {
        padding: 22px 16px;
        border-radius: var(--radius-md);
    }
    .amount-pills {
        grid-template-columns: repeat(2, 1fr);
    }
    .upi-box {
        flex-direction: column;
        text-align: center;
    }
    .qr-preview-img {
        width: 120px;
        height: 120px;
    }
    .upi-code-copy {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   LIGHTBOX OVERLAY (RESPONSIVE)
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 14px;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-body {
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 72vh;
    border-radius: var(--radius-sm);
    margin: 0 auto;
    object-fit: contain;
}

.lightbox-caption {
    color: #ffffff;
    font-size: 0.95rem;
    margin-top: 12px;
    font-weight: 500;
}

@media (max-width: 580px) {
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}

/* ==========================================================================
   PAGE BANNER & RESPONSIVE GRID UTILITIES
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 70px 0 55px;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5.5vw, 2.9rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.page-banner p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.92rem, 2.5vw, 1.05rem);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 45px 0 35px;
    }
}

.responsive-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .responsive-grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

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

@media (max-width: 992px) {
    .responsive-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
