/* ============================================================================
   वैदिक सनातन प्रहरी — Design System (vedic.css)
   Vanilla CSS · No build step · CSS Custom Properties for theming
   ============================================================================ */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (Custom Properties)
   -------------------------------------------------------------------------- */
:root {
    /* Brand colors — overridden per-tenant via inline <style> */
    --vsp-saffron: #F89E1B;
    --vsp-maroon: #7F1D1D;
    --vsp-green: #16A34A;
    --vsp-blue: #1E40AF;
    --vsp-bg: #FFFBF5;
    --vsp-bg-alt: #FEF3C7;
    --vsp-text: #1F2937;
    --vsp-text-light: #6B7280;
    --vsp-text-muted: #9CA3AF;
    --vsp-border: #E5E7EB;
    --vsp-white: #FFFFFF;

    /* Wing colors */
    --wing-sanskritik: #F89E1B;
    --wing-shakti: #1E40AF;
    --wing-seva: #16A34A;

    /* Typography scale (1.25 ratio) */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing (4px base) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-glow-saffron: 0 0 20px rgba(248,158,27,0.3);
    --shadow-glow-blue: 0 0 20px rgba(30,64,175,0.3);
    --shadow-glow-green: 0 0 20px rgba(22,163,74,0.3);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index scale */
    --z-dropdown: 50;
    --z-sticky: 60;
    --z-fixed: 70;
    --z-overlay: 80;
    --z-modal: 90;
    --z-toast: 100;
}

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    background: var(--vsp-bg);
    color: var(--vsp-text);
    line-height: 1.7;
    font-size: var(--text-base);
    overflow-x: hidden;
}

a { color: var(--vsp-maroon); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--vsp-saffron); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    font-weight: 700;
    color: var(--vsp-maroon);
    line-height: 1.3;
}
h1 { font-size: var(--text-5xl); margin-bottom: var(--space-4); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-3); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-2); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

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

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-5); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--space-5); }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--space-5); }

.grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: var(--space-6); grid-template-columns: repeat(4, 1fr); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

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

.section { padding: var(--space-20) 0; }
.section-alt { padding: var(--space-20) 0; background: var(--vsp-white); }
.section-warm { padding: var(--space-20) 0; background: var(--vsp-bg-alt); }
.section-dark { padding: var(--space-20) 0; background: var(--vsp-maroon); color: var(--vsp-white); }
.section-dark h2, .section-dark h3 { color: var(--vsp-saffron); }

.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--vsp-saffron), var(--vsp-maroon));
    border-radius: 2px;
}
.section-header p { color: var(--vsp-text-light); font-size: var(--text-lg); margin-top: var(--space-4); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

/* --------------------------------------------------------------------------
   4. COMPONENTS: BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 28px;
    background: var(--vsp-saffron);
    color: var(--vsp-white) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    font-family: inherit;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    line-height: 1.4;
}
.btn:hover {
    background: var(--vsp-maroon);
    color: var(--vsp-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary { background: var(--vsp-maroon); }
.btn-secondary:hover { background: var(--vsp-saffron); }

.btn-outline {
    background: transparent;
    color: var(--vsp-saffron) !important;
    border-color: var(--vsp-saffron);
}
.btn-outline:hover {
    background: var(--vsp-saffron);
    color: var(--vsp-white) !important;
}

.btn-outline-white {
    background: transparent;
    color: var(--vsp-white) !important;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: var(--vsp-white);
    color: var(--vsp-maroon) !important;
}

.btn-ghost {
    background: transparent;
    color: var(--vsp-maroon) !important;
    padding: 8px 16px;
}
.btn-ghost:hover { background: rgba(248,158,27,0.1); transform: none; box-shadow: none; }

.btn-sm { padding: 6px 16px; font-size: var(--text-sm); }
.btn-lg { padding: 16px 36px; font-size: var(--text-lg); }
.btn-block { width: 100%; }

.btn-green { background: var(--vsp-green); }
.btn-green:hover { background: #15803D; }

.btn-white { background: var(--vsp-white); color: var(--vsp-maroon) !important; }
.btn-white:hover { background: var(--vsp-bg); color: var(--vsp-maroon) !important; }

/* --------------------------------------------------------------------------
   5. COMPONENTS: CARDS
   -------------------------------------------------------------------------- */
.card {
    background: var(--vsp-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--vsp-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-glass {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.card-flat {
    background: var(--vsp-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--vsp-border);
}

/* --------------------------------------------------------------------------
   6. COMPONENTS: BADGES & CHIPS
   -------------------------------------------------------------------------- */
.wing-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.wing-sanskritik { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.wing-shakti { background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD; }
.wing-seva { background: #DCFCE7; color: #15803D; border: 1px solid #86EFAC; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}
.badge-saffron { background: var(--vsp-saffron); color: var(--vsp-white); }
.badge-maroon { background: var(--vsp-maroon); color: var(--vsp-white); }
.badge-green { background: var(--vsp-green); color: var(--vsp-white); }
.badge-blue { background: var(--vsp-blue); color: var(--vsp-white); }
.badge-gray { background: #F3F4F6; color: var(--vsp-text-light); }

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #F3F4F6;
    color: var(--vsp-text);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}
.tag:hover { background: var(--vsp-saffron); color: var(--vsp-white); }
.tag.active { background: var(--vsp-saffron); color: var(--vsp-white); }

/* --------------------------------------------------------------------------
   7. COMPONENTS: FORMS
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: var(--space-5); }
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--vsp-text);
    font-size: var(--text-sm);
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--vsp-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--vsp-text);
    background: var(--vsp-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--vsp-saffron);
    box-shadow: 0 0 0 3px rgba(248,158,27,0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { color: #DC2626; font-size: var(--text-sm); margin-top: var(--space-1); }
.form-hint { color: var(--vsp-text-muted); font-size: var(--text-sm); margin-top: var(--space-1); }

.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    font-size: var(--text-sm);
}
.alert-success { background: #DCFCE7; border: 1px solid #16A34A; color: #166534; }
.alert-error { background: #FEF2F2; border: 1px solid #DC2626; color: #991B1B; }
.alert-info { background: #DBEAFE; border: 1px solid #3B82F6; color: #1E40AF; }

/* --------------------------------------------------------------------------
   8. TOP BAR
   -------------------------------------------------------------------------- */
.top-bar {
    background: var(--vsp-maroon);
    color: rgba(255,255,255,0.9);
    font-size: var(--text-sm);
    padding: 6px 0;
}
.top-bar a { color: #FCD34D; }
.top-bar a:hover { color: var(--vsp-white); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: var(--space-4); }
.top-bar-item { display: inline-flex; align-items: center; gap: var(--space-1); }
.top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   9. HEADER
   -------------------------------------------------------------------------- */
.site-header {
    background: linear-gradient(135deg, var(--vsp-saffron) 0%, var(--vsp-maroon) 100%);
    color: var(--vsp-white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: padding var(--transition-base), box-shadow var(--transition-base);
}
.site-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }

.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand img { height: 48px; width: auto; border-radius: var(--radius-sm); }
.brand-text h1 { color: var(--vsp-white); font-size: var(--text-xl); margin: 0; line-height: 1.2; }
.brand-text .tagline { font-size: var(--text-xs); opacity: 0.9; }

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.main-nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: 4px 0;
    position: relative;
    transition: color var(--transition-fast);
}
.main-nav a:hover { color: var(--vsp-white); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--vsp-white);
    border-radius: 1px;
}

.header-cta {
    background: var(--vsp-white) !important;
    color: var(--vsp-maroon) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    font-size: var(--text-sm) !important;
}
.header-cta:hover {
    background: var(--vsp-bg) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle::after { content: '▾'; font-size: 0.7em; transition: transform var(--transition-fast); }
.nav-dropdown:hover .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vsp-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: var(--space-2) 0;
    z-index: var(--z-dropdown);
    border: 1px solid var(--vsp-border);
}
/* Invisible hover bridge: fills the 8-px visual gap so the cursor stays
   inside the hover zone when moving from the toggle down to the menu. */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--vsp-white);
    border-left: 1px solid var(--vsp-border);
    border-top: 1px solid var(--vsp-border);
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--vsp-text) !important;
    font-size: var(--text-sm);
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--vsp-bg-alt); color: var(--vsp-maroon) !important; }
/* Keep the menu open while the cursor is over the menu itself, not just the toggle. */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu:hover { display: block; }
/* Extend the toggle's hoverable area down into the gap so it never drops. */
.nav-dropdown-toggle { padding-bottom: 10px; margin-bottom: -10px; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: calc(var(--z-overlay) + 1);
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--vsp-white);
    position: relative;
    transition: background var(--transition-fast);
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--vsp-white);
    transition: transform var(--transition-base);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--vsp-white);
    z-index: var(--z-overlay);
    padding: 80px var(--space-6) var(--space-6);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    overflow-y: auto;
}
.mobile-overlay.open { right: 0; }
.mobile-overlay a {
    display: block;
    padding: 12px 0;
    color: var(--vsp-text) !important;
    font-size: var(--text-lg);
    font-weight: 500;
    border-bottom: 1px solid var(--vsp-border);
}
.mobile-overlay a:hover { color: var(--vsp-saffron) !important; }
.mobile-overlay .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    transform: none;
    min-width: 0;
    padding-left: var(--space-4);
}
.mobile-overlay .nav-dropdown-menu::before { display: none; }
.mobile-overlay .nav-dropdown-menu a { font-size: var(--text-base); padding: 8px 0; }
.mobile-overlay .nav-dropdown.open .nav-dropdown-menu { display: block; }
.mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: calc(var(--z-overlay) - 1);
}
.mobile-backdrop.open { display: block; }

/* --------------------------------------------------------------------------
   10. HERO
   -------------------------------------------------------------------------- */
.hero {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--vsp-bg-alt) 0%, var(--vsp-bg) 100%);
    border-bottom: 3px solid var(--vsp-saffron);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-full {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: var(--space-16) 0;
}
.hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(248,158,27,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(127,29,29,0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(22,163,74,0.05) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(248,158,27,0.03) 40px, rgba(248,158,27,0.03) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(248,158,27,0.03) 40px, rgba(248,158,27,0.03) 41px);
    pointer-events: none;
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: var(--text-6xl); margin-bottom: var(--space-4); }
.hero .lead { font-size: var(--text-xl); color: var(--vsp-text-light); margin-bottom: var(--space-8); max-width: 700px; margin-left: auto; margin-right: auto; }
.hero .cta-row { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* Compact hero used by sub-pages (/page/*, /about, /contact, etc.) — smaller
   footprint so the real content sits higher on the screen. */
.hero-compact { padding: var(--space-8) 0 var(--space-6); }
.hero-compact h1 { font-size: var(--text-3xl); margin-bottom: var(--space-2); }
.hero-compact .lead { font-size: var(--text-base); margin-bottom: 0; max-width: 620px; }
@media (max-width: 768px) {
    .hero-compact { padding: var(--space-6) 0 var(--space-4); }
    .hero-compact h1 { font-size: var(--text-2xl); }
    .hero-compact .lead { font-size: var(--text-sm); }
}

.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(127,29,29,0.85) 0%, rgba(248,158,27,0.7) 100%);
}
.hero-image h1, .hero-image .lead { color: var(--vsp-white); }
.hero-image .lead { color: rgba(255,255,255,0.9); }

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--vsp-saffron);
    font-size: var(--text-2xl);
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* --------------------------------------------------------------------------
   11. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb-nav {
    padding: var(--space-3) 0;
    background: var(--vsp-white);
    border-bottom: 1px solid var(--vsp-border);
    font-size: var(--text-sm);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    flex-wrap: wrap;
}
.breadcrumb-list li { display: flex; align-items: center; gap: var(--space-2); }
.breadcrumb-list li + li::before { content: '›'; color: var(--vsp-text-muted); }
.breadcrumb-list a { color: var(--vsp-text-light); }
.breadcrumb-list a:hover { color: var(--vsp-saffron); }
.breadcrumb-list .current { color: var(--vsp-maroon); font-weight: 600; }

/* --------------------------------------------------------------------------
   12. MANTRA BOX
   -------------------------------------------------------------------------- */
.mantra-box {
    background: linear-gradient(135deg, var(--vsp-bg-alt) 0%, var(--vsp-white) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    position: relative;
    border: 1px solid rgba(248,158,27,0.2);
    overflow: hidden;
}
.mantra-box::before, .mantra-box::after {
    content: '॥';
    position: absolute;
    font-size: 4rem;
    color: rgba(248,158,27,0.1);
    font-family: 'Tiro Devanagari Hindi', serif;
}
.mantra-box::before { top: -8px; left: 16px; }
.mantra-box::after { bottom: -8px; right: 16px; }
.mantra-sanskrit {
    font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
    font-size: var(--text-2xl);
    color: var(--vsp-maroon);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 1;
}
.mantra-translation {
    font-size: var(--text-base);
    color: var(--vsp-text);
    font-style: italic;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.mantra-source {
    font-size: var(--text-sm);
    color: var(--vsp-text-light);
    margin-top: var(--space-3);
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   13. STAT CARDS + COUNTER
   -------------------------------------------------------------------------- */
.stat-card {
    text-align: center;
    padding: var(--space-8) var(--space-5);
}
.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--vsp-saffron);
    display: block;
    line-height: 1.1;
}
.stat-label {
    color: var(--vsp-text-light);
    font-size: var(--text-base);
    margin-top: var(--space-2);
}
.stat-icon {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
    display: block;
}

/* --------------------------------------------------------------------------
   14. THERMOMETER (Progress Bar)
   -------------------------------------------------------------------------- */
.thermo {
    background: #F3F4F6;
    border-radius: var(--radius-full);
    overflow: hidden;
    height: 12px;
    margin: var(--space-3) 0;
}
.thermo-lg { height: 20px; }
.thermo-fill {
    background: linear-gradient(90deg, var(--vsp-saffron) 0%, var(--vsp-green) 100%);
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease-out;
    position: relative;
}
.thermo-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   15. TIMELINE
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: var(--space-10); }
.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--vsp-saffron), var(--vsp-maroon));
}
.timeline-item {
    position: relative;
    margin-bottom: var(--space-8);
    padding-left: var(--space-5);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-10) + 10px);
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--vsp-saffron);
    border: 3px solid var(--vsp-bg);
    box-shadow: 0 0 0 2px var(--vsp-saffron);
}
.timeline-date {
    font-size: var(--text-sm);
    color: var(--vsp-saffron);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

/* --------------------------------------------------------------------------
   16. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.accordion-item {
    background: var(--vsp-white);
    border: 1px solid var(--vsp-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}
.accordion-item:hover { box-shadow: var(--shadow-md); }
.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--vsp-maroon);
    text-align: left;
}
.accordion-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--vsp-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: transform var(--transition-base), background var(--transition-base);
    flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--vsp-saffron); color: var(--vsp-white); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}
.accordion-content-inner {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--vsp-text-light);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   17. LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--vsp-white);
    font-size: var(--text-2xl);
    cursor: pointer;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-close { top: var(--space-4); right: var(--space-4); }
.lightbox-prev { left: var(--space-4); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-4); top: 50%; transform: translateY(-50%); }
.lightbox-caption {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: var(--text-sm);
    text-align: center;
}

/* --------------------------------------------------------------------------
   18. DONOR RANKS
   -------------------------------------------------------------------------- */
.donor-rank {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 700;
}
.donor-rank-gold { background: linear-gradient(135deg, #F59E0B, #D97706); color: var(--vsp-white); }
.donor-rank-silver { background: linear-gradient(135deg, #9CA3AF, #6B7280); color: var(--vsp-white); }
.donor-rank-bronze { background: linear-gradient(135deg, #D97706, #92400E); color: var(--vsp-white); }

/* --------------------------------------------------------------------------
   19. WING CARDS (for home page + about)
   -------------------------------------------------------------------------- */
.wing-card {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--vsp-white);
    border: 2px solid var(--vsp-border);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
.wing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height var(--transition-base);
}
.wing-card:hover::before { height: 6px; }
.wing-card-saffron { border-color: rgba(248,158,27,0.3); }
.wing-card-saffron::before { background: var(--wing-sanskritik); }
.wing-card-saffron:hover { box-shadow: var(--shadow-glow-saffron); border-color: var(--wing-sanskritik); }
.wing-card-blue { border-color: rgba(30,64,175,0.3); }
.wing-card-blue::before { background: var(--wing-shakti); }
.wing-card-blue:hover { box-shadow: var(--shadow-glow-blue); border-color: var(--wing-shakti); }
.wing-card-green { border-color: rgba(22,163,74,0.3); }
.wing-card-green::before { background: var(--wing-seva); }
.wing-card-green:hover { box-shadow: var(--shadow-glow-green); border-color: var(--wing-seva); }

.wing-card-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    display: block;
}

/* --------------------------------------------------------------------------
   20. TABS
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-8); }
.tab-btn {
    padding: 8px 20px;
    background: #F3F4F6;
    color: var(--vsp-text);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
}
.tab-btn:hover { background: var(--vsp-bg-alt); }
.tab-btn.active { background: var(--vsp-saffron); color: var(--vsp-white); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* --------------------------------------------------------------------------
   21. MASONRY GRID
   -------------------------------------------------------------------------- */
.masonry {
    columns: 3;
    column-gap: var(--space-6);
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   22. PERSON CARD (Leadership)
   -------------------------------------------------------------------------- */
.person-card {
    text-align: center;
    padding: var(--space-6);
}
.person-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-3);
    border: 3px solid var(--vsp-border);
}
.person-initials {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vsp-saffron), var(--vsp-maroon));
    color: var(--vsp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    font-weight: 700;
    margin: 0 auto var(--space-3);
}
.person-name { font-size: var(--text-lg); font-weight: 700; color: var(--vsp-text); margin-bottom: var(--space-1); }
.person-rank { color: var(--vsp-maroon); font-weight: 600; font-size: var(--text-sm); }
.person-scope { color: var(--vsp-text-muted); font-size: var(--text-xs); }

/* --------------------------------------------------------------------------
   23. SOCIAL SHARE
   -------------------------------------------------------------------------- */
.share-buttons { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--vsp-white) !important;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--vsp-white) !important; }
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }
.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #1DA1F2; }
.share-copy { background: var(--vsp-text-light); }

/* New named share buttons — large, with Hindi label, WhatsApp+FB priority */
.share-btn-wa  { background: #25D366; padding: 10px 20px; font-size: var(--text-sm); }
.share-btn-fb  { background: #1877F2; padding: 10px 20px; font-size: var(--text-sm); }
.share-btn-tg  { background: #2CA5E0; padding: 10px 20px; font-size: var(--text-sm); }
.share-btn-tw  { background: #000000; padding: 10px 20px; font-size: var(--text-sm); }
.share-btn-copy { background: var(--vsp-text-light); padding: 10px 20px; font-size: var(--text-sm); }
/* Mobile: stack full-width; desktop: horizontal row */
@media (max-width: 640px) {
    .share-buttons { flex-direction: column; }
    .share-btn-wa, .share-btn-fb, .share-btn-tg, .share-btn-tw, .share-btn-copy { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--vsp-maroon);
    color: rgba(255,255,255,0.9);
    padding: var(--space-16) 0 var(--space-6);
}
.site-footer h3 { color: var(--vsp-saffron); font-size: var(--text-lg); margin-bottom: var(--space-4); }
.site-footer a { color: #FCD34D; transition: color var(--transition-fast); }
.site-footer a:hover { color: var(--vsp-white); }
.site-footer p { font-size: var(--text-sm); margin-bottom: var(--space-2); opacity: 0.9; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}

.footer-about { max-width: 300px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: var(--space-2); }

.social-icons { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}
.social-icon:hover { background: var(--vsp-saffron); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; fill: var(--vsp-white); }

.footer-newsletter { margin-top: var(--space-4); }
.newsletter-form {
    display: flex;
    gap: var(--space-2);
}
.newsletter-form input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    color: var(--vsp-white);
    font-family: inherit;
    font-size: var(--text-sm);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
    padding: 8px 16px;
    background: var(--vsp-saffron);
    color: var(--vsp-white);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.newsletter-form button:hover { background: #E08A10; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: var(--space-6);
    text-align: center;
    font-size: var(--text-sm);
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   25. FLOATING BUTTONS (WhatsApp + Back to Top)
   -------------------------------------------------------------------------- */
.floating-buttons { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-fixed); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-end; }

.whatsapp-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--vsp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: all var(--transition-base);
    animation: pulse-green 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    color: var(--vsp-white) !important;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

@keyframes pulse-green {
    0% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
    100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--vsp-saffron);
    color: var(--vsp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover { background: var(--vsp-maroon); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

.donate-float {
    padding: 12px 24px;
    background: var(--vsp-saffron);
    color: var(--vsp-white) !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-sm);
    box-shadow: 0 4px 16px rgba(127,29,29,0.3);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.donate-float:hover {
    background: var(--vsp-maroon);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(127,29,29,0.4);
    color: var(--vsp-white) !important;
}

/* --------------------------------------------------------------------------
   26. COOKIE CONSENT
   -------------------------------------------------------------------------- */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vsp-text);
    color: var(--vsp-white);
    padding: var(--space-4) var(--space-5);
    z-index: var(--z-toast);
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    font-size: var(--text-sm);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.cookie-bar.show { display: flex; }
.cookie-bar a { color: #FCD34D; }

/* --------------------------------------------------------------------------
   27. PROGRESS RING (CSS circle)
   -------------------------------------------------------------------------- */
.progress-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    position: relative;
}
.progress-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 8px solid #F3F4F6;
}
.progress-ring-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--vsp-saffron);
    z-index: 1;
}

/* --------------------------------------------------------------------------
   28. SEARCH
   -------------------------------------------------------------------------- */
.search-bar {
    position: relative;
    max-width: 500px;
    margin: 0 auto var(--space-8);
}
.search-bar input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--vsp-border);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--vsp-saffron);
    box-shadow: 0 0 0 3px rgba(248,158,27,0.15);
}
.search-bar svg, .search-bar-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--vsp-text-muted);
    fill: var(--vsp-text-muted);
}

/* --------------------------------------------------------------------------
   29. SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   30. GRADIENT TEXT + GLASS
   -------------------------------------------------------------------------- */
.gradient-text {
    background: linear-gradient(135deg, var(--vsp-saffron), var(--vsp-maroon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* --------------------------------------------------------------------------
   31. PROSE (Blog / CMS content)
   -------------------------------------------------------------------------- */
.prose { font-size: var(--text-lg); line-height: 1.9; }
.prose h2 { font-size: var(--text-3xl); margin-top: var(--space-10); margin-bottom: var(--space-4); }
.prose h3 { font-size: var(--text-2xl); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose p { margin-bottom: var(--space-5); }
.prose ul, .prose ol { margin-bottom: var(--space-5); padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-2); }
.prose blockquote {
    border-left: 4px solid var(--vsp-saffron);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    background: var(--vsp-bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}
.prose img { border-radius: var(--radius-lg); margin: var(--space-6) 0; }
.prose a { color: var(--vsp-saffron); text-decoration: underline; }

/* --------------------------------------------------------------------------
   32. MAP
   -------------------------------------------------------------------------- */
.map-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-6);
    min-height: 500px;
}
.map-panel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--vsp-border);
    min-height: 500px;
}
.map-sidebar {
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.map-sidebar-item {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--vsp-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.map-sidebar-item:hover, .map-sidebar-item.active {
    border-color: var(--vsp-saffron);
    background: var(--vsp-bg-alt);
}

/* --------------------------------------------------------------------------
   33. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .map-container { grid-template-columns: 1fr; }
    .map-panel { min-height: 350px; }
}

@media (max-width: 768px) {
    :root { --text-5xl: 2.25rem; --text-6xl: 2.75rem; }

    .nav-toggle { display: block; }
    .main-nav { display: none; }
    .mobile-overlay { display: block; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }

    .hero { padding: var(--space-16) 0; }
    .hero h1 { font-size: var(--text-4xl); }
    .hero .lead { font-size: var(--text-base); }
    .hero-full { min-height: 70vh; }

    .section { padding: var(--space-12) 0; }

    .masonry { columns: 2; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }

    .top-bar .container { justify-content: center; font-size: var(--text-xs); }
    .top-bar-right { display: none; }

    .search-bar { max-width: 100%; }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
    .container, .container-narrow { padding: 0 var(--space-4); }
    .hero-full { min-height: 60vh; }
    .masonry { columns: 1; }
    .cta-row { flex-direction: column; align-items: center; }
    .card { padding: var(--space-4); }
    .newsletter-form { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   34. PRINT
   -------------------------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .floating-buttons, .cookie-bar, .top-bar,
    .breadcrumb-nav, .whatsapp-float, .back-to-top, .donate-float { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    .section { padding: 20px 0; }
    a { color: black; text-decoration: underline; }
}

/* ===== Vedic pagination ===== */
.vedic-pagination { display: flex; justify-content: center; margin: var(--space-6) 0 var(--space-2); }
.vedic-pagination-list { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.vedic-pagination-item .vedic-pagination-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 12px;
    border: 1px solid var(--vsp-border, #e5d9c2);
    border-radius: 8px;
    background: #fff; color: var(--vsp-text, #1f1a14);
    font-size: 14px; font-weight: 500; text-decoration: none;
    line-height: 1; transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.vedic-pagination-item .vedic-pagination-link:hover {
    background: #fff4e0; border-color: var(--vsp-saffron, #F89E1B); color: var(--vsp-maroon, #7F1D1D);
}
.vedic-pagination-item.active .vedic-pagination-link {
    background: var(--vsp-saffron, #F89E1B); border-color: var(--vsp-saffron, #F89E1B); color: #fff;
    box-shadow: 0 2px 8px rgba(248, 158, 27, 0.25);
}
.vedic-pagination-item.disabled .vedic-pagination-link {
    color: #bbb; background: #f8f5ee; cursor: default; pointer-events: none;
}
@media (max-width: 480px) {
    .vedic-pagination-item .vedic-pagination-link { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
}

/* ===== Shivir wizard — stepped form ===== */
.shivir-progress {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; margin: 0 auto var(--space-5);
    flex-wrap: wrap; max-width: 100%;
}
.shivir-progress-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; min-width: 56px; }
.shivir-progress-dot {
    width: 36px; height: 36px; border-radius: 50%;
    background: #e5d9c2; color: #8a7659;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; transition: all .2s;
}
.shivir-progress-label { font-size: 12px; color: #8a7659; font-weight: 500; }
.shivir-progress-active .shivir-progress-dot {
    background: var(--vsp-saffron, #F89E1B); color: #fff;
    box-shadow: 0 4px 12px rgba(248,158,27,.35);
    transform: scale(1.08);
}
.shivir-progress-active .shivir-progress-label { color: var(--vsp-maroon, #7F1D1D); font-weight: 600; }
.shivir-progress-done .shivir-progress-dot { background: var(--vsp-green, #16A34A); color: #fff; }
.shivir-progress-done .shivir-progress-label { color: #1f1a14; }
.shivir-progress-bar { height: 3px; flex: 1 1 24px; max-width: 48px; background: #e5d9c2; border-radius: 2px; align-self: center; margin-bottom: 18px; }
.shivir-progress-bar-filled { background: var(--vsp-green, #16A34A); }
@media (max-width: 640px) {
    .shivir-progress-step { min-width: 44px; }
    .shivir-progress-dot { width: 28px; height: 28px; font-size: 12px; }
    .shivir-progress-label { font-size: 10px; }
    .shivir-progress-bar { max-width: 20px; margin-bottom: 14px; }
}

.shivir-hero-card {
    background: linear-gradient(135deg, #fff4e0, #fff);
    border-left: 5px solid var(--vsp-saffron, #F89E1B);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.shivir-summary-card {
    display: flex; justify-content: space-between; gap: 16px;
    background: linear-gradient(135deg, var(--vsp-saffron, #F89E1B), var(--vsp-maroon, #7F1D1D));
    color: white; padding: 18px 22px; border-radius: 12px; margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(127,29,29,.18);
    flex-wrap: wrap;
}
.shivir-summary-main h2 { color: white; font-size: 1.2rem; line-height: 1.3; }
.shivir-summary-meta { display: flex; gap: 14px; flex-wrap: wrap; opacity: .95; font-size: .85rem; margin-top: 6px; }
.shivir-summary-applicant { text-align: right; flex-shrink: 0; }
.shivir-summary-applicant .label { font-size: .7rem; opacity: .8; text-transform: uppercase; letter-spacing: 1px; }
.shivir-summary-applicant .value { font-size: 1.05rem; font-weight: 700; }
.shivir-summary-applicant .phone { font-size: .85rem; opacity: .9; font-family: ui-monospace, monospace; }
@media (max-width: 640px) {
    .shivir-summary-card { flex-direction: column; padding: 14px 18px; }
    .shivir-summary-applicant { text-align: left; border-top: 1px solid rgba(255,255,255,.2); padding-top: 10px; }
}

.shivir-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.shivir-form .form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.shivir-form .field-full { grid-column: 1 / -1; }
@media (max-width: 768px) {
    .shivir-form .form-row, .shivir-form .form-row-3 { grid-template-columns: 1fr; }
}
.shivir-form label { display: block; margin-bottom: 6px; font-weight: 500; color: #1f1a14; font-size: 14px; }
.shivir-form label .req { color: #dc2626; }
.shivir-form input, .shivir-form select, .shivir-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #e5d9c2;
    border-radius: 8px; font-family: inherit; font-size: 15px; background: white;
    transition: border-color .15s, box-shadow .15s;
}
.shivir-form input:focus, .shivir-form select:focus, .shivir-form textarea:focus {
    outline: none; border-color: var(--vsp-saffron, #F89E1B);
    box-shadow: 0 0 0 3px rgba(248,158,27,.15);
}
.shivir-form input[type=file] { padding: 6px; background: #faf7f1; font-size: 13px; }

.shivir-form .form-section {
    background: white; border-radius: 12px; padding: 22px 24px;
    margin-bottom: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
    border-top: 4px solid var(--vsp-saffron, #F89E1B);
}
.shivir-form .form-section h3 {
    margin-top: 0; color: var(--vsp-maroon, #7F1D1D);
    display: flex; align-items: center; gap: 10px;
}
.shivir-form .form-section h3 .section-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; background: var(--vsp-saffron, #F89E1B);
    color: white; border-radius: 50%; font-size: 13px;
}

.shivir-form-actions {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 22px; gap: 12px; flex-wrap: wrap;
}
.shivir-btn-primary {
    background: var(--vsp-saffron, #F89E1B); color: white;
    padding: 12px 26px; border: none;
}
.shivir-btn-primary:hover { background: #e08a10; }

.shivir-alert {
    padding: 12px 16px; border-radius: 8px; margin-bottom: 16px;
}
.shivir-alert-danger { background: #fee; border: 1px solid #fcc; color: #7f1d1d; }
.shivir-alert ul { margin: 8px 0 0 20px; }

/* ═══ Two-column Shivir CTA (partial: shivir_cta_dual) ═══ */
.shivir-cta-dual { padding: 48px 0; background: linear-gradient(135deg, #fff9ed 0%, #fff 50%, #fdf2f8 100%); }
.shivir-cta-dual-head { text-align: center; margin-bottom: 32px; }
.shivir-cta-dual-pill {
    display: inline-block; background: #7f1d1d; color: white;
    padding: 6px 18px; border-radius: 20px; font-size: 13px;
    font-weight: 600; letter-spacing: 0.5px; margin-bottom: 12px;
}
.shivir-cta-dual-head h2 { color: #7f1d1d; font-size: 2rem; margin: 0 0 8px; line-height: 1.3; }
.shivir-cta-dual-head p { color: #6b5a47; max-width: 720px; margin: 0 auto; font-size: 15px; }

.shivir-cta-dual-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 1000px; margin: 0 auto;
}
@media (max-width: 768px) { .shivir-cta-dual-grid { grid-template-columns: 1fr; } }

.shivir-cta-card {
    display: block; position: relative; padding: 28px; border-radius: 16px;
    background: white; box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-decoration: none !important; color: inherit !important;
    transition: all .2s ease; border: 2px solid transparent; overflow: hidden;
}
.shivir-cta-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--cta-accent), var(--cta-accent-2));
}
.shivir-cta-card-male { --cta-accent: #F89E1B; --cta-accent-2: #b45309; }
.shivir-cta-card-female { --cta-accent: #be185d; --cta-accent-2: #831843; }
.shivir-cta-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); border-color: var(--cta-accent); }
.shivir-cta-icon {
    position: absolute; top: 18px; right: 18px;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cta-accent), var(--cta-accent-2));
    color: white; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
}
.shivir-cta-tag {
    display: inline-block; font-size: 11px; letter-spacing: 2px;
    color: var(--cta-accent-2); font-weight: 700;
    text-transform: uppercase; margin-top: 10px;
}
.shivir-cta-card h3 {
    margin: 8px 0 14px; font-size: 1.25rem; line-height: 1.35;
    color: var(--cta-accent-2); padding-right: 70px;
}
.shivir-cta-meta { font-size: 14px; color: #6b5a47; line-height: 1.8; margin-bottom: 14px; }
.shivir-cta-fees {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
    padding: 10px 12px; background: #faf6ee; border-radius: 8px; font-size: 13px;
}
.shivir-cta-fees strong { color: var(--cta-accent); }
.shivir-cta-buttons { display: flex; }
.shivir-cta-btn-primary {
    display: inline-block; padding: 10px 22px;
    background: var(--cta-accent); color: white; font-weight: 600;
    border-radius: 8px; font-size: 14px; transition: background .2s;
}
.shivir-cta-card:hover .shivir-cta-btn-primary { background: var(--cta-accent-2); }
