/* =============================================================================
   PUBLIC MARKETING SITE STYLESHEET
   -----------------------------------------------------------------------
   Scoped to the public-facing pages only (homepage, courses, about, etc).
   The staff dashboard and parent portal keep using assets/css/style.css
   untouched - this file never overrides their classes.

   Theming: the variables below are defaults. site/partials/site-header.php
   prints a small inline <style> block that overrides --brand-primary /
   --brand-accent from this tenant's BRAND_* constants (config/config.php),
   so reskinning a future client is just new constant values, not new CSS.
============================================================================= */

:root {
    --brand-primary:       #1E4A78;
    --brand-primary-dark:  #163a60;
    --brand-primary-light: #e8eef8;
    --brand-accent:        #AB8218;
    --brand-accent-dark:   #8a6813;
    --brand-dark:          #0d2444;
    --brand-text:          #1e3250;
    --brand-muted:         #4a6080;
    --brand-bg:            #f8f9fc;
    --brand-bg-alt:        #eef2f9;
    --brand-card:          #ffffff;
    --brand-border:        #d0dced;

    --site-radius-sm: 8px;
    --site-radius-md: 14px;
    --site-radius-lg: 22px;
    --site-shadow-sm: 0 2px 10px rgba(13,36,68,0.06);
    --site-shadow-md: 0 10px 30px rgba(13,36,68,0.10);
    --site-shadow-lg: 0 20px 50px rgba(13,36,68,0.16);
    --site-font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --site-font-body:    'Inter', 'Segoe UI', sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

.site-body {
    margin: 0;
    font-family: var(--site-font-body);
    color: var(--brand-text);
    background: var(--brand-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
.site-body h1, .site-body h2, .site-body h3, .site-body h4 {
    font-family: var(--site-font-heading);
    color: var(--brand-dark);
    line-height: 1.25;
    margin: 0 0 16px;
}
.site-body a { color: var(--brand-primary); text-decoration: none; }
.site-body img { max-width: 100%; display: block; }

.site-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Sections ---------- */
.site-section { padding: 90px 0; }
.site-section--alt  { background: var(--brand-bg-alt); }
.site-section--dark {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary-dark) 100%);
    color: #eef5f2;
}
.site-section--dark h2, .site-section--dark h3 { color: #fff; }
.site-section--dark p  { color: rgba(238,245,242,0.85); }

.site-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.site-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary-dark);
    background: var(--brand-primary-light);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.site-section__title    { font-size: 36px; }
.site-section__subtitle { color: var(--brand-muted); font-size: 17px; margin: 0; line-height: 1.6; }

/* ---------- Buttons ---------- */
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--site-radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: var(--site-font-body);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
/* Primary — teal, always white text */
.site-btn--primary {
    background: var(--brand-primary);
    color: #ffffff !important;
    border-color: var(--brand-primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.site-btn--primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,74,120,0.30);
}
/* Accent — gold, always dark text for contrast */
.site-btn--accent {
    background: var(--brand-accent);
    color: #1a1200 !important;
    border-color: var(--brand-accent);
    text-shadow: none;
}
.site-btn--accent:hover {
    background: var(--brand-accent-dark);
    border-color: var(--brand-accent-dark);
    color: #1a1200 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,164,55,0.30);
}
/* Outline (used on dark backgrounds) */
.site-btn--outline {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.70);
    color: #ffffff !important;
    backdrop-filter: blur(4px);
}
.site-btn--outline:hover {
    background: rgba(255,255,255,0.22);
    border-color: #fff;
    color: #ffffff !important;
}
/* Outline-dark (used on light/white backgrounds) */
.site-btn--outline-dark {
    background: transparent;
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
}
.site-btn--outline-dark:hover {
    background: var(--brand-primary);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(30,74,120,0.22);
}
.site-btn--lg    { padding: 16px 36px; font-size: 16px; }
.site-btn--sm    { padding: 9px 18px; font-size: 13px; }
.site-btn--block { width: 100%; text-align: center; }

/* ---------- Sticky Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #dde4ef;
    box-shadow: 0 2px 14px rgba(30,74,120,0.07);
}
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 24px;
    max-width: 1180px;
    margin: 0 auto;
}
.site-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--site-font-heading);
    font-weight: 700;
    font-size: 19px;
    color: var(--brand-text);
    text-decoration: none;
}
.site-nav__logo-img {
    height: 96px;
    object-fit: contain;
    display: block;
}
.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__menu > li { position: relative; }
.site-nav__menu > li > a {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--brand-text);
    font-weight: 500;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}
.site-nav__menu > li > a:hover { color: var(--brand-primary); background: var(--brand-primary-light); }
.site-nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    min-width: 230px;
    border-radius: var(--site-radius-sm);
    box-shadow: var(--site-shadow-md);
    padding: 8px;
    list-style: none;
    margin: 0;
    border: 1px solid var(--brand-border);
}
.site-nav__menu > li:hover .site-nav__dropdown { display: block; }
.site-nav__login:hover .site-nav__dropdown    { display: block; right: 0; left: auto; }
.site-nav__dropdown a {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--brand-text);
}
.site-nav__dropdown a:hover { background: var(--brand-primary-light); color: var(--brand-primary); }
.site-nav__actions  { display: flex; align-items: center; gap: 12px; }
.site-nav__login {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    background: #AB8218;
    border: 1.5px solid #AB8218;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
}
.site-nav__login:hover {
    background: #8a6813;
    border-color: #8a6813;
}
.site-header .site-btn--primary {
    background: #AB8218;
    border-color: #AB8218;
    color: #ffffff;
}
.site-header .site-btn--primary:hover {
    background: #8a6813;
    border-color: #8a6813;
}
.site-nav__toggle   {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--brand-dark);
    padding: 4px;
}
/* Hidden on desktop; shown as the last item inside the mobile dropdown */
.site-nav__mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
    background: radial-gradient(ellipse at 70% 0%, var(--brand-primary-light) 0%, var(--brand-bg) 60%);
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

/* Floating gold badge above headline */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff8e8 0%, #fff3cc 100%);
    border: 1.5px solid var(--brand-accent);
    color: #6b4c00;
    border-radius: 999px;
    padding: 8px 16px 8px 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(212,164,55,0.2);
    animation: floatBob 3.5s ease-in-out infinite;
}
.hero__badge-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
@keyframes floatBob {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-5px); }
}

.hero__title {
    font-size: 46px;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.hero__title em { color: var(--brand-primary); font-style: normal; }
.hero__subtitle {
    font-size: 18px;
    color: var(--brand-muted);
    margin-bottom: 30px;
    max-width: 540px;
    line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--site-shadow-sm);
}
.hero__rating .stars { color: var(--brand-accent); letter-spacing: 2px; }

/* ---------- Lively Image Slider ---------- */
.hero__slider {
    position: relative;
    border-radius: var(--site-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3.2;
    box-shadow: var(--site-shadow-lg);
    background: var(--brand-dark);
}
/* Decorative border ring */
.hero__slider::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--site-radius-lg) + 4px);
    border: 3px solid var(--brand-accent);
    opacity: 0.25;
    z-index: 3;
    pointer-events: none;
}
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.6s ease, transform 7s ease-out;
}
.hero__slide.is-active {
    opacity: 1;
    transform: scale(1.07);
}
/* Light bottom vignette (people photos don't need heavy darkness) */
.hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(17,30,27,0.40) 100%);
}
.hero__slider-dots {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.hero__slider-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.hero__slider-dots span.is-active {
    background: #fff;
    transform: scale(1.35);
}

/* ---------- Stats Strip ---------- */
.stats-strip {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    padding: 0;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.stat-item {
    padding: 32px 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--site-font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-accent);
    margin-bottom: 6px;
}
.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ---------- Feature Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.feature-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    padding: 32px 28px;
    box-shadow: var(--site-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--site-shadow-md); }
.feature-card__icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, #c8ece4 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(30,74,120,0.15);
}
.feature-card__title { font-size: 18px; margin-bottom: 10px; }
.feature-card__desc  { color: var(--brand-muted); font-size: 15px; margin: 0; line-height: 1.65; }

/* ---------- How It Works ---------- */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
/* Connector line between steps */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 36px);
    right: calc(16.67% + 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 50%, var(--brand-primary) 100%);
    opacity: 0.25;
}
.how-step { text-align: center; }
.how-step__num {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: #fff;
    font-family: var(--site-font-heading);
    font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(30,74,120,0.30);
    position: relative; z-index: 1;
}
.how-step__icon { font-size: 30px; margin-bottom: 12px; }
.how-step__title { font-size: 19px; margin-bottom: 10px; }
.how-step__desc  { font-size: 15px; color: var(--brand-muted); margin: 0; line-height: 1.65; }

/* ---------- Student Photo Showcase ---------- */
.photo-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    height: 340px;
}
.photo-showcase__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius-md);
    box-shadow: var(--site-shadow-md);
    cursor: default;
}
.photo-showcase__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    display: block;
}
.photo-showcase__item:hover img { transform: scale(1.08); }
.photo-showcase__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15,42,38,0.50) 100%);
    pointer-events: none;
}

/* ---------- Numbered Overview List ---------- */
.overview-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.overview-list li {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-sm);
    padding: 16px 20px;
    transition: border-color 0.2s;
}
.overview-list li:hover { border-color: var(--brand-primary); }
.overview-list .num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}

/* ---------- Curriculum Levels ---------- */
.curriculum { display: grid; gap: 24px; }
.curriculum__level {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-left: 5px solid var(--brand-primary);
    border-radius: var(--site-radius-md);
    padding: 28px 32px;
    box-shadow: var(--site-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.curriculum__level:hover { transform: translateX(4px); box-shadow: var(--site-shadow-md); }
.curriculum__level-head  { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.curriculum__level-title { font-size: 20px; margin: 0; }
.curriculum__level-hours {
    font-size: 12px; font-weight: 700;
    color: var(--brand-primary-dark);
    background: var(--brand-primary-light);
    padding: 4px 14px;
    border-radius: 999px;
}
.curriculum__level-points { margin: 0; padding-left: 20px; color: var(--brand-text); }
.curriculum__level-points li { margin-bottom: 6px; }

/* ---------- Checklist (achievements) ---------- */
.checklist {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 14px;
}
.checklist__item {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-sm);
    padding: 16px 18px;
    transition: border-color 0.2s;
}
.checklist__item:hover { border-color: var(--brand-accent); }
.checklist__item .tick {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent) 0%, #f0c060 100%);
    color: #2a2105;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.pricing-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    padding: 36px 30px;
    text-align: center;
    box-shadow: var(--site-shadow-sm);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--site-shadow-md); }
.pricing-card--featured {
    border-color: var(--brand-accent);
    box-shadow: 0 12px 40px rgba(212,164,55,0.18);
    transform: scale(1.02);
}
.pricing-card--featured:hover { transform: scale(1.02) translateY(-6px); }
.pricing-card__badge {
    position: absolute; top: -15px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand-accent), #f0c060);
    color: #2a2105;
    font-size: 12px; font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    white-space: nowrap;
}
.pricing-card__name  { font-size: 18px; margin-bottom: 4px; }
.pricing-card__price { font-size: 38px; font-weight: 700; color: var(--brand-primary); margin: 10px 0; }
.pricing-card__price span { font-size: 14px; color: var(--brand-muted); font-weight: 500; }
.pricing-card__features {
    list-style: none; padding: 0; margin: 20px 0 26px;
    color: var(--brand-text); font-size: 14px; display: grid; gap: 10px;
}

/* ---------- Tutors ---------- */
.tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.tutor-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tutor-card:hover { transform: translateY(-8px); box-shadow: var(--site-shadow-md); }
.tutor-card__photo {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-bg-alt));
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.tutor-card__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}
.tutor-card:hover .tutor-card__photo img { transform: scale(1.06); }
.tutor-card__initials {
    font-family: var(--site-font-heading);
    font-size: 36px; font-weight: 700;
    color: var(--brand-primary);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, #c4e8de 100%);
}
.tutor-card__body { padding: 18px; }
.tutor-card__name { font-size: 16px; margin: 0 0 4px; }
.tutor-card__role { color: var(--brand-muted); font-size: 13px; margin: 0 0 12px; }
.tutor-card__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tutor-card__tags span {
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
    font-size: 11px; font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

/* ---------- Differentiators ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.diff-item { text-align: center; }
.diff-item__icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 2px solid var(--brand-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    transition: background 0.3s ease;
}
.diff-item:hover .diff-item__icon { background: rgba(255,255,255,0.18); }
.diff-item__title { font-size: 17px; margin-bottom: 8px; color: #fff; }
.diff-item__desc  { font-size: 14px; opacity: 0.82; margin: 0; }

/* ---------- FAQ Accordion ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-sm);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq__item.is-open { box-shadow: var(--site-shadow-sm); border-color: var(--brand-primary); }
.faq__question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--brand-dark);
    user-select: none;
}
.faq__question .icon { transition: transform 0.25s ease; color: var(--brand-primary); font-size: 18px; font-style: normal; }
.faq__item.is-open .faq__question .icon { transform: rotate(45deg); }
.faq__answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 22px;
    color: var(--brand-muted); font-size: 15px; line-height: 1.7;
}
.faq__item.is-open .faq__answer { padding-bottom: 20px; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    padding: 28px;
    box-shadow: var(--site-shadow-sm);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--site-shadow-md); }
/* Large decorative quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px; right: 18px;
    font-size: 80px;
    line-height: 1;
    color: var(--brand-primary-light);
    font-family: Georgia, serif;
    font-weight: 700;
    pointer-events: none;
}
.testimonial-card__stars { color: var(--brand-accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.testimonial-card__quote {
    font-size: 15px;
    color: var(--brand-text);
    margin: 0 0 20px;
    line-height: 1.7;
    position: relative; z-index: 1;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--brand-border);
}
.testimonial-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    flex-shrink: 0;
}
.testimonial-card__author-info strong { color: var(--brand-dark); display: block; font-size: 14px; }
.testimonial-card__author-info span   { color: var(--brand-muted); font-size: 12px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: var(--site-radius-lg);
    padding: 64px 56px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
/* Subtle pattern overlay */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(212,164,55,0.08) 0%, transparent 40%);
    pointer-events: none;
}
.cta-banner h2   { color: #fff; margin-bottom: 14px; font-size: 32px; position: relative; z-index: 1; }
.cta-banner p    { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 17px; position: relative; z-index: 1; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Course Cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.course-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--site-shadow-md); }
.course-card__image {
    height: 200px;
    background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-bg-alt));
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
}
.course-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}
.course-card:hover .course-card__image img { transform: scale(1.06); }
.course-card__body  { padding: 24px; }
.course-card__title { font-size: 18px; margin-bottom: 10px; }
.course-card__meta  { font-size: 13px; color: var(--brand-muted); margin-bottom: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.site-form-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    padding: 36px;
    box-shadow: var(--site-shadow-md);
    max-width: 560px;
    margin: 0 auto;
}
.site-form-group { margin-bottom: 20px; }
.site-form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--brand-dark); }
.site-form-group input,
.site-form-group select,
.site-form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--brand-border);
    border-radius: var(--site-radius-sm);
    font-size: 15px; font-family: var(--site-font-body);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--brand-text);
}
.site-form-group input:focus,
.site-form-group select:focus,
.site-form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30,74,120,0.10);
}
.site-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.site-alert { padding: 14px 18px; border-radius: var(--site-radius-sm); margin-bottom: 20px; font-size: 14px; }
.site-alert--success { background: #e3f3ef; color: var(--brand-primary-dark); border: 1px solid var(--brand-primary); }
.site-alert--error   { background: #fdecec; color: #b3261e; border: 1px solid #f3b9b6; }

/* ---------- Image Panels (full-bleed section backgrounds) ---------- */
.image-banner {
    position: relative;
    border-radius: var(--site-radius-lg);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    box-shadow: var(--site-shadow-md);
}
.image-banner__overlay {
    position: relative; z-index: 2;
    padding: 48px;
    color: #fff;
    max-width: 580px;
}
.image-banner__overlay h2, .image-banner__overlay h3 { color: #fff; }
.image-banner__overlay p { color: rgba(255,255,255,0.88); }

/* ---------- Image Strip (3-column photo row) ---------- */
.image-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.image-strip img {
    width: 100%; height: 240px;
    object-fit: cover;
    border-radius: var(--site-radius-md);
    box-shadow: var(--site-shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
}
.image-strip img:hover { transform: scale(1.03); box-shadow: var(--site-shadow-md); }

/* ---------- About Page Layout ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-split--reverse { }
.about-split__visual { position: relative; }
.about-split__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow-lg);
    display: block;
}
.about-split__badge {
    position: absolute;
    bottom: -22px; right: -22px;
    background: linear-gradient(135deg, var(--brand-accent) 0%, #f0c060 100%);
    border-radius: var(--site-radius-md);
    padding: 18px 24px;
    text-align: center;
    box-shadow: var(--site-shadow-md);
    color: #2a1a00;
    min-width: 130px;
}
.about-split__badge strong {
    display: block;
    font-size: 32px; font-weight: 700;
    font-family: var(--site-font-heading);
    line-height: 1;
    margin-bottom: 4px;
}
.about-split__badge span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.about-body .site-eyebrow { display: inline-block; margin-bottom: 14px; }
.about-body h2  { font-size: 34px; margin-bottom: 18px; }
.about-body p   { color: var(--brand-muted); margin-bottom: 20px; line-height: 1.75; }
.about-check    { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.about-check li {
    display: flex; gap: 12px; align-items: center;
    font-size: 15px; color: var(--brand-text);
}
.about-check li::before {
    content: '✓';
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}

/* ---------- Gallery Grid (about page) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-grid__item {
    aspect-ratio: 4/3;
    border-radius: var(--site-radius-md);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
}
.gallery-grid__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-grid__item:hover img { transform: scale(1.07); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: #cfded8; padding: 72px 0 28px; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 44px;
    margin-bottom: 48px;
}
.site-footer__brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--site-font-heading); font-weight: 700; font-size: 18px;
    color: #fff; margin-bottom: 14px;
}
.site-footer__brand img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; }
.site-footer p    { font-size: 14px; color: #a9bdb5; line-height: 1.7; }
.site-footer h4   { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul   { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a    { color: #a9bdb5; font-size: 14px; transition: color 0.2s; }
.site-footer a:hover { color: var(--brand-accent); }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; color: #cfded8;
    transition: background 0.2s, color 0.2s;
}
.site-footer__social a:hover { background: var(--brand-accent); color: #2a2105; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 24px;
    text-align: center;
    font-size: 13px; color: #7a9490;
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============================================================================
   RESPONSIVE
============================================================================ */
@media (max-width: 992px) {
    .site-nav__menu,
    .site-nav__actions .site-nav__login,
    .site-nav__actions .site-btn { display: none; }
    .site-nav__toggle { display: block; }

    /* Open state: dropdown panel below the header */
    .site-nav.is-open .site-nav__menu {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #1E4A78; padding: 16px 24px 20px;
        gap: 4px; box-shadow: 0 8px 24px rgba(13,36,68,0.3);
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 200;
    }
    .site-nav.is-open .site-nav__menu > li > a { color: rgba(255,255,255,0.9); }
    .site-nav.is-open .site-nav__menu > li > a:hover { background: rgba(255,255,255,0.1); color: #fff; }

    /* Keep login/enroll HIDDEN in the header bar — they're in the dropdown instead */
    .site-nav.is-open .site-nav__actions .site-nav__login,
    .site-nav.is-open .site-nav__actions .site-btn { display: none; }

    /* Arrow indicator for menu items with submenus */
    .site-nav.is-open .site-nav__menu > li:has(.site-nav__dropdown) > a::after {
        content: ' \25BE'; font-size: 11px; opacity: 0.7;
    }
    .site-nav.is-open .site-nav__menu > li.is-open:has(.site-nav__dropdown) > a::after {
        content: ' \25B4';
    }

    /* Disable hover-based dropdown on mobile — prevents ghost show after tap */
    .site-nav__menu > li:hover .site-nav__dropdown { display: none; }

    /* Courses dropdown: click-to-toggle — show only when parent li.is-open */
    .site-nav.is-open .site-nav__menu > li.is-open > .site-nav__dropdown {
        position: static; box-shadow: none; display: block; margin-top: 4px;
        border: none; background: rgba(255,255,255,0.08); border-radius: 6px;
    }
    .site-nav.is-open .site-nav__dropdown a { color: rgba(255,255,255,0.8); }
    .site-nav.is-open .site-nav__dropdown a:hover { background: rgba(255,255,255,0.12); color: #fff; }

    /* Mobile CTA: login/enroll at the bottom of the dropdown panel */
    .site-nav.is-open .site-nav__mobile-cta {
        display: flex; gap: 8px; flex-wrap: wrap;
        padding: 14px 0 4px; margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.15);
        list-style: none;
    }
    .site-nav.is-open .site-nav__mobile-cta .site-btn { font-size: 14px; }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__slider { order: -1; }
    .hero__title { font-size: 36px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .about-split { grid-template-columns: 1fr; gap: 48px; }
    .about-split__badge { right: 10px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .image-strip { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .how-it-works { grid-template-columns: 1fr; }
    .how-it-works::before { display: none; }
}

@media (max-width: 768px) {
    .site-section { padding: 60px 0; }
    .hero { padding: 60px 0 72px; }
    .hero__title { font-size: 30px; }
    .site-section__title { font-size: 26px; }
    .cta-banner { padding: 40px 28px; }
    .cta-banner h2 { font-size: 24px; }
    .site-form-row { grid-template-columns: 1fr; }
    .photo-showcase { grid-template-columns: repeat(3, 1fr); height: 220px; }
    .photo-showcase__item:nth-child(n+4) { display: none; }
}

@media (max-width: 480px) {
    .site-footer__grid { grid-template-columns: 1fr; }
    .hero__actions, .cta-banner__actions { flex-direction: column; }
    .site-btn { width: 100%; }
    .image-strip { grid-template-columns: 1fr; }
    .image-banner__overlay { padding: 28px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; }
    .photo-showcase { grid-template-columns: repeat(2, 1fr); height: 200px; }
    .photo-showcase__item:nth-child(n+3) { display: none; }
}

/* =============================================================================
   FLOATING ACTION BUTTONS (WhatsApp + Scroll-to-top)
============================================================================= */
.fab-group {
    position: fixed;
    bottom: 28px;
    right: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 990;
}
.fab-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}
.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0,0,0,0.32);
    color: #fff;
}
.fab-whatsapp { background: #25D366; }
.fab-top {
    background: var(--brand-primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.fab-top.is-visible { opacity: 1; pointer-events: auto; }

/* Contact page */
.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
}
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--site-radius-md);
    box-shadow: var(--site-shadow-sm);
    margin-bottom: 14px;
    transition: box-shadow 0.2s;
}
.contact-info-card:hover { box-shadow: var(--site-shadow-md); }
.contact-info-card__icon {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.contact-info-card__icon--phone   { background: var(--brand-primary); }
.contact-info-card__icon--email   { background: var(--brand-accent); }
.contact-info-card__icon--wa      { background: #25D366; }
.contact-info-card__icon--address { background: var(--brand-dark); }
.contact-info-card__label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--brand-muted);
    margin-bottom: 4px;
}
.contact-info-card__value {
    font-size: 15px; font-weight: 600; color: var(--brand-text);
    text-decoration: none; display: block;
    word-break: break-all;
}
.contact-info-card__value:hover { color: var(--brand-primary); }
.contact-map-wrap {
    border-radius: var(--site-radius-lg);
    overflow: hidden;
    box-shadow: var(--site-shadow-md);
    border: 1px solid var(--brand-border);
    height: 440px;
}
.contact-map-wrap iframe {
    width: 100%; height: 100%; border: 0; display: block;
}
.site-btn--whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff !important;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}
.site-btn--whatsapp:hover { background: #1da851; border-color: #1da851; }

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