/* ==================== VARIABLES ==================== */
:root {
    --color-cream: #FDF8F3;
    /* --color-cream: black; */
    --color-warm-white: #FEFCFA;
    --color-sand: #F5EDE4;
    --color-sage: #9BAA8F;
    --color-sage-dark: #7A8F6F;
    --color-sage-light: #D4DDD0;
    --color-sage-pale: #E8EDE5;
    --color-terracotta: #C4846C;
    --color-terracotta-dark: #A66B54;
    --color-terracotta-light: #E8C4B8;
    --color-terracotta-pale: #F5E6E0;
    --color-amber: #D4A574;
    --color-amber-light: #F0DFC8;
    --color-text: #3D3D3B;
    --color-text-muted: #6A6A68;
    --color-text-light: #8A8A88;
    --color-hearth: #B85C38;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-display-hindi: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
    --font-body: 'Nunito Sans', -apple-system, sans-serif;
    --font-body-hindi: 'Noto Sans Devanagari', 'Nunito Sans', sans-serif;
    
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 4px 20px rgba(61, 61, 59, 0.06);
    --shadow-medium: 0 8px 40px rgba(61, 61, 59, 0.1);
    --shadow-lifted: 0 20px 60px rgba(61, 61, 59, 0.15);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[data-lang="hi"] body { font-family: var(--font-body-hindi); }
[data-lang="hi"] h1, [data-lang="hi"] h2, [data-lang="hi"] h3, [data-lang="hi"] h4,
[data-lang="hi"] .hero-tagline, [data-lang="hi"] .reflection-note {
    font-family: var(--font-display-hindi);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; }
p { font-size: 1.05rem; max-width: 65ch; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
section { padding: var(--space-3xl) 0; position: relative; }

/* ==================== ANIMATED BACKGROUND ==================== */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    background: rgba(253, 248, 243, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.nav.scrolled {
    padding: var(--space-xs) 0;
    background: rgba(253, 248, 243, 0.95);
    border-bottom-color: rgba(155, 170, 143, 0.15);
    box-shadow: var(--shadow-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    color: var(--color-text);
    flex: 1;
    min-width: 0;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
    transform: rotate(90deg);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

[data-lang="hi"] .nav-logo-text { font-family: var(--font-display-hindi); }

.nav-center {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(var(--space-sm), 1.8vw, var(--space-lg));
    list-style: none;
    white-space: nowrap;
}

.nav-link {
    font-size: clamp(0.82rem, 0.75rem + 0.25vw, 0.95rem);
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color 0.3s ease;
}
button.nav-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-terracotta));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover { color: var(--color-text); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Nav Dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-link--dropdown { display: inline-flex; align-items: center; gap: 3px; }
.nav-dropdown-chevron {
    width: 10px; height: 10px;
    transition: transform 0.2s;
    stroke: currentColor;
    opacity: 0.5;
}
.nav-dropdown-wrap:hover .nav-dropdown-chevron { transform: rotate(180deg); opacity: 1; }
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(155,170,143,0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(10px);
    z-index: 100;
}
.nav-dropdown-wrap:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}
.nav-dropdown-item {
    display: block;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
    white-space: nowrap;
}
a.nav-dropdown-item:hover { background: rgba(155,170,143,0.08); }
.nav-dropdown-item--soon {
    color: var(--color-text-muted);
    opacity: 0.5;
    font-style: italic;
    cursor: default;
}

/* Active item highlight inside Home dropdown */
.nav-explore-dropdown .nav-dropdown-item.is-active {
    background: rgba(155,170,143,0.10);
    color: var(--color-sage-dark);
    font-weight: 500;
}

.nav-right { display: flex; align-items: center; gap: var(--space-sm); flex: 1; min-width: 0; justify-content: flex-end; }

/* Language Toggle */
.lang-toggle {
    display: flex;
    background: var(--color-sand);
    border-radius: var(--radius-full);
    padding: 3px;
    position: relative;
    gap: 2px;
}

.lang-btn {
    padding: 5px 10px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--color-text);
}

.lang-btn.active {
    color: var(--color-text);
    background: var(--color-warm-white);
    box-shadow: var(--shadow-soft);
}

.nav-cta {
    padding: 10px var(--space-md);
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(122, 143, 111, 0.25);
    transition: box-shadow 0.3s ease;
}

.nav-cta:hover {
    box-shadow: 0 8px 25px rgba(122, 143, 111, 0.4);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 10;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: var(--radius-full);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon { transform: scale(1.15); }

.btn-primary {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(122, 143, 111, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 35px rgba(122, 143, 111, 0.4);
}

.btn-secondary {
    background: var(--color-warm-white);
    color: var(--color-text);
    border-color: var(--color-sage-light);
}

.btn-secondary:hover {
    background: var(--color-sage-pale);
    border-color: var(--color-sage);
}

.btn-warm {
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-hearth) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(184, 92, 56, 0.3);
}

.btn-warm:hover {
    box-shadow: 0 12px 35px rgba(184, 92, 56, 0.4);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-lg);
}

.hero-title {
    margin-bottom: var(--space-sm);
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    /* color: var(--color-terracotta); */
    color: #b84015;
    margin-bottom: var(--space-lg);
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 0 auto var(--space-xl);
    max-width: 720px;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    line-height: 1.8;
}

/* Journey Flow Styling in Hero — Interactive Voyage */
.journey-intro {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    text-align: center;
}

.voyage-ocean {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
    box-shadow:
        0 4px 24px rgba(79,143,133,0.15),
        inset 0 -2px 12px rgba(79,143,133,0.08);
}

.voyage-ocean:active { cursor: grabbing; }

.voyage-ocean canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.voyage-waypoints {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.voyage-waypoint {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s, transform 0.3s;
}

.waypoint-beacon {
    width: 0;
    height: 0;
    display: none;
}

.waypoint-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-top: 7px;
    white-space: nowrap;
    transition: all 0.35s ease;
}

.voyage-waypoint.active .waypoint-label {
    color: white;
    text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}

.voyage-waypoint.passed .waypoint-label {
    color: rgba(255,255,255,0.6);
}

.voyage-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: hintPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.6s;
}

.voyage-hint.hidden { opacity: 0; }

.voyage-hint svg {
    width: 18px;
    height: 18px;
    animation: hintSlide 3s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}
@keyframes hintSlide {
    0%, 100% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
}

.voyage-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    text-align: center;
    padding: 14px 20px;
    pointer-events: none;
}

.voyage-step-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: #3d3d3b;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.voyage-step-word {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* text-shadow:
        0 0 10px rgba(166,107,84,0.85),
        0 0 25px rgba(166,107,84,0.65),
        0 0 50px rgba(166,107,84,0.4),
        0 0 80px rgba(166,107,84,0.2),
        0 1px 3px rgba(0,0,0,0.25); */
}

.voyage-text.fading .voyage-step-desc {
    opacity: 0;
    transform: translateY(-4px);
}

@media (max-width: 640px) {
    .voyage-ocean { height: 220px; }
    .voyage-text { padding: 10px 14px; }
    .voyage-step-desc { font-size: 0.82rem; max-width: 280px; }
    .waypoint-label { font-size: 0.55rem; }
}

@media (max-width: 480px) {
    .voyage-ocean { height: 190px; }
    .voyage-step-desc { font-size: 0.76rem; }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
    animation: fadeUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    /* background: rgba(255, 255, 255, 0.7); */
    /* backdrop-filter: blur(10px); */
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    /* border: 1px solid rgba(155, 170, 143, 0.2); */
    /* transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; */
}

/* .hero-meta-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-sage);
    box-shadow: 0 4px 20px rgba(155, 170, 143, 0.15);
} */

.hero-meta-icon {
    width: 20px;
    height: 20px;
    color: var(--color-sage);
}

/* ==================== EVENTS DRAWER ==================== */

/* ── Events at-a-glance card (inside hero, top-right) ── */
.events-glance {
    position: absolute;
    right: 32px;
    top: 100px;
    width: 250px;
    padding: 14px 16px 12px;
    background: rgba(253,250,246,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(155,170,143,0.12);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(61,61,59,0.07);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: glanceIn 0.5s ease-out 0.6s both;
}
.events-glance:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(61,61,59,0.11);
}

.events-glance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.events-glance-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
}

.events-glance-arrow {
    width: 12px;
    height: 12px;
    color: var(--color-sage-dark, #7a8c6e);
    opacity: 0.35;
    transition: opacity 0.2s, transform 0.2s;
}

.events-glance:hover .events-glance-arrow {
    opacity: 0.8;
    transform: translateX(2px);
}

.events-glance-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(155,170,143,0.07);
}
.events-glance-row:last-child { border-bottom: none; }

.events-glance-date {
    font-family: 'Raleway', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--color-sage-dark, #7a8c6e);
    min-width: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}
.events-glance-date.ongoing {
    color: var(--color-terracotta);
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.events-glance-name {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.events-glance-tag {
    font-family: 'Raleway', sans-serif;
    font-size: 0.46rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}
.events-glance-tag.free {
    background: rgba(155,170,143,0.14);
    color: var(--color-sage-dark, #7a8c6e);
}
.events-glance-tag.paid {
    background: rgba(196,132,108,0.1);
    color: var(--color-terracotta);
}

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

/* ── Drawer panel ── */
.events-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: 360px;
    max-width: 92vw;
    height: 100vh;
    background: rgba(253,250,246,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(155,170,143,0.12);
    box-shadow: -8px 0 40px rgba(61,61,59,0.08);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.events-drawer.open {
    transform: translateX(0);
}

/* Overlay */
.events-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(61,61,59,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.events-drawer-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ── Header ── */
.events-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(155,170,143,0.1);
    flex-shrink: 0;
}
.events-drawer-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}
.events-drawer-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(155,170,143,0.12);
    border-radius: 8px;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.events-drawer-close:hover {
    background: rgba(155,170,143,0.06);
    border-color: rgba(155,170,143,0.25);
    color: var(--color-text);
}
.events-drawer-close svg {
    width: 16px;
    height: 16px;
}

/* ── Body (scrollable) ── */
.events-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(155,170,143,0.2) transparent;
}
.events-drawer-body::-webkit-scrollbar { width: 4px; }
.events-drawer-body::-webkit-scrollbar-track { background: transparent; }
.events-drawer-body::-webkit-scrollbar-thumb { background: rgba(155,170,143,0.25); border-radius: 4px; }

/* Upcoming section */
.events-upcoming {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Section divider */
.events-section-divider {
    display: none;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
}
.events-section-divider.visible {
    display: flex;
}
.events-section-divider::before,
.events-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(196,132,108,0.15);
}
.events-section-divider span {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    white-space: nowrap;
    opacity: 0.65;
}

/* Persistent section */
.events-persistent {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Event cards ── */
.event-card {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(155,170,143,0.1);
    border-radius: 12px;
    padding: 16px 16px 14px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(61,61,59,0.05);
}

.event-card--persistent {
    background: rgba(253,245,237,0.5);
    border-color: rgba(196,132,108,0.1);
}
.event-card--persistent:hover {
    box-shadow: 0 4px 16px rgba(196,132,108,0.06);
}

.event-card.no-tag {
    padding-top: 14px;
}

/* Tag badge */
.event-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    background: var(--color-sage-light);
    color: var(--color-sage-dark);
}
.event-card--persistent .event-tag {
    background: rgba(196,132,108,0.1);
    color: var(--color-terracotta);
}

/* Card content */
.event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-terracotta);
    margin-bottom: 4px;
}
.event-date svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.event-time {
    font-size: 0.72rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.event-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2px;
    line-height: 1.35;
}

.event-subtitle {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-style: italic;
}

.event-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    flex-grow: 1;
}

/* Persistent card link */
.event-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-terracotta);
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.2s ease;
}
.event-link:hover { gap: 10px; }
.event-link svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
}
.event-link:hover svg { transform: translateX(2px); }

/* ── Responsive ── */
@media (max-width: 640px) {
    .events-glance {
        right: 12px;
        top: 100px;
        width: auto;
        max-width: 110px;
        padding: 8px 10px 6px;
        border-radius: 10px;
    }
    .events-glance-label {
        font-size: 0.48rem;
    }
    .events-glance-header {
        margin-bottom: 5px;
    }
    .events-glance-arrow {
        width: 10px;
        height: 10px;
    }
    .events-glance-row {
        gap: 6px;
        padding: 3px 0;
    }
    .events-glance-date {
        font-size: 0.46rem;
        min-width: 36px;
    }
    .events-glance-name {
        font-size: 0.56rem;
    }
    .events-glance-tag { display: none; }
    .events-drawer {
        width: 100%;
        max-width: 100vw;
    }
    .events-drawer-header {
        padding: 16px 18px 14px;
    }
    .events-drawer-body {
        padding: 14px 16px 20px;
    }
    .event-card {
        padding: 14px 14px 12px;
    }
    .event-title { font-size: 0.94rem; }
    .event-desc { font-size: 0.76rem; }
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px var(--space-md);
    background: linear-gradient(135deg, var(--color-sage-pale) 0%, var(--color-sage-light) 100%);
    color: var(--color-sage-dark);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(155, 170, 143, 0.3);
    transition: background 1s ease, color 1s ease;
}

.badge-icon { width: 18px; height: 18px; }
.section-title { margin-bottom: var(--space-sm); transition: color 1s ease; }
.section-subtitle { color: var(--color-text-muted); font-size: 1.15rem; line-height: 1.7; transition: color 1s ease; }

/* ==================== JOURNEY SECTION ==================== */
.journey {
    background: var(--color-warm-white);
    position: relative;
    overflow: hidden;
}

.journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--color-cream), var(--color-warm-white));
    pointer-events: none;
}

.journey-card {
    position: relative;
    background: var(--color-cream);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(155, 170, 143, 0.2);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Invisible hover buffer extending below the card */
.journey-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 20px;
}

.journey-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-sage-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.journey-card.free .journey-card-glow {
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-amber));
}

.journey-card:hover {
    box-shadow: var(--shadow-lifted);
    border-color: var(--color-sage-light);
}

.journey-card:hover .journey-card-glow { transform: scaleX(1); }

.journey-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.journey-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sage-pale);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: var(--color-sage-dark);
    transition: transform 0.3s ease, background 0.3s ease;
}

.journey-card-icon svg { width: 36px; height: 36px; }

.journey-card:hover .journey-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-sage-light);
}

.journey-card.free .journey-card-icon {
    background: var(--color-terracotta-pale);
    color: var(--color-terracotta-dark);
}

.journey-card.free:hover .journey-card-icon { background: var(--color-terracotta-light); }

.journey-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-sage-light);
    color: var(--color-sage-dark);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.journey-card.free .journey-card-badge {
    background: linear-gradient(135deg, var(--color-terracotta-light) 0%, var(--color-amber-light) 100%);
    color: var(--color-hearth);
}

.journey-card-title { font-size: 1.5rem; margin-bottom: var(--space-2xs); line-height: 1.3; }

.journey-card-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-terracotta);
    font-size: 1.05rem;
}

.journey-card-text { color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; }

.journey-card-theme {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px dashed rgba(155, 170, 143, 0.3);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-sage-dark);
    opacity: 0.8;
}

.journey-card-number {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-sage-light);
    opacity: 0.3;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.journey-card:hover .journey-card-number {
    opacity: 0.5;
    transform: scale(1.1);
}

/* Journey Path Animation */

/* IMPORTANT:
   - Edit dot positions per step using these CSS vars (percentages are relative to the card box).
   - You can go outside the card by using negative / >100% values (e.g. -10% or 110%).
*/
.journey-card {
    --journey-anchor-x: 50%;
    --journey-anchor-y: 18%;
}

/* Optional per-step tweaks (edit these) */
.journey-card[data-step="1"] { --journey-anchor-x: 82%; --journey-anchor-y: 18%; }
.journey-card[data-step="2"] { --journey-anchor-x: 82%; --journey-anchor-y: 50%; }
.journey-card[data-step="3"] { --journey-anchor-x: 18%; --journey-anchor-y: 48%; }
.journey-card[data-step="4"] { --journey-anchor-x: 18%; --journey-anchor-y: 22%; }

/* Layout (this got removed previously; keeping it minimal so card positions return to normal) */
.journey-wrapper {
    position: relative;
    width: 100%;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

/* The SVG overlay (does not affect layout) */
.journey-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;

    /* Start hidden; JS will turn it on when section enters view */
    opacity: 0;
    transition: opacity 0.6s ease;
}

.journey-wrapper.path-on .journey-path {
    opacity: 0.7;
}

/* DOTTED LINE (both the faint base + the colorful "active" layer) */
.journey-path-bg,
.journey-path-line {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;

    /* Dot + gap (tweak these two numbers for dot size/spacing) */
    stroke-dasharray: 1 16;
    stroke-dashoffset: 0;
}

.journey-path-bg {
    stroke: var(--color-sage-light);
    opacity: 0.35;
}

.journey-path-line {
    stroke: url(#pathGradient);
    opacity: 0.9;
    filter: drop-shadow(0 0 6px rgba(196, 132, 108, 0.25));
}

/* Make the dots "travel" along the path (1 → 4 direction) */
@keyframes dotsDrift {
    to { stroke-dashoffset: -220; }
}

.journey-wrapper.path-on .journey-path-bg {
    animation: dotsDrift 12s linear infinite;
}

.journey-wrapper.path-on .journey-path-line {
    animation: dotsDrift 4s linear infinite;
}

/* Mobile: keep it visible, just a bit subtler */
@media (max-width: 768px) {
    .journey-path-bg,
    .journey-path-line {
        stroke-width: 3;
        opacity: 0.65;
    }
    .journey-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .journey-wrapper.path-on .journey-path-bg,
    .journey-wrapper.path-on .journey-path-line {
        animation: none !important;
    }
}


/* ==================== RHYTHM SECTION ==================== */
.rhythm {
    position: relative;
    overflow: hidden;
    /* Background will be controlled by JS for day/night cycle */
    background: linear-gradient(135deg, var(--color-sage-pale) 0%, var(--color-sand) 50%, var(--color-amber-light) 100%);
    transition: background 1s ease;
}

.rhythm-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.rhythm-content {
    position: relative;
    z-index: 2;
}

.time-slots-wrapper { margin-bottom: var(--space-2xl); }

.time-slots-label {
    text-align: center;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.time-slots { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

.time-slot {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-warm-white);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* cursor: pointer; */
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 1s ease, transform 0.3s ease;
}

.time-slot:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--color-sage-light);
}

.time-slot-icon {
    width: 24px;
    height: 24px;
    color: var(--color-amber);
    transition: transform 0.3s ease, color 1s ease;
}

.time-slot:hover .time-slot-icon { transform: rotate(15deg); }

.time-slot span { transition: color 1s ease; }

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
}

.schedule-card {
    position: relative;
    background: var(--color-warm-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
    transition: box-shadow 0.3s ease, background 1s ease;
}

/* Hover buffer */
.schedule-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 20px;
}

.schedule-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-terracotta));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.schedule-card:hover {
    box-shadow: var(--shadow-medium);
}

.schedule-card:hover::before { transform: scaleX(1); }

.schedule-card-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    color: var(--color-sage);
    transition: transform 0.3s ease, color 0.3s ease;
}

.schedule-card:hover .schedule-card-icon-wrapper {
    transform: scale(1.1);
    color: var(--color-terracotta);
}

.schedule-card-week {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 1s ease;
}

.schedule-card-title { font-size: 1.2rem; margin-bottom: var(--space-xs); transition: color 1s ease; }

.schedule-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-sage-pale) 100%);
    color: var(--color-sage-dark);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

/* Paid badge — warm terracotta to differentiate from free sage badges */
.schedule-card-badge[data-i18n="rhythm.card2.badge"] {
    background: linear-gradient(135deg, var(--color-terracotta-light) 0%, var(--color-amber-light) 100%);
    color: var(--color-terracotta-dark);
}

.schedule-card-text { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; transition: color 1s ease; }

.upcoming-topics {
    background: var(--color-warm-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.upcoming-topics h4 { margin-bottom: var(--space-md); color: var(--color-text); }

.topics-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.topic-tag {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-cream);
    border-radius: var(--radius-md);
    font-size: 1rem;
    border: 1px solid var(--color-sage-light);
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
}

.topic-tag:hover {
    border-color: var(--color-sage);
    background: var(--color-warm-white);
    padding-left: calc(var(--space-md) + 8px);
}

.topic-tag-month {
    font-weight: 700;
    color: var(--color-warm-white);
    background: var(--color-sage);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    min-width: 50px;
    text-align: center;
}

.topic-tag-text { color: var(--color-text); flex: 1; text-align: left; }

.topic-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-sage);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-tag:hover .topic-arrow { opacity: 1; }

/* ==================== PRICING SECTION ==================== */
.pricing { background: var(--color-warm-white); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1050px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
}

/* Hover buffer */
.pricing-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 20px;
}

.pricing-card-inner {
    background: var(--color-cream);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid var(--color-sage-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--color-sage);
    transition: height 0.3s ease;
}

.pricing-card:hover .pricing-card-inner {
    border-color: var(--color-sage);
    box-shadow: var(--shadow-lifted);
}

.pricing-card:hover .pricing-card-inner::before { height: 8px; }

.pricing-card.featured .pricing-card-inner {
    border-color: var(--color-sage);
    box-shadow: var(--shadow-lifted);
}

.pricing-card.featured .pricing-card-inner::before {
    height: 6px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-terracotta), var(--color-amber));
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-hearth) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    white-space: nowrap;
    z-index: 1;
}

.pricing-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--color-sage);
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-icon-wrapper { transform: scale(1.15) rotate(5deg); }

.pricing-name { font-size: 1.5rem; margin-bottom: var(--space-xs); }

.pricing-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-sage-dark);
    margin-bottom: var(--space-2xs);
    line-height: 1.1;
}

.pricing-amount.free { color: var(--color-terracotta); }

.pricing-period { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: var(--space-md); }

.pricing-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-sage-light), transparent);
    margin: 0 auto var(--space-md);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--color-sage-pale);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8F6F' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ==================== COMPASSION SECTION ==================== */
.compassion {
    background: linear-gradient(135deg, var(--color-terracotta-pale) 0%, var(--color-amber-light) 50%, var(--color-sand) 100%);
    position: relative;
    overflow: hidden;
}

.compassion-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.compassion .container {
    position: relative;
    z-index: 1;
}

.compassion-card {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(253, 251, 247, 0.72);
    backdrop-filter: blur(6px);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lifted);
    position: relative;
    overflow: hidden;
}

.compassion-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-amber), var(--color-sage));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.compassion-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px var(--space-md);
    background: linear-gradient(135deg, var(--color-amber-light) 0%, var(--color-terracotta-light) 100%);
    color: var(--color-hearth);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.compassion-title { margin-bottom: var(--space-sm); }

.compassion-duration {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
    justify-self: center;
}

.compassion-text {
    color: var(--color-text-muted);
    margin: 0 auto var(--space-lg);
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.compassion-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
    flex-wrap: wrap;
    padding: var(--space-md);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
}

.compassion-original {
    font-size: 1.5rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.compassion-arrow { width: 24px; height: 24px; color: var(--color-sage); }

.compassion-special {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-hearth);
}

.compassion-savings {
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-hearth) 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
}

.compassion-discount-note {
    font-size: 0.85rem;
    color: var(--color-hearth);
    font-weight: 600;
    font-style: normal;
    margin: var(--space-sm) auto var(--space-lg);
    max-width: 480px;
    line-height: 1.6;
    text-align: center;
    padding: var(--space-xs) var(--space-md);
    background: rgba(184, 92, 56, 0.08);
    border-radius: var(--radius-sm);
}

/* ==================== REFLECTION SECTION ==================== */
.reflection { 
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.reflection-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* Pricing Canvas */
.pricing {
    position: relative;
    overflow: hidden;
    background: var(--color-sand);
}

.pricing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.reflection-content { 
    max-width: 900px; 
    margin: 0 auto; 
    text-align: center;
    position: relative;
    z-index: 1;
}

.reflection-content .section-subtitle {
    margin: 0 auto;
}

.reflection-visual { 
    position: relative; 
    margin: var(--space-xl) 0; 
    padding: var(--space-xl) var(--space-lg);
    /* background: var(--color-warm-white); */
    /* border-radius: var(--radius-xl); */
    /* border: 1px solid rgba(155, 170, 143, 0.2); */
    opacity: 0.85;
}

.reflection-path {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* Dotted connecting line */
.reflection-line {
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: transparent;
    border-top: 2px dashed var(--color-sage-light);
    z-index: 0;
}

.reflection-stage { 
    position: relative; 
    z-index: 1; 
    text-align: center;
    flex: 1;
    max-width: 160px;
}

.reflection-stage-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border: 2px solid var(--color-sage-light);
    border-radius: 50%;
    margin: 0 auto var(--space-sm);
    box-shadow: var(--shadow-soft);
    color: var(--color-sage-dark);
    transition: all 0.3s ease;
}

/* Color progression for each stage */
.reflection-stage:nth-of-type(1) .reflection-stage-icon-wrapper { 
    border-color: var(--color-sage); 
    color: var(--color-sage);
}
.reflection-stage:nth-of-type(2) .reflection-stage-icon-wrapper { 
    border-color: var(--color-sage-light); 
    color: var(--color-sage-dark);
}
.reflection-stage:nth-of-type(3) .reflection-stage-icon-wrapper { 
    border-color: var(--color-terracotta-light); 
    color: var(--color-terracotta);
}
.reflection-stage:nth-of-type(4) .reflection-stage-icon-wrapper { 
    border-color: var(--color-terracotta); 
    color: var(--color-hearth);
}

.reflection-stage:hover .reflection-stage-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(155, 170, 143, 0.2);
    background: var(--color-warm-white);
}

.reflection-stage-icon-wrapper svg { 
    width: 32px; 
    height: 32px; 
}

.reflection-stage-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
}

.reflection-note {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-terracotta);
    font-size: 1.2rem;
    margin-top: var(--space-lg);
    justify-self: center;
}

/* Reflection responsive */
@media (max-width: 768px) {
    .reflection-path {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-lg);
    }
    .reflection-line {
        display: none;
    }
    .reflection-stage {
        flex: 0 0 40%;
    }
    .reflection-visual {
        padding: var(--space-lg) var(--space-md);
    }
}

@media (max-width: 480px) {
    .reflection-stage {
        flex: 0 0 100%;
        max-width: 180px;
    }
}

/* ==================== AUDIENCE SECTION ==================== */
.audience {
    background: var(--color-warm-white);
    position: relative;
    overflow: hidden;
}

.audience-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.audience .container {
    position: relative;
    z-index: 1;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 950px;
    margin: 0 auto;
}

.audience-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-sage-light);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover buffer */
.audience-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 15px;
}

.audience-item:hover {
    border-color: var(--color-sage);
    box-shadow: 0 12px 40px rgba(155, 170, 143, 0.2);
}

.audience-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sage-pale);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: var(--color-sage-dark);
    transition: transform 0.3s ease, background 0.3s ease;
}

.audience-icon svg { width: 28px; height: 28px; }

.audience-item:hover .audience-icon {
    background: var(--color-sage-light);
    transform: scale(1.1);
}

.audience-text { font-size: 1rem; color: var(--color-text); line-height: 1.4; }

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white;
    text-align: center;
}

.cta-bg { position: absolute; inset: 0; opacity: 0; }

.cta-content { position: relative; max-width: 750px; margin: 0 auto; }
.cta-content p { margin-left: auto; margin-right: auto; }

.cta h2 { color: white; margin-bottom: var(--space-md); }

.cta-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    line-height: 2;
}

.cta-text p { margin-bottom: 0; max-width: none; }

.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

.cta .btn-primary {
    background: white;
    color: var(--color-sage-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta .btn-warm {
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-hearth) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ==================== CONTACT FLOAT ==================== */
.contact-float {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sage);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.contact-float svg { width: 22px; height: 22px; }

.contact-float:hover {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 30px rgba(155, 170, 143, 0.5);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    align-items: start;
}

.footer-links-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-logo-icon { width: 32px; height: 32px; }

.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 320px; }

.footer-links h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: var(--space-xs); }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}


/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    z-index: 999;
    padding: 100px var(--space-md) var(--space-lg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-family: var(--font-body);
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    font-size: 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    padding: var(--space-sm);
    transition: color 0.3s ease;
}

.mobile-menu a:hover { color: var(--color-sage); }

/* Mobile Explore Group */
.mobile-menu-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sage);
    padding: 0 var(--space-sm);
    margin-bottom: calc(-1 * var(--space-sm));
}
.mobile-explore-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(155,170,143,0.12);
}
.mobile-explore-group a {
    font-size: 1.05rem;
    padding: 6px var(--space-sm);
    color: var(--color-text-muted);
}
.mobile-explore-group a:hover {
    color: var(--color-sage);
}

.mobile-lang-toggle {
    display: none; /* Nav bar lang toggle stays visible, so hide this duplicate */
    margin-top: var(--space-md);
    justify-content: center;
}

.mobile-lang-toggle .lang-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .nav-center { display: none; }
    .nav-mobile-toggle { display: flex; }
    .journey-grid, .schedule-grid, .pricing-grid, .audience-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 600px) {
    section { padding: var(--space-2xl) 0; }
    .hero-buttons, .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .hero-meta { flex-direction: row; flex-wrap: wrap; gap: 6px 10px; }
    .hero-meta-item { padding: 4px 8px; font-size: 0.72rem; gap: 4px; }
    .hero-meta-icon { width: 14px; height: 14px; }
    .time-slots { flex-direction: column; align-items: center; }
    .compassion-card { padding: var(--space-lg); }
    .compassion-pricing { flex-direction: column; gap: var(--space-sm); }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: var(--space-lg); }
    .footer-brand h3 { justify-content: center; }
    .footer-brand p { margin: 0 auto; max-width: 280px; font-size: 0.88rem; }
    .footer-links-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
    .footer-links h4 { margin-bottom: var(--space-sm); font-size: 0.9rem; }
    .footer-links a { font-size: 0.85rem; }
    .footer-links li { margin-bottom: 4px; }
}

/* ── Narrow mobile (≤500px) — compact everything ── */
@media (max-width: 500px) {
    .hero {
        padding-top: 80px;
        padding-bottom: var(--space-lg);
        min-height: auto;
    }
    .hero-content {
        padding: var(--space-md) var(--space-sm);
    }
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: var(--space-md);
        line-height: 1.6;
    }
    .journey-intro {
        font-size: 0.92rem;
    }
    .hero-buttons {
        margin-bottom: var(--space-md);
    }
    .hero-meta {
        gap: 4px 8px;
    }
    .hero-meta-item {
        padding: 3px 6px;
        font-size: 0.65rem;
        gap: 3px;
    }
    .hero-meta-icon {
        width: 12px;
        height: 12px;
    }

    /* Events card — collapse to tiny pill */
    .events-glance {
        top: 89px;
        right: 8px;
        width: auto;
        max-width: none;
        padding: 4px 10px;
        border-radius: 20px;
    }
    .events-glance-header { margin-bottom: 0; }
    .events-glance-list { display: none; }
    .events-glance-label { font-size: 0.5rem; }
    .events-glance-arrow { width: 9px; height: 9px; }

    /* Voyage — compact ocean + staggered readable labels */
    .voyage-ocean { height: 160px; }
    .voyage-text { padding: 6px 10px; }
    .voyage-step-desc { font-size: 0.7rem; max-width: 220px; }
    .waypoint-label {
        font-size: 0.5rem;
        letter-spacing: 0.04em;
    }

    /* Monthly Rhythm — compact */
    .time-slots-label { font-size: 0.85rem; margin-bottom: var(--space-sm); }
    .time-slot { padding: var(--space-xs) var(--space-md); font-size: 0.82rem; }
    .time-slot-icon { width: 18px; height: 18px; }
    .time-slots-wrapper { margin-bottom: var(--space-lg); }
    .schedule-card { padding: var(--space-md); }
    .schedule-card-icon-wrapper { width: 42px; height: 42px; margin-bottom: var(--space-xs); }
    .schedule-card-week { font-size: 0.72rem; }
    .schedule-card-title { font-size: 1rem; }
    .schedule-card-badge { font-size: 0.65rem; padding: 3px 8px; }
    .schedule-card-text { font-size: 0.82rem; line-height: 1.5; }
    .schedule-grid { gap: var(--space-sm); margin-bottom: var(--space-lg); }

    /* Logo tighten */
    .logo-grid--hero { gap: 3px 2px; }

    /* Nav — hide Register CTA, ensure hamburger visible */
    .nav-cta { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-right { gap: 6px; }

    /* Sections */
    section { padding: var(--space-xl) 0; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.88rem; }

    /* Journey cards — compact */
    .journey-card {
        padding: var(--space-md);
    }
    .journey-card-header {
        gap: var(--space-sm);
        margin-bottom: var(--space-sm);
    }
    .journey-card-icon {
        width: 42px;
        height: 42px;
    }
    .journey-card-icon svg { width: 24px; height: 24px; }
    .journey-card-badge { font-size: 0.65rem; padding: 3px 8px; }
    .journey-card-title { font-size: 1.15rem; }
    .journey-card-subtitle { font-size: 0.88rem; }
    .journey-card-text { font-size: 0.85rem; line-height: 1.55; }
    .journey-card-theme { font-size: 0.78rem; margin-top: var(--space-xs); padding-top: var(--space-xs); }
    .journey-card-number { font-size: 2.5rem; }

    /* Pricing cards — compact */
    .pricing-card-inner { padding: var(--space-md); }
    .pricing-icon-wrapper { width: 44px; height: 44px; margin-bottom: var(--space-sm); }
    .pricing-name { font-size: 1.15rem; }
    .pricing-amount { font-size: 2.2rem; }
    .pricing-period { font-size: 0.8rem; margin-bottom: var(--space-sm); }
    .pricing-features li { font-size: 0.82rem; padding: 3px 0; }
    .pricing-features li::before { width: 16px; height: 16px; background-size: 10px; }

    /* Compassion card — compact */
    .compassion-card { padding: var(--space-lg) var(--space-md); }
    .compassion-badge { font-size: 0.78rem; padding: 5px var(--space-sm); }
    .compassion-title { font-size: 1.3rem; }
    .compassion-duration { font-size: 1rem; margin-bottom: var(--space-sm); }
    .compassion-text { font-size: 0.88rem; line-height: 1.6; margin-bottom: var(--space-md); }
    .compassion-special { font-size: 2.2rem; }
    .compassion-original { font-size: 1.2rem; }
    .compassion-pricing { padding: var(--space-sm); gap: var(--space-sm); }
    .compassion-savings { font-size: 0.7rem; padding: 3px 8px; }
}

/* ==================== UTILITIES ==================== */
section[id] { scroll-margin-top: 200px; }
.page-hero { scroll-margin-top: 200px; }

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--color-sage);
    outline-offset: 3px;
}

::selection {
    background: var(--color-sage-light);
    color: var(--color-text);
}
/* ==================== PAGE-SPECIFIC STYLES ====================
   Additional styles for About and Contact pages
   Add this to the end of styles.css or include as separate file
   ============================================================== */

/* ==================== PAGE HERO (for subpages) ==================== */
.page-hero {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
    position: relative;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--color-text);
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-style: italic;
    font-family: var(--font-display);
    justify-self: center
}

[data-lang="hi"] .page-hero-subtitle {
    font-family: var(--font-display-hindi);
}

/* ==================== CONTENT SECTIONS ==================== */
.content-section {
    padding: var(--space-2xl) 0;
    background: var(--color-warm-white);
    position: relative;
    z-index: 2;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: var(--space-xl);
}

.content-block h2 {
    margin-bottom: var(--space-md);
    color: var(--color-sage-dark);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.content-block p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* ==================== VALUES SECTION ==================== */
.values-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-sage-pale) 0%, var(--color-cream) 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.values-section .reflection-canvas {
    opacity: 0.5;
}

.values-section .container {
    position: relative;
    z-index: 1;
}

.values-section .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.values-section .section-header h2 {
    margin-bottom: var(--space-xs);
}

.values-section .section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.value-card {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--color-sage);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    color: var(--color-text);
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0 auto;
}

/* ==================== STORY SECTION ==================== */
.story-section {
    padding: var(--space-2xl) 0;
    background-color: #F5EDE4; /* Solid fallback */
    background: linear-gradient(135deg, #E8EDE5 0%, #F5EDE4 50%, #F5E6E0 100%);
    position: relative;
    z-index: 2;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(155, 170, 143, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(196, 132, 108, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.story-content h2 {
    margin-bottom: var(--space-lg);
    color: var(--color-terracotta-dark);
}

.story-content p {
    color: var(--color-text-muted);
    margin: 0 auto var(--space-md);
    line-height: 1.9;
    font-size: 1.1rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* ==================== ABOUT PAGE ==================== */

/* Tighter section padding for about page */
.content-section:has(.about-intro) { padding: var(--space-xl) 0 var(--space-lg); }
.about-spaces-section,
.about-vm-section,
.about-founder-section { position: relative; z-index: 2; }
/* Compact the story and values sections on about page */
.story-section:has(.about-why-lead) { padding: var(--space-xl) 0; }
.values-section:has(.about-offerings-grid) { padding: var(--space-xl) 0; }

/* Intro prose */
.about-intro {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    justify-self: center;
}
.about-intro p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: var(--space-sm);
}
.about-lead {
    font-family: var(--font-display);
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--color-text) !important;
    line-height: 1.5 !important;
    text-align: center;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md) !important;
    border-bottom: 1px solid rgba(155,170,143,0.15);
}
.about-intro p:last-child { margin-bottom: 0; }

/* Spaces callout card */
.about-spaces-section {
    padding: var(--space-lg) 0 var(--space-xl);
    background: var(--color-warm-white);
}
.about-spaces-card {
    max-width: 620px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(155,170,143,0.06), rgba(196,132,108,0.06));
    border: 1px solid rgba(155,170,143,0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
}
.about-spaces-card h2 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-sage-dark);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}
.about-spaces-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-md);
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.about-spaces-list li {
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    padding-left: 1.5em;
    line-height: 1.45;
}
.about-spaces-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-sage), var(--color-terracotta));
    box-shadow: 0 0 0 2px rgba(155,170,143,0.08);
}
.about-tagline {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-terracotta-dark);
    line-height: 1.45;
    margin: 0;
}

/* Vision & Mission */
.about-vm-section {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}
.about-vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}
.about-vm-card {
    background: var(--color-warm-white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border-top: 3px solid var(--color-sage);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-vm-card:nth-child(2) {
    border-top-color: var(--color-terracotta);
}
.about-vm-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}
.about-vm-icon {
    width: 40px;
    height: 40px;
    color: var(--color-sage);
    margin-bottom: var(--space-sm);
}
.about-vm-card:nth-child(2) .about-vm-icon {
    color: var(--color-terracotta);
}
.about-vm-icon svg { width: 100%; height: 100%; }
.about-vm-card h2 {
    font-size: 1.4rem;
    color: var(--color-sage-dark);
    margin-bottom: var(--space-sm);
}
.about-vm-card:nth-child(2) h2 {
    color: var(--color-terracotta-dark);
}
.about-vm-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Offerings grid */
.about-offerings-grid {
    grid-template-columns: repeat(3, 1fr);
}
.about-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage-dark);
    background: var(--color-sage-pale);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xs);
}
.about-offerings-note {
    text-align: center;
    max-width: 640px;
    margin: var(--space-lg) auto 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    font-style: italic;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius-lg);
}

/* Why We Exist — pull quotes */
.about-why-lead {
    font-size: 1.1rem !important;
}
.about-why-emphasis {
    font-family: var(--font-display);
    font-size: 1.6rem !important;
    font-weight: 500;
    color: var(--color-terracotta) !important;
    margin-bottom: var(--space-md) !important;
}
.about-why-quotes {
    border-left: 3px solid var(--color-sage);
    padding-left: var(--space-md);
    margin: var(--space-md) auto;
    max-width: 560px;
    text-align: left;
}
.about-why-quotes p {
    font-family: var(--font-display);
    font-size: 1.05rem !important;
    font-style: italic;
    color: var(--color-text) !important;
    line-height: 1.5;
    margin-bottom: var(--space-xs) !important;
}
.about-why-quotes p:last-child { margin-bottom: 0 !important; }

/* Founder section */
.about-founder-section {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}
.about-founder {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.about-founder-portrait {
    width: 160px;
    height: 210px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    border: 3px solid rgba(155,170,143,0.12);
    position: relative;
}
.about-founder-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    pointer-events: none;
}
.about-founder-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.about-founder-body h2 {
    color: var(--color-sage-dark);
    margin-bottom: 4px;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}
.about-founder-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-terracotta-dark);
    font-weight: 500;
    margin-bottom: 4px;
}
.about-founder-role {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--color-sage-dark);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-md);
    padding: 3px 12px;
    background: var(--color-sage-pale);
    border-radius: var(--radius-full);
}
.about-founder-body p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.93rem;
    margin-bottom: var(--space-sm);
}
.about-founder-body p:last-child { margin-bottom: 0; }

/* CTA closing line */
.cta-closing {
    margin-top: var(--space-sm);
    font-style: italic;
    opacity: 0.85;
    font-size: 0.9rem;
}

/* ---- About page responsive ---- */

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

@media (max-width: 768px) {
    .content-section:has(.about-intro) { padding: var(--space-lg) 0; }
    .story-section:has(.about-why-lead) { padding: var(--space-lg) 0; }
    .values-section:has(.about-offerings-grid) { padding: var(--space-lg) 0; }
    .about-lead { font-size: 1.1rem !important; }
    .about-intro p { font-size: 0.9rem; line-height: 1.65; }
    .about-spaces-section { padding: var(--space-md) 0 var(--space-lg); }
    .about-spaces-card { padding: var(--space-md) var(--space-sm); }
    .about-spaces-card h2 { font-size: 1.05rem; margin-bottom: var(--space-sm); }
    .about-spaces-list { gap: 4px; margin-bottom: var(--space-sm); }
    .about-spaces-list li { font-size: 0.9rem; }
    .about-tagline { font-size: 0.95rem; }
    .about-vm-section { padding: var(--space-lg) 0; }
    .about-vm-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .about-vm-card { padding: var(--space-md); }
    .about-vm-icon { width: 36px; height: 36px; margin-bottom: var(--space-xs); }
    .about-vm-card h2 { font-size: 1.2rem; margin-bottom: var(--space-xs); }
    .about-vm-card p { font-size: 0.9rem; line-height: 1.65; }
    .about-why-emphasis { font-size: 1.35rem !important; margin-bottom: var(--space-sm) !important; }
    .about-why-quotes { padding-left: var(--space-sm); margin: var(--space-sm) auto; }
    .about-why-quotes p { font-size: 0.95rem !important; }
    .about-founder-section { padding: var(--space-lg) 0; }
    .about-founder {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: var(--space-md);
    }
    .about-founder-portrait { width: 130px; height: 170px; }
    .about-founder-role { margin-left: auto; margin-right: auto; }
    .about-founder-body h2 { font-size: 1.25rem; }
    .about-founder-body h3 { font-size: 1.1rem; }
    .about-founder-body p { font-size: 0.88rem; line-height: 1.65; margin-bottom: var(--space-xs); }
}

@media (max-width: 640px) {
    .about-offerings-grid { grid-template-columns: 1fr; }
    .about-spaces-list { max-width: none; }
    .about-why-quotes {
        border-left: none;
        border-top: 2px solid var(--color-sage);
        padding-left: 0;
        padding-top: var(--space-sm);
        text-align: center;
    }
    .about-offerings-note { padding: var(--space-xs) var(--space-sm); font-size: 0.84rem; }
}

@media (max-width: 480px) {
    .content-section:has(.about-intro) { padding: var(--space-md) 0; }
    .story-section:has(.about-why-lead) { padding: var(--space-md) 0; }
    .values-section:has(.about-offerings-grid) { padding: var(--space-md) 0; }
    .about-lead {
        font-size: 1rem !important;
        padding-bottom: var(--space-sm);
        margin-bottom: var(--space-sm) !important;
    }
    .about-intro p { font-size: 0.86rem; line-height: 1.6; margin-bottom: var(--space-xs); }
    .about-spaces-section { padding: var(--space-sm) 0 var(--space-md); }
    .about-spaces-card { padding: var(--space-sm); border-radius: var(--radius-lg); }
    .about-spaces-card h2 { font-size: 0.95rem; margin-bottom: var(--space-xs); }
    .about-spaces-list { gap: 3px; margin-bottom: var(--space-xs); }
    .about-spaces-list li { font-size: 0.84rem; padding-left: 1.3em; line-height: 1.4; }
    .about-spaces-list li::before { width: 6px; height: 6px; }
    .about-tagline { font-size: 0.88rem; }
    .about-vm-section { padding: var(--space-md) 0; }
    .about-vm-grid { gap: var(--space-sm); }
    .about-vm-card { padding: var(--space-sm); }
    .about-vm-icon { width: 32px; height: 32px; }
    .about-vm-card h2 { font-size: 1.08rem; }
    .about-vm-card p { font-size: 0.85rem; line-height: 1.55; }
    .about-why-emphasis { font-size: 1.15rem !important; }
    .about-why-quotes p { font-size: 0.88rem !important; line-height: 1.45; }
    .about-founder-section { padding: var(--space-md) 0; }
    .about-founder { gap: var(--space-sm); }
    .about-founder-portrait { width: 110px; height: 140px; border-width: 2px; }
    .about-founder-body h2 { font-size: 1.1rem; }
    .about-founder-body h3 { font-size: 1rem; }
    .about-founder-body p { font-size: 0.84rem; line-height: 1.55; }
    .about-founder-role { font-size: 0.72rem; padding: 2px 10px; margin-bottom: var(--space-sm); }
    .cta-closing { font-size: 0.84rem; }
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: var(--space-2xl) 0;
    background: var(--color-warm-white);
    position: relative;
    z-index: 2;
}

.contact-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.contact-card .contact-method-icon {
    margin: 0 auto var(--space-sm);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.contact-card a {
    color: var(--color-terracotta);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin: 0;
}

.contact-detail-muted {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    margin-top: 4px !important;
}

@media (max-width: 640px) {
    .contact-simple {
        grid-template-columns: 1fr;
    }
    .footer-description{
        justify-self: center;
    }

}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

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

.contact-info h2 {
    margin-bottom: var(--space-sm);
    color: var(--color-sage-dark);
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-warm-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

.contact-method:hover {
    transform: translateX(4px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--color-terracotta);
}

.contact-method-icon svg {
    width: 100%;
    height: 100%;
}

.contact-method-details h3 {
    font-size: 1rem;
    margin-bottom: var(--space-2xs);
    color: var(--color-text);
}

.contact-method-details a,
.contact-method-details p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method-details a:hover {
    color: var(--color-terracotta);
}

/* ==================== CONTACT FORM ==================== */
.contact-form-wrapper {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-medium);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm);
    border: 2px solid var(--color-sand);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-cream);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage);
    box-shadow: 0 0 0 3px rgba(155, 170, 143, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

/* ==================== REGISTER / CONTACT PAGE ==================== */
.register-section {
    padding: var(--space-xl) 0 var(--space-2xl);
    position: relative;
    z-index: 2;
    scroll-margin-top: 80px;
}

.register-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-hint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: -8px;
    font-style: italic;
}

.required {
    color: var(--color-terracotta);
    font-weight: 600;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a86' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group select optgroup {
    font-weight: 600;
    color: var(--color-text);
}

/* Success state */
.register-success {
    display: none;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    animation: successPop 0.5s ease-out;
}

.register-success h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-sage-dark, #7a8c6e);
    margin-bottom: var(--space-xs);
}

.register-success p {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

.register-success a {
    color: var(--color-terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes successPop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* Sidebar */
.register-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: sticky;
    top: 100px;
}

.register-info-card {
    padding: var(--space-md) var(--space-lg);
    background: rgba(253,250,246,0.7);
    border: 1px solid rgba(155,170,143,0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.register-info-card--warm {
    background: rgba(196,132,108,0.06);
    border-color: rgba(196,132,108,0.12);
}

.register-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.register-info-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.register-info-card a {
    color: var(--color-terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.register-info-card a:hover {
    color: var(--color-sage-dark, #7a8c6e);
}

/* Checklist */
.register-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.register-checklist svg {
    width: 18px;
    height: 18px;
    color: var(--color-sage);
    flex-shrink: 0;
}

/* Compact contact methods (sidebar) */
.contact-methods-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-method-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(155,170,143,0.06);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.15s;
}

.contact-method-compact:hover {
    background: rgba(155,170,143,0.12);
    transform: translateX(3px);
    text-decoration: none;
    color: var(--color-text);
}

.contact-compact-icon {
    width: 20px;
    height: 20px;
    color: var(--color-sage-dark, #7a8c6e);
    flex-shrink: 0;
}

.whatsapp-icon { color: #25D366; }

/* Detail rows */
.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.contact-detail-row + .contact-detail-row {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(155,170,143,0.08);
}

.contact-detail-row div {
    display: flex;
    flex-direction: column;
}

.contact-detail-row strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-detail-row span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .register-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .register-info {
        position: static;
    }
}

/* Google Form embed */
.register-form-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(61,61,59,0.06);
    border: 1px solid rgba(155,170,143,0.08);
}

.gform-embed {
    width: 106%;
    /* margin-left: -3%; */
    justify-self: center;
    height: 1300px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .gform-embed {
        height: 1400px;
    }
}

/* Active nav CTA state (register page) */
.nav-cta--active {
    background: var(--color-terracotta) !important;
    color: #fff !important;
    pointer-events: none;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-terracotta-pale) 0%, var(--color-cream) 100%);
    position: relative;
    z-index: 2;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.faq-section .section-header h2 {
    margin-bottom: var(--space-xs);
}

.faq-section .section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: var(--space-lg);
}

.faq-item {
    background: var(--color-warm-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    font-weight: 600;
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== ACTIVE NAV LINK ==================== */
.nav-link.active {
    color: var(--color-terracotta);
}

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

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--space-2xl) + 80px) 0 var(--space-xl);
        min-height: auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== RTL SUPPORT FOR URDU ==================== */
/* Only apply RTL text-align to elements that are left-aligned in LTR */

[dir="rtl"] .journey-card,
[dir="rtl"] .pricing-features,
[dir="rtl"] .faq-item,
[dir="rtl"] .content-block,
[dir="rtl"] .footer-brand,
[dir="rtl"] .footer-links,
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-method-details,
[dir="rtl"] .audience-text,
[dir="rtl"] .topic-tag-text {
    text-align: right;
}

/* Keep centered elements centered in RTL */
[dir="rtl"] .hero-content,
[dir="rtl"] .section-header,
[dir="rtl"] .cta-content,
[dir="rtl"] .story-content,
[dir="rtl"] .page-hero-content,
[dir="rtl"] .reflection-content,
[dir="rtl"] .pricing-card-inner,
[dir="rtl"] .value-card,
[dir="rtl"] .schedule-card {
    text-align: center;
}

/* Keep navigation and buttons LTR */
[dir="rtl"] .nav-inner,
[dir="rtl"] .nav-links,
[dir="rtl"] .lang-toggle,
[dir="rtl"] .nav-right,
[dir="rtl"] .hero-buttons,
[dir="rtl"] .cta-buttons {
    direction: ltr;
}

[data-lang="ur"] body {
    font-family: 'Noto Sans Arabic', 'Noto Nastaliq Urdu', var(--font-body);
}

/* ==================== LOGO GRID ==================== */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    align-items: center;
    justify-items: center;
    line-height: 1;
}

.logo-grid .logo-letter {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    user-select: none;
}

.logo-grid .logo-dot {
    border-radius: 50%;
    border: none;
    aspect-ratio: 1;
    position: relative;
}

/* --- HERO (large) logo grid --- */
.logo-grid--hero {
    gap: 8px 6px;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.logo-grid--hero .logo-letter {
    font-size: clamp(3rem, 7vw, 5rem);
    letter-spacing: 0.02em;
    font-weight: 600;
}

.logo-grid--hero .logo-dot {
    width: clamp(2.6rem, 6vw, 4.3rem);
    height: clamp(2.6rem, 6vw, 4.3rem);
    border: none;
}

.logo-grid--hero .logo-dot:nth-of-type(1) { background: var(--color-sage); }
.logo-grid--hero .logo-dot:nth-of-type(3) { background: var(--color-terracotta); }
.logo-grid--hero .logo-dot:nth-of-type(2) { background: var(--color-amber); }

/* Rotating circle text — inside the dot, hugging inner circumference (hero only) */
.logo-dot .circle-text-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: rotateCircleText 22s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.logo-dot .circle-text-svg text {
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: lowercase;
}

.logo-grid--hero .logo-dot:nth-of-type(1) .circle-text-svg text { fill: #fff; }
.logo-grid--hero .logo-dot:nth-of-type(3) .circle-text-svg text { fill: #fff; }
.logo-grid--hero .logo-dot:nth-of-type(2) .circle-text-svg text { fill: #fff; }

/* Stagger the rotation start for visual interest */
.logo-grid--hero .logo-dot:nth-of-type(2) .circle-text-svg {
    animation-direction: reverse;
}
.logo-grid--hero .logo-dot:nth-of-type(3) .circle-text-svg {
    animation-delay: -7s;
}

@keyframes rotateCircleText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- NAV (small) logo grid --- */
.logo-grid--small {
    gap: 1px 1px;
    position: relative;
}

.logo-grid--small .logo-letter {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.logo-grid--small .logo-dot {
    width: 0.7rem;
    height: 0.7rem;
    border: none;
    z-index: 1;
}

.logo-grid--small .logo-dot:nth-of-type(1) { background: var(--color-sage); }
.logo-grid--small .logo-dot:nth-of-type(3) { background: var(--color-terracotta); }
.logo-grid--small .logo-dot:nth-of-type(2) { background: var(--color-amber); }

/* Hide rotating text in small logo */
.logo-grid--small .circle-text-svg { display: none; }

/* --- Nav logo dot-connecting lines on hover --- */
.logo-grid--small .logo-connect-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.logo-grid--small .logo-connect-lines line {
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    transition: stroke-dashoffset 0s;
}

.logo-grid--small .logo-connect-lines .line-1 { stroke: var(--color-sage); }
.logo-grid--small .logo-connect-lines .line-2 { stroke: var(--color-amber); }
.logo-grid--small .logo-connect-lines .line-3 { display: none; }

.nav-logo:hover .logo-connect-lines line {
    animation: logoLineTrace 2s ease-in-out infinite;
}

.nav-logo:hover .logo-connect-lines .line-2 {
    animation-delay: 0.3s;
}

@keyframes logoLineTrace {
    0%   { stroke-dashoffset: 50; opacity: 0; }
    15%  { opacity: 1; }
    50%  { stroke-dashoffset: 0; opacity: 1; }
    85%  { opacity: 1; }
    100% { stroke-dashoffset: -50; opacity: 0; }
}

/* --- FOOTER logo grid --- */
.logo-grid--footer {
    gap: 2px 2px;
}

.logo-grid--footer .logo-letter {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

.logo-grid--footer .logo-dot {
    width: 0.8rem;
    height: 0.8rem;
    border: none;
}

.logo-grid--footer .logo-dot:nth-of-type(1) { background: var(--color-sage); }
.logo-grid--footer .logo-dot:nth-of-type(3) { background: var(--color-terracotta); }
.logo-grid--footer .logo-dot:nth-of-type(2) { background: var(--color-amber); }

.logo-grid--footer .circle-text-svg { display: none; }

/* Responsive adjustments for hero logo */
@media (max-width: 480px) {
    .logo-grid--hero {
        gap: 5px 3px;
    }
}

[data-lang="ur"] h1, [data-lang="ur"] h2, [data-lang="ur"] h3, [data-lang="ur"] h4,
[data-lang="ur"] .hero-tagline, [data-lang="ur"] .reflection-note {
    font-family: 'Noto Sans Arabic', 'Noto Nastaliq Urdu', var(--font-display);
}

[data-lang="ur"] .nav-logo-text {
    font-family: 'Noto Sans Arabic', 'Noto Nastaliq Urdu', var(--font-display);
}

/* ============================================================
   COMPACT PAGE HERO  (Resources & Blog)
   ============================================================ */
.page-hero--compact {
    min-height: auto;
    padding: calc(var(--space-xl) + 80px) 0 var(--space-md);
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */

/* --- Filters --- */
.resources-section { padding: 0 0 var(--space-3xl); }

.resources-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.resource-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(155, 170, 143, 0.2);
    border-radius: var(--radius-full);
    background: var(--color-warm-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.resource-filter-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.resource-filter-btn:hover {
    border-color: var(--color-sage);
    color: var(--color-sage-dark);
    background: rgba(155, 170, 143, 0.06);
}

.resource-filter-btn.active {
    background: var(--color-sage);
    border-color: var(--color-sage);
    color: #fff;
}

.resource-filter-btn.active svg { stroke: #fff; }

/* --- Grid --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.resource-card {
    background: var(--color-warm-white);
    border: 1px solid rgba(155, 170, 143, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.resource-card.hidden {
    display: none;
}

/* --- Type Badge --- */
.resource-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-family: 'Raleway', var(--font-body);
    margin-bottom: var(--space-xs);
}

.resource-type-badge svg {
    width: 12px;
    height: 12px;
}

.resource-type-badge--video {
    background: rgba(196, 132, 108, 0.1);
    color: var(--color-terracotta-dark);
}
.resource-type-badge--audio {
    background: rgba(155, 170, 143, 0.12);
    color: var(--color-sage-dark);
}
.resource-type-badge--article {
    background: rgba(212, 165, 116, 0.12);
    color: #8B6E4E;
}
.resource-type-badge--list {
    background: rgba(155, 170, 143, 0.12);
    color: var(--color-sage-dark);
}
.resource-type-badge--link {
    background: rgba(196, 132, 108, 0.1);
    color: var(--color-terracotta-dark);
}

/* --- Card Body --- */
.resource-card-body {
    padding: var(--space-md);
}

.resource-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.resource-card-excerpt {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.resource-card-date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* --- Video Card --- */
.resource-card-media {
    position: relative;
    width: 100%;
}

.resource-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
}

.resource-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-video-wrapper:hover .video-thumbnail {
    transform: scale(1.03);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0;
}

.video-play-overlay svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.resource-video-wrapper:hover .video-play-overlay svg {
    transform: scale(1.08);
}

/* --- Audio Card --- */
.audio-player {
    position: relative;
}

.audio-visualizer {
    width: 100%;
    height: 120px;
    display: block;
    background: var(--color-cream);
    border-bottom: 1px solid rgba(155, 170, 143, 0.06);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-warm-white);
}

.audio-play-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--color-sage);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.15s ease;
}

.audio-play-btn:hover {
    background: var(--color-sage-dark);
    transform: scale(1.05);
}

.audio-play-btn svg {
    width: 16px;
    height: 16px;
}

.audio-icon-play { display: block; }
.audio-icon-pause { display: none; }

.audio-progress-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.audio-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(155, 170, 143, 0.15);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.audio-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-sage), var(--color-terracotta));
    border-radius: 3px;
    transition: width 0.1s linear;
}

.audio-time {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.audio-volume-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--color-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.audio-volume-btn:hover { color: var(--color-sage); }
.audio-volume-btn.muted { color: var(--color-terracotta); opacity: 0.6; }

.audio-volume-btn svg {
    width: 18px;
    height: 18px;
}

/* --- Article Card --- */
.resource-read-more {
    display: inline-block;
    margin-top: var(--space-xs);
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-terracotta);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.resource-read-more:hover {
    color: var(--color-terracotta-dark);
}

.resource-article-content {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(155, 170, 143, 0.1);
}

.resource-article-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.resource-article-content p:last-child { margin-bottom: 0; }

/* --- List Card --- */
.resource-list {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0 0;
}

.resource-list li {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text);
    padding: var(--space-2xs) 0;
    border-bottom: 1px solid rgba(155, 170, 143, 0.06);
}

.resource-list li:last-child { border-bottom: none; }

.resource-list li strong {
    color: var(--color-sage-dark);
    font-weight: 600;
}

/* --- Link Card --- */
.resource-external-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-sm);
    padding: 0.6rem 1.2rem;
    background: var(--color-sage);
    color: #fff;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.resource-external-link:hover {
    background: var(--color-sage-dark);
    transform: translateY(-1px);
}

.resource-external-link svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
}

/* --- Resources responsive --- */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .resources-filters {
        gap: 6px;
    }
    .resource-filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.78rem;
    }
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-section {
    padding: 0 0 var(--space-3xl);
}

.blog-feed {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.blog-post {
    background: var(--color-warm-white);
    border: 1px solid rgba(155, 170, 143, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.blog-post-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.blog-post-date,
.blog-post-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.blog-post-date svg,
.blog-post-author svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.blog-post-author strong {
    font-weight: 600;
    color: var(--color-text);
}

.blog-post-role {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(155, 170, 143, 0.12);
    color: var(--color-sage-dark);
    font-family: 'Raleway', var(--font-body);
}

.blog-post-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.blog-post-body p {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.blog-post-body p:last-child {
    margin-bottom: 0;
}

/* --- Blog responsive --- */
@media (max-width: 640px) {
    .blog-post {
        padding: var(--space-md);
    }
    .blog-post-title {
        font-size: 1.3rem;
    }
    .blog-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2xs);
    }
}


/* ==================== RTL / URDU SUPPORT ==================== */

/* Global RTL text and font changes */
[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Nunito Sans', sans-serif;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .page-hero-subtitle,
[dir="rtl"] .section-badge,
[dir="rtl"] .about-lead,
[dir="rtl"] .about-tagline,
[dir="rtl"] .about-why-emphasis {
    font-family: 'Noto Sans Arabic', 'Cormorant Garamond', serif;
}

/* Hindi font overrides */
[data-lang="hi"] {
    font-family: 'Noto Sans Devanagari', 'Nunito Sans', sans-serif;
}
[data-lang="hi"] h1,
[data-lang="hi"] h2,
[data-lang="hi"] h3,
[data-lang="hi"] h4,
[data-lang="hi"] .page-hero-subtitle,
[data-lang="hi"] .section-badge,
[data-lang="hi"] .about-lead,
[data-lang="hi"] .about-tagline,
[data-lang="hi"] .about-why-emphasis {
    font-family: 'Tiro Devanagari Hindi', 'Cormorant Garamond', serif;
}

/* Nav stays in original LTR order (logo left, links center, register right)
   even in RTL mode — only text inside flows RTL */
[dir="rtl"] .footer-links-row {
    direction: rtl;
}

/* Text alignment overrides for RTL — only non-centered elements */
[dir="rtl"] .about-intro,
[dir="rtl"] .story-content {
    text-align: right;
}
/* Hero, CTA, and section headers stay centered */
[dir="rtl"] .page-hero-content,
[dir="rtl"] .cta-content,
[dir="rtl"] .section-header {
    text-align: center;
}

/* Flip specific border positions */
[dir="rtl"] .about-why-quotes {
    border-left: none;
    border-right: 3px solid var(--color-terracotta-light);
    padding-left: 0;
    padding-right: var(--space-md);
}

/* About founder grid flip */
[dir="rtl"] .about-founder {
    direction: rtl;
}

/* Blog post header */
[dir="rtl"] .blog-post-header {
    direction: rtl;
}
[dir="rtl"] .blog-post-title,
[dir="rtl"] .blog-post-body {
    text-align: right;
}

/* Resource cards */
[dir="rtl"] .resource-card-body {
    text-align: right;
}
[dir="rtl"] .resource-list {
    padding-left: 0;
    padding-right: 1.2em;
}

/* Contact cards */
[dir="rtl"] .contact-card {
    text-align: right;
}

/* Register info */
[dir="rtl"] .register-checklist li {
    direction: rtl;
}
[dir="rtl"] .register-info-card {
    text-align: right;
}

/* Footer RTL */
[dir="rtl"] .footer-brand,
[dir="rtl"] .footer-links {
    text-align: right;
}
[dir="rtl"] .footer-links ul {
    padding-left: 0;
    padding-right: 0;
}

/* Mobile menu RTL */
[dir="rtl"] .mobile-menu {
    text-align: right;
}

/* About spaces list */
[dir="rtl"] .about-spaces-list {
    padding-left: 0;
    padding-right: 1.5em;
}

/* VM cards */
[dir="rtl"] .about-vm-card {
    text-align: right;
}

/* Value cards (offerings) */
[dir="rtl"] .value-card {
    text-align: right;
}

/* Nav dropdowns stay in LTR default position */

/* CTA buttons keep centered */
[dir="rtl"] .cta-buttons {
    justify-content: center;
}

/* Keep the logo LTR always */
[dir="rtl"] .logo-grid {
    direction: ltr;
}

/* ── Events RTL ── */
[dir="rtl"] .events-glance {
    right: auto;
    left: 32px;
}
[dir="rtl"] .events-glance-arrow {
    transform: scaleX(-1);
}
[dir="rtl"] .events-glance:hover .events-glance-arrow {
    transform: scaleX(-1) translateX(2px);
}
[dir="rtl"] .events-glance-row {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .events-drawer {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(155,170,143,0.12);
    box-shadow: 8px 0 40px rgba(61,61,59,0.08);
    transform: translateX(-100%);
}
[dir="rtl"] .events-drawer.open {
    transform: translateX(0);
}
[dir="rtl"] .events-drawer-header,
[dir="rtl"] .events-drawer-body {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .event-card {
    text-align: right;
}
[dir="rtl"] .event-tag {
    right: auto;
    left: 10px;
}
[dir="rtl"] .event-date {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
[dir="rtl"] .event-link {
    flex-direction: row-reverse;
}
[dir="rtl"] .event-link:hover svg {
    transform: translateX(-2px);
}

/* Events glance RTL responsive */
@media (max-width: 640px) {
    [dir="rtl"] .events-glance {
        left: 12px;
        right: auto;
    }
}
@media (max-width: 400px) {
    [dir="rtl"] .events-glance {
        left: 10px;
        right: auto;
    }
}

/* ── Compassion Course RTL ── */
[dir="rtl"] .cc-highlight {
    border-left: none;
    border-right: 3px solid var(--color-terracotta);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}
[dir="rtl"] .cc-detail-card,
[dir="rtl"] .cc-person {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .cc-intro-questions p {
    direction: rtl;
}
[dir="rtl"] .cc-faq-q {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .cc-testimonial blockquote,
[dir="rtl"] .cc-testimonial cite {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .cc-contribution {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .cc-intro-body {
    text-align: right;
    direction: rtl;
}
