/* Fantel marketing homepage — extends brand.css tokens */

[x-cloak] {
    display: none !important;
}

.rt-body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--rt-text);
    background: var(--rt-white);
}

.rt-site-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.rt-site-main {
    flex: 1 0 auto;
    width: 100%;
}

.rt-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rt-skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 200;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0.625rem 1rem;
    border-radius: var(--rt-radius-sm);
    background: var(--rt-blue);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(46, 49, 146, 0.2);
}

.rt-site-flash {
    padding-top: 1rem;
}

.rt-site-flash__alert {
    border-radius: 12px;
}

.rt-body--portal .rt-site-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

/* —— Header —— */
.rt-header--tiered {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--rt-white);
    box-shadow: 0 4px 24px rgba(46, 49, 146, 0.08);
    overflow: visible;
}

.rt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rt-border);
    box-shadow: 0 1px 0 rgba(46, 49, 146, 0.04);
    overflow: visible;
}

/* Top utility bar */
.rt-topbar {
    display: none;
    align-items: stretch;
    min-height: 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) {
    .rt-topbar {
        display: flex;
    }
}

.rt-topbar__left,
.rt-topbar__right {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.rt-topbar__left {
    flex: 1 1 58%;
    background: var(--rt-blue);
    clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
    padding-right: 1.5rem;
}

.rt-topbar__right {
    flex: 1 1 42%;
    background: var(--rt-blue-dark);
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -28px;
    padding-left: calc(1.5rem + 28px);
}

.rt-topbar__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
}

.rt-topbar__left .rt-topbar__inner {
    margin-left: 0;
    margin-right: auto;
    padding-right: 2rem;
}

.rt-topbar__right .rt-topbar__inner {
    margin-left: auto;
    margin-right: 0;
    justify-content: flex-end;
}

.rt-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.rt-topbar__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.rt-topbar__link:hover {
    color: var(--rt-orange);
}

.rt-topbar__divider {
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 0.35rem;
}

.rt-topbar__social {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.rt-topbar__social-link {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease, transform 0.2s ease;
}

.rt-topbar__social-link:hover {
    color: var(--rt-orange);
    transform: translateY(-1px);
}

.rt-topbar__rc {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.rt-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Main navigation row */
.rt-header-main {
    display: flex;
    align-items: stretch;
    background: var(--rt-white);
    border-bottom: 1px solid var(--rt-border-light);
    min-height: 4.75rem;
}

.rt-header-main__inner {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.65rem 0 0.65rem 1.25rem;
    min-width: 0;
    overflow: visible;
}

.rt-header--tiered .rt-header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.rt-header-utils {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.rt-header-cta {
    position: relative;
    display: none;
    align-items: center;
    flex-shrink: 0;
    padding: 0 1.5rem 0 2.5rem;
    min-width: 12rem;
}

@media (min-width: 1024px) {
    .rt-header-cta {
        display: flex;
    }
}

.rt-header-cta__slant {
    position: absolute;
    inset: 0;
    left: 0;
    background: linear-gradient(135deg, var(--rt-blue) 0%, var(--rt-blue-mid) 45%, var(--rt-orange) 100%);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.rt-header-cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rt-header-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.15rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    text-decoration: none;
    white-space: nowrap;
    background: var(--rt-white);
    border: none;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.rt-header-cta__btn:hover {
    color: var(--rt-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.rt-header-cta__btn--ghost {
    background: transparent;
    color: #fff;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.rt-header-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
}

.rt-header--tiered .rt-nav-link.is-active,
.rt-header--tiered .rt-nav-link:hover {
    background: transparent;
}

.rt-header--tiered .rt-nav-link.is-active {
    color: var(--rt-blue);
    position: relative;
}

.rt-header--tiered .rt-nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.15rem;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--rt-blue) 0%, var(--rt-blue) 72%, var(--rt-orange) 72%, var(--rt-orange) 100%);
}

.rt-header--menu-open,
.rt-header:has(.rt-nav-item--mega.is-open) {
    z-index: 150;
}

.rt-header-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    min-height: 4.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1.25rem;
    overflow: visible;
}

.rt-header-brand {
    flex-shrink: 0;
    min-width: 0;
}

.rt-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.rt-brand-logo__img {
    display: block;
    height: auto;
    width: auto;
    object-fit: contain;
}

.rt-brand-logo--nav .rt-brand-logo__img {
    height: 3.25rem;
    max-width: 11.5rem;
}

.rt-brand-logo--footer .rt-brand-logo__img {
    height: 6.25rem;
    max-width: 20rem;
}

.rt-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--rt-blue-dark);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.rt-logo-icon {
    display: none;
}

.rt-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    min-width: 0;
    overflow: visible;
}

@media (min-width: 1024px) {
    .rt-nav {
        display: flex;
    }
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .rt-nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.8125rem;
    }
}

.rt-logo--breathe .rt-brand-logo__img,
.rt-header-brand .rt-brand-logo__img {
    animation: rt-logo-breathe 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transform-origin: center left;
    will-change: transform, filter;
}

@keyframes rt-logo-breathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(24, 102, 180, 0));
    }
    50% {
        transform: scale(1.035);
        filter: drop-shadow(0 4px 14px rgba(24, 102, 180, 0.18));
    }
}

.rt-nav-item {
    position: static;
}

@media (min-width: 1024px) {
    .rt-nav-item--mega {
        position: relative;
        z-index: 120;
    }

    .rt-header:has(.rt-nav-item--mega:hover),
    .rt-header:has(.rt-nav-item--mega:focus-within) {
        z-index: 220;
    }

    .rt-nav-item--mega .rt-mega {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(-8px);
        transition:
            opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.24s ease;
    }

    .rt-nav-item--mega .rt-mega--align-start {
        transform: translateY(-8px);
    }

    .rt-nav-item--mega:hover .rt-mega,
    .rt-nav-item--mega:focus-within .rt-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .rt-nav-item--mega:hover .rt-mega--align-start,
    .rt-nav-item--mega:focus-within .rt-mega--align-start {
        transform: translateY(0);
    }

    .rt-nav-item--mega:hover .rt-nav-link__chevron,
    .rt-nav-item--mega:focus-within .rt-nav-link__chevron {
        transform: rotate(180deg);
        opacity: 1;
    }

    .rt-nav-item--mega:hover .rt-nav-link--mega,
    .rt-nav-item--mega:focus-within .rt-nav-link--mega {
        color: var(--rt-blue-dark);
        background: var(--rt-blue-light);
    }
}

.rt-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: var(--rt-radius-sm);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.rt-nav-link__chevron {
    flex-shrink: 0;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    opacity: 0.55;
}

.rt-nav-link--mega.is-active .rt-nav-link__chevron,
.rt-nav-item--mega.is-open .rt-nav-link__chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.rt-nav-link:hover,
.rt-nav-link.is-active {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
}

.rt-nav-item--mega.is-open .rt-nav-link--mega {
    color: var(--rt-blue-dark);
    background: var(--rt-blue-light);
}

/* —— Mega menus (Programs, Faculties) —— */
.rt-mega {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 50%;
    z-index: 200;
    width: min(840px, calc(100vw - 2.5rem));
    margin-left: 0;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--rt-border);
    border-radius: 16px;
    box-shadow:
        0 8px 16px rgba(46, 49, 146, 0.06),
        0 24px 48px rgba(46, 49, 146, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    pointer-events: auto;
}

.rt-mega-enter {
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-mega-enter-from,
.rt-mega-leave-to {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
}

.rt-mega-enter-to,
.rt-mega-leave-from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.rt-mega-leave {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

@media (min-width: 1024px) {
    .rt-nav-item--mega:hover .rt-mega-link,
    .rt-nav-item--mega:focus-within .rt-mega-link {
        animation: rt-mega-item-in 0.38s cubic-bezier(0.16, 1, 0.3, 1) backwards;
        animation-delay: calc(var(--mega-i, 0) * 35ms + 60ms);
    }
}

@media (max-width: 1023px) {
    .rt-mega {
        display: none !important;
    }
}

.rt-mega--compact {
    width: min(560px, calc(100vw - 2.5rem));
}

.rt-mega--align-start {
    left: 0;
    right: auto;
    transform: none;
    width: min(840px, calc(100vw - 2.5rem));
}

.rt-mega--align-start.rt-mega-enter-from,
.rt-mega--align-start.rt-mega-leave-to {
    transform: translateY(-8px);
}

.rt-mega--align-start.rt-mega-enter-to,
.rt-mega--align-start.rt-mega-leave-from {
    transform: translateY(0);
}

.rt-mega::before {
    content: '';
    position: absolute;
    top: -0.85rem;
    left: 0;
    right: 0;
    height: 0.85rem;
}

.rt-mega-head {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--rt-border-light);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.rt-mega-head strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--rt-blue-dark);
    letter-spacing: -0.02em;
}

.rt-mega-head span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: var(--rt-slate);
}

.rt-mega-body {
    padding: 1rem 1.25rem;
}

.rt-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
}

@media (max-width: 720px) {
    .rt-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rt-mega-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--rt-text);
    transition: background 0.22s ease, transform 0.22s ease;
    min-width: 0;
}

.rt-mega-link:hover {
    background: var(--rt-blue-light);
    transform: translateY(-1px);
}

.rt-mega-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 3px 10px rgba(46, 49, 146, 0.12);
}

.rt-mega-icon[data-accent="blue"] { background: linear-gradient(135deg, #0D2C6B, #0D2C6B); }
.rt-mega-icon[data-accent="indigo"] { background: linear-gradient(135deg, #0D2C6B, #0D2C6B); }
.rt-mega-icon[data-accent="violet"] { background: linear-gradient(135deg, #00AEEF, #0077ad); }
.rt-mega-icon[data-accent="sky"] { background: linear-gradient(135deg, #2dbdf1, #0095d9); }
.rt-mega-icon[data-accent="emerald"] { background: linear-gradient(135deg, #0095d9, #005e88); }
.rt-mega-icon[data-accent="amber"] { background: linear-gradient(135deg, #5BCFF5, #00AEEF); }
.rt-mega-icon[data-accent="rose"] { background: linear-gradient(135deg, #252880, #0D2C6B); }
.rt-mega-icon[data-accent="slate"] { background: linear-gradient(135deg, #475569, #334155); }
.rt-mega-icon[data-accent="teal"] { background: linear-gradient(135deg, #00AEEF, #0095d9); }

.rt-mega-link__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rt-mega-link__text strong {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    line-height: 1.35;
}

.rt-mega-link__text small {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--rt-slate);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rt-mega-foot {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--rt-border-light);
    background: rgba(248, 250, 252, 0.9);
}

.rt-mega-foot__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.rt-mega-foot__link:hover {
    color: var(--rt-orange);
    gap: 0.55rem;
}

.rt-mega-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@keyframes rt-mega-item-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-header-brand .rt-brand-logo__img,
    .rt-logo--breathe .rt-brand-logo__img,
    .rt-mega-link {
        animation: none;
    }

    .rt-mega {
        transition: none;
    }
}

.rt-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .rt-header-main__inner {
        grid-template-columns: 1fr auto;
    }

    .rt-nav {
        display: none !important;
    }

    .rt-header-utils .rt-search-btn,
    .rt-header-utils .rt-lang {
        display: none !important;
    }

    .rt-header--menu-open .rt-header-main__inner {
        min-height: 4.25rem;
    }
}

@media (min-width: 768px) {
    .rt-header-actions {
        gap: 0.75rem;
    }
}

.rt-lang {
    position: relative;
}

.rt-lang__trigger {
    display: none;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    color: #64748b;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--rt-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.rt-lang__trigger:hover,
.rt-lang__trigger[aria-expanded='true'] {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
    border-color: rgba(24, 102, 180, 0.12);
}

.rt-lang__code {
    line-height: 1;
}

.rt-lang__panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 220;
    width: min(18rem, calc(100vw - 2rem));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--rt-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(46, 49, 146, 0.14);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.rt-lang-enter {
    transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-lang-enter-from,
.rt-lang-leave-to {
    opacity: 0;
    transform: translateY(-6px);
}

.rt-lang-enter-to,
.rt-lang-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.rt-lang-leave {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.rt-lang__head {
    padding: 0.85rem 1rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rt-muted);
    border-bottom: 1px solid var(--rt-border-light);
    background: rgba(248, 250, 252, 0.95);
}

.rt-lang__list {
    max-height: 18rem;
    overflow-y: auto;
    padding: 0.35rem;
}

.rt-lang__form {
    margin: 0;
}

.rt-lang__option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease;
}

.rt-lang__option:hover,
.rt-lang__option.is-active {
    background: var(--rt-blue-light);
}

.rt-lang__native {
    min-width: 4.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
}

.rt-lang__name {
    flex: 1;
    font-size: 0.75rem;
    color: var(--rt-slate);
}

.rt-lang__check {
    flex-shrink: 0;
    color: var(--rt-orange);
}

.rt-mobile-lang {
    padding: 0.35rem 0 0.75rem;
    border-bottom: 1px solid var(--rt-border-light);
    margin-bottom: 0.35rem;
}

.rt-mobile-lang .rt-lang__trigger {
    display: inline-flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0.85rem;
}

.rt-mobile-lang .rt-lang__panel {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
}

.rt-lang__search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0.65rem 0.35rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--rt-border);
    border-radius: 10px;
    background: #fff;
    color: var(--rt-muted);
}

.rt-lang__search {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--rt-text);
    outline: none;
}

.rt-lang__search::placeholder {
    color: var(--rt-muted);
}

@media (min-width: 1024px) {
    .rt-lang__trigger {
        display: inline-flex;
    }
}

[dir='rtl'] .rt-lang__panel {
    right: auto;
    left: 0;
}

[dir='rtl'] .rt-lang__option {
    text-align: right;
}

[dir='rtl'] .rt-mega-link,
[dir='rtl'] .rt-mobile-program-link {
    flex-direction: row-reverse;
}

[dir='rtl'] .rt-nav-link__chevron {
    transform: scaleX(-1);
}

[dir='rtl'] .rt-nav-item--mega.is-open .rt-nav-link__chevron {
    transform: scaleX(-1) rotate(180deg);
}

.rt-search-btn {
    display: none;
    padding: 0.5rem;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--rt-radius-sm);
    transition: color 0.15s, background 0.15s;
}

.rt-search-btn:hover {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
}

@media (min-width: 768px) {
    .rt-search-btn {
        display: flex;
    }
}

.rt-btn-ghost {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rt-blue);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: color 0.15s;
}

.rt-btn-ghost:hover {
    color: var(--rt-blue-dark);
}

.rt-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--rt-orange);
    border: none;
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.28);
}

.rt-btn-primary:hover {
    color: #fff;
    background: var(--rt-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.35);
}

.rt-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.rt-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.rt-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rt-blue-dark);
    background: #fff;
    border: none;
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(46, 49, 146, 0.12);
}

.rt-btn-white:hover {
    color: var(--rt-blue-dark);
    transform: translateY(-1px);
}

.rt-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.rt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* —— Home page button breathing —— */
@keyframes rt-home-breathe-primary {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 2px 8px rgba(0, 174, 239, 0.28),
            0 0 0 0 rgba(0, 174, 239, 0.24);
    }
    50% {
        transform: scale(1.028);
        box-shadow:
            0 6px 22px rgba(0, 174, 239, 0.44),
            0 0 0 10px rgba(0, 174, 239, 0);
    }
}

@keyframes rt-home-breathe-outline {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0.18),
            inset 0 0 0 1px rgba(255, 255, 255, 0.72);
        border-color: rgba(255, 255, 255, 0.88);
    }
    50% {
        box-shadow:
            0 0 0 9px rgba(255, 255, 255, 0),
            inset 0 0 0 1px rgba(255, 255, 255, 1);
        border-color: rgba(255, 255, 255, 1);
    }
}

@keyframes rt-home-breathe-white {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 2px 12px rgba(46, 49, 146, 0.12),
            0 0 0 0 rgba(24, 102, 180, 0.16);
    }
    50% {
        transform: scale(1.024);
        box-shadow:
            0 8px 24px rgba(46, 49, 146, 0.18),
            0 0 0 8px rgba(24, 102, 180, 0);
    }
}

@keyframes rt-home-breathe-arrow {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0.14),
            inset 0 0 0 1px rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.08);
    }
    50% {
        box-shadow:
            0 0 0 11px rgba(255, 255, 255, 0),
            0 6px 20px rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.16);
    }
}

@keyframes rt-home-breathe-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0);
        opacity: 0.72;
    }
    50% {
        box-shadow: 0 0 0 5px rgba(0, 174, 239, 0.18);
        opacity: 1;
    }
}

@keyframes rt-home-breathe-dot-active {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(0, 174, 239, 0.35),
            0 2px 8px rgba(0, 174, 239, 0.28);
    }
    50% {
        box-shadow:
            0 0 0 8px rgba(0, 174, 239, 0),
            0 4px 14px rgba(0, 174, 239, 0.42);
    }
}

.rt-home-page .rt-btn-primary {
    animation: rt-home-breathe-primary 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0s);
    will-change: transform, box-shadow;
}

.rt-home-page .rt-hero .rt-btn-outline {
    animation: rt-home-breathe-outline 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0.45s);
}

.rt-home-page .rt-cta-section .rt-btn-white {
    animation: rt-home-breathe-white 3.7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0.35s);
}

.rt-home-page .rt-hero-arrow {
    animation: rt-home-breathe-arrow 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.rt-home-page .rt-hero-arrow--prev {
    animation-delay: 0.2s;
}

.rt-home-page .rt-hero-arrow--next {
    animation-delay: 0.65s;
}

.rt-home-page .rt-hero-dot {
    animation: rt-home-breathe-dot 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.rt-home-page .rt-hero-dot:nth-child(2) { animation-delay: 0.35s; }
.rt-home-page .rt-hero-dot:nth-child(3) { animation-delay: 0.7s; }
.rt-home-page .rt-hero-dot:nth-child(4) { animation-delay: 1.05s; }

.rt-home-page .rt-hero-dot.is-active {
    animation-name: rt-home-breathe-dot-active;
    animation-duration: 3.2s;
}

.rt-home-page .rt-hero-cta .rt-btn-primary:nth-child(1) { --btn-breathe-delay: 0s; }
.rt-home-page .rt-hero-cta .rt-btn-outline:nth-child(2) { --btn-breathe-delay: 0.55s; }
.rt-home-page .rt-cta-panel__action .rt-btn-primary { --btn-breathe-delay: 0s; }
.rt-home-page .rt-cta-panel__action .rt-btn-white { --btn-breathe-delay: 0.5s; }
.rt-home-page .rt-header .rt-btn-primary { --btn-breathe-delay: 0.25s; }

.rt-home-page .rt-btn-primary:hover,
.rt-home-page .rt-btn-primary:focus-visible,
.rt-home-page .rt-btn-outline:hover,
.rt-home-page .rt-btn-outline:focus-visible,
.rt-home-page .rt-btn-white:hover,
.rt-home-page .rt-btn-white:focus-visible,
.rt-home-page .rt-hero-arrow:hover,
.rt-home-page .rt-hero-arrow:focus-visible {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .rt-home-page .rt-btn-primary,
    .rt-home-page .rt-hero .rt-btn-outline,
    .rt-home-page .rt-cta-section .rt-btn-white,
    .rt-home-page .rt-hero-arrow,
    .rt-home-page .rt-hero-dot {
        animation: none;
    }
}

.rt-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    border-radius: var(--rt-radius-sm);
    transition: color 0.15s, background 0.15s;
}

.rt-mobile-toggle:hover {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
}

@media (min-width: 1024px) {
    .rt-mobile-toggle {
        display: none;
    }
}

.rt-body--nav-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .rt-body--nav-open {
        overflow: auto;
    }
}

.rt-mobile-menu {
    border-top: 1px solid var(--rt-border);
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--rt-white);
    box-shadow: inset 0 1px 0 rgba(46, 49, 146, 0.04);
    max-height: calc(100dvh - 4.25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Mobile drawer open/close animation */
.rt-mobile-menu--enter {
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-mobile-menu--enter-start {
    opacity: 0;
    transform: translateY(-12px);
}

.rt-mobile-menu--enter-end {
    opacity: 1;
    transform: translateY(0);
}

.rt-mobile-menu--leave {
    transition: opacity 0.2s ease, transform 0.22s ease;
}

.rt-mobile-menu--leave-start {
    opacity: 1;
    transform: translateY(0);
}

.rt-mobile-menu--leave-end {
    opacity: 0;
    transform: translateY(-8px);
}

/* Staggered reveal of nav rows when the drawer opens */
.rt-mobile-menu--enter-end .rt-mobile-menu__nav > *,
.rt-mobile-menu[style*="opacity: 1"] .rt-mobile-menu__nav > * {
    animation: rt-mobile-item-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.rt-mobile-menu__nav > *:nth-child(1) { animation-delay: 0.04s; }
.rt-mobile-menu__nav > *:nth-child(2) { animation-delay: 0.08s; }
.rt-mobile-menu__nav > *:nth-child(3) { animation-delay: 0.12s; }
.rt-mobile-menu__nav > *:nth-child(4) { animation-delay: 0.16s; }
.rt-mobile-menu__nav > *:nth-child(5) { animation-delay: 0.2s; }
.rt-mobile-menu__nav > *:nth-child(6) { animation-delay: 0.24s; }
.rt-mobile-menu__nav > *:nth-child(7) { animation-delay: 0.28s; }
.rt-mobile-menu__nav > *:nth-child(8) { animation-delay: 0.32s; }

@keyframes rt-mobile-item-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-mobile-menu--enter,
    .rt-mobile-menu--leave,
    .rt-mobile-menu__nav > * {
        transition: none !important;
        animation: none !important;
    }
}

.rt-mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.rt-mobile-nav-item {
    position: relative;
}

.rt-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    border-bottom: 1px solid var(--rt-border-light);
    transition: color 0.15s ease;
}

.rt-mobile-nav-link:hover,
.rt-mobile-nav-link.is-active {
    color: var(--rt-blue);
}

.rt-mobile-nav-link__chevron {
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.rt-mobile-nav-item.is-open .rt-mobile-nav-link__chevron,
.rt-mobile-nav-link.is-active .rt-mobile-nav-link__chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.rt-mobile-submenu {
    padding: 0.35rem 0 0.65rem 0.85rem;
    margin: 0 0 0.25rem 0.35rem;
    border-left: 2px solid var(--rt-border-light);
    border-bottom: 1px solid var(--rt-border-light);
}

.rt-mobile-submenu__head {
    padding: 0.35rem 0.85rem 0.65rem 0;
}

.rt-mobile-submenu__head strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--rt-blue-dark);
}

.rt-mobile-submenu__head span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.6875rem;
    color: var(--rt-slate);
}

.rt-mobile-submenu-enter {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.rt-mobile-submenu-enter-from,
.rt-mobile-submenu-leave-to {
    opacity: 0;
    transform: translateY(-6px);
}

.rt-mobile-submenu-enter-to,
.rt-mobile-submenu-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.rt-mobile-submenu-leave {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.rt-mobile-menu__footer {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--rt-border-light);
}

.rt-mobile-menu__programs {
    display: grid;
    gap: 0.25rem;
    padding-left: 0;
}

.rt-mobile-program-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: none !important;
}

.rt-mobile-program-link:hover {
    background: var(--rt-blue-light);
    color: var(--rt-blue-dark) !important;
}

.rt-mobile-program-link__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rt-mobile-program-link__text strong {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    line-height: 1.35;
}

.rt-mobile-program-link__text small {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--rt-slate);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rt-mobile-submenu__all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.35rem 0.5rem 0;
    padding: 0.5rem 0 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--rt-blue) !important;
    text-decoration: none;
    border-bottom: none !important;
    transition: color 0.2s ease, gap 0.2s ease;
}

.rt-mobile-submenu__all:hover {
    color: var(--rt-orange) !important;
    gap: 0.55rem;
}

.rt-mobile-program-link__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.rt-mobile-program-link__icon[data-accent="blue"] { background: linear-gradient(135deg, #0D2C6B, #0D2C6B); }
.rt-mobile-program-link__icon[data-accent="indigo"] { background: linear-gradient(135deg, #0D2C6B, #0D2C6B); }
.rt-mobile-program-link__icon[data-accent="violet"] { background: linear-gradient(135deg, #00AEEF, #0077ad); }
.rt-mobile-program-link__icon[data-accent="sky"] { background: linear-gradient(135deg, #2dbdf1, #0095d9); }
.rt-mobile-program-link__icon[data-accent="emerald"] { background: linear-gradient(135deg, #0095d9, #005e88); }
.rt-mobile-program-link__icon[data-accent="amber"] { background: linear-gradient(135deg, #5BCFF5, #00AEEF); }
.rt-mobile-program-link__icon[data-accent="rose"] { background: linear-gradient(135deg, #252880, #0D2C6B); }
.rt-mobile-program-link__icon[data-accent="slate"] { background: linear-gradient(135deg, #475569, #334155); }
.rt-mobile-program-link__icon[data-accent="teal"] { background: linear-gradient(135deg, #00AEEF, #0095d9); }

.rt-mobile-menu__cta {
    margin-top: 0;
    display: grid;
    gap: 0.5rem;
}

.rt-mobile-menu .rt-btn-primary {
    width: 100%;
    justify-content: center;
}

.rt-mobile-menu__cta .rt-btn-ghost {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.625rem 1rem;
}

/* —— Hero —— */
.rt-hero {
    position: relative;
    min-height: min(82vh, 640px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--rt-blue-dark);
}

@media (min-width: 640px) {
    .rt-hero {
        min-height: min(88vh, 720px);
    }
}

.rt-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.rt-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.rt-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--rt-blue-dark);
}

.rt-hero-bg__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.rt-hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(46, 49, 146, 0.78) 0%,
        rgba(18, 75, 133, 0.58) 42%,
        rgba(24, 102, 180, 0.28) 100%
    );
    pointer-events: none;
}

.rt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.25rem 3rem 4.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .rt-hero-content {
        padding: 4rem 5rem 5rem;
    }
}

@media (min-width: 1024px) {
    .rt-hero-content {
        padding: 4.5rem 6.75rem 5.5rem;
    }
}

.rt-hero h1 {
    max-width: 20ch;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
}

.rt-hero h1 em,
.rt-hero-accent {
    font-style: normal;
    color: var(--rt-orange);
}

.rt-hero p {
    margin-top: 1.25rem;
    max-width: 36rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.rt-hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.rt-hero-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.rt-hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.2s, background 0.2s;
}

.rt-hero-dot.is-active {
    width: 1.75rem;
    background: var(--rt-orange);
}

.rt-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.rt-hero-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
}

.rt-hero-arrow--prev { left: 0.5rem; }
.rt-hero-arrow--next { right: 0.5rem; }

@media (min-width: 640px) {
    .rt-hero-arrow--prev { left: 0.75rem; }
    .rt-hero-arrow--next { right: 0.75rem; }
}

@media (min-width: 1024px) {
    .rt-hero-arrow--prev { left: 1.5rem; }
    .rt-hero-arrow--next { right: 1.5rem; }
}

/* —— Sections —— */
.rt-section {
    padding: 3.5rem 0;
}

@media (min-width: 768px) {
    .rt-section {
        padding: 5rem 0;
    }
}

.rt-section--muted {
    background: var(--rt-bg);
}

.rt-section--dark {
    background: linear-gradient(135deg, var(--rt-blue-dark) 0%, var(--rt-blue-mid) 100%);
    color: #fff;
}

.rt-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.rt-section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.rt-section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rt-blue-dark);
}

.rt-section-head p {
    margin-top: 0.75rem;
    color: var(--rt-slate);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.rt-section-head--light h2,
.rt-section-head--light p {
    color: #fff;
}

.rt-section-head--light p {
    color: rgba(255, 255, 255, 0.75);
}

.rt-section--trust {
    padding: 3rem 0;
    background: var(--rt-white);
    border-bottom: 1px solid var(--rt-border);
}

.rt-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rt-slate);
    text-align: center;
    margin-bottom: 2rem;
}

/* Trust bar — marquee (right to left) */
.rt-trust-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

.rt-trust-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: rt-trust-marquee 45s linear infinite;
}

.rt-trust-marquee:hover .rt-trust-marquee__track {
    animation-play-state: paused;
}

.rt-trust-marquee__group {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-right: 3.5rem;
    flex-shrink: 0;
}

.rt-trust-logo {
    flex-shrink: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0.85;
    filter: grayscale(1);
    transition: opacity 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.rt-trust-marquee:hover .rt-trust-logo {
    opacity: 1;
}

.rt-trust-logo:hover {
    color: var(--rt-blue);
    filter: grayscale(0);
    opacity: 1;
}

@keyframes rt-trust-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-trust-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 2rem 2.5rem;
    }

    .rt-trust-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .rt-trust-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .rt-trust-marquee__group {
        padding-right: 0;
        gap: 2rem 2.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* —— Shared image treatment —— */
.rt-marketing-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rt-img-frame {
    position: relative;
    overflow: hidden;
    background: var(--rt-blue-light);
}

.rt-img-frame > .rt-marketing-img,
.rt-img-frame > img {
    position: absolute;
    inset: 0;
}

/* Course cards */
.rt-courses-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (min-width: 1024px) {
    .rt-courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rt-course-card {
    background: #fff;
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.rt-course-card:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 102, 180, 0.2);
    box-shadow: var(--rt-shadow-lg);
}

.rt-course-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--rt-blue-light);
    overflow: hidden;
    flex-shrink: 0;
}

.rt-course-thumb .rt-marketing-img,
.rt-course-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.rt-course-card:hover .rt-course-thumb .rt-marketing-img,
.rt-course-card:hover .rt-course-thumb-img {
    transform: scale(1.04);
}

.rt-course-body {
    padding: 1.15rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rt-course-body h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rt-blue-dark);
}

.rt-course-card__provider {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rt-muted);
}

.rt-course-card__desc {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: var(--rt-slate);
    line-height: 1.5;
}

.rt-course-meta {
    margin-top: auto;
    padding-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

.rt-course-meta__left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.rt-course-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--rt-slate);
    white-space: nowrap;
}

.rt-course-duration::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--rt-muted);
}

.rt-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
    font-weight: 600;
}

.rt-price {
    font-weight: 700;
    color: var(--rt-orange);
}

/* Popular free courses — premium carousel */
.rt-popular-section {
    background: linear-gradient(180deg, var(--rt-bg) 0%, #fff 100%);
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.rt-popular-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rt-popular-title {
    font-size: clamp(1.75rem, 3.5vw, 2.375rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--rt-text-dark);
    line-height: 1.15;
}

.rt-popular-title__accent {
    position: relative;
    color: var(--rt-blue-dark);
}

.rt-popular-title__accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rt-blue), var(--rt-orange));
}

.rt-popular-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rt-popular-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(24, 102, 180, 0.18);
    border-radius: 9999px;
    background: #fff;
    color: var(--rt-blue);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(46, 49, 146, 0.06);
}

.rt-popular-nav__btn:hover:not(.is-disabled) {
    background: var(--rt-blue);
    color: #fff;
    border-color: var(--rt-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(24, 102, 180, 0.22);
}

.rt-popular-nav__btn.is-disabled,
.rt-popular-nav__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.rt-popular-carousel {
    position: relative;
}

.rt-popular-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.15rem 1rem;
    margin: 0 -0.15rem;
    scrollbar-width: none;
}

.rt-popular-track::-webkit-scrollbar {
    display: none;
}

.rt-popular-card {
    flex: 0 0 min(100%, 300px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rt-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow:
        0 1px 2px rgba(46, 49, 146, 0.04),
        0 8px 24px rgba(46, 49, 146, 0.06);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

@media (min-width: 640px) {
    .rt-popular-card {
        flex-basis: 300px;
    }
}

@media (min-width: 1024px) {
    .rt-popular-card {
        flex-basis: calc((100% - 4.5rem) / 4);
        min-width: 260px;
    }
}

.rt-popular-card:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 102, 180, 0.22);
    box-shadow:
        0 4px 12px rgba(46, 49, 146, 0.08),
        0 20px 40px rgba(46, 49, 146, 0.12);
}

.rt-popular-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--rt-blue-light);
    overflow: hidden;
}

.rt-popular-card__img,
.rt-popular-card__media .rt-marketing-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.rt-popular-card:hover .rt-popular-card__img,
.rt-popular-card:hover .rt-popular-card__media .rt-marketing-img {
    transform: scale(1.05);
}

.rt-popular-card__share {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--rt-slate);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(46, 49, 146, 0.12);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rt-popular-card__share:hover {
    color: var(--rt-blue);
    background: #fff;
    transform: scale(1.06);
}

.rt-popular-card__body {
    padding: 1rem 1.1rem 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.rt-popular-card__provider {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--rt-blue);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rt-popular-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--rt-muted);
}

.rt-popular-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.rt-popular-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rt-text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rt-popular-card__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--rt-slate);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.rt-popular-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem 1.1rem;
    border-top: 1px solid var(--rt-border-light);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rt-slate);
}

.rt-popular-card__duration,
.rt-popular-card__price {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rt-popular-card__price {
    color: var(--rt-text-dark);
    font-weight: 800;
}

.rt-popular-foot {
    margin-top: 1.25rem;
    text-align: center;
}

.rt-popular-foot__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--rt-blue);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.rt-popular-foot__link:hover {
    color: var(--rt-orange);
    gap: 0.55rem;
}

@media (max-width: 639px) {
    .rt-popular-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rt-popular-nav {
        align-self: flex-end;
    }
}

/* Faculties — premium */
.rt-faculties-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 50%, #fff 100%);
}

.rt-faculties-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: min(520px, 60vw);
    height: min(520px, 60vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 102, 180, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rt-faculties-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: min(400px, 50vw);
    height: min(400px, 50vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 10, 21, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.rt-faculties-section .rt-container {
    position: relative;
    z-index: 1;
}

.rt-section-head--premium {
    max-width: 44rem;
    margin-bottom: 3.5rem;
}

.rt-section-head--premium .rt-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rt-blue);
    background: var(--rt-blue-light);
    border: 1px solid rgba(24, 102, 180, 0.12);
    border-radius: 9999px;
}

.rt-section-head--premium .rt-section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rt-orange);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.rt-section-head--premium h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--rt-blue-dark);
    background: none;
    -webkit-text-fill-color: unset;
}

.rt-section-head--premium p {
    font-size: 1.125rem;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.rt-faculties-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .rt-faculties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rt-faculties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.rt-faculty-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    min-height: 0;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    text-decoration: none;
    color: var(--rt-navy);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.25s;
    box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04), 0 8px 24px rgba(10, 25, 47, 0.04);
}

.rt-faculty-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rt-blue), var(--rt-orange));
    opacity: 0;
    transition: opacity 0.3s;
}

.rt-faculty-card:hover {
    border-color: rgba(24, 102, 180, 0.25);
    box-shadow: 0 12px 40px rgba(10, 25, 47, 0.1), 0 0 0 1px rgba(24, 102, 180, 0.08);
    transform: translateY(-6px);
}

.rt-faculty-card:hover::before {
    opacity: 1;
}

.rt-faculty-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--rt-blue-light);
}

.rt-faculty-card__media .rt-marketing-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.rt-faculty-card:hover .rt-faculty-card__media .rt-marketing-img {
    transform: scale(1.06);
}

.rt-faculty-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.rt-faculty-num {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #cbd5e1;
    line-height: 1;
}

.rt-faculty-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.rt-faculty-desc {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--rt-slate);
}

.rt-faculty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rt-orange);
    transition: gap 0.2s, color 0.2s;
}

.rt-faculty-card:hover .rt-faculty-link {
    gap: 0.55rem;
    color: var(--rt-orange-dark);
}

/* Why Fantel — premium (white) */
.rt-why-section {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.rt-why-section::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -5%;
    width: min(480px, 55vw);
    height: min(480px, 55vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 102, 180, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.rt-why-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: min(420px, 50vw);
    height: min(420px, 50vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 10, 21, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.rt-why-section .rt-container {
    position: relative;
    z-index: 1;
}

.rt-why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--rt-bg);
    border: 1px solid var(--rt-border);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(10, 25, 47, 0.04);
}

@media (min-width: 768px) {
    .rt-why-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 2rem 2.5rem;
    }
}

.rt-why-stat {
    text-align: center;
    padding: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
    .rt-why-stat:not(:last-child) {
        border-right: 1px solid var(--rt-border);
    }
}

.rt-why-stat strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--rt-blue);
    line-height: 1.1;
}

.rt-stat-counter {
    font-variant-numeric: tabular-nums;
    min-width: 4ch;
}

.rt-why-stat span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rt-slate);
    letter-spacing: 0.02em;
}

.rt-why-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .rt-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .rt-why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rt-why-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid var(--rt-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04), 0 8px 24px rgba(10, 25, 47, 0.04);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
}

.rt-why-card:hover {
    border-color: rgba(24, 102, 180, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 25, 47, 0.1), 0 0 0 1px rgba(24, 102, 180, 0.08);
}

.rt-why-card__media {
    overflow: hidden;
    background: var(--rt-blue-light);
    line-height: 0;
}

.rt-why-card__media .rt-marketing-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.rt-why-card:hover .rt-why-card__media .rt-marketing-img {
    transform: scale(1.05);
}

.rt-why-card__body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.rt-why-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--rt-blue-dark);
    letter-spacing: -0.02em;
}

.rt-why-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--rt-slate);
}

/* Learning experience — premium showcase */
.rt-experience-section {
    position: relative;
    background: var(--rt-white);
    overflow: hidden;
}

.rt-experience-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 20%, rgba(24, 102, 180, 0.05) 0%, transparent 42%),
        radial-gradient(circle at 92% 80%, rgba(0, 174, 239, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.rt-experience-section .rt-container {
    position: relative;
    z-index: 1;
}

.rt-experience-showcase {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 1024px) {
    .rt-experience-showcase {
        gap: 2rem;
    }
}

.rt-experience-panel {
    display: grid;
    gap: 0;
    background: var(--rt-white);
    border: 1px solid var(--rt-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--rt-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rt-experience-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 102, 180, 0.18);
    box-shadow: var(--rt-shadow-lg);
}

@media (min-width: 900px) {
    .rt-experience-panel--classroom {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .rt-experience-panel--portal {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.rt-experience-panel__media {
    position: relative;
    min-height: 240px;
    background: var(--rt-blue-light);
    overflow: hidden;
}

@media (min-width: 900px) {
    .rt-experience-panel__media {
        min-height: 100%;
    }
}

.rt-experience-panel__media .rt-marketing-img,
.rt-experience-panel__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.rt-experience-panel:hover .rt-experience-panel__media .rt-marketing-img,
.rt-experience-panel:hover .rt-experience-panel__media > img {
    transform: scale(1.04);
}

.rt-experience-panel__badge {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rt-blue-dark);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(46, 49, 146, 0.12);
}

.rt-experience-panel__badge svg {
    color: var(--rt-orange);
    flex-shrink: 0;
}

.rt-experience-panel__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.75rem;
}

@media (min-width: 900px) {
    .rt-experience-panel__body {
        padding: 2.25rem 2rem;
    }
}

.rt-experience-panel__tag {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.875rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rt-blue);
    background: var(--rt-blue-light);
    border: 1px solid rgba(24, 102, 180, 0.12);
    border-radius: 9999px;
}

.rt-experience-panel__body h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rt-blue-dark);
    line-height: 1.25;
}

.rt-experience-panel__body > p {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--rt-slate);
}

.rt-experience-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rt-experience-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--rt-text);
}

.rt-experience-list li::before {
    content: '';
    flex-shrink: 0;
    width: 0.375rem;
    height: 0.375rem;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--rt-orange);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

/* Portal dashboard mock */
.rt-experience-portal {
    margin: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rt-border);
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (min-width: 900px) {
    .rt-experience-portal {
        margin: 1.5rem 1.5rem 1.5rem 0.75rem;
        align-self: center;
    }

    .rt-experience-panel--portal .rt-experience-panel__body {
        padding-right: 0.5rem;
    }
}

.rt-experience-portal__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(180deg, #eef2f7 0%, #e8edf3 100%);
    border-bottom: 1px solid var(--rt-border);
}

.rt-experience-portal__chrome span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #cbd5e1;
}

.rt-experience-portal__chrome span:first-child {
    background: #f87171;
}

.rt-experience-portal__chrome span:nth-child(2) {
    background: #fbbf24;
}

.rt-experience-portal__chrome span:nth-child(3) {
    background: #34d399;
}

.rt-experience-portal__layout {
    display: flex;
    min-height: 220px;
}

.rt-experience-portal__sidebar {
    width: 28%;
    padding: 0.85rem 0.65rem;
    background: var(--rt-blue-dark);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rt-experience-portal__logo-bar {
    height: 0.5rem;
    width: 55%;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
}

.rt-experience-portal__nav-item {
    height: 0.45rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.rt-experience-portal__nav-item--active {
    background: rgba(0, 174, 239, 0.85);
    width: 85%;
}

.rt-experience-portal__main {
    flex: 1;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #fff;
}

.rt-experience-portal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.rt-experience-portal__title-bar {
    height: 0.55rem;
    width: 45%;
    border-radius: 4px;
    background: #e2e8f0;
}

.rt-experience-portal__avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rt-blue-light), #dbeafe);
    border: 2px solid var(--rt-blue);
}

.rt-experience-portal__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.rt-experience-portal__stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem;
    border-radius: 8px;
    background: var(--rt-bg);
    border: 1px solid var(--rt-border-light);
}

.rt-experience-portal__stat-ring {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 3px solid var(--rt-blue);
    border-right-color: transparent;
    transform: rotate(-45deg);
}

.rt-experience-portal__stat-ring--orange {
    border-color: var(--rt-orange);
    border-right-color: transparent;
}

.rt-experience-portal__stat-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.rt-experience-portal__stat-lines span {
    display: block;
    height: 0.35rem;
    border-radius: 3px;
    background: #e2e8f0;
}

.rt-experience-portal__stat-lines span:first-child {
    width: 70%;
}

.rt-experience-portal__stat-lines span:last-child {
    width: 45%;
}

.rt-experience-portal__courses {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

.rt-experience-portal__course {
    height: 2.25rem;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--rt-blue-light) 0%, #f8fafc 100%);
    border: 1px solid rgba(24, 102, 180, 0.1);
}

.rt-experience-portal__course:last-child {
    background: linear-gradient(90deg, var(--rt-orange-light) 0%, #f8fafc 100%);
    border-color: rgba(0, 174, 239, 0.12);
}

/* Career path — premium animated steps */
@keyframes rt-path-breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(24, 102, 180, 0.12);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 28px rgba(24, 102, 180, 0.18);
    }
}

@keyframes rt-path-ring-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.15;
    }
}

.rt-path-section {
    position: relative;
    background: var(--rt-bg);
    overflow: hidden;
}

.rt-path-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(24, 102, 180, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 100%, rgba(0, 174, 239, 0.06) 0%, transparent 42%);
    pointer-events: none;
}

.rt-path-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(24, 102, 180, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 102, 180, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
    pointer-events: none;
}

.rt-path-section .rt-container {
    position: relative;
    z-index: 1;
}

.rt-path-track {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    position: relative;
}

@media (min-width: 768px) {
    .rt-path-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .rt-path-track {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    .rt-path-track::before {
        content: '';
        position: absolute;
        top: 3.75rem;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(24, 102, 180, 0.2) 12%,
            rgba(0, 174, 239, 0.35) 50%,
            rgba(24, 102, 180, 0.2) 88%,
            transparent
        );
        z-index: 0;
    }
}

.rt-path-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
    padding: 2rem 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(46, 49, 146, 0.06);
    backdrop-filter: blur(6px);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        background 0.35s ease;
}

.rt-path-card:hover {
    transform: translateY(-8px);
    border-color: rgba(24, 102, 180, 0.22);
    background: #fff;
    box-shadow: 0 20px 48px rgba(46, 49, 146, 0.12);
}

.rt-path-card__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 1.25rem;
}

.rt-path-card__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(24, 102, 180, 0.18);
    animation: rt-path-ring-pulse 4s ease-in-out infinite;
    animation-delay: var(--path-delay, 0s);
}

.rt-path-card__icon {
    position: relative;
    z-index: 1;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff 0%, var(--rt-blue-light) 100%);
    color: var(--rt-blue);
    border: 1px solid rgba(24, 102, 180, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: rt-path-breathe 4s ease-in-out infinite;
    animation-delay: var(--path-delay, 0s);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s ease,
        color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.rt-path-card__icon svg {
    width: 2rem;
    height: 2rem;
}

.rt-path-card:hover .rt-path-card__ring {
    animation: none;
    opacity: 1;
    transform: scale(1.08);
    border-color: rgba(0, 174, 239, 0.35);
}

.rt-path-card:hover .rt-path-card__icon {
    animation: none;
    transform: scale(1.1);
    background: linear-gradient(145deg, var(--rt-blue) 0%, var(--rt-blue-dark) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(24, 102, 180, 0.28);
}

.rt-path-card__step {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    z-index: 2;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--rt-orange);
    border: 2px solid #fff;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rt-path-card:hover .rt-path-card__step {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 174, 239, 0.45);
}

.rt-path-card__label {
    display: inline-flex;
    align-self: center;
    margin-bottom: 0.625rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rt-blue-dark);
    background: var(--rt-white);
    border: 1px solid rgba(24, 102, 180, 0.12);
    border-radius: 9999px;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.rt-path-card:hover .rt-path-card__label {
    background: var(--rt-blue-light);
    border-color: rgba(24, 102, 180, 0.2);
}

.rt-path-card h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--rt-blue-dark);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.rt-path-card:hover h3 {
    color: var(--rt-blue);
}

.rt-path-card p {
    margin-top: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--rt-slate);
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .rt-path-card__icon,
    .rt-path-card__ring {
        animation: none;
    }

    .rt-path-card:hover {
        transform: translateY(-4px);
    }

    .rt-path-card:hover .rt-path-card__icon {
        transform: scale(1.04);
    }
}

/* Testimonials — premium card slider */
.rt-testimonials-section {
    background: var(--rt-bg);
    padding: 5rem 0;
    overflow: hidden;
}

.rt-testimonials-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 3rem;
}

.rt-testimonials-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--rt-blue-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.rt-testimonials-accent {
    display: block;
    width: 3.5rem;
    height: 4px;
    margin: 1rem auto 1.25rem;
    background: linear-gradient(90deg, var(--rt-blue), var(--rt-orange));
    border-radius: 2px;
}

.rt-testimonials-head p {
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

/* Auto-scroll marquee (right → left) */
.rt-testimonials-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 4%,
        #000 96%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 4%,
        #000 96%,
        transparent 100%
    );
}

.rt-testimonials-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: rt-testimonial-marquee 75s linear infinite;
}

.rt-testimonials-marquee:hover .rt-testimonials-marquee__track {
    animation-play-state: paused;
}

.rt-testimonials-marquee__group {
    display: flex;
    gap: 1.5rem;
    padding-right: 1.5rem;
    flex-shrink: 0;
}

@keyframes rt-testimonial-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-testimonials-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .rt-testimonials-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .rt-testimonials-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.rt-tcard {
    flex: 0 0 340px;
    width: 340px;
    max-width: 85vw;
    margin: 0;
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
    background: #fff;
    border-radius: var(--rt-radius);
    border: 1px solid var(--rt-border);
    border-left: 4px solid var(--rt-orange);
    box-shadow: var(--rt-shadow);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.rt-tcard--blue {
    border-left-color: var(--rt-blue);
}

.rt-tcard--orange {
    border-left-color: var(--rt-orange);
}

.rt-tcard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rt-tcard-avatar {
    position: relative;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.rt-tcard-avatar__initials {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.rt-tcard-avatar__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-cyan));
}

.rt-tcard-identity {
    min-width: 0;
}

.rt-tcard-name {
    display: block;
    font-style: normal;
    font-size: 1rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    line-height: 1.3;
}

.rt-tcard--blue .rt-tcard-name {
    color: var(--rt-blue);
}

.rt-tcard--orange .rt-tcard-name {
    color: var(--rt-orange-dark);
}

.rt-tcard-role {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.rt-tcard-stars {
    display: flex;
    gap: 0.15rem;
    margin: 1rem 0 0.85rem;
}

.rt-tcard-star {
    color: #ffd700;
    font-size: 1rem;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.rt-tcard-quote {
    margin: 0;
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.7;
    color: #4a5568;
    flex: 1;
}

@media (min-width: 1024px) {
    .rt-tcard {
        flex: 0 0 360px;
        width: 360px;
    }
}

/* CTA — premium panel */
.rt-cta-section {
    padding: 5rem 0;
    background: var(--rt-bg);
}

.rt-cta-panel {
    position: relative;
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 1.75rem;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--rt-blue-dark) 0%, #0a3560 48%, var(--rt-blue-mid) 100%);
    box-shadow: 0 24px 64px rgba(46, 49, 146, 0.22);
    overflow: hidden;
}

.rt-cta-panel::before,
.rt-cta-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.rt-cta-panel::before {
    top: -30%;
    right: -8%;
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    background: radial-gradient(circle, rgba(0, 174, 239, 0.14) 0%, transparent 68%);
}

.rt-cta-panel::after {
    bottom: -35%;
    left: -10%;
    width: min(360px, 50vw);
    height: min(360px, 50vw);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

@media (min-width: 900px) {
    .rt-cta-panel {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 2.5rem;
        padding: 3.25rem 3rem;
    }
}

.rt-cta-panel__content,
.rt-cta-panel__action {
    position: relative;
    z-index: 1;
}

.rt-cta-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
}

.rt-cta-panel__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rt-orange);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.25);
}

.rt-cta-panel__content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.rt-cta-panel__content > p {
    margin-top: 1rem;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.rt-cta-panel__features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rt-cta-panel__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.rt-cta-panel__features li::before {
    content: '';
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    border-radius: 50%;
    background: rgba(0, 174, 239, 0.2);
    box-shadow: inset 0 0 0 2px var(--rt-orange);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f58220' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.65rem;
}

.rt-cta-panel__action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--rt-radius);
    backdrop-filter: blur(10px);
}

.rt-btn-primary--lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    width: 100%;
}

.rt-cta-panel__action .rt-btn-white {
    width: 100%;
    text-align: center;
}

.rt-cta-panel__note {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
}

/* Footer */
.rt-footer {
    background: var(--rt-blue-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 4rem 0 2rem;
    border-top: none;
}

.rt-footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .rt-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rt-footer-grid {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

.rt-footer h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.rt-footer li {
    margin-bottom: 0.5rem;
}

.rt-footer a {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.rt-footer a:hover {
    color: var(--rt-orange);
}

.rt-footer-brand p {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 22rem;
}

.rt-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rt-footer-quicklinks {
    list-style: none;
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-footer-connect {
    margin-top: 1.25rem;
}

.rt-footer-connect__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
}

.rt-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.rt-footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--rt-orange);
}

.rt-footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.rt-footer-rc {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
}

/* Footer newsletter band */
.rt-footer-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: 1.75rem 0 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-footer-newsletter__copy h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.rt-footer-newsletter__copy p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 34rem;
}

.rt-footer-newsletter__form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 320px;
    max-width: 460px;
}

.rt-footer-newsletter__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 3rem;
    padding: 0 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rt-footer-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.rt-footer-newsletter__input:focus {
    outline: none;
    border-color: var(--rt-orange);
    background: rgba(255, 255, 255, 0.1);
}

.rt-footer-newsletter__btn {
    flex-shrink: 0;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    border: none;
    border-radius: 9999px;
    background: var(--rt-orange);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.rt-footer-newsletter__btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.rt-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0;
}

.rt-footer-connect .rt-social {
    margin-top: 0;
}

.rt-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--rt-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s, color 0.15s;
}

.rt-social a:hover {
    background: var(--rt-orange);
    color: #fff;
}

/* Newsletter responsive rules live here (not only in responsive.css) because
   home.css is loaded AFTER app.css, so same-specificity base rules would
   otherwise win and re-stretch the pill input on small screens. */
@media (max-width: 640px) {
    .rt-footer-newsletter {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .rt-footer-newsletter__form {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 420px) {
    .rt-footer-newsletter__form {
        flex-direction: column;
        align-items: stretch;
    }

    /* Stop the input from growing along the column (vertical) axis. */
    .rt-footer-newsletter__input {
        flex: 0 0 auto;
        width: 100%;
    }

    .rt-footer-newsletter__btn {
        width: 100%;
    }
}

.rt-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    font-size: 0.8125rem;
}

.rt-footer-bottom__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.25rem;
    color: rgba(255, 255, 255, 0.72);
}

.rt-footer-bottom__end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.rt-social--compact {
    gap: 0.5rem;
}

.rt-social--compact a {
    width: 2rem;
    height: 2rem;
}

.rt-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .rt-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .rt-footer-bottom__end {
        width: 100%;
        justify-content: space-between;
    }
}

.rt-link-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 639px) {
    .rt-link-row {
        flex-direction: column;
        align-items: stretch;
    }

    .rt-link-row .rt-section-head {
        text-align: left;
    }
}

.rt-link-row a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rt-blue);
    text-decoration: none;
}

.rt-link-row a:hover {
    color: var(--rt-orange);
    text-decoration: none;
}

/* Scroll to top */
.rt-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--rt-blue) 0%, var(--rt-blue-dark) 100%);
    box-shadow:
        0 4px 14px rgba(46, 49, 146, 0.28),
        0 0 0 0 rgba(24, 102, 180, 0.22);
    animation: rt-scroll-top-breathe 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transition: transform 0.25s ease, background 0.25s ease;
}

.rt-scroll-top:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--rt-orange) 0%, var(--rt-orange-dark) 100%);
    animation-play-state: paused;
}

.rt-scroll-top:focus-visible {
    outline: 2px solid var(--rt-orange);
    outline-offset: 3px;
}

@keyframes rt-scroll-top-breathe {
    0%, 100% {
        box-shadow:
            0 4px 14px rgba(46, 49, 146, 0.28),
            0 0 0 0 rgba(24, 102, 180, 0.2);
    }
    50% {
        box-shadow:
            0 8px 22px rgba(46, 49, 146, 0.34),
            0 0 0 8px rgba(24, 102, 180, 0);
    }
}

.rt-scroll-top-enter-active,
.rt-scroll-top-leave-active {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.rt-scroll-top-enter-from,
.rt-scroll-top-leave-to {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
}

.rt-scroll-top-enter-to,
.rt-scroll-top-leave-from {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .rt-scroll-top {
        animation: none;
    }
}

/* Campus page inline management */
.rt-campus-admin-bar {
    position: sticky;
    top: 0;
    z-index: 120;
    background: linear-gradient(90deg, #0f2744 0%, #1a3d66 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.18);
}

.rt-campus-admin-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
}

.rt-campus-admin-bar__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.875rem;
}

.rt-campus-admin-bar__copy strong {
    font-size: 0.9375rem;
}

.rt-campus-admin-bar__copy span {
    opacity: 0.82;
}

.rt-campus-admin-bar__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.rt-campus-admin-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rt-campus-admin-bar__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
}

.rt-campus-admin-bar__btn--primary {
    background: var(--rt-orange);
    border-color: var(--rt-orange);
}

.rt-campus-admin-bar__btn--primary:hover {
    background: var(--rt-orange-dark);
    border-color: var(--rt-orange-dark);
}

.rt-popular-card-wrap,
.rt-course-card-wrap {
    position: relative;
}

.rt-campus-program-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rt-campus-program-card:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 102, 180, 0.2);
    box-shadow: var(--rt-shadow-lg);
}

.rt-campus-program-card .rt-popular-card,
.rt-campus-program-card .rt-course-card {
    flex: 1;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.rt-campus-program-card .rt-popular-card:hover,
.rt-campus-program-card .rt-course-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.rt-campus-enroll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding: 0.85rem 1.15rem;
    border-top: 1px solid var(--rt-border-light);
    background: #fff;
    flex-shrink: 0;
}

.rt-campus-enroll__price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--rt-blue-dark);
    line-height: 1.2;
}

.rt-campus-enroll__price--sale {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rt-campus-enroll__price del {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rt-muted);
}

.rt-campus-enroll__form {
    margin: 0;
    flex-shrink: 0;
}

.rt-campus-enroll__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9999px;
    background: var(--rt-orange);
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 174, 239, 0.28);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.rt-campus-enroll__btn {
    animation: rt-campus-enroll-breathe 2.8s ease-in-out infinite;
}

.rt-campus-enroll__btn:hover {
    background: var(--rt-orange-dark);
    transform: translateY(-1px);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.34);
    animation-play-state: paused;
}

@keyframes rt-campus-enroll-breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(0, 174, 239, 0.28);
    }
    50% {
        transform: scale(1.045);
        box-shadow: 0 9px 26px rgba(0, 174, 239, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-campus-enroll__btn {
        animation: none;
    }
}

.rt-campus-enroll__btn--secondary {
    background: var(--rt-blue);
    box-shadow: 0 4px 16px rgba(24, 102, 180, 0.22);
}

.rt-campus-enroll__btn--secondary:hover {
    background: var(--rt-blue-dark);
    box-shadow: 0 6px 20px rgba(24, 102, 180, 0.28);
}

.rt-campus-actions {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 5;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: calc(100% - 1.3rem);
}

.rt-campus-actions__form {
    margin: 0;
}

.rt-campus-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: #0f2744;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(15, 39, 68, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.rt-campus-actions__btn:hover {
    transform: translateY(-1px);
    background: #fff;
    color: #0f2744;
}

.rt-campus-actions__btn--muted {
    color: #475569;
}

.rt-campus-actions__btn--danger {
    color: #b42318;
}

@media (max-width: 640px) {
    .rt-campus-actions {
        position: static;
        margin-top: 0.5rem;
        justify-content: flex-start;
    }

    .rt-popular-card-wrap,
    .rt-course-card-wrap {
        display: flex;
        flex-direction: column;
    }
}

/* —— Campus FAQ section —— */
.rt-faq-section {
    background: linear-gradient(180deg, #fff 0%, var(--rt-bg) 100%);
}

.rt-faq-layout {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .rt-faq-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
        gap: 2rem;
    }
}

.rt-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rt-faq-item {
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius);
    background: #fff;
    box-shadow: 0 4px 18px rgba(46, 49, 146, 0.04);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.rt-faq-item.is-open {
    border-color: rgba(24, 102, 180, 0.28);
    box-shadow: 0 12px 34px rgba(46, 49, 146, 0.12);
}

.rt-faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.15rem;
    font-size: 0.9375rem;
    font-weight: 700;
    text-align: left;
    color: var(--rt-blue-dark);
    cursor: pointer;
    list-style: none;
    background: transparent;
    border: 0;
    font-family: inherit;
    transition: color 0.2s ease, background 0.2s ease;
}

.rt-faq-item__question:hover {
    color: var(--rt-blue);
    background: rgba(46, 49, 146, 0.03);
}

.rt-faq-item__question::-webkit-details-marker {
    display: none;
}

.rt-faq-item__chevron {
    flex-shrink: 0;
    color: var(--rt-orange);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rt-faq-item.is-open .rt-faq-item__chevron {
    transform: rotate(180deg);
}

/* Smooth open/close using animatable grid rows (no JS height measuring). */
.rt-faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.rt-faq-item.is-open .rt-faq-item__answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.rt-faq-item__answer-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 1.15rem;
}

.rt-faq-item.is-open .rt-faq-item__answer-inner {
    padding-bottom: 1.1rem;
}

.rt-faq-item__answer-inner p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--rt-slate);
}

@media (prefers-reduced-motion: reduce) {
    .rt-faq-item__answer,
    .rt-faq-item__chevron {
        transition: none;
    }
}

.rt-faq-aside__card {
    padding: 1.5rem 1.35rem;
    border-radius: var(--rt-radius);
    background: linear-gradient(155deg, var(--rt-blue-dark) 0%, var(--rt-blue-mid) 100%);
    color: #fff;
    box-shadow: var(--rt-shadow-lg);
}

.rt-faq-aside__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.rt-faq-aside__card h3 {
    margin: 0.45rem 0 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
}

.rt-faq-aside__card p {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.rt-faq-aside__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.rt-faq-aside__actions .rt-btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.rt-faq-aside__actions .rt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.rt-faq-aside__more {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rt-orange);
    text-decoration: none;
}

.rt-faq-aside__more:hover {
    color: #fff;
}
