/* ============================================
   EduPro Legacy — Premium brand theme
   (Distinctive layout, depth, motion — not generic Bootstrap)
   ============================================ */

:root {
    /* Mobile sticky bar (footer): must match .sticky-lead-bar content row + safe areas */
    --sticky-lead-bar-inner: 64px;
    --brand-green-dark: #0B3D2E;
    --brand-red: #C62828;
    --brand-green-light: #1B5E20;
    --brand-gold: #FFC107;
    --brand-white: #FFFFFF;
    --brand-gray: #F5F5F5;
    --brand-text: #212121;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 4px 24px rgba(11, 61, 46, 0.08);
    --shadow-lift: 0 20px 50px rgba(11, 61, 46, 0.15);
    --radius-lg: 14px;
    --radius-xl: 20px;
}

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

@supports (overflow: clip) {
    html {
        overflow-x: clip;
    }
}

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

body.theme-edupro {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--brand-text);
    background: var(--brand-white);
    letter-spacing: -0.01em;
    margin: 0;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    body.theme-edupro {
        overflow-x: clip;
    }
}

body.theme-edupro main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.section-title,
.stat-number {
    font-family: "Outfit", system-ui, sans-serif;
}

.text-brand-dark {
    color: var(--brand-green-dark) !important;
}

a.link-brand-dark {
    color: var(--brand-green-dark);
    font-weight: 600;
    text-decoration: none;
}

a.link-brand-dark:hover {
    color: var(--brand-green-light);
    text-decoration: underline;
}

/* ——— Top strip ——— */
.top-brand-strip {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(105deg, var(--brand-green-dark) 0%, #0d4a38 45%, #145c47 100%);
    color: #fff;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ——— Navbar ——— */
.brand-navbar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11, 61, 46, 0.08);
    min-height: 96px;
    transition: box-shadow 0.35s var(--ease-out-expo), min-height 0.35s var(--ease-out-expo);
}

.brand-navbar.is-scrolled {
    min-height: 80px;
    box-shadow: 0 12px 40px rgba(11, 61, 46, 0.1);
}

.brand-navbar.is-scrolled .logo {
    max-height: 64px;
}

.brand-navbar .navbar-brand,
.brand-navbar .nav-link {
    color: var(--brand-green-dark);
}

.brand-navbar .navbar-brand {
    padding: 0;
    margin-right: 10px;
    overflow: visible;
    line-height: 1;
}

.brand-navbar .container {
    padding-left: 8px;
    padding-right: 12px;
}

.brand-navbar .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.65rem !important;
    position: relative;
}

.brand-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.15rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.3s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

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

.brand-navbar .nav-link:hover,
.brand-navbar .nav-link.active {
    color: var(--brand-green-light);
}

.brand-navbar .dropdown-menu {
    border: 1px solid rgba(11, 61, 46, 0.1);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(11, 61, 46, 0.12);
    padding: 0.5rem;
}

.brand-navbar .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
}

.brand-navbar .dropdown-item:hover {
    background: rgba(27, 94, 32, 0.08);
    color: var(--brand-green-dark);
}

.brand-navbar .navbar-toggler {
    border-color: rgba(11, 61, 46, 0.35);
}

.logo {
    width: auto;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    display: block;
    transition: max-height 0.35s var(--ease-out-expo);
}

/* ——— Hero (cinematic dark — brand flagship) ——— */
.hero-premium {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 82vh;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 193, 7, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(27, 94, 32, 0.35) 0%, transparent 45%),
        linear-gradient(165deg, #06261e 0%, var(--brand-green-dark) 38%, #0a3d2f 100%);
    color: #fff;
}

/* Homepage hero — spec: 90vh, strict green gradient, staged fade-up */
.page-home .hero-home.hero-premium {
    min-height: 90vh;
    background:
        radial-gradient(ellipse 70% 55% at 15% 25%, rgba(255, 193, 7, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 92% 75%, rgba(27, 94, 32, 0.4) 0%, transparent 50%),
        linear-gradient(155deg, var(--brand-green-dark) 0%, var(--brand-green-light) 100%);
}

.page-home .hero-home-photo {
    max-height: min(420px, 52vh);
    width: 100%;
    object-fit: cover;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-home .hero-anim {
    opacity: 0;
    animation: heroFadeUp 0.85s var(--ease-out-expo) forwards;
}

.page-home .hero-anim--1 {
    animation-delay: 0s;
}

.page-home .hero-anim--2 {
    animation-delay: 0.2s;
}

.page-home .hero-anim--3 {
    animation-delay: 0.4s;
}

.page-home .hero-anim--img {
    animation: heroFadeUp 0.95s var(--ease-out-expo) 0.25s forwards;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-anim,
    .page-home .hero-anim--img {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
    animation: meshDrift 22s linear infinite;
}

@keyframes meshDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(48px, 48px); }
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-float-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--brand-gold);
    backdrop-filter: blur(8px);
    z-index: 1;
    animation: floatY 5s ease-in-out infinite;
}

.hero-float-1 { top: 18%; left: 8%; animation-delay: 0s; }
.hero-float-2 { top: 42%; left: 4%; animation-delay: 0.8s; font-size: 1.2rem; }
.hero-float-3 { bottom: 22%; right: 10%; animation-delay: 1.4s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: rgba(255, 255, 255, 0.95);
}

.hero-title {
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.hero-title-line {
    display: block;
    color: #fff;
}

.text-gold-gradient {
    background: linear-gradient(105deg, #ffe082 0%, var(--brand-gold) 40%, #ff8f00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-white-80 { color: rgba(255, 255, 255, 0.82) !important; }
.text-white-90 { color: rgba(255, 255, 255, 0.92) !important; }
.text-white-60 { color: rgba(255, 255, 255, 0.58) !important; }

.hero-sub {
    font-size: 1.15rem;
    font-weight: 500;
}

.hero-typing {
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 34px;
}

.hero-typing #typedText {
    color: var(--brand-gold);
    font-weight: 800;
}

#typedText::after {
    content: "|";
    margin-left: 3px;
    color: var(--brand-gold);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-visual {
    position: relative;
}

.hero-image-ring {
    position: absolute;
    inset: -12px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.45), rgba(27, 94, 32, 0.5), transparent 60%);
    opacity: 0.85;
    filter: blur(2px);
    z-index: 0;
    animation: ringPulse 6s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.hero-image-wrap {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.shadow-hero-img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.shadow-glow-red {
    box-shadow: 0 8px 28px rgba(198, 40, 40, 0.45);
}

.btn-brand {
    background: var(--brand-red);
    color: #fff;
    border: 1px solid var(--brand-red);
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background 0.25s ease;
}

.btn-brand:hover {
    background: #a32121;
    border-color: #a32121;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(198, 40, 40, 0.4);
}

.btn-outline-brand {
    border-radius: 999px;
    border: 1px solid var(--brand-green-light);
    color: var(--brand-green-light);
    font-weight: 600;
    transition: transform 0.35s var(--ease-out-expo), background 0.25s ease;
}

.btn-outline-brand:hover {
    background: var(--brand-green-light);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
}

.btn-gold {
    background: var(--brand-gold);
    color: #1a1a1a;
    border: 1px solid #e5ad06;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background 0.25s ease;
}

.btn-gold:hover {
    background: #e0a800;
    color: #1a1a1a;
    border-color: #d79f00;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.35);
}

/* ——— Sections ——— */
.section-block {
    position: relative;
}

.section-soft {
    background: linear-gradient(180deg, var(--brand-gray) 0%, #fafafa 100%);
}

.section-head {
    max-width: 640px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-green-light);
    margin-bottom: 0.5rem;
}

.section-head .section-title {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    color: var(--brand-green-dark);
    letter-spacing: -0.02em;
}

.section-lead {
    margin-top: 0.65rem;
    margin-bottom: 0;
    color: #5c5c5c;
    font-size: 1rem;
}

.section-pick {
    margin-right: 0.35rem;
    font-weight: 700;
}

.section-pick.section-pick-icon {
    display: inline-block;
    font-weight: normal;
    font-size: 0.95em;
    color: var(--brand-red);
    vertical-align: -0.1em;
    animation: sectionPickNudge 2.8s ease-in-out infinite;
}

@keyframes sectionPickNudge {
    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(3px);
        opacity: 0.88;
    }
}

.offer-strip-icon {
    display: inline-block;
    font-size: 1.05rem;
    vertical-align: -0.14em;
    animation: offerStripIconPulse 2.2s ease-in-out infinite;
}

@keyframes offerStripIconPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

.btn-icon-anim {
    display: inline-block;
    font-size: 1.05em;
    vertical-align: -0.12em;
    animation: btnIconSoft 2.4s ease-in-out infinite;
}

@keyframes btnIconSoft {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.placement-col-icon {
    font-size: 0.85em;
    opacity: 0.75;
    vertical-align: -0.05em;
}

/* ——— Inner pages (shared with homepage brand language) ——— */
body.page-inner main {
    min-height: 40vh;
}

.page-hero-inner {
    background:
        radial-gradient(ellipse 70% 55% at 15% 25%, rgba(255, 193, 7, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 92% 75%, rgba(27, 94, 32, 0.4) 0%, transparent 50%),
        linear-gradient(155deg, var(--brand-green-dark) 0%, var(--brand-green-light) 100%);
    color: #fff;
}

.page-hero-inner__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.08) 0%, transparent 38%);
    pointer-events: none;
}

.page-hero-inner__noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero-inner__kicker {
    color: rgba(255, 193, 7, 0.95) !important;
}

.page-hero-inner__title {
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.page-hero-inner .section-pick-icon.page-hero-inner__pick,
.page-hero-inner .section-pick-icon {
    color: var(--brand-gold) !important;
}

.page-hero-inner__lead {
    margin-top: 0.65rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.55;
}

.page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.page-back-link:hover {
    color: #fff;
    transform: translateX(-2px);
}

.surface-card {
    border: 1px solid rgba(11, 61, 46, 0.08);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.surface-card:hover {
    box-shadow: var(--shadow-lift);
}

.surface-card--lift {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 61, 46, 0.08);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.course-category-card {
    height: 100%;
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(11, 61, 46, 0.08) !important;
    border-left: 4px solid var(--brand-green-light) !important;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.course-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift) !important;
}

.course-category-card__icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(27, 94, 32, 0.12), rgba(255, 193, 7, 0.15));
    color: var(--brand-green-dark);
    font-size: 1.35rem;
}

.course-category-card__icon {
    animation: categoryIconFloat 3.5s ease-in-out infinite;
}

@keyframes categoryIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-category-card__icon {
        animation: none !important;
    }
}

.course-detail-dl dt {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-green-light);
    margin-bottom: 0.5rem;
}

.course-detail-dl dd {
    margin-bottom: 1.25rem;
    color: #444;
}

.course-detail-dl dd:last-child {
    margin-bottom: 0;
}

.director-about-photo-wrap {
    background: linear-gradient(145deg, rgba(11, 61, 46, 0.06), rgba(255, 193, 7, 0.08));
}

.director-about-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.cta-panel-inner {
    background: linear-gradient(160deg, rgba(27, 94, 32, 0.08) 0%, rgba(255, 193, 7, 0.12) 100%);
    border: 1px solid rgba(11, 61, 46, 0.1);
    border-radius: var(--radius-xl);
}

.course-card {
    border: 1px solid rgba(11, 61, 46, 0.08);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.45s var(--ease-out-expo),
        box-shadow 0.45s var(--ease-out-expo),
        border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green-dark), var(--brand-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out-expo);
}

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

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(11, 61, 46, 0.14);
}

.course-card h5 {
    font-weight: 800;
    color: var(--brand-green-dark);
    font-size: 1.05rem;
}

.course-card h5 i {
    color: var(--brand-gold);
}

.stat-box {
    background: #fff;
    border: 1px solid rgba(11, 61, 46, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.stat-number {
    display: block;
    color: var(--brand-green-dark);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.placement-tile {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(11, 61, 46, 0.1);
    box-shadow: var(--shadow-soft);
    transition: transform 0.55s var(--ease-out-expo), box-shadow 0.55s var(--ease-out-expo);
}

.placement-tile img {
    transition: transform 0.7s var(--ease-out-expo);
}

.placement-tile:hover {
    box-shadow: var(--shadow-lift);
}

.placement-tile:hover img {
    transform: scale(1.06);
}

.testimonial-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.testimonial-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 61, 46, 0.08);
    box-shadow: var(--shadow-soft);
    padding: 2.25rem 2rem;
    text-align: center;
}

.testimonial-card p {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #444;
}

.testimonial-card h6 {
    color: var(--brand-green-dark);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.testimonial-nav {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--brand-green-dark) !important;
    opacity: 1;
}

.testimonial-nav .carousel-control-prev-icon,
.testimonial-nav .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 1.25rem;
    height: 1.25rem;
}

.cta-strip {
    background: linear-gradient(115deg, var(--brand-green-light) 0%, var(--brand-green-dark) 55%, #06261e 100%);
    color: #fff;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.cta-strip h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-strip-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    animation: shineMove 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shineMove {
    0%, 100% { transform: translateX(-30%); }
    50% { transform: translateX(30%); }
}

.lead-card {
    border: 1px solid rgba(11, 61, 46, 0.1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(11, 61, 46, 0.08);
}

.site-footer {
    background: #061f18;
    color: rgba(255, 255, 255, 0.88);
}

.floating-actions {
    position: fixed;
    right: 12px;
    bottom: 16px;
    z-index: 1000;
    width: 178px;
}

.action-call {
    background: var(--brand-green-light);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.35);
    animation: pulseSoft 2.5s ease-in-out infinite;
}

@keyframes pulseSoft {
    0%, 100% { box-shadow: 0 6px 20px rgba(27, 94, 32, 0.35); }
    50% { box-shadow: 0 6px 28px rgba(27, 94, 32, 0.55); }
}

.action-whatsapp {
    background: #128C7E;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
}

.action-counsel {
    background: var(--brand-red);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
}

.action-call:hover,
.action-whatsapp:hover,
.action-counsel:hover {
    color: #fff;
    transform: translateY(-3px);
}

.floating-actions__icon {
    display: inline-block;
    animation: floatingActionIconFloat 3s ease-in-out infinite;
}

@keyframes floatingActionIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.floating-actions .btn:hover .floating-actions__icon {
    animation: floatingActionIconPop 0.5s ease;
}

@keyframes floatingActionIconPop {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.2) rotate(-6deg);
    }
    100% {
        transform: scale(1);
    }
}

/* ——— Reveal animations ——— */
.reveal-item {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: blur(4px);
    transition:
        opacity 0.85s var(--ease-out-expo),
        transform 0.85s var(--ease-out-expo),
        filter 0.85s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.stagger-parent .stagger-child {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.stagger-parent.is-visible .stagger-child {
    opacity: 1;
    transform: translateY(0);
}

.stagger-parent.is-visible .stagger-child:nth-child(1) { transition-delay: 0ms; }
.stagger-parent.is-visible .stagger-child:nth-child(2) { transition-delay: 70ms; }
.stagger-parent.is-visible .stagger-child:nth-child(3) { transition-delay: 140ms; }
.stagger-parent.is-visible .stagger-child:nth-child(4) { transition-delay: 210ms; }
.stagger-parent.is-visible .stagger-child:nth-child(5) { transition-delay: 280ms; }
.stagger-parent.is-visible .stagger-child:nth-child(6) { transition-delay: 350ms; }

/* Legacy class (other pages) */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s var(--ease-out-soft), transform 0.75s var(--ease-out-soft);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-carousel-aos {
    width: 100%;
}

@media (max-width: 991px) {
    .brand-navbar .navbar-collapse {
        background: #fff;
        border-radius: 14px;
        margin-top: 10px;
        padding: 12px;
        border: 1px solid rgba(11, 61, 46, 0.1);
        box-shadow: var(--shadow-soft);
    }

    .hero-float-icon {
        opacity: 0.45;
    }
}

@media (max-width: 767px) {
    .brand-navbar {
        min-height: 92px;
    }

    .logo {
        width: auto;
        max-height: 64px;
    }

    .floating-actions {
        width: calc(100% - 16px);
        right: 8px;
        bottom: 8px;
    }

    .floating-actions a,
    .floating-actions button {
        font-size: 0.95rem;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        border-radius: 999px;
    }

    .hero-premium {
        min-height: auto;
        padding-bottom: 2rem !important;
    }

    .page-home .hero-home.hero-premium {
        min-height: auto;
        padding-bottom: 2.5rem !important;
    }

    .testimonial-nav {
        display: none;
    }
}

/* ========== Trust / Legacy + Affiliation (homepage) ========== */
.trust-legacy-container {
    max-width: 1320px;
}

.trust-legacy-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .trust-legacy-py {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.trust-legacy-section {
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    overflow-x: hidden;
}

@supports (overflow: clip) {
    .trust-legacy-section {
        overflow-x: clip;
    }
}

.trust-visual {
    position: relative;
    padding: 2.5rem 1rem 3rem;
    min-height: 420px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.trust-blob {
    position: absolute;
    width: 88%;
    height: 78%;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(165deg, #f5e6c8 0%, #fffdf8 45%, #ffffff 100%);
    filter: blur(42px);
    opacity: 0.92;
    z-index: 0;
    pointer-events: none;
}

.trust-image-frame {
    position: relative;
    z-index: 1;
    display: inline-block;
    max-width: 100%;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.trust-visual.is-in-view .trust-image-frame {
    opacity: 1;
    transform: scale(1);
}

.trust-main-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(11, 61, 46, 0.18);
}

.trust-image-frame--zoom {
    overflow: hidden;
    border-radius: 22px;
}

.trust-image-frame--zoom .trust-main-img {
    transform: scale(1.1);
    transition: transform 1.15s var(--ease-out-expo);
}

.trust-visual.is-in-view .trust-image-frame--zoom .trust-main-img {
    transform: scale(1);
}

.trust-float-card {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(11, 61, 46, 0.08);
    text-align: left;
    opacity: 0;
    transition: opacity 0.55s ease-out;
}

.trust-visual.is-in-view .trust-float-card--1 {
    opacity: 1;
    transition-delay: 0.2s;
}

.trust-visual.is-in-view .trust-float-card--2 {
    opacity: 1;
    transition-delay: 0.4s;
}

.trust-float-card--1 {
    top: 8%;
    right: -2%;
}

.trust-float-card--2 {
    bottom: 10%;
    left: -4%;
}

.trust-float-inner {
    animation: trustFloatY 4s ease-in-out infinite;
    animation-play-state: paused;
}

.trust-float-inner--delayed {
    animation-delay: 0.4s;
}

.trust-visual.is-in-view .trust-float-inner {
    animation-play-state: running;
}

@keyframes trustFloatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.trust-float-num {
    display: block;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--brand-green-dark);
    line-height: 1.2;
}

.trust-float-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.text-trust-red {
    color: #c62828 !important;
}

.trust-legacy-heading {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: var(--brand-green-dark);
    letter-spacing: -0.02em;
}

.trust-legacy-list {
    max-width: 520px;
}

.trust-legacy-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #444;
    line-height: 1.5;
}

.trust-legacy-list li:last-child {
    margin-bottom: 0;
}

.trust-legacy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.trust-legacy-cta {
    width: auto;
}

.affiliation-section {
    background: #fff;
}

.affiliation-border-top {
    border-color: rgba(11, 61, 46, 0.08) !important;
}

.affiliation-title {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--brand-green-dark);
    letter-spacing: -0.02em;
}

.affiliation-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.75rem;
}

.affiliation-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    transition: transform 0.35s var(--ease-out-expo), filter 0.35s ease;
    filter: grayscale(1);
    opacity: 0.85;
}

.affiliation-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.affiliation-logo img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* ——— Placement employer marquee ——— */
.placement-employers-section .section-head {
    margin-left: auto;
    margin-right: auto;
}

.placement-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.placement-marquee-inner {
    display: flex;
    width: max-content;
    animation: placementMarquee 38s linear infinite;
}

.placement-marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.5rem 1rem;
}

.placement-marquee-track img {
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.placement-marquee-track .placement-hiring-logo-img {
    object-fit: contain;
    max-height: 80px;
    width: auto;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.65rem;
}

@keyframes placementMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .placement-marquee-inner {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
}

/* ——— Testimonials with avatar ——— */
.testimonial-card--avatar {
    text-align: left;
}

.testimonial-card--avatar p {
    text-align: inherit;
}

.testimonial-avatar {
    object-fit: cover;
    border: 3px solid rgba(255, 193, 7, 0.45);
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .trust-legacy-heading {
        font-size: clamp(1.5rem, 4.5vw, 1.85rem);
    }
}

@media (max-width: 767.98px) {
    .trust-visual {
        min-height: unset;
        padding-bottom: 1rem;
    }

    .trust-float-card {
        position: static !important;
        display: inline-block;
        margin: 0.65rem 0.35rem 0 !important;
        vertical-align: top;
    }

    .trust-float-inner,
    .trust-float-inner--delayed {
        animation: none !important;
    }

    .trust-visual:not(.is-in-view) .trust-float-card {
        opacity: 0;
    }

    .trust-legacy-cta {
        width: 100%;
        max-width: 320px;
    }

    .affiliation-row {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-image-frame {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .trust-image-frame--zoom .trust-main-img {
        transform: none !important;
        transition: none !important;
    }

    .trust-float-inner {
        animation: none !important;
    }

    .trust-float-card {
        opacity: 1 !important;
    }
}

/* ========== Homepage add-ons (career path, trending, FAQ, etc.) ========== */
@media (max-width: 991.98px) {
    /* Space for global mobile sticky bar (footer.php); floating-actions hidden on small screens */
    body.theme-edupro {
        padding-bottom: calc(var(--sticky-lead-bar-inner) + env(safe-area-inset-bottom, 0px));
    }
}

.micro-trust-line .micro-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    margin: 0.15rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.offer-strip {
    background: linear-gradient(90deg, var(--brand-red) 0%, #9e1e1e 40%, #b8860b 100%);
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.offer-strip .letter-spacing-wide {
    letter-spacing: 0.06em;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78) !important;
}

.trust-badges-strip {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-green-dark);
}

.trust-badge-icon {
    font-size: 1.75rem;
    color: var(--brand-gold);
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.35));
}

/* Career path flip cards */
.career-path-section .career-flip-card {
    display: block;
    height: 168px;
    perspective: 1000px;
}

.career-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
    .career-flip-card:hover .career-flip-inner {
        transform: rotateY(180deg);
    }

    .career-flip-card:hover .career-icon-wrap {
        filter: drop-shadow(0 0 16px rgba(255, 193, 7, 0.65));
    }
}

.career-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border: 1px solid rgba(11, 61, 46, 0.1);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.career-flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(165deg, var(--brand-green-dark) 0%, #0e4d3c 100%);
    color: #fff;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

.career-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(27, 94, 32, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--brand-green-dark);
    transition: filter 0.35s ease;
}

.career-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    color: var(--brand-green-dark);
}

@media (max-width: 767.98px) {
    .career-flip-inner {
        transform: none !important;
    }

    .career-flip-back {
        display: none;
    }

    .career-flip-face {
        position: relative;
        transform: none !important;
    }

    .career-path-section .career-flip-card:active .career-flip-front {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lift);
    }
}

.trending-card {
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
    border-radius: var(--radius-lg) !important;
}

.trending-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift) !important;
}

.trending-ribbon {
    position: absolute;
    top: 12px;
    right: -32px;
    background: linear-gradient(90deg, var(--brand-red), #e53935);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.35rem 2.25rem;
    transform: rotate(38deg);
    transform-origin: center;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.35);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.trending-ribbon .bi {
    font-size: 0.75rem;
    animation: trendingRibbonIcon 1.8s ease-in-out infinite;
}

@keyframes trendingRibbonIcon {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.placement-highlight-card {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
    border-radius: var(--radius-lg) !important;
}

.placement-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift) !important;
}

.placement-hl-photo {
    border: 3px solid rgba(255, 193, 7, 0.4);
}

.salary-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    background: rgba(27, 94, 32, 0.12);
    color: var(--brand-green-dark);
}

.placement-hl-nav {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--brand-green-dark) !important;
    opacity: 0.9;
}

.placement-hl-nav .carousel-control-prev-icon,
.placement-hl-nav .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 1rem;
    height: 1rem;
}

.growth-progress {
    height: 12px;
    background: rgba(11, 61, 46, 0.1);
}

.progress-bar--red {
    background: var(--brand-red);
}

.progress-bar--green {
    background: var(--brand-green-light);
}

.growth-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    height: 180px;
}

.growth-chart {
    padding-top: 0.5rem;
}

.growth-bar {
    width: 100%;
    max-width: 48px;
    height: 0;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--brand-gold), #e65100);
    transition: height 1.1s var(--ease-out-expo);
    align-self: flex-end;
}

.js-growth-chart.is-in-view .growth-bar[data-h="35"] {
    height: 35%;
}

.js-growth-chart.is-in-view .growth-bar[data-h="48"] {
    height: 48%;
}

.js-growth-chart.is-in-view .growth-bar[data-h="62"] {
    height: 62%;
}

.js-growth-chart.is-in-view .growth-bar[data-h="78"] {
    height: 78%;
}

.js-growth-chart.is-in-view .growth-bar[data-h="92"] {
    height: 92%;
}

.trainer-photo-wrap {
    height: 140px;
    overflow: hidden;
}

.trainer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out-expo);
}

.trainer-card:hover .trainer-photo {
    transform: scale(1.08);
}

.cert-preview-wrap {
    max-width: 420px;
    perspective: 900px;
}

.cert-preview-img {
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
    transform: rotate(-1deg);
}

.cert-preview-wrap:hover .cert-preview-img {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 24px 48px rgba(11, 61, 46, 0.2);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(27, 94, 32, 0.08);
    color: var(--brand-green-dark);
}

.compare-table thead th {
    font-family: "Outfit", sans-serif;
    font-size: 0.9rem;
}

.compare-table td {
    font-size: 0.9rem;
}

.blog-preview-card {
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
    border-radius: var(--radius-lg) !important;
}

.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift) !important;
}

.sticky-lead-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    min-height: calc(var(--sticky-lead-bar-inner) + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 31, 24, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.sticky-lead-bar__btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.25rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    color: #fff;
    background: transparent;
    line-height: 1.2;
}

.sticky-lead-bar__icon {
    display: inline-block;
    font-size: 1.05rem;
    line-height: 1;
    animation: stickyLeadIconPulse 2.3s ease-in-out infinite;
}

.sticky-lead-bar__wa .sticky-lead-bar__icon {
    animation-delay: 0.25s;
}

.sticky-lead-bar__counsel .sticky-lead-bar__icon {
    animation-delay: 0.5s;
}

@keyframes stickyLeadIconPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.14);
        opacity: 0.9;
    }
}

.sticky-lead-bar__btn:hover .sticky-lead-bar__icon,
.sticky-lead-bar__btn:focus-visible .sticky-lead-bar__icon {
    animation: stickyLeadIconTap 0.45s ease;
}

@keyframes stickyLeadIconTap {
    0% {
        transform: scale(1) rotate(0deg);
    }
    35% {
        transform: scale(1.18) rotate(-6deg);
    }
    70% {
        transform: scale(1.12) rotate(6deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-pick-icon,
    .offer-strip-icon,
    .btn-icon-anim,
    .sticky-lead-bar__icon,
    .floating-actions__icon {
        animation: none !important;
    }
}

.sticky-lead-bar__call {
    background: rgba(27, 94, 32, 0.95);
    color: #fff !important;
}

.sticky-lead-bar__wa {
    background: #128c7e;
    color: #fff !important;
}

.sticky-lead-bar__counsel {
    background: var(--brand-red);
    color: #fff !important;
}

@media (min-width: 992px) {
    .sticky-lead-bar {
        display: none !important;
    }

    body.theme-edupro {
        padding-bottom: 0 !important;
    }
}

/* Course detail FAQ (may contain HTML) */
.course-faq p {
    margin-bottom: 0.75rem;
}

.course-faq p:last-child {
    margin-bottom: 0;
}

/* Programmatic SEO landing pages */
.seo-map-embed iframe {
    display: block;
}

.seo-footer-marketing p {
    line-height: 1.55;
    max-width: 58rem;
}

.blog-article-prose h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: var(--brand-green-dark);
}

.blog-article-prose h2:first-child {
    margin-top: 0;
}

.blog-article-prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--brand-green-dark);
}

.blog-article-prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.blog-article-prose ul {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.blog-article-prose li {
    margin-bottom: 0.5rem;
}

.seo-cta-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(11, 61, 46, 0.04) 100%);
}

/* About page — imagery, CTA, journey timeline */
.about-page-figure__img {
    box-shadow: var(--shadow-soft);
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(11, 61, 46, 0.06) 100%);
    border: 1px solid rgba(11, 61, 46, 0.08);
}

.about-journey-timeline {
    position: relative;
    display: grid;
    gap: 1.5rem;
    max-width: 960px;
    margin-inline: auto;
    padding-block: 0.5rem;
}

.about-journey-timeline__dot {
    display: inline-block;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green-dark), #0d5c45);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 14px rgba(11, 61, 46, 0.2);
}

.about-journey-timeline__label {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(33, 37, 41, 0.82);
}

@media (min-width: 768px) {
    .about-journey-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        align-items: flex-start;
    }

    .about-journey-timeline__track {
        position: absolute;
        top: 26px;
        left: 6%;
        right: 6%;
        height: 4px;
        background: linear-gradient(90deg, var(--brand-green-dark), var(--brand-gold), var(--brand-green-dark));
        border-radius: 4px;
        opacity: 0.88;
        z-index: 0;
    }

    .about-journey-timeline__item {
        position: relative;
        z-index: 1;
        text-align: center;
        padding-top: 0.25rem;
    }

    .about-journey-timeline__label {
        text-align: center;
        max-width: 280px;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .about-journey-timeline {
        padding-left: 1.1rem;
        border-left: 3px solid rgba(11, 61, 46, 0.22);
    }

    .about-journey-timeline__track {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-journey-timeline__dot {
        box-shadow: none;
    }
}
