/*
 * Best Defensive Driving School — Main Stylesheet v2.0
 * Fonts: Outfit (headings) + Inter (body) — modern, clean, premium
 * Palette: Logo Royal Blue (#1B2E9C) + Logo Orange (#F47920)
 */

/* =========================================================
   0. GOOGLE FONTS — Outfit + Inter
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
    --navy:          #111D6B;
    --navy-mid:      #162490;
    --navy-light:    #1E30AC;
    --gold:          #F47920;
    --gold-light:    #FF9A4A;
    --gold-pale:     #FFF0E5;
    --gold-deep:     #C95E0A;
    --cream:         #FAF8F5;
    --white:         #FFFFFF;
    --gray-50:       #F9FAFB;
    --gray-100:      #F3F4F6;
    --gray-200:      #E5E7EB;
    --gray-300:      #D1D5DB;
    --gray-400:      #9CA3AF;
    --gray-500:      #6B7280;
    --gray-600:      #4B5563;
    --gray-700:      #374151;
    --gray-900:      #111827;
    --text-dark:     #111D6B;
    --text-body:     #1a2560;
    --text-muted:    #6B7280;

    --font-heading:  'Outfit', -apple-system, sans-serif;
    --font-body:     'Inter', -apple-system, sans-serif;

    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --container-max: 1240px;
    --container-pad: 1.5rem;
    --header-h:      88px;
    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --radius-xl:     28px;
    --radius-full:   9999px;

    --shadow-xs:   0 1px 3px rgba(17,29,107,0.06);
    --shadow-sm:   0 2px 8px rgba(17,29,107,0.08);
    --shadow-md:   0 4px 20px rgba(17,29,107,0.12);
    --shadow-lg:   0 8px 40px rgba(17,29,107,0.16);
    --shadow-xl:   0 16px 64px rgba(17,29,107,0.20);
    --shadow-gold: 0 4px 24px rgba(244,121,32,0.35);
    --shadow-gold-lg: 0 8px 40px rgba(244,121,32,0.30);

    --t-fast:   150ms ease;
    --t-base:   280ms ease;
    --t-slow:   500ms ease;
    --t-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 1rem; font-weight: 400; line-height: 1.7;
    color: var(--text-body); background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}
img,video,svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-light); }
ul,ol { list-style: none; }
button,input,select,textarea { font-family: inherit; }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700; line-height: 1.15;
    letter-spacing: -0.02em; color: var(--text-dark);
}

/* =========================================================
   3. UTILITIES
   ========================================================= */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }
.section    { padding-block: var(--space-2xl); }
.section--lg { padding-block: var(--space-3xl); }
.section--sm { padding-block: var(--space-xl); }
.bg-navy    { background-color: var(--navy); }
.bg-cream   { background-color: var(--cream); }
.bg-white   { background-color: var(--white); }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold); }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
}
.section-eyebrow::before {
    content: ''; display: block; width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px; flex-shrink: 0;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 800; line-height: 1.15;
    letter-spacing: -0.025em; color: var(--text-dark);
    margin-bottom: 1rem;
}
.section-title--white { color: var(--white); }
.section-body {
    font-size: 1.05rem; color: var(--text-muted);
    line-height: 1.75; max-width: 580px;
}
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center .section-eyebrow { justify-content: center; }
.section-header--center .section-body { margin-inline: auto; }

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.8125rem 1.875rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.875rem; font-weight: 600;
    letter-spacing: 0.01em; cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--t-base);
    white-space: nowrap; text-decoration: none;
    position: relative; overflow: hidden; line-height: 1;
}
.btn svg { flex-shrink: 0; transition: transform var(--t-base); }
.btn:hover svg.arrow-icon { transform: translateX(3px); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy); font-weight: 700;
    box-shadow: 0 2px 12px rgba(244,121,32,.25);
}
.btn-primary:hover {
    transform: translateY(-2px); color: var(--navy);
    box-shadow: 0 6px 28px rgba(244,121,32,.40);
}
.btn-ghost-white {
    background: rgba(255,255,255,0.08); color: var(--white);
    border-color: rgba(255,255,255,0.28); backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.45);
    color: var(--white); transform: translateY(-2px);
}
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.5625rem 1.25rem; font-size: 0.8125rem; }

/* =========================================================
   6. HEADER TOPBAR + MAIN HEADER
   ========================================================= */

/* ── Top announcement bar ── */
.header-topbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1001; height: 36px;
    background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
    display: flex; align-items: center;
}
.header-topbar-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    width: 100%; gap: 1rem;
}
.topbar-left {
    display: flex; align-items: center; gap: 1.5rem;
}
.topbar-item {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-body);
    font-size: 0.72rem; font-weight: 600;
    color: var(--white); white-space: nowrap;
    text-decoration: none;
    transition: opacity var(--t-fast);
}
.topbar-item:hover { opacity: 0.85; color: var(--white); }
.topbar-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.9; }
.topbar-divider {
    width: 1px; height: 14px;
    background: rgba(255,255,255,0.35); flex-shrink: 0;
}
.topbar-right {
    display: flex; align-items: center; gap: 1rem;
}
.topbar-social {
    display: flex; align-items: center; gap: 6px;
}
.topbar-social a {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: var(--white); transition: background var(--t-fast);
}
.topbar-social a:hover { background: rgba(255,255,255,0.32); }
.topbar-social svg { width: 11px; height: 11px; }
.topbar-badge {
    background: rgba(255,255,255,0.22);
    color: var(--white); padding: 2px 8px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.08em; white-space: nowrap;
}

/* ── Main navigation header ── */
#site-header {
    position: fixed;
    top: 36px;                    /* sits below the topbar */
    left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(17,29,107,0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow var(--t-base), background var(--t-base), top var(--t-base);
}
#site-header.scrolled {
    top: 0;                       /* topbar scrolls away, header snaps up */
    background: rgba(17,29,107,0.99);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 28px rgba(0,0,0,0.35);
}
/* When topbar is hidden (scrolled), keep header at top */
body.scrolled-past-topbar .header-topbar { transform: translateY(-100%); transition: transform var(--t-base); }

/* Overall offset for page content */
:root { --topbar-h: 36px; }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; padding-block: 14px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; }
.logo-lockup { display: flex; flex-direction: column; gap: 2px; }

/* ── Text-only logo (no icon) ── */
.logo-text-only {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Single-line business name */
.logo-business-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.025em;
    line-height: 1;
    white-space: nowrap;
}

/* Footer variant — slightly larger */
.site-logo--footer .logo-business-name {
    font-size: 1.3rem;
}
.site-logo--footer .logo-tagline {
    color: var(--gold);
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.62rem;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}

/* Keep old .logo-name in case custom logo uses it */
.logo-name {
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800;
    color: var(--white); line-height: 1; letter-spacing: -0.02em;
}
#primary-navigation { flex: 1; display: flex; justify-content: center; }
#primary-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
#primary-menu > li > a {
    display: block; padding: 0.5rem 0.875rem;
    color: rgba(255,255,255,0.72);
    font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color var(--t-fast), background var(--t-fast);
    position: relative;
}
#primary-menu > li > a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px; transition: left var(--t-base), right var(--t-base);
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a { color: var(--white); }
#primary-menu > li > a:hover::after,
#primary-menu > li.current-menu-item > a::after { left: 0.875rem; right: 0.875rem; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.menu-toggle {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    padding: 0.5rem; border-radius: var(--radius-sm);
    transition: background var(--t-fast);
}
.menu-toggle:hover { background: rgba(255,255,255,0.08); }
.menu-toggle span {
    display: block; width: 22px; height: 2px; background: var(--white);
    border-radius: 2px; transition: transform var(--t-base), opacity var(--t-fast); transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav {
    display: none; position: fixed; inset: calc(var(--header-h) + var(--topbar-h)) 0 0 0;
    background: var(--navy); z-index: 999; overflow-y: auto;
    padding: 2rem var(--container-pad);
    transform: translateX(100%); transition: transform var(--t-base);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li + li { border-top: 1px solid rgba(255,255,255,0.07); }
.mobile-nav ul li a {
    display: block; padding: 1rem 0; color: rgba(255,255,255,0.8);
    font-size: 1.1rem; font-weight: 500;
    transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-nav ul li a:hover { color: var(--gold); padding-left: 6px; }
.mobile-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.875rem; }

/* =========================================================
   7. HERO — FULLY REDESIGNED v2
   ========================================================= */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--navy); overflow: hidden;
    padding-top: calc(var(--header-h) + var(--topbar-h));
}

/* --- Background: real photo + brand gradient overlay --- */

/* Full-cover hero photo */
.hero-photo {
    position: absolute; inset: 0; pointer-events: none;
    background-image: url('https://drgekas.com/wp-content/uploads/2026/05/person-taking-driver-s-license-exam-scaled.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Brand-colour gradient overlay:
   Deep navy on the left (keeps text readable) bleeding
   into warm orange on the right — using exact logo colours */
.hero-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(
            105deg,
            rgba(17, 29, 107, 0.94) 0%,
            rgba(17, 29, 107, 0.85) 35%,
            rgba(17, 29, 107, 0.60) 55%,
            rgba(244, 121, 32, 0.35) 75%,
            rgba(244, 121, 32, 0.52) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.30) 0%,
            rgba(0, 0, 0, 0.45) 100%
        );
}

/* Subtle dot texture on top */
.hero-bg-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.025;
    background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
    background-size: 36px 36px;
}

/* Decorative thin diagonal lines */
.hero-lines {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-lines::before {
    content: ''; position: absolute;
    width: 1px; height: 320px;
    background: linear-gradient(to bottom, transparent, rgba(244,121,32,0.25), transparent);
    right: 22%; top: 8%; transform: rotate(-12deg);
}
.hero-lines::after {
    content: ''; position: absolute;
    width: 1px; height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(244,121,32,0.12), transparent);
    right: 30%; top: 35%; transform: rotate(-12deg);
}

/* --- Two-column inner layout --- */
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 440px;
    gap: 4.5rem; align-items: center;
    padding: 5rem 0;
    width: 100%;
}

/* --- LEFT: content --- */
.hero-content {}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px 5px 7px;
    background: rgba(244,121,32,0.10);
    border: 1px solid rgba(244,121,32,0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: 1.75rem;
    animation: fadeSlideUp 0.65s ease both;
}
.hero-eyebrow-dot {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.hero-eyebrow-dot svg { width: 11px; height: 11px; color: var(--navy); }

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900; color: var(--white);
    line-height: 1.03; letter-spacing: -0.03em;
    margin-bottom: 0; display: block;
    animation: fadeSlideUp 0.65s ease 0.1s both;
}
.hero-headline-accent {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900; line-height: 1.03;
    letter-spacing: -0.03em; display: block;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, var(--gold) 15%, var(--gold-light) 55%, #f5e6a0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeSlideUp 0.65s ease 0.18s both;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.05rem; color: rgba(255,255,255,0.60);
    line-height: 1.8; max-width: 510px;
    margin-bottom: 2.25rem; font-weight: 400;
    animation: fadeSlideUp 0.65s ease 0.28s both;
}

.hero-actions {
    display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap;
    margin-bottom: 2.75rem;
    animation: fadeSlideUp 0.65s ease 0.38s both;
}

/* Trust strip inside hero */
.hero-trust {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    padding-top: 1.875rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: fadeSlideUp 0.65s ease 0.48s both;
}
.hero-trust-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.775rem; font-weight: 500;
    color: rgba(255,255,255,0.48); white-space: nowrap;
}
.hero-trust-item svg { color: var(--gold); flex-shrink: 0; }
.hero-trust-divider {
    width: 1px; height: 18px;
    background: rgba(255,255,255,0.12); flex-shrink: 0;
}

/* --- RIGHT: glass card stack --- */
.hero-visual {
    position: relative; display: flex; flex-direction: column; gap: 1rem;
    animation: fadeSlideUp 0.75s ease 0.35s both;
}

/* Decorative ring behind cards */
.hero-ring-wrap {
    position: absolute; inset: -60px; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    z-index: -1;
}
.hero-ring {
    width: 380px; height: 380px; border-radius: 50%;
    border: 1px solid rgba(244,121,32,0.10);
    position: relative; flex-shrink: 0;
}
.hero-ring::after {
    content: ''; position: absolute; inset: 28px;
    border-radius: 50%; border: 1px solid rgba(244,121,32,0.06);
}

/* Main stats card */
.hero-card-main {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-xl);
    padding: 1.875rem 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.07);
    position: relative; overflow: hidden;
}
.hero-card-main::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.hero-card-eyebrow {
    font-family: var(--font-body);
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.25rem;
}
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem; font-weight: 900;
    color: var(--white); line-height: 1; letter-spacing: -0.03em;
}
.hero-stat-num em { color: var(--gold); font-style: normal; }
.hero-stat-desc {
    font-size: 0.72rem; color: rgba(255,255,255,0.42);
    margin-top: 4px; line-height: 1.4;
}

/* Mini cards row */
.hero-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-mini-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    padding: 1.125rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
    transition: background var(--t-base), transform var(--t-base);
}
.hero-mini-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.hero-mini-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(244,121,32,0.15); border: 1px solid rgba(244,121,32,0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); flex-shrink: 0;
}
.hero-mini-icon svg { width: 16px; height: 16px; }
.hero-mini-val {
    font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 800;
    color: var(--white); line-height: 1; letter-spacing: -0.02em;
}
.hero-mini-lbl {
    font-size: 0.65rem; color: rgba(255,255,255,0.38);
    margin-top: 2px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.3); font-family: var(--font-body);
    font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}
.scroll-mouse {
    width: 22px; height: 34px; border-radius: 11px;
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
    width: 3px; height: 6px; border-radius: 2px;
    background: rgba(244,121,32,0.6);
    animation: scrollWheel 2.2s ease infinite;
}

/* =========================================================
   8. TRUST STRIP
   ========================================================= */
.trust-strip {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 1rem 0;
}
.trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 8px;
    color: var(--navy); font-weight: 600; font-size: 0.82rem;
    white-space: nowrap; font-family: var(--font-body);
}

/* =========================================================
   9. SERVICE CARDS
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.75rem; border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0); transform-origin: left; transition: transform var(--t-base);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(244,121,32,0.25); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(244,121,32,0.10); border: 1px solid rgba(244,121,32,0.18);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); margin-bottom: 1.25rem;
    transition: background var(--t-base), transform var(--t-spring);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--navy); transform: scale(1.08) rotate(-5deg); }
.service-card h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.625rem; letter-spacing: -0.015em; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.service-card-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--gold); font-size: 0.82rem; font-weight: 600;
    margin-top: 1.25rem; transition: gap var(--t-fast);
}
.service-card:hover .service-card-link { gap: 7px; }

/* =========================================================
   10. ABOUT PREVIEW
   ========================================================= */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius-xl); overflow: visible; }
.about-img-inner { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img-inner img {
    width: 100%; height: 480px; object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--t-slow);
}
.about-img-wrap:hover .about-img-inner img { transform: scale(1.04); }
.about-img-badge {
    position: absolute; bottom: 2rem; right: -1.5rem;
    background: var(--gold); color: var(--navy);
    padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold-lg); text-align: center; z-index: 1;
}
.about-img-badge .num { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.about-img-badge .lbl { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; }
.about-content { padding-right: 1rem; }
.about-features { margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0.875rem; }
.about-feature {
    display: flex; gap: 0.875rem; align-items: flex-start;
    padding: 0.875rem 1.125rem; background: var(--gray-50);
    border-radius: var(--radius-md); border-left: 3px solid var(--gold);
    transition: background var(--t-fast), transform var(--t-fast);
}
.about-feature:hover { background: var(--gold-pale); transform: translateX(4px); }
.about-feature-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.about-feature h4 { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.about-feature p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* =========================================================
   11. COURSE CARDS
   ========================================================= */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 1.5rem; }
.course-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform var(--t-base), box-shadow var(--t-base); display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card-header { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 1.75rem; position: relative; overflow: hidden; }
.course-card-header::after { content: ''; position: absolute; bottom: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(244,121,32,0.10); }
.course-badge { display: inline-block; background: var(--gold); color: var(--navy); padding: 3px 10px; border-radius: var(--radius-full); font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.75rem; }
.course-card-header h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.625rem; letter-spacing: -0.02em; }
.course-card-header .price { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 900; color: var(--gold); letter-spacing: -0.03em; }
.course-card-header .price sup { font-size: 1rem; vertical-align: super; }
.course-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-includes { list-style: none; margin: 0.875rem 0; flex: 1; }
.course-includes li { display: flex; align-items: flex-start; gap: 8px; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.875rem; color: var(--text-body); }
.course-includes li:last-child { border-bottom: none; }
.course-includes .check { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.course-card-footer { padding: 0 1.5rem 1.5rem; }

/* =========================================================
   12. FEATURES DARK
   ========================================================= */
.features-bg { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%); position: relative; overflow: hidden; }
.features-bg::before { content: ''; position: absolute; top: -60%; right: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(244,121,32,0.07) 0%, transparent 70%); pointer-events: none; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; }
.feature-item { text-align: center; padding: 2rem 1.5rem; }
.feature-icon-wrap { width: 60px; height: 60px; border-radius: var(--radius-md); background: rgba(244,121,32,0.10); border: 1px solid rgba(244,121,32,0.22); display: flex; align-items: center; justify-content: center; color: var(--gold); margin: 0 auto 1.25rem; transition: background var(--t-base), transform var(--t-spring); }
.feature-item:hover .feature-icon-wrap { background: var(--gold); color: var(--navy); transform: scale(1.1) rotate(-6deg); }
.feature-num { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 0.375rem; letter-spacing: -0.03em; }
.feature-label { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.8125rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* =========================================================
   13. TESTIMONIALS
   ========================================================= */
.testimonials-bg { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.25rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-xs); border: 1px solid var(--gray-200); transition: box-shadow var(--t-base), transform var(--t-base); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-text { font-size: 0.875rem; color: var(--text-body); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; position: relative; padding-left: 1.125rem; }
.testimonial-text::before { content: '"'; position: absolute; left: 0; top: -4px; font-family: var(--font-heading); font-size: 2.5rem; color: var(--gold); line-height: 1; opacity: 0.3; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--font-heading); font-size: 1rem; font-weight: 800; flex-shrink: 0; }
.author-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--text-dark); letter-spacing: -0.01em; }
.author-info { font-size: 0.75rem; color: var(--text-muted); }

/* =========================================================
   14. CTA BANNER
   ========================================================= */
.cta-banner { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); padding: var(--space-xl) 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 0%, transparent 50%); opacity: 0.10; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }
.cta-banner h2 { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--navy); letter-spacing: -0.025em; flex: 1; min-width: 240px; }
.cta-banner p { color: var(--navy-mid); font-size: 1rem; margin-top: 0.5rem; }
.cta-banner-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* =========================================================
   15. CONTACT PREVIEW
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs); text-align: center; transition: box-shadow var(--t-base), transform var(--t-base); }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(244,121,32,0.10); border: 2px solid rgba(244,121,32,0.18); display: flex; align-items: center; justify-content: center; color: var(--gold); margin: 0 auto 1.125rem; transition: background var(--t-base), transform var(--t-spring); }
.contact-card:hover .contact-card-icon { background: var(--gold); color: var(--navy); transform: scale(1.1); }
.contact-card h4 { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.contact-card p, .contact-card a { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.contact-card a:hover { color: var(--gold); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; border: 2px solid var(--gray-200); }
.map-wrap iframe { display: block; }

/* =========================================================
   16. PAGE HERO (inner pages)
   ========================================================= */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 70%, var(--navy-light) 100%); padding: calc(var(--header-h) + var(--topbar-h) + 3.5rem) 0 3.5rem; position: relative; overflow: hidden; text-align: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(244,121,32,0.10), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-eyebrow {
    justify-content: center;
    color: var(--gold-light);           /* slightly lighter orange — better on dark bg */
    background: transparent;
    border: none;
    box-shadow: none;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.page-hero .section-eyebrow::before {
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
}
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--white); letter-spacing: -0.03em; margin: 0.5rem 0 1rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 520px; margin-inline: auto; line-height: 1.75; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 1.5rem; font-size: 0.8125rem; color: rgba(255,255,255,0.45); }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.35; }
.breadcrumb .current { color: var(--gold); }

/* =========================================================
   17-19. ABOUT / GALLERY / CONTACT (unchanged structure, updated typography)
   ========================================================= */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-story-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-story-img img { width: 100%; height: 500px; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); border: 1px solid var(--gray-200); transition: transform var(--t-base), box-shadow var(--t-base); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-img-wrap { background: linear-gradient(135deg, var(--navy), var(--navy-light)); height: 220px; display: flex; align-items: center; justify-content: center; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-img-placeholder { width: 76px; height: 76px; border-radius: 50%; background: rgba(244,121,32,0.18); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; }
.team-info { padding: 1.375rem; text-align: center; }
.team-info h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; letter-spacing: -0.015em; }
.team-role { font-size: 0.72rem; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.625rem; }
.team-info p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
}
.value-item {
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 12px rgba(17,29,107,0.06);
    border-top: 4px solid var(--gold);
    transition: transform var(--t-base), box-shadow var(--t-base);
    min-width: 0;
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-item h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin: 0.625rem 0 0.5rem; letter-spacing: -0.015em; }
.value-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; background: var(--navy-mid); box-shadow: var(--shadow-xs); transition: transform var(--t-base), box-shadow var(--t-base); }
.gallery-item:nth-child(4n+1) { grid-row: span 2; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; transition: transform var(--t-slow); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(17,29,107,0.88) 0%,
        rgba(17,29,107,0.40) 45%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--t-base);
    display: flex; align-items: flex-end;
    padding: 1.25rem;
}
.real-gallery-item:hover .gallery-overlay,
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
    color: var(--white); font-size: 0.875rem; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: flex-start; }
.contact-info-block { position: sticky; top: calc(var(--header-h) + var(--topbar-h) + 2rem); }
.contact-info-title { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1.25rem; }
.contact-info-list { list-style: none; }
.contact-info-list li { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1.125rem 0; border-bottom: 1px solid var(--gray-200); }
.contact-info-list li:first-child { padding-top: 0; }
.contact-info-icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(244,121,32,0.09); border: 1px solid rgba(244,121,32,0.18); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.contact-info-content h4 { font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.25rem; }
.contact-info-content p, .contact-info-content a { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.contact-info-content a:hover { color: var(--gold); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table tr { border-bottom: 1px solid var(--gray-100); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 4px 0; font-size: 0.8125rem; color: var(--text-muted); }
.hours-table td:first-child { font-weight: 600; color: var(--text-dark); width: 120px; }
.hours-open { color: #16a34a !important; font-weight: 600 !important; }
.contact-form-card { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.contact-form-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.375rem; letter-spacing: -0.025em; }
.contact-form-card .subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.375rem; }
.form-group label .required { color: var(--gold); margin-left: 2px; }
.form-control { width: 100%; padding: 0.8125rem 1rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dark); background: var(--white); transition: border-color var(--t-fast), box-shadow var(--t-fast); outline: none; appearance: none; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,121,32,0.12); }
.form-control::placeholder { color: var(--gray-400); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-message { padding: 0.875rem 1.125rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; font-size: 0.875rem; font-weight: 500; display: none; }
.form-message.success { background: #ecfdf5; border: 1px solid #86efac; color: #14532d; display: block; }
.form-message.error   { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; display: block; }
.social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(244,121,32,0.09); border: 1px solid rgba(244,121,32,0.22); display: flex; align-items: center; justify-content: center; color: var(--gold-light); text-decoration: none; transition: background var(--t-fast), transform var(--t-spring), color var(--t-fast); }
.social-link:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px) scale(1.1); }
.social-link svg { width: 17px; height: 17px; }

/* =========================================================
   20. FOOTER
   ========================================================= */
#site-footer { background: linear-gradient(180deg, var(--navy) 0%, #060f1e 100%); color: rgba(255,255,255,0.6); border-top: 1px solid rgba(244,121,32,0.15); }
.footer-top { padding: 4.5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 3rem; }
.footer-brand .site-logo { margin-bottom: 1.125rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; max-width: 270px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.125rem; }
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.50); transition: color var(--t-fast), padding-left var(--t-fast); display: inline-block; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-list { list-style: none; }
.footer-contact-list li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 0.8125rem; color: rgba(255,255,255,0.50); }
.footer-contact-list .ico { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,0.50); }
.footer-contact-list a:hover { color: var(--gold-light); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom { padding: 1.375rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.40); }
.footer-bottom a:hover { color: var(--gold); }
#footer-widgets { padding: 3rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.widget-area { color: rgba(255,255,255,0.55); }
.widget-area .widget { margin-bottom: 2rem; }
.widget-area .widget-title { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }

/* =========================================================
   21. ANIMATIONS
   ========================================================= */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes orbFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(20px,-28px) scale(1.04); } }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; transform: translateY(10px); } }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal-delay="2"] { transition-delay: 0.20s; }
[data-reveal-delay="3"] { transition-delay: 0.30s; }
[data-reveal-delay="4"] { transition-delay: 0.40s; }

/* =========================================================
   22. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { display: none; }
    .hero { min-height: auto; padding-bottom: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .about-preview, .about-story { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-badge { right: 1rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info-block { position: static; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .gallery-item:nth-child(4n+1) { grid-row: auto; }
}
@media (max-width: 768px) {
    :root { --header-h: 72px; --container-pad: 1.125rem; --space-2xl: 3.5rem; --space-3xl: 4.5rem; }
    #primary-navigation { display: none !important; }
    .header-actions .btn { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: block; }
    .hero-headline, .hero-headline-accent { font-size: clamp(2.25rem,8vw,3rem); }
    .trust-strip-inner { gap: 1.25rem; justify-content: flex-start; overflow-x: auto; padding-inline: var(--container-pad); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: repeat(2,1fr); }
    .team-grid, .values-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .cta-banner-actions { justify-content: center; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .hero-trust { gap: 1rem; }
    .hero-trust-divider { display: none; }
}
@media (max-width: 480px) {
    .contact-cards { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   23. ACCESSIBILITY & WORDPRESS
   ========================================================= */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--gold); color: var(--navy); padding: 0.75rem 1.5rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 0; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.entry-content { max-width: 760px; }
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6 { margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul,.entry-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote { border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--gray-50); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--text-muted); font-style: italic; }

/* =========================================================
   TOPBAR RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    :root { --topbar-h: 30px; }
    .header-topbar { height: 30px; }
    .topbar-left .topbar-item:nth-child(n+3) { display: none; }
    .topbar-divider:nth-child(n+3) { display: none; }
    .topbar-badge { display: none; }
    .topbar-social { display: none; }
    .topbar-item { font-size: 0.68rem; }
}
@media (max-width: 480px) {
    .topbar-left .topbar-item:nth-child(n+2) { display: none; }
    .topbar-divider { display: none; }
}

/* =========================================================
   LOGO IMAGE
   ========================================================= */
.site-logo-img {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
.site-logo-img--footer {
    height: 56px;
    max-width: 200px;
    /* lighten on dark footer bg if needed */
    filter: brightness(1.05);
}

/* =========================================================
   INNER PAGE HERO — fix subheading readability
   ========================================================= */
.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.90) !important;  /* was .65 — boost to near-white */
    max-width: 580px;
    margin-inline: auto;
    line-height: 1.75;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);   /* subtle shadow for contrast */
}
.page-hero h1 {
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.breadcrumb a {
    color: rgba(255,255,255,0.80) !important;  /* was .6 */
}

/* =========================================================
   COURSES PAGE — 5-column stats row
   ========================================================= */
.course-stats-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));   /* minmax(0) prevents blowout */
    gap: 1.25rem;
    width: 100%;
}
.course-stat-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 0.875rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 12px rgba(17,29,107,0.07);
    transition: transform var(--t-base), box-shadow var(--t-base);
    min-width: 0;                                       /* critical: prevents grid cell overflow */
}
.course-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(17,29,107,0.15);
}
.course-stat-icon {
    color: var(--gold);
    margin-bottom: 0.875rem;
    display: flex;
    justify-content: center;
}
.course-stat-num {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
}
.course-stat-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
    line-height: 1.35;
}

/* =========================================================
   GALLERY — real images grid (3 columns, uniform)
   ========================================================= */
/* ── Gallery: clean 3-column even grid, 2 rows of 3 ── */
.real-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

/* All items: uniform height, no spanning */
.real-gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--navy-mid);
    box-shadow: 0 2px 12px rgba(17,29,107,0.10);
    height: 300px;
    min-width: 0;
    transition: transform var(--t-base), box-shadow var(--t-base);
}

/* Remove all span overrides */
.real-gallery-item:nth-child(1),
.real-gallery-item:nth-child(4) {
    grid-row: auto;
    height: 300px;
}

.real-gallery-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 40px rgba(17,29,107,0.22);
    z-index: 2;
}
.real-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}
.real-gallery-item:hover img { transform: scale(1.07); }
.real-gallery-item:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 1024px) {
    .course-stats-row { grid-template-columns: repeat(3, 1fr); }
    .real-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .real-gallery-item { height: 240px; }
    .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }  /* keep 3-col on tablet */
}
@media (max-width: 768px) {
    .course-stats-row { grid-template-columns: repeat(2, 1fr); }
    .real-gallery-grid { grid-template-columns: 1fr; }
    .real-gallery-item { height: 240px; }
    .values-grid { grid-template-columns: 1fr; }
    .site-logo-img { height: 42px; }
}
