/* =========================================================
   Science of Yoga — custom stylesheet
   Palette: Rich Black / Royal Gold / Bright Gold / Magenta accents
   Tone: bold, luxurious, premium wellness
   ========================================================= */

:root {
    /* ── Primary Palette ── */
    --rich-black: #0F1F5C;
    --royal-gold: #D4A62A;
    --bright-gold: #F28C1E;
    --deep-amber: #B8861B;
    --rosegold: #D4A62A;
    --rosegold-light: #E6B84A;
    --rosegold-dark: #B8861B;
    --magenta: #F28C1E;
    --deep-magenta: #D4A62A;
    --hot-pink: #F28C1E;

    /* ── Semantic aliases (drop-in replacements) ── */
    --sage: #D4A62A;
    --sage-dark: #B8861B;
    --sage-darker: #8a6510;
    --sage-light: #FAF6EA;
    --sage-pale: #FFFFFF;
    --cream: #FAF6EA;
    --off-white: #FFFFFF;
    --indigo: #0F1F5C;
    --indigo-deep: #0F1F5C;
    --gold: #D4A62A;
    --gold-light: #F28C1E;
    --ink: #1A1A2E;
    --muted: #6b7280;
    --border: #D4A62A;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.06), 0 4px 12px rgba(10, 10, 10, 0.05);
    --shadow-md: 0 8px 24px rgba(10, 10, 10, 0.10);
    --shadow-lg: 0 16px 40px rgba(10, 10, 10, 0.14);
    --radius: 0.9rem;
    --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

.main-content,
.site-header,
.site-footer,
section {
    max-width: 100%;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--indigo);
    font-weight: 600;
    line-height: 1.25;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--ink); }
a { color: var(--sage); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--sage-dark); }

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

::selection { background: var(--magenta); color: var(--white); }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--indigo); color: var(--white);
    padding: 0.75rem 1.25rem; border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { left: 0; }

/* ---------- Site loader / preloader ---------- */
#site-loader {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--rich-black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-ring {
    position: relative; width: 120px; height: 120px; margin: 0 auto 1rem;
}
.loader-spinner {
    position: absolute; inset: 0;
    border: 4px solid rgba(212, 166, 42, 0.2);
    border-top-color: #D4A62A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.loader-logo-icon {
    position: absolute; inset: 0;
    width: 88px; height: 88px;
    margin: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 166, 42, 0.4);
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loader-label {
    display: block; margin-top: 0.5rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--rosegold-light);
}

/* ---------- Top Utility Bar ---------- */
.site-topbar {
    background: #081133;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(212, 166, 42, 0.22);
    letter-spacing: 0.02em;
}
.site-topbar a {
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease;
}
.site-topbar a:hover {
    color: #F5D77F;
}
.topbar-sep {
    color: rgba(212, 166, 42, 0.45);
    font-size: 0.75rem;
}
.topbar-pill {
    background: linear-gradient(135deg, rgba(212, 166, 42, 0.25), rgba(242, 140, 30, 0.2));
    border: 1px solid rgba(212, 166, 42, 0.45);
    color: #F5D77F;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: #0F1F5C;
    border-bottom: 1.5px solid rgba(212, 166, 42, 0.35);
    box-shadow: 0 4px 20px rgba(8, 17, 51, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
    background: rgba(15, 31, 92, 0.98);
    backdrop-filter: blur(12px);
    border-bottom-color: #D4A62A;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar {
    padding-top: 0.5rem; padding-bottom: 0.5rem;
    align-items: center;
    min-height: 90px;
}

/* Enlarged Brand Logo & University Wordmark */
.brand-logo {
    max-height: 96px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.navbar-brand:hover .brand-logo {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 14px rgba(212, 166, 42, 0.45));
}

.brand-text {
    line-height: 1.15;
}
.brand-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: #FFFFFF;
    letter-spacing: 0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
.brand-subname {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.72rem;
    color: #F5D77F;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Nav links: clean luxury typography */
.navbar-nav {
    gap: 0.25rem;
    align-items: center;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: #FFFFFF;
    padding-inline: 0.65rem;
    padding-block: 0.5rem;
    white-space: nowrap;
    font-size: 0.92rem;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background 0.2s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
    color: #F5D77F;
    background: rgba(212, 166, 42, 0.1);
}

/* Active state: distinct gold colour + sleek underline indicator */
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.active > .nav-link {
    color: #D4A62A;
    font-weight: 600;
    position: relative;
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0.12rem;
    height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, #D4A62A, #F28C1E);
    box-shadow: 0 0 8px rgba(212, 166, 42, 0.6);
}

.navbar-nav .nav-cta { margin-inline-start: 0.4rem; }
.navbar-nav .nav-cta .btn {
    padding: 0.55rem 1.35rem;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
}

/* Never let the expanded menu wrap onto two lines */
@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-nav { flex-wrap: nowrap; }
}

/* Compact fit for the xl breakpoint (1200–1399px): 8 items + CTA must fit comfortably */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar { min-height: 80px; }
    .brand-logo { max-height: 82px; }
    .brand-name { font-size: 0.92rem; }
    .brand-subname { font-size: 0.65rem; }
    .navbar-nav { gap: 0.1rem; }
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding-inline: 0.45rem;
    }
    .navbar-nav .nav-cta { margin-inline-start: 0.15rem; }
    .navbar-nav .nav-cta .btn { font-size: 0.85rem; padding: 0.45rem 1rem; }
}

@media (max-width: 1199.98px) {
    .navbar { min-height: 76px; }
    .brand-logo { max-height: 72px; }
}

@media (max-width: 575.98px) {
    .navbar { min-height: 68px; }
    .brand-logo { max-height: 62px; }
}

/* ---------- Dropdown Menus (Default / Desktop) ---------- */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    min-width: 15rem;
    background: #FFFFFF;
}
.dropdown-item {
    border-radius: 0.5rem;
    font-size: 0.92rem;
    padding: 0.5rem 0.9rem;
    color: var(--ink);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background: var(--sage-light);
    color: var(--indigo);
}
.dropdown-item.active {
    background: var(--sage);
    color: var(--white);
}

/* ---------- Mobile navigation drawer (< 1200px) ---------- */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: #0B1744;
        border-radius: var(--radius);
        padding: 1rem 1rem 1.5rem;
        margin-top: 0.75rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(212, 166, 42, 0.25);
        max-width: 100%;
        overflow-x: hidden;
    }
    .navbar-nav {
        align-items: stretch;
        gap: 0.35rem;
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.65rem 0.9rem;
        border-radius: 0.5rem;
        color: #FFFFFF !important;
        font-size: 0.95rem;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.08);
        color: #D4A62A !important;
    }
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-item.active > .nav-link {
        color: #D4A62A !important;
        background: rgba(212, 166, 42, 0.12);
    }
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    .navbar-nav .nav-cta {
        margin-inline-start: 0;
        margin-top: 0.75rem;
        width: 100%;
    }
    .navbar-nav .nav-cta .btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 0.7rem 1.25rem;
    }

    /* Sub-menus in Mobile Navigation: High contrast, readable, non-overflowing */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none !important;
        background: #142259 !important;
        border: 1px solid rgba(212, 166, 42, 0.35) !important;
        border-radius: 0.65rem !important;
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25) !important;
        margin: 0.35rem 0 0.5rem 0 !important;
        padding: 0.45rem 0.35rem !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .navbar-collapse .dropdown-item {
        color: #FFFFFF !important;
        background: transparent !important;
        border-radius: 0.45rem !important;
        font-size: 0.88rem !important;
        padding: 0.55rem 0.75rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.35 !important;
        display: flex !important;
        align-items: center !important;
        border-left: 3px solid transparent !important;
        margin-bottom: 2px !important;
    }
    .navbar-collapse .dropdown-item::before {
        content: "•";
        color: #D4A62A;
        font-size: 1.15rem;
        line-height: 1;
        margin-right: 0.55rem;
        display: inline-block;
        flex-shrink: 0;
    }
    .navbar-collapse .dropdown-item:hover,
    .navbar-collapse .dropdown-item:focus {
        background: rgba(212, 166, 42, 0.22) !important;
        color: #F5D77F !important;
        border-left-color: #D4A62A !important;
        padding-left: 0.95rem !important;
    }
    .navbar-collapse .dropdown-item.active {
        background: rgba(212, 166, 42, 0.32) !important;
        color: #FFD56B !important;
        font-weight: 700 !important;
        border-left-color: #F28C1E !important;
    }
}

.navbar-toggler { border-color: transparent; }
.navbar-toggler-icon { filter: invert(1) grayscale(100%) brightness(200%); }
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(212, 166, 42, 0.25); }

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.015em;
    padding: 0.65rem 1.6rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:focus-visible { box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.35); }

.btn-brand {
    background: linear-gradient(135deg, #E6B84A 0%, #D4A62A 50%, #B8861B 100%);
    color: #081133;
    border: 1px solid rgba(212, 166, 42, 0.6);
    box-shadow: 0 4px 14px rgba(212, 166, 42, 0.32);
    font-weight: 700;
}
.btn-brand:hover, .btn-brand:focus {
    background: linear-gradient(135deg, #F5D77F 0%, #E6B84A 50%, #D4A62A 100%);
    color: #081133;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 166, 42, 0.48);
}

.btn-cta {
    background: linear-gradient(135deg, #F28C1E 0%, #E67E10 100%);
    color: #FFFFFF;
    border: 1px solid rgba(242, 140, 30, 0.8);
    box-shadow: 0 4px 16px rgba(242, 140, 30, 0.38);
    font-weight: 700;
}
.btn-cta:hover, .btn-cta:focus {
    background: linear-gradient(135deg, #ff9b2e 0%, #F28C1E 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 140, 30, 0.52);
}

.btn-outline-brand {
    background: rgba(212, 166, 42, 0.05);
    color: #D4A62A;
    border: 1.5px solid #D4A62A;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
    background: #D4A62A;
    color: #081133;
    border-color: #D4A62A;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 166, 42, 0.35);
}

.btn-indigo {
    background: #0F1F5C;
    color: #F5D77F;
    border: 1px solid rgba(212, 166, 42, 0.4);
    box-shadow: 0 4px 14px rgba(15, 31, 92, 0.25);
}
.btn-indigo:hover, .btn-indigo:focus {
    background: #081133;
    color: #FFFFFF;
    border-color: #D4A62A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 31, 92, 0.35);
}

.btn-light-soft {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--border);
}
.btn-light-soft:hover {
    background: var(--sage-light);
    color: var(--rich-black);
    transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--cream); }
.section-sage { background: var(--sage-light); }
.section-golden {
    background: linear-gradient(135deg, #FAF6EA 0%, #FFFFFF 50%, #FAF6EA 100%);
    color: var(--rich-black);
}
.section-golden h2, .section-golden h3, .section-golden p { color: var(--rich-black); }
.section-golden .eyebrow { color: var(--deep-amber); }
.section-golden .card { background: var(--white); border-color: rgba(212, 175, 55, 0.2); }
.section-golden .card-text { color: var(--ink); }

.section-rosegold {
    background: linear-gradient(135deg, #0F1F5C 0%, #1a0d10 50%, #0F1F5C 100%);
    color: var(--off-white);
}
.section-rosegold h2, .section-rosegold h3, .section-rosegold p { color: var(--off-white); }
.section-rosegold .eyebrow { color: var(--rosegold-light); }
.section-indigo { background: var(--indigo); }
.section-indigo h2, .section-indigo h3, .section-indigo p { color: var(--off-white); }

.eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sage-dark); margin-bottom: 0.75rem;
}
.section-indigo .eyebrow { color: var(--gold-light); }

.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 46rem; }
.section-indigo .section-lead { color: rgba(253, 252, 250, 0.75); }

/* ---------- Hero (homepage banner) ---------- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex; align-items: center;
    background:
        linear-gradient(115deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.86) 32%, rgba(10, 10, 10, 0.62) 62%, rgba(10, 10, 10, 0.42) 100%),
        url('../img/content/meditation.jpg') center / cover no-repeat;
    background-color: var(--indigo-deep);
    color: var(--off-white);
    padding: clamp(5rem, 10vw, 8rem) 0;
    overflow: hidden;
}
.hero .eyebrow { color: var(--gold-light); }
.hero-title { color: var(--white); max-width: 14em; }
.hero-lead {
    color: rgba(253, 252, 250, 0.82);
    font-size: 1.15rem; max-width: 40rem;
    margin-top: 1.25rem;
}
.hero-content { max-width: 46rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero-stats {
    display: flex; flex-wrap: wrap; gap: 1.5rem 2.75rem;
    margin-top: 2.75rem; padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stat-badge .stat-num {
    font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700;
    color: var(--gold-light); line-height: 1;
}
.hero-stat-badge .stat-cap {
    color: rgba(253, 252, 250, 0.72); font-size: 0.82rem;
    margin-top: 0.4rem; max-width: 9.5rem;
}

@media (max-width: 575.98px) {
    .hero { min-height: 64vh; text-align: center; }
    .hero-content { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
    .hero-stat-badge .stat-cap { max-width: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(900px 480px at 90% -20%, rgba(212, 175, 55, 0.2), transparent 55%),
        linear-gradient(150deg, var(--indigo-deep), var(--indigo));
    color: var(--off-white);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero p { color: rgba(253, 252, 250, 0.8); max-width: 44rem; }
.breadcrumb-crumb { font-size: 0.8rem; color: rgba(253, 252, 250, 0.65); }
.breadcrumb-crumb a { color: var(--gold-light); }

/* ---------- Cards ---------- */
.card {
    border: 1px solid rgba(212, 166, 42, 0.22);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(15, 31, 92, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-body { padding: 1.75rem; }
.card-title { font-size: 1.28rem; margin-bottom: 0.5rem; font-weight: 700; color: #0F1F5C; }
.card-text { color: var(--muted); }

.card-hover { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease; }
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 31, 92, 0.12);
    border-color: rgba(212, 166, 42, 0.6);
}

.tag {
    display: inline-flex; align-items: center;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
    background: rgba(212, 166, 42, 0.14); color: var(--sage-dark);
    border: 1px solid rgba(212, 166, 42, 0.32);
    padding: 0.25rem 0.75rem; border-radius: 999px; margin: 0 0.35rem 0.35rem 0;
    text-transform: uppercase;
}
.tag-gold {
    background: linear-gradient(135deg, rgba(212, 166, 42, 0.2), rgba(242, 140, 30, 0.15));
    border-color: rgba(212, 166, 42, 0.45);
    color: #B8861B;
}

.stat-card {
    text-align: center;
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius);
    background: #FFFFFF;
    border: 1px solid rgba(212, 166, 42, 0.25);
    box-shadow: 0 6px 20px rgba(15, 31, 92, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(15, 31, 92, 0.12);
    border-color: #D4A62A;
}
.stat-number { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; color: #D4A62A; }
.stat-label { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

/* Section decorative title dividers */
.section-divider-gold {
    width: 64px; height: 3px;
    background: linear-gradient(90deg, #D4A62A, #F28C1E);
    border-radius: 2px;
    margin: 0.75rem auto 1.5rem;
}
.section-divider-gold-start {
    width: 64px; height: 3px;
    background: linear-gradient(90deg, #D4A62A, #F28C1E);
    border-radius: 2px;
    margin: 0.75rem 0 1.5rem;
}

/* ---------- Research citation callouts ---------- */
.citation {
    position: relative;
    background: var(--sage-pale);
    border: 1px solid var(--border);
    border-left: 4px solid var(--magenta);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
}
.citation .citation-source {
    display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem;
}
.citation .citation-source .source-link { color: var(--sage-dark); font-weight: 600; }

.quote-block {
    border-left: 4px solid var(--hot-pink);
    background: var(--cream);
    padding: 1.5rem 1.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink);
}

/* ---------- Icon tiles & Medallions ---------- */
.icon-tile {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 166, 42, 0.16) 0%, rgba(242, 140, 30, 0.08) 100%);
    border: 1.5px solid rgba(212, 166, 42, 0.35);
    color: var(--royal-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(212, 166, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover .icon-tile {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, #D4A62A 0%, #B8861B 100%);
    color: #FFFFFF;
    border-color: #D4A62A;
    box-shadow: 0 6px 18px rgba(212, 166, 42, 0.45);
}
.icon-tile-gold {
    background: linear-gradient(135deg, rgba(212, 166, 42, 0.18), rgba(242, 140, 30, 0.1));
    color: var(--royal-gold);
}
.icon-tile-rosegold {
    background: linear-gradient(135deg, rgba(183, 110, 121, 0.15), rgba(212, 151, 159, 0.1));
    color: var(--rosegold);
}
.icon-tile-magenta {
    background: linear-gradient(135deg, rgba(214, 0, 110, 0.12), rgba(233, 30, 140, 0.08));
    color: var(--magenta);
}

/* ---------- Testimonials ---------- */
.testimonial-carousel .carousel-inner { padding: 0.5rem 1rem 2rem; }
.testimonial-item { max-width: 46rem; margin: 0 auto; text-align: center; }
.testimonial-item .quote {
    font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; color: var(--indigo);
}
.testimonial-author { margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }
.testimonial-author strong { color: var(--indigo); display: block; }
.testimonial-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--magenta); width: 10px; height: 10px; border-radius: 50%;
}

/* ---------- Study filter (research page) ---------- */
.filter-btn {
    border: 1px solid var(--border); background: var(--white); color: var(--ink);
    border-radius: 999px; padding: 0.4rem 1.1rem; font-size: 0.85rem; font-weight: 600;
    transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--royal-gold); color: var(--deep-amber); }
.filter-btn.is-active { background: var(--magenta); border-color: var(--magenta); color: var(--white); }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.7rem 1rem;
    background: var(--white); color: var(--ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--royal-gold); box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
}
.form-label { font-weight: 600; color: var(--indigo); font-size: 0.92rem; }
.form-msg { font-size: 0.85rem; margin-top: 0.5rem; margin-bottom: 0; }
.form-msg.is-success { color: var(--sage-darker); }
.form-msg.is-error { color: #b3552d; }
.is-invalid-msg { color: #b3552d; font-size: 0.83rem; margin-top: 0.3rem; display: none; }
.is-invalid .form-control { border-color: #c75b33; }
.is-invalid .is-invalid-msg { display: block; }

.alert-rounded { border-radius: var(--radius); }

/* ---------- Related article links ---------- */
.related-list a {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--border);
    color: var(--ink); font-weight: 500;
}
.related-list a:hover { color: var(--sage-dark); }
.related-list a .arrow { color: var(--sage); font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background:
        radial-gradient(800px 400px at 90% 0%, rgba(212, 175, 55, 0.25), transparent 55%),
        linear-gradient(140deg, var(--rich-black), #111);
    border-radius: var(--radius);
    padding: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255, 255, 255, 0.85); }

/* ---------- Featured / news feed ---------- */
.feed-item {
    display: flex; gap: 1.25rem; padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}
.feed-item:last-child { border-bottom: 0; }
.feed-date {
    flex: 0 0 auto; text-align: center;
    background: var(--sage-light); border-radius: 0.75rem;
    padding: 0.6rem 0.8rem; width: 64px; height: 64px;
}
.feed-date .day { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--sage-dark); line-height: 1; }
.feed-date .month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage-darker); }
.feed-title { font-weight: 600; color: var(--indigo); font-size: 1.02rem; }
.feed-meta { color: var(--muted); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--indigo-deep);
    color: rgba(253, 252, 250, 0.78);
    padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}
.site-footer h3.footer-heading {
    color: var(--bright-gold); font-size: 1.02rem; font-family: var(--font-sans);
    letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
    margin-bottom: 1.1rem;
}
.footer-brand .brand-logo { max-height: 68px; opacity: 0.95; }
.footer-blurb { color: rgba(253, 252, 250, 0.7); max-width: 30rem; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(253, 252, 250, 0.78); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-link {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.08); color: var(--off-white);
    font-size: 0.72rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.12);
}
.social-link:hover { background: var(--magenta); border-color: var(--magenta); color: var(--white); }

.footer-newsletter-note { color: rgba(253, 252, 250, 0.65); font-size: 0.9rem; }
.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16);
    color: var(--white);
}
.newsletter-form .form-control::placeholder { color: rgba(253, 252, 250, 0.5); }
.newsletter-form .form-control:focus { border-color: var(--bright-gold); box-shadow: 0 0 0 0.2rem rgba(245, 197, 24, 0.25); }

.footer-contact { font-style: normal; font-size: 0.92rem; color: rgba(253, 252, 250, 0.7); display: flex; flex-direction: column; gap: 0.25rem; }
.footer-contact a { color: var(--gold-light); }

.footer-bottom {
    margin-top: 2.5rem; padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: space-between; align-items: center;
}
.copyright { margin: 0; color: rgba(253, 252, 250, 0.55); font-size: 0.85rem; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer-legal a { color: rgba(253, 252, 250, 0.65); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1050;
    width: 46px; height: 46px; border-radius: 50%;
    border: none; background: var(--royal-gold); color: var(--rich-black);
    font-size: 1.2rem; line-height: 1;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s ease; box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--bright-gold); }

/* ---------- Scroll reveal (on-scroll section animations) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.reveal-fade  { transform: none; }
.reveal-left  { transform: translateX(-34px); }
.reveal-right { transform: translateX(34px); }
.reveal-up    { transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 767.98px) {
    /* Prevent translateX from causing horizontal scrolling / page wobble on mobile devices */
    .reveal-left,
    .reveal-right {
        transform: translateY(22px);
    }
}

/* Stagger sibling cards so they animate in sequence */
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
.stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }
.stagger > .reveal:nth-child(9) { transition-delay: 0.64s; }
.stagger > .reveal:nth-child(10) { transition-delay: 0.72s; }
.stagger > .reveal:nth-child(11) { transition-delay: 0.80s; }
.stagger > .reveal:nth-child(12) { transition-delay: 0.88s; }

/* ---------- Misc helpers ---------- */
.text-sage { color: var(--sage-dark); }
.bg-sage-light { background: var(--sage-light); }
.border-sage { border-color: var(--sage) !important; }
.text-magenta { color: var(--magenta); }
.bg-magenta { background: var(--magenta); color: var(--white); }
.text-gold { color: var(--royal-gold); }
.text-royal-gold { color: var(--royal-gold); }
.text-bright-gold { color: var(--bright-gold); }
.text-rosegold { color: var(--rosegold); }
.text-rosegold-light { color: var(--rosegold-light); }
.bg-rich-black { background: var(--rich-black); color: var(--white); }
.bg-rosegold { background: var(--rosegold); color: var(--white); }
.max-w-sm { max-width: 40rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .loader-logo { animation: none; }
    .card-hover, .back-to-top, .site-header, .hero, .navbar, .reveal { transition: none; }
    #site-loader { display: none; }
}

/* ---------- Page hero with background photo ---------- */
.page-hero-img { position: relative; }
.page-hero-img::before {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(115deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.89) 42%, rgba(10, 10, 10, 0.68) 76%, rgba(10, 10, 10, 0.55) 100%),
        var(--ph-img, transparent) center / cover no-repeat;
    z-index: 0; pointer-events: none;
}
.page-hero-img > .container { position: relative; z-index: 1; }

.page-hero-yoga        { --ph-img: url('../img/content/yoga-asanas.jpg'); }
.page-hero-beach       { --ph-img: url('../img/content/yoga-beach.jpg'); }
.page-hero-pranayama   { --ph-img: url('../img/content/pranayama.jpg'); }
.page-hero-meditation  { --ph-img: url('../img/content/meditation.jpg'); }
.page-hero-restorative { --ph-img: url('../img/content/restorative.jpg'); }
.page-hero-group       { --ph-img: url('../img/content/group-class.jpg'); }
.page-hero-studio      { --ph-img: url('../img/content/studio.jpg'); }
.page-hero-brain       { --ph-img: url('../img/content/brain.jpg'); }
.page-hero-science     { --ph-img: url('../img/content/science.jpg'); }
.page-hero-lab         { --ph-img: url('../img/content/lab.jpg'); }
.page-hero-sleep       { --ph-img: url('../img/content/sleep.jpg'); }
.page-hero-fitness     { --ph-img: url('../img/content/fitness.jpg'); }
.page-hero-wellbeing   { --ph-img: url('../img/content/wellbeing.jpg'); }
.page-hero-corporate   { --ph-img: url('../img/content/corporate.jpg'); }
.page-hero-workshop    { --ph-img: url('../img/content/workshop.jpg'); }
.page-hero-books       { --ph-img: url('../img/content/books.jpg'); }
.page-hero-stress      { --ph-img: url('../img/content/stress.jpg'); }
.page-hero-zen         { --ph-img: url('../img/content/zen.jpg'); }
.page-hero-mountains   { --ph-img: url('../img/content/mountains.jpg'); }
.page-hero-founder     { --ph-img: url('../img/content/brain.jpg'); }

/* ---------- Founder page ---------- */
.founder-hero-role {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
}
.page-hero .section-lead { color: rgba(253, 252, 250, 0.82); }

/* Portrait: offset gold frame + overlapping credential badge */
.founder-portrait { position: relative; padding-bottom: 2.5rem; }
.founder-portrait-frame {
    border-radius: var(--radius);
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: relative;
}
.founder-portrait-frame::after {
    content: "";
    position: absolute;
    inset: 1.4rem -1.4rem -1.4rem 1.4rem;
    border: 2px solid var(--royal-gold);
    border-radius: var(--radius);
    z-index: -1;
}
.founder-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 22%;
    border-radius: calc(var(--radius) - 0.2rem);
    background: var(--cream);
}
.founder-monogram {
    aspect-ratio: 4 / 5;
    border-radius: calc(var(--radius) - 0.2rem);
    background:
        radial-gradient(600px 400px at 70% 0%, rgba(212, 175, 55, 0.28), transparent 60%),
        linear-gradient(150deg, var(--rich-black), #161616);
    display: flex; align-items: center; justify-content: center;
}
.founder-monogram span {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 9vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--royal-gold);
}
.founder-badge {
    position: absolute;
    left: -0.75rem; bottom: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 0.2rem);
    box-shadow: var(--shadow-md);
    padding: 0.85rem 1.1rem;
    max-width: 82%;
}

/* At-a-glance definition list */
.founder-facts { margin: 0; }
.founder-fact {
    display: flex; flex-wrap: wrap; gap: 0.25rem 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}
.founder-fact:last-child { border-bottom: 0; }
.founder-fact dt {
    flex: 0 0 11rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-dark);
}
.founder-fact dd { flex: 1 1 16rem; margin: 0; color: var(--ink); }

.founder-mantra { margin-bottom: 0; }
.founder-mantra .eyebrow { display: block; }
.founder-mantra-cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--sage-dark);
}

/* Credentials timeline — gold spine, alternating on desktop */
.founder-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.founder-timeline::before {
    content: "";
    position: absolute;
    left: 3.4rem; top: 0.5rem; bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--royal-gold), rgba(212, 175, 55, 0.15));
}
.founder-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 6.8rem 1fr;
    gap: 1.5rem;
    padding: 0 0 2.25rem;
}
.founder-timeline-item:last-child { padding-bottom: 0; }
.founder-timeline-year {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--royal-gold);
    text-align: right;
    padding-right: 1.5rem;
    position: relative;
}
.founder-timeline-year::after {
    content: "";
    position: absolute;
    right: -0.35rem; top: 0.55rem;
    width: 0.7rem; height: 0.7rem;
    border-radius: 50%;
    background: var(--royal-gold);
    box-shadow: 0 0 0 4px var(--off-white);
}
.section-alt .founder-timeline-year::after { box-shadow: 0 0 0 4px var(--cream); }
.founder-timeline-body {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.15rem 1.4rem;
}
.founder-timeline-body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.founder-timeline-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.founder-contact {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    display: flex; flex-direction: column; gap: 0.15rem;
}
.founder-contact a { color: var(--gold-light); }
.founder-contact-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

@media (max-width: 767.98px) {
    .founder-portrait { padding-bottom: 0; }
    .founder-portrait-frame::after { inset: 1rem; }
    .founder-badge { position: static; max-width: none; margin-top: -1.5rem; margin-left: 1rem; display: inline-block; }
    .founder-fact { flex-direction: column; }
    .founder-fact dt { flex: none; }
    .founder-timeline::before { left: 0.35rem; }
    .founder-timeline-item { grid-template-columns: 1fr; gap: 0.5rem; padding-left: 1.75rem; }
    .founder-timeline-year { text-align: left; padding-right: 0; }
    .founder-timeline-year::after { right: auto; left: -1.75rem; top: 0.35rem; }
}

/* ---------- Card images ---------- */
.card-img-top { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Section image (photo beside text) ---------- */
.section-img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-md); display: block;
}
.section-img-standalone { height: auto; aspect-ratio: 4 / 3; }
.card .section-img-standalone {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}
.section-img-frame {
    border-radius: calc(var(--radius) + 0.6rem);
    background: var(--white); border: 1px solid var(--border);
    padding: 0.6rem; box-shadow: var(--shadow-sm);
}
.section-img-frame .section-img { border-radius: calc(var(--radius) + 0.1rem); box-shadow: none; }

/* ---------- Full-width photo banner ---------- */
.photo-banner {
    position: relative; overflow: hidden;
    background-size: cover; background-position: center;
    color: var(--off-white);
    padding: clamp(4rem, 9vw, 7rem) 0;
    text-align: center;
}
.photo-banner::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.62));
}
.photo-banner > .container { position: relative; z-index: 1; }
.photo-banner h2 { color: var(--white); }
.photo-banner p { color: rgba(253, 252, 250, 0.85); max-width: 44rem; margin: 0 auto; }
.photo-banner .eyebrow { color: var(--gold-light); }
.photo-banner .btn { margin-top: 1.5rem; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 575.98px) {
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-legal { justify-content: center; }
    .feed-item { flex-direction: column; }
}

/* =========================================================
   Premium / luxurious redesign overrides
   ========================================================= */
:root {
    --radius: 1.1rem;
    --shadow-sm: 0 2px 6px rgba(15, 31, 92, 0.08), 0 8px 20px rgba(15, 31, 92, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 31, 92, 0.14);
    --shadow-lg: 0 24px 56px rgba(15, 31, 92, 0.18);
}

body {
    font-weight: 400;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
    font-weight: 700;
}

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }

.hero {
    min-height: 78vh;
    background:
        linear-gradient(120deg, rgba(15, 31, 92, 0.82) 0%, rgba(15, 31, 92, 0.55) 45%, rgba(15, 31, 92, 0.78) 100%),
        url('../img/content/meditation.jpg') center / cover no-repeat;
    background-color: #0F1F5C;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.hero-lead { font-size: 1.2rem; max-width: 42rem; }

.page-hero {
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
    background:
        radial-gradient(700px 400px at 90% -10%, rgba(212, 166, 42, 0.22), transparent 55%),
        linear-gradient(150deg, #0F1F5C, #162a6e);
}

.card {
    border: 1px solid rgba(212, 166, 42, 0.25);
    box-shadow: var(--shadow-sm);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.btn {
    letter-spacing: 0.015em;
    text-transform: none;
}

.site-header {
    box-shadow: 0 4px 20px rgba(15, 31, 92, 0.18);
}

.site-footer {
    background: linear-gradient(180deg, #0F1F5C, #0a1540);
}

.footer-heading {
    letter-spacing: 0.12em;
}

.eyebrow {
    letter-spacing: 0.18em;
    font-weight: 700;
}

.founder-photo {
    aspect-ratio: 4 / 5;
    object-position: center 15%;
}

/* ================= HERO CAROUSEL ================= */
.hero-carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    background-color: #0F1F5C;
}

.hero-carousel .carousel-inner {
    overflow: hidden;
    max-width: 100%;
}

.hero-carousel .carousel-item {
    min-height: 82vh;
    background-size: cover;
    background-position: center;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev {
    display: flex;
    align-items: center;
}

/* Gradient overlay to ensure crisp typography over any image */
.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(8, 17, 51, 0.94) 0%,
        rgba(15, 31, 92, 0.85) 45%,
        rgba(15, 31, 92, 0.58) 75%,
        rgba(8, 17, 51, 0.84) 100%
    );
    z-index: 1;
}

.hero-carousel .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(212, 166, 42, 0.22) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-carousel .hero-slide-content {
    position: relative;
    z-index: 2;
    padding: clamp(5.5rem, 11vw, 8.5rem) 0;
    max-width: 54rem;
}

.hero-carousel .hero-category-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F5D77F;
    background: rgba(15, 31, 92, 0.7);
    border: 1px solid rgba(212, 166, 42, 0.45);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-carousel .hero-title {
    font-size: clamp(2.3rem, 4.6vw, 3.9rem);
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-carousel .hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    line-height: 1.68;
    margin-bottom: 1.75rem;
    max-width: 46rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-carousel .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-carousel .hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(15, 31, 92, 0.65);
    border: 1px solid rgba(212, 166, 42, 0.45);
    color: #F5D77F;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}
.hero-carousel .hero-badge-pill:hover {
    background: rgba(212, 166, 42, 0.22);
    border-color: #D4A62A;
    color: #FFFFFF;
}

.hero-carousel .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

/* Custom Navigation Controls (Left & Right Arrows) */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 17, 51, 0.75);
    border: 1.5px solid rgba(212, 166, 42, 0.55);
    border-radius: 50%;
    z-index: 10;
    opacity: 0.88;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 1.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover,
.hero-carousel .carousel-control-prev:focus,
.hero-carousel .carousel-control-next:focus {
    opacity: 1;
    background: #D4A62A;
    border-color: #D4A62A;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 25px rgba(212, 166, 42, 0.7);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #FFFFFF;
    width: 100%;
    height: 100%;
    transition: color 0.2s ease;
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    color: #081133;
}

/* Indicators (Bottom Bullets) */
.hero-carousel .carousel-indicators {
    bottom: 2.25rem;
    z-index: 10;
    margin-bottom: 0;
    gap: 0.75rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(212, 166, 42, 0.35);
    transition: all 0.35s ease;
    margin: 0;
    padding: 0;
}

.hero-carousel .carousel-indicators .active {
    width: 44px;
    border-radius: 999px;
    background: linear-gradient(90deg, #D4A62A, #F28C1E);
    border-color: #D4A62A;
    box-shadow: 0 0 16px rgba(212, 166, 42, 0.7);
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        min-height: 72vh;
        text-align: center;
        padding: 3rem 0;
    }
    .hero-carousel .hero-slide-content {
        margin-inline: auto;
        padding: 2.5rem 0;
        max-width: 100%;
    }
    .hero-carousel .hero-title {
        font-size: clamp(1.6rem, 5.5vw, 2.3rem);
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .hero-carousel .hero-lead {
        font-size: 0.98rem;
        margin-bottom: 1.25rem;
    }
    .hero-carousel .hero-badges {
        justify-content: center;
        gap: 0.45rem;
    }
    .hero-carousel .hero-badge-pill {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    .hero-carousel .hero-cta {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-carousel .hero-cta .btn {
        width: 100%;
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none !important;
    }
    .hero-carousel .carousel-indicators {
        bottom: 1rem;
    }
}

/* ---------- Global Responsive Overflow Safeguards ---------- */
.table-responsive {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .card-body {
        padding: 1.25rem 1rem;
    }
}

/* ---------- Institutional Highlights Ribbon ---------- */
.highlights-ribbon {
    background: linear-gradient(180deg, #081133 0%, #0F1F5C 100%);
    border-top: 1.5px solid rgba(212, 166, 42, 0.4);
    border-bottom: 1.5px solid rgba(212, 166, 42, 0.25);
    color: #FFFFFF;
    padding: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.ribbon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-right: 1px solid rgba(212, 166, 42, 0.2);
    transition: transform 0.2s ease;
}
.ribbon-item:last-child {
    border-right: none;
}
.ribbon-item:hover {
    transform: translateY(-2px);
}
.ribbon-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 166, 42, 0.22), rgba(242, 140, 30, 0.12));
    border: 1.5px solid rgba(212, 166, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A62A;
    font-size: 1.55rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ribbon-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}
.ribbon-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
    line-height: 1.35;
}
@media (max-width: 991.98px) {
    .ribbon-item {
        border-right: none;
        border-bottom: 1px solid rgba(212, 166, 42, 0.15);
        padding: 0.85rem 0.5rem;
        justify-content: flex-start;
    }
    .ribbon-item:last-child {
        border-bottom: none;
    }
}

/* ---------- University Pillar Cards ---------- */
.pillar-card {
    position: relative;
    border-top: 3px solid #D4A62A !important;
    background: #FFFFFF !important;
    border-radius: var(--radius);
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A62A, #F28C1E);
}
.pillar-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.6rem;
    color: rgba(212, 166, 42, 0.22);
    line-height: 1;
}

/* ---------- Footer Polish ---------- */
.site-footer {
    background: linear-gradient(180deg, #0F1F5C 0%, #081133 100%);
    border-top: 2px solid rgba(212, 166, 42, 0.4);
}
.footer-logo {
    max-height: 84px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.footer-heading {
    color: #D4A62A !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-links li a {
    color: rgba(255, 255, 255, 0.78);
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0.15rem 0;
}
.footer-links li a:hover {
    color: #F5D77F;
    transform: translateX(4px);
}
.footer-address-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 166, 42, 0.25);
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
    margin-top: 0.65rem;
    font-size: 0.86rem;
    line-height: 1.45;
}
.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 166, 42, 0.35);
    color: #F5D77F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.footer-social .social-link:hover {
    background: #D4A62A;
    color: #081133;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 166, 42, 0.4);
}
