/* ============================================
   Bharat Manav Kalyan Trust — Main Stylesheet
   ============================================ */

:root {
    --navy: #002B5C;
    --navy-dark: #001A3A;
    --navy-light: #003D7A;
    --gold: #C9A227;
    --gold-light: #E8C547;
    --gold-dark: #A6851F;
    --cream: #FAF8F3;
    --cream-dark: #F0EBE0;
    --white: #FFFFFF;
    --text: #1A2B3C;
    --text-light: #5A6B7C;
    --saffron: #FF9933;
    --green: #138808;
    --shadow: 0 4px 24px rgba(0, 43, 92, 0.12);
    --shadow-lg: 0 12px 48px rgba(0, 43, 92, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Source Sans 3', system-ui, sans-serif;
    --font-hindi: 'Noto Sans Devanagari', sans-serif;
    --header-offset: 118px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-offset);
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

body.loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Page Loader ---- */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(circle at center, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.8s;
}

.loader-ring {
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-top-color: var(--gold-light);
    border-right-color: var(--gold-light);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: absolute;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

.loader-ring::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid transparent;
    border-bottom-color: var(--saffron);
    border-left-color: var(--saffron);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

.loader-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: pulse-logo 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.9;
        filter: drop-shadow(0 4px 10px rgba(201, 162, 39, 0.2));
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(201, 162, 39, 0.6));
    }
}

/* ---- Top header ---- */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(90deg, #001A3A 0%, #002B5C 55%, #003D7A 100%);
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

.top-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-header-left,
.top-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-header-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.top-header-link:hover {
    color: #E8C547;
}

.top-header-ico {
    font-size: 0.85rem;
    line-height: 1;
}

.top-lang-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 197, 71, 0.9);
}

.top-lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.top-lang-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease;
}

.top-lang-btn.is-active {
    background: linear-gradient(135deg, #C9A227, #E8C547);
    color: #001A3A;
}

.top-lang-btn:hover:not(.is-active) {
    color: #fff;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: var(--white);
    box-shadow: 0 1px 12px rgba(0, 43, 92, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 43, 92, 0.12);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}

.nav-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.nav-brand:hover .nav-logo {
    transform: rotate(10deg) scale(1.05);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-hindi {
    font-family: var(--font-hindi);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.brand-en {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--navy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark) !important;
    border-radius: 50px;
    padding: 8px 20px !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
    color: var(--navy-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Clear fixed top-header + navbar on every page */
.site-main {
    padding-top: var(--header-offset);
    min-height: 50vh;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-offset));
    padding-top: var(--header-offset);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 8s ease;
    z-index: 0;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-bg.has-slides {
    background: #001A3A;
}

.hero-bg.has-slides .hero-gradient {
    background:
        linear-gradient(135deg, rgba(0, 26, 58, 0.72) 0%, rgba(0, 43, 92, 0.55) 45%, rgba(0, 61, 122, 0.65) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
}

.hero-bg .hero-particles,
.hero-bg .hero-gradient {
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 153, 51, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(19, 136, 8, 0.05) 0%, transparent 40%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 40px 24px;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--gold-light);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.hero-title {
    margin-bottom: 20px;
}

.title-hindi {
    display: block;
    font-family: var(--font-hindi);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: transparent;
    background: linear-gradient(90deg, var(--gold-light), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.title-en {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-family: var(--font-hindi);
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-3px);
}

/* Outline button for light-background pages */
.btn-outline-dark {
    background: var(--white);
    color: var(--navy);
    border-color: rgba(0, 43, 92, 0.25);
    box-shadow: 0 4px 16px rgba(0, 43, 92, 0.08);
}

.btn-outline-dark:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 43, 92, 0.22);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-spotlight {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, rgba(201, 162, 39, 0.04) 45%, transparent 70%);
    border-radius: 50%;
    animation: spotlight-pulse 4s ease-in-out infinite;
}

@keyframes spotlight-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.showcase-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.15);
    pointer-events: none;
}

.showcase-orbit-outer {
    width: 100%;
    height: 100%;
    border-style: dashed;
    animation: orbit-spin 40s linear infinite;
}

.showcase-orbit-inner {
    width: 78%;
    height: 78%;
    border-color: rgba(255, 255, 255, 0.12);
    animation: orbit-spin 25s linear infinite reverse;
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

.showcase-frame {
    position: relative;
    z-index: 2;
    width: 72%;
    aspect-ratio: 1;
}

.showcase-frame-outer {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            var(--gold) 0deg,
            var(--gold-light) 90deg,
            var(--gold-dark) 180deg,
            var(--gold) 270deg,
            var(--gold-light) 360deg);
    animation: frame-shine 6s linear infinite;
    opacity: 0.85;
}

@keyframes frame-shine {
    to {
        transform: rotate(360deg);
    }
}

.showcase-frame-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFFDF8 0%, #F5F0E6 100%);
    padding: 14px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 2px 8px rgba(255, 255, 255, 0.8);
    animation: showcase-float 5s ease-in-out infinite;
}

@keyframes showcase-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.showcase-logo-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid rgba(201, 162, 39, 0.25);
}

.hero-logo {
    width: 92%;
    height: 92%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 43, 92, 0.15));
}

.showcase-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.3);
    animation: badge-float 5s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text strong {
    font-family: var(--font-hindi);
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 700;
}

.badge-text span {
    font-size: 0.65rem;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.showcase-badge-1 {
    top: 4%;
    left: -6%;
    animation-delay: 0s;
}

.showcase-badge-2 {
    top: 38%;
    right: -12%;
    animation-delay: 1.2s;
}

.showcase-badge-3 {
    bottom: 6%;
    left: 2%;
    animation-delay: 2.4s;
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.showcase-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.6);
    z-index: 1;
}

.showcase-dot-1 {
    top: 12%;
    right: 18%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.showcase-dot-2 {
    bottom: 22%;
    right: 8%;
    animation: dot-pulse 2s ease-in-out 0.5s infinite;
}

.showcase-dot-3 {
    bottom: 18%;
    left: 14%;
    animation: dot-pulse 2s ease-in-out 1s infinite;
}

.showcase-dot-4 {
    top: 28%;
    left: 6%;
    animation: dot-pulse 2s ease-in-out 1.5s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--gold);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* ---- Sections Common ---- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-label {
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto;
    border-radius: 2px;
}

.section-header.light .title-underline {
    background: linear-gradient(90deg, var(--gold-light), var(--white));
}

.section-subtitle {
    font-family: var(--font-hindi);
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 12px;
}

/* ---- About ---- */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--gold);
    background: var(--cream);
    padding: 20px;
}

.about-img-frame img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius-lg) - 4px);
}

.about-accent-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: accent-bounce 3s ease-in-out infinite;
}

@keyframes accent-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.accent-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.accent-text {
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.9;
}

.about-text h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ---- Mission ---- */
.mission {
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

.mission .section-title {
    color: var(--white);
}

.mission-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    perspective: 1000px;
}

.mission-card-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover .mission-card-inner {
    transform: translateY(-8px);
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mission-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.mission-icon-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
}

.mission-card h3 {
    font-family: var(--font-hindi);
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.mission-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.mission-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(201, 162, 39, 0.05) 50%,
            transparent 60%);
    transform: rotate(45deg);
    transition: 0.6s ease;
    pointer-events: none;
}

.mission-card:hover .mission-card-shine {
    animation: shine-sweep 0.8s ease;
}

@keyframes shine-sweep {
    from {
        transform: rotate(45deg) translateY(100%);
    }

    to {
        transform: rotate(45deg) translateY(-100%);
    }
}

/* ---- Programs ---- */
.programs {
    background: var(--cream);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 43, 92, 0.04);
    box-shadow: 0 4px 20px rgba(0, 43, 92, 0.04);
    cursor: default;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.program-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(250, 248, 243, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 43, 92, 0.1);
    border-color: rgba(201, 162, 39, 0.2);
}

.program-card:hover::before {
    opacity: 1;
}

.program-icon {
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg) translateY(-5px);
    background: var(--navy);
    box-shadow: 0 8px 20px rgba(0, 43, 92, 0.15);
}

.program-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 700;
}

.program-title-hi {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--gold-dark);
    margin-bottom: 16px;
    font-weight: 500;
}

.program-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.program-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--saffron));
    transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.program-card:hover .program-card-bar {
    width: 100%;
}

.program-card--upcoming {
    border-style: dashed;
    border-color: rgba(201, 162, 39, 0.45);
    background: linear-gradient(180deg, #fff 0%, #FBF8F0 100%);
}

.program-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #001A3A;
    background: linear-gradient(135deg, #E8C547, #C9A227);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.35);
}

.info-panel {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid rgba(0, 43, 92, 0.06);
    box-shadow: 0 8px 28px rgba(0, 43, 92, 0.06);
}

.info-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 14px;
}

.info-panel p {
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 14px;
    opacity: 0.9;
}

.info-panel .btn {
    margin-top: 8px;
}

.upcoming-note {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(201, 162, 39, 0.1);
    border-left: 3px solid var(--gold);
}

.crowdfunding,
.legal-section {
    background: var(--cream);
}

.product-section {
    background: var(--white);
}

.legal-list {
    margin: 0 0 16px;
    padding-left: 1.2rem;
    color: var(--text);
    line-height: 1.7;
    opacity: 0.9;
}

.legal-list li {
    margin-bottom: 6px;
}

/* ---- Impact ---- */
.impact {
    position: relative;
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
}

.impact-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 153, 51, 0.08) 0%, transparent 50%);
}

.impact .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.stat-label-hi {
    font-family: var(--font-hindi);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ---- FAQ ---- */
.faq {
    background: var(--cream);
    overflow: hidden;
}

.faq-subtitle {
    font-family: var(--font-hindi);
    font-size: 1.1rem;
    color: var(--gold-dark);
    margin-top: 12px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-intro-card {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.faq-intro-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
    top: -40px;
    right: -40px;
    border-radius: 50%;
    pointer-events: none;
}

.faq-image-wrapper {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

.faq-image-wrapper:hover .faq-main-img {
    transform: scale(1.05);
}

.faq-intro-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--gold-light);
}

.faq-intro-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.faq-intro-btn {
    width: 100%;
    justify-content: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 43, 92, 0.08);
    box-shadow: 0 2px 12px rgba(0, 43, 92, 0.04);
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.faq-item:hover {
    border-color: rgba(201, 162, 39, 0.35);
}

.faq-item.open {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 8px 28px rgba(0, 43, 92, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    transition: background 0.3s ease;
}

.faq-item.open .faq-question {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.06), transparent);
}

.faq-q-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.faq-q-en {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

.faq-q-hi {
    font-family: var(--font-hindi);
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.faq-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid rgba(201, 162, 39, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.faq-toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.35s ease, background 0.35s ease;
}

.faq-toggle-icon::before {
    width: 14px;
    height: 2px;
    top: 6px;
    left: 0;
}

.faq-toggle-icon::after {
    width: 2px;
    height: 14px;
    top: 0;
    left: 6px;
}

.faq-item.open .faq-toggle {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: transparent;
    transform: rotate(180deg);
}

.faq-item.open .faq-toggle-icon::before,
.faq-item.open .faq-toggle-icon::after {
    background: var(--navy-dark);
}

.faq-item.open .faq-toggle-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 24px 22px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
    border-top: 1px solid transparent;
}

.faq-item.open .faq-answer-inner p {
    border-top-color: rgba(0, 43, 92, 0.06);
    padding-top: 4px;
}

/* ---- Contact ---- */
.contact {
    position: relative;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 43, 92, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    font-family: var(--font-hindi);
    font-size: 1.05rem;
    color: var(--gold-dark);
    margin-top: 12px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(201, 162, 39, 0.35);
}

.contact-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s ease;
}

.contact-image-card:hover .contact-image {
    transform: scale(1.04);
}

.contact-image-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0, 26, 58, 0.92) 0%, rgba(0, 43, 92, 0.6) 60%, transparent 100%);
    color: var(--white);
}

.contact-image-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.contact-image-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid rgba(0, 43, 92, 0.08);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 43, 92, 0.05);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(6px);
    border-color: rgba(201, 162, 39, 0.35);
    box-shadow: var(--shadow);
}

.contact-card-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(145deg, rgba(0, 43, 92, 0.08), rgba(0, 43, 92, 0.03));
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    transform: scale(1.05);
}

.contact-card strong {
    display: block;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-card-hi {
    font-family: var(--font-hindi);
    font-size: 0.78rem;
    color: var(--gold-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.contact-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-card a {
    color: var(--navy-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--gold-dark);
}

.contact-form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 43, 92, 0.1);
    border: 1px solid rgba(0, 43, 92, 0.06);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    padding: 28px 32px;
}

.contact-form-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--gold-light);
}

.contact-form-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.contact-form {
    padding: 32px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    animation: alert-slide 0.5s ease;
}

@keyframes alert-slide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

.alert-icon {
    font-weight: 700;
    font-size: 1.2rem;
}

/* ---- Gallery ---- */
.gallery-view-all {
    text-align: center;
    margin-top: 32px;
}
    

.gallery-subtitle {
    font-family: var(--font-hindi);
    font-size: 1.05rem;
    color: var(--gold-dark);
    margin-top: 12px;
}

.gallery-view-all {
    text-align: center;
    margin-top: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-grid-full {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
}

.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 10px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    background: var(--cream);
    cursor: pointer;
    border-radius: 20px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 43, 92, 0.08);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.4s ease;
    font-family: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.gallery-card-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
    background: var(--navy-dark);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(0, 26, 58, 0.15) 70%,
        rgba(0, 26, 58, 0.75) 100%
    );
    opacity: 0.85;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-card-body {
    position: relative;
    padding: 16px 8px 8px;
    flex-shrink: 0;
}

.gallery-card-index {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0.7;
}

.gallery-item-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.gallery-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-dark);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-action-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(0, 43, 92, 0.15);
    border-color: var(--gold);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-card-shade {
    opacity: 1;
}

.gallery-card:hover .gallery-item-title {
    color: var(--gold-dark);
}

.gallery-card:hover .gallery-card-action {
    opacity: 1;
    transform: translateY(0);
}

.gallery-view-all {
    text-align: center;
    margin-top: 36px;
}

.gallery-empty,
.gallery-empty-state {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.gallery-empty-state .btn {
    margin-top: 16px;
}

/* Gallery Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
}

.page-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-light);
    margin-bottom: 12px;
}

.page-hero-desc {
    font-family: var(--font-hindi);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.page-hero-back {
    margin-top: 8px;
}

.gallery-page {
    background: var(--cream);
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 10, 25, 0.92);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    animation: lightbox-in 0.35s ease;
}

@keyframes lightbox-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-figure {
    margin: 0;
    text-align: center;
}

.lightbox-figure img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lightboxCaption {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-top: 16px;
    padding: 0 48px;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.6rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: transparent;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: transparent;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ---- Footer ---- */
.footer {
    position: relative;
    margin-top: 0;
    background: #eef2f7;
}

.footer-wave {
    color: var(--navy-dark);
    line-height: 0;
    margin-top: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-content {
    position: relative;
    background: linear-gradient(180deg, var(--navy-dark) 0%, #001228 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 0 0 28px;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.footer-glow-1 {
    width: 300px;
    height: 300px;
    background: rgba(201, 162, 39, 0.08);
    top: -80px;
    right: -60px;
}

.footer-glow-2 {
    width: 250px;
    height: 250px;
    background: rgba(0, 61, 122, 0.4);
    bottom: 40px;
    left: -80px;
}

.footer-content .container {
    position: relative;
    z-index: 1;
}

.footer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer-top-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 6px;
}

.footer-top-text p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    margin: 0;
}

.footer-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-logo-wrap {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(201, 162, 39, 0.35);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.footer-tagline-hi {
    font-family: var(--font-hindi);
    font-size: 0.82rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.footer-tagline {
    font-family: var(--font-hindi);
    font-size: 0.78rem;
    color: var(--gold);
    opacity: 0.85;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    max-width: 340px;
}

.footer-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.footer-pillars span {
    font-family: var(--font-hindi);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy-dark);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    padding: 5px 12px;
    border-radius: 6px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: transparent;
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.footer-links h4,
.footer-contact h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 22px;
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
}

.footer-heading-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    flex-shrink: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.link-arrow {
    color: var(--gold);
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-links a:hover .link-arrow {
    transform: translateX(3px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    transition: var(--transition);
}

.footer-contact-item:hover {
    background: rgba(201, 162, 39, 0.08);
    border-color: rgba(201, 162, 39, 0.25);
    transform: translateX(4px);
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.12);
    border-radius: 10px;
    font-size: 1rem;
}

.footer-contact-item strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
    margin-bottom: 3px;
}

.footer-contact-item p {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--gold-light);
}

.footer-tricolor {
    display: flex;
    height: 3px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 24px;
    opacity: 0.7;
}

.footer-tricolor span:nth-child(1) { flex: 1; background: var(--saffron); }
.footer-tricolor span:nth-child(2) { flex: 1; background: var(--white); }
.footer-tricolor span:nth-child(3) { flex: 1; background: var(--green); }

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-motto {
    font-family: var(--font-hindi);
    color: var(--gold);
    font-size: 0.9rem;
}

/* ---- Floating Actions ---- */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    animation: whatsapp-enter 0.6s ease 1s both, whatsapp-bounce 3s ease-in-out 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
    color: var(--white);
    animation: none;
}

.whatsapp-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: 1;
}

.whatsapp-pulse-2 {
    animation-delay: 1s;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--navy-dark);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--navy-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes whatsapp-enter {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ---- Scroll to Top ---- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.5);
}

/* ---- Animations ---- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 360px;
    }

    .hero-showcase {
        max-width: 360px;
    }

    .showcase-badge {
        padding: 8px 12px;
    }

    .showcase-badge-1 {
        left: -2%;
    }

    .showcase-badge-2 {
        right: -6%;
    }

    .showcase-badge-3 {
        left: 6%;
    }

    .about-grid,
    .contact-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-intro-card {
        position: static;
        max-width: 480px;
        margin: 0 auto;
    }

    .mission-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-top-bar {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 126px;
    }

    .top-header-inner {
        min-height: 34px;
        padding: 6px 14px;
        gap: 8px;
    }

    .top-header-left {
        gap: 10px;
    }

    .top-header-link {
        font-size: 0.72rem;
    }

    .top-lang-label {
        display: none;
    }

    .top-lang-btn {
        font-size: 0.7rem;
        padding: 4px 9px;
    }

    .navbar {
        top: 46px;
    }

    .nav-toggle {
        display: flex;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-q-en {
        font-size: 0.95rem;
    }

    .faq-answer-inner p {
        padding: 0 18px 18px;
        font-size: 0.9rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 4px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 20px rgba(0, 43, 92, 0.15);
        border-left: 1px solid var(--cream-dark);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu .nav-link {
        width: 100%;
        padding: 12px 16px;
        color: var(--navy);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--gold-dark);
        background: var(--cream);
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-form-header {
        padding: 22px 24px;
    }

    .contact-image {
        height: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer-brand-card {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-pillars {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h4,
    .footer-contact h4 {
        justify-content: center;
    }

    .footer-top-bar {
        text-align: center;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .about-accent-card {
        right: 10px;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        max-width: 300px;
    }

    .showcase-badge {
        padding: 6px 10px;
        gap: 6px;
    }

    .badge-text strong {
        font-size: 0.75rem;
    }

    .badge-text span {
        font-size: 0.55rem;
    }

    .showcase-badge-1 {
        top: 2%;
        left: 0;
    }

    .showcase-badge-2 {
        top: 42%;
        right: -2%;
    }

    .showcase-badge-3 {
        bottom: 2%;
        left: 8%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 82px;
        right: 20px;
    }

    .whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-grid-full {
        grid-template-columns: 1fr;
    }

    .gallery-card-action {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) { .faq-intro { position: static; } }

/* ASP.NET contact form alerts */
.contact-alert {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-alert-success {
  background: rgba(34, 139, 84, 0.12);
  color: #1b6b3a;
  border: 1px solid rgba(34, 139, 84, 0.28);
}
.contact-alert-error {
  background: rgba(178, 34, 34, 0.1);
  color: #8b1a1a;
  border: 1px solid rgba(178, 34, 34, 0.25);
}
.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="tel"],
.contact-form .form-group textarea {
  width: 100%;
}

