/* =========================================================================
   Dr. Sam — modern layer (2026 refresh)

   Loaded AFTER theme.css, site.css and client.css. It restyles every existing
   class (no markup or content changes) with the new palette, type, glass
   cards, pastel surfaces and the hooks motion.js animates.

   Sections:
     1. Variables bridge + base
     2. Global background (aurora, grid, floating anatomy)
     3. Loader / page curtain, scroll progress, cursor, back-to-top
     4. Buttons, chips, links
     5. Header
     6. Hero
     7. Stats
     8. How it works / cards / steps
     9. Courses grid + filters
    10. Premium highlight + marquee
    11. Testimonials (slider + grid) + brands
    12. Pricing
    13. Blog / articles
    14. Subjects, CTA, FAQ, gallery, team, map, image-text, rich text
    15. Contact + forms
    16. Inner hero / page header
    17. Footer
    18. Floating decorations + keyframes
    19. Responsive
   ========================================================================= */

/* ---------- 1. Variables bridge + base ---------- */
:root {
    /* client.css variables re-pointed to the new palette */
    --navy: var(--site-heading);
    --teal: var(--site-primary);
    --teal-dark: var(--site-primary-dark);
    --teal-light: var(--site-sky);
    --cyan-accent: var(--site-cyan-accent);
    --orange: var(--site-primary);
    --orange-hover: var(--site-primary-dark);
    --nav-link: var(--site-text);
    --nav-link-hover: var(--site-primary);
    --glass: rgba(255, 255, 255, .9);
    --glass-strong: rgba(255, 255, 255, .96);
    --glass-border: rgba(255, 255, 255, .7);
    --ring: 0 0 0 1px rgba(10, 140, 140, .08);
}

html {
    background: none;
    scroll-behavior: auto;
    overflow-x: clip;
}

body {
    font-family: var(--site-font-body);
    font-size: var(--site-font-size);
    line-height: var(--site-line-height);
    color: var(--site-text);
    background: var(--site-bg);
    overflow-x: hidden;
    overflow-x: clip; /* no sideways scroll, and position:sticky keeps working */
    text-rendering: optimizeLegibility;
}

main,
.site-footer {
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--site-font-heading);
    color: var(--site-heading);
    letter-spacing: -.025em;
}

::selection {
    background: rgba(10, 140, 140, .18);
    color: var(--site-heading);
}

a {
    color: var(--site-primary);
    transition: color .3s var(--site-ease);
}

main {
    position: relative;
    isolation: isolate;
}

.container {
    max-width: var(--site-container);
}

/* Accent words injected by motion.js into headings */
.mx-accent {
    font-family: var(--site-font-accent);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    padding-right: .06em;
}

.mx-accent,
.mx-accent .mx-word {
    background: var(--site-gradient-text);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trusted-section .mx-accent,
.trusted-section .mx-accent .mx-word,
.stats-dark-section .mx-accent,
.cta-dark .mx-accent,
.cta-accent .mx-accent,
.site-footer .mx-accent,
.site-footer .mx-accent .mx-word {
    background-image: linear-gradient(100deg, #8ff0e4 0%, #ffffff 50%, #a9e3ff 100%);
}

/* SplitText helpers */
.mx-line {
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

.mx-word {
    will-change: transform;
}

/* ---------- 2. Global background ---------- */
.mx-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
}

.mx-bg::before {
    /* fine dot grid fading towards the edges */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 59, 74, .09) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.mx-aurora {
    position: absolute;
    border-radius: 50%;
    opacity: .6;
    will-change: transform;
}

.mx-aurora--1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #bfeee9 0%, transparent 68%); animation: mx-aurora-a 26s ease-in-out infinite alternate; }
.mx-aurora--2 { width: 40vw; height: 40vw; right: -10vw; top: 20vh; background: radial-gradient(circle, #dcd2ff 0%, transparent 68%); animation: mx-aurora-b 30s ease-in-out infinite alternate; }
.mx-aurora--3 { width: 38vw; height: 38vw; left: 20vw; bottom: -18vw; background: radial-gradient(circle, #ffd9c7 0%, transparent 70%); animation: mx-aurora-c 34s ease-in-out infinite alternate; opacity: .45; }
.mx-aurora--4 { width: 30vw; height: 30vw; right: 8vw; bottom: -6vw; background: radial-gradient(circle, #c8f0dc 0%, transparent 70%); animation: mx-aurora-a 28s ease-in-out infinite alternate-reverse; opacity: .5; }

.mx-bg-item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    opacity: var(--o, .22);
    will-change: transform;
}

.mx-bg-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: mx-drift var(--d, 16s) ease-in-out infinite;
    animation-delay: var(--p, 0s);
    filter: drop-shadow(0 12px 14px rgba(11, 59, 74, .12));
}

/* ---------- 3. Loader, curtain, progress, cursor, back-to-top ---------- */
.mx-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, #ffffff 0%, #ecf7f6 55%, #dcefef 100%);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

html.mx-preload .mx-loader,
.mx-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mx-loader-inner {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.mx-loader-mark {
    position: relative;
    display: grid;
    place-items: center;
    padding: 26px 34px;
    color: var(--site-heading);
    font-family: var(--site-font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.04em;
}

.mx-loader-mark img {
    width: min(220px, 60vw);
    height: auto;
    animation: mx-heartbeat 1.4s ease-in-out infinite;
}

.mx-loader-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(10, 140, 140, .12), transparent);
    animation: mx-breathe 2.8s ease-in-out infinite;
}

.mx-loader-ekg {
    width: 160px;
    height: 34px;
}

.mx-loader-ekg path {
    fill: none;
    stroke: var(--site-primary);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: mx-ekg 1.6s linear infinite;
}

.mx-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
    background: var(--site-gradient);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

.mx-cursor,
.mx-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .3s ease, width .35s var(--site-ease), height .35s var(--site-ease), margin .35s var(--site-ease), background-color .35s ease, border-color .35s ease;
}

.mx-cursor {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(10, 140, 140, .45);
    background: rgba(10, 140, 140, .04);
}

.mx-cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--site-primary);
}

body.mx-cursor-on .mx-cursor,
body.mx-cursor-on .mx-cursor-dot {
    opacity: 1;
}

body.mx-cursor-hover .mx-cursor {
    width: 70px;
    height: 70px;
    margin: -35px 0 0 -35px;
    background: rgba(10, 140, 140, .08);
    border-color: rgba(10, 140, 140, .25);
}

body.mx-cursor-hover .mx-cursor-dot {
    opacity: 0;
}

.mx-totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--glass-strong);
    box-shadow: var(--site-shadow);
    display: grid;
    place-items: center;
    color: var(--site-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.8);
    transition: opacity .4s var(--site-ease), transform .4s var(--site-ease), visibility .4s;
}

.mx-totop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mx-totop svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.mx-totop circle {
    fill: none;
    stroke-width: 2.5;
}

.mx-totop .mx-totop-track { stroke: rgba(10, 140, 140, .12); }
.mx-totop .mx-totop-bar { stroke: var(--site-primary); stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 151; }
.mx-totop i { font-size: 1.15rem; transition: transform .3s var(--site-ease); }
.mx-totop:hover i { transform: translateY(-3px); }

/* ---------- 4. Buttons, chips, links ---------- */
.btn-hero-primary,
.btn-nav-cta,
.btn-plan,
.btn-explore-courses,
.btn-articles,
.btn-learn-more,
.btn-footer-cta,
.newsletter-btn,
.btn.btn-primary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    border-radius: 999px;
    background: var(--site-gradient);
    background-size: 160% 100%;
    background-position: 0 0;
    color: #fff !important;
    font-family: var(--site-font-heading);
    font-weight: 600;
    letter-spacing: -.005em;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(10, 140, 140, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: background-position .6s var(--site-ease), box-shadow .4s var(--site-ease);
}

.btn-hero-primary,
.btn-explore-courses,
.btn-articles,
.btn-learn-more {
    padding: 1rem 1.9rem;
    font-size: 1rem;
}

.btn-hero-primary::before,
.btn-nav-cta::before,
.btn-plan::before,
.btn-explore-courses::before,
.btn-articles::before,
.btn-learn-more::before,
.btn-footer-cta::before,
.btn.btn-primary::before {
    /* glossy sweep */
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .8s var(--site-ease);
}

.btn-hero-primary:hover::before,
.btn-nav-cta:hover::before,
.btn-plan:hover::before,
.btn-explore-courses:hover::before,
.btn-articles:hover::before,
.btn-learn-more:hover::before,
.btn-footer-cta:hover::before,
.btn.btn-primary:hover::before {
    left: 120%;
}

.btn-hero-primary:hover,
.btn-nav-cta:hover,
.btn-plan:hover,
.btn-explore-courses:hover,
.btn-articles:hover,
.btn-learn-more:hover,
.btn-footer-cta:hover,
.newsletter-btn:hover,
.btn.btn-primary:hover {
    /* explicit longhands: the legacy hover rules use the `background`
       shorthand, which would otherwise wipe the gradient (white button) */
    background-color: var(--site-primary);
    background-image: var(--site-gradient);
    background-size: 160% 100%;
    background-position: 100% 0;
    color: #fff !important;
    box-shadow: 0 18px 34px -12px rgba(10, 140, 140, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn-hero-primary--outline,
.btn-hero-primary.btn-hero-primary--outline {
    background: var(--glass-strong);
    color: var(--site-heading) !important;
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow);
}

.btn-hero-primary.btn-hero-primary--outline:hover {
    background: #fff;
    background-image: none;
    color: var(--site-primary) !important;
}

.btn-hero-secondary,
.btn.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 1rem 1.9rem;
    border-radius: 999px;
    background: var(--glass-strong);
    border: 1px solid rgba(10, 140, 140, .18);
    color: var(--site-heading) !important;
    font-family: var(--site-font-heading);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px -14px rgba(11, 59, 74, .35);
    transition: border-color .4s var(--site-ease), color .3s, box-shadow .4s var(--site-ease), background .4s;
}

.btn-hero-secondary:hover,
.btn.btn-outline-primary:hover {
    background: #fff;
    border-color: rgba(10, 140, 140, .45);
    color: var(--site-primary) !important;
    box-shadow: 0 16px 30px -16px rgba(10, 140, 140, .5);
    transform: none;
}

.btn.btn-lg {
    padding: 1rem 1.9rem;
    font-size: 1rem;
}

.mx-arrow {
    display: inline-block;
    transition: transform .45s var(--site-ease);
}

a:hover > .mx-arrow,
button:hover > .mx-arrow {
    transform: translateX(5px);
}

/* Eyebrow chips used across sections */
.section-badge,
.ol-badge,
.pricing-badge,
.ts-badge,
.eyebrow,
.sd-eyebrow,
.subject-tag {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem 1rem .5rem .8rem;
    margin-bottom: 1.1rem;
    border-radius: 999px;
    background: var(--glass-strong);
    border: 1px solid rgba(10, 140, 140, .14);
    color: var(--site-primary);
    font-family: var(--site-font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px -12px rgba(10, 140, 140, .5);
    animation: none;
}

.section-badge::before,
.ol-badge::before,
.pricing-badge::before,
.ts-badge::before,
.eyebrow::before,
.sd-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--site-primary);
    box-shadow: 0 0 0 0 rgba(10, 140, 140, .5);
    animation: mx-ping 2.2s ease-out infinite;
    flex: none;
}

.subject-tag {
    padding: .35rem .8rem;
    margin-bottom: .8rem;
    font-size: .66rem;
}

/* Animated link underline */
.article-read-more,
.card-link,
.sd-card-link,
.footer-links a,
.prose a,
.inner-breadcrumb a,
.breadcrumb-item a {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    text-decoration: none !important;
    transition: background-size .45s var(--site-ease), color .3s ease;
}

.article-read-more:hover,
.card-link:hover,
.sd-card-link:hover,
.footer-links a:hover,
.prose a:hover,
.inner-breadcrumb a:hover,
.breadcrumb-item a:hover {
    background-size: 100% 1.5px;
}

.prose a {
    background-size: 100% 1px;
    color: var(--site-primary);
}

/* Shared glass card surface */
.feature-card,
.course-card,
.article-card,
.price-card,
.ts-card,
.testi-card,
.card-item,
.step-card,
.subject-card,
.stats-card,
.stat-item,
.contact-info-card,
.contact-form-wrap,
.team-card,
.resource-card,
.lesson-card,
.sd-card,
.course-summary,
.course-access,
.material-board,
.library-status,
.pl-card-highlight,
.faq-list .accordion-item {
    border-radius: var(--site-radius-lg);
}

/* ---------- 5. Header ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: 14px 0;
    background: transparent !important;
    box-shadow: none;
    transition: transform .55s var(--site-ease), padding .45s var(--site-ease);
}

.navbar > .container {
    position: relative;
    max-width: min(1440px, calc(100% - 24px));
    padding: 10px 14px 10px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background .45s var(--site-ease), box-shadow .45s var(--site-ease), border-color .45s ease, padding .45s var(--site-ease), max-width .5s var(--site-ease);
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar.scrolled > .container {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 0 rgba(11, 59, 74, .04), 0 18px 40px -20px rgba(11, 59, 74, .28);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
}

.navbar.mx-nav-hidden {
    transform: translateY(-120%);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 1.25rem;
    color: var(--site-heading);
    font-family: var(--site-font-heading);
}

.nav-logo {
    height: 52px;
    width: auto;
    transition: height .45s var(--site-ease), transform .5s var(--site-ease);
}

.navbar.scrolled .nav-logo {
    height: 44px;
}

.navbar-brand:hover .nav-logo {
    transform: scale(1.04) rotate(-1deg);
}

.navbar-nav {
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
}

.nav-link {
    position: relative;
    isolation: isolate;
    padding: 8px 15px !important;
    border-radius: 999px;
    color: var(--site-text) !important;
    font-size: .95rem;
    font-weight: 500;
    transition: color .3s ease;
}

.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(10, 140, 140, .08);
    transform: scale(.6);
    opacity: 0;
    transition: transform .45s var(--site-ease), opacity .3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--site-primary) !important;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
    transform: scale(1);
    opacity: 1;
}

.nav-link.active {
    color: var(--site-primary) !important;
    font-weight: 600;
}

.nav-link.active::before {
    transform: scale(1);
    opacity: 1;
    background: rgba(10, 140, 140, .1);
    box-shadow: inset 0 0 0 1px rgba(10, 140, 140, .12);
}

.nav-phone {
    margin-right: 6px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--site-heading);
}

.phone-icon {
    position: relative;
    width: 36px;
    height: 36px;
    background: rgba(10, 140, 140, .1);
}

.phone-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(10, 140, 140, .35);
    animation: mx-ring 2.4s ease-out infinite;
}

.phone-icon svg {
    fill: var(--site-primary);
    animation: mx-wiggle 4s ease-in-out infinite;
}

.nav-student-account {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(10, 140, 140, .16);
    background: rgba(255, 255, 255, .6);
    font-size: .92rem;
    color: var(--site-heading);
    transition: border-color .3s ease, background .3s ease, color .3s ease;
}

.nav-student-account:hover {
    color: var(--site-primary);
    border-color: rgba(10, 140, 140, .4);
    background: #fff;
}

.nav-student-account i {
    color: var(--site-primary);
}

.btn-nav-cta {
    padding: 11px 22px;
    font-size: .92rem;
}

.navbar .dropdown-menu {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 50px -20px rgba(11, 59, 74, .35);
    animation: mx-drop .35s var(--site-ease);
}

.navbar .dropdown-item {
    border-radius: 12px;
    padding: 9px 14px;
    font-size: .93rem;
    color: var(--site-text);
    transition: background .25s ease, color .25s ease, padding-left .3s var(--site-ease);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: rgba(10, 140, 140, .08);
    color: var(--site-primary);
    padding-left: 18px;
}

.navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(10, 140, 140, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    display: inline-grid;
    place-items: center;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230a8c8c' stroke-linecap='round' stroke-width='2.4' d='M6 9h18M6 15h12M6 21h18'/%3e%3c/svg%3e");
    transition: transform .4s var(--site-ease);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* ---------- 6. Hero ---------- */
.hero-section {
    position: relative;
    min-height: calc(100vh - 90px);
    min-height: calc(100svh - 90px);
    padding: 40px 0 90px;
    background: none;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before {
    top: -10%;
    right: -8%;
    left: auto;
    width: 62%;
    height: 120%;
    border-radius: 0;
    background:
        radial-gradient(closest-side at 60% 45%, rgba(31, 193, 182, .22), transparent),
        radial-gradient(closest-side at 35% 70%, rgba(47, 159, 208, .14), transparent);
    z-index: -1;
    animation: mx-breathe 12s ease-in-out infinite;
}

.hero-section::after {
    left: -8%;
    bottom: -20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(245, 166, 35, .14) 0%, transparent 70%);
    z-index: -1;
    animation: mx-breathe 14s ease-in-out infinite reverse;
}

.hero-badge {
    position: relative;
    gap: 10px;
    margin-bottom: 26px;
    padding: 8px 18px 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(10, 140, 140, .14);
    background: var(--glass-strong);
    color: var(--site-heading);
    font-size: .88rem;
    font-weight: 600;
    box-shadow: 0 12px 30px -18px rgba(10, 140, 140, .55);
    animation: none;
}

.hero-badge .stars {
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, #fff5dc, #ffe6b8);
    color: #e79b12;
    font-size: .78rem;
    letter-spacing: 2px;
}

.hero-title {
    margin-bottom: 26px;
    color: var(--site-heading);
    font-size: clamp(2.6rem, 5.6vw, 4.7rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero-title strong {
    font-weight: 700;
}

.hero-subtitle {
    max-width: 540px;
    margin-bottom: 38px;
    color: var(--site-muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-buttons {
    gap: 14px;
}

.hero-image-col {
    position: relative;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
}

.hero-circle-bg {
    display: none; /* the photo already has its own circle; a second shape looked odd */
    bottom: 3%;
    width: 92%;
    background: linear-gradient(140deg, #c8f1ec 0%, #94dcd4 45%, #cfe9f7 100%);
    border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%;
    box-shadow: inset 0 -30px 60px rgba(10, 140, 140, .18), 0 40px 80px -40px rgba(10, 140, 140, .55);
    animation: mx-spin-r 40s linear infinite;
}

.hero-arc {
    top: -4%;
    right: -6%;
    left: auto;
    width: 108%;
    height: auto;
    aspect-ratio: 1;
    transform: none;
    background: none;
    border: 1.5px dashed rgba(10, 140, 140, .28);
    border-radius: 50%;
    z-index: 0;
    animation: mx-spin-r 50s linear infinite;
}

.hero-arc::before,
.hero-arc::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--site-primary);
    box-shadow: 0 0 0 6px rgba(10, 140, 140, .15), 0 0 24px rgba(10, 140, 140, .6);
    top: 12%;
    left: 14%;
}

.hero-arc::after {
    width: 10px;
    height: 10px;
    background: var(--site-accent);
    box-shadow: 0 0 0 5px rgba(245, 166, 35, .18);
    top: auto;
    left: auto;
    right: 8%;
    bottom: 22%;
}

.hero-img {
    animation: none;
    filter: drop-shadow(0 30px 40px rgba(11, 59, 74, .25));
}

.hero-image-wrapper .mx-ring {
    position: absolute;
    inset: 8% 4% -2%;
    border-radius: 50%;
    border: 1px solid rgba(10, 140, 140, .14);
    z-index: 0;
    animation: mx-spin-r 80s linear infinite reverse;
}

.hero-image-wrapper .mx-ring::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2f9fd0;
    box-shadow: 0 0 0 5px rgba(47, 159, 208, .16);
}

/* Glass bubbles holding 3D organs around the hero image */
.mx-orb {
    position: absolute;
    z-index: 3;
    width: var(--s, 92px);
    height: var(--s, 92px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 20px 40px -18px rgba(11, 59, 74, .35), inset 0 1px 0 #fff;
}

.mx-orb img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    animation: mx-bob var(--d, 6s) ease-in-out infinite;
    animation-delay: var(--p, 0s);
}

/* ---------- 7. Stats ---------- */
.stats-section,
.stats-cards-section {
    position: relative;
    padding: 30px 0 60px;
    background: none;
}

.stats-section .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
    row-gap: 1.25rem;
}

.stats-section .row > [class*="col-"] {
    padding-inline: .625rem;
}

.stat-item {
    position: relative;
    height: 100%;
    padding: 28px 26px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .5s var(--site-ease), box-shadow .5s var(--site-ease);
}

.stat-item::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: -40%;
    right: -20%;
    left: auto;
    width: 70%;
    height: 90%;
    border-radius: 50%;
    background: var(--tint, var(--site-skyfog));
    filter: blur(6px);
    opacity: .9;
    z-index: 0;
    transition: transform .7s var(--site-ease);
}

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

.stat-item:hover::before {
    transform: scale(1.35);
}

.stats-section .col-6:nth-child(4n+1) .stat-item { --tint: var(--site-skyfog); }
.stats-section .col-6:nth-child(4n+2) .stat-item { --tint: var(--site-lavender); }
.stats-section .col-6:nth-child(4n+3) .stat-item { --tint: var(--site-peach); }
.stats-section .col-6:nth-child(4n+4) .stat-item { --tint: var(--site-mint); }

.stat-inner {
    position: relative;
    z-index: 1;
    border: 0;
    padding: 0;
}

.stat-number,
.stats-card-number {
    margin: 0 0 6px;
    font-family: var(--site-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
    background: linear-gradient(120deg, var(--site-primary-dark), var(--site-primary) 60%, var(--site-sky));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: none;
    font-variant-numeric: tabular-nums;
}

.stat-item:hover .stat-number {
    transform: none;
}

.stat-label,
.stats-card-label {
    margin: 0;
    color: var(--site-muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.stats-card {
    padding: 34px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
}

.stats-dark-section {
    position: relative;
    margin: 0 clamp(8px, 2vw, 24px);
    padding: 70px 0;
    border-radius: var(--site-radius-xl);
    overflow: hidden;
    background: var(--site-dark);
}

.stats-dark-section::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg at 50% 50%, #0b3b4a, #0a8c8c, #2f9fd0, #0b3b4a);
    opacity: .45;
    animation: mx-spin 30s linear infinite;
}

.stats-dark-section .container {
    position: relative;
}

.stats-dark-number {
    font-family: var(--site-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
}

.stats-dark-label {
    color: rgba(255, 255, 255, .7);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .8rem;
}

/* ---------- 8. How it works / cards / steps ---------- */
.online-learning-section {
    position: relative;
    padding: var(--site-section-y) 0;
    background: none;
    overflow: hidden;
}

.blob {
    opacity: .7;
    animation: none;
}

.blob-peach { background: radial-gradient(circle, rgba(255, 186, 150, .45), transparent 70%); }
.blob-blue { background: radial-gradient(circle, rgba(31, 193, 182, .3), transparent 70%); }

.ol-title,
.fc-title,
.pl-title,
.ts-title,
.pricing-title,
.articles-title,
.testi-grid-title,
.section-title {
    color: var(--site-heading);
    font-family: var(--site-font-heading);
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.ol-title strong,
.fc-title strong {
    font-weight: 700;
}

.ol-desc,
.resources-intro,
.testi-grid-intro,
.section-head .lead,
.contact-intro {
    color: var(--site-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.btn-learn-more::after {
    display: none;
}

.expert-row {
    margin-top: 36px;
    padding: 12px 20px 12px 12px;
    display: inline-flex;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
}

.avatar-circle {
    border: 3px solid #fff;
    box-shadow: 0 6px 14px -6px rgba(11, 59, 74, .4);
}

.expert-text {
    color: var(--site-text);
    font-weight: 500;
}

.feature-card {
    position: relative;
    height: 100%;
    padding: 34px 30px 30px;
    overflow: hidden;
    background: var(--tint, var(--site-skyfog));
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 40px -26px rgba(11, 59, 74, .35);
    transition: transform .55s var(--site-ease), box-shadow .55s var(--site-ease);
}

.online-learning-section .row.g-4 > div:nth-child(4n+1) .feature-card { --tint: var(--site-lavender); --tint-ink: #6a4fc4; }
.online-learning-section .row.g-4 > div:nth-child(4n+2) .feature-card { --tint: var(--site-peach); --tint-ink: #c9603b; }
.online-learning-section .row.g-4 > div:nth-child(4n+3) .feature-card { --tint: var(--site-mint); --tint-ink: #3b8a5e; }
.online-learning-section .row.g-4 > div:nth-child(4n+4) .feature-card { --tint: var(--site-skyfog); --tint-ink: var(--site-primary); }

.feature-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .9);
    animation: mx-spin 24s linear infinite;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 34px 60px -30px rgba(11, 59, 74, .45);
}

.feature-num {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: var(--tint-ink, var(--site-primary));
    background: rgba(255, 255, 255, .55);
    font-family: var(--site-font-heading);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    opacity: 1;
    -webkit-text-fill-color: currentColor;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

.feature-title {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--site-heading);
}

.feature-desc {
    position: relative;
    z-index: 1;
    color: #4d5a73;
    font-size: .96rem;
    line-height: 1.7;
}

.feature-line {
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--tint-ink, var(--site-primary));
    transform-origin: 0 50%;
}

/* Generic cards (cards section, services, related items) */
.card-item {
    position: relative;
    display: block;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .55s var(--site-ease), box-shadow .55s var(--site-ease);
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--site-shadow-lg);
}

.card-item .card-img {
    margin: -14px -14px 22px;
    border-radius: calc(var(--site-radius-lg) - 6px);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.card-item .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--site-ease);
}

.card-item:hover .card-img img {
    transform: scale(1.08);
}

.card-item .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--site-primary);
    background: linear-gradient(140deg, var(--site-skyfog), var(--site-lavender));
    transition: transform .6s var(--site-ease);
}

.card-item:hover .card-icon {
    transform: rotate(-8deg) scale(1.08);
}

.card-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-item p {
    color: var(--site-muted);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--site-primary);
    font-weight: 600;
}

.step-card {
    position: relative;
    display: flex;
    gap: 22px;
    height: 100%;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .5s var(--site-ease), box-shadow .5s var(--site-ease);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--site-shadow-lg);
}

.step-num {
    flex: none;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--site-gradient);
    color: #fff;
    font-family: var(--site-font-heading);
    font-weight: 600;
    box-shadow: 0 12px 24px -12px rgba(10, 140, 140, .7);
}

.step-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.step-body p {
    color: var(--site-muted);
}

/* ---------- 9. Courses grid + filters ---------- */
.featured-courses-section,
.articles-section,
.resources-section,
.testimonials-grid-section,
.section-alt,
.subjects-page-section {
    position: relative;
    background: none;
}

.featured-courses-section,
.articles-section,
.section.section-alt {
    margin: 0 clamp(8px, 2vw, 24px);
    padding: var(--site-section-y) 0;
    border-radius: var(--site-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(238, 244, 252, .55));
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 1px 0 #fff inset;
    overflow: hidden;
}

.fc-blob,
.fc-blob-right-top,
.fc-blob-right-bottom {
    opacity: .5;
    animation: mx-breathe-s 14s ease-in-out infinite;
}

.course-filters {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow);
}

.filter-btn {
    position: relative;
    z-index: 1;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--site-muted);
    font-size: .9rem;
    font-weight: 600;
    transition: color .35s ease;
}

.filter-btn::after {
    display: none;
}

.filter-btn:hover {
    color: var(--site-primary);
}

.filter-btn.active {
    color: #fff;
    box-shadow: none;
    background: transparent;
}

.mx-filter-pill {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    border-radius: 999px;
    background: var(--site-gradient);
    box-shadow: 0 8px 18px -8px rgba(10, 140, 140, .7);
    pointer-events: none;
}

/* Without JS (or before it runs) the active filter is still visible */
.course-filters:not(.mx-has-pill) .filter-btn.active {
    background: var(--site-primary);
}

.course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: var(--site-shadow);
    transition: transform .55s var(--site-ease), box-shadow .55s var(--site-ease);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--site-shadow-lg);
}

.course-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--site-radius-lg) - 6px);
    aspect-ratio: 16 / 10;
    height: auto;
}

.course-img-wrap::after {
    content: "\2197";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .9);
    color: var(--site-primary);
    font-size: 1.1rem;
    font-weight: 700;
    transform: scale(.4) rotate(-45deg);
    opacity: 0;
    transition: transform .5s var(--site-ease), opacity .35s ease;
}

.course-card:hover .course-img-wrap::after {
    transform: none;
    opacity: 1;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--site-ease);
}

.course-card:hover .course-img {
    transform: scale(1.08);
}

.course-body {
    flex: 1;
    padding: 20px 14px 10px;
}

.course-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 140, 140, .08);
    color: var(--site-primary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.meta-dot {
    background: var(--site-border);
}

.course-instructor {
    color: var(--site-muted);
    font-size: .85rem;
}

.course-title {
    margin: 12px 0 8px;
    color: var(--site-heading);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.35;
    transition: color .3s ease;
}

.course-card:hover .course-title {
    color: var(--site-primary);
}

.course-desc {
    color: var(--site-muted);
    font-size: .93rem;
}

.course-footer {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 12px 14px 8px;
    border-top: 1px dashed var(--site-border);
}

.course-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--site-surface-alt);
    color: var(--site-text);
    font-size: .8rem;
    font-weight: 600;
}

.course-stat i {
    color: var(--site-primary);
}

.course-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 520px;
    margin-bottom: 28px;
    padding: 6px 8px 6px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow);
    transition: box-shadow .35s ease, border-color .35s ease;
}

.course-search:focus-within {
    border-color: rgba(10, 140, 140, .45);
    box-shadow: 0 0 0 5px rgba(10, 140, 140, .1), var(--site-shadow);
}

.course-search i {
    color: var(--site-primary);
}

.course-search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 0;
}

/* Courses page toolbar: search + filters on one aligned bar */
.course-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 36px;
    padding: 10px;
    border-radius: 30px;
    background: var(--glass-strong);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: var(--site-shadow);
}

.course-toolbar .course-search {
    flex: 1 1 300px;
    max-width: 440px;
    margin: 0;
    box-shadow: none;
    background: var(--site-surface-alt);
    border-color: transparent;
}

.course-toolbar .course-filters {
    box-shadow: none;
    background: var(--site-surface-alt);
    border-color: transparent;
}

/* ---------- 10. Premium highlight + marquee ---------- */
.premium-learning-section {
    position: relative;
    padding: var(--site-section-y) 0 0;
    background: none;
    overflow: hidden;
}

.pl-image-wrapper {
    position: relative;
    isolation: isolate;
}

.pl-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 6% 2% 0 6%;
    z-index: -1;
    border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
    background: linear-gradient(150deg, #ffe1d1 0%, #ffd2be 40%, #ece8fb 100%);
    animation: mx-spin-r 50s linear infinite;
}

.pl-image-wrapper::after {
    content: "";
    position: absolute;
    inset: -4%;
    z-index: -1;
    border-radius: 50%;
    border: 1.5px dashed rgba(245, 166, 35, .4);
    animation: mx-spin 60s linear infinite;
}

.pl-img {
    border-radius: 50%;
}

.pl-float-img {
    animation: mx-bob 7s ease-in-out infinite;
    filter: drop-shadow(0 18px 24px rgba(10, 140, 140, .3));
}

.pl-card-highlight {
    position: relative;
    padding: 24px 26px;
    background: var(--glass-strong);
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: var(--site-shadow);
}

.pl-card-highlight::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(10, 140, 140, .45), rgba(47, 159, 208, .35), rgba(245, 166, 35, .4));
}

.pl-card-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.pl-card-desc {
    color: var(--site-muted);
}

.pl-card-icon svg rect,
.pl-card-icon svg line {
    stroke: var(--site-primary);
}

.pl-card-icon {
    animation: mx-bob 5s ease-in-out infinite;
}

.pl-feature-list {
    padding: 0;
    list-style: none;
}

.pl-feature-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: var(--site-heading);
    font-weight: 600;
}

.pl-feature-item::before {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--site-gradient) center / 100% no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='12'/%3e%3c/svg%3e") center / contain no-repeat;
    box-shadow: 0 8px 16px -8px rgba(10, 140, 140, .7);
}

.pl-feature-item::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-70%) rotate(-45deg);
}

.pl-marquee-wrap {
    position: relative;
    margin-top: clamp(50px, 7vw, 90px);
    padding: clamp(40px, 6vw, 70px) 0;
    overflow: hidden;
    background: none;
    text-align: center;
}

.pl-marquee-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    animation: none;
    transform: none;
}

.pl-marquee-bg span {
    padding-right: 3rem;
    font-family: var(--site-font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(10, 140, 140, .22);
}

.pl-marquee-bg span:nth-child(even) {
    font-family: var(--site-font-accent);
    font-style: italic;
    font-weight: 400;
    -webkit-text-stroke: 0;
    color: rgba(10, 140, 140, .12);
}

.pl-marquee-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--glass-strong);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--site-shadow);
    color: var(--site-heading);
    font-family: var(--site-font-heading);
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- 11. Testimonials + brands ---------- */
.trusted-section {
    position: relative;
    isolation: isolate;
    margin: 0 clamp(8px, 2vw, 24px);
    padding: var(--site-section-y) 0 40px;
    border-radius: var(--site-radius-xl);
    overflow: hidden;
    background: var(--site-dark);
}

.trusted-section::before {
    content: "";
    position: absolute;
    inset: -50%;
    z-index: -1;
    background:
        radial-gradient(closest-side at 30% 30%, rgba(10, 140, 140, .7), transparent),
        radial-gradient(closest-side at 70% 60%, rgba(47, 159, 208, .45), transparent),
        radial-gradient(closest-side at 50% 90%, rgba(31, 193, 182, .45), transparent);
    animation: mx-spin 40s linear infinite;
}

.trusted-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.ts-badge {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: #c8f5ef;
}

.ts-badge::before {
    background: #8ff0e4;
}

.ts-title {
    color: #fff;
}

.ts-desc {
    color: rgba(255, 255, 255, .72);
}

.ts-stat-number {
    font-family: var(--site-font-heading);
    font-weight: 700;
    letter-spacing: -.04em;
    background: linear-gradient(120deg, #fff, #8ff0e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ts-stat-divider {
    background: rgba(255, 255, 255, .25);
}

.ts-stat-text {
    color: rgba(255, 255, 255, .78);
}

.ts-slider-outer {
    position: relative;
}

.ts-slider-wrap {
    overflow: hidden;
    border-radius: var(--site-radius-lg);
    padding: 6px;
    margin: -6px;
}

.ts-slider-wrap.swiper {
    overflow: hidden;
}

.ts-slider.swiper-wrapper {
    display: flex;
}

.ts-slider.swiper-wrapper .ts-slide {
    display: block;
    flex: 0 0 100%;
    height: auto;
}

.ts-card {
    height: 100%;
    min-height: 260px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

.ts-card:hover {
    transform: none;
}

.ts-card-img-wrap {
    border-radius: calc(var(--site-radius-lg) - 6px);
    overflow: hidden;
    background: linear-gradient(160deg, #c8f1ec, #ece8fb);
}

.ts-img-circle {
    background: rgba(255, 255, 255, .5);
}

.ts-card-body {
    position: relative;
    padding: 30px 28px;
}

.ts-card-body::before {
    content: "\201C";
    position: absolute;
    right: 22px;
    top: -10px;
    font-family: var(--site-font-accent);
    font-size: 7rem;
    line-height: 1;
    color: rgba(10, 140, 140, .1);
}

.ts-stars,
.testi-stars {
    color: var(--site-gold);
    letter-spacing: 3px;
}

.ts-quote {
    color: var(--site-heading);
    font-size: 1.08rem;
    line-height: 1.7;
}

.ts-name,
.testi-name {
    color: var(--site-heading);
    font-family: var(--site-font-heading);
    font-weight: 600;
}

.ts-role,
.testi-role {
    color: var(--site-muted);
}

.ts-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--site-primary);
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
    transition: background .3s ease, color .3s ease;
    z-index: 5;
}

.ts-arrow:hover {
    background: var(--site-gradient);
    color: #fff;
    border-color: transparent;
}

.ts-arrow.swiper-button-disabled {
    opacity: .5;
}

.ts-brands {
    margin-top: 60px;
    padding: 34px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
}

.ts-brands-img-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.mx-brands-track {
    display: flex;
    width: max-content;
    gap: 80px;
}

.mx-brands-track img {
    flex: none;
    height: 56px;
    width: auto;
    max-width: none;
    opacity: .85;
}

.testi-card {
    position: relative;
    height: 100%;
    padding: 32px 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .5s var(--site-ease), box-shadow .5s var(--site-ease);
}

.testi-card::before {
    font-family: var(--site-font-accent);
    color: rgba(10, 140, 140, .12);
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--site-shadow-lg);
}

.testi-quote {
    color: var(--site-text);
    line-height: 1.75;
}

.testi-avatar {
    border: 3px solid #fff;
    box-shadow: 0 6px 16px -6px rgba(11, 59, 74, .4);
    background: var(--site-gradient-soft);
}

/* ---------- 12. Pricing ---------- */
.pricing-section {
    position: relative;
    padding: var(--site-section-y) 0;
    background: none;
    overflow: hidden;
}

.pricing-section .row.g-0 {
    --bs-gutter-x: 0;
    row-gap: 24px;
}

.pricing-section .row.g-0 > [class*="col-"] {
    padding: 0 12px;
}

.price-card,
.col-lg-4:first-child .price-card,
.col-md-6:first-child .price-card,
.col-lg-4:last-child .price-card,
.col-md-6:last-child .price-card,
.price-card--featured {
    position: relative;
    border-radius: var(--site-radius-xl) !important;
    border: 1px solid rgba(255, 255, 255, .95);
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--site-shadow);
    overflow: hidden;
    transition: transform .55s var(--site-ease), box-shadow .55s var(--site-ease);
}

.pricing-section .price-card.price-card--featured {
    overflow: visible;
    border: 0;
    background: #fff;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--site-shadow-lg);
}

@property --mx-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.price-card--featured {
    border: 0;
    overflow: visible;
    box-shadow: 0 40px 80px -40px rgba(10, 140, 140, .6);
    z-index: 2;
}

.price-card--featured::before {
    /* animated gradient border */
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: calc(var(--site-radius-xl) + 2px);
    background: conic-gradient(from var(--mx-angle), #0a8c8c, #1fc1b6, #2f9fd0, #f5a623, #0a8c8c);
    animation: mx-angle 5s linear infinite;
}

.price-card--featured::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -2;
    border-radius: inherit;
    background: conic-gradient(from var(--mx-angle), #0a8c8c, #1fc1b6, #2f9fd0, #f5a623, #0a8c8c);
    filter: blur(28px);
    opacity: .4;
}

.price-card--featured > *:not(.price-card-header):not(.js-tilt-glare) {
    position: relative;
}

.price-card--featured .price-card-top {
    border-radius: var(--site-radius-xl) var(--site-radius-xl) 0 0;
    background: #fff;
}

.price-card-header {
    position: absolute;
    top: -16px;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--site-gradient);
    color: #fff;
    font-size: .7rem;
    letter-spacing: .2em;
    box-shadow: 0 10px 22px -10px rgba(10, 140, 140, .9);
    white-space: nowrap;
}

.price-card-top {
    padding: 36px 32px 18px;
}

.plan-tier-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(10, 140, 140, .08);
    color: var(--site-primary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.plan-name {
    margin: 14px 0 0;
    font-size: 1.55rem;
    font-weight: 600;
}

.plan-divider {
    border-color: var(--site-border);
    opacity: 1;
}

.feat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--site-border);
    color: var(--site-text);
}

.feat::before {
    flex: none;
}

.feat--yes::before {
    background-color: var(--site-primary);
    box-shadow: 0 6px 12px -6px rgba(10, 140, 140, .8);
}

.feat--no::before {
    background-color: #cbd5e1;
}

.feat--no {
    color: var(--site-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(102, 116, 143, .35);
}

.price-card-bottom {
    padding: 22px 32px 32px;
}

.price-card-bottom--dark {
    border-radius: 0 0 var(--site-radius-xl) var(--site-radius-xl);
    background: linear-gradient(150deg, #0c1f35 0%, #0b3b4a 55%, #0a8c8c 140%);
}

.price-card-bottom--light {
    background: transparent;
}

.plan-price {
    font-family: var(--site-font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -.05em;
    color: var(--site-heading);
    font-variant-numeric: tabular-nums;
}

.plan-price--white {
    color: #fff;
}

.plan-price-note {
    color: var(--site-muted);
}

.plan-price-note--white {
    color: rgba(255, 255, 255, .72);
}

.btn-plan {
    width: 100%;
    padding: 1rem 1.6rem;
    margin-top: 16px;
    justify-content: space-between;
}

.price-card-bottom--dark .btn-plan {
    background: #fff;
    color: var(--site-primary-dark) !important;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6);
}

.price-card-bottom--dark .btn-plan::before {
    background: linear-gradient(100deg, transparent, rgba(10, 140, 140, .18), transparent);
}

/* ---------- 13. Blog / articles ---------- */
.btn-articles {
    padding: .95rem 1.7rem;
}

.article-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: var(--site-shadow);
    transition: transform .55s var(--site-ease), box-shadow .55s var(--site-ease);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--site-shadow-lg);
}

.article-img-wrap {
    overflow: hidden;
    border-radius: calc(var(--site-radius-lg) - 6px);
    aspect-ratio: 16 / 10;
    height: auto;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--site-ease);
}

.article-card:hover .article-img {
    transform: scale(1.08);
}

.article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 14px 14px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
}

.article-title a:hover {
    color: var(--site-primary) !important;
}

.article-desc {
    color: var(--site-muted);
    font-size: .94rem;
}

.article-read-more {
    align-self: flex-start;
    margin-top: auto;
    color: var(--site-primary);
    font-weight: 600;
}

/* ---------- 14. Subjects, CTA, FAQ, gallery, team, map, image-text ---------- */
.subject-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .55s var(--site-ease), box-shadow .55s var(--site-ease);
}

.subject-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--site-shadow-lg);
}

.subject-card--teal { --tint: var(--site-skyfog); }
.subject-card--orange { --tint: var(--site-peach); }

.subject-card::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--tint, var(--site-lavender));
    transition: transform .8s var(--site-ease);
}

.subject-card:hover::before {
    transform: scale(1.4);
}

.subject-card > * {
    position: relative;
}

.subject-card--featured {
    background: linear-gradient(150deg, #0c1f35, #0b3b4a 50%, #0a8c8c 150%);
    border-color: transparent;
}

.subject-card--featured::before {
    background: rgba(255, 255, 255, .08);
}

.subject-card--featured .subject-name,
.subject-card--featured .subject-desc,
.subject-card--featured .subject-count {
    color: #fff;
}

.subject-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #fff;
    color: var(--site-primary);
    box-shadow: 0 12px 24px -14px rgba(10, 140, 140, .6);
}

.subject-icon i {
    color: var(--site-primary);
}

.subject-badge-featured {
    border-radius: 999px;
    background: var(--site-gradient);
}

.subject-name {
    font-weight: 600;
}

.subject-explore-btn {
    margin-top: auto;
    border-radius: 999px;
    font-weight: 600;
}

.subjects-cta-strip {
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius-xl);
    background: var(--site-gradient);
    background-size: 200% 200%;
    box-shadow: var(--site-shadow-lg);
}

.subjects-cta-text h4 {
    color: #fff;
}

.subjects-cta-text p {
    color: rgba(255, 255, 255, .8);
}

.cta-box {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
    border-radius: var(--site-radius-xl);
    text-align: center;
}

.cta-accent,
.cta-gradient,
.cta-dark {
    background: var(--site-gradient);
    background-size: 200% 200%;
    color: rgba(255, 255, 255, .85);
    box-shadow: var(--site-shadow-lg);
}

.cta-dark {
    background: linear-gradient(140deg, #052830, #0b3b4a 60%, #0a8c8c 140%);
}

.cta-accent::before,
.cta-gradient::before,
.cta-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}

.cta-accent h2,
.cta-gradient h2,
.cta-dark h2 {
    color: #fff;
}

.cta-accent .btn-primary,
.cta-gradient .btn-primary,
.cta-dark .btn-primary {
    background: #fff;
    color: var(--site-primary-dark) !important;
}

.cta-accent .btn-outline-primary,
.cta-gradient .btn-outline-primary,
.cta-dark .btn-outline-primary {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .45);
    color: #fff !important;
}

.cta-light {
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
}

.faq-list {
    max-width: 860px;
}

.faq-list .accordion-item {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border) !important;
    background: var(--glass);
    box-shadow: var(--site-shadow);
    transition: box-shadow .4s ease;
}

.faq-list .accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: var(--site-shadow-lg);
}

.faq-list .accordion-button {
    padding: 22px 26px;
    background: transparent;
    color: var(--site-heading);
    font-family: var(--site-font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: none !important;
}

.faq-list .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--site-primary);
}

.faq-list .accordion-button::after {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(10, 140, 140, .08);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath stroke='%230a8c8c' stroke-width='2.2' stroke-linecap='round' d='M12 6v12M6 12h12'/%3e%3c/svg%3e");
    background-size: 16px;
    background-position: center;
    transition: transform .5s var(--site-ease), background-color .3s ease;
}

.faq-list .accordion-button:not(.collapsed)::after {
    transform: rotate(135deg);
    background-color: rgba(10, 140, 140, .16);
}

.faq-list .accordion-body {
    padding: 0 26px 24px;
    color: var(--site-muted);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow);
}

.gallery-item img {
    transition: transform 1.1s var(--site-ease), filter .6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item figcaption {
    background: linear-gradient(0deg, rgba(5, 40, 48, .75), transparent);
}

.team-card {
    padding: 26px 22px;
    height: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .5s var(--site-ease), box-shadow .5s var(--site-ease);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--site-shadow-lg);
}

.team-photo {
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(10, 140, 140, .2), 0 14px 30px -14px rgba(11, 59, 74, .5);
    background: var(--site-gradient-soft);
    transition: box-shadow .5s ease;
}

.team-card:hover .team-photo {
    box-shadow: 0 0 0 6px rgba(10, 140, 140, .15), 0 18px 34px -14px rgba(11, 59, 74, .55);
}

.team-card a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 140, 140, .08);
    color: var(--site-primary);
    transition: background .3s ease, color .3s ease, transform .4s var(--site-ease);
}

.team-card a:hover {
    background: var(--site-primary);
    color: #fff;
    transform: translateY(-3px);
}

.map-frame {
    width: 100%;
    border: 0;
    border-radius: var(--site-radius-xl);
    box-shadow: var(--site-shadow-lg);
    filter: saturate(.9);
}

.img-frame {
    position: relative;
    border-radius: var(--site-radius-xl);
    box-shadow: var(--site-shadow-lg);
}

.img-frame img {
    transition: transform 1.2s var(--site-ease);
}

.img-frame:hover img {
    transform: scale(1.04);
}

.img-placeholder {
    border-radius: var(--site-radius-xl);
    background: var(--site-gradient-soft);
}

.prose {
    color: var(--site-text);
    line-height: 1.8;
}

.prose h2,
.prose h3 {
    font-weight: 600;
}

.prose blockquote {
    margin: 1.8rem 0;
    padding: 18px 24px;
    border-left: 0;
    border-radius: var(--site-radius-lg);
    background: var(--site-skyfog);
    color: var(--site-heading);
    font-family: var(--site-font-accent);
    font-size: 1.35rem;
    font-style: italic;
}

.prose img {
    border-radius: var(--site-radius-lg);
}

.section-head {
    max-width: 760px;
    margin-bottom: 3rem;
}

/* ---------- 15. Contact + forms ---------- */
.contact-section {
    position: relative;
    background: none !important;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--site-shadow);
    transition: transform .45s var(--site-ease), box-shadow .45s var(--site-ease);
}

.contact-info-card:hover {
    transform: translateX(6px);
    box-shadow: var(--site-shadow-lg);
}

.contact-icon {
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--site-gradient);
    box-shadow: 0 10px 20px -10px rgba(10, 140, 140, .8);
}

.contact-icon svg {
    stroke: #fff;
    fill: none;
}

.contact-info-title {
    color: var(--site-heading);
    font-family: var(--site-font-heading);
    font-weight: 600;
}

.contact-info-text a {
    color: var(--site-text);
}

.contact-form-wrap {
    position: relative;
    padding: clamp(26px, 4vw, 44px);
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: var(--site-shadow-lg);
}

.contact-form-wrap h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.form-label-custom {
    margin-bottom: 8px;
    color: var(--site-heading);
    font-size: .85rem;
    font-weight: 600;
}

.form-control-custom {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--site-border);
    background: rgba(245, 248, 253, .8);
    color: var(--site-heading);
    font-size: .98rem;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.form-control-custom:hover {
    border-color: rgba(10, 140, 140, .3);
}

.form-control-custom:focus {
    outline: 0;
    border-color: var(--site-primary);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(10, 140, 140, .12);
}

.form-check-input:checked {
    background-color: var(--site-primary);
    border-color: var(--site-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(10, 140, 140, .15);
}

.alert {
    border-radius: 14px;
    border: 0;
}

/* ---------- 16. Inner hero / page header ---------- */
.inner-hero,
.page-header,
.sd-banner {
    position: relative;
    isolation: isolate;
    margin: 6px clamp(8px, 2vw, 24px) 0;
    padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
    overflow: hidden;
    border-radius: var(--site-radius-xl);
    background: linear-gradient(135deg, #dcf3f1 0%, #ece8fb 55%, #fdebe2 120%);
    border: 1px solid rgba(255, 255, 255, .9);
    text-align: center;
}

.inner-hero::before,
.page-header::before,
.sd-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 20%, rgba(31, 193, 182, .25), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(47, 159, 208, .2), transparent 40%);
    animation: mx-breathe 12s ease-in-out infinite;
}

.inner-hero::after,
.page-header::after,
.sd-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(11, 59, 74, .1) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.inner-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inner-hero-title,
.page-header h1 {
    display: block;
    max-width: 900px;
    margin: 0 auto 18px;
    color: var(--site-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.045em;
}

.inner-hero-title::after {
    display: none;
}

.page-header .lead {
    max-width: 680px;
    margin: 0 auto;
    color: var(--site-muted);
}

.inner-breadcrumb,
.page-header .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 24px -16px rgba(11, 59, 74, .45);
    font-size: .88rem;
}

.page-header .breadcrumb {
    margin-bottom: 20px;
}

.inner-breadcrumb a,
.page-header .breadcrumb a {
    color: var(--site-muted);
}

.inner-breadcrumb-sep {
    color: var(--site-primary);
    opacity: .6;
}

.inner-breadcrumb,
.page-header .breadcrumb {
    max-width: 100%;
}

.inner-breadcrumb-current,
.page-header .breadcrumb-item.active {
    color: var(--site-primary);
    font-weight: 600;
    max-width: min(50ch, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-header.has-image {
    color: #fff;
}

.page-header.has-image::before {
    z-index: 0;
    background: linear-gradient(140deg, rgba(5, 40, 48, .85), rgba(10, 140, 140, .55));
}

.page-header.has-image .container {
    position: relative;
    z-index: 1;
}

.page-header.has-image h1,
.page-header.has-image .lead {
    color: #fff;
}

.page-header .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* ---------- 17. Footer ---------- */
.site-footer {
    position: relative;
    isolation: isolate;
    margin: 120px clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px);
    border-radius: var(--site-radius-xl);
    background: linear-gradient(170deg, #052830 0%, #073640 60%, #0b3b4a 100%);
    color: rgba(255, 255, 255, .72);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 100%, rgba(10, 140, 140, .45), transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(47, 159, 208, .25), transparent 40%);
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(0deg, #000, transparent 70%);
    mask-image: linear-gradient(0deg, #000, transparent 70%);
}

.footer-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 34px 42px;
    border-radius: var(--site-radius-lg);
    background: var(--site-gradient);
    background-size: 200% 200%;
    box-shadow: 0 30px 60px -30px rgba(10, 140, 140, .9);
}

.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
}

.footer-cta-text {
    color: #fff;
    font-family: var(--site-font-heading);
    font-weight: 600;
    letter-spacing: -.02em;
}

.footer-cta-phone {
    color: #fff;
    font-weight: 600;
}

.footer-cta-phone:hover {
    color: #c8f5ef;
}

.btn-footer-cta {
    padding: 14px 26px;
    background: #fff;
    color: var(--site-primary-dark) !important;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
}

.btn-footer-cta::before {
    background: linear-gradient(100deg, transparent, rgba(10, 140, 140, .2), transparent);
}

.btn-footer-cta:hover {
    background: #fff;
    color: var(--site-primary) !important;
}

.footer-body {
    padding: 10px 0 30px;
    background: none;
}

.footer-logo {
    max-height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform .5s var(--site-ease);
}

.footer-brand:hover .footer-logo {
    transform: scale(1.04);
}

.footer-brand-desc {
    color: rgba(255, 255, 255, .62);
    line-height: 1.75;
}

.footer-col-title {
    color: #fff;
    font-family: var(--site-font-heading);
    font-size: 1.02rem;
    font-weight: 600;
}

.footer-links a {
    color: rgba(255, 255, 255, .65);
}

.footer-links a:hover {
    color: #fff;
}

.footer-help-label {
    color: rgba(255, 255, 255, .5);
}

.footer-help-number {
    color: #fff;
    font-family: var(--site-font-heading);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    transition: background .35s ease, transform .45s var(--site-ease), border-color .35s ease;
}

.social-links a:hover {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #fff;
    transform: translateY(-4px) rotate(-6deg);
}

.footer-newsletter {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: border-color .35s ease, box-shadow .35s ease;
}

.footer-newsletter:focus-within {
    border-color: rgba(143, 240, 228, .6);
    box-shadow: 0 0 0 5px rgba(31, 193, 182, .15);
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #fff;
}

.newsletter-input:focus {
    outline: 0;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.newsletter-btn {
    padding: 10px 18px;
    font-size: .88rem;
    white-space: nowrap;
}

.newsletter-form .small {
    color: rgba(255, 255, 255, .62);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .12);
    opacity: 1;
}

.footer-copy {
    color: rgba(255, 255, 255, .5);
}

/* ---------- 18. Floating decorations ---------- */
.mx-float {
    position: absolute;
    z-index: 0;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    opacity: var(--o, .9);
    pointer-events: none;
    will-change: transform;
}

.mx-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: mx-drift var(--d, 14s) ease-in-out infinite;
    animation-delay: var(--p, 0s);
    filter: drop-shadow(0 16px 18px rgba(11, 59, 74, .16));
}

.hero-section > .container,
.online-learning-section > .container,
.featured-courses-section > .container,
.premium-learning-section > .container,
.pricing-section > .container,
.articles-section > .container,
.trusted-section > .container,
.inner-hero > .container,
.page-header > .container,
.sd-banner > .container {
    position: relative;
    z-index: 1;
}

.mx-sparkle {
    position: absolute;
    z-index: 0;
    left: var(--x);
    top: var(--y);
    color: var(--c, #2f9fd0);
    font-size: var(--fs, 22px);
    font-family: var(--site-font-accent);
    pointer-events: none;
    animation: mx-twinkle 4s ease-in-out infinite;
    animation-delay: var(--p, 0s);
}

@keyframes mx-gradient-pan { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes mx-aurora-a { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(14vw, 10vh) scale(1.2); } }
@keyframes mx-aurora-b { 0% { transform: translate(0, 0) scale(1.1); } 100% { transform: translate(-12vw, 16vh) scale(.9); } }
@keyframes mx-aurora-c { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(16vw, -12vh) scale(1.15); } }
@keyframes mx-drift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, -8deg)); }
    25% { transform: translate3d(12px, -18px, 0) rotate(calc(var(--r, -8deg) + 10deg)); }
    50% { transform: translate3d(-6px, -30px, 0) rotate(calc(var(--r, -8deg) - 6deg)); }
    75% { transform: translate3d(-14px, -10px, 0) rotate(calc(var(--r, -8deg) + 6deg)); }
}
@keyframes mx-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes mx-spin { to { transform: rotate(360deg); } }
@keyframes mx-spin-r { to { rotate: 360deg; } }
@keyframes mx-breathe-s { 0%, 100% { scale: 1; opacity: .5; } 50% { scale: 1.12; opacity: .35; } }
@keyframes mx-morph {
    0%, 100% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
    33% { border-radius: 42% 58% 60% 40% / 46% 58% 42% 54%; }
    66% { border-radius: 50% 50% 38% 62% / 60% 40% 60% 40%; }
}
@keyframes mx-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .7; } }
@keyframes mx-ping { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes mx-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes mx-wiggle { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } }
@keyframes mx-drop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mx-heartbeat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 28% { transform: scale(1.04); } }
@keyframes mx-ekg { 0% { stroke-dashoffset: 220; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -220; } }
@keyframes mx-angle { to { --mx-angle: 360deg; } }
@keyframes mx-twinkle { 0%, 100% { transform: scale(.6) rotate(-10deg); opacity: .3; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }

/* Elements mid-reveal: GSAP owns transform, so CSS transitions pause */
.mx-busy {
    transition: none !important;
}

/* Cards driven by Vanilla-Tilt: the plugin animates transform itself */
.mx-tilt {
    transition-property: box-shadow, background, border-color, color !important;
}

.mx-tilt .js-tilt-glare {
    border-radius: inherit;
}

/* ---------- 18b. Depth: 3D buttons, text, orbs, idle float ---------- */

/* Press-able 3D buttons (solid edge underneath + coloured glow) */
.btn-hero-primary,
.btn-nav-cta,
.btn-explore-courses,
.btn-articles,
.btn-learn-more,
.btn.btn-primary,
.newsletter-btn,
.btn-plan {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        0 4px 0 var(--site-edge),
        0 14px 24px -10px rgba(10, 140, 140, .7);
    transition: background-position .6s var(--site-ease), box-shadow .3s ease, translate .3s var(--site-ease);
}

.btn-hero-primary:hover,
.btn-nav-cta:hover,
.btn-explore-courses:hover,
.btn-articles:hover,
.btn-learn-more:hover,
.btn.btn-primary:hover,
.newsletter-btn:hover,
.btn-plan:hover {
    translate: 0 -2px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .3),
        0 6px 0 var(--site-edge),
        0 22px 30px -12px rgba(10, 140, 140, .8);
}

.btn-hero-primary:active,
.btn-nav-cta:active,
.btn-explore-courses:active,
.btn-articles:active,
.btn-learn-more:active,
.btn.btn-primary:active,
.newsletter-btn:active,
.btn-plan:active {
    translate: 0 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 var(--site-edge), 0 6px 12px -6px rgba(10, 140, 140, .6);
}

.price-card-bottom--dark .btn-plan,
.btn-footer-cta,
.cta-accent .btn-primary,
.cta-gradient .btn-primary,
.cta-dark .btn-primary {
    box-shadow: 0 4px 0 #b9dcda, 0 16px 28px -12px rgba(0, 0, 0, .55);
}

.price-card-bottom--dark .btn-plan:hover,
.btn-footer-cta:hover,
.cta-accent .btn-primary:hover,
.cta-gradient .btn-primary:hover,
.cta-dark .btn-primary:hover {
    background: #fff;
    color: var(--site-primary) !important;
    translate: 0 -2px;
    box-shadow: 0 6px 0 #b9dcda, 0 22px 32px -12px rgba(0, 0, 0, .6);
}

.btn-hero-secondary,
.btn.btn-outline-primary {
    box-shadow: 0 4px 0 #cfe6e4, 0 14px 24px -14px rgba(8, 45, 56, .4);
    transition: border-color .4s var(--site-ease), color .3s, box-shadow .3s ease, background .4s, translate .3s var(--site-ease);
}

.btn-hero-secondary:hover,
.btn.btn-outline-primary:hover {
    translate: 0 -2px;
    box-shadow: 0 6px 0 #cfe6e4, 0 20px 30px -14px rgba(10, 140, 140, .45);
}

/* 3D headline */
.hero-title,
.inner-hero-title,
.page-header h1 {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .9),
        0 2px 0 rgba(10, 140, 140, .1),
        0 4px 0 rgba(10, 140, 140, .06),
        0 18px 30px rgba(8, 45, 56, .16);
}

.mx-accent,
.mx-accent * {
    text-shadow: none;
}

/* Hero photo becomes a 3D stage: orbs float in front, rings behind */
.hero-image-wrapper {
    transform-style: preserve-3d;
}

.hero-image-wrapper .hero-img { translate: 0 0 40px; }
.hero-image-wrapper .hero-arc,
.hero-image-wrapper .mx-ring { translate: 0 0 -60px; }
.hero-image-wrapper .mx-orb { translate: 0 0 110px; }

.mx-orb {
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -8px 16px rgba(10, 140, 140, .12),
        0 24px 40px -18px rgba(8, 45, 56, .45);
}

.mx-orb::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -26px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(8, 45, 56, .32), transparent);
    animation: mx-orb-shadow var(--d, 6s) ease-in-out infinite;
    animation-delay: var(--p, 0s);
}

.mx-float img,
.mx-bg-item img {
    filter: drop-shadow(0 16px 14px rgba(8, 45, 56, .16));
}

/* Idle "breathing" float on key cards (uses the independent `translate`
   property so it stacks with tilt / reveal transforms) */
.stat-item,
.feature-card,
.price-card--featured,
.pl-card-highlight,
.contact-info-card,
.expert-row {
    animation: mx-idle 7s ease-in-out infinite;
}

.stats-section .col-6:nth-child(2) .stat-item,
.online-learning-section .row.g-4 > div:nth-child(2) .feature-card { animation-delay: -1.8s; }
.stats-section .col-6:nth-child(3) .stat-item,
.online-learning-section .row.g-4 > div:nth-child(3) .feature-card { animation-delay: -3.6s; }
.stats-section .col-6:nth-child(4) .stat-item { animation-delay: -5.4s; }

.feature-card:hover,
.stat-item:hover {
    animation-play-state: paused;
}

/* Heartbeat dividers */
.mx-ekg {
    position: relative;
    z-index: 2;
    max-width: var(--site-container);
    height: 80px;
    margin: -40px auto;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.mx-ekg svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mx-ekg path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.mx-ekg-line {
    stroke: var(--site-primary);
    stroke-width: 2.4;
}

.mx-ekg-glow {
    stroke: rgba(31, 193, 182, .18);
    stroke-width: 10;
}

.mx-ekg-dot {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--site-sky);
    box-shadow: 0 0 0 5px rgba(31, 193, 182, .2), 0 0 18px rgba(31, 193, 182, .9);
}

/* Rising particles */
.mx-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.mx-particles span {
    position: absolute;
    left: var(--l);
    bottom: -20px;
    width: var(--sz);
    height: var(--sz);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #fff 0%, rgba(31, 193, 182, .55) 55%, rgba(10, 140, 140, .12) 100%);
    box-shadow: 0 0 12px rgba(31, 193, 182, .35);
    opacity: 0;
    animation: mx-rise var(--t, 12s) linear infinite;
    animation-delay: var(--dl, 0s);
}

.trusted-section .mx-particles span,
.site-footer .mx-particles span {
    background: radial-gradient(circle at 32% 30%, #fff 0%, rgba(143, 240, 228, .6) 55%, rgba(143, 240, 228, .1) 100%);
}

/* Keep real content above decorations */
.contact-section > .container,
.site-footer > .container,
.footer-body,
.footer-bottom,
.ts-brands,
.pl-marquee-wrap,
.footer-cta > *:not(.mx-float) {
    position: relative;
    z-index: 1;
}

@keyframes mx-orb-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.72); opacity: .55; } }
@keyframes mx-idle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes mx-chip-shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes mx-rise {
    0% { transform: translate(0, 0) scale(.6); opacity: 0; }
    12% { opacity: .85; }
    85% { opacity: .5; }
    100% { transform: translate(var(--sw, 0), -720px) scale(1.15); opacity: 0; }
}

/* Off-screen sections: pause every CSS animation inside (motion.js) */
.mx-paused,
.mx-paused *,
.mx-paused::before,
.mx-paused::after,
.mx-paused *::before,
.mx-paused *::after {
    animation-play-state: paused !important;
}

/* ---------- 17b. Footer layout + legibility ---------- */
.footer-body {
    padding: 20px 0 34px;
}

.footer-body .row {
    justify-content: space-between;
    row-gap: 2.5rem;
}

.footer-brand-desc {
    max-width: 300px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .82);
    font-size: .96rem;
}

.footer-col-title {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 1.05rem;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--site-sky);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0 0 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, .86);
    font-size: .96rem;
}

.footer-links a:hover {
    color: var(--site-cyan-accent);
}

.footer-help-label {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
}

.footer-help-number {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-copy {
    margin: 0;
    padding: 4px 0 26px;
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
    text-align: center;
}

.footer-divider {
    margin: 0 0 22px;
}

@media (max-width: 991.98px) {
    .footer-body .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-body .row > [class*="col-"]:first-child {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 90px;
    }

    .footer-cta {
        transform: translateY(-30%);
        text-align: center;
        justify-content: center;
    }

    .footer-cta-text {
        flex-basis: 100%;
    }

    .footer-cta-phone {
        justify-content: center;
        width: 100%;
    }

    .footer-body {
        padding-top: 0;
    }

    .footer-body .row > [class*="col-"]:last-child {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* ---------- 19. Responsive ---------- */

/* Header: full ≥1600px, compact 1200–1599px, hamburger panel <1200px
   (the header uses .navbar-expand-xl). */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .navbar > .container,
    .navbar.scrolled > .container {
        max-width: calc(100% - 24px);
        padding-left: 16px;
        padding-right: 10px;
    }

    .navbar-brand {
        margin-right: .5rem;
    }

    .nav-logo,
    .navbar.scrolled .nav-logo {
        height: 42px;
    }

    .nav-link {
        padding: 8px 11px !important;
        font-size: .9rem;
    }

    /* phone becomes an icon-only button */
    .nav-phone {
        gap: 0;
        margin-right: 2px;
        font-size: 0;
    }

    .nav-student-account {
        padding: 8px 13px;
        font-size: .88rem;
    }

    .btn-nav-cta {
        padding: 10px 16px;
        font-size: .86rem;
    }
}

@media (max-width: 1199.98px) {
    .navbar > .container {
        border-radius: 26px;
        padding: 8px 10px 8px 16px;
    }

    .navbar.scrolled > .container {
        max-width: calc(100% - 20px);
    }

    .navbar-collapse,
    .navbar-collapse.show {
        margin-top: 12px;
        padding: 14px;
        border-radius: 22px;
        border: 1px solid rgba(10, 140, 140, .1);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 24px 50px -24px rgba(11, 59, 74, .4);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .navbar-collapse.show {
        display: block !important;
        height: auto !important;
    }

    .navbar-nav {
        gap: 0;
        padding: 0;
        margin-bottom: 12px !important;
    }

    .navbar-nav .nav-item {
        border-bottom: 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        color: var(--site-heading) !important;
        font-size: 1rem;
        transition: padding-left .3s var(--site-ease), color .3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        padding-left: 22px !important;
        color: var(--site-primary) !important;
    }

    .navbar-collapse .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding-top: 14px;
        border-top: 1px dashed var(--site-border);
    }

    .navbar-collapse .nav-phone {
        display: flex;
        justify-content: center;
        margin: 0;
        font-size: .95rem;
    }

    .navbar-collapse .nav-item.dropdown,
    .navbar-collapse .nav-student-account,
    .navbar-collapse .btn-nav-cta {
        width: 100%;
        justify-content: center;
    }

    .navbar-collapse .dropdown-menu {
        position: static !important;
        transform: none !important;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid var(--site-border);
    }

    .nav-logo,
    .navbar.scrolled .nav-logo {
        height: 44px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 0;
        padding: 20px 0 70px;
        text-align: center;
    }

    .hero-section .hero-subtitle {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 380px;
        margin-bottom: 30px;
    }

    .trusted-section .ts-slider-outer {
        padding: 0 10px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --site-radius-xl: 1.6rem;
    }

    .hero-title {
        letter-spacing: -.035em;
    }

    .mx-orb {
        --s: 64px !important;
    }

    .stat-item {
        padding: 22px 18px;
    }

    .course-filters {
        border-radius: 22px;
    }

    .footer-cta {
        padding: 26px 22px;
        transform: translateY(-40%);
    }

    .pl-marquee-text {
        white-space: normal;
        width: 86%;
        text-align: center;
    }

    .price-card-top,
    .price-card-bottom {
        padding-inline: 22px;
    }

    .mx-totop {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }

    .mx-bg-item:nth-child(n+11) {
        display: none;
    }

    .mx-bg-item,
    .mx-float {
        width: calc(var(--s) * .62);
        height: calc(var(--s) * .62);
    }

    .mx-float {
        opacity: calc(var(--o, .9) * .7);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
