:root {
    --parchment-glow: #fef7ee;
    --parchment: #E8C0A5;
    --sand: #F3D5BF;
    --paper: #F7E5D2;
    --brown: #3A170E;
    --espresso: #240C07;
    --mahogany: #2B0F09;
    --terracotta: #8C4A35;
    --copper: #6E301F;
    --gold: #D49B35;
    --gold-metallic: #C58A2B;
    --gold-light: #F4C46D;
    --saffron: #D96228;
    --bronze: #8B5A45;
    --white: #ffffff;
    --border-gold: rgba(196, 138, 42, 0.38);
    --border-gold-glow: rgba(212, 155, 53, 0.7);
    --shadow: 0 18px 45px rgba(36, 12, 7, 0.12);
    --shadow-heavy: 0 25px 60px rgba(36, 12, 7, 0.2);
    --radius: 24px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #dfb694 url('../images/temple-bg.jpg') no-repeat center top / cover fixed;
    color: var(--brown);
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
    position: relative;
}

/* ==========================================
   HEADER & NAVBAR
   ========================================== */
.site-header {
    position: sticky;
    top: 1rem;
    z-index: 100;
    background: rgba(253, 245, 235, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 2px solid var(--border-gold);
    border-radius: 999px;
    box-shadow: 0 12px 35px rgba(36, 12, 7, 0.16);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: min(var(--container), calc(100% - 2rem));
    margin: 1rem auto 0;
}

.site-header.scrolled {
    background: rgba(247, 233, 218, 0.96);
    border-color: var(--gold-metallic);
    box-shadow: 0 16px 40px rgba(36, 12, 7, 0.22);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0.4rem 1.4rem;
    gap: 1rem;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-size: 1.3rem;
    color: var(--brown);
    font-family: 'Cormorant Garamond', serif;
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-metallic), var(--brown));
    color: #FFF;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gold-light);
    box-shadow: 0 4px 12px rgba(212, 155, 53, 0.3);
}

.brand-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(36, 12, 7, 0.2));
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo-img {
    transform: scale(1.06);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-gold);
    background: rgba(255, 252, 247, 0.9);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(36, 12, 7, 0.1);
}

.nav-toggle span {
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: var(--brown);
    display: block;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    border-color: var(--gold-metallic);
    background: #ffffff;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brown);
    position: relative;
    transition: color 0.25s ease;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--saffron));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    margin-left: 0.5rem;
}

/* Navbar Social Icons */
.nav-social-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0.4rem;
}

.nav-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--brown);
    background: transparent;
    transition: all 0.25s ease;
    opacity: 0.85;
}

.nav-social-icon:hover {
    color: var(--saffron);
    opacity: 1;
    background: rgba(217, 98, 40, 0.1);
    transform: translateY(-2px);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
}

.btn:hover, .btn:focus-visible {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-metallic), var(--saffron));
    color: #FFF;
    border-color: var(--gold-light);
    box-shadow: 0 8px 24px rgba(217, 98, 40, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(217, 98, 40, 0.45);
    background: linear-gradient(135deg, var(--gold), #e8692c);
}

.btn-secondary {
    background: rgba(255, 248, 240, 0.6);
    border-color: var(--brown);
    color: var(--brown);
}

.btn-secondary:hover {
    background: var(--brown);
    color: #FFF;
}

/* ==========================================
   HERO & BRAND BANNER (TEMPLE ARCH THEME)
   ========================================== */
.premium-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.premium-shell {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.program-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-bottom: 1.4rem;
}

.lower-strip {
    margin-top: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.program-tile-card {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--border-gold);
    box-shadow: 0 10px 25px rgba(36, 12, 7, 0.16);
    background: #2b0f09;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    aspect-ratio: 1 / 1;
}

.program-tile-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-metallic);
    box-shadow: 0 22px 45px rgba(36, 12, 7, 0.28), 0 0 30px rgba(212, 155, 53, 0.4);
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.program-tile-card:hover .program-card-image {
    transform: scale(1.05);
}

/* Program Catalog Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.program-catalog-card {
    background: rgba(255, 250, 244, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.program-catalog-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold-metallic);
    box-shadow: var(--shadow-heavy), 0 0 25px rgba(212, 155, 53, 0.25);
}

.catalog-card-image-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #2b0f09;
}

.catalog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.program-catalog-card:hover .catalog-card-img {
    transform: scale(1.05);
}

.program-catalog-card .program-num-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--mahogany), var(--espresso));
    color: var(--gold-light);
    border: 2px solid var(--gold-metallic);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(36, 12, 7, 0.3);
}

.program-catalog-card .card-content {
    padding: 1.5rem 1.5rem 1rem;
    flex: 1;
}

.program-catalog-card .program-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--saffron);
    margin-bottom: 0.3rem;
}

.program-catalog-card .program-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--brown);
}

.program-catalog-card .program-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--brown);
    margin-bottom: 0;
}

.program-catalog-card .card-footer-action {
    padding: 0 1.5rem 1.5rem;
}

.btn-program-learn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.25s ease, transform 0.25s ease;
}

.btn-program-learn:hover {
    color: var(--brown);
    transform: translateX(4px);
}

.brand-banner {
    position: relative;
    margin: 1.5rem 0 2.5rem;
    padding: 1rem 1rem 1.5rem;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.brand-banner::before,
.brand-banner::after {
    display: none;
}

.brand-ribbon {
    display: none;
}

.lotus-mark {
    position: relative;
    z-index: 1;
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.8rem;
    border: 3px solid var(--gold-metallic);
    background: linear-gradient(135deg, var(--brown), var(--mahogany));
    color: var(--gold-light);
    box-shadow: 0 10px 25px rgba(36, 12, 7, 0.25), 0 0 25px rgba(244, 196, 109, 0.35);
}

.banner-logo-wrap {
    position: relative;
    z-index: 1;
    margin: 0 auto 1.2rem;
    display: flex;
    justify-content: center;
}

.banner-logo-img {
    height: clamp(180px, 22vw, 250px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(36, 12, 7, 0.28));
    transition: transform 0.35s ease;
}

.banner-logo-img:hover {
    transform: scale(1.04);
}

.brand-banner h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    color: var(--brown);
    text-shadow: 0 3px 6px rgba(255, 255, 255, 0.4);
}

.brand-banner p {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
    color: #240C07;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.modern-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
    margin-top: 1.8rem;
    gap: 1.2rem;
    display: flex;
    flex-wrap: wrap;
}

/* ==========================================
   PILL QUICK ACTIONS BAR (HERO BUTTONS)
   ========================================== */
.pill-quick-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.6rem auto 0.5rem;
    width: 100%;
}

.pill-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.pill-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pill-btn-app-filled {
    background: linear-gradient(135deg, var(--gold-metallic), var(--saffron));
    color: #ffffff !important;
    border: 2px solid var(--gold-light);
    box-shadow: 0 6px 18px rgba(217, 98, 40, 0.3);
}

.pill-btn-app-filled:hover {
    background: linear-gradient(135deg, var(--gold), #e8692c);
    border-color: #ffffff;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(217, 98, 40, 0.45);
}

.pill-btn-saffron-outline {
    background: rgba(255, 252, 247, 0.92);
    color: var(--saffron) !important;
    border: 2px solid var(--saffron);
}

.pill-btn-saffron-outline:hover {
    background: var(--saffron);
    color: #ffffff !important;
    border-color: var(--saffron);
}

.pill-btn-brown-outline {
    background: rgba(255, 252, 247, 0.92);
    color: var(--brown) !important;
    border: 2px solid var(--brown);
}

.pill-btn-brown-outline:hover {
    background: var(--brown);
    color: #ffffff !important;
    border-color: var(--brown);
}

/* ==========================================
   CARDS & VALUES
   ========================================== */
.premium-values {
    padding-top: 2rem;
}

.values-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.3rem;
}

.feature-card {
    background: rgba(255, 250, 244, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    padding: 1.8rem 1.4rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold-glow);
    box-shadow: var(--shadow-heavy), 0 0 20px rgba(212, 155, 53, 0.18);
}

.feature-card-large {
    padding: 1.8rem 1.6rem 1.4rem;
}

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    color: var(--brown);
    margin-bottom: 0.9rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(244,212,166,0.6));
    border: 2px solid var(--gold-metallic);
    box-shadow: 0 6px 15px rgba(36, 12, 7, 0.08);
}

.feature-card h3 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.7rem, 2vw, 2.3rem);
    color: var(--brown);
}

.feature-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--brown);
    line-height: 1.85;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--brown);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    color: var(--saffron);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.eyebrow::before, .eyebrow::after {
    content: ' ✦ ';
    color: var(--gold-metallic);
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    line-height: 1.15;
    margin-top: 0;
    color: var(--brown);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(1.75rem, 4.8vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 2.2rem); }

p {
    margin-top: 0;
    color: var(--brown);
}

.grid-3, .grid-4 {
    display: grid;
    gap: 1.5rem;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: rgba(255, 250, 244, 0.84);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold-glow);
    box-shadow: var(--shadow-heavy), 0 0 20px rgba(212, 155, 53, 0.2);
}

.program-card {
    position: relative;
    overflow: hidden;
}

.program-card .program-badge {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-metallic));
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 1rem;
    border: 2px solid #FFF;
    box-shadow: 0 4px 12px rgba(196, 138, 42, 0.3);
}

.program-card .icon {
    font-size: 2.2rem;
    color: var(--gold-metallic);
    margin-bottom: 0.8rem;
}

.card-link {
    margin-top: 1rem;
    color: var(--saffron);
    font-weight: 800;
    display: inline-block;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.88rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.card-link:hover {
    color: var(--brown);
    transform: translateX(4px);
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.age-card {
    background: linear-gradient(180deg, rgba(255,252,247,0.88), rgba(243,221,196,0.75));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2.2rem 1.6rem;
    border-radius: var(--radius);
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow);
    text-align: center;
}

/* ==========================================
   DARK SECTION (MAHOGANY & GOLD TEMPLE TEMPLE)
   ========================================== */
.dark-section {
    background: linear-gradient(135deg, rgba(46, 19, 11, 0.95), rgba(74, 32, 18, 0.95));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--border-gold-glow);
    border-bottom: 3px solid var(--border-gold-glow);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
    color: var(--gold-light);
}

.dark-section p,
.dark-section li,
.dark-section .section-header p {
    color: rgba(255, 245, 235, 0.9);
}

.dark-section .eyebrow {
    color: var(--gold-light);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(212, 155, 53, 0.4);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.12);
}

/* ==========================================
   TIMELINE & STEPS
   ========================================== */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.timeline-item {
    background: rgba(255, 250, 244, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 2px solid var(--border-gold);
    padding: 1.8rem 0.4rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.timeline-item h3 {
    font-size: clamp(0.85rem, 1.1vw, 1.2rem);
    font-weight: 700;
    margin: 0;
    word-break: keep-all;
    white-space: nowrap;
    hyphens: none;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-metallic);
}

.timeline-number {
    display: block;
    color: var(--saffron);
    font-size: 2.4rem;
    font-weight: 800;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ==========================================
   PANELS, STORIES & LAYOUTS
   ========================================== */
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.info-panel {
    background: rgba(255, 250, 244, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow);
}

.story-box {
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(243, 218, 188, 0.82));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 34px;
    padding: 2.8rem 2.2rem;
    border: 3px solid var(--border-gold-glow);
    box-shadow: var(--shadow-heavy);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

blockquote {
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #e4d0bc;
    min-height: 230px;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow);
}

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

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

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: rgba(255, 250, 244, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--brown);
    border: 2px solid var(--border-gold);
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--brown);
    color: #FFF;
    border-color: var(--brown);
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 8, 4, 0.85);
    z-index: 200;
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    max-width: min(90vw, 920px);
    background: #FFF;
    border-radius: 24px;
    padding: 1.2rem;
    position: relative;
    border: 3px solid var(--gold-metallic);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.lightbox-content img {
    max-height: 75vh;
    object-fit: contain;
    border-radius: 14px;
}

.lightbox-close {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    border: 2px solid var(--brown);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--brown);
    cursor: pointer;
}

/* ==========================================
   CONTACT FORM & INPUTS
   ========================================== */
.contact-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.2rem;
    background: rgba(255, 250, 244, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 34px;
    padding: 2.5rem;
    border: 3px solid var(--border-gold-glow);
    box-shadow: var(--shadow-heavy);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 700;
    color: var(--brown);
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    border: 2px solid var(--border-gold);
    background: rgba(255, 255, 255, 0.9);
    color: var(--brown);
    font-weight: 500;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold-metallic);
    box-shadow: 0 0 12px rgba(212, 155, 53, 0.3);
}

.form-field textarea {
    min-height: 135px;
    resize: vertical;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(11, 122, 78, 0.12);
    border: 2px solid rgba(11, 122, 78, 0.3);
    color: #0b5e3a;
}

.alert-error {
    background: rgba(160, 53, 53, 0.1);
    border: 2px solid rgba(160, 53, 53, 0.3);
    color: #7b2121;
}

.faq-item {
    border: 2px solid var(--border-gold);
    border-radius: 20px;
    background: rgba(255, 250, 244, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: var(--gold-metallic);
}

.faq-item button {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--brown);
    text-align: left;
    padding: 1.2rem 1.4rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
}

.faq-answer {
    padding: 0 1.4rem 1.3rem;
}

/* ==========================================
   FOOTER & WHATSAPP
   ========================================== */
.site-footer {
    background: linear-gradient(180deg, var(--mahogany), var(--espresso));
    color: #FFF8F0;
    padding-top: 3.5rem;
    border-top: 3px solid var(--border-gold-glow);
}

.site-footer p {
    color: #F7E5D2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.8rem;
    padding-bottom: 2.5rem;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(244, 196, 109, 0.35));
}

.footer-brand {
    font-size: 2.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.site-footer h3 {
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.site-footer a {
    color: #F7E5D2;
    transition: color 0.25s ease;
    font-weight: 500;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0 2.2rem;
    gap: 1rem;
    color: #F7E5D2;
}

.footer-bottom p {
    color: #F7E5D2;
    margin: 0;
}

.floating-whatsapp {
    position: fixed;
    right: 1.5rem;
    bottom: 6.5rem;
    background: linear-gradient(135deg, #25d366, #1ebf60);
    color: #FFF;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
    z-index: 90;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
}

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background: var(--mahogany);
    padding: 0.85rem 1rem;
    z-index: 120;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    border-top: 2px solid var(--gold-metallic);
}

.mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.8rem;
    font-weight: 700;
    color: #FFF;
}

.mobile-cta-bar a:first-child { background: #25d366; }
.mobile-cta-bar a:last-child { background: linear-gradient(135deg, var(--gold-metallic), var(--saffron)); }

.page-hero {
    padding: 5rem 0 3.5rem;
    text-align: center;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--brown);
    font-weight: 600;
}

.page-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.primary-panel {
    background: rgba(255, 250, 244, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    padding: 2.2rem;
    box-shadow: var(--shadow);
}

.list-plain {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.list-plain li::before {
    content: '✦ ';
    color: var(--gold-metallic);
    font-size: 1.1rem;
}

.admin-shell {
    min-height: 100vh;
    background: rgba(245, 230, 215, 0.9);
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--espresso);
    color: rgba(255,255,255,0.85);
    padding: 2rem 1.25rem;
    border-right: 2px solid var(--border-gold);
}

.admin-sidebar a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.admin-sidebar a.active, .admin-sidebar a:hover {
    background: rgba(212,155,53,0.25);
    color: var(--gold-light);
}

.admin-main {
    padding: 2rem;
}

.admin-card {
    background: rgba(255, 252, 247, 0.92);
    border-radius: 24px;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow);
    padding: 1.8rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #FFF, #F8EADF);
    border: 2px solid var(--border-gold);
    border-radius: 20px;
    padding: 1.4rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid rgba(196, 138, 42, 0.2);
    text-align: left;
    vertical-align: top;
}

th {
    background: rgba(247,229,210,0.8);
    color: var(--brown);
    font-size: 0.95rem;
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(212,155,53,0.2);
    color: var(--brown);
    border: 1px solid var(--gold-metallic);
}

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

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 980px) {
    .hero-inner,
    .two-col,
    .contact-wrap,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .program-strip,
    .lower-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-wrap,
    .grid-3,
    .grid-4,
    .testimonial-grid,
    .benefit-grid,
    .timeline,
    .gallery-grid,
    .age-grid,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-toggle {
        display: flex;
    }

    .site-header {
        border-radius: 28px;
        width: calc(100% - 1.5rem);
        margin: 0.8rem auto 0;
    }

    .navbar {
        min-height: 64px;
        padding: 0.3rem 1rem;
    }

    .brand-logo-img {
        height: 42px;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 245, 235, 0.98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        box-shadow: var(--shadow-heavy);
        border: 2px solid var(--border-gold);
        border-radius: 24px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.5rem 1.8rem;
        width: 100%;
        z-index: 101;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-cta {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    body {
        background-image: url('../images/temple-bg-mobile.jpg');
    }

    .program-strip,
    .lower-strip,
    .values-wrap,
    .grid-3,
    .grid-4,
    .testimonial-grid,
    .benefit-grid,
    .timeline,
    .gallery-grid,
    .age-grid,
    .form-grid,
    .stat-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        display: none;
    }

    .mobile-cta-bar {
        display: grid;
    }

    .section {
        padding: 3.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================
   ABOUT PAGE STYLING
   ========================================== */
.about-page-section {
    padding: 4rem 0;
}

.about-card-container {
    background: rgba(255, 248, 240, 0.45);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        0 20px 50px rgba(36, 12, 7, 0.12),
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(196, 138, 42, 0.3);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    max-width: 960px;
    margin: 0 auto;
}

.about-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 2rem;
    line-height: 1.25;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.about-body-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--brown);
    margin-bottom: 1.5rem;
}

.about-body-text p:last-child {
    margin-bottom: 2rem;
}

.about-cta-wrapper {
    margin-top: 2.5rem;
}

.btn-sloka-enroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--gold-metallic), var(--saffron));
    color: #ffffff !important;
    border: 2px solid var(--gold-light);
    box-shadow: 0 8px 24px rgba(217, 98, 40, 0.35);
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
}

.btn-sloka-enroll:hover {
    background: linear-gradient(135deg, var(--gold), #e8692c);
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(217, 98, 40, 0.5);
    transform: translateY(-3px);
}

@media (max-width: 640px) {
    .about-card-container {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   PROGRAMS CATALOG PAGE STYLING
   ========================================== */
.programs-catalog-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.program-catalog-card {
    background: rgba(255, 252, 247, 0.65);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(36, 12, 7, 0.08);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.program-catalog-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold-metallic);
    box-shadow: 0 20px 45px rgba(36, 12, 7, 0.16), 0 0 20px rgba(212, 155, 53, 0.2);
}

.card-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.program-num-badge {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--saffron);
    background: rgba(217, 98, 40, 0.12);
    border: 1px solid rgba(217, 98, 40, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.program-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--brown);
    background: linear-gradient(135deg, #ffffff, rgba(244, 212, 166, 0.85));
    border: 2px solid var(--gold-metallic);
    box-shadow: 0 6px 16px rgba(36, 12, 7, 0.1);
}

.program-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.4rem;
}

.program-title {
    font-size: 1.7rem;
    color: var(--espresso);
    margin-bottom: 0.8rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
}

.program-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--brown);
    margin-bottom: 1.8rem;
}

.card-footer-action {
    margin-top: auto;
}

.btn-program-learn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.25s ease, transform 0.25s ease;
}

.btn-program-learn:hover {
    color: var(--brown);
}

.btn-program-learn .arrow-icon {
    transition: transform 0.25s ease;
}

.btn-program-learn:hover .arrow-icon {
    transform: translateX(5px);
}

/* ==========================================
   BENEFITS OF SLOKA LEARNING SECTION
   ========================================== */
.benefits-sloka-section {
    background: linear-gradient(135deg, rgba(46, 19, 11, 0.96), rgba(74, 32, 18, 0.96));
    border-top: 3px solid var(--border-gold-glow);
    border-bottom: 3px solid var(--border-gold-glow);
    color: #ffffff;
}

.benefits-sloka-section h2, 
.benefits-sloka-section .eyebrow {
    color: var(--gold-light);
}

.benefits-sloka-section p {
    color: rgba(255, 245, 235, 0.88);
}

.benefits-grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-item-card {
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 155, 53, 0.35);
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.benefit-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.12);
}

.benefit-icon-badge {
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(212, 155, 53, 0.2);
    border: 1px solid var(--gold-light);
}

.benefit-text-wrap h3 {
    font-size: 1.35rem;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
    font-family: 'Cormorant Garamond', serif;
}

.benefit-text-wrap p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 248, 240, 0.85);
}

/* ==========================================
   JOIN SAATHVIGAM DEDICATED SECTION
   ========================================== */
.join-saathvigam-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.join-card-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    background: rgba(255, 252, 247, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 3px solid var(--border-gold-glow);
    border-radius: 34px;
    padding: 3.2rem 2.8rem;
    box-shadow: var(--shadow-heavy);
    align-items: center;
}

.join-content h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    color: var(--espresso);
    margin-bottom: 1rem;
}

.join-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--brown);
    margin-bottom: 1.8rem;
}

.join-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.2rem;
}

.highlight-pill {
    background: rgba(212, 155, 53, 0.15);
    border: 1px solid var(--gold-metallic);
    color: var(--brown);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
}

.join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.join-btn-cta {
    padding: 1rem 2rem;
}

.join-btn-phone {
    padding: 1rem 1.8rem;
    font-weight: 700;
}

.join-contact-box {
    background: linear-gradient(135deg, var(--mahogany), var(--espresso));
    border: 2px solid var(--border-gold-glow);
    border-radius: 28px;
    padding: 2.2rem 1.8rem;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(36, 12, 7, 0.25);
    text-align: center;
}

.contact-logo-mark {
    margin: 0 auto 0.8rem;
    display: flex;
    justify-content: center;
}

.join-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(244, 196, 109, 0.4));
}

.join-contact-box h3 {
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.join-sub {
    font-size: 0.85rem;
    color: rgba(255, 245, 235, 0.8);
    margin-bottom: 1.5rem;
}

.contact-detail-list {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.c-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.92rem;
    color: rgba(255, 248, 240, 0.9);
}

.c-icon {
    font-size: 1.1rem;
}

.page-hero {
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.page-intro {
    max-width: 850px;
    margin: 0 auto;
}

.page-intro h1 {
    font-size: clamp(1.75rem, 4.8vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--brown);
}

.hero-subtext {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    line-height: 1.75;
    color: var(--brown);
    max-width: 720px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.page-intro-text {
    flex: 1;
}

.page-intro-media {
    width: 340px;
    max-width: 100%;
    flex-shrink: 0;
}

.program-hero-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 3px solid var(--border-gold-glow);
    box-shadow: 0 15px 35px rgba(36, 12, 7, 0.22);
}

/* ==========================================
   RESPONSIVE OVERRIDES FOR MOBILE & TABLET
   ========================================== */
@media (max-width: 980px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.8rem);
        left: 0;
        right: 0;
        background: rgba(253, 245, 235, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border: 2px solid var(--border-gold-glow);
        border-radius: 24px;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.2rem;
        box-shadow: 0 15px 40px rgba(36, 12, 7, 0.25);
        z-index: 1000;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .page-intro-flex {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-intro-media {
        width: 280px;
        margin: 0 auto;
    }
    .program-strip,
    .lower-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .join-card-wrapper {
        grid-template-columns: 1fr;
        padding: 2.2rem 1.8rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 0;
    }

    .page-hero {
        padding: 2rem 0 1.2rem;
    }

    .program-strip,
    .lower-strip,
    .programs-grid,
    .benefits-grid-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .benefit-item-card {
        padding: 1.2rem 1rem;
        gap: 0.9rem;
    }

    .join-card-wrapper {
        padding: 1.8rem 1.2rem;
        border-radius: 24px;
        gap: 1.5rem;
    }

    .join-content h2 {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .join-highlights {
        flex-direction: column;
        align-items: stretch;
    }

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

    .join-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html, body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 1.2rem);
    }

    .site-header {
        width: calc(100% - 1.2rem);
        margin-top: 0.4rem;
    }

    .navbar {
        padding: 0.3rem 0.6rem;
    }

    .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .eyebrow::before, .eyebrow::after {
        content: ' • ';
    }

    .program-catalog-card .card-content {
        padding: 1.2rem 1rem 0.8rem;
    }

    .program-catalog-card .card-footer-action {
        padding: 0 1rem 1.2rem;
    }
}

/* ==========================================
   ABOUT PAGE EXCLUSIVE STYLES
   ========================================== */
.founders-quote-box {
    margin-top: 1.8rem;
    padding: 1.2rem 1.4rem;
    border-left: 4px solid var(--saffron);
    background: rgba(217, 98, 40, 0.08);
    border-radius: 0 16px 16px 0;
}

.quote-text {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--brown);
    margin-bottom: 0.4rem;
}

.quote-author {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--saffron);
}

.about-hero-card {
    background: linear-gradient(135deg, var(--mahogany), var(--espresso));
    border: 2px solid var(--border-gold-glow);
    border-radius: 32px;
    padding: 2.2rem 1.8rem;
    color: #ffffff;
    box-shadow: var(--shadow-heavy);
    text-align: center;
}

.about-card-logo {
    height: 75px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 4px 10px rgba(244, 196, 109, 0.4));
}

.about-hero-card h3 {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.about-tagline {
    display: inline-block;
    font-size: 0.82rem;
    color: rgba(255, 245, 235, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.8rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 155, 53, 0.3);
    border-radius: 18px;
    padding: 0.9rem 0.6rem;
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
}

.stat-lbl {
    font-size: 0.78rem;
    color: rgba(255, 248, 240, 0.85);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 155, 53, 0.35);
    border-radius: 24px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.12);
}

.pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.pillar-card h3 {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.pillar-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
}

.pillar-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 248, 240, 0.88);
    margin: 0;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2.2rem;
}

.method-card {
    background: rgba(255, 250, 244, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: 26px;
    padding: 2rem 1.6rem;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-metallic);
}

.method-step {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Cormorant Garamond', serif;
    color: var(--saffron);
    margin-bottom: 0.4rem;
}

.method-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    color: var(--brown);
}

.method-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
}

.method-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

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

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

/* ==========================================
   CURRICULUM ROADMAP / PATHWAY STYLES
   ========================================== */
.age-pathway-section {
    background: linear-gradient(135deg, rgba(46, 19, 11, 0.96), rgba(74, 32, 18, 0.96));
    border-top: 3px solid var(--border-gold-glow);
    border-bottom: 3px solid var(--border-gold-glow);
    color: #ffffff;
}

.age-pathway-section h2,
.age-pathway-section .eyebrow {
    color: var(--gold-light);
}

.age-pathway-section p {
    color: rgba(255, 245, 235, 0.88);
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    margin-top: 2.2rem;
}

.pathway-card {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 155, 53, 0.35);
    border-radius: 28px;
    padding: 2.2rem 1.6rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pathway-card:hover, .highlighted-pathway {
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.pathway-badge {
    display: inline-block;
    background: var(--gold-metallic);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.pathway-card h3 {
    font-size: 1.7rem;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.pathway-tagline {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.pathway-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 248, 240, 0.88);
    margin-bottom: 1.4rem;
}

.pathway-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gold-light);
    font-weight: 600;
}

@media (max-width: 980px) {
    .pathway-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CONTACT PAGE EXCLUSIVE STYLES
   ========================================== */
.contact-page-section {
    padding: 3rem 0 5rem;
}

.contact-layout-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3.5rem;
    align-items: flex-start;
}

/* Left Card Box */
.contact-card-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(36, 12, 7, 0.08);
    overflow: hidden;
}

.contact-card-header {
    padding: 1.1rem 1.6rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.contact-card-header h2 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.contact-card-body {
    padding: 1.8rem 1.6rem;
}

.contact-form-legacy {
    display: grid;
    gap: 1.2rem;
}

.form-row-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.form-row-two.align-start {
    align-items: flex-start;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #64748b;
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

/* Subject Radio Group */
.subject-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.radio-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.radio-item input[type="radio"] {
    accent-color: #2b3650;
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}

/* Captcha Badge & Row */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.captcha-badge {
    background: #0f172a;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.captcha-text {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    color: #22c55e;
    text-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
}

.captcha-wrapper input {
    width: 110px !important;
}

.captcha-refresh-btn {
    font-size: 1.1rem;
    padding: 0.3rem 0.5rem;
    background: #f1f5f9;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    color: #475569;
    transition: background 0.2s ease;
}

.captcha-refresh-btn:hover {
    background: #e2e8f0;
}

/* Send Message Button */
.btn-send-message {
    background: #2b3650;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 0.7rem 1.8rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(43, 54, 80, 0.2);
}

.btn-send-message:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* Right Side Contact Info Panel */
.contact-info-panel {
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid var(--border-gold);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(36, 12, 7, 0.1);
}

.info-brand-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.info-brand-subtitle {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.8rem;
    line-height: 1.3;
}

.info-address-box p {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.7;
    margin-bottom: 0.3rem;
}

.info-address-box .info-phone {
    margin-top: 1rem;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.05rem;
}

@media (max-width: 860px) {
    .contact-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 580px) {
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ==========================================
   PROGRAM DETAIL PAGES ENHANCEMENTS
   ========================================== */
.program-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 250, 244, 0.9);
    border: 1.5px solid var(--border-gold);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brown);
    box-shadow: 0 2px 8px rgba(36, 12, 7, 0.06);
}

.program-detail-card {
    background: rgba(255, 250, 244, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.8rem;
}

.program-detail-card h2 {
    font-size: 2rem;
    color: var(--brown);
    margin-bottom: 1rem;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.curriculum-module {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid var(--border-gold);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: 0 4px 15px rgba(36, 12, 7, 0.05);
}

.module-num {
    display: inline-block;
    background: var(--saffron);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.curriculum-module h3 {
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 0.4rem;
}

.curriculum-module p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--brown);
    margin-bottom: 0;
}

.program-faq-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.program-faq-item {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid var(--border-gold);
    border-radius: 18px;
    padding: 1.3rem 1.5rem;
}

.program-faq-item h4 {
    font-size: 1.15rem;
    color: var(--brown);
    margin-bottom: 0.4rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
}

.program-faq-item p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--brown);
    margin: 0;
}

@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}


