/* Motion layer: percentage preloader, heading word reveal, scroll progress bar.
   All effects are skipped for users who prefer reduced motion. */

/* 1. Percentage preloader (shown once per browser session) */
.mo-preloader { display: none; }
html.has-preloader .mo-preloader {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    background: var(--color-primary-dark); color: var(--color-white);
    transition: transform .7s cubic-bezier(.76, 0, .24, 1);
}
html.has-preloader body { overflow: hidden; }
.mo-preloader__brand { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; font-size: clamp(1.1rem, 2.5vw, 1.5rem); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.mo-preloader__count { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; font-size: clamp(3.5rem, 12vw, 7rem); line-height: 1; font-variant-numeric: tabular-nums; }
.mo-preloader__bar { width: min(18rem, 60vw); height: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; border-radius: 3px; }
.mo-preloader__bar span { display: block; height: 100%; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
html.preloader-done .mo-preloader { transform: translateY(-100%); pointer-events: none; }

/* 2. Heading word-by-word rise (first h1 of each page) */
html.has-motion .mo-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
html.has-motion .mo-word__inner { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--mo-i, 0) * 70ms); }
html.has-motion.motion-ready .mo-word__inner { transform: translateY(0); }

/* 3. Scroll progress bar */
.mo-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; background: transparent; pointer-events: none; }
.mo-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-blue), var(--color-accent)); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* 4. Ambient orbs: continuous, transform-only animation */
.mo-host { position: relative; }
.mo-host, .mo-has-ambient { isolation: isolate; }
.mo-ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mo-ambient i { position: absolute; display: block; border-radius: 50%; will-change: transform; animation: mo-drift 24s ease-in-out infinite alternate; animation-play-state: paused; }
.mo-ambient i:nth-child(1) { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; left: -8%; top: -18%; background: radial-gradient(circle at center, rgba(11, 77, 145, .13), rgba(11, 77, 145, 0) 70%); }
.mo-ambient i:nth-child(2) { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; right: -6%; bottom: -16%; background: radial-gradient(circle at center, rgba(245, 158, 11, .16), rgba(245, 158, 11, 0) 70%); animation-duration: 30s; animation-direction: alternate-reverse; }
.mo-ambient i:nth-child(3) { width: 16vw; height: 16vw; max-width: 220px; max-height: 220px; left: 52%; top: 12%; background: radial-gradient(circle at center, rgba(11, 77, 145, .10), rgba(11, 77, 145, 0) 70%); animation-duration: 18s; animation-name: mo-float; }
.mo-ambient { --mo-shift: calc(var(--mo-n, 0) * -3s); }
.mo-ambient i { animation-delay: var(--mo-shift); }
.is-live > .mo-ambient i { animation-play-state: running; }
@keyframes mo-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(9vw, 6vh, 0) scale(1.18); } }
@keyframes mo-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-5vw, 9vh, 0); } }

/* Soft breathing glow on the main call-to-action buttons */
.hero-actions .btn-primary, .section-final-cta .btn-primary { animation: mo-breathe 3.2s ease-in-out infinite; }
@keyframes mo-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } 50% { box-shadow: 0 0 0 9px rgba(245, 158, 11, .18); } }

/* 5. Stats cards: staggered entrance, floating icons with a soft pulse ring, hover lift */
.trust-stats__item > .trust-stats__icon { position: relative; animation: mo-icon-float 4.5s ease-in-out infinite, mo-ring 3.2s ease-out infinite; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.trust-stats__item:nth-child(1) > .trust-stats__icon { --mo-ring: 242, 155, 56; }
.trust-stats__item:nth-child(2) > .trust-stats__icon { --mo-ring: 105, 111, 222; animation-delay: .6s, .6s; }
.trust-stats__item:nth-child(3) > .trust-stats__icon { --mo-ring: 187, 100, 196; animation-delay: 1.2s, 1.2s; }
.trust-stats__item:nth-child(4) > .trust-stats__icon { --mo-ring: 42, 143, 94; animation-delay: 1.8s, 1.8s; }
.section-trust-stats:not(.is-live) .trust-stats__icon { animation-play-state: paused; }
.trust-stats__item:hover > .trust-stats__icon { transform: scale(1.1) rotate(-6deg); }
html.has-scroll-reveal .section-trust-stats.is-revealed .trust-stats__item { animation: mo-stat-in .8s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-trust-stats.is-revealed .trust-stats__item:nth-child(2) { animation-delay: .14s; }
html.has-scroll-reveal .section-trust-stats.is-revealed .trust-stats__item:nth-child(3) { animation-delay: .28s; }
html.has-scroll-reveal .section-trust-stats.is-revealed .trust-stats__item:nth-child(4) { animation-delay: .42s; }
@keyframes mo-stat-in { from { opacity: 0; transform: translateY(34px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mo-icon-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes mo-ring { 0% { box-shadow: 0 0 0 0 rgba(var(--mo-ring, 20, 100, 165), .38); } 70%, 100% { box-shadow: 0 0 0 16px rgba(var(--mo-ring, 20, 100, 165), 0); } }

/* 6. "Who is Fintax for" cards: staggered entrance, floating icons, rich hover */
.who-fintax__card { position: relative; overflow: hidden; isolation: isolate; }
.who-fintax__card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1; background: linear-gradient(90deg, #F59E0B, #E88700); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.who-fintax__card::after { content: ""; position: absolute; top: -40%; left: -70%; z-index: 0; width: 38%; height: 180%; background: linear-gradient(105deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .24), rgba(255, 255, 255, 0)); transform: translateX(0) rotate(8deg); opacity: 0; pointer-events: none; }
.who-fintax__card > * { position: relative; z-index: 1; }
.who-fintax__icon-tile { animation: mo-tile-float 4.2s ease-in-out infinite; }
.who-fintax__card:nth-child(2) .who-fintax__icon-tile { animation-delay: .5s; }
.who-fintax__card:nth-child(3) .who-fintax__icon-tile { animation-delay: 1s; }
.who-fintax__card:nth-child(4) .who-fintax__icon-tile { animation-delay: 1.5s; }
.who-fintax__card:nth-child(5) .who-fintax__icon-tile { animation-delay: 2s; }
.who-fintax__card:nth-child(6) .who-fintax__icon-tile { animation-delay: 2.5s; }
.who-fintax:not(.is-live) .who-fintax__icon-tile { animation-play-state: paused; }
html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card { animation: mo-card-in .85s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card:nth-child(2) { animation-delay: .1s; }
html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card:nth-child(3) { animation-delay: .2s; }
html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card:nth-child(4) { animation-delay: .3s; }
html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card:nth-child(5) { animation-delay: .4s; }
html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card:nth-child(6) { animation-delay: .5s; }
@media (hover: hover) {
    .who-fintax__card:hover { transform: translateY(-9px); border-color: rgba(245, 158, 11, .6); box-shadow: 0 24px 44px rgba(6, 27, 56, .30), 0 0 0 1px rgba(245, 158, 11, .35); }
    .who-fintax__card:hover::before { transform: scaleX(1); }
    .who-fintax__card:hover::after { animation: mo-shine .95s ease-out; }
    .who-fintax__card:hover .who-fintax__icon-tile { color: var(--color-primary-dark); background: var(--color-accent); box-shadow: 0 8px 20px rgba(245, 158, 11, .45); transform: rotate(-8deg) scale(1.12); }
    .who-fintax__card:hover .who-fintax__icon-tile svg { transform: scale(1.08); }
    .who-fintax__card:hover h3 { color: var(--color-amber-soft); }
}
@keyframes mo-card-in { from { opacity: 0; transform: translateY(44px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes mo-tile-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes mo-shine { 0% { opacity: 0; transform: translateX(0) rotate(8deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(520%) rotate(8deg); } }

/* 7. "Why choose us": staggered entrance, floating images, rich hover on each reason */
.why-fintax__feature { position: relative; isolation: isolate; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.why-fintax__feature::before { content: ""; position: absolute; inset: -.85rem -1.1rem; z-index: -1; border-radius: 18px; background: var(--color-white); box-shadow: 0 14px 30px rgba(10, 42, 82, .12); border-left: 4px solid var(--color-accent); opacity: 0; transform: scale(.97); transition: opacity .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.why-fintax__icon { transition: transform .4s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.why-fintax__feature h3 { transition: color .3s ease; }
.why-fintax__image { animation: mo-img-float 7s ease-in-out infinite; transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease; }
.why-fintax__image--overlap { animation-duration: 8.5s; animation-direction: reverse; }
.why-fintax__image img { transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.why-fintax__dots { animation: mo-dots 6s ease-in-out infinite; }
.section-why:not(.is-live) .why-fintax__image, .section-why:not(.is-live) .why-fintax__dots { animation-play-state: paused; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__eyebrow { animation: mo-rise-in .7s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__heading h2 { animation: mo-rise-in .8s cubic-bezier(.22, 1, .36, 1) .1s backwards; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__feature { animation: mo-slide-in .8s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__feature:nth-child(1) { animation-delay: .25s; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__feature:nth-child(2) { animation-delay: .4s; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__feature:nth-child(3) { animation-delay: .55s; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__image--main { animation: mo-slide-in-right .95s cubic-bezier(.22, 1, .36, 1) .2s backwards, mo-img-float 7s ease-in-out 1.2s infinite; }
html.has-scroll-reveal .section-why.is-revealed .why-fintax__image--overlap { animation: mo-rise-in 1s cubic-bezier(.22, 1, .36, 1) .45s backwards, mo-img-float 8.5s ease-in-out 1.5s infinite reverse; }
@media (hover: hover) {
    .why-fintax__feature:hover { transform: translateX(8px); }
    .why-fintax__feature:hover::before { opacity: 1; transform: scale(1); }
    .why-fintax__feature:hover .why-fintax__icon { transform: scale(1.12) rotate(-8deg); background: var(--color-accent); color: var(--color-primary-dark); box-shadow: 0 8px 18px rgba(245, 158, 11, .4); }
    .why-fintax__feature:hover h3 { color: var(--color-blue); }
    .why-fintax__image:hover { transform: scale(1.04); box-shadow: 0 22px 44px rgba(10, 42, 82, .22); }
    .why-fintax__image:hover img { transform: scale(1.09); }
}

/* 8. Learning journey: content of the active stage animates in; image drifts slowly; tags react to hover.
      Stage visibility and the scroll-pinning are left to the existing CSS/JS. */
.journey__phase::after { content: ""; display: block; width: 3.5rem; height: 3px; margin: .55rem auto 0; border-radius: 3px; background: var(--color-accent); }
.journey__tags li { transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.journey__visual { transition: box-shadow .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.journey__visual img { transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.section-journey.is-live .journey__stage.is-active .journey__phase, .section-journey:not(.is-scroll-driven).is-live .journey__phase { animation: mo-rise-in .7s cubic-bezier(.22, 1, .36, 1) .1s backwards; }
.section-journey.is-live .journey__stage.is-active .journey__phase::after, .section-journey:not(.is-scroll-driven).is-live .journey__phase::after { animation: mo-line-grow .8s cubic-bezier(.22, 1, .36, 1) .45s backwards; }
.section-journey.is-live .journey__stage.is-active h4, .section-journey:not(.is-scroll-driven).is-live .journey__copy h4 { animation: mo-rise-in .7s cubic-bezier(.22, 1, .36, 1) .2s backwards; }
.section-journey.is-live .journey__stage.is-active .journey__copy > p, .section-journey:not(.is-scroll-driven).is-live .journey__copy > p { animation: mo-rise-in .7s cubic-bezier(.22, 1, .36, 1) .3s backwards; }
.section-journey.is-live .journey__stage.is-active .journey__tags li, .section-journey:not(.is-scroll-driven).is-live .journey__tags li { animation: mo-pop-in .6s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.section-journey.is-live .journey__stage.is-active .journey__tags li:nth-child(1), .section-journey:not(.is-scroll-driven).is-live .journey__tags li:nth-child(1) { animation-delay: .45s; }
.section-journey.is-live .journey__stage.is-active .journey__tags li:nth-child(2), .section-journey:not(.is-scroll-driven).is-live .journey__tags li:nth-child(2) { animation-delay: .55s; }
.section-journey.is-live .journey__stage.is-active .journey__tags li:nth-child(3), .section-journey:not(.is-scroll-driven).is-live .journey__tags li:nth-child(3) { animation-delay: .65s; }
.section-journey.is-live .journey__stage.is-active .journey__visual, .section-journey:not(.is-scroll-driven).is-live .journey__visual { animation: mo-visual-in .9s cubic-bezier(.22, 1, .36, 1) .15s backwards; }
.section-journey.is-live .journey__stage.is-active .journey__visual:not(.journey__visual--illustration) img, .section-journey:not(.is-scroll-driven).is-live .journey__visual:not(.journey__visual--illustration) img { animation: mo-kenburns 14s ease-in-out infinite alternate; }
@media (hover: hover) {
    .journey__tags li:hover { transform: translateY(-3px) scale(1.05); background: var(--color-accent); border-color: var(--color-accent); color: var(--color-primary-dark); box-shadow: 0 8px 18px rgba(245, 158, 11, .35); }
    .journey__visual:hover { box-shadow: 0 20px 40px rgba(8, 28, 57, .32); }
    .journey__visual:hover img { transform: scale(1.07); }
}

@keyframes mo-rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes mo-slide-in { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes mo-slide-in-right { from { opacity: 0; transform: translateX(44px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mo-img-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes mo-dots { 0%, 100% { opacity: .22; } 50% { opacity: .45; } }
@keyframes mo-line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mo-pop-in { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes mo-visual-in { from { opacity: 0; transform: translateX(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mo-kenburns { from { scale: 1; } to { scale: 1.09; } }

/* 9. Section headings: words rise in as the heading scrolls into view */
.mo-h2 .mo-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.mo-h2 .mo-w__i { display: inline-block; transform: translateY(115%); transition: transform .85s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--mo-i, 0) * 55ms); }
.mo-h2.is-in .mo-w__i { transform: none; }

/* 10. Core Courses: entrance, filter chips, card swap animation, image drift, hover */
html.has-scroll-reveal .section-courses.is-revealed .core-courses__eyebrow { animation: mo-rise-in .7s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__heading > p:last-child { animation: mo-rise-in .8s cubic-bezier(.22, 1, .36, 1) .2s backwards; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter { animation: mo-pop-in .6s cubic-bezier(.34, 1.56, .64, 1) backwards; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(1) { animation-delay: 0.295s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(2) { animation-delay: 0.340s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(3) { animation-delay: 0.385s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(4) { animation-delay: 0.430s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(5) { animation-delay: 0.475s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(6) { animation-delay: 0.520s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(7) { animation-delay: 0.565s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(8) { animation-delay: 0.610s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(9) { animation-delay: 0.655s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(10) { animation-delay: 0.700s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(11) { animation-delay: 0.745s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(12) { animation-delay: 0.790s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(13) { animation-delay: 0.835s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(14) { animation-delay: 0.880s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(15) { animation-delay: 0.925s; }
html.has-scroll-reveal .section-courses.is-revealed .core-courses__filter:nth-child(16) { animation-delay: 0.970s; }
.core-courses__filter[aria-pressed="true"] { animation: mo-ring-blue 2.8s ease-out infinite; }
.section-courses:not(.is-live) .core-courses__filter[aria-pressed="true"] { animation-play-state: paused; }
.core-courses__card { animation: mo-card-swap .7s cubic-bezier(.22, 1, .36, 1); transition: box-shadow .4s ease, border-color .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1); }
.core-courses__card .core-courses__visual img { animation: mo-img-settle 1.2s cubic-bezier(.22, 1, .36, 1), mo-kenburns 16s ease-in-out 1.2s infinite alternate; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.section-courses:not(.is-live) .core-courses__visual img { animation-play-state: paused; }
.core-courses__card .core-courses__card-copy > * { animation: mo-rise-in .7s cubic-bezier(.22, 1, .36, 1) backwards; }
.core-courses__card .core-courses__card-copy > :nth-child(1) { animation-delay: 0.12s; }
.core-courses__card .core-courses__card-copy > :nth-child(2) { animation-delay: 0.19s; }
.core-courses__card .core-courses__card-copy > :nth-child(3) { animation-delay: 0.26s; }
.core-courses__card .core-courses__card-copy > :nth-child(4) { animation-delay: 0.33s; }
.core-courses__card .core-courses__card-copy > :nth-child(5) { animation-delay: 0.40s; }
.core-courses__card .core-courses__card-copy > :nth-child(6) { animation-delay: 0.47s; }
.core-courses__card .core-courses__card-copy > :nth-child(7) { animation-delay: 0.54s; }
.core-courses__card .core-courses__card-copy > :nth-child(8) { animation-delay: 0.61s; }
.core-courses__card .core-courses__card-copy > :nth-child(9) { animation-delay: 0.68s; }
.core-courses__badges li { transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, background-color .3s ease; }
.core-courses__course-link span, .core-courses__related-action span { display: inline-block; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
    .core-courses__filter:hover:not([aria-pressed="true"]) { transform: translateY(-3px) scale(1.04); }
    .core-courses__card:hover { transform: translateY(-6px); border-color: rgba(245, 158, 11, .55); box-shadow: 0 26px 52px rgba(7, 54, 106, .16); }
    .core-courses__card:hover .core-courses__visual img { transform: scale(1.06); }
    .core-courses__badges li:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(10, 42, 82, .14); }
    .core-courses__course-link:hover span, .core-courses__related-link:hover .core-courses__related-action span { transform: translateX(6px); }
}

/* 11. What You Will Practice: staggered entrance, pulsing icons, lively hover */
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__heading > p { animation: mo-rise-in .8s cubic-bezier(.22, 1, .36, 1) .2s backwards; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li { animation: mo-card-in .8s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(1) { animation-delay: 0.15s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(2) { animation-delay: 0.24s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(3) { animation-delay: 0.33s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(4) { animation-delay: 0.42s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(5) { animation-delay: 0.51s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(6) { animation-delay: 0.60s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(7) { animation-delay: 0.69s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(8) { animation-delay: 0.78s; }
html.has-scroll-reveal .section-practice.is-revealed .practice-workbench__cards > li:nth-child(9) { animation-delay: 0.87s; }
.practice-card { overflow: hidden; transition: transform .4s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .4s ease, background-color .3s ease; }
.practice-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-blue), var(--color-accent)); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.practice-card__icon { animation: mo-icon-float 4.2s ease-in-out infinite, mo-ring 3.2s ease-out infinite; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.practice-workbench__cards > li:nth-child(6n + 1) .practice-card__icon { --mo-ring: 11, 77, 145; animation-delay: 0.0s, 0.0s; }
.practice-workbench__cards > li:nth-child(6n + 2) .practice-card__icon { --mo-ring: 195, 66, 112; animation-delay: 0.5s, 0.5s; }
.practice-workbench__cards > li:nth-child(6n + 3) .practice-card__icon { --mo-ring: 112, 76, 195; animation-delay: 1.0s, 1.0s; }
.practice-workbench__cards > li:nth-child(6n + 4) .practice-card__icon { --mo-ring: 33, 132, 91; animation-delay: 1.5s, 1.5s; }
.practice-workbench__cards > li:nth-child(6n + 5) .practice-card__icon { --mo-ring: 201, 106, 18; animation-delay: 2.0s, 2.0s; }
.practice-workbench__cards > li:nth-child(6n + 0) .practice-card__icon { --mo-ring: 11, 130, 135; animation-delay: 2.5s, 2.5s; }
.section-practice:not(.is-live) .practice-card__icon { animation-play-state: paused; }
.practice-card__title { transition: color .3s ease; }
@media (hover: hover) and (pointer: fine) {
    .practice-card:hover { transform: translateY(-8px); border-color: rgba(245, 158, 11, .6); box-shadow: 0 22px 40px rgba(7, 54, 106, .16); background: var(--color-accent-light); }
    .practice-card:hover::before { transform: scaleX(1); }
    .practice-card:hover .practice-card__icon { transform: rotate(360deg) scale(1.12); }
    .practice-card:hover .practice-card__title { color: var(--color-primary); }
}

@keyframes mo-card-swap { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes mo-img-settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes mo-ring-blue { 0% { box-shadow: 0 0 0 0 rgba(11, 77, 145, .4); } 70%, 100% { box-shadow: 0 0 0 12px rgba(11, 77, 145, 0); } }

/* 12. Our Expert Trainers: heading animation, entrance, hover, autoplay toggle */
.trainer-section__heading h2.mo-h2::after { content: ""; display: block; width: 4.5rem; height: 4px; margin: .9rem auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--color-blue), var(--color-accent)); transform: scaleX(0); transition: transform .9s cubic-bezier(.22, 1, .36, 1) .55s; }
.trainer-section__heading h2.mo-h2.is-in::after { transform: scaleX(1); }
html.has-scroll-reveal .section-trainers.is-revealed .trainer-section__eyebrow { animation: mo-eyebrow 1s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-trainers.is-revealed .trainer-section__heading > p:last-child { animation: mo-rise-in .8s cubic-bezier(.22, 1, .36, 1) .3s backwards; }
html.has-scroll-reveal .section-trainers.is-revealed .trainer-carousel__slide { animation: mo-card-in .8s cubic-bezier(.22, 1, .36, 1) backwards; }
html.has-scroll-reveal .section-trainers.is-revealed .trainer-carousel__slide:nth-child(2) { animation-delay: .12s; }
html.has-scroll-reveal .section-trainers.is-revealed .trainer-carousel__slide:nth-child(3) { animation-delay: .24s; }
html.has-scroll-reveal .section-trainers.is-revealed .trainer-carousel__slide:nth-child(n + 4) { animation-delay: .36s; }
.trainer-card { transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease, border-color .3s ease; }
.trainer-card__photo img { transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.trainer-carousel__toggle[aria-label^="Pause"] svg { stroke-width: 2.4; }
.trainer-carousel.is-paused .trainer-carousel__toggle { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-primary-dark); }
@media (hover: hover) {
    .trainer-card:hover { transform: translateY(-8px); border-color: rgba(245, 158, 11, .6); box-shadow: 0 24px 44px rgba(10, 42, 82, .18); }
    .trainer-card:hover .trainer-card__photo img { transform: scale(1.07); }
}
@keyframes mo-eyebrow { from { opacity: 0; letter-spacing: .4em; } to { opacity: 1; letter-spacing: .12em; } }

@media (prefers-reduced-motion: reduce) {
    .trust-stats__item > .trust-stats__icon, html.has-scroll-reveal .section-trust-stats.is-revealed .trust-stats__item { animation: none !important; }
    .who-fintax__icon-tile, html.has-scroll-reveal .who-fintax.is-revealed .who-fintax__card, .who-fintax__card:hover::after { animation: none !important; }
    .core-courses__card, .core-courses__card .core-courses__visual img, .core-courses__card .core-courses__card-copy > *, .core-courses__filter, .core-courses__eyebrow, .core-courses__heading > p:last-child,
    .practice-card__icon, .practice-workbench__cards > li, .practice-workbench__heading > p { animation: none !important; }
    .mo-h2 .mo-w__i { transform: none !important; transition: none !important; }
    .core-courses__card:hover, .core-courses__card:hover .core-courses__visual img, .practice-card:hover, .practice-card:hover .practice-card__icon, .core-courses__filter:hover { transform: none !important; }
    .trainer-section__eyebrow, .trainer-section__heading > p:last-child, .trainer-carousel__slide { animation: none !important; }
    .trainer-card:hover, .trainer-card:hover .trainer-card__photo img { transform: none !important; }
    .who-fintax__card:hover { transform: none; }
    .why-fintax__image, .why-fintax__dots, .why-fintax__feature, .why-fintax__eyebrow, .why-fintax__heading h2,
    html.has-scroll-reveal .section-why.is-revealed .why-fintax__image--main, html.has-scroll-reveal .section-why.is-revealed .why-fintax__image--overlap,
    .journey__phase, .journey__phase::after, .journey__copy h4, .journey__copy > p, .journey__tags li, .journey__visual, .journey__visual img { animation: none !important; }
    .why-fintax__feature:hover, .why-fintax__image:hover, .why-fintax__image:hover img, .journey__visual:hover img, .journey__tags li:hover { transform: none; }
    .who-fintax__card::before { transition: none; }
    .mo-ambient { display: none !important; }
    .hero-actions .btn-primary, .section-final-cta .btn-primary { animation: none; }
    .mo-preloader, .mo-progress { display: none !important; }
    html.has-motion .mo-word__inner { transform: none; transition: none; }
}

/* Poster (portrait) course images: poori image dikhao, crop nahi */
body .cd-hero__media img { aspect-ratio: auto; max-height: 34rem; object-fit: contain; animation: none; background: #fff; }
body .core-courses__visual img { object-fit: contain; }
body .courses-page .course-card__image { object-fit: contain; background: #fff; }
