/* Global and Header Styles */
:root {
                --tw-color-primary: #0071bc;
            }

            html, body { overflow-x: hidden; max-width: 100vw; }
            img, video, iframe { max-width: 100%; height: auto; }

            * {
                transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
                transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
                transition-duration: 150ms;
            }
            
            .tail-container * {
                font-family: 'Inter', system_ui, sans-serif;
            }
            
            .heading-font {
                font-family: 'Space Grotesk', sans-serif;
            }

            .hero-bg {
                background: linear-gradient(135deg, #f8fafc 0%, #e0f5fa 100%);
            }
            
            /* ===== HEADER STYLES ===== */

            /* Ticker */
            @keyframes scroll-left {
                0% { transform: translateX(0); }
                100% { transform: translateX(-50%); }
            }
            .ticker-track {
                display: flex;
                width: max-content;
                animation: scroll-left 35s linear infinite;
            }
            .ticker-track:hover { animation-play-state: paused; }

            /* Glow pulse for live dot */
            @keyframes glow-pulse {
                0%, 100% { transform: scale(1); opacity: 1; }
                50% { transform: scale(1.22); opacity: 0.72; }
            }
            .live-dot { animation: glow-pulse 2s ease-in-out infinite; will-change: transform, opacity; }

            /* Float animation for enroll btn */
            @keyframes float-y {
                0%, 100% { transform: translateY(0); }
                50% { transform: translateY(-2px); }
            }

            /* Navbar */
            #main-navbar {
                background: rgba(255,255,255,0.95);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                transition: box-shadow 0.3s ease;
            }
            #main-navbar.scrolled {
                box-shadow: 0 4px 30px rgba(0,0,0,0.08);
            }

            /* Nav link hover underline */
            .nv-link { position: relative; }
            .nv-link::after {
                content: '';
                position: absolute;
                bottom: -4px;
                left: 50%;
                width: 0;
                height: 2px;
                background: linear-gradient(90deg, #0071bc, #00a99d);
                border-radius: 999px;
                transform: translateX(-50%);
                transition: width 0.25s ease;
            }
            .nv-link:hover::after { width: 70%; }

            /* Mobile drawer */
            .drawer-overlay {
                position: fixed; inset: 0;
                background: rgba(0,0,0,0.5);
                backdrop-filter: blur(4px);
                z-index: 90;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease;
            }
            .drawer-overlay.open { opacity: 1; pointer-events: auto; }
            .drawer-panel {
                position: fixed; top: 0; right: 0; bottom: 0;
                width: 320px; max-width: 85vw;
                background: #fff;
                z-index: 100;
                transform: translateX(100%);
                transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
                display: flex; flex-direction: column;
                box-shadow: -10px 0 40px rgba(0,0,0,0.1);
                will-change: transform;
            }
            .drawer-panel.open { transform: translateX(0); }

            /* Ripple on mobile link tap */
            .mob-link {
                position: relative; overflow: hidden;
            }
            .mob-link::before {
                content: '';
                position: absolute; inset: 0;
                background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0,113,188,0.1) 0%, transparent 60%);
                opacity: 0;
                transition: opacity 0.3s;
            }
            .mob-link:hover::before { opacity: 1; }
            
            .stat-card {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
            
            .stat-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            }
            
            .tool-card {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
            
            .tool-card:hover {
                transform: scale(1.05);
                box-shadow: 25px 25px 50px -12px rgb(0 113 188 / 0.15);
            }
            
            .accordion-header {
                transition: all 0.3s ease;
            }

            /* Popup Styles */
            .popup-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
            }
            .popup-overlay.active { opacity: 1; pointer-events: auto; }
            .popup-card {
            background: white; border-radius: 1.5rem; max-width: 420px; width: 92%; position: relative;
            transform: translateY(30px) scale(0.95); transition: transform 0.4s ease;
            box-shadow: 0 25px 60px rgba(0,0,0,0.25); overflow: hidden; padding: 2rem;
            will-change: transform;
            }
            .popup-overlay.active .popup-card { transform: translateY(0) scale(1); }
            .popup-close {
            position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px;
            border-radius: 50%; border: 1px solid #e5e7eb; background: white; color: #64748b;
            font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: all 0.2s;
            }
            .popup-close:hover { background: #f1f5f9; color: #334155; }
            .demo-form-label { font-size: 0.875rem; font-weight: 600; color: #1e293b; margin-bottom: 0.5rem; display: block; }
            .demo-form-input {
            width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 0.75rem;
            font-size: 0.875rem; font-family: 'Inter', sans-serif; background: #f8fafc;
            transition: all 0.2s; margin-bottom: 1rem;
            }
            .demo-form-input:focus { outline: none; border-color: #0071bc; background: white; box-shadow: 0 0 0 3px rgba(0,113,188,0.1); }
            .demo-form-input::placeholder { color: #94a3b8; }
            .btn-not-now {
            width: 100%; padding: 0.8rem; border: 1.5px solid #e2e8f0; border-radius: 0.75rem;
            font-weight: 600; font-size: 0.9rem; color: #475569; cursor: pointer;
            font-family: 'Inter', sans-serif; background: #f8fafc; transition: all 0.2s; margin-bottom: 0.75rem;
            }
            .btn-not-now:hover { background: #e2e8f0; }
            .btn-apply-now {
            width: 100%; padding: 0.85rem; border: none; border-radius: 0.75rem; font-weight: 700;
            font-size: 0.95rem; color: white; cursor: pointer; font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #2e3192 0%, #0071bc 50%, #7c3aed 100%);
            transition: transform 0.2s, box-shadow 0.2s;
            }
            .btn-apply-now:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,113,188,0.35); }
            .btn-apply-now:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
            .demo-badge {
            display: inline-block; background: #ede9fe; color: #6d28d9; font-size: 0.8rem;
            font-weight: 700; padding: 0.3rem 0.9rem; border-radius: 2rem; margin-bottom: 1rem;
            }
            .form-success-msg {
            text-align: center; padding: 2rem 1rem;
            }
            .form-success-msg .success-icon {
            width: 60px; height: 60px; border-radius: 50%; background: #dcfce7;
            display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
            font-size: 1.5rem;
            }
            .form-success-msg h4 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; }
            .form-success-msg p { font-size: 0.85rem; color: #64748b; }
            .success-checkmark {
                width: 80px; height: 80px; margin: 0 auto 1.2rem; position: relative;
                animation: sc-pop .5s cubic-bezier(.22,1,.36,1);
            }
            .success-checkmark svg { width: 80px; height: 80px; display: block; }
            .success-checkmark .sc-circle {
                stroke: #16a34a; stroke-width: 3; stroke-dasharray: 166; stroke-dashoffset: 166;
                animation: sc-stroke .7s cubic-bezier(.65,0,.45,1) forwards;
            }
            .success-checkmark .sc-check {
                stroke: #16a34a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
                stroke-dasharray: 48; stroke-dashoffset: 48;
                animation: sc-stroke .35s .6s cubic-bezier(.65,0,.45,1) forwards;
            }
            @keyframes sc-stroke { to { stroke-dashoffset: 0; } }
            @keyframes sc-pop { 0% { transform: scale(0);} 60% { transform: scale(1.1);} 100% { transform: scale(1);} }
            .form-success-msg { animation: sc-fade .5s ease; }
            @keyframes sc-fade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

            .hero-proof-card { min-height: 12.75rem; }
            .hero-form-shell { min-height: 27rem; }
            #heroFormContainer { min-height: 14.75rem; }
            #popupFormContainer { min-height: 16rem; }
            .a11y-chip-blue { color: #004a7c; background: rgba(0,113,188,0.14); }
            .a11y-chip-green { color: #00665f; background: rgba(0,169,157,0.14); }
            #partnersTrack .partner-pill span:last-child { color: #475569; }
            #top-strip .bg-slate-950,
            #top-strip .bg-slate-950 a { color: #cbd5e1; }
            #top-strip .bg-slate-950 a:hover { color: #ffffff; }

            /* Placement Posters Slider */
            .placement-slider {
                overflow: hidden;
                position: relative;
                width: 100%;
            }
            .placement-slider.full-bleed {
                width: 100vw;
                position: relative;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
            }
            .placement-slider-track {
                display: flex;
                gap: 1.25rem;
                width: max-content;
                animation: placement-scroll 40s linear infinite;
            }
            .placement-slider:hover .placement-slider-track { animation-play-state: paused; }
            .placement-card {
                flex: 0 0 auto;
                width: 260px;
                height: 360px;
                border-radius: 1.25rem;
                overflow: hidden;
                box-shadow: 0 15px 35px -12px rgba(15,23,42,0.3);
                background: #f1f5f9;
                transform: rotate(-1deg);
                transition: transform .3s;
            }
            .placement-card:nth-child(even) { transform: rotate(1deg); }
            .placement-card:hover { transform: rotate(0) scale(1.03); }
            .placement-card img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1 / 1; }
            @keyframes placement-scroll {
                from { transform: translateX(0); }
                to   { transform: translateX(-50%); }
            }
            @media (max-width: 640px) {
                .placement-card { width: 180px; height: 240px; }
            }

            /* Top hiring partners slider */
            .partners-slider {
                position: relative;
                overflow: hidden;
                width: 100vw;
                max-width: none;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
                margin-bottom: 3rem;
            }
            .partners-slider::before,
            .partners-slider::after { display: none; }
            .partners-track {
                display: flex;
                align-items: stretch;
                gap: 1rem;
                width: max-content;
                will-change: transform;
                padding: .25rem .5rem;
            }
            .partners-slide { flex: 0 0 auto; }
            .partners-slide .partner-pill { min-width: 180px; }
            @media (max-width: 768px) {
                .partners-slider {
                    overflow-x: auto;
                    scroll-snap-type: x mandatory;
                    -webkit-overflow-scrolling: touch;
                    padding-bottom: 8px;
                }
                .partners-slider::-webkit-scrollbar { display: none; }
                .partners-slider { scrollbar-width: none; }
                .partners-slider::before,
                .partners-slider::after { display: none; }
                .partners-track {
                    transform: none !important;
                    gap: 12px;
                    padding: 2px 0;
                }
                .partners-slide { scroll-snap-align: start; }
                .partners-slide .partner-pill { min-width: 210px; }
            }
/* Curriculum Section Styles */
.curr-wrap { display: flex; flex-direction: column; gap: 2rem; }
            @media (min-width: 1024px) {
                .curr-wrap { flex-direction: row; align-items: flex-start; }
                .curr-main { flex: 1 1 0; min-width: 0; }
                .curr-side { flex: 0 0 340px; position: sticky; top: 90px; }
            }
            .curr-item { border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; transition: all .3s; overflow: hidden; }
            .curr-item:hover { border-color: rgba(0,113,188,.4); box-shadow: 0 10px 30px -12px rgba(15,23,42,.12); }
            .curr-head { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; text-align: left; background: transparent; }
            .curr-num { width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
            .curr-title { font-weight: 700; color: #0f172a; font-size: 1rem; }
            .curr-sub { font-size: .7rem; color: #64748b; margin-top: .2rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
            .curr-chev { width: 1.1rem; height: 1.1rem; color: #94a3b8; margin-left: auto; flex-shrink: 0; transition: transform .3s; }
            .curr-item.open .curr-chev { transform: rotate(180deg); }
            .curr-body { padding: 0 1.25rem 1.25rem 4.85rem; color: #475569; font-size: .88rem; line-height: 1.6; display: none; }
            .curr-item.open .curr-body { display: block; }
            @media (max-width: 640px) { .curr-body { padding-left: 1.25rem; } }
/* Student Shorts Section Styles */
.shorts-section {
                position: relative;
                background: linear-gradient(145deg, #f8fbff 0%, #eef7ff 45%, #f4fffc 100%);
                border-top: 1px solid rgba(0, 113, 188, 0.12);
                border-bottom: 1px solid rgba(46, 49, 146, 0.1);
                overflow: hidden;
            }
            .shorts-section::before {
                content: "";
                position: absolute;
                inset: 0;
                background:
                    radial-gradient(circle at 14% 18%, rgba(0,113,188,0.12), transparent 42%),
                    radial-gradient(circle at 82% 70%, rgba(0,169,157,0.1), transparent 44%),
                    radial-gradient(circle at 52% 8%, rgba(46,49,146,0.07), transparent 38%);
                pointer-events: none;
            }
            .shorts-track-wrap {
                overflow: hidden;
                position: relative;
                padding: 14px 0 6px;
            }
            .shorts-track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.22,.9,.3,1); will-change: transform; }
            .short-card {
                flex: 0 0 auto;
                width: 280px;
                border-radius: 22px;
                overflow: hidden;
                background: #ffffff;
                border: 1px solid rgba(0, 113, 188, 0.18);
                box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.35);
                transform: translateY(0);
                transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
                position: relative;
                contain: layout paint;
            }
            .short-card::after {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: 22px;
                box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
                pointer-events: none;
            }
            .short-card:hover {
                transform: translateY(-8px);
                border-color: rgba(0,113,188,0.38);
                box-shadow: 0 28px 58px -26px rgba(0, 113, 188, 0.45);
            }
            .short-card iframe,
            .short-video-trigger { display: block; width: 100%; height: 498px; border: 0; }
            .short-video-trigger {
                appearance: none;
                background: transparent;
                padding: 0;
                cursor: pointer;
                text-align: left;
                color: inherit;
            }
            .short-video-poster {
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                width: 100%;
                height: 100%;
                padding: 18px;
                color: #ffffff;
                background:
                    linear-gradient(180deg, rgba(15,23,42,0.18) 0%, rgba(15,23,42,0.78) 100%),
                    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.5), transparent 34%),
                    radial-gradient(circle at 78% 14%, rgba(14,165,233,0.42), transparent 28%),
                    linear-gradient(160deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
            }
            .short-video-poster::after {
                content: "";
                position: absolute;
                inset: 12px;
                border: 1px solid rgba(255,255,255,0.16);
                border-radius: 18px;
                pointer-events: none;
            }
            .short-video-chip {
                position: relative;
                z-index: 1;
                align-self: flex-start;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.16em;
                text-transform: uppercase;
                padding: 8px 12px;
                border-radius: 999px;
                color: #e0f2fe;
                background: rgba(15,23,42,0.32);
                border: 1px solid rgba(255,255,255,0.14);
                backdrop-filter: blur(6px);
            }
            .short-video-play {
                position: relative;
                z-index: 1;
                width: 72px;
                height: 72px;
                margin: auto;
                border-radius: 9999px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                background: rgba(255,255,255,0.16);
                border: 1px solid rgba(255,255,255,0.28);
                box-shadow: 0 24px 40px -28px rgba(15,23,42,0.8);
                backdrop-filter: blur(8px);
                transition: transform .3s ease, background-color .3s ease;
            }
            .short-card:hover .short-video-play {
                transform: scale(1.06);
                background: rgba(255,255,255,0.24);
            }
            .short-video-copy {
                position: relative;
                z-index: 1;
                display: flex;
                flex-direction: column;
                gap: 6px;
            }
            .short-video-copy strong {
                font-size: 1rem;
                font-weight: 800;
                letter-spacing: -0.02em;
            }
            .short-video-copy span {
                font-size: 0.8rem;
                line-height: 1.5;
                color: rgba(255,255,255,0.78);
            }
            .shorts-btn {
                width: 48px;
                height: 48px;
                border-radius: 9999px;
                background: #ffffff;
                border: 1px solid rgba(0,113,188,0.24);
                color: #0071bc;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                box-shadow: 0 12px 22px -14px rgba(0,113,188,0.55);
                transition: all .3s;
            }
            .shorts-btn:hover {
                background: linear-gradient(135deg, #0071bc 0%, #2e3192 100%);
                border-color: transparent;
                color: #ffffff;
                transform: scale(1.08);
            }
            @media (max-width: 640px) { .short-card { width: 240px; } .short-card iframe, .short-video-trigger { height: 427px; } }
            @media (max-width: 768px) {
                .hero-proof-card,
                .hero-form-shell,
                #heroFormContainer,
                #popupFormContainer { min-height: 0; }
            }
            @media (prefers-reduced-motion: reduce) {
                .ticker-track,
                .live-dot,
                .placement-slider-track { animation: none !important; }
                .popup-card,
                .drawer-panel,
                .short-card,
                .shorts-btn,
                .stat-card,
                .tool-card { transition-duration: 0.01ms !important; }
            }
