/* ============================================================================
 * AISC theme — main stylesheet (consolidated from the locked HTML build)
 *
 * Sections:
 *   00. Design tokens (root variables)
 *   01. Base / accessibility / motion
 *   02. Skip link, focus ring
 *   03. Reveal scroll animations
 *   04. Navigation (glass-morphism nav, portal dropdown, hamburger, mobile overlay)
 *   05. Buttons (primary / secondary / nav-cta)
 *   06. Hero — homepage (orb pattern)
 *   07. Hero — course (orb pattern, per-course accent)
 *   08. Hero — policy (clean pattern, no orbs)
 *   09. Trust bar (homepage)
 *   10. Generic section / section-header
 *   11. Course cards (homepage grid)
 *   12. About section + values + features (homepage)
 *   13. Testimonials (homepage)
 *   14. How-It-Works steps (homepage long-form vertical)
 *   15. Course quick-facts bar
 *   16. Course overview + highlights
 *   17. Course units tables (core + elective, scroll-driven activation)
 *   18. Course how-it-works (4-card horizontal)
 *   19. Career outcomes + salary card + disclaimer
 *   20. Fees & funding cards + subsidy box + additional costs
 *   21. Entry requirements grid
 *   22. FAQ accordion
 *   23. CTA enquiry section + form (dark navy)
 *   24. Partners
 *   25. Footer (4-column, acknowledgement, mobile sticky CTA)
 *   26. Floating enquire button
 *   27. Policy content layout
 *   28. Search form
 *   29. Mobile responsive breakpoints (1024 / 900 / 480)
 *   30. WordPress admin bar adjustment
 *
 * Design tokens are board-approved — do not change values without sign-off.
 * Per-course pages override --course / --course-dark / --course-pale / --course-glow
 * via inline style on <body> in single-course.php.
 * ============================================================================ */


/* ====================================================================
 * 00. DESIGN TOKENS
 * ==================================================================== */
:root {
    --blue: #0B7FD4;
    --blue-dark: #0A4DB8;
    --blue-deeper: #082F80;
    --blue-light: #1CB0FF;
    --blue-vivid: #00C2FF;
    --blue-pale: #E3F5FF;
    --blue-glow: rgba(28,176,255,0.5);

    --navy: #060E24;
    --navy-light: #0C1A3A;
    --navy-mid: #132650;

    --orange: #FF8C1A;
    --orange-light: #FFa840;
    --orange-vivid: #FF9500;
    --orange-dark: #E07000;
    --orange-pale: #FFF4E6;
    --orange-glow: rgba(255,140,26,0.5);

    --purple: #9B3FE8;
    --purple-light: #BE6AFF;
    --purple-vivid: #A855F7;
    --purple-dark: #7B22D0;
    --purple-pale: #F3E8FF;
    --purple-glow: rgba(155,63,232,0.4);

    --pink: #E839A8;
    --pink-light: #FF6EC7;
    --pink-vivid: #F472B6;
    --pink-glow: rgba(232,57,168,0.4);

    --teal: #0EA5A0;
    --teal-dark: #0B8A86;
    --teal-light: #2DD4BF;
    --teal-pale: #E0FAF6;
    --teal-glow: rgba(14,165,160,0.4);

    --white: #FFFFFF;
    --off-white: #F5F8FC;
    --light-gray: #E4EAF2;
    --mid-gray: #6B7C96;
    --dark-gray: #2D3A50;
    --text: #0E1525;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    /* Default course accent — overridden per-course on body via inline style. */
    --course: var(--blue);
    --course-dark: var(--blue-dark);
    --course-pale: var(--blue-pale);
    --course-glow: var(--blue-glow);
}


/* ====================================================================
 * 01. BASE / ACCESSIBILITY / MOTION
 * ==================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body); color: var(--text);
    background: var(--white); overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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


/* ====================================================================
 * 02. SKIP LINK + FOCUS RING
 * ==================================================================== */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    padding: 12px 24px; background: var(--blue); color: white;
    border-radius: 8px; font-weight: 700; z-index: 9999;
    text-decoration: none; font-size: 14px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-vivid); outline-offset: 3px; border-radius: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-vivid); outline-offset: 3px; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; width: 1px; word-wrap: normal !important;
}


/* ====================================================================
 * 03. REVEAL SCROLL ANIMATIONS
 * ==================================================================== */
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }


/* ====================================================================
 * 04. NAVIGATION
 * ==================================================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 48px; height: 76px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.4s ease; background: transparent;
}
.nav.scrolled,
body.single-course .nav,
body.page .nav,
body.error404 .nav,
body.search .nav,
body.archive .nav {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-img {
    width: 48px; height: 48px; border-radius: 12px; object-fit: contain;
    background: transparent; padding: 0;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.nav-logo-text {
    font-family: var(--font-body); font-size: 20px; font-weight: 700;
    color: var(--navy); letter-spacing: 0.08em;
}
.nav-logo-sub {
    font-size: 9px; font-weight: 500; color: var(--blue);
    letter-spacing: 0.12em; text-transform: uppercase;
    display: block; margin-top: -2px;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--dark-gray); text-decoration: none; font-size: 14px;
    font-weight: 500; letter-spacing: 0.02em;
    transition: all 0.3s ease; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--blue-vivid), var(--purple-vivid));
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--blue-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta,
.nav-links a.nav-cta,
.nav-links li.menu-item-cta a {
    background: linear-gradient(135deg, var(--orange), var(--orange-vivid)) !important;
    color: var(--white) !important;
    padding: 10px 26px !important;
    border-radius: 10px;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.nav-cta::after,
.nav-links li.menu-item-cta a::after { display: none !important; }
.nav-cta:hover,
.nav-links li.menu-item-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--orange-glow), 0 0 60px rgba(255,140,26,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Hamburger (hidden on desktop, shown <=900px). */
.nav-hamburger {
    display: none; width: 44px; height: 44px;
    border: none; background: none; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; padding: 8px; margin-left: 8px;
    position: relative; z-index: 1002;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); z-index: 1000;
    padding: 100px 32px 40px;
    flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; transition: opacity 0.3s ease;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-overlay.show { display: flex; opacity: 1; }
.mobile-overlay a {
    font-family: 'Playfair Display', serif; font-size: 22px;
    color: var(--navy); text-decoration: none;
    padding: 14px 24px; width: 100%; text-align: center;
    border-radius: 12px; transition: background 0.2s;
}
.mobile-overlay a:hover { background: #f1f5f9; }
.mobile-overlay .mobile-cta {
    margin-top: 16px; background: var(--navy); color: white !important;
    font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600;
    padding: 16px 32px; border-radius: 12px; letter-spacing: 0.5px;
}
.mobile-overlay .mobile-cta:hover { background: #1a2744; }
.mobile-overlay .mobile-portal-links {
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    width: 100%; text-align: center;
}
.mobile-overlay .mobile-portal-links a {
    font-family: 'DM Sans', sans-serif; font-size: 15px; color: #64748b;
}

/* Portal login dropdown. */
.portal-wrap { position: relative; margin-left: 8px; }
.portal-btn {
    width: 42px; height: 42px; border-radius: 12px;
    border: none; cursor: pointer;
    background: rgba(11,20,47,0.06);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; position: relative;
}
.portal-btn:hover { background: rgba(11,20,47,0.10); transform: translateY(-1px); }
.portal-btn.active { background: rgba(11,20,47,0.12); box-shadow: 0 0 0 2px rgba(59,130,246,0.3); }
.portal-btn svg { color: var(--navy); opacity: 0.7; transition: opacity 0.3s; }
.portal-btn:hover svg { opacity: 1; }

.portal-dropdown {
    position: absolute; top: calc(100% + 12px); right: 0;
    width: 260px; padding: 8px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px) saturate(1.4);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    z-index: 1001;
}
.portal-dropdown.show {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}
.portal-dropdown-header {
    padding: 12px 14px 10px; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--mid-gray);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 4px;
}
.portal-link {
    display: flex; align-items: center; gap: 14px; padding: 14px;
    border-radius: 12px; text-decoration: none;
    transition: all 0.2s ease;
}
.portal-link:hover { background: rgba(11,20,47,0.04); }
.portal-link-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.portal-link-icon.student { background: linear-gradient(135deg, #0B7FD4, #3B82F6); box-shadow: 0 4px 12px rgba(11,127,212,0.25); }
.portal-link-icon.staff   { background: linear-gradient(135deg, #0B142F, #1a2654); box-shadow: 0 4px 12px rgba(11,20,47,0.25); }
.portal-link-icon svg { color: white; }
.portal-link-text { display: flex; flex-direction: column; gap: 2px; }
.portal-link-title { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.portal-link-sub   { font-size: 11px; color: var(--mid-gray); font-weight: 500; }


/* ====================================================================
 * 05. BUTTONS
 * ==================================================================== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--orange), var(--orange-vivid));
    color: var(--white); border: none; border-radius: 14px;
    font-size: 16px; font-weight: 700; font-family: var(--font-body);
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 8px 35px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.2);
    text-decoration: none; position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 50px var(--orange-glow), 0 0 80px rgba(255,140,26,0.15);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 40px;
    background: rgba(11,127,212,0.06); color: var(--blue-dark);
    border: 1.5px solid rgba(11,127,212,0.2); border-radius: 14px;
    font-size: 16px; font-weight: 600; font-family: var(--font-body);
    cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}
.btn-secondary:hover {
    background: rgba(11,127,212,0.1);
    border-color: rgba(11,127,212,0.35);
    box-shadow: 0 8px 30px rgba(11,127,212,0.1);
    transform: translateY(-2px);
}

/* Course-page sized variants. */
.course-hero-actions .btn-primary {
    padding: 14px 32px; font-size: 15px; border-radius: 12px;
    box-shadow: 0 4px 20px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.course-hero-actions .btn-secondary {
    background: var(--white); color: var(--course);
    border: 2px solid var(--course);
    padding: 14px 32px; font-size: 15px; border-radius: 12px;
}
.course-hero-actions .btn-secondary:hover {
    background: var(--course-pale); transform: translateY(-2px);
}


/* ====================================================================
 * 06. HERO — HOMEPAGE (orb pattern)
 * ==================================================================== */
.hero {
    position: relative; min-height: 100vh; padding-top: 76px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #FAFBFE;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(11,127,212,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 25%, rgba(155,63,232,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 85%, rgba(255,140,26,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 80%, rgba(232,57,168,0.03) 0%, transparent 40%),
        linear-gradient(170deg, #FAFBFE 0%, #F0F4FA 40%, #F5F0FA 70%, #FAFBFE 100%);
}
.hero-orb {
    position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
    animation: orb-float 12s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(11,127,212,0.08), transparent 70%); top: -15%; left: -10%; animation-delay: 0s; filter: blur(80px); }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(155,63,232,0.07), transparent 70%); top: 15%; right: -12%; animation-delay: -4s; filter: blur(80px); }
.hero-orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,140,26,0.06), transparent 70%); bottom: -10%; left: 25%; animation-delay: -8s; filter: blur(80px); opacity: 0.7; }
.hero-orb-4 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(232,57,168,0.06), transparent 70%); bottom: 20%; right: 15%; animation-delay: -6s; filter: blur(70px); opacity: 0.5; }

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(25px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 15px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}

.hero-content {
    position: relative; z-index: 2; text-align: center;
    max-width: 900px; padding: 20px 24px 100px;
    display: flex; flex-direction: column; align-items: center;
}
.hero-logo-wrap {
    position: relative; display: inline-flex;
    align-items: center; justify-content: center;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease both 0.1s;
}
.hero-logo-wrap::before {
    content: ''; position: absolute;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(155,63,232,0.06) 0%, rgba(11,127,212,0.04) 40%, transparent 70%);
    filter: blur(20px); z-index: 0;
}
.hero-logo {
    position: relative; z-index: 1;
    width: 160px; height: 160px; object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08)) drop-shadow(0 2px 8px rgba(0,0,0,0.04));
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, rgba(11,127,212,0.06), rgba(155,63,232,0.05));
    border: 1px solid rgba(11,127,212,0.12);
    padding: 10px 22px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--blue-dark);
    margin-bottom: 36px;
    letter-spacing: 0.06em; text-transform: uppercase;
    animation: fadeInDown 0.8s ease both 0.2s;
    box-shadow: 0 2px 12px rgba(11,127,212,0.06);
}
.hero-badge-dot {
    width: 8px; height: 8px; background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
    box-shadow: 0 0 12px var(--orange-glow);
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--orange-glow); }
    50%      { opacity: 0.6; transform: scale(1.6); box-shadow: 0 0 20px var(--orange-glow); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.5vw, 76px); font-weight: 700;
    color: var(--navy); line-height: 1.08; margin-bottom: 28px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease both 0.4s;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple-vivid) 25%, var(--pink) 50%, var(--orange) 75%, var(--blue) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;
    animation: fadeInUp 0.8s ease both 0.4s, gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px); color: var(--mid-gray);
    line-height: 1.65; margin-bottom: 48px; max-width: 620px;
    margin-left: auto; margin-right: auto;
    animation: fadeInUp 0.8s ease both 0.6s;
}
.hero-actions {
    display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease both 0.8s;
}

.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    animation: fadeInUp 0.8s ease both 1.2s;
}
.scroll-indicator span { font-size: 11px; color: rgba(11,127,212,0.35); letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(11,127,212,0.25); border-radius: 12px;
    position: relative;
}
.scroll-mouse::after {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 8px; background: var(--blue); border-radius: 3px;
    animation: scroll-anim 1.8s ease infinite;
    box-shadow: 0 0 6px rgba(11,127,212,0.3);
}
@keyframes scroll-anim {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }


/* ====================================================================
 * 07. HERO — COURSE (orb pattern, per-course accent)
 * ==================================================================== */
.course-hero {
    position: relative; padding: 140px 48px 80px;
    overflow: hidden; background: #FAFBFE;
}
.course-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(11,127,212,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 25%, rgba(11,127,212,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 85%, rgba(155,63,232,0.03) 0%, transparent 45%),
        linear-gradient(170deg, #FAFBFE 0%, #F0F4FA 40%, #EFF5FF 70%, #FAFBFE 100%);
}
.course-hero-orb {
    position: absolute; border-radius: 50%;
    z-index: 0; pointer-events: none;
    animation: orb-float 12s ease-in-out infinite;
}
.course-hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(11,127,212,0.1), transparent 70%); top: -10%; right: -5%; filter: blur(80px); }
.course-hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(155,63,232,0.06), transparent 70%); bottom: -15%; left: -5%; filter: blur(80px); animation-delay: -4s; }

.course-hero-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }

.course-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--mid-gray);
    margin-bottom: 28px;
    animation: fadeInDown 0.6s ease both;
}
.course-hero-breadcrumb a { color: var(--course); text-decoration: none; font-weight: 500; }
.course-hero-breadcrumb a:hover { text-decoration: underline; }
.course-hero-breadcrumb svg { width: 14px; height: 14px; stroke: var(--mid-gray); }

.course-hero-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease both 0.1s;
}
.course-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 16px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.course-badge-code {
    background: linear-gradient(135deg, var(--course), var(--course-dark));
    color: var(--white);
}
.course-badge-nrt {
    background: rgba(11,127,212,0.08); color: var(--course-dark);
    border: 1px solid rgba(11,127,212,0.15);
}
.course-badge-nrt svg { width: 14px; height: 14px; }
.course-badge-specialisation {
    background: rgba(155,63,232,0.08); color: var(--purple-dark);
    border: 1px solid rgba(155,63,232,0.12);
}
.course-badge-funded {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
}

.course-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px); font-weight: 700;
    color: var(--navy); line-height: 1.12; margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease both 0.2s;
}
.course-hero-description {
    font-size: 17px; color: var(--dark-gray); line-height: 1.75;
    max-width: 750px; margin-bottom: 36px;
    animation: fadeInUp 0.8s ease both 0.35s;
}
.course-hero-actions {
    display: flex; flex-wrap: wrap; gap: 14px;
    animation: fadeInUp 0.8s ease both 0.5s;
}


/* ====================================================================
 * 08. HERO — POLICY (clean pattern, no orbs)
 * ==================================================================== */
.policy-hero {
    position: relative; padding: 140px 48px 80px;
    overflow: hidden; background: #FAFBFE;
}
.policy-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(11,127,212,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 25%, rgba(11,127,212,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 85%, rgba(155,63,232,0.03) 0%, transparent 45%),
        linear-gradient(170deg, #FAFBFE 0%, #F0F4FA 40%, #EFF5FF 70%, #FAFBFE 100%);
}
.policy-hero-inner {
    position: relative; z-index: 2;
    max-width: 1100px; margin: 0 auto;
}
.policy-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--mid-gray);
    margin-bottom: 28px;
    animation: fadeInDown 0.6s ease both;
}
.policy-breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 500; }
.policy-breadcrumb a:hover { text-decoration: underline; }
.policy-breadcrumb svg { width: 14px; height: 14px; stroke: var(--mid-gray); }
.policy-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px); font-weight: 700;
    color: var(--navy); line-height: 1.12; margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease both 0.2s;
}
.policy-hero-subtitle {
    font-size: 17px; color: var(--dark-gray); line-height: 1.75;
    max-width: 750px; margin-bottom: 0;
    animation: fadeInUp 0.8s ease both 0.35s;
}


/* ====================================================================
 * 09. TRUST BAR (homepage)
 * ==================================================================== */
.trust-bar {
    background: var(--white); padding: 64px 48px;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}
.trust-bar::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue-vivid), var(--purple-vivid), var(--pink), var(--orange));
}
.trust-bar-inner {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.trust-stat { text-align: center; padding: 20px; }
.trust-stat-number {
    font-family: var(--font-display); font-size: 52px; font-weight: 700;
    color: var(--navy); line-height: 1; margin-bottom: 8px;
}
.trust-stat-label { font-size: 14px; color: var(--mid-gray); font-weight: 500; }

.trust-badges {
    max-width: 1100px; margin: 32px auto 0;
    display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--blue-pale), rgba(243,232,255,0.5));
    border-radius: 10px;
    font-size: 12px; font-weight: 600; color: var(--blue-dark);
    border: 1px solid rgba(11,127,212,0.1);
    transition: all 0.3s ease;
}
.trust-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(11,127,212,0.08); }
.trust-badge-icon {
    width: 20px; height: 20px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 10px;
    box-shadow: 0 2px 8px var(--blue-glow);
}


/* ====================================================================
 * 10. SECTION / SECTION-HEADER
 * ==================================================================== */
.section { padding: 120px 48px; }
.section-alt { background: var(--off-white); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.section-eyebrow {
    font-size: 13px; font-weight: 700;
    background: linear-gradient(135deg, var(--blue), var(--purple-vivid));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 18px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 48px); font-weight: 700;
    color: var(--navy); line-height: 1.12; margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.section-subtitle { font-size: 17px; color: var(--mid-gray); line-height: 1.65; }
.section-header::after {
    content: ''; display: block; width: 90px; height: 4px;
    margin: 28px auto 0;
    background: linear-gradient(90deg, var(--blue-vivid), var(--purple-vivid), var(--pink), var(--orange));
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(155,63,232,0.2);
}

/* Course-page section spacing — slightly tighter than homepage. */
.course-hero ~ .section,
body.single-course .section {
    padding: 80px 48px;
}
body.single-course .section-header { max-width: 680px; margin: 0 auto 56px; }
body.single-course .section-eyebrow {
    font-size: 12px; letter-spacing: 0.14em; margin-bottom: 12px;
    background: none; -webkit-text-fill-color: var(--course); color: var(--course);
}
body.single-course .section-title { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; }
body.single-course .section-subtitle { font-size: 16px; color: var(--mid-gray); line-height: 1.7; }
body.single-course .section-header::after { display: none; }


/* ====================================================================
 * 11. COURSE CARDS (homepage grid)
 * ==================================================================== */
.courses { background: var(--off-white); position: relative; }
.courses::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(155,63,232,0.04), transparent 70%);
}
.courses-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
    position: relative; z-index: 1;
}

.course-card {
    background: var(--white); border-radius: 24px; overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    cursor: pointer; border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(11,127,212,0.15);
}

.course-card-image {
    height: 230px; position: relative; overflow: hidden;
}
.course-card-image-pattern {
    position: absolute; inset: 0; opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 50%, white 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, white 1px, transparent 1px);
    background-size: 50px 50px;
}
.course-card-image::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--blue-vivid), var(--purple-vivid), var(--pink), var(--orange));
    box-shadow: 0 -2px 20px rgba(155,63,232,0.3);
}
.course-card-level {
    position: absolute; top: 20px; left: 20px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
    padding: 7px 16px; border-radius: 100px;
    font-size: 12px; font-weight: 700; color: white;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.course-card-funded-pill {
    display: inline-block; position: absolute; top: 12px; right: 12px;
    background: #10b981; color: white;
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 20px;
    letter-spacing: 0.5px; font-family: 'DM Sans', sans-serif;
}
.course-card-icon {
    position: absolute; bottom: 24px; right: 20px;
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}
.course-card-body { padding: 30px; }
.course-card-title {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--navy); margin-bottom: 18px;
}
.course-card-code {
    font-size: 11px; font-weight: 700; margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.12em;
}

.course-card-meta { display: flex; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.course-card-meta-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--mid-gray); font-weight: 500;
}
.course-card-meta-icon {
    width: 20px; height: 20px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
}

.course-card-outcomes {
    padding-top: 22px; border-top: 1px solid var(--light-gray);
}
.course-card-outcomes-label {
    font-size: 11px; font-weight: 700; color: var(--mid-gray);
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 12px;
}
.course-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.course-tag {
    padding: 5px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 600;
    border: 1px solid rgba(0,0,0,0.06);
}
.course-card-cta {
    display: block; margin-top: 22px; padding: 15px;
    text-align: center;
    color: var(--white); border-radius: 12px;
    font-weight: 700; font-size: 14px; text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(11,127,212,0.25);
}
.course-card-cta:hover { box-shadow: 0 8px 30px rgba(11,127,212,0.35); transform: translateY(-1px); }


/* ====================================================================
 * 12. ABOUT, VALUES, FEATURES (homepage)
 * ==================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.about-values-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 48px; }
.about-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }


/* ====================================================================
 * 13. TESTIMONIALS (homepage)
 * ==================================================================== */
.testimonials { background: var(--off-white); overflow: hidden; position: relative; }
.testimonials::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(155,63,232,0.04), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(11,127,212,0.03), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(232,57,168,0.02), transparent 40%);
}
.testimonials .section-eyebrow {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;
}
.testimonials .section-header::after {
    background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple-vivid), var(--blue-vivid));
    box-shadow: 0 2px 16px rgba(232,57,168,0.15);
}

.testimonials-track {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    position: relative; z-index: 1;
}
.testimonial-card {
    background: var(--white); border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px; padding: 34px;
    transition: all 0.4s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.testimonial-card:hover {
    border-color: rgba(11,127,212,0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 4px 16px rgba(11,127,212,0.06);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 22px; }
.testimonial-star { color: var(--orange); font-size: 15px; filter: drop-shadow(0 0 2px rgba(255,140,26,0.3)); }
.testimonial-text {
    font-size: 15px; color: var(--dark-gray); line-height: 1.75;
    margin-bottom: 26px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: 16px;
    font-family: var(--font-display);
}
.testimonial-info h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.testimonial-info p { font-size: 12px; color: var(--mid-gray); }


/* ====================================================================
 * 14. HOW-IT-WORKS — homepage long-form vertical
 * ==================================================================== */
.how-it-works { background: var(--white); position: relative; }
.how-it-works::before {
    content: ''; position: absolute; top: 50%; left: -200px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(11,127,212,0.04), transparent 70%);
}
.steps-container { max-width: 900px; margin: 0 auto; position: relative; }
.steps-line {
    position: absolute; left: 42px; top: 0; bottom: 0;
    width: 3px; background: var(--light-gray); border-radius: 3px;
}
.steps-line-progress {
    width: 100%; border-radius: 3px;
    background: linear-gradient(180deg, var(--blue-vivid), var(--purple-vivid), var(--pink), var(--orange));
    transition: height 0.5s ease;
    box-shadow: 0 0 12px rgba(155,63,232,0.2);
}
.step {
    display: flex; gap: 36px; align-items: flex-start;
    margin-bottom: 56px; position: relative;
}
.step-number {
    width: 84px; height: 84px; min-width: 84px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 30px; font-weight: 700;
    background: var(--light-gray); color: var(--mid-gray);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    z-index: 1;
}
.step.active .step-number { color: var(--white); transform: scale(1.05); }

/* Step gradient by data-step attribute (NOT nth-child — sibling-offset bug). */
.step[data-step="1"].active .step-number,
.step[data-step="2"].active .step-number {
    background: linear-gradient(135deg, var(--blue), var(--blue-vivid));
    box-shadow: 0 8px 35px var(--blue-glow);
}
.step[data-step="3"].active .step-number,
.step[data-step="4"].active .step-number {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    box-shadow: 0 8px 35px var(--purple-glow);
}
.step[data-step="5"].active .step-number {
    background: linear-gradient(135deg, var(--pink), var(--purple-light));
    box-shadow: 0 8px 35px var(--pink-glow);
}
.step[data-step="6"].active .step-number {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    box-shadow: 0 8px 35px var(--orange-glow);
}

.step-content { padding-top: 18px; }
.step-content h3 { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-content p { font-size: 15px; color: var(--mid-gray); line-height: 1.65; }


/* ====================================================================
 * 15. COURSE QUICK-FACTS BAR
 * ==================================================================== */
.quick-facts {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 0 48px;
    position: relative; z-index: 5;
}
.quick-facts-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.quick-fact {
    padding: 28px 20px; text-align: center;
    border-right: 1px solid var(--light-gray);
    position: relative;
}
.quick-fact:last-child { border-right: none; }
.quick-fact-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    background: var(--course-pale);
}
.quick-fact-icon svg {
    width: 20px; height: 20px;
    stroke: var(--course); fill: none; stroke-width: 2;
}
.quick-fact-value { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.quick-fact-label { font-size: 12px; color: var(--mid-gray); font-weight: 500; letter-spacing: 0.02em; }


/* ====================================================================
 * 16. COURSE OVERVIEW + HIGHLIGHTS
 * ==================================================================== */
.overview-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: start;
}
.overview-text p { font-size: 16px; line-height: 1.8; color: var(--dark-gray); margin-bottom: 20px; }
.overview-text ul { margin: 16px 0; padding-left: 24px; font-size: 16px; line-height: 1.8; color: var(--dark-gray); }

.overview-highlights {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.overview-highlight {
    background: var(--white); border: 1px solid var(--light-gray);
    border-radius: 16px; padding: 24px;
    transition: all 0.3s ease;
}
.section-alt .overview-highlight { background: var(--white); }
.overview-highlight:hover {
    border-color: var(--course);
    box-shadow: 0 8px 32px rgba(11,127,212,0.08);
    transform: translateY(-2px);
}
.overview-highlight-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--course-pale), rgba(11,127,212,0.12));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.overview-highlight-icon svg { width: 22px; height: 22px; stroke: var(--course); fill: none; stroke-width: 2; }
.overview-highlight h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.overview-highlight p { font-size: 13px; color: var(--mid-gray); line-height: 1.6; }


/* ====================================================================
 * 17. COURSE UNITS TABLES (core + elective, scroll-driven activation)
 * ==================================================================== */
.units-container { max-width: 1100px; margin: 0 auto; }
.units-group { margin-bottom: 40px; }
.units-group-title {
    font-size: 18px; font-weight: 700; color: var(--navy);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.units-group-badge {
    font-size: 11px; font-weight: 700; padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.units-group-badge-core { background: var(--course-pale); color: var(--course-dark); }
.units-group-badge-elective { background: var(--purple-pale); color: var(--purple-dark); }

.units-progress-wrap {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.units-progress-bar {
    flex: 1; height: 6px;
    background: var(--light-gray); border-radius: 100px; overflow: hidden;
}
.units-progress-fill-core {
    height: 100%; width: 0%; border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    background: linear-gradient(90deg, var(--course), var(--course-dark));
}
.units-progress-fill-elective {
    height: 100%; width: 0%; border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    background: linear-gradient(90deg, var(--purple), var(--purple-dark));
}
.units-progress-count {
    font-size: 12px; font-weight: 700; color: var(--mid-gray);
    min-width: 40px; text-align: right;
    transition: color 0.3s ease;
}
.units-progress-count.active { color: var(--course-dark); }
.units-progress-count.active-elective { color: var(--purple-dark); }

.units-table {
    width: 100%; border-collapse: collapse;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.units-table thead th {
    background: linear-gradient(135deg, var(--course), var(--course-dark));
    color: var(--white); padding: 14px 20px;
    font-size: 13px; font-weight: 600;
    text-align: left; text-transform: uppercase; letter-spacing: 0.06em;
}
.units-group:nth-child(2) .units-table thead th {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}
.units-table tbody td {
    padding: 14px 20px; font-size: 14px; color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray); background: var(--white);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.units-table tbody tr:last-child td { border-bottom: none; }
.units-table tbody tr {
    opacity: 0.35; transform: translateX(-12px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.units-table tbody tr.unit-active {
    opacity: 1; transform: translateX(0);
}
.units-table tbody tr.unit-active td { background: var(--white); }
.units-table tbody tr.unit-active td:first-child {
    color: var(--course-dark);
    box-shadow: inset 3px 0 0 var(--course);
}
.units-group:nth-child(2) .units-table tbody tr.unit-active td:first-child {
    color: var(--purple-dark);
    box-shadow: inset 3px 0 0 var(--purple);
}
.units-table tbody tr.unit-active:hover td { background: var(--course-pale); }
.unit-code {
    font-weight: 600; color: var(--course-dark);
    font-family: var(--font-body); white-space: nowrap;
}


/* ====================================================================
 * 18. COURSE HOW-IT-WORKS (4-card horizontal)
 * ==================================================================== */
.steps-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.step-card {
    background: var(--white); border: 1px solid var(--light-gray);
    border-radius: 20px; padding: 36px 28px;
    text-align: center; position: relative;
    transition: all 0.4s ease;
}
.step-card:hover {
    border-color: var(--course);
    box-shadow: 0 12px 40px rgba(11,127,212,0.1);
    transform: translateY(-4px);
}
.step-card-number {
    width: 56px; height: 56px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--course), var(--course-dark));
    color: var(--white);
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 6px 24px var(--course-glow);
}
.step-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.65; }
.step-card-arrow {
    position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
    color: var(--course); font-size: 20px; z-index: 2;
}
.step-card:last-child .step-card-arrow { display: none; }


/* ====================================================================
 * 19. CAREER OUTCOMES + SALARY CARD
 * ==================================================================== */
.careers-container { max-width: 1100px; margin: 0 auto; }
.careers-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: start;
}
.career-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.career-role {
    background: var(--white); border: 1px solid var(--light-gray);
    border-radius: 14px; padding: 18px 20px;
    display: flex; align-items: center; gap: 12px;
    transition: all 0.3s ease;
}
.career-role:hover {
    border-color: var(--course);
    box-shadow: 0 4px 20px rgba(11,127,212,0.08);
}
.career-role-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    background: var(--course-pale);
    display: flex; align-items: center; justify-content: center;
}
.career-role-icon svg { width: 18px; height: 18px; stroke: var(--course); fill: none; stroke-width: 2; }
.career-role h4 { font-size: 14px; font-weight: 600; color: var(--navy); }
.career-role p { font-size: 13px; color: var(--course-dark); font-weight: 600; }

.salary-card {
    background: linear-gradient(135deg, var(--course), var(--course-dark));
    border-radius: 20px; padding: 36px; color: var(--white);
}
.salary-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.salary-card-range {
    font-size: 42px; font-weight: 700; font-family: var(--font-display);
    margin-bottom: 8px;
}
.salary-card-note { font-size: 13px; opacity: 0.8; line-height: 1.6; }
.salary-disclaimer {
    margin-top: 24px; padding: 16px 20px; border-radius: 12px;
    background: rgba(0,0,0,0.06);
    font-size: 12px; line-height: 1.6;
    color: var(--mid-gray); font-style: italic;
}
.section-alt .salary-disclaimer { background: rgba(0,0,0,0.03); }


/* ====================================================================
 * 20. FEES & FUNDING
 * ==================================================================== */
.fees-container { max-width: 1100px; margin: 0 auto; }
.fees-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    align-items: start;
}
.fee-card {
    background: var(--white); border: 2px solid var(--course); border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(11,127,212,0.08);
}
.fee-card-header {
    background: linear-gradient(135deg, var(--course), var(--course-dark));
    padding: 24px 28px; color: var(--white);
}
.fee-card-header h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; opacity: 0.9; }
.fee-card-header .fee-amount { font-size: 42px; font-weight: 700; font-family: var(--font-display); }
.fee-card-header .fee-note { font-size: 13px; opacity: 0.75; }
.fee-card-body { padding: 28px; }
.fee-breakdown { margin-bottom: 20px; }
.fee-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
}
.fee-line:last-child { border-bottom: none; font-weight: 700; color: var(--navy); }
.fee-line span:first-child { color: var(--dark-gray); }
.fee-line span:last-child { font-weight: 600; color: var(--navy); }
.fee-payment-note { font-size: 13px; color: var(--mid-gray); line-height: 1.6; margin-top: 12px; }
.fee-payment-note strong { color: var(--course-dark); }

.subsidy-box {
    background: linear-gradient(135deg, rgba(14,165,160,0.06), rgba(14,165,160,0.02));
    border: 2px solid rgba(14,165,160,0.2);
    border-radius: 20px; padding: 32px;
}
.subsidy-box h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.subsidy-box p { font-size: 14px; color: var(--dark-gray); line-height: 1.7; margin-bottom: 14px; }
.subsidy-box a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.subsidy-box a:hover { color: var(--teal); }

.additional-costs { margin-top: 40px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.additional-costs h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.costs-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.cost-item {
    background: var(--white); border: 1px solid var(--light-gray);
    border-radius: 12px; padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
}
.section-alt .cost-item { background: var(--white); }
.cost-item-icon { color: var(--orange); font-size: 18px; flex-shrink: 0; }
.cost-item-text h4 { font-size: 13px; font-weight: 600; color: var(--navy); }
.cost-item-text p { font-size: 12px; color: var(--mid-gray); }

.refund-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 20px;
    font-size: 14px; color: var(--course); font-weight: 600;
    text-decoration: none;
}
.refund-link:hover { text-decoration: underline; }


/* ====================================================================
 * 21. ENTRY REQUIREMENTS
 * ==================================================================== */
.entry-container { max-width: 900px; margin: 0 auto; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.entry-card {
    background: var(--white); border: 1px solid var(--light-gray);
    border-radius: 16px; padding: 28px;
    transition: all 0.3s ease;
}
.entry-card:hover {
    border-color: var(--course);
    box-shadow: 0 8px 24px rgba(11,127,212,0.06);
}
.entry-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--course-pale);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.entry-card-icon svg { width: 22px; height: 22px; stroke: var(--course); fill: none; stroke-width: 2; }
.entry-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.entry-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.65; }


/* ====================================================================
 * 22. FAQ ACCORDION
 * ==================================================================== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--light-gray); border-radius: 14px;
    margin-bottom: 12px; overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}
.section-alt .faq-item { background: var(--white); }
.faq-item:hover { border-color: rgba(11,127,212,0.3); }
.faq-item.active {
    border-color: var(--course);
    box-shadow: 0 4px 20px rgba(11,127,212,0.06);
}
.faq-question {
    padding: 20px 24px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px; font-weight: 600; color: var(--navy);
    user-select: none; transition: all 0.3s ease;
}
.faq-question:hover { color: var(--course); }
.faq-icon {
    width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: var(--course-pale); color: var(--course);
    font-size: 18px; font-weight: 700;
    transition: all 0.3s ease;
}
.faq-item.active .faq-icon {
    background: var(--course); color: var(--white);
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 24px 20px; font-size: 14px;
    color: var(--dark-gray); line-height: 1.75;
}


/* ====================================================================
 * 23. CTA / ENQUIRY SECTION (dark navy)
 * ==================================================================== */
.cta-section {
    background: var(--navy);
    padding: 120px 48px;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(155,63,232,0.15), transparent 55%),
        radial-gradient(ellipse at 30% 70%, rgba(28,176,255,0.12), transparent 55%),
        radial-gradient(ellipse at 90% 80%, rgba(255,140,26,0.08), transparent 40%);
}
.cta-top-line {
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--blue-vivid), var(--purple-vivid), var(--pink), var(--orange), var(--blue-vivid));
    background-size: 200% 100%;
    animation: line-shimmer 4s linear infinite;
}
@keyframes line-shimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}
.cta-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
    align-items: center; position: relative; z-index: 1;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 48px); font-weight: 700;
    color: var(--white); line-height: 1.12; margin-bottom: 18px;
}
.cta-content p {
    font-size: 17px; color: rgba(255,255,255,0.6);
    line-height: 1.65; margin-bottom: 36px;
}
.cta-features { display: flex; flex-direction: column; gap: 14px; }
.cta-feature {
    display: flex; align-items: center; gap: 14px;
    color: rgba(255,255,255,0.8);
    font-size: 15px; font-weight: 500;
}
.cta-feature-check {
    width: 24px; height: 24px; min-width: 24px;
    background: linear-gradient(135deg, rgba(28,176,255,0.15), rgba(155,63,232,0.15));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-vivid); font-size: 12px; font-weight: 700;
    border: 1px solid rgba(28,176,255,0.1);
}

.cta-form {
    background: rgba(255,255,255,0.04); backdrop-filter: blur(24px);
    border: 1px solid rgba(28,176,255,0.1);
    border-radius: 28px; padding: 44px;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cta-form h3 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700; color: var(--white);
    margin-bottom: 28px;
}

/* Fluent Forms styling overrides — make form fields match the dark-glass card. */
.cta-form .ff-el-group label,
.cta-form .ff_form_instance_1 label {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 7px; letter-spacing: 0.03em;
    color: rgba(255,255,255,0.7) !important;
}
.cta-form .ff-el-input--content input,
.cta-form .ff-el-input--content select,
.cta-form .ff-el-input--content textarea {
    width: 100%; padding: 15px 18px;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    color: var(--white) !important; font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease; outline: none;
}
.cta-form .ff-btn-submit {
    width: 100%; padding: 17px;
    background: linear-gradient(135deg, var(--orange), var(--orange-vivid)) !important;
    color: var(--white) !important; border: none !important; border-radius: 14px !important;
    font-size: 16px; font-weight: 700; font-family: var(--font-body);
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 8px 30px var(--orange-glow); margin-top: 10px;
}
.cta-form .ff-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 45px var(--orange-glow); }

/* Native form-row + form-group fallback if Fluent Forms isn't installed. */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 7px; letter-spacing: 0.03em;
    color: rgba(255,255,255,0.7);
}
.form-group input, .form-group select {
    width: 100%; padding: 15px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    color: var(--white); font-size: 15px; font-family: var(--font-body);
    transition: all 0.3s ease; outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.45); }
.form-group input:focus, .form-group select:focus {
    border-color: var(--blue-light); background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 4px rgba(28,176,255,0.08), 0 0 30px rgba(28,176,255,0.05);
}
.form-group select option { background: var(--navy); color: var(--white); }

.form-submit {
    width: 100%; padding: 17px;
    background: linear-gradient(135deg, var(--orange), var(--orange-vivid));
    color: var(--white); border: none; border-radius: 14px;
    font-size: 16px; font-weight: 700; font-family: var(--font-body);
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 8px 30px var(--orange-glow);
    margin-top: 10px; position: relative; overflow: hidden;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 45px var(--orange-glow); }


/* ====================================================================
 * 24. PARTNERS
 * ==================================================================== */
.partners { background: var(--off-white); }
.partners-logos {
    max-width: 1000px; margin: 0 auto;
    display: flex; justify-content: center; align-items: center;
    gap: 40px; flex-wrap: wrap;
}
.partner-logo {
    padding: 16px 24px; min-width: 150px;
    height: auto; min-height: 65px;
    background: var(--white); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--light-gray);
    transition: all 0.4s ease;
    font-size: 13px; font-weight: 700; color: var(--mid-gray);
    line-height: 1.3;
}
.partner-logo:hover {
    box-shadow: 0 10px 30px rgba(11,127,212,0.12);
    transform: translateY(-4px);
    border-color: var(--blue); color: var(--blue);
}


/* ====================================================================
 * 25. FOOTER + MOBILE STICKY CTA
 * ==================================================================== */
.footer {
    background: var(--navy); padding: 80px 48px 36px;
    position: relative;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--blue-vivid), var(--purple-vivid), var(--pink), var(--orange), var(--blue-vivid));
    background-size: 200% 100%;
    animation: line-shimmer 6s linear infinite;
}
.footer-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 60px;
}
.footer-brand p {
    font-size: 14px; color: rgba(255,255,255,0.55);
    line-height: 1.7; margin-top: 16px; max-width: 300px;
}
.footer-col h4 {
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--blue-light), var(--purple-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a {
    font-size: 14px; color: rgba(255,255,255,0.6);
    text-decoration: none; transition: all 0.3s ease;
}
.footer-col ul li a:hover { color: var(--blue-vivid); }

.footer-bottom {
    max-width: 1100px; margin: 0 auto; padding-top: 32px;
    border-top: 1px solid rgba(28,176,255,0.06);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom p {
    font-size: 12px; color: rgba(255,255,255,0.45);
}
.footer-bottom a {
    color: rgba(255,255,255,0.45); text-decoration: none;
}
.footer-bottom a:hover { color: var(--blue-vivid); }

.footer-acknowledgement {
    max-width: 1100px; margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-acknowledgement p {
    font-size: 11px; color: rgba(255,255,255,0.55);
    line-height: 1.7; text-align: center;
}

/* Mobile sticky CTA — hidden on desktop, fixed bottom bar on phones. */
.mobile-sticky-cta {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 999;
    padding: 12px 16px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--light-gray);
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-sticky-btn {
    flex: 1; padding: 14px; text-align: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-vivid));
    color: white; border-radius: 12px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    box-shadow: 0 4px 16px var(--orange-glow);
}
.mobile-sticky-call {
    width: 50px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue); border-radius: 12px;
    font-size: 20px; text-decoration: none;
}


/* ====================================================================
 * 26. FLOATING ENQUIRE BUTTON (course pages)
 * ==================================================================== */
.float-enquire {
    position: fixed; bottom: 28px; right: 28px;
    z-index: 999;
    background: linear-gradient(135deg, var(--orange), var(--orange-vivid));
    color: var(--white); padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700; font-size: 14px; text-decoration: none;
    border: none; cursor: pointer;
    box-shadow: 0 6px 30px var(--orange-glow), 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-body);
}
.float-enquire:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px var(--orange-glow);
}
.float-enquire svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }


/* ====================================================================
 * 27. POLICY CONTENT LAYOUT
 * ==================================================================== */
.policy-container { max-width: 900px; margin: 0 auto; }
.policy-container h2 {
    font-family: var(--font-display); font-size: 28px; font-weight: 700;
    color: var(--navy); margin: 40px 0 20px;
}
.policy-container h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--navy); margin: 32px 0 16px;
}
.policy-container p {
    font-size: 16px; line-height: 1.8; color: var(--dark-gray);
    margin-bottom: 18px;
}
.policy-container ul, .policy-container ol {
    margin: 0 0 24px 24px;
}
.policy-container li {
    font-size: 15px; line-height: 1.7; color: var(--dark-gray);
    margin-bottom: 8px;
}
.policy-container a { color: var(--blue); font-weight: 600; }


/* ====================================================================
 * 28. SEARCH FORM
 * ==================================================================== */
.aisc-searchform {
    display: flex; gap: 8px;
    max-width: 480px;
}
.aisc-search-input {
    flex: 1; padding: 12px 16px;
    border: 1px solid var(--light-gray); border-radius: 10px;
    font-size: 14px; font-family: var(--font-body);
    background: white; color: var(--text);
}
.aisc-search-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(11,127,212,0.12);
}
.aisc-search-submit {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white; border: none; border-radius: 10px;
    font-weight: 600; font-size: 14px;
    cursor: pointer;
}


/* ====================================================================
 * 29. RESPONSIVE — 1024 / 900 / 480 breakpoints
 * ==================================================================== */
@media (max-width: 1024px) {
    .overview-grid, .careers-grid, .fees-grid, .cta-inner { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-card-arrow { display: none !important; }
    .quick-facts-inner { grid-template-columns: repeat(3, 1fr); }
    .quick-fact:nth-child(n+4) { border-top: 1px solid var(--light-gray); }
}

@media (max-width: 900px) {
    .nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .portal-wrap { margin-left: 0; }
    .portal-dropdown { right: -8px; width: 240px; }

    .section { padding: 72px 20px; }
    .cta-section { padding: 72px 20px; }
    .course-hero { padding: 120px 20px 60px; }

    .trust-bar { padding: 40px 20px; }
    .trust-bar-inner { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .trust-badges { gap: 10px; }

    .courses-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .about-values-grid { grid-template-columns: 1fr !important; }
    .about-features-grid { grid-template-columns: 1fr 1fr !important; }
    .testimonials-track { grid-template-columns: 1fr; gap: 20px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .form-row { grid-template-columns: 1fr; }

    .hero-logo { width: 120px; height: 120px; }
    .hero-logo-wrap::before { width: 200px; height: 200px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 16px; margin-bottom: 32px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .scroll-indicator { display: none; }
    .hero-content { padding-bottom: 40px; }

    .step { gap: 20px; margin-bottom: 40px; }
    .step-number { width: 60px; height: 60px; min-width: 60px; font-size: 22px; border-radius: 16px; }

    .course-card-meta { gap: 12px; }

    .quick-facts-inner { grid-template-columns: repeat(2, 1fr); }
    .quick-fact { padding: 20px 16px; }
    .steps-grid { grid-template-columns: 1fr; }
    .career-roles { grid-template-columns: 1fr; }
    .entry-grid { grid-template-columns: 1fr; }
    .overview-highlights { grid-template-columns: 1fr; }
    .costs-grid { grid-template-columns: 1fr; }
    .course-hero h1 { font-size: 32px; }

    .mobile-sticky-cta { display: flex; }
    .float-enquire { display: none; }
}

@media (max-width: 480px) {
    .trust-bar-inner { grid-template-columns: 1fr; gap: 12px; }
    .trust-stat-number { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .partners-logos { gap: 16px; }
    .partner-logo { min-width: 100px; padding: 12px 16px; font-size: 11px; }
    .hero h1, .policy-hero h1, .course-hero h1 { font-size: 32px; }
    .section, .cta-section { padding: 48px 16px; }
    .nav { padding: 0 16px; }
    .nav-logo-text { font-size: 17px; }
    .nav-logo-sub { font-size: 8px; }
    .quick-facts-inner { grid-template-columns: 1fr; }
    .cta-form { padding: 24px; }
}


/* ====================================================================
 * 30. WORDPRESS ADMIN BAR
 * ==================================================================== */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .nav { top: 46px; }
}
