/* ==========================================================================
   MANAV JAN KALYAN TRUST (MJKT) - DESIGN SYSTEM & COMPLETE STYLESHEET
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-navy: #0b192c;
    --clr-navy-dark: #050d18;
    --clr-navy-light: #1e3e62;
    
    --clr-amber: #ff9800;
    --clr-amber-dark: #e65100;
    --clr-amber-light: #fff3e0;
    
    --clr-pink: #d81b60;
    --clr-pink-dark: #ad1457;
    --clr-pink-light: #fce4ec;
    
    --clr-green: #00796b;
    --clr-green-dark: #004d40;
    --clr-green-light: #e0f2f1;
    
    --clr-blue: #0288d1;
    --clr-blue-light: #e1f5fe;
    
    --clr-bg-light: #f8fafc;
    --clr-surface: #ffffff;
    --clr-border: #e2e8f0;
    
    --clr-text-main: #1e293b;
    --clr-text-muted: #64748b;
    --clr-text-light: #94a3b8;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.05);
    --shadow-md: 0 10px 30px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 25, 44, 0.12);
    --shadow-glow: 0 10px 30px rgba(255, 152, 0, 0.3);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-navy);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Color Highlights */
.highlight-amber { color: var(--clr-amber-dark); }
.highlight-pink { color: var(--clr-pink); }
.text-white { color: #ffffff !important; }
.text-white-80 { color: rgba(255, 255, 255, 0.85) !important; }
.w-full { width: 100% !important; }
.mt-2 { margin-top: 0.5rem !important; }

/* Buttons Baseline */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.65rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.925rem;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.btn-donate {
    background: linear-gradient(135deg, var(--clr-pink) 0%, var(--clr-pink-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.35);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.5);
}

.btn-volunteer {
    background-color: var(--clr-amber-light);
    color: var(--clr-amber-dark);
    border: 1.5px solid rgba(255, 152, 0, 0.35);
}

.btn-volunteer:hover {
    background-color: var(--clr-amber);
    color: #ffffff;
    border-color: var(--clr-amber);
}

/* Pulsing Heart Animation */
.pulse-animation {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
    background-color: var(--clr-navy-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.825rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(0, 121, 107, 0.3);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.announcement-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    white-space: nowrap;
}

.announcement-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.8);
}

.announcement-links a:hover {
    color: var(--clr-amber);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION BAR (FIXED & SQUISH-FREE)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(18px);
    transition: all 0.3s ease;
}

.header-outer-wrapper {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
}

.header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 0.5rem 1.25rem 0.5rem 1.5rem;
    box-shadow: 0 8px 30px rgba(11, 25, 44, 0.06);
    min-height: 72px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon-bg {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--clr-amber) 0%, var(--clr-amber-dark) 100%);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(255, 152, 0, 0.35);
    flex-shrink: 0;
}

.logo-img-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(11, 25, 44, 0.1), 0 0 12px rgba(255, 152, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.95);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.brand-logo:hover .logo-img-wrapper {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 6px 22px rgba(255, 152, 0, 0.45);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
    display: block;
}

.footer-logo .logo-img-wrapper {
    width: 54px;
    height: 54px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--clr-navy);
    line-height: 1.15;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.725rem;
    color: var(--clr-text-muted);
    font-weight: 600;
    white-space: nowrap;
}

/* Nav Menu Links - Guaranteed Single Line, No Wrapping */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--clr-navy);
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--clr-pink);
    background-color: rgba(216, 27, 96, 0.06);
}

.nav-link.active {
    color: var(--clr-pink);
    font-weight: 700;
    background-color: rgba(216, 27, 96, 0.09);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2.5px;
    background-color: var(--clr-pink);
    border-radius: 9999px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-actions .btn-volunteer {
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
}

.header-actions .btn-donate {
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.mobile-toggle:hover {
    background-color: var(--clr-border);
}

.mobile-toggle span {
    width: 22px;
    height: 2.5px;
    background-color: var(--clr-navy);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(11, 25, 44, 0.55);
    backdrop-filter: blur(6px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 160;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--clr-border);
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--clr-bg-light);
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--clr-text-muted);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 0;
    flex: 1;
    overflow-y: auto;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-navy);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
    background-color: var(--clr-pink-light);
    color: var(--clr-pink-dark);
    font-weight: 700;
}

.drawer-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 3.5rem 0 3rem;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.12) 0%, rgba(255, 152, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg-shapes .shape-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.08) 0%, rgba(216, 27, 96, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--clr-amber-light);
    color: var(--clr-amber-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 152, 0, 0.3);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--clr-amber) 0%, var(--clr-amber-dark) 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-glow);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 152, 0, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-navy);
    border: 1.5px solid var(--clr-border);
    background-color: #ffffff;
}

.btn-hero-secondary:hover {
    background-color: var(--clr-navy);
    color: #ffffff;
    border-color: var(--clr-navy);
}

/* Calculator Teaser in Hero */
.hero-calculator-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
}

.calc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--clr-navy);
    margin-bottom: 0.85rem;
}

.calc-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.calc-pill {
    flex: 1;
    padding: 0.45rem;
    border-radius: 10px;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-navy);
    cursor: pointer;
    transition: var(--transition-fast);
}

.calc-pill.active, .calc-pill:hover {
    background-color: var(--clr-navy);
    color: #ffffff;
    border-color: var(--clr-navy);
}

.calc-output {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: var(--clr-amber-light);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 152, 0, 0.25);
}

.calc-icon {
    font-size: 1.5rem;
}

.calc-text strong {
    display: block;
    color: var(--clr-amber-dark);
    font-size: 0.95rem;
    line-height: 1.2;
}

.calc-text span {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

/* Hero Visual & Badges */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
}

.hero-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.hero-glass-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 0.85rem 1.25rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 5;
}

.badge-top-right {
    top: 25px;
    right: -20px;
}

.badge-bottom-left {
    bottom: 25px;
    left: -20px;
}

.badge-icon {
    width: 42px;
    height: 42px;
    background-color: var(--clr-amber-light);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.badge-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--clr-navy);
}

.badge-info span {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   STATS COUNTER BAR
   ========================================================================== */
.stats-container {
    margin-top: 3.5rem;
}

.stats-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background-color: var(--clr-navy);
    padding: 2.25rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}

.bg-pink-light { background-color: rgba(216, 27, 96, 0.2); color: #ff80ab; }
.bg-amber-light { background-color: rgba(255, 152, 0, 0.2); color: #ffb74d; }
.bg-blue-light { background-color: rgba(2, 136, 209, 0.2); color: #4fc3f7; }
.bg-green-light { background-color: rgba(0, 121, 107, 0.2); color: #80cbd2; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.stat-sub {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

/* ==========================================================================
   CREDENTIALS BAR
   ========================================================================== */
.credentials-bar {
    background-color: #ffffff;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 1.25rem 0;
}

.credentials-flex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cred-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--clr-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cred-items {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.cred-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--clr-text-main);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 5rem 0 2.5rem 0;
}

.about-header .section-description {
    margin: 0 auto 1.25rem;
}

.programs-section {
    padding: 5.5rem 0 6rem 0;
    background-color: #ffffff;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-amber-dark);
    margin-bottom: 0.6rem;
}

.section-subtitle.light { color: var(--clr-amber); }

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 720px;
    margin: 0 auto 3rem;
}

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

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

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

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

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

.pillar-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
}

.pillar-body {
    padding: 1.5rem;
}

.pillar-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.pillar-body p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pillar-metric {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.825rem;
    color: var(--clr-amber-dark);
    background-color: var(--clr-amber-light);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

/* ==========================================================================
   ACTIVE IMPACT PROJECTS
   ========================================================================== */
.projects-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid var(--clr-border);
    background-color: var(--clr-bg-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

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

.project-card {
    display: flex;
    background-color: var(--clr-bg-light);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-media {
    position: relative;
    width: 42%;
    flex-shrink: 0;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: #ffffff;
}

.tag-education { background-color: var(--clr-pink); }
.tag-food { background-color: var(--clr-amber-dark); }
.tag-health { background-color: var(--clr-blue); }
.tag-women { background-color: var(--clr-green); }

.project-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 58%;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.progress-box {
    margin-bottom: 1.25rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.825rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.4rem;
}

.progress-info strong {
    color: var(--clr-navy);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--clr-border);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-amber) 0%, var(--clr-pink) 100%);
    border-radius: 9999px;
}

.progress-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-amber-dark);
}

.btn-project-donate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: none;
    background-color: var(--clr-navy);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-project-donate:hover {
    background-color: var(--clr-pink);
}

/* ==========================================================================
   DONATION CALCULATOR HUB SECTION
   ========================================================================== */
.donation-calculator-section {
    padding: 6rem 0;
    background-color: var(--clr-navy);
    color: #ffffff;
}

.calc-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.tax-benefit-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 2rem 0;
}

.tax-icon {
    font-size: 2rem;
}

.tax-details h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.tax-details p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.payment-methods-logos span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.pay-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pay-chip {
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Widget Card */
.calc-widget-card {
    background-color: #ffffff;
    color: var(--clr-navy);
    padding: 2.25rem;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.widget-header h3 {
    font-size: 1.25rem;
}

.freq-toggle {
    display: flex;
    background-color: var(--clr-bg-light);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--clr-border);
}

.freq-btn {
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--clr-text-muted);
}

.freq-btn.active {
    background-color: var(--clr-amber);
    color: #ffffff;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem 0.5rem;
    border-radius: 14px;
    border: 1.5px solid var(--clr-border);
    background-color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--clr-navy);
    cursor: pointer;
    transition: var(--transition-fast);
}

.amount-btn.active, .amount-btn:hover {
    border-color: var(--clr-pink);
    background-color: var(--clr-pink-light);
    color: var(--clr-pink-dark);
}

.custom-amt-input {
    position: relative;
    margin-bottom: 1.5rem;
}

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

.custom-amt-input input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 2.5rem;
    border-radius: 14px;
    border: 1.5px solid var(--clr-border);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-navy);
    outline: none;
}

.custom-amt-input input:focus {
    border-color: var(--clr-pink);
    box-shadow: 0 0 0 4px rgba(216, 27, 96, 0.15);
}

.live-impact-box {
    background-color: var(--clr-bg-light);
    border-radius: 18px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--clr-border);
}

.impact-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--clr-green-dark);
    margin-bottom: 0.5rem;
}

.impact-result-text {
    font-size: 0.95rem;
    color: var(--clr-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tax-savings-calc {
    font-size: 0.825rem;
    color: var(--clr-amber-dark);
    font-weight: 600;
}

.btn-widget-proceed {
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, var(--clr-pink) 0%, var(--clr-pink-dark) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.4);
    transition: var(--transition-smooth);
}

.btn-widget-proceed:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(216, 27, 96, 0.5);
}

.widget-secure-note {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    text-align: center;
    margin-top: 0.85rem;
}

/* ==========================================================================
   BENEFICIARY FIELD STORIES
   ========================================================================== */
.stories-section {
    padding: 6rem 0;
}

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

.story-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.story-image {
    position: relative;
    height: 220px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--clr-navy);
    color: #ffffff;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
}

.story-content {
    padding: 1.75rem;
}

.story-quote-mark {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--clr-amber);
    line-height: 1;
    display: block;
    margin-bottom: -1rem;
}

.story-text {
    font-size: 0.95rem;
    color: var(--clr-text-main);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.story-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--clr-navy);
}

.story-author span {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   TRANSPARENCY & FINANCIAL ACCOUNTABILITY
   ========================================================================== */
.transparency-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.transparency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.fund-breakdown-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fund-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.fund-bar {
    width: 100%;
    height: 10px;
    background-color: var(--clr-bg-light);
    border-radius: 9999px;
    overflow: hidden;
}

.fund-fill {
    height: 100%;
    border-radius: 9999px;
}

.bg-green { background-color: #10b981; }
.bg-blue { background-color: #0288d1; }
.bg-amber { background-color: #ff9800; }

.download-reports-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    border: 1.5px solid var(--clr-border);
    background: var(--clr-bg-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--clr-navy);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

/* Bank Details Card */
.bank-details-card {
    background-color: var(--clr-navy);
    color: #ffffff;
    padding: 2.25rem;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.bank-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.bank-card-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
}

.upi-qr-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    border-radius: 18px;
    margin-bottom: 1.5rem;
}

.qr-code-placeholder {
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 12px;
}

.upi-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.35rem;
}

.upi-copy-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.upi-copy-row strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--clr-amber);
}

.btn-copy {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-copy:hover {
    background-color: var(--clr-amber);
}

.upi-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.bank-fields-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bank-field {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.bank-field span {
    color: rgba(255, 255, 255, 0.65);
}

.bank-field strong {
    color: #ffffff;
}

/* ==========================================================================
   VOLUNTEER SECTION
   ========================================================================== */
.volunteer-section {
    padding: 6rem 0;
    background-color: var(--clr-navy-dark);
    color: #ffffff;
}

.volunteer-card-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.volunteer-perks {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.volunteer-form-card {
    background-color: #ffffff;
    color: var(--clr-navy);
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.volunteer-form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--clr-navy);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1.5px solid var(--clr-border);
    outline: none;
    font-size: 0.95rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--clr-amber-dark);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.15);
}

.btn-volunteer-submit {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--clr-amber) 0%, var(--clr-amber-dark) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.btn-volunteer-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.contact-cards {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--clr-border);
}

.contact-icon {
    font-size: 1.75rem;
}

.contact-details strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.contact-form-card {
    background-color: #ffffff;
    padding: 2.25rem;
    border-radius: 28px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.btn-contact-submit {
    width: 100%;
    padding: 0.95rem;
    border-radius: 14px;
    border: none;
    background-color: var(--clr-navy);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.btn-contact-submit:hover {
    background-color: var(--clr-pink);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--clr-navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo .brand-name {
    color: #ffffff;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1.25rem 0;
    color: rgba(255, 255, 255, 0.65);
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.f-badge {
    font-size: 0.725rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: var(--clr-amber);
    font-weight: 600;
}

.footer-links-col h4, .footer-newsletter-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-col a:hover {
    color: var(--clr-amber);
}

.footer-newsletter-col p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.65);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    outline: none;
}

.newsletter-form button {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background-color: var(--clr-amber);
    color: #ffffff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(11, 25, 44, 0.75);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    background-color: #ffffff;
    border-radius: 28px;
    padding: 2.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--clr-bg-light);
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--clr-text-muted);
}

.modal-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    background-color: var(--clr-green-light);
    color: var(--clr-green-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.modal-header p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.25rem;
}

.modal-amount-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--clr-amber-light);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.modal-amount-summary span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-navy);
}

.modal-amount-summary strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-amber-dark);
}

.payment-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pay-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1.5px solid var(--clr-border);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

.pay-tab.active {
    border-color: var(--clr-pink);
    background-color: var(--clr-pink-light);
}

.btn-modal-pay {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--clr-pink) 0%, var(--clr-pink-dark) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

/* Toast Notifications */
#toastContainer {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background-color: var(--clr-navy);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid var(--clr-amber);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (PERFECT LAYOUT SCALING)
   ========================================================================= */
@media (max-width: 1380px) {
    .nav-menu {
        gap: 0.2rem;
    }
    .nav-link {
        font-size: 0.86rem;
        padding: 0.4rem 0.65rem;
    }
    .header-actions .btn-volunteer {
        padding: 0.55rem 0.95rem;
        font-size: 0.84rem;
    }
    .header-actions .btn-donate {
        padding: 0.6rem 1.15rem;
        font-size: 0.86rem;
    }
}

@media (max-width: 1140px) {
    .nav-menu {
        display: none; /* Hide top nav links, use mobile drawer */
    }
    .header-actions .btn-volunteer {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-card {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid, .calc-hub-grid, .transparency-grid, .volunteer-card-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .stats-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.75rem;
    }

    .announcement-content {
        justify-content: center;
        text-align: center;
    }

    .announcement-links {
        display: none;
    }

    .header-outer-wrapper {
        padding: 0.4rem 0.75rem;
    }

    .header-card {
        min-height: 64px;
        padding: 0.4rem 0.85rem;
        border-radius: 16px;
    }

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

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

    .header-actions .btn-donate {
        padding: 0.5rem 0.95rem;
        font-size: 0.82rem;
    }

    .badge-top-right, .badge-bottom-left {
        display: none;
    }

    .hero-main-img {
        height: 340px;
    }

    .project-card {
        flex-direction: column;
    }

    .project-media, .project-content {
        width: 100%;
    }

    .project-media {
        height: 200px;
    }

    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   FUTURISTIC VISUAL ENGINE & ADVANCED ANIMATIONS (CYBER-DIGNITY SYSTEM)
   ========================================================================== */

/* 1. Custom Interactive Ambient Cursor */
.fx-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.85) 0%, rgba(216, 27, 96, 0.45) 45%, transparent 70%);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5), 0 0 35px rgba(216, 27, 96, 0.3);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease,
                box-shadow 0.3s ease,
                opacity 0.2s ease;
    mix-blend-mode: screen;
    will-change: transform, left, top;
}

.fx-cursor.is-hovering {
    width: 54px;
    height: 54px;
    background: radial-gradient(circle, rgba(2, 136, 209, 0.8) 0%, rgba(255, 152, 0, 0.4) 50%, transparent 75%);
    box-shadow: 0 0 30px rgba(2, 136, 209, 0.6), 0 0 50px rgba(255, 152, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.fx-cursor.is-hidden {
    opacity: 0;
}

@media (pointer: coarse) {
    .fx-cursor {
        display: none !important;
    }
}

/* 2. Floating Luminous Ambient Orbs */
.fx-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.fx-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.42;
    will-change: transform;
    pointer-events: none;
}

.fx-orb-1 {
    top: -8%;
    left: -5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.55), rgba(216, 27, 96, 0.3), transparent 70%);
    animation: fxFloat1 18s ease-in-out infinite alternate;
}

.fx-orb-2 {
    top: 30%;
    right: -10%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(2, 136, 209, 0.5), rgba(0, 121, 107, 0.25), transparent 70%);
    animation: fxFloat2 22s ease-in-out infinite alternate;
}

.fx-orb-3 {
    bottom: 25%;
    left: 8%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.45), rgba(255, 152, 0, 0.2), transparent 70%);
    animation: fxFloat3 20s ease-in-out infinite alternate;
}

.fx-orb-4 {
    bottom: -6%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 160, 0.4), rgba(2, 136, 209, 0.25), transparent 70%);
    animation: fxFloat4 26s ease-in-out infinite alternate;
}

.fx-orb-5 {
    top: 65%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.4), rgba(230, 81, 0, 0.25), transparent 70%);
    animation: fxFloat5 21s ease-in-out infinite alternate;
}

.fx-orb-6 {
    top: 10%;
    right: 25%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(142, 68, 243, 0.4), rgba(2, 136, 209, 0.25), transparent 70%);
    animation: fxFloat6 24s ease-in-out infinite alternate;
}

@keyframes fxFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(70px, 90px) scale(1.12); }
    100% { transform: translate(-40px, 140px) scale(0.95); }
}

@keyframes fxFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-90px, 80px) scale(1.15); }
    100% { transform: translate(50px, -70px) scale(0.9); }
}

@keyframes fxFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.18); }
    100% { transform: translate(-60px, -110px) scale(0.92); }
}

@keyframes fxFloat4 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -80px) scale(1.1); }
    100% { transform: translate(70px, 50px) scale(0.96); }
}

@keyframes fxFloat5 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(90px, 70px) scale(1.2); }
    100% { transform: translate(40px, -80px) scale(0.94); }
}

@keyframes fxFloat6 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 100px) scale(1.14); }
    100% { transform: translate(60px, 70px) scale(0.88); }
}

/* 3. Futuristic Tech Grid Overlay */
.fx-grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 38px 38px;
    background-image: 
        linear-gradient(to right, rgba(2, 136, 209, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 136, 209, 0.07) 1px, transparent 1px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0.85) 15%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0.85) 15%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

/* Hero Canvas for Interactive Constellation Particles */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* 5. Futuristic Animated Text Gradients */
.highlight-amber {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 40%, #ff5722 80%, #ff9800 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(255, 152, 0, 0.25));
}

.highlight-pink {
    background: linear-gradient(135deg, #d81b60 0%, #ff4081 40%, #ab47bc 80%, #d81b60 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite 1.5s;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(216, 27, 96, 0.25));
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 6. Floating Hero Holographic Badges */
.hero-glass-badge {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 35px rgba(11, 25, 44, 0.14), 0 0 20px rgba(255, 152, 0, 0.18);
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    will-change: transform;
}

.hero-glass-badge.badge-top-right {
    animation: floatBadgeA 5.5s ease-in-out infinite;
}

.hero-glass-badge.badge-bottom-left {
    animation: floatBadgeB 6.5s ease-in-out infinite;
}

@keyframes floatBadgeA {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatBadgeB {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
}

.hero-glass-badge:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 22px 45px rgba(11, 25, 44, 0.2), 0 0 30px rgba(255, 152, 0, 0.35);
}

/* 7. Futuristic Hero Visual Glowing Halo */
.hero-image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: visible;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.6), rgba(216, 27, 96, 0.5), rgba(2, 136, 209, 0.6));
    filter: blur(18px);
    opacity: 0.6;
    z-index: -1;
    animation: heroHaloPulse 6s ease-in-out infinite alternate;
}

@keyframes heroHaloPulse {
    0% { opacity: 0.45; filter: blur(16px); transform: scale(0.98); }
    100% { opacity: 0.8; filter: blur(24px); transform: scale(1.02); }
}

.hero-main-img {
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.hero-image-wrapper:hover .hero-main-img {
    transform: scale(1.02);
}

/* 8. Futuristic Tech Buttons with Energy Sweep */
.btn-hero-primary, .btn-donate, .btn-widget-proceed, .btn-project-donate {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-hero-primary::before, .btn-donate::before, .btn-widget-proceed::before, .btn-project-donate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.75s ease;
    z-index: 2;
    pointer-events: none;
}

.btn-hero-primary:hover::before, .btn-donate:hover::before, .btn-widget-proceed:hover::before, .btn-project-donate:hover::before {
    left: 150%;
}

.btn-hero-primary {
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.45), 0 0 35px rgba(216, 27, 96, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(255, 152, 0, 0.65), 0 0 50px rgba(216, 27, 96, 0.45);
}

/* Pulse Glow Animation */
.pulse-animation {
    animation: neonButtonGlow 3s infinite;
}

@keyframes neonButtonGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4), 0 0 25px rgba(216, 27, 96, 0.2);
    }
    50% {
        box-shadow: 0 6px 28px rgba(255, 152, 0, 0.75), 0 0 40px rgba(216, 27, 96, 0.5);
    }
}

/* 9. Futuristic Card Hover Elevators with Neon Edge */
.stat-card, .pillar-card, .project-card, .story-card, .calc-widget-card, .trust-card, .faq-item {
    position: relative;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.12), 0 0 25px rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.35);
}

.stat-number {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Pink Number (Matches Pink Icon for 25,000) */
.stat-number.stat-pink,
.stat-card:nth-child(1) .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #ff80ab 30%, #ff4081 70%, #d81b60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(255, 64, 129, 0.65));
}

.stat-card:nth-child(1):hover .stat-number {
    filter: drop-shadow(0 4px 22px rgba(255, 64, 129, 0.95));
    transform: scale(1.05);
}

/* 2. Amber/Yellow Number (Matches Yellow Icon for 1.2M+) */
.stat-number.stat-amber,
.stat-card:nth-child(2) .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #ffe082 30%, #ffca28 70%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(255, 179, 0, 0.65));
}

.stat-card:nth-child(2):hover .stat-number {
    filter: drop-shadow(0 4px 22px rgba(255, 179, 0, 0.95));
    transform: scale(1.05);
}

/* 3. Blue/Cyan Number (Matches Blue Icon for 3,200+) */
.stat-number.stat-blue,
.stat-card:nth-child(3) .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #80d8ff 30%, #00b0ff 70%, #0288d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(0, 176, 255, 0.65));
}

.stat-card:nth-child(3):hover .stat-number {
    filter: drop-shadow(0 4px 22px rgba(0, 176, 255, 0.95));
    transform: scale(1.05);
}

/* 4. Green/Teal Number (Matches Green Icon for 100%) */
.stat-number.stat-green,
.stat-card:nth-child(4) .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #b9f6ca 30%, #00e676 70%, #00bfa5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(0, 230, 118, 0.65));
}

.stat-card:nth-child(4):hover .stat-number {
    filter: drop-shadow(0 4px 22px rgba(0, 230, 118, 0.95));
    transform: scale(1.05);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(11, 25, 44, 0.12), 0 0 30px rgba(2, 136, 209, 0.15);
}

.pillar-img-box img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(11, 25, 44, 0.14), 0 0 30px rgba(216, 27, 96, 0.15);
}

.project-media img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-media img {
    transform: scale(1.07);
}

/* 10. Futuristic Laser Flow Progress Bars */
.progress-bar {
    position: relative;
    background: rgba(226, 232, 240, 0.85);
    border-radius: 99px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-fill {
    position: relative;
    border-radius: 99px;
    background: linear-gradient(90deg, #ff9800 0%, #ff5722 50%, #d81b60 100%) !important;
    box-shadow: 0 0 14px rgba(255, 152, 0, 0.5);
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    animation: laserFlow 2.4s ease-in-out infinite;
}

@keyframes laserFlow {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* 11. Donation Hub Futuristic Neon Card Styling */
.calc-widget-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28), 0 0 45px rgba(255, 152, 0, 0.25);
    position: relative;
}

.calc-widget-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.5), rgba(2, 136, 209, 0.5), rgba(216, 27, 96, 0.5));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.5;
    pointer-events: none;
}

.amount-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.amount-btn:hover {
    transform: translateY(-2px);
    border-color: var(--clr-amber);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.2);
}

.amount-btn.active {
    background: linear-gradient(135deg, #ff9800 0%, #e65100 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.45), 0 0 15px rgba(255, 152, 0, 0.3);
    transform: scale(1.03);
}

.live-impact-box {
    position: relative;
    border-left: 4px solid var(--clr-amber);
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.12);
    transition: all 0.3s ease;
}

/* 12. Futuristic Quick Impact Calculator in Hero */
.hero-calculator-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(11, 25, 44, 0.12), 0 0 25px rgba(2, 136, 209, 0.12);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.hero-calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff9800, #d81b60);
}

.calc-pill {
    transition: all 0.25s ease;
}

.calc-pill.active {
    background: linear-gradient(135deg, #ff9800, #e65100);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transform: scale(1.04);
}

/* 13. Government Recognized Chips Cyber Glow */
.cred-chip {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.cred-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 152, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
    transform: translateY(-2px);
}

/* 14. High-Tech Section Scroll Reveal Engine */
[data-reveal] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger card reveals */
.is-revealed .pillar-card:nth-child(1),
.is-revealed .project-card:nth-child(1),
.is-revealed .story-card:nth-child(1),
.is-revealed .stat-card:nth-child(1) {
    animation: revealCard 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s;
}

.is-revealed .pillar-card:nth-child(2),
.is-revealed .project-card:nth-child(2),
.is-revealed .story-card:nth-child(2),
.is-revealed .stat-card:nth-child(2) {
    animation: revealCard 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.22s;
}

.is-revealed .pillar-card:nth-child(3),
.is-revealed .project-card:nth-child(3),
.is-revealed .story-card:nth-child(3),
.is-revealed .stat-card:nth-child(3) {
    animation: revealCard 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.34s;
}

.is-revealed .pillar-card:nth-child(4),
.is-revealed .project-card:nth-child(4),
.is-revealed .story-card:nth-child(4),
.is-revealed .stat-card:nth-child(4) {
    animation: revealCard 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.46s;
}

@keyframes revealCard {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 15. Header Modern Frosted Glass State */
.main-header.scrolled .header-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 35px rgba(11, 25, 44, 0.12), 0 0 20px rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.95);
}

/* 16. Futuristic Pulse Dot in Top Bar */
.pulse-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px #00e676;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: rgba(0, 230, 118, 0.5);
    animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
    0% { transform: scale(0.8); opacity: 1; }
    80%, 100% { transform: scale(2.4); opacity: 0; }
}

/* 17. 3D Tilt Micro-Interactions on Mouse Move */
.card-tilt-active {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ==========================================================================
   INSTAGRAM REELS SHOWCASE & SHORT VIDEO PLAYER
   ========================================================================== */
.reels-section {
    padding: 3.5rem 0 5.5rem 0;
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 50%, #f8fafc 100%);
    overflow: hidden;
}

.reels-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}

.reels-title-box {
    max-width: 680px;
}

.insta-badge {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    padding: 0.35rem 0.95rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(220, 39, 67, 0.35);
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.btn-insta-follow {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    border-radius: 12px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-insta-follow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(220, 39, 67, 0.55);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.reel-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9 / 16;
    background: #0b192c;
    box-shadow: 0 16px 36px rgba(11, 25, 44, 0.12), 0 0 20px rgba(220, 39, 67, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.reel-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 56px rgba(11, 25, 44, 0.22), 0 0 35px rgba(220, 39, 67, 0.4);
    border-color: rgba(220, 39, 67, 0.7);
}

.reel-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.reel-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-card:hover .reel-poster {
    transform: scale(1.08);
}

.reel-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(11, 25, 44, 0.45) 0%, 
        transparent 30%, 
        rgba(11, 25, 44, 0.2) 60%, 
        rgba(11, 25, 44, 0.95) 100%
    );
    z-index: 1;
}

.reel-top-bar {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    right: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.reel-tag {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.22rem 0.7rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.reel-views {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.22rem 0.65rem;
    border-radius: 99px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reel-play-btn {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #dc2743;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.5), 0 4px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    padding-left: 4px;
}

.reel-card:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: #ffffff;
    box-shadow: 0 0 40px rgba(220, 39, 67, 0.85), 0 8px 25px rgba(0, 0, 0, 0.35);
}

.reel-bottom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    color: #ffffff;
    z-index: 2;
}

.reel-caption {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.65rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.reel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.reel-cta-text {
    color: #ffb74d;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.reels-notice {
    margin-top: 2.5rem;
    background: rgba(2, 136, 209, 0.07);
    border: 1px dashed rgba(2, 136, 209, 0.35);
    padding: 1rem 1.4rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-navy);
    font-size: 0.9rem;
    line-height: 1.5;
}

.reels-notice code {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--clr-pink);
    border: 1px solid rgba(220, 39, 67, 0.2);
}

/* Modal for Instagram Reel */
.reel-modal-card {
    max-width: 440px !important;
    background: #0b192c !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(220, 39, 67, 0.35) !important;
}

.reel-modal-header {
    margin-bottom: 1rem;
}

.reel-modal-header h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.reel-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 460px;
    border-radius: 18px;
    overflow: hidden;
    margin: 0.75rem 0 1.25rem 0;
    background: #000000;
}

.reel-modal-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.reel-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(11, 25, 44, 0.45);
    text-align: center;
    padding: 1.5rem;
}

.reel-active-play-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(220, 39, 67, 0.85);
    animation: pulsePlayIcon 2s infinite;
    padding-left: 6px;
    cursor: pointer;
}

@keyframes pulsePlayIcon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(220, 39, 67, 0.6); }
    50% { transform: scale(1.08); box-shadow: 0 0 45px rgba(220, 39, 67, 0.95); }
}

.reel-player-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 280px;
    line-height: 1.4;
}

.btn-insta-view {
    width: 100%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    border-radius: 12px;
    padding: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
}

.btn-insta-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 39, 67, 0.6);
}

/* Reels Responsive */
@media (max-width: 1024px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .reels-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 2rem auto 0 auto;
    }
    
    .reels-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
