        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --maroon: #750014;
            --maroon-light: #8C1028;
            --maroon-dark: #5A0010;
            --navy: #172336;
            --navy-light: #1E2D44;
            --navy-dark: #0F1826;
            --pink-light: #FFF0F1;
            --blue-light: #F0F6FF;
            --white: #ffffff;
            --black: #000000;
            --gray-50: #F9FAFB;
            --gray-100: #F3F4F6;
            --gray-200: #E5E7EB;
            --gray-300: #D1D5DB;
            --gray-400: #9CA3AF;
            --gray-500: #6B7280;
            --gray-600: #4B5563;
            --gray-700: #374151;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
            --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --radius-xl: 20px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        html { scroll-behavior: smooth; }

/* overflow-x lives on html, not body — sticky-positioned descendants (header,
   tab bar) break in most browsers when overflow-x is set on body, since it
   implicitly forces overflow-y into a scrolling context there too. html
   doesn't have that side effect and still stops the same horizontal scroll. */
html { overflow-x: hidden; }

/* Soft light-blue-to-white gradient for light-background page hero/intro
   sections (Courses, News, Careers listings) — replaces flat white with a
   bit of depth without competing with the dark navy heroes used elsewhere. */
.page-hero-gradient { background: linear-gradient(180deg, #EDF3FE 0%, #FFFFFF 65%); }

/* ===== Custom dropdowns (site-wide) =====
   Strips the native OS control and replaces it with a branded chevron +
   consistent border/hover/focus states, so every <select> on the public
   site (bootcamps, corporate training, contact, register, studio, careers)
   looks the same regardless of browser defaults. */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23172336' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5,7.5 10,12.5 15,7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 15px;
    padding-right: 40px !important;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
select:hover { border-color: var(--gray-400); }
select:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(117, 0, 20, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23750014' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5,7.5 10,12.5 15,7.5'/%3E%3C/svg%3E");
}
select:disabled { cursor: not-allowed; opacity: 0.6; }
select option { color: var(--navy); }
select::-ms-expand { display: none; }

/* ===== Custom scrollbar (site-wide) ===== */
html { scrollbar-width: thin; scrollbar-color: var(--maroon) var(--gray-100); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--maroon); border-radius: 20px; border: 2px solid var(--gray-100); }
::-webkit-scrollbar-thumb:hover { background: var(--maroon-light); }
::-webkit-scrollbar-button { display: none; height: 0; width: 0; }
::-webkit-scrollbar-corner { background: var(--gray-100); }


        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--white);
            color: var(--black);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            -webkit-text-size-adjust: 100%;
        }

        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

        /* ========== TOP BAR ========== */
        .top-bar {
            background: var(--navy);
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
        .top-bar-left { display: flex; gap: 28px; align-items: center; }
        .top-bar-left a { color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500; letter-spacing: 0.2px; }
        .top-bar-left a:hover { color: var(--white); }
        .top-bar-right { display: flex; gap: 20px; align-items: center; }
        .top-bar-right .lang-switch { color: rgba(255,255,255,0.65); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 500; }
        .top-bar-right .lang-switch i { font-size: 12px; }
        .top-bar-right .auth-links { display: flex; align-items: center; gap: 4px; }
        .top-bar-right .auth-links a { color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500; }
        .top-bar-right .auth-links a:hover { color: var(--white); }
        .top-bar-right .auth-links .separator { color: rgba(255,255,255,0.25); margin: 0 2px; }

        /* ========== HEADER ========== */
        .header {
            background: var(--white);
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06);
            transition: var(--transition);
        }
        .header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
        .header .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }

        .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .logo-image { height: 46px; width: auto; display: block; }
        .logo-icon {
            width: 42px; height: 42px; background: var(--maroon); border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
        }
        .logo-icon i { color: var(--white); font-size: 18px; }
        .logo-text { display: flex; flex-direction: column; line-height: 1.15; }
        .logo-text .brand { font-size: 16px; font-weight: 800; color: var(--maroon); letter-spacing: 0.8px; }
        .logo-text .tagline { font-size: 9px; font-weight: 700; color: var(--navy); letter-spacing: 2.5px; text-transform: uppercase; }

        .header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

        /* ========== NAV — hairline hover that lives at the bottom of the 72px nav bar ========== */
        .nav-menu { display: flex; align-items: center; gap: 32px; margin-right: 20px; height: 72px; }
        .nav-menu > li { position: relative; height: 100%; display: flex; align-items: center; }

        .nav-menu > li > a {
            font-size: 15px; font-weight: 600; color: var(--navy);
            position: relative; padding: 0; letter-spacing: 0.1px;
            display: flex; align-items: center; gap: 6px;
            height: 100%;
        }

        /* Hairline sits flush at the very bottom edge of the 72px header */
        .nav-menu > li > a::after {
            content: '';
            position: absolute;
            bottom: 0;          /* flush with bottom of header */
            left: 0;
            width: 0;
            height: 2px;
            background: var(--maroon);
            transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px 2px 0 0;
        }
        .nav-menu > li > a:hover::after,
        .nav-menu > li > a.active::after { width: 100%; }
        .nav-menu > li > a:hover { color: var(--maroon); }
        .nav-menu > li > a.active { color: var(--maroon); }
        .nav-menu > li > a .chevron { font-size: 10px; transition: transform 0.25s ease; }

        .nav-item-has-mega {
            padding-bottom: 0;
            margin-bottom: 0;
        }

        .nav-item-has-mega:hover > a .chevron {
            transform: rotate(180deg);
            color: var(--maroon);
        }

        .nav-item-has-mega:hover > a {
            color: var(--maroon);
        }

        .mega-menu {
            position: fixed;
            left: 0;
            right: 0;
            width: 100%;
            background: var(--white);
            z-index: 950;
            border-top: 1px solid var(--maroon);
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            display: flex;
            justify-content: center;
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateY(-10px);
            transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1),
                        transform 0.3s cubic-bezier(0.4,0,0.2,1),
                        visibility 0.3s;
        }

        .nav-item-has-mega:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

        .mega-inner {
            display: grid;
            grid-template-columns: 260px 1fr 280px;
            width: 100%;
            max-width: 1400px;
            padding: 32px 32px;
            gap: 40px;
            /* This is the actual fix for the old overflow bug: .mega-menu is a flex
               container with a fixed height + overflow-y:auto, but flex/grid children
               default to min-height:auto, which lets their content ignore the parent's
               height and overflow bounds. Pinning min-height:0 here forces the child
               to respect the parent's height so the scrollbar (not viewport overflow)
               takes over on short screens. JS max-height patches never fixed this
               because the root cause was this CSS default, not the measured height. */
            min-height: 0;
        }

        .mm-left {
            padding: 0 24px 0 0;
            border-right: 1px solid var(--gray-200);
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .mm-section-label {
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--navy);
            margin-bottom: 16px;
        }

        .mm-paths { display: flex; flex-direction: column; gap: 0; }

        .mm-path {
            display: flex; align-items: center; gap: 10px;
            padding: 7px 0; border-radius: 0;
            transition: var(--transition); text-decoration: none;
            background: transparent;
        }

        .mm-path-icon {
            width: 28px; height: 28px; border-radius: 6px;
            background: var(--gray-100);
            display: flex; align-items: center; justify-content: center;
            font-size: 12px; color: var(--maroon);
            flex-shrink: 0; transition: var(--transition);
        }
        .mm-path:hover .mm-path-icon { background: var(--maroon); color: var(--white); }

        .mm-path-label {
            font-size: 14px; font-weight: 500;
            color: var(--navy); transition: color 0.2s;
        }
        .mm-path:hover .mm-path-label { color: var(--maroon); }

        .mm-chips { display: flex; flex-wrap: wrap; gap: 10px; }

        .mm-chip {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 8px 14px; border-radius: 20px;
            border: 1px solid var(--gray-200);
            font-size: 13px; font-weight: 600; color: var(--navy);
            background: var(--white); transition: var(--transition);
            text-decoration: none; cursor: pointer;
        }
        .mm-chip i { font-size: 11px; color: var(--gray-500); }
        .mm-chip:hover { 
            border-color: var(--maroon); 
            color: var(--maroon); 
            background: var(--pink-light); 
        }
        .mm-chip:hover i { color: var(--maroon); }

        .mm-browse {
            display: flex; align-items: center; justify-content: center;
            gap: 8px; padding: 12px 20px;
            background: var(--maroon); color: var(--white);
            border-radius: 8px; font-size: 13px; font-weight: 700;
            transition: var(--transition); text-decoration: none;
            align-self: flex-start; 
        }
        .mm-browse:hover { 
            background: var(--maroon-light); 
            box-shadow: 0 5px 16px rgba(117,0,20,0.3); 
            transform: translateY(-1px); 
        }
        .mm-browse i { font-size: 14px; }

        .mm-center {
            padding: 0 24px;
            display: flex; flex-direction: column;
        }

        .mm-center-head {
            display: flex; align-items: center;
            justify-content: space-between; margin-bottom: 24px;
        }

        .mm-view-all {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 14px; font-weight: 700; color: var(--maroon);
            transition: gap 0.2s; text-decoration: none;
        }
        .mm-view-all:hover { gap: 10px; }

        .mm-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .mm-card {
            display: flex; flex-direction: column;
            padding: 20px;
            border-radius: 12px;
            border: 1px solid var(--gray-200);
            background: var(--white);
            text-decoration: none;
            transition: var(--transition);
        }
        .mm-card:hover {
            border-color: var(--maroon);
            box-shadow: 0 8px 24px rgba(117,0,20,0.12);
            transform: translateY(-2px);
        }

        .mm-card.c-maroon:hover { background: var(--pink-light); border-color: var(--maroon); }
        .mm-card.c-navy:hover { background: var(--blue-light); border-color: var(--navy); }
        .mm-card.c-navy-light:hover { background: var(--gray-50); border-color: var(--navy-light); }
        .mm-card.c-maroon-dark:hover { background: var(--pink-light); border-color: var(--maroon-dark); }

        .mm-card-top {
            display: flex; align-items: flex-start;
            justify-content: space-between; margin-bottom: 14px;
        }

        .mm-thumb {
            width: 44px; height: 44px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; background: var(--maroon);
        }
        .mm-thumb.maroon { background: var(--maroon); }
        .mm-thumb.navy { background: var(--navy); }
        .mm-thumb.navy-light { background: var(--navy-light); }
        .mm-thumb.maroon-light { background: var(--maroon-light); }
        .mm-thumb i { color: var(--white); font-size: 18px; }

        .mm-badge {
            font-size: 11px; font-weight: 700;
            padding: 4px 10px; border-radius: 20px; letter-spacing: 0.3px;
        }
        .mm-badge.self { background: var(--blue-light); color: var(--navy); }
        .mm-badge.inst { background: var(--pink-light); color: var(--maroon); }

        .mm-card-title {
            font-size: 15px; font-weight: 700;
            color: var(--navy); line-height: 1.3; margin-bottom: 8px;
        }
        .mm-card-desc {
            font-size: 13px; color: var(--gray-600);
            line-height: 1.6; flex: 1; margin-bottom: 14px;
            font-weight: 500;
        }
        .mm-card-foot {
            display: flex; align-items: center;
            justify-content: space-between;
        }
        .mm-enroll {
            display: flex; align-items: center; gap: 5px;
            font-size: 12px; color: var(--gray-500); font-weight: 600;
        }
        .mm-enroll i { font-size: 11px; color: var(--maroon); }
        .mm-arrow {
            width: 28px; height: 28px; border-radius: 6px;
            background: var(--gray-100); display: flex;
            align-items: center; justify-content: center;
            font-size: 11px; color: var(--gray-500);
            transition: var(--transition);
        }
        .mm-card:hover .mm-arrow { background: var(--maroon); color: var(--white); }

        .mm-right {
            background: var(--navy);
            padding: 32px;
            display: flex; flex-direction: column;
        }

        .mm-right-eyebrow {
            font-size: 11px; font-weight: 800; letter-spacing: 2px;
            text-transform: uppercase; color: rgba(255,255,255,0.4);
            margin-bottom: 12px;
        }

        .mm-right-title {
            font-size: 20px; font-weight: 700; color: var(--white);
            line-height: 1.3; margin-bottom: 12px;
        }
        .mm-right-desc {
            font-size: 14px; color: rgba(255,255,255,0.6);
            line-height: 1.6; margin-bottom: 20px;
            font-weight: 500;
        }
        .mm-right-link {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 14px; font-weight: 700; color: var(--white);
            transition: gap 0.2s; text-decoration: none; margin-bottom: 28px;
            padding-bottom: 2px;
            border-bottom: 1px solid transparent;
        }
        .mm-right-link:hover { 
            gap: 12px; 
            border-bottom-color: var(--white);
        }

        .mm-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 24px; }

        .mm-links-label {
            font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
            text-transform: uppercase; color: rgba(255,255,255,0.35);
            margin-bottom: 16px;
        }

        .mm-links { display: flex; flex-direction: column; gap: 2px; }

        .mm-link {
            display: flex; align-items: center; gap: 11px;
            padding: 9px 10px 9px 8px; border-radius: 6px;
            border-left: 2px solid transparent;
            font-size: 13.5px; font-weight: 600;
            color: rgba(255,255,255,0.7);
            transition: var(--transition); text-decoration: none;
        }
        .mm-link:hover { 
            background: rgba(255,255,255,0.08); 
            color: var(--white); 
            border-left-color: var(--maroon-light, #B8253B);
        }
        .mm-link i { 
            font-size: 12.5px; width: 16px; text-align: center; flex-shrink: 0;
            color: rgba(255,255,255,0.4); 
            transition: color 0.2s; 
        }
        .mm-link:hover i { color: rgba(255,255,255,0.9); }

        @media (max-width: 1024px) {
            .mega-inner { grid-template-columns: 1fr; }
            .mm-right { display: none; }
            .mm-left { border-right: none; padding: 0 24px; }
            .mm-center { padding: 0 24px; }
        }

        /* ========== Search Icon Button ========== */
        .search-icon-btn {
            width: 40px; height: 40px; border-radius: 50px;
            background: var(--gray-50); border: 1px solid var(--gray-200);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: var(--transition); flex-shrink: 0;
        }
        .search-icon-btn i { color: var(--gray-400); font-size: 15px; transition: var(--transition); }
        .search-icon-btn:hover { background: var(--white); border-color: var(--maroon); }
        .search-icon-btn:hover i { color: var(--maroon); }

        .nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center;
            gap: 8px; padding: 10px 24px; border-radius: 50px;
            font-size: 14px; font-weight: 600; cursor: pointer; border: none;
            transition: var(--transition); white-space: nowrap; font-family: 'Inter', sans-serif;
        }
        .btn-primary { background: var(--maroon); color: var(--white); }
        .btn-primary:hover { background: var(--maroon-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(117,0,20,0.35); }
        .btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
        .btn-secondary:hover { background: var(--navy); color: var(--white); }
        .btn-outline-maroon { background: transparent; color: var(--maroon); border: 1px solid var(--maroon); }
        .btn-outline-maroon:hover { background: var(--maroon); color: var(--white); }
        .btn-white { background: var(--white); color: var(--navy); }
        .btn-white:hover { background: var(--blue-light); transform: translateY(-1px); }
        .btn-lg { padding: 14px 32px; font-size: 15px; }
        .btn-sm { padding: 8px 18px; font-size: 13px; }

        .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; flex-shrink: 0; }
        .hamburger span { width: 22px; height: 2px; background: var(--navy); transition: var(--transition); border-radius: 2px; }

        /* ========== SEARCH OVERLAY ========== */
        .search-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(15,24,38,0.7); z-index: 3000;
            display: flex; align-items: flex-start; justify-content: center;
            padding-top: 110px; opacity: 0; visibility: hidden;
            transition: var(--transition); backdrop-filter: blur(6px);
        }
        .search-overlay.open { opacity: 1; visibility: visible; }
        .search-overlay-content {
            background: var(--white); border-radius: var(--radius-lg); padding: 8px;
            width: 92%; max-width: 620px; box-shadow: 0 30px 70px rgba(15,24,38,0.35);
            transform: translateY(-16px) scale(0.98); transition: var(--transition);
        }
        .search-overlay.open .search-overlay-content { transform: translateY(0) scale(1); }
        .search-overlay-content .search-input-wrap { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
        .search-overlay-content .search-input-wrap i { color: var(--maroon); font-size: 18px; flex-shrink: 0; }
        .search-overlay-content input { flex: 1; border: none; outline: none; font-size: 17px; font-family: 'Inter', sans-serif; color: var(--navy); font-weight: 500; background: transparent; }
        .search-overlay-content input::placeholder { color: var(--gray-400); font-weight: 400; }
        .search-kbd { font-size: 11px; font-weight: 700; color: var(--gray-400); border: 1px solid var(--gray-200); border-radius: 4px; padding: 3px 7px; flex-shrink: 0; }
        .search-overlay-content .search-close { width: 34px; height: 34px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; color: var(--gray-500); font-size: 13px; transition: var(--transition); flex-shrink: 0; }
        .search-overlay-content .search-close:hover { background: var(--gray-200); color: var(--navy); }
        .search-suggestions { border-top: 1px solid var(--gray-100); padding: 16px 20px 8px; }
        .search-suggestions .suggestion-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 10px; }
        .search-suggestions a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--navy); font-weight: 500; transition: var(--transition); }
        .search-suggestions a:hover { background: var(--pink-light); color: var(--maroon); }
        .search-suggestions a i { color: var(--gray-400); font-size: 14px; width: 20px; text-align: center; }

        /* Live search results */
        .search-results { border-top: 1px solid var(--gray-100); padding: 8px; max-height: 400px; overflow-y: auto; display: none; }
        .search-results.active { display: block; }
        .search-result-item { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: var(--radius-sm); transition: var(--transition); text-decoration: none; }
        .search-result-item:hover { background: var(--pink-light); }
        .search-result-thumb {
            width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--pink-light);
            color: var(--maroon); display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; overflow: hidden; font-size: 16px;
        }
        .search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .search-result-info { flex: 1; min-width: 0; }
        .search-result-title { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .search-result-meta { font-size: 12px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
        .search-result-meta .cat-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); }
        .search-result-item .fa-arrow-right { color: var(--gray-300); font-size: 12px; transition: var(--transition); flex-shrink: 0; }
        .search-result-item:hover .fa-arrow-right { color: var(--maroon); transform: translateX(3px); }
        .search-loading, .search-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 36px 20px; color: var(--gray-400); font-size: 13.5px; text-align: center; }
        .search-spinner { width: 18px; height: 18px; border: 2px solid var(--gray-200); border-top-color: var(--maroon); border-radius: 50%; animation: search-spin 0.6s linear infinite; }
        @keyframes search-spin { to { transform: rotate(360deg); } }
        .search-empty i { font-size: 24px; color: var(--gray-300); }
        .search-view-all {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            padding: 13px; margin-top: 4px; border-top: 1px solid var(--gray-100);
            font-size: 13px; font-weight: 600; color: var(--maroon); text-decoration: none;
        }
        .search-view-all:hover { background: var(--pink-light); }

        /* ========== CHAT WIDGET ========== */
        .chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 4000; }
        .chat-toggle-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--maroon); border: none; color: var(--white); font-size: 24px; cursor: pointer; box-shadow: 0 4px 20px rgba(117,0,20,0.4); transition: var(--transition); display: flex; align-items: center; justify-content: center; position: relative; }
        .chat-toggle-btn:hover { transform: scale(1.05); background: var(--maroon-light); }
        .chat-toggle-btn .notification-badge { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; background: #EF4444; border-radius: 50%; border: 1px solid var(--white); }
        .chat-window { position: absolute; bottom: 76px; right: 0; width: 380px; max-width: calc(100vw - 48px); height: 520px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.2); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: var(--transition); }
        .chat-window.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
        .chat-header { background: var(--navy); color: var(--white); padding: 20px; display: flex; align-items: center; justify-content: space-between; }
        .chat-header-info { display: flex; align-items: center; gap: 12px; }
        .chat-header-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--maroon); display: flex; align-items: center; justify-content: center; font-size: 18px; }
        .chat-header-text h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
        .chat-header-text p { font-size: 12px; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
        .chat-header-text .online-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; display: inline-block; }
        .chat-close-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); border: none; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
        .chat-close-btn:hover { background: rgba(255,255,255,0.2); }
        .chat-messages { flex: 1; overflow-y: auto; padding: 20px; background: var(--gray-50); }
        .chat-message { margin-bottom: 16px; display: flex; flex-direction: column; }
        .chat-message.bot { align-items: flex-start; }
        .chat-message.user { align-items: flex-end; }
        .chat-message-content { max-width: 80%; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.5; animation: messageSlide 0.3s ease; }
        @keyframes messageSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .chat-message.bot .chat-message-content { background: var(--white); color: var(--navy); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .chat-message.user .chat-message-content { background: var(--maroon); color: var(--white); border-bottom-right-radius: 4px; }
        .chat-message-time { font-size: 11px; color: var(--gray-400); margin-top: 4px; padding: 0 4px; }
        .chat-typing { display: flex; gap: 4px; padding: 12px 16px; background: var(--white); border-radius: var(--radius-md); border-bottom-left-radius: 4px; width: fit-content; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .chat-typing span { width: 8px; height: 8px; background: var(--gray-400); border-radius: 50%; animation: typing 1.4s infinite; }
        .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
        .chat-typing span:nth-child(3) { animation-delay: 0.4s; }
        @keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.6; } 30% { transform: translateY(-10px); opacity: 1; } }
        .chat-input-area { padding: 16px 20px; background: var(--white); border-top: 1px solid var(--gray-200); display: flex; gap: 12px; align-items: center; }
        .chat-input { flex: 1; border: 1px solid var(--gray-200); border-radius: 50px; padding: 12px 20px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; transition: var(--transition); }
        .chat-input:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(117,0,20,0.1); }
        .chat-send-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); border: none; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
        .chat-send-btn:hover { background: var(--maroon-light); transform: scale(1.05); }
        .chat-send-btn:active { transform: scale(0.95); }

        /* ========== HERO SECTION ========== */
        .hero {
            background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
            padding: 80px 0 100px; position: relative; overflow: hidden;
        }
        .hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(117,0,20,0.04) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
        .hero-content { 
            text-align: center; 
            max-width: 720px; 
            margin: 0 auto; 
            position: relative; 
            z-index: 1; 
        }
        .hero-badge { 
            display: inline-flex; align-items: center; gap: 8px; 
            background: var(--pink-light); color: var(--maroon); 
            padding: 10px 24px; border-radius: 50px; 
            font-size: 14px; font-weight: 700; 
            margin-bottom: 32px; 
            border: 1px solid rgba(117,0,20,0.08); 
        }
        .hero-badge i { font-size: 14px; color: var(--maroon); }
        .hero-headline { 
            font-size: 48px; font-weight: 800; 
            color: var(--navy); line-height: 1.2; 
            margin-bottom: 24px; letter-spacing: -0.5px; 
            -webkit-font-smoothing: antialiased; 
        }
        .hero-headline span { color: var(--maroon); }
        .hero-subtitle { 
            font-size: 18px; color: var(--black); 
            max-width: 640px; margin: 0 auto 40px; 
            line-height: 1.7; font-weight: 500; 
            -webkit-font-smoothing: antialiased; 
        }
        .hero-cta-buttons { 
            display: flex; gap: 16px; justify-content: center; 
            flex-wrap: wrap; 
        }
        .hero-cta-buttons .btn { 
            min-width: 200px; font-size: 15px; font-weight: 600; 
            padding: 16px 32px; border-radius: 50px; 
        }
        .hero-cta-buttons .btn-filled { 
            background: var(--maroon); color: var(--white); 
            border: 1px solid var(--maroon); 
        }
        .hero-cta-buttons .btn-filled:hover { 
            background: var(--maroon-light); border-color: var(--maroon-light); 
            transform: translateY(-2px); box-shadow: 0 6px 20px rgba(117,0,20,0.3); 
        }
        .hero-cta-buttons .btn-outline-navy { 
            background: transparent; color: var(--navy); 
            border: 1px solid var(--navy); 
        }
        .hero-cta-buttons .btn-outline-navy:hover { 
            background: var(--navy); color: var(--white); 
            transform: translateY(-2px); 
        }
        .hero-cta-buttons .btn-outline-maroon { 
            background: transparent; color: var(--maroon); 
            border: 1px solid var(--maroon); 
        }
        .hero-cta-buttons .btn-outline-maroon:hover { 
            background: var(--maroon); color: var(--white); 
            transform: translateY(-2px); 
        }

        /* ========== SECTION HEADERS ========== */
        .section-header { margin-bottom: 48px; }
        .section-header h2 { 
            font-size: 38px; font-weight: 800; 
            color: var(--black); margin-bottom: 8px; 
            letter-spacing: -0.3px; -webkit-font-smoothing: antialiased; 
        }
        .section-header h2 span { color: var(--maroon); }
        /* Wider paragraph text across all sections */
        .section-header p { font-size: 16px; color: var(--black); max-width: 760px; line-height: 1.75; }

        /* ========== TRENDING COURSES ========== */
        .trending-courses { padding: 80px 0; background: var(--white); }
        .trending-courses .container > .section-header { margin-bottom: 40px; }
        .courses-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
        .course-column { background: var(--blue-light); border-radius: var(--radius-lg); padding: 32px; }
        .course-column-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
        .course-column-header h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
        .course-column-header a { color: var(--maroon); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
        .course-column-header a:hover { opacity: 0.7; }
        .course-list { display: flex; flex-direction: column; gap: 12px; }
        .course-item { 
            background: var(--white); border-radius: var(--radius-sm); 
            padding: 18px; display: flex; align-items: center; gap: 16px; 
            transition: var(--transition); cursor: pointer; 
            box-shadow: 0 1px 4px rgba(0,0,0,0.04); border: 1px solid transparent; 
        }
        .course-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); border-color: rgba(117,0,20,0.1); transform: translateY(-1px); }
        .course-item-thumb { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--gray-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .course-item-thumb i { color: var(--maroon); font-size: 20px; }
        .course-item-info { min-width: 0; }
        .course-item-info h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .course-item-info .meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--gray-400); }
        .course-item-info .meta .stars { color: #F59E0B; font-size: 11px; }
        .course-ad { background: var(--maroon); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white); padding: 40px; cursor: pointer; transition: var(--transition); min-height: 360px; position: relative; overflow: hidden; text-decoration: none; }
        .course-ad:hover { background: var(--maroon-light); }
        .course-ad i.main-icon { font-size: 52px; margin-bottom: 24px; opacity: 0.15; }
        .course-ad h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
        .course-ad p { font-size: 14px; opacity: 0.7; margin-bottom: 28px; line-height: 1.5; }
        .course-ad .ad-link { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--white); opacity: 0.8; transition: var(--transition); }
        .course-ad:hover .ad-link { opacity: 1; gap: 10px; }
        /* Custom ad with a background photo — same gradient-overlay technique as course hero banners. */
        .course-ad-bg { position: absolute; inset: 0; background-size: var(--hero-image-fit, cover); background-position: center; z-index: 0; transition: transform 0.5s ease; }
        .course-ad--custom:hover .course-ad-bg { transform: scale(1.04); }
        .course-ad--custom::before {
            content: ''; position: absolute; inset: 0; z-index: 1;
            background: linear-gradient(var(--hero-overlay-angle, 100deg),
                rgba(var(--hero-overlay-rgb, 117,0,20), var(--hero-overlay-1, 0.92)) 0%,
                rgba(var(--hero-overlay-rgb, 117,0,20), var(--hero-overlay-2, 0.75)) 50%,
                rgba(var(--hero-overlay-rgb, 117,0,20), var(--hero-overlay-3, 0.3)) 100%);
        }
        .course-ad-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

        /* ========== ARE YOU READY ========== */
        .ready-section { padding: 80px 0; background: var(--white); }
        .ready-top { 
            display: flex; justify-content: space-between; align-items: flex-start; 
            margin-bottom: 56px; gap: 48px; 
        }
        .ready-text { flex: 1; }
        .ready-text h2 { 
            font-size: 56px; font-weight: 800; 
            color: var(--navy); line-height: 1.1; 
            margin-bottom: 16px; 
        }
        .ready-text h2 strong { font-weight: 900; color: var(--maroon); }
        .ready-text p { 
            font-size: 18px; color: var(--black); 
            font-weight: 500; line-height: 1.6;
        }
        .ready-links { 
            display: flex; flex-direction: column; gap: 0; 
            flex: 1; max-width: 520px; 
        }
        .ready-link-item { 
            display: flex; align-items: center; justify-content: space-between; 
            font-size: 16px; font-weight: 700; color: var(--navy); 
            padding: 20px 0; border-bottom: 1px solid var(--gray-200); 
            cursor: pointer; transition: var(--transition); 
            text-transform: uppercase; letter-spacing: 0.5px; 
        }
        .ready-link-item:first-child { border-top: 1px solid var(--gray-200); }
        .ready-link-item:hover { color: var(--maroon); padding-left: 8px; }
        .ready-link-item i { color: var(--maroon); font-size: 14px; transition: var(--transition); }
        .ready-link-item:hover i { transform: translateX(4px); }
        .ready-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
        .ready-card { 
            border-radius: var(--radius-lg); padding: 48px; 
            position: relative; overflow: hidden; 
            transition: var(--transition); 
            display: flex; flex-direction: column;
            box-shadow: 0 16px 40px -12px rgba(15,24,38,0.25);
            border: 1px solid rgba(255,255,255,0.06);
        }
        .ready-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(15,24,38,0.35); }
        .ready-card.dark { background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%); color: var(--white); }
        .ready-card.maroon { background: linear-gradient(135deg, var(--maroon-light) 0%, var(--maroon-dark) 100%); color: var(--white); }
        /* Large, faint icon watermark in the corner for visual texture without clutter */
        .ready-card::after {
            content: '\f19d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
            position: absolute; top: -30px; right: -20px; font-size: 180px; line-height: 1;
            color: rgba(255,255,255,0.06); pointer-events: none; z-index: 0;
        }
        .ready-card.maroon::after { content: '\f1ad'; }
        .ready-card > * { position: relative; z-index: 1; }
        .ready-card-eyebrow {
            display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
            font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
            color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08);
            padding: 7px 14px; border-radius: 50px; margin-bottom: 20px;
        }
        .ready-card-eyebrow i { font-size: 11px; }
        .ready-card h3 { 
            font-size: 26px; font-weight: 800; 
            margin-bottom: 16px; letter-spacing: -0.3px; 
        }
        .ready-card h3 u { text-decoration: none; position: relative; }
        .ready-card h3 u::after {
            content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
            height: 3px; background: rgba(255,255,255,0.4); border-radius: 2px;
        }
        .ready-card p { 
            font-size: 15px; line-height: 1.75; opacity: 0.8; 
            margin-bottom: 28px; max-width: 360px; font-weight: 400; 
        }
        .ready-card .discount-badge { 
            position: absolute; bottom: 32px; right: 32px; 
            background: transparent; color: var(--white); 
            border: 1px solid rgba(255,255,255,0.9);
            padding: 14px 20px; border-radius: var(--radius-md); 
            text-align: left; display: flex; align-items: baseline; gap: 8px;
            transition: var(--transition);
        }
        .ready-card:hover .discount-badge { transform: scale(1.04); }
        .ready-card .discount-badge .percent { 
            font-size: 22px; font-weight: 800; 
            color: var(--white); line-height: 1; white-space: nowrap;
        }
        .ready-card .discount-badge .label { 
            font-size: 12px; font-weight: 600; 
            color: rgba(255,255,255,0.75); margin-top: 0; white-space: nowrap;
        }
        /* Buttons (with or without a badge alongside) are pushed to the bottom
           of the card via margin-top: auto, so both cards' CTAs line up on
           the same baseline regardless of how much copy is above them. */
        .ready-card > .btn { margin-top: auto; align-self: flex-start; font-weight: 700; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.3); }
        .ready-card > .btn:hover { gap: 12px; }
        /* card-bottom: button + badge sit in a row, badge pulled from absolute flow */
        .ready-card .card-bottom {
            display: flex;
            align-items: flex-end;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: auto;
            /* push the absolute badge out by making it part of normal flow */
        }
        .card-bottom .btn { font-weight: 700; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.3); }
        .card-bottom .btn:hover { gap: 12px; }
        /* Override absolute on the badge when inside .card-bottom */
        .card-bottom .discount-badge {
            position: static !important;
            padding: 14px 20px;
            flex-shrink: 0;
        }
        @media (max-width: 768px) {
            .ready-card { padding: 28px; }
            .ready-card p { margin-bottom: 20px; }
            .ready-card::after { font-size: 120px; }
            .card-bottom { gap: 12px; }
            .card-bottom .discount-badge { padding: 10px 16px; }
            .card-bottom .discount-badge .percent { font-size: 20px; }
            .card-bottom .discount-badge .label { font-size: 11px; }
            .ready-section { padding: 56px 0; }
            .ready-top { margin-bottom: 36px; }
            .ready-cards { gap: 16px; }
        }

        /* ========== CHOOSE YOUR PATH ========== */
        .choose-path { padding: 80px 0; background: var(--gray-50); }
        .choose-path .section-header { text-align: center; max-width: 800px; margin: 0 auto 48px; }
        .choose-path .section-header h2 { font-size: 38px; }
        .choose-path .section-header p { margin: 0 auto; font-size: 16px; line-height: 1.75; max-width: 760px; color: var(--black); }
        .choose-path .section-header p strong { color: var(--maroon); font-weight: 700; }
        .path-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 56px; }
        .path-tag { 
            padding: 12px 24px; border-radius: 50px; 
            font-size: 14px; font-weight: 600; cursor: pointer; 
            transition: var(--transition); border: 1px solid var(--gray-200); 
            background: var(--white); color: var(--navy); 
            font-family: 'Inter', sans-serif; text-decoration: none; display: inline-block;
        }
        .path-tag:hover { border-color: var(--maroon); color: var(--maroon); }
        .path-tag.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
        .featured-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .featured-course-card { 
            background: var(--white); border-radius: var(--radius-lg); 
            overflow: hidden; box-shadow: var(--shadow-card); 
            transition: var(--transition); border: 1px solid rgba(0,0,0,0.04); 
        }
        .featured-course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
        .featured-course-card .card-image { 
            height: 200px; background: linear-gradient(135deg, var(--navy) 0%, var(--maroon) 100%); 
            position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; 
        }
        .featured-course-card .card-image i { font-size: 56px; color: rgba(255,255,255,0.12); }
        .featured-course-card .card-image .certificate-badge { 
            position: absolute; top: 16px; left: 16px; 
            background: var(--white); color: var(--maroon); 
            padding: 4px 12px; border-radius: 50px; 
            font-size: 11px; font-weight: 700; 
        }
        .featured-course-card .card-body { padding: 28px; }
        .featured-course-card .card-body h3 { 
            font-size: 18px; font-weight: 700; 
            color: var(--navy); margin-bottom: 12px; letter-spacing: -0.2px; 
        }
        .featured-course-card .card-body p { 
            font-size: 15px; color: var(--black); 
            line-height: 1.7; margin-bottom: 24px; 
        }
        .featured-course-card .card-footer { 
            display: flex; justify-content: space-between; align-items: center; 
            padding-top: 20px; border-top: 1px solid var(--gray-100); 
        }
        .featured-course-card .card-footer .duration { 
            display: flex; align-items: center; gap: 6px; 
            font-size: 14px; color: var(--black); font-weight: 500; 
        }
        .featured-course-card .card-footer .duration i { color: var(--maroon); font-size: 14px; }
        .featured-course-card .card-footer .explore-link { 
            font-size: 14px; font-weight: 600; color: var(--maroon); 
            display: flex; align-items: center; gap: 4px; 
        }
        .featured-course-card .card-footer .explore-link:hover { gap: 8px; }

        /* ========== LATEST NEWS ========== */
        .latest-news { 
            padding: 80px 0; 
            background: var(--gray-50);
            color: var(--navy);
        }
        .latest-news .section-header h2 { 
            color: var(--maroon);
            font-size: 40px; 
        }
        .latest-news .section-header p { 
            color: var(--black);
            max-width: 760px;
            line-height: 1.75;
        }
        .latest-news .section-header .overline { 
            display: inline-flex; align-items: center; gap: 8px; 
            font-size: 12px; font-weight: 700; text-transform: uppercase; 
            letter-spacing: 1.5px; color: var(--maroon);
            margin-bottom: 16px; 
        }
        .latest-news .section-header .overline::before, .latest-news .section-header .overline::after { 
            content: ''; width: 20px; height: 2px; background: var(--maroon); border-radius: 2px; opacity: 0.4; 
        }
        .news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }

        .news-main-card { 
            background: var(--maroon);
            border-radius: var(--radius-lg); 
            overflow: hidden; position: relative; cursor: pointer; 
            transition: var(--transition); 
            display: flex;
            flex-direction: column;
        }
        .news-main-card:hover { 
            background: var(--maroon-light); 
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(117,0,20,0.2);
        }
        .news-main-card .news-image { 
            height: 220px; 
            background: linear-gradient(135deg, var(--maroon-dark), var(--navy)); 
            display: flex; align-items: center; justify-content: center;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }
        .news-main-card .news-image .news-watermark { 
            font-size: 120px; font-weight: 900; color: rgba(255,255,255,0.07);
            line-height: 1;
            position: absolute;
            bottom: -10px;
            right: 10px;
            user-select: none;
            pointer-events: none;
        }
        .news-main-card .news-image .tag { 
            position: absolute; top: 20px; left: 20px;
            background: var(--white); color: var(--maroon); 
            padding: 5px 14px; border-radius: 50px; 
            font-size: 11px; font-weight: 700; letter-spacing: 0.5px; 
            z-index: 2;
        }
        .news-main-card .news-content {
            padding: 28px 32px 32px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .news-main-card .news-content h3 { 
            font-size: 20px; font-weight: 700; margin-bottom: 12px; line-height: 1.35; 
            color: var(--white);
        }
        .news-main-card .news-content p { 
            font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7;
            margin-bottom: 24px;
        }
        .news-main-card .news-content .author { 
            display: flex; align-items: center; gap: 12px;
            margin-top: auto;
        }
        .news-main-card .news-content .author .avatar { 
            width: 36px; height: 36px; border-radius: 50%; 
            background: rgba(255,255,255,0.2); color: var(--white); 
            display: flex; align-items: center; 
            justify-content: center; font-size: 14px; font-weight: 700; 
            border: 1px solid rgba(255,255,255,0.3);
        }
        .news-main-card .news-content .author .name { font-size: 14px; font-weight: 600; color: var(--white); }
        .news-main-card .news-content .author .role { font-size: 12px; color: rgba(255,255,255,0.6); }

        .news-sidebar { display: flex; flex-direction: column; }

        .news-list-item {
            display: grid;
            grid-template-columns: 72px 1fr;
            gap: 0 20px;
            padding: 24px 0;
            border-bottom: 1px solid var(--gray-200);
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }
        .news-list-item:first-child { border-top: 1px solid var(--gray-200); }
        .news-list-item:hover .nli-title { color: var(--maroon); }

        .nli-date {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding-top: 4px;
        }
        .nli-day {
            font-size: 34px;
            font-weight: 800;
            color: var(--navy);
            line-height: 1;
            letter-spacing: -1px;
        }
        .nli-month {
            font-size: 11px;
            font-weight: 600;
            color: var(--gray-400);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 3px;
        }

        .nli-content { display: flex; flex-direction: column; gap: 6px; }
        .nli-category {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--maroon);
        }
        .nli-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--navy);
            line-height: 1.4;
            transition: color 0.2s;
        }
        .nli-excerpt {
            font-size: 13px;
            color: var(--black);
            line-height: 1.6;
            font-weight: 400;
        }

        .news-sidebar-footer { padding-top: 20px; }
        .news-sidebar-footer a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--navy);
            border-bottom: 1px solid var(--navy);
            padding-bottom: 2px;
            transition: var(--transition);
        }
        .news-sidebar-footer a:hover { color: var(--maroon); border-bottom-color: var(--maroon); gap: 12px; }

        /* ========== CTA BANNER — wine/maroon background ========== */
        .cta-banner {
            background: var(--maroon);
            padding: 96px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: 
                radial-gradient(circle at 15% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 85% 20%, rgba(255,255,255,0.04) 0%, transparent 45%),
                radial-gradient(circle at 50% 100%, rgba(0,0,0,0.12) 0%, transparent 60%);
            pointer-events: none;
        }
        .cta-banner .container { position: relative; z-index: 1; }

        .cta-banner .cta-eyebrow {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 12px; font-weight: 700; letter-spacing: 2px;
            text-transform: uppercase; color: rgba(255,255,255,0.5);
            margin-bottom: 20px;
        }
        .cta-banner .cta-eyebrow::before,
        .cta-banner .cta-eyebrow::after {
            content: ''; width: 24px; height: 1px;
            background: rgba(255,255,255,0.3); display: inline-block;
        }

        .cta-banner h2 {
            font-size: 44px;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 20px;
            letter-spacing: -0.5px;
            line-height: 1.15;
        }
        .cta-banner p {
            font-size: 18px;
            color: var(--white);
            max-width: 600px;
            margin: 0 auto 44px;
            line-height: 1.75;
            font-weight: 400;
        }
        .cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

        .btn-outline-white {
            background: transparent; color: var(--white);
            border: 1px solid rgba(255,255,255,0.5); border-radius: 50px;
            padding: 14px 32px; font-size: 15px; font-weight: 600;
            display: inline-flex; align-items: center; gap: 8px;
            cursor: pointer; transition: var(--transition);
            font-family: 'Inter', sans-serif; text-decoration: none;
        }
        .btn-outline-white:hover { 
            background: rgba(255,255,255,0.12); 
            border-color: var(--white); 
            transform: translateY(-2px); 
        }
        .btn-filled-white {
            background: var(--white); color: var(--maroon);
            border: 1px solid var(--white); border-radius: 50px;
            padding: 14px 32px; font-size: 15px; font-weight: 700;
            display: inline-flex; align-items: center; gap: 8px;
            cursor: pointer; transition: var(--transition);
            font-family: 'Inter', sans-serif; text-decoration: none;
        }
        .btn-filled-white:hover { 
            background: var(--pink-light); 
            transform: translateY(-2px); 
            box-shadow: 0 8px 24px rgba(0,0,0,0.15); 
        }

        .btn-maroon { 
            background: var(--maroon); color: var(--white); 
        }
        .btn-maroon:hover { 
            background: var(--maroon-light); transform: translateY(-2px); 
            box-shadow: 0 4px 12px rgba(117,0,20,0.4); 
        }

        /* ========== FOOTER ========== */
        .footer { background: #000000; color: rgba(255,255,255,0.65); padding: 64px 0 0; }
        .footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
        .footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
        .footer-brand .footer-logo-icon { width: 42px; height: 42px; background: var(--maroon); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
        .footer-brand .footer-logo-icon i { color: var(--white); font-size: 18px; }
        .footer-brand .footer-logo-text { font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: 0.5px; }
        .footer-brand .footer-logo-sub { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 2.5px; text-transform: uppercase; }
        .footer-brand p { font-size: 14px; line-height: 1.75; margin-bottom: 24px; max-width: 300px; font-weight: 400; }
        .footer-social { display: flex; gap: 12px; }
        .footer-social a { 
            width: 38px; height: 38px; border-radius: 50%; 
            background: rgba(255,255,255,0.08); display: flex; 
            align-items: center; justify-content: center; 
            color: rgba(255,255,255,0.5); font-size: 14px; transition: var(--transition); 
        }
        .footer-social a:hover { background: var(--maroon); color: var(--white); }
        .footer-column h4 { 
            font-size: 14px; font-weight: 700; color: var(--white); 
            margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; 
        }
        .footer-column ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-column ul a { 
            font-size: 14px; color: rgba(255,255,255,0.45); 
            transition: var(--transition); font-weight: 400; 
        }
        .footer-column ul a:hover { color: var(--white); padding-left: 4px; }
        .footer-bottom { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
        .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
        .footer-bottom-links { display: flex; gap: 28px; }
        .footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.35); }
        .footer-bottom-links a:hover { color: var(--white); }

        /* ========== BACK TO TOP ========== */
        .back-to-top { 
            position: fixed; bottom: 28px; right: 104px; 
            width: 48px; height: 48px; border-radius: 50%; 
            background: var(--maroon); color: var(--white); 
            display: flex; align-items: center; justify-content: center; 
            cursor: pointer; opacity: 0; visibility: hidden; 
            transition: var(--transition); 
            box-shadow: 0 4px 12px rgba(117,0,20,0.35); 
            border: none; font-size: 16px; z-index: 999; 
        }
        .back-to-top.visible { opacity: 1; visibility: visible; }
        .back-to-top:hover { transform: translateY(-3px); background: var(--maroon-light); }

        /* ========== MOBILE MENU ========== */
        .mobile-menu-overlay { 
            position: fixed; inset: 0; background: rgba(0,0,0,0.5); 
            z-index: 2000; opacity: 0; visibility: hidden; 
            transition: var(--transition); backdrop-filter: blur(2px); 
        }
        .mobile-menu-overlay.open { opacity: 1; visibility: visible; }
        .mobile-menu { 
            position: fixed; top: 0; right: -100%; width: 100%; 
            height: 100vh; height: 100dvh; background: var(--white); 
            z-index: 2001; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); 
            overflow-y: auto; display: flex; flex-direction: column; 
        }
        .mobile-menu.open { right: 0; }
        .mobile-menu,
        .mobile-menu-body {
            scrollbar-width: thin;
            scrollbar-color: var(--maroon) transparent;
        }
        .mobile-menu::-webkit-scrollbar,
        .mobile-menu-body::-webkit-scrollbar {
            width: 4px;
        }
        .mobile-menu::-webkit-scrollbar-track,
        .mobile-menu-body::-webkit-scrollbar-track {
            background: transparent;
        }
        .mobile-menu::-webkit-scrollbar-thumb,
        .mobile-menu-body::-webkit-scrollbar-thumb {
            background: var(--maroon);
            border-radius: 4px;
        }
        .mobile-menu-header { 
            display: flex; justify-content: space-between; align-items: center; 
            padding: 16px 20px;
            border-bottom: 1px solid var(--gray-100);
            flex-shrink: 0; 
        }
        .mobile-menu-close { 
            width: 36px; height: 36px; border-radius: 8px; 
            background: var(--gray-100); display: flex; 
            align-items: center; justify-content: center; 
            cursor: pointer; border: none; font-size: 14px; 
            color: var(--navy); transition: var(--transition); 
        }
        .mobile-menu-close:hover { background: var(--gray-200); }
        .mobile-menu-body { flex: 1; overflow-y: auto; }
        .mobile-search { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); }
        .mobile-search-box { 
            display: flex; align-items: center; gap: 10px; 
            background: var(--gray-50); border: 1px solid var(--gray-200); 
            border-radius: 8px; padding: 10px 14px; transition: var(--transition); 
        }
        .mobile-search-box:focus-within { border-color: var(--maroon); }
        .mobile-search-box i { color: var(--gray-400); font-size: 14px; }
        .mobile-search-box input { 
            flex: 1; border: none; background: transparent; 
            font-size: 14px; font-family: 'Inter', sans-serif; 
            color: var(--navy); outline: none; 
        }
        .mobile-search-box input::placeholder { color: var(--gray-400); font-size: 13px; }
        .mobile-search-clear {
            display: flex; align-items: center; justify-content: center;
            width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
            background: var(--gray-200); border: none; color: var(--gray-500);
            font-size: 10px; cursor: pointer; transition: var(--transition);
        }
        .mobile-search-clear:hover { background: var(--gray-300); color: var(--navy); }
        .mobile-search-results {
            display: none; margin: 10px 0 0; padding: 4px;
            max-height: 340px; overflow-y: auto;
            border: 1px solid var(--gray-100); border-radius: 10px;
            background: var(--white);
            scrollbar-width: thin;
            scrollbar-color: var(--maroon) transparent;
        }
        .mobile-search-results.active { display: block; }
        .mobile-search-results::-webkit-scrollbar { width: 4px; }
        .mobile-search-results::-webkit-scrollbar-track { background: transparent; }
        .mobile-search-results::-webkit-scrollbar-thumb { background: var(--maroon); border-radius: 4px; }
        .mobile-nav-label {
            padding: 12px 20px 6px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: var(--gray-400);
        }
        .mobile-menu nav { display: flex; flex-direction: column; }
        .mobile-menu nav a { 
            display: flex; align-items: center; gap: 12px; 
            padding: 11px 20px;
            font-size: 14px; font-weight: 500; 
            color: var(--navy);
            border-bottom: 1px solid var(--gray-100);
            transition: color 0.2s;
        }
        .mobile-menu nav a i { 
            width: 16px; text-align: center; 
            color: var(--maroon); font-size: 13px; 
            opacity: 0.8;
        }
        .mobile-menu nav a.active { color: var(--maroon); font-weight: 600; }
        .mobile-menu nav a:hover { color: var(--maroon); background: transparent; }
        .mobile-nav-dropdown { border-bottom: 1px solid var(--gray-100); }
        .mobile-nav-dropdown-toggle {
            all: unset;
            box-sizing: border-box;
            width: 100%; display: flex; align-items: center; justify-content: space-between;
            gap: 12px; padding: 11px 20px; font-size: 14px; font-weight: 500; line-height: 1.4;
            font-family: 'Inter', sans-serif; color: var(--navy); cursor: pointer;
            text-align: left; transition: color 0.2s, transform 0.15s ease;
        }
        .mobile-nav-dropdown-toggle span { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: inherit; }
        .mobile-nav-dropdown-toggle span i.fa-circle { width: 16px; text-align: center; color: var(--maroon); font-size: 6px; opacity: 0.8; }
        .mobile-nav-dropdown-toggle:hover { color: var(--maroon); }
        .mobile-nav-dropdown-toggle:active { transform: scale(0.98); }
        .mobile-dropdown-chevron { font-size: 11px; color: var(--gray-400); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); }
        .mobile-nav-dropdown.open .mobile-dropdown-toggle { color: var(--maroon); }
        .mobile-nav-dropdown.open .mobile-dropdown-chevron { transform: rotate(180deg); color: var(--maroon); }
        .mobile-nav-dropdown-panel {
            max-height: 0; overflow: hidden; background: var(--gray-50);
            opacity: 0;
            transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
        }
        .mobile-nav-dropdown.open .mobile-nav-dropdown-panel { max-height: 1200px; opacity: 1; }
        .mobile-dropdown-label {
            padding: 10px 20px 4px; font-size: 10px; font-weight: 700;
            text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400);
        }
        .mobile-nav-dropdown-panel a,
        .mobile-nav-dropdown-panel > div {
            opacity: 0; transform: translateY(-6px);
        }
        .mobile-nav-dropdown.open .mobile-nav-dropdown-panel a,
        .mobile-nav-dropdown.open .mobile-nav-dropdown-panel > div {
            animation: mobileDropdownItemIn 0.35s ease forwards;
        }
        .mobile-nav-dropdown-panel > *:nth-child(1)  { animation-delay: 0.03s; }
        .mobile-nav-dropdown-panel > *:nth-child(2)  { animation-delay: 0.06s; }
        .mobile-nav-dropdown-panel > *:nth-child(3)  { animation-delay: 0.09s; }
        .mobile-nav-dropdown-panel > *:nth-child(4)  { animation-delay: 0.12s; }
        .mobile-nav-dropdown-panel > *:nth-child(5)  { animation-delay: 0.15s; }
        .mobile-nav-dropdown-panel > *:nth-child(6)  { animation-delay: 0.18s; }
        .mobile-nav-dropdown-panel > *:nth-child(7)  { animation-delay: 0.21s; }
        .mobile-nav-dropdown-panel > *:nth-child(8)  { animation-delay: 0.24s; }
        .mobile-nav-dropdown-panel > *:nth-child(9)  { animation-delay: 0.27s; }
        .mobile-nav-dropdown-panel > *:nth-child(10) { animation-delay: 0.30s; }
        .mobile-nav-dropdown-panel > *:nth-child(11) { animation-delay: 0.33s; }
        .mobile-nav-dropdown-panel > *:nth-child(12) { animation-delay: 0.36s; }
        .mobile-nav-dropdown-panel > *:nth-child(n+13) { animation-delay: 0.38s; }
        @keyframes mobileDropdownItemIn {
            from { opacity: 0; transform: translateY(-6px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .mobile-nav-dropdown-panel a {
            display: flex; align-items: center; gap: 10px;
            padding: 9px 20px 9px 32px; font-size: 10px; font-weight: 500;
            color: var(--gray-600); border-bottom: 1px solid var(--gray-100);
            transition: color 0.2s;
        }
        .mobile-nav-dropdown-panel a:last-child { border-bottom: none; }
        .mobile-nav-dropdown-panel a i {
            width: 14px; text-align: center; color: var(--maroon);
            font-size: 11px; opacity: 0.8;
        }
        .mobile-nav-dropdown-panel a.mobile-dropdown-viewall {
            font-weight: 700; color: var(--maroon); background: var(--white);
            padding-left: 20px;
        }
        .mobile-nav-dropdown-panel a:hover { color: var(--maroon); }
        .mobile-contact { 
            margin: 16px 20px 8px;
            background: var(--navy); 
            border-radius: 10px; padding: 20px; color: var(--white); 
        }
        .mobile-contact h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--white); opacity: 0.9; text-transform: uppercase; letter-spacing: 0.8px; }
        .mobile-contact-item { 
            display: flex; align-items: center; gap: 12px; 
            padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); 
            font-size: 13px; color: rgba(255,255,255,0.65); 
        }
        .mobile-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
        .mobile-contact-item i { color: var(--maroon-light); font-size: 12px; width: 16px; text-align: center; }
        .mobile-contact-item a { color: rgba(255,255,255,0.65); }
        .mobile-contact-item a:hover { color: var(--white); }
        .mobile-auth { 
            display: flex; align-items: center; gap: 14px; 
            padding: 14px 20px;
            border-top: 1px solid var(--gray-100);
            flex-shrink: 0;
        }
        .mobile-auth a { font-size: 13px; color: var(--gray-500); font-weight: 500; }
        .mobile-auth a:hover { color: var(--maroon); }
        .mobile-auth .separator { color: var(--gray-300); }
        .mobile-auth .lang-switch { margin-left: auto; font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 5px; }
        .mobile-actions { 
            padding: 12px 20px 32px; display: flex; 
            flex-direction: column; gap: 10px; flex-shrink: 0; 
        }
        .mobile-actions .btn { width: 100%; padding: 13px; font-size: 14px; border-radius: 8px; }

        /* ========== ANIMATIONS ========== */
        .animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

        .mobile-header-btn { display: none; }
        .mobile-header-btn .btn { padding: 8px 14px; font-size: 12px; font-weight: 600; }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .container { padding: 0 28px; }
            .hero-headline { font-size: 40px; }
            .nav-menu { gap: 28px; }
            .courses-grid { grid-template-columns: 1fr; }
            .course-ad { min-height: 220px; }
            .featured-courses { grid-template-columns: repeat(2, 1fr); }
            .ready-top { flex-direction: column; gap: 32px; }
            .ready-links { max-width: 100%; }
            .news-grid { grid-template-columns: 1fr; }
            .footer-top { grid-template-columns: repeat(2, 1fr); }
            .chat-window { width: calc(100vw - 48px); right: -12px; }
            .mega-inner { grid-template-columns: 1fr; }
            .mm-right { display: none; }
            .mm-left { border-right: none; }
        }

        @media (max-width: 768px) {
            .top-bar { display: none; }
            .nav-menu { display: none; }
            .search-icon-btn { display: none; }
            .hamburger { display: flex; }
            .header .container { height: 68px; }
            .logo-image { height: 32px; }
            .logo-image-mobile { height: 42px; }
            .mobile-header-btn { display: inline-flex !important; }
            .hero { padding: 60px 0 80px; }
            .hero-headline { font-size: 32px; }
            .hero-subtitle { font-size: 16px; }
            .hero-cta-buttons { flex-direction: column; align-items: center; gap: 14px; }
            .hero-cta-buttons .btn { width: 100%; max-width: 300px; }
            .featured-courses { grid-template-columns: 1fr; }
            .ready-cards { grid-template-columns: 1fr; }
            .ready-text h2 { font-size: 54px; }
            .section-header h2 { font-size: 32px; }
            .footer-top { grid-template-columns: 1fr; gap: 40px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .chat-widget { bottom: 20px; right: 20px; }
            .back-to-top { right: 80px; bottom: 20px; }
            .news-grid { grid-template-columns: 1fr; }
            .news-main-card .news-image { height: 180px; }
            .news-main-card .news-content { padding: 22px; }
            .news-main-card .news-content h3 { font-size: 17px; }
            .cta-banner { padding: 72px 0; }
            .cta-banner h2 { font-size: 32px; }
            .cta-banner p { font-size: 16px; }
            .cta-banner-btns { flex-direction: column; align-items: center; }
            .btn-outline-white, .btn-filled-white { width: 100%; max-width: 300px; justify-content: center; }
        }

        @media (max-width: 480px) {
            .hero-headline { font-size: 28px; }
            .path-tags { gap: 10px; }
            .path-tag { padding: 10px 18px; font-size: 13px; }
            .logo-text .brand { font-size: 15px; }
            .logo-text .tagline { font-size: 8px; }
            .logo-icon { width: 40px; height: 40px; }
            .chat-window { height: calc(100vh - 120px); bottom: 72px; }
            .ready-text h2 { font-size: 48px; }
            .cta-banner h2 { font-size: 26px; }
        }

        /* ========== FAQ SECTION ========== */
        .faq-section { padding: 96px 0; background: var(--white); }
        .faq-inner {
            display: grid;
            grid-template-columns: 380px 1fr;
            gap: 80px;
            align-items: start;
        }
        .faq-left { position: sticky; top: 100px; }
        .faq-left .overline-label {
            font-size: 11px; font-weight: 800; letter-spacing: 2px;
            text-transform: uppercase; color: var(--maroon);
            margin-bottom: 14px; display: block;
        }
        .faq-left h2 {
            font-size: 38px; font-weight: 800; color: var(--navy);
            line-height: 1.2; letter-spacing: -0.3px;
            margin-bottom: 16px; -webkit-font-smoothing: antialiased;
        }
        .faq-left h2 span { color: var(--maroon); }
        .faq-left p {
            font-size: 16px; color: var(--black);
            line-height: 1.75; margin-bottom: 28px; font-weight: 400;
        }
        .faq-contact-link {
            display: inline-flex; align-items: center; gap: 10px;
            font-size: 14px; font-weight: 700; color: var(--navy);
            border-bottom: 1px solid var(--gray-300);
            padding-bottom: 3px; transition: var(--transition);
        }
        .faq-contact-link:hover { color: var(--maroon); border-bottom-color: var(--maroon); }
        .faq-contact-link .faq-arrow { transition: transform 0.2s; }
        .faq-contact-link:hover .faq-arrow { transform: translateX(4px); }
        .faq-list { display: flex; flex-direction: column; }
        .faq-item { border-bottom: 1px solid var(--gray-200); }
        .faq-item:first-child { border-top: 1px solid var(--gray-200); }
        .faq-question {
            width: 100%; display: flex; align-items: center;
            justify-content: space-between; gap: 20px;
            padding: 22px 0;
            background: transparent; border: none; cursor: pointer;
            font-family: 'Inter', sans-serif; text-align: left;
        }
        .faq-question span {
            font-size: 16px; font-weight: 600; color: var(--navy);
            line-height: 1.4; transition: color 0.2s;
        }
        .faq-question:hover span { color: var(--maroon); }
        .faq-icon {
            width: 28px; height: 28px; border-radius: 50%;
            background: var(--gray-100); display: flex;
            align-items: center; justify-content: center;
            flex-shrink: 0; transition: var(--transition);
        }
        .faq-icon i { font-size: 11px; color: var(--gray-500); transition: transform 0.3s ease, color 0.2s; }
        .faq-item.open .faq-icon { background: var(--maroon); }
        .faq-item.open .faq-icon i { transform: rotate(45deg); color: var(--white); }
        .faq-item.open .faq-question span { color: var(--maroon); }
        .faq-answer {
            max-height: 0; overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
        }
        .faq-answer p {
            font-size: 15px; color: var(--black);
            line-height: 1.75; padding-bottom: 22px; font-weight: 400;
        }
        .faq-item.open .faq-answer { max-height: 300px; }
        @media (max-width: 1024px) {
            .faq-inner { grid-template-columns: 1fr; gap: 48px; }
            .faq-left { position: static; }
            .faq-left h2 { font-size: 32px; }
        }
        @media (max-width: 768px) {
            .faq-section { padding: 72px 0; }
            .faq-question span { font-size: 15px; }
        }

/* ========== POPUPS / ANNOUNCEMENTS ========== */
.tn-popup-overlay {
    position: fixed; inset: 0; background: rgba(15,24,38,0.6);
    z-index: 3000; opacity: 0; transition: opacity 0.3s ease;
}
.tn-popup-overlay.is-visible { opacity: 1; }
body.tn-popup-lock-scroll { overflow: hidden; }

.tn-popup { z-index: 3001; }
.tn-popup-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(0,0,0,0.05); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500); font-size: 13px; transition: var(--transition);
    z-index: 2;
}
.tn-popup-close:hover { background: var(--maroon); color: var(--white); }

/* Modal */
.tn-popup-modal {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -48%); opacity: 0;
    width: min(520px, calc(100vw - 40px));
    background: var(--white); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl); overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.tn-popup-modal.is-visible { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.tn-popup-modal .tn-popup-image {
    height: 160px; background-size: cover; background-position: center;
    background-color: var(--navy);
}
.tn-popup-modal .tn-popup-content { padding: 28px 32px 32px; }

/* Slide-in */
.tn-popup-slide-in {
    position: fixed; bottom: 24px; right: 24px; z-index: 3001;
    width: min(360px, calc(100vw - 32px));
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    overflow: hidden; opacity: 0; transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.tn-popup-slide-in.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tn-popup-slide-in .tn-popup-image { height: 110px; background-size: cover; background-position: center; }
.tn-popup-slide-in .tn-popup-content { padding: 18px 20px 20px; }
.tn-popup-slide-in .tn-popup-headline { font-size: 16px; }

/* Banners */
.tn-popup-banner-top, .tn-popup-banner-bottom {
    position: fixed; left: 0; right: 0; z-index: 3001;
    background: var(--maroon); opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.tn-popup-banner-top { top: 0; transform: translateY(-100%); }
.tn-popup-banner-bottom { bottom: 0; transform: translateY(100%); }
.tn-popup-banner-top.is-visible, .tn-popup-banner-bottom.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tn-popup-banner-top .tn-popup-body, .tn-popup-banner-bottom .tn-popup-body {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    flex-wrap: wrap; padding: 14px 60px; text-align: center;
}
.tn-popup-banner-top .tn-popup-image, .tn-popup-banner-bottom .tn-popup-image { display: none; }
.tn-popup-banner-top .tn-popup-headline, .tn-popup-banner-bottom .tn-popup-headline {
    color: var(--white); font-size: 15px; margin: 0; display: inline;
}
.tn-popup-banner-top .tn-popup-text, .tn-popup-banner-bottom .tn-popup-text {
    color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; display: inline;
}
.tn-popup-banner-top .tn-popup-close, .tn-popup-banner-bottom .tn-popup-close {
    background: rgba(255,255,255,0.15); color: var(--white);
}
.tn-popup-banner-top .tn-popup-close:hover, .tn-popup-banner-bottom .tn-popup-close:hover { background: rgba(255,255,255,0.3); }

/* Shared content styles */
.tn-popup-headline { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.tn-popup-text { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.tn-popup-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--maroon); color: var(--white);
    padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: var(--transition);
}
.tn-popup-cta:hover { background: var(--maroon-light); transform: translateY(-1px); }

@media (max-width: 480px) {
    .tn-popup-modal .tn-popup-content { padding: 22px 20px 24px; }
    .tn-popup-banner-top .tn-popup-body, .tn-popup-banner-bottom .tn-popup-body { padding: 12px 44px; }
}
