:root {
    --font-primary: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

body {
    font-family: var(--font-primary) !important;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary) !important;
    letter-spacing: -0.03em !important;
}

p, span, button, a, input, select, textarea {
    font-family: var(--font-primary) !important;
}

/* Allow font overrides */
.font-serif, .font-serif * {
    font-family: var(--font-serif) !important;
}

.font-mono {
    font-family: var(--font-mono) !important;
}

/* Explicit Line Clamp Utilities for Mobile & Responsive Cards */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html, body {
    color: #e2e8f0;
    min-height: 100vh;
}

html:not(.light-mode) {
    background-color: #030712;
    color: #e2e8f0;
}

/* ==========================================================================
   DARK MODE HIGH CONTRAST (DEFAULT)
   ========================================================================== */
html:not(.light-mode) h1, 
html:not(.light-mode) h2, 
html:not(.light-mode) h3, 
html:not(.light-mode) h4,
html:not(.light-mode) h5,
html:not(.light-mode) h6,
body:not(.light-mode) h1, 
body:not(.light-mode) h2, 
body:not(.light-mode) h3, 
body:not(.light-mode) h4,
body:not(.light-mode) h5,
body:not(.light-mode) h6 { 
    color: #ffffff !important;
}

body:not(.light-mode) .text-slate-900,
html:not(.light-mode) .text-slate-900 {
    color: #ffffff !important;
}

body:not(.light-mode) .text-slate-700,
html:not(.light-mode) .text-slate-700 {
    color: #e2e8f0 !important;
}

body:not(.light-mode) .text-slate-600,
html:not(.light-mode) .text-slate-600,
body:not(.light-mode) .text-slate-500,
html:not(.light-mode) .text-slate-500 {
    color: #94a3b8 !important;
}

body:not(.light-mode) .text-slate-400,
html:not(.light-mode) .text-slate-400 {
    color: #cbd5e1 !important;
}

/* Emerald accent text preservation */
body:not(.light-mode) .text-emerald-500,
body:not(.light-mode) .text-emerald-400,
html:not(.light-mode) .text-emerald-500,
html:not(.light-mode) .text-emerald-400 {
    color: #10b981 !important;
}

/* Company Alumni Badges in Marquee (Zero-Image Creative Solution) */
.company-alumni-badge {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

body:not(.light-mode) .company-alumni-badge {
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

body:not(.light-mode) .company-alumni-badge:hover {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15) !important;
}

body.light-mode .company-alumni-badge {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .company-alumni-badge span.font-bold {
    color: #0f172a !important;
}

body.light-mode .company-alumni-badge:hover {
    background: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Partner Logo Cards in Dark Mode */
body:not(.light-mode) .partner-card,
html:not(.light-mode) .partner-card {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body:not(.light-mode) .partner-card span,
html:not(.light-mode) .partner-card span {
    color: #e2e8f0 !important;
}

/* Footer Styling in Dark Mode */
body:not(.light-mode) footer,
html:not(.light-mode) footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body:not(.light-mode) footer h4,
html:not(.light-mode) footer h4 {
    color: #ffffff !important;
}

body:not(.light-mode) footer p,
html:not(.light-mode) footer p {
    color: #94a3b8 !important;
}

body:not(.light-mode) footer ul a,
html:not(.light-mode) footer ul a {
    color: #94a3b8 !important;
}

body:not(.light-mode) footer ul a:hover,
html:not(.light-mode) footer ul a:hover {
    color: #34d399 !important;
}

/* Light Mode Rules */
html.light-mode {
    background-color: #f8fafc;
    color: #0f172a;
}

body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3,
body.light-mode h4 { 
    color: #000000 !important;
    letter-spacing: -0.04em;
    font-weight: 600;
}

/* PREMIUM MODALS FOR LIGHT MODE */
body.light-mode .glass-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05) !important;
}

/* UNIFIED PREMIUM MODAL BACKDROP OVERLAYS */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

body.light-mode .modal-backdrop {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
}

/* Exact Replica of Showcase Theme Toggle (Images 3 & 4) */
#themeToggle.toggle-track, .toggle-track {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: 50 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: 60px !important;
    height: 30px !important;
    padding: 0 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    outline: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.2s ease !important;
}

@media (min-width: 768px) {
    #themeToggle.toggle-track, .toggle-track {
        width: 60px !important;
        height: 30px !important;
    }
}

/* Dark Mode Track (Image 4) */
body:not(.light-mode) #themeToggle.toggle-track {
    background-color: #0b1326 !important; /* Deep Navy */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

/* Disable toggle animations on page load to prevent button flip on refresh */
html:not(.theme-ready) .toggle-thumb,
html:not(.theme-ready) .toggle-track,
html:not(.theme-ready) .thumb-icon,
html:not(.theme-ready) .track-element {
    transition: none !important;
}

/* Default (Dark Mode) Track & Thumb */
.toggle-thumb {
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(30px) !important;
    background-color: #e1e0ff !important;
    box-shadow: 0 0 10px rgba(165, 180, 252, 0.5), inset -1px -1px 3px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.5s ease, box-shadow 0.5s ease !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
}

/* Light Mode Track Override */
html.light-mode #themeToggle.toggle-track,
body.light-mode #themeToggle.toggle-track {
    background-color: #e0f2fe !important; /* Light Sky */
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}

/* Light Mode Thumb Override */
html.light-mode .toggle-thumb,
body.light-mode .toggle-thumb {
    transform: translateX(0px) !important;
    background-color: #ffdb3c !important;
    box-shadow: 0 0 10px rgba(255, 219, 60, 0.6), inset 1px 1px 3px rgba(255, 255, 255, 0.8) !important;
}

/* Icons inside Thumb */
.thumb-icon {
    position: absolute !important;
    width: 14px !important;
    height: 14px !important;
    transition: opacity 0.3s ease !important;
}

.sun-icon {
    color: #3a3000 !important; /* Dark brown sun icon in gold thumb */
    opacity: 0 !important;
}

.moon-icon {
    color: #64748b !important; /* Soft slate moon icon in lavender thumb */
    opacity: 1 !important;
}

/* Light Mode Icons Override */
html.light-mode .sun-icon,
body.light-mode .sun-icon {
    opacity: 1 !important;
}

html.light-mode .moon-icon,
body.light-mode .moon-icon {
    opacity: 0 !important;
}

/* Stars (Dark mode track left side - Image 4) */
.track-element {
    position: absolute !important;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
}

.star-1 {
    left: 8px !important;
    top: 6px !important;
    width: 7px !important;
    height: 7px !important;
    color: #ffffff !important;
}

.star-2 {
    left: 18px !important;
    top: 9px !important;
    width: 6px !important;
    height: 6px !important;
    color: #94a3b8 !important;
}

.star-3 {
    left: 13px !important;
    bottom: 6px !important;
    width: 5px !important;
    height: 5px !important;
    color: #cbd5e1 !important;
}

body:not(.light-mode) .track-element.star {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

body.light-mode .track-element.star {
    opacity: 0 !important;
    transform: translateY(-8px) scale(0.7) !important;
}

/* Clouds (Light mode track right side - Image 3) */
.cloud-1 {
    right: 6px !important;
    top: 8px !important;
    width: 12px !important;
    height: 12px !important;
    color: #ffffff !important;
    opacity: 0.95 !important;
}

.cloud-2 {
    right: 15px !important;
    bottom: 6px !important;
    width: 9px !important;
    height: 9px !important;
    color: #ffffff !important;
    opacity: 0.8 !important;
}

body.light-mode .track-element.cloud {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

body:not(.light-mode) .track-element.cloud {
    opacity: 0 !important;
    transform: translateY(8px) scale(0.7) !important;
}

/* Premium Glassmorphic Language Dropdown */
.lang-dropdown-container {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode .lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lang-dropdown-btn:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    transform: translateY(-1px);
}

.lang-dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.lang-dropdown-container.open .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 145px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transform-origin: top right;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode .lang-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.lang-dropdown-container.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

body.light-mode .lang-dropdown-item {
    color: #475569;
}

.lang-dropdown-item:hover {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

body.light-mode .lang-dropdown-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.lang-dropdown-item.active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-weight: 700;
}

body.light-mode .lang-dropdown-item.active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

/* SCROLL PROGRESS BAR */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #10b981, #34d399);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* HEADER (STATIC) */
.static-header {
    width: 100%;
    z-index: 900;
}

/* INSTANT PAGE NAVIGATION (NO LAG) */
.page-fade {
    opacity: 1 !important;
}

.fade-out {
    opacity: 1;
}

/* SKELETON PULSE */
.skeleton-pulse {
    background: linear-gradient(-90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
    background-size: 400% 400%;
    animation: pulse 1.5s ease-in-out infinite;
}

body.light-mode .skeleton-pulse {
    background: linear-gradient(-90deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.02) 100%);
}

@keyframes pulse {
    0% { background-position: 0% 0%; }
    100% { background-position: -135% 0%; }
}

/* SYLLABUS CARDS REDESIGN (PREMIUM LOOK) */
#modalContent .grid-cols-4 > div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

body.light-mode #modalContent .grid-cols-4 > div {
    background: #fbfbfd !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* LESSON CARDS REDESIGN */
#modalContent .space-y-4 > div {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#modalContent .space-y-4 > div:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(16, 185, 129, 0.3);
}

body.light-mode #modalContent .space-y-4 > div {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

body.light-mode #modalContent .space-y-4 > div:hover {
    background: #f5f5f7 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* LESSON NUMBER BADGE */
#modalContent .lesson-number {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}


/* FORCE ABSOLUTE BLACK TEXT IN LIGHT MODE (Only for non-primary elements) */
body.light-mode p,
body.light-mode span,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode select,
body.light-mode input,
body.light-mode #modalContent div:not(.lesson-number),
body.light-mode #resultContainer .result-text {
    color: #000000 !important;
    opacity: 1 !important;
}

/* Specific Navigation Contrast */
body.light-mode nav a,
body.light-mode nav button:not(.bg-blue-600):not(.bg-emerald-500),
body.light-mode header a,
body.light-mode header button:not(.bg-emerald-500) {
    color: #000000 !important;
}

/* EXCEPTIONS FOR EMERALD TEXT */
body.light-mode .text-emerald-500,
body.light-mode .lesson-number {
    color: #10b981 !important;
}

/* GENERAL STYLES */
.glass-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.35) 100%) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

body.light-mode .glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 100%) !important;
    backdrop-filter: blur(20px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.04) !important;
}

.emerald-gradient {
    background-color: #030712;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 45%), 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.04) 0%, transparent 60%);
    background-attachment: fixed;
}

html.light-mode .emerald-gradient,
body.light-mode.emerald-gradient,
body.light-mode {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 45%), 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.03) 0%, transparent 60%);
    background-attachment: fixed;
}

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

.fade-in {
    opacity: 1;
}

/* CUSTOM SCROLLBAR FOR MODALS */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
body.light-mode .custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); }

/* CSS FOR CERTIFICATE MODAL (DARK MODE DEFAULT) */
.cert-bg {
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-color: rgba(255,255,255,0.1);
}
.cert-glow-1 { background-color: rgba(16, 185, 129, 0.3); }
.cert-glow-2 { background-color: rgba(59, 130, 246, 0.2); }
.cert-watermark { color: rgba(255,255,255,0.02); }
.cert-badge-bg { background: rgba(16, 185, 129, 0.1); }
.cert-badge-border { border-color: rgba(16, 185, 129, 0.2); }
.cert-badge-text { color: #34d399; }
.cert-title { color: #ffffff; }
.cert-border { border-color: rgba(255,255,255,0.1); }
.cert-box { background: rgba(15,23,42,0.5); border-color: rgba(255,255,255,0.05); }
.cert-label { color: #94a3b8; }
.cert-text { color: #ffffff; }
.cert-icon-bg { background: rgba(255,255,255,0.05); }
.cert-icon-text { color: #34d399; } /* Blue is handled inline */

.cert-input { 
    background: rgba(15,23,42,0.5); 
    color: #ffffff; 
    border-color: rgba(255,255,255,0.1); 
}
.cert-input::placeholder { color: #64748b; }
.cert-btn-text { color: #0f172a; }

/* CSS FOR CERTIFICATE MODAL (LIGHT MODE OVERRIDES) */
body.light-mode .cert-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12), 0 0 20px rgba(16, 185, 129, 0.05) !important;
}
body.light-mode .cert-glow-1 { background-color: rgba(16, 185, 129, 0.1); }
body.light-mode .cert-glow-2 { background-color: rgba(59, 130, 246, 0.05); }
body.light-mode .cert-watermark { color: rgba(0,0,0,0.03); }
body.light-mode .cert-badge-bg { background: rgba(16, 185, 129, 0.05); }
body.light-mode .cert-badge-border { border-color: rgba(16, 185, 129, 0.2); }
body.light-mode .cert-badge-text { color: #059669; }
body.light-mode .cert-title { color: #0f172a !important; }
body.light-mode .cert-border { border-color: rgba(0,0,0,0.05); }
body.light-mode .cert-box { 
    background: #ffffff !important; 
    border-color: rgba(0, 0, 0, 0.06) !important; 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0,0,0,0.1) !important; 
}
body.light-mode .cert-label { color: #64748b !important; }
body.light-mode .cert-text { color: #0f172a !important; }
body.light-mode .cert-icon-bg { background: #ffffff !important; }

body.light-mode .cert-input { 
    background: rgba(241, 245, 249, 0.8) !important; 
    color: #0f172a !important; 
    border-color: rgba(0,0,0,0.1) !important; 
}
body.light-mode .cert-input::placeholder { color: #94a3b8 !important; }
body.light-mode .cert-btn-text { color: #ffffff !important; }

/* MOBILE BOTTOM NAVIGATION */
.mobile-nav-link { color: #cbd5e1; }
body.light-mode .mobile-nav-link { color: #1e293b !important; }

/* SKELETON LOADER ANIMATIONS */
@keyframes skeleton-pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.2; }
    100% { opacity: 0.5; }
}

.skeleton-pulse {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
}

body.light-mode .skeleton-item {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Hide Scrollbar for Carousel */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* SVG CHECKMARK ANIMATION */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 50px #10b981; }
}

/* TEACHER PHOTO ENHANCEMENT */
.glass-card img {
    filter: contrast(1.05) brightness(1.02) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card .shrink-0.rounded-\[2\.5rem\],
.glass-card .w-32.h-32 {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

/* Studio Light Overlay */
.glass-card .shrink-0.rounded-\[2\.5rem\]::after,
.glass-card .w-32.h-32::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Portrait Hover Glow */
.glass-card:hover img {
    filter: contrast(1.1) brightness(1.05) saturate(1.15);
    transform: scale(1.08);
}

/* TESTIMONIAL MARQUEE CAROUSEL */
.testimonial-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.testimonial-marquee-wrapper::before,
.testimonial-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.testimonial-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000000, transparent);
}

.testimonial-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000000, transparent);
}

body.light-mode .testimonial-marquee-wrapper::before {
    background: linear-gradient(to right, #ffffff, transparent);
}

body.light-mode .testimonial-marquee-wrapper::after {
    background: linear-gradient(to left, #ffffff, transparent);
}

.testimonial-marquee {
    display: flex;
    width: max-content;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    padding: 12px 0;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

.testimonial-track-reverse {
    animation: marquee-scroll-reverse 45s linear infinite;
}

.testimonial-marquee-wrapper:hover .testimonial-track {
    animation-play-state: paused;
}
/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testimonial-track, .testimonial-track-reverse { animation: none !important; }
}

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

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

/* PARTNER LOGO MARQUEE TICKER */
.logo-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.logo-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    animation: logo-scroll 32s linear infinite;
}
.logo-marquee-wrapper:hover .logo-track {
    animation-play-state: paused;
}
@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    width: 380px;
    flex-shrink: 0;
    padding: 32px;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.15);
    transform: translateY(-5px) scale(1.01);
}

body.light-mode .testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

body.light-mode .testimonial-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.1);
    transform: translateY(-5px) scale(1.01);
}

.company-badge {
    transition: all 0.25s ease;
}

body.light-mode .company-badge {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #047857 !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
}

.testimonial-quote-icon {
    color: #10b981;
    margin-bottom: 16px;
}

.testimonial-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 24px;
}

body.light-mode .testimonial-text {
    color: #475569;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-mode .testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

/* CAREER ROADMAP STYLES */
.roadmap-container {
    position: relative;
    padding: 40px 0;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.3) 15%, rgba(16, 185, 129, 0.3) 85%, transparent);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .roadmap-line {
        left: 20px;
        transform: none;
    }
}

.roadmap-item {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roadmap-content {
    width: 45%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    background: #0f172a;
    border: 4px solid #10b981;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.roadmap-item:hover .roadmap-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: #10b981;
}

@media (max-width: 768px) {
    .roadmap-item {
        justify-content: flex-start;
        padding-left: 50px;
    }
    .roadmap-content {
        width: 100%;
    }
    .roadmap-dot {
        left: 20px;
    }
    .roadmap-item:nth-child(even) {
        flex-direction: row;
    }
}

.salary-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 99px;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 12px;
}

.roadmap-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 2rem;
    transition: all 0.4s ease;
}

body.light-mode .roadmap-card {
    background: white;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.roadmap-item:hover .roadmap-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
}

body.light-mode .roadmap-item:hover .roadmap-card {
    background: white;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

/* --- Syllabus Navigation Sidebar Premium Styles --- */
#modalNavigation button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
    color: #94a3b8 !important;
}

/* Inactive button hover */
#modalNavigation button:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Active button style */
#modalNavigation button.text-emerald-400 {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
    font-weight: 600 !important;
}

@media (min-width: 768px) {
    #modalNavigation button {
        border-left: 3px solid transparent !important;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }
    #modalNavigation button.text-emerald-400 {
        border-left-color: #10b981 !important;
    }
}

/* --- LIGHT MODE ADJUSTMENTS --- */
body.light-mode #modalNavigation {
    background-color: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-mode #modalNavigation p {
    color: #047857 !important;
    font-weight: 700 !important;
}

body.light-mode #modalNavigation button {
    color: #475569 !important;
}

body.light-mode #modalNavigation button:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.03) !important;
}

body.light-mode #modalNavigation button.text-emerald-400 {
    color: #047857 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
}

/* --- Syllabus Card Adjustments for Light Mode --- */
body.light-mode #modalContent .group {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

body.light-mode #modalContent .group:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    background-color: rgba(16, 185, 129, 0.02) !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.05) !important;
}

body.light-mode #modalContent .group h4 {
    color: #0f172a !important;
}

body.light-mode #modalContent .group li {
    color: #334155 !important;
}

body.light-mode #modalContent .group .bg-white\/5 {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.04) !important;
}

body.light-mode #modalContent .group .bg-emerald-500\/5 {
    background-color: rgba(16, 185, 129, 0.05) !important;
    border-color: rgba(16, 185, 129, 0.1) !important;
}

body.light-mode #modalContent .group .text-slate-400 {
    color: #475569 !important;
}

body.light-mode #modalContent .group .text-slate-500 {
    color: #64748b !important;
}

/* ==========================================================================
   PREMIUM DESIGN SYSTEM ENHANCEMENTS & LIGHT MODE COMPATIBILITY
   ========================================================================== */

/* FOCUS GLOW EFFECT ON INPUTS */
.focus-glow-emerald:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
    background-color: rgba(16, 185, 129, 0.03) !important;
}

body.light-mode .focus-glow-emerald:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15) !important;
    background-color: #ffffff !important;
}

.focus-glow-purple:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.25) !important;
    background-color: rgba(168, 85, 247, 0.03) !important;
}

body.light-mode .focus-glow-purple:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15) !important;
    background-color: #ffffff !important;
}

/* TYPING INDICATOR DOTS ANIMATION */
.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.typing-dots::after {
    content: ' .';
    animation: typing-dots-anim 1.5s infinite steps(4);
    font-weight: bold;
    font-size: 14px;
    line-height: 0;
}
@keyframes typing-dots-anim {
    0%, 100% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* SMOOTH HOVER SCALE ANIMATIONS FOR PREMIUM UX */
.premium-hover-card {
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.premium-hover-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08) !important;
}
body.light-mode .premium-hover-card:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.05) !important;
}

/* INPUTS, SELECTS, TEXTAREAS IN LIGHT MODE */
body.light-mode textarea, 
body.light-mode select, 
body.light-mode input {
    background-color: rgba(241, 245, 249, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #000000 !important;
}
body.light-mode textarea::placeholder,
body.light-mode input::placeholder {
    color: #64748b !important;
}

/* SQL RESULT PANEL & PERFORMANCE LOGS IN LIGHT MODE */
body.light-mode #sqlResultPanel,
body.light-mode #perfConsole {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}
body.light-mode #perfConsole .text-slate-350 {
    color: #475569 !important;
}

/* SQL RESULT TABLES CONTRAST IN LIGHT MODE */
body.light-mode #sqlResultPanel table tr {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-mode #sqlResultPanel table th {
    color: #475569 !important;
}
body.light-mode #sqlResultPanel table td {
    color: #0f172a !important;
}

/* SLACK CHAT PANEL LIGHT MODE COMPATIBILITY */
body.light-mode #slackChatPanel {
    background: #ffffff !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.08) !important;
}
body.light-mode #slackChatPanel div {
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-mode #slackChatPanel .w-1\/3 {
    background-color: #f1f5f9 !important;
}
body.light-mode #slackChatPanel .grow.flex.flex-col {
    background-color: #ffffff !important;
}
body.light-mode #slackChatPanel .bg-slate-950\/80 {
    background-color: #f8fafc !important;
}
body.light-mode #slackChannelTitle {
    color: #0f172a !important;
}
body.light-mode #slackChatPanel button {
    color: #475569 !important;
}
body.light-mode #slackChatPanel button.bg-purple-500\/20 {
    background-color: rgba(168, 85, 247, 0.15) !important;
    color: #7e22ce !important;
}
body.light-mode #slackChatPanel button.text-slate-400:hover {
    background-color: rgba(0, 0, 0, 0.03) !important;
    color: #0f172a !important;
}
body.light-mode #slackMessagesContainer p {
    color: #334155 !important;
}
body.light-mode #slackMessagesContainer span.font-bold {
    color: #0f172a !important;
}
body.light-mode #slackMessagesContainer span.font-mono {
    color: #64748b !important;
}
body.light-mode #slackMessageInput {
    background-color: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}
body.light-mode #slackMessageInput:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15) !important;
}
body.light-mode #slackChatPanel .bg-purple-600 {
    background-color: #9333ea !important;
    color: #ffffff !important;
}
body.light-mode #slackChatPanel .bg-purple-600:hover {
    background-color: #a855f7 !important;
}

/* CHARTS & STATS CONTRAST ADJUSTMENTS IN LIGHT MODE */
body.light-mode #burndownChartBars span.text-slate-400,
body.light-mode #perfChartBars span.text-slate-500 {
    color: #475569 !important;
    font-weight: 700 !important;
}
body.light-mode #burndownChartBars div.border-white\/5,
body.light-mode #perfChartBars div.border-white\/5 {
    border-color: rgba(0, 0, 0, 0.05) !important;
}
body.light-mode #tabContent_performance_testing .bg-black\/45 {
    background-color: #f8fafc !important;
}

/* ==========================================================================
   PRACTICE PORTAL SPECIFIC LIGHT MODE OVERRIDES
   ========================================================================== */

/* Sidebar Navigation container */
body.light-mode aside {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Sidebar navigation buttons */
body.light-mode .nav-btn {
    color: #475569 !important; /* slate-600 */
}
body.light-mode .nav-btn:hover {
    color: #0f172a !important; /* slate-900 */
    background-color: rgba(0, 0, 0, 0.04) !important;
}
body.light-mode .nav-btn-active {
    color: #059669 !important; /* emerald-650 */
    background-color: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
}

/* Sidebar Points Block */
body.light-mode .sidebar-points {
    background-color: rgba(245, 158, 11, 0.05) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
}
body.light-mode .sidebar-points-val {
    color: #d97706 !important; /* amber-600 */
}

/* User Profile Info in Sidebar */
body.light-mode #studentIdDisplay {
    color: #059669 !important;
}
body.light-mode #studentCourseDisplay {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

/* Weekly activity chart bars */
body.light-mode .week-bar {
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}
body.light-mode .week-bar.today {
    background: rgba(16, 185, 129, 0.75) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
}
body.light-mode .week-bar-label {
    color: #475569 !important;
}

/* Welcome Banner & General Dark slate containers */
body.light-mode .bg-slate-900\/40,
body.light-mode .bg-slate-900\/30,
body.light-mode .bg-slate-900\/50,
body.light-mode .bg-slate-900\/80,
body.light-mode .bg-slate-900 {
    background-color: #ffffff !important;
}

body.light-mode .bg-slate-950,
body.light-mode .bg-slate-950\/95,
body.light-mode .bg-slate-950\/40,
body.light-mode .bg-slate-950\/20,
body.light-mode .bg-slate-950\/30,
body.light-mode .bg-slate-950\/60,
body.light-mode .bg-slate-950\/70,
body.light-mode .bg-slate-950\/80 {
    background-color: #ffffff !important;
}

body.light-mode .border-white\/5,
body.light-mode .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Text and colors readability */
body.light-mode .text-slate-400,
body.light-mode .text-slate-500 {
    color: #475569 !important;
}
body.light-mode .text-slate-300,
body.light-mode .text-slate-200 {
    color: #1e293b !important;
}
body.light-mode .text-white {
    color: #0f172a !important;
}
body.light-mode .text-emerald-400 {
    color: #059669 !important;
}
body.light-mode .text-rose-400 {
    color: #e11d48 !important;
}
body.light-mode .text-orange-400 {
    color: #ea580c !important;
}

/* JIRA Board Column background */
body.light-mode .kanban-col {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-mode .kanban-empty {
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #94a3b8 !important;
}
body.light-mode .animate-glow-pulse {
    animation: glow-pulse-light 2s infinite ease-in-out !important;
}

/* Logout button */
body.light-mode #logoutBtn {
    color: #e11d48 !important; /* rose-600 */
}
body.light-mode #logoutBtn:hover {
    background-color: rgba(225, 29, 72, 0.05) !important;
    color: #be123c !important;
}

/* Login screen compatibility */
body.light-mode #loginScreen {
    background-color: #f8fafc !important;
}
body.light-mode #loginScreen .glass-card {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06) !important;
}
body.light-mode #studentIdInput {
    background-color: #f1f5f9 !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: #0f172a !important;
}

/* Modal Overlay Backdrops (keep semi-transparent dark grey instead of solid white) */
body.light-mode .fixed.inset-0.bg-slate-950\/80,
body.light-mode .fixed.inset-0.bg-slate-950\/70,
body.light-mode .fixed.inset-0.bg-slate-950\/60 {
    background-color: rgba(15, 23, 42, 0.45) !important;
}

/* Sandbox Toolbar Buttons */
body.light-mode .sb-toolbar-btn {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important; /* slate-600 */
}
body.light-mode .sb-toolbar-btn:hover {
    background-color: rgba(16, 185, 129, 0.05) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: #059669 !important; /* emerald-600 */
}
body.light-mode .sb-toolbar-btn svg {
    stroke: currentColor !important;
}

/* Viewport Emulator Button contrast */
body.light-mode #vpBtn_desktop:not(.bg-emerald-500\/10),
body.light-mode #vpBtn_iphone:not(.bg-emerald-500\/10),
body.light-mode #vpBtn_galaxy:not(.bg-emerald-500\/10) {
    color: #64748b !important;
}
body.light-mode #vpBtn_desktop:not(.bg-emerald-500\/10):hover,
body.light-mode #vpBtn_iphone:not(.bg-emerald-500\/10):hover,
body.light-mode #vpBtn_galaxy:not(.bg-emerald-500\/10):hover {
    color: #0f172a !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
}

/* Compare Bar Buttons & Text overrides */
body.light-mode #sandboxCompareBar {
    color: #475569 !important;
}
body.light-mode #sandboxCompareBar button:not(.bg-emerald-500) {
    color: #64748b !important;
}
body.light-mode #sandboxCompareBar button:not(.bg-emerald-500):hover {
    color: #0f172a !important;
}

/* HIGH-OPACITY OVERLAYS FOR MODAL CARDS (PREVENTS BACKGROUND TEXT OVERLAPPING) */
.fixed.inset-0 .glass-card {
    background: linear-gradient(135deg, rgba(10, 11, 20, 0.97) 0%, rgba(15, 23, 42, 0.97) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.light-mode .fixed.inset-0 .glass-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* --- Premium Vacancy Card Styling --- */
.vacancy-card {
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.25rem !important; /* 20px clean radius */
    padding: 1.5rem !important;        /* 24px generous padding — guarantees no corner clipping */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.vacancy-card:hover {
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.12) !important;
}

/* Light Mode Premium Overrides for Vacancy Cards */
body.light-mode .vacancy-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem !important; /* 20px clean radius */
    padding: 1.5rem !important;        /* 24px padding ensures clear distance from corner arcs */
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
}

body.light-mode .vacancy-card:hover {
    border-color: #10b981 !important;
    box-shadow: 0 16px 36px -8px rgba(16, 185, 129, 0.16) !important;
}

body.light-mode .vacancy-card h3 {
    color: #0f172a !important;
}

body.light-mode .vacancy-card .text-slate-400 {
    color: #475569 !important;
}

body.light-mode .vacancy-card .text-slate-200 {
    color: #1e293b !important;
}

body.light-mode .vacancy-card .text-slate-500 {
    color: #64748b !important;
}

body.light-mode .vacancy-card .border-t {
    border-top-color: #f1f5f9 !important;
}

body.light-mode .vacancy-card .bg-white\/5 {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .vacancy-card .bg-blue-500\/10 {
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

body.light-mode .vacancy-card .bg-emerald-500\/10 {
    background-color: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

/* --- Vacancy Card Button Hover Overrides --- */
.vacancy-card button {
    transition: all 0.3s ease !important;
}

body.light-mode .vacancy-card button {
    background-color: #ecfdf5 !important; /* emerald-50 */
    color: #059669 !important;            /* emerald-600 */
    border-color: #a7f3d0 !important;        /* emerald-200 */
}

.vacancy-card:hover button,
body.light-mode .vacancy-card:hover button {
    background-color: #10b981 !important; /* bg-emerald-500 */
    color: #ffffff !important;            /* text-white */
    border-color: #10b981 !important;
}

/* ── Vacancy Description HTML Prose Styles ── */
.vacancy-description p {
    margin-bottom: 0.75rem;
    color: #cbd5e1; /* slate-300 */
    line-height: 1.7;
}

.vacancy-description p:last-child {
    margin-bottom: 0;
}

.vacancy-description strong, 
.vacancy-description b {
    color: #f1f5f9; /* slate-100 */
    font-weight: 600;
}

.vacancy-description ul,
.vacancy-description ol {
    margin: 0.5rem 0 0.75rem 1.25rem;
    color: #cbd5e1;
}

.vacancy-description ul {
    list-style-type: disc;
}

.vacancy-description ol {
    list-style-type: decimal;
}

.vacancy-description li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

/* Light mode overrides for vacancy descriptions */
body.light-mode .vacancy-description p {
    color: #334155 !important;
}
body.light-mode .vacancy-description strong,
body.light-mode .vacancy-description b {
    color: #0f172a !important;
}
body.light-mode .vacancy-description ul,
body.light-mode .vacancy-description ol {
    color: #334155 !important;
}

.vacancy-description h1,
.vacancy-description h2,
.vacancy-description h3,
.vacancy-description h4 {
    color: #f1f5f9;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

body.light-mode .vacancy-description h1,
body.light-mode .vacancy-description h2,
body.light-mode .vacancy-description h3,
body.light-mode .vacancy-description h4 {
    color: #0f172a !important;
}

.vacancy-description a {
    color: #10b981;
    text-decoration: underline;
}

.vacancy-description a:hover {
    color: #34d399;
}

.vacancy-description br {
    display: block;
    margin-bottom: 0.25rem;
    content: "";
}

/* ==========================================================================
   INTERACTIVE 3D & PREMIUM GLASSMORPHISM V2
   ========================================================================== */

#bg-3d-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.glass-card-interactive {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card-interactive:hover {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.15) !important;
}

body.light-mode .glass-card-interactive {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(30px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(160%) !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .glass-card-interactive:hover {
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06) !important;
}

/* NEON GLOW EFFECTS */
.glow-emerald {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.glow-emerald-hover:hover {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

/* 3D FLOATING ANIMATION */
@keyframes float3d {
    0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-12px) rotateX(1.5deg) rotateY(1.5deg); }
    100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
}

.animate-float-3d {
    animation: float3d 8s ease-in-out infinite;
}

/* 3D DEPTH TRANSLATIONS */
.preserve-3d {
    transform-style: preserve-3d;
}

.translate-z-10 {
    transform: translateZ(10px);
}

.translate-z-20 {
    transform: translateZ(20px);
}

.translate-z-30 {
    transform: translateZ(30px);
}

.translate-z-40 {
    transform: translateZ(40px);
}
/* Career roadmap custom active states */
.step-indicator {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.step-indicator.active-step {
    background: #10b981 !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 15px #10b981, 0 0 30px rgba(16, 185, 129, 0.6) !important;
    transform: scale(1.3);
}

/* Scroll Reveal Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================
   🎮 BUG HUNT GAME CSS CLASSES
   ========================================== */
.flipped-bug {
    transform: scaleY(-1) !important;
    transition: transform 0.3s ease;
}

@keyframes shake-anim {
    0%, 100% { transform: scaleY(-1) rotate(0deg); }
    20% { transform: scaleY(-1) rotate(-3deg) translateX(-2px); }
    40% { transform: scaleY(-1) rotate(3deg) translateX(2px); }
    60% { transform: scaleY(-1) rotate(-1.5deg) translateX(-1px); }
    80% { transform: scaleY(-1) rotate(1.5deg) translateX(1px); }
}

.flipped-bug.game-active:hover {
    animation: shake-anim 0.4s ease infinite;
    cursor: pointer;
}

@keyframes spin-anim {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinning-logo {
    animation: spin-anim 2.5s linear infinite !important;
    cursor: pointer;
}

.scrambled-text {
    color: #ef4444 !important;
    text-shadow: 2px 2px #3b82f6;
    cursor: pointer;
    position: relative;
}

.scrambled-text::after {
    content: ' [BUG]';
    font-size: 8px;
    vertical-align: super;
    color: #3b82f6;
}

.catchable-btn {
    border: 2px dashed #ef4444 !important;
    animation: pulse-border-anim 1.5s infinite !important;
}

@keyframes pulse-border-anim {
    0%, 100% { border-color: #ef4444; }
    50% { border-color: transparent; }
}

/* Sleek styling and overrides for header game button */
#bugHuntGameToggle {
    background: rgba(16, 185, 129, 0.06) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #34d399 !important; /* emerald-400 */
    transition: all 0.3s ease !important;
}

#bugHuntGameToggle:hover {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #10b981 !important; /* emerald-500 */
}

body.light-mode #bugHuntGameToggle {
    background: rgba(5, 150, 105, 0.04) !important;
    border: 1px solid rgba(5, 150, 105, 0.15) !important;
    color: #059669 !important; /* emerald-600 */
}

body.light-mode #bugHuntGameToggle:hover {
    background: rgba(5, 150, 105, 0.1) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
    color: #047857 !important; /* emerald-700 */
}

#bugHuntGameToggle.active-game {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: #ef4444 !important; /* red-500 */
}

body.light-mode #bugHuntGameToggle.active-game {
    background: rgba(239, 68, 68, 0.06) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    color: #dc2626 !important; /* red-600 */
}

#mobileBugHuntFAB.active-game {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

/* ==========================================
   💡 LIGHT MODE OVERRIDES FOR BUG HUNT MODAL
   ========================================== */
body.light-mode #gameSuccessModal .modal-backdrop {
    background-color: rgba(15, 23, 42, 0.4) !important;
}

body.light-mode #gameSuccessModal .glass-card-modal {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode #gameSuccessModal .modal-title {
    color: #0f172a !important;
}

body.light-mode #gameSuccessModal .modal-badge-card {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    color: #334155 !important;
}

body.light-mode #gameSuccessModal .modal-badge-card h4 {
    color: #0f172a !important;
}

body.light-mode #gameSuccessModal .modal-badge-card p {
    color: #475569 !important;
}

body.light-mode #gameSuccessModal .modal-badge-card span {
    color: #64748b !important;
}

body.light-mode #gameSuccessModal .modal-close-btn {
    color: #64748b !important;
}

body.light-mode #gameSuccessModal .modal-close-btn:hover {
    color: #0f172a !important;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(-8px);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite !important;
}

/* Sizzling neon breathing glow for game buttons */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(16, 185, 129, 0.05), 0 0 0px transparent;
        border-color: rgba(16, 185, 129, 0.25);
    }
    50% {
        box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15), 0 0 8px rgba(16, 185, 129, 0.05);
        border-color: rgba(16, 185, 129, 0.55);
    }
}

@keyframes glow-pulse-light {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(5, 150, 105, 0.03), 0 0 0px transparent;
        border-color: rgba(5, 150, 105, 0.15);
    }
    50% {
        box-shadow: 0 4px 18px rgba(5, 150, 105, 0.1), 0 0 6px rgba(5, 150, 105, 0.03);
        border-color: rgba(5, 150, 105, 0.35);
    }
}

.animate-glow-pulse {
    animation: glow-pulse 2s infinite ease-in-out !important;
    transition: all 0.3s ease;
}

/* Light mode overrides for glow pulse */
body.light-mode .animate-glow-pulse {
    animation: glow-pulse-light 2s infinite ease-in-out !important;
}

/* ==========================================
   Resolved Bug Glowing Effect
   ========================================== */
@keyframes resolved-glow-anim {
    0%, 100% {
        box-shadow: 0 0 0px transparent;
        border-color: transparent;
    }
    30%, 70% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.9), inset 0 0 10px rgba(16, 185, 129, 0.4);
        border-color: #10b981 !important;
    }
}
.bug-resolved-glow {
    animation: resolved-glow-anim 2s ease-in-out !important;
    outline: 2px solid #10b981 !important;
    outline-offset: 4px !important;
}

/* Light mode overrides for progress tracker */
body.light-mode #gameProgressTracker {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}
body.light-mode #gameProgressTracker #trackerDots span:not(.bg-emerald-500) {
    background-color: #cbd5e1 !important;
}

/* Light mode overrides for contactModal */
body.light-mode #contactModal .modal-backdrop {
    background-color: rgba(15, 23, 42, 0.4) !important;
}

body.light-mode #contactModal .glass-card-modal {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode #contactModal h2 {
    color: #0f172a !important;
}

body.light-mode #contactModal p {
    color: #475569 !important;
}

body.light-mode #contactModal #waCourseSelect {
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}

body.light-mode #contactModal button[onclick="closeAllModals()"] {
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
    color: #64748b !important;
}
body.light-mode #contactModal button[onclick="closeAllModals()"]:hover {
    color: #ef4444 !important;
}

/* ==========================================================================
   2026 DESIGN SYSTEM ENHANCEMENTS (AMBIESH MESH, SLIDE-OVER DRAWER, ACCENTS)
   ========================================================================== */

/* Ambient Glow Blobs */
.ambient-glow-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.28;
    animation: floatBlob 18s infinite ease-in-out alternate;
    will-change: transform;
}

body.light-mode .ambient-blob {
    opacity: 0.16;
}

.ambient-blob-1 {
    top: -5%;
    left: 15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.55), transparent 70%);
}

.ambient-blob-2 {
    bottom: 10%;
    right: 5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4), transparent 70%);
}

.ambient-blob-3 {
    top: 40%;
    left: 35%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.3), transparent 70%);
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
    100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Slide-Over Drawer UI */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(8px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-over-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 560px;
    z-index: 95;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.slide-over-panel.active {
    transform: translateX(0);
}

/* Sidebar Nav Group Label */
.nav-group-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    items-center: center;
    justify-content: space-between;
}

/* Enhanced Card Elevate and Interactive Micro-interactions */
.stat-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.stat-card:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    background: rgba(16, 185, 129, 0.05) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.18) !important;
}

.glass-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Prevent text/icon flicker during 3D tilt hover */
.glass-card-interactive {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-font-smoothing: subpixel-antialiased;
    will-change: transform;
    transition: transform 0.1s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card-interactive h3,
.glass-card-interactive p,
.glass-card-interactive svg,
.glass-card-interactive span {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* ========================================================
   3D INSTRUCTOR STAGE & ORBIT CAROUSEL STYLES
   ======================================================== */
.stage-container {
    perspective: 1200px;
    perspective-origin: 50% 35%;
}

.orbit-carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: none;
    z-index: 10;
}

.company-card-3d {
    pointer-events: auto;
    position: absolute;
    top: 35%;
    left: 50%;
    width: 218px;
    height: 116px;
    margin-left: -109px;
    margin-top: -58px;
    padding: 11px 13px !important;
    border-radius: 1.15rem;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 
        0 16px 36px rgba(0, 0, 0, 0.65),
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(16, 185, 129, 0.08);
    transform-style: preserve-3d;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    cursor: pointer;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.company-card-3d * {
    max-width: 100%;
    box-sizing: border-box;
}

.company-card-3d .icon-tile {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 0.65rem !important;
    padding: 5px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.company-card-3d .company-logo-img {
    max-height: 32px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.company-card-3d .skill-logo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.company-card-3d .role-text,
.company-card-3d .name-text,
.company-card-3d .card-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
}

.company-card-3d:hover {
    border-color: rgba(52, 211, 153, 0.7) !important;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(16, 185, 129, 0.35);
    background: #1e293b !important;
}

/* Mobile Responsive Scale for 3D Cards, Portrait & Stage */
@media (max-width: 640px) {
    #stage-viewport {
        height: 380px !important;
    }
    .teacher-portrait-wrapper {
        width: 240px !important;
        height: 320px !important;
    }
    .company-card-3d {
        width: 154px !important;
        height: 90px !important;
        margin-left: -77px !important;
        margin-top: -45px !important;
        padding: 8px 10px !important;
        border-radius: 0.85rem !important;
        top: 30% !important;
    }
    .company-card-3d .card-title {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
    }
    .company-card-3d .icon-tile {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-radius: 0.45rem !important;
        padding: 3px !important;
    }
    .company-card-3d .company-logo-img {
        max-height: 22px !important;
    }
    .company-card-3d .role-text {
        font-size: 0.625rem !important;
        line-height: 1.1 !important;
    }
    .company-card-3d .name-text {
        font-size: 0.525rem !important;
        line-height: 1.1 !important;
    }
}

/* Teacher Hero Image Container */
.teacher-portrait-wrapper {
    position: relative;
    z-index: 100 !important;
    pointer-events: none;
    transform: translateZ(80px);
    mask-image: linear-gradient(to bottom, black 0%, black 84%, rgba(0,0,0,0.4) 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 84%, rgba(0,0,0,0.4) 93%, transparent 100%);
}

.teacher-img {
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.45)) contrast(1.03) brightness(1.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

/* Green glow removed behind teacher */
.backlight-glow {
    display: none !important;
}

.teacher-tab {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.teacher-tab.active {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.8) !important;
    color: #34d399 !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

/* Light Mode Overrides for 3D Stage */
body.light-mode .stage-container {
    background: none !important;
}

body.light-mode .company-card-3d {
    background: #ffffff !important;
    border: 1px solid rgba(203, 213, 225, 0.85) !important;
    box-shadow: 
        0 14px 30px rgba(15, 23, 42, 0.09),
        0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .company-card-3d:hover {
    background: #f8fafc !important;
    border-color: rgba(16, 185, 129, 0.7) !important;
    box-shadow: 
        0 20px 40px rgba(15, 23, 42, 0.14),
        0 0 25px rgba(16, 185, 129, 0.25) !important;
}

/* Natural vibrant logos in light mode: invert white company text to dark while keeping brand colors */
body.light-mode .company-card-3d .company-logo-img:not([src*="istqb"]):not([src*="goldenpay"]) {
    filter: invert(0.92) hue-rotate(180deg) drop-shadow(0 1px 2px rgba(0,0,0,0.06)) !important;
}

body.light-mode .company-card-3d .company-logo-img[src*="istqb"],
body.light-mode .company-card-3d .company-logo-img[src*="goldenpay"] {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06)) !important;
}

.company-card-3d .icon-tile:has(img[src*="istqb"]) {
    background: #ffffff !important;
    padding: 3px !important;
}

body.light-mode .company-card-3d .skill-logo-img {
    filter: none !important;
}

body.light-mode .teacher-tab {
    background: #ffffff !important;
    border-color: rgba(203, 213, 225, 0.85) !important;
    color: #475569 !important;
}

body.light-mode .teacher-tab.active {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    color: #059669 !important;
}

body.light-mode .company-card-3d .border-white\/10 {
    border-color: rgba(226, 232, 240, 0.95) !important;
}

body.light-mode .company-card-3d .card-title,
body.light-mode .company-card-3d span {
    color: #0f172a !important;
}

body.light-mode .company-card-3d p.role-text {
    color: #059669 !important;
}

body.light-mode .company-card-3d p.name-text {
    color: #64748b !important;
}

body.light-mode .company-card-3d .icon-tile {
    background: #f1f5f9 !important;
    border-color: rgba(203, 213, 225, 0.8) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

body.light-mode #hud-left-title,
body.light-mode #hud-right-title {
    color: #0f172a !important;
}

body.light-mode #hud-left-sub,
body.light-mode #hud-right-sub {
    color: #64748b !important;
}

body.light-mode .teacher-img {
    filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.15)) contrast(1.02) !important;
}

.pill-badge {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.light-mode .pill-badge {
    background: rgba(245, 158, 11, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.25) !important;
    color: #d97706 !important;
}

body.light-mode .teacher-hero-title {
    color: #0f172a !important;
}

body.light-mode .teacher-hero-title span {
    color: #334155 !important;
}

body.light-mode #teacher-name {
    color: #0f172a !important;
}

body.light-mode #teacher-desc {
    color: #475569 !important;
}

body.light-mode #teacherModal .glass-card {
    background: #ffffff !important;
    border-color: rgba(203, 213, 225, 0.8) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15) !important;
}

body.light-mode #modalName,
body.light-mode #modalCompany,
body.light-mode #modalContent h3 {
    color: #0f172a !important;
}

body.light-mode #modalBio {
    color: #334155 !important;
    border-color: rgba(226, 232, 240, 0.9) !important;
}

body.light-mode #modalContent li {
    color: #334155 !important;
}

/* ===== Universal Marketing Floating CTA Styles (Dark & Light Mode Isolation) ===== */
#marketingFloatingCta,
#marketingFloatingCta * {
    box-sizing: border-box !important;
}

#marketingFloatingCta {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    pointer-events: auto !important;
}

/* Speech Bubble Tooltip in Dark Mode */
#ctaSpeechBubble {
    background: #0f172a !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    border-radius: 1rem !important;
    padding: 0.75rem 0.875rem !important;
    max-width: 250px !important;
}

#ctaSpeechBubble .cta-bubble-title {
    color: #f8fafc !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 3px 0 !important;
}

#ctaSpeechBubble .cta-bubble-desc {
    color: #94a3b8 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

#ctaSpeechBubble .cta-bubble-tail {
    position: absolute !important;
    bottom: -7px !important;
    right: 24px !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-top: 7px solid #0f172a !important;
}

#closeCtaBubble {
    position: absolute !important;
    top: -9px !important;
    right: -9px !important;
    background: #1e293b !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #f8fafc !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    touch-action: manipulation !important;
    transition: all 0.2s ease !important;
}

#closeCtaBubble:hover,
#closeCtaBubble:active {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    transform: scale(1.1) !important;
}

/* Light Mode Overrides for Speech Bubble */
body.light-mode #ctaSpeechBubble {
    background: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 0 15px rgba(16, 185, 129, 0.15) !important;
}

body.light-mode #ctaSpeechBubble .cta-bubble-title {
    color: #0f172a !important;
}

body.light-mode #ctaSpeechBubble .cta-bubble-desc {
    color: #475569 !important;
}

body.light-mode #ctaSpeechBubble .cta-bubble-tail {
    border-top: 7px solid #ffffff !important;
}

body.light-mode #closeCtaBubble {
    background: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

body.light-mode #closeCtaBubble:hover,
body.light-mode #closeCtaBubble:active {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* Round WhatsApp Floating Button (Both Modes) */
#marketingFloatingCta .cta-round-btn {
    position: relative !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0,0,0,0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    margin-right: 4px !important;
}

#marketingFloatingCta .cta-round-btn:hover {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65), 0 6px 15px rgba(0,0,0,0.25) !important;
}

#marketingFloatingCta .cta-round-btn:active {
    transform: scale(0.95) !important;
}

/* Pulsing Ambient Ring */
#marketingFloatingCta .cta-pulse-ring {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 50% !important;
    border: 2px solid rgba(37, 211, 102, 0.6) !important;
    background: rgba(37, 211, 102, 0.12) !important;
    animation: waPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    60% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Small Green Online Dot */
#marketingFloatingCta .cta-online-badge {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 12px !important;
    height: 12px !important;
    background: #10b981 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
}

/* WhatsApp SVG Icon */
#marketingFloatingCta .cta-wa-svg {
    width: 32px !important;
    height: 32px !important;
    fill: #ffffff !important;
    filter: none !important;
    shape-rendering: geometricPrecision !important;
}

/* Mobile Specific Non-Overlapping Symmetrical Layout */
@media (max-width: 767px) {
    /* WhatsApp Floating Button - Neatly positioned on the RIGHT side above bottom nav */
    #marketingFloatingCta {
        bottom: 106px !important;
        right: 16px !important;
        left: auto !important;
        z-index: 850 !important;
    }
    
    #marketingFloatingCta .cta-round-btn {
        width: 48px !important;
        height: 48px !important;
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45) !important;
    }
    
    #marketingFloatingCta .cta-wa-svg {
        width: 26px !important;
        height: 26px !important;
    }
    
    #ctaSpeechBubble {
        max-width: 220px !important;
        padding: 0.5rem 0.75rem !important;
        right: 0 !important;
    }
    
    /* Bug Hunt Button ("İNTUİSİYANI YOXLA") - Neatly positioned on the LEFT side above bottom nav */
    #mobileBugHuntFAB {
        left: 16px !important;
        right: auto !important;
        bottom: 106px !important;
        height: 44px !important;
        padding: 0 16px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        border-radius: 9999px !important;
        z-index: 850 !important;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35) !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
    }

    /* Bug Hunt progress tracker positioned cleanly above nav bar */
    #gameProgressTracker {
        bottom: 106px !important;
        z-index: 950 !important;
    }
}

/* =========================================================
   ARTICLE PAGES - LIGHT MODE REFINEMENTS
   ========================================================= */

body.light-mode article.glass-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

body.light-mode article.glass-card h1,
body.light-mode article.glass-card h2,
body.light-mode article.glass-card h3,
body.light-mode article.glass-card h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light-mode article.glass-card p,
body.light-mode article.glass-card li {
    color: #334155 !important;
}

body.light-mode article.glass-card li strong {
    color: #0f172a !important;
}

body.light-mode article.glass-card .text-slate-300,
body.light-mode article.glass-card .text-slate-400 {
    color: #475569 !important;
}

body.light-mode article.glass-card .text-slate-200 {
    color: #1e293b !important;
}

/* Color Accent Refinements in Light Mode */
body.light-mode article.glass-card .text-emerald-400 {
    color: #059669 !important;
}

body.light-mode article.glass-card .text-teal-400 {
    color: #0d9488 !important;
}

body.light-mode article.glass-card .text-cyan-400 {
    color: #0284c7 !important;
}

body.light-mode article.glass-card .text-rose-400 {
    color: #e11d48 !important;
}

body.light-mode article.glass-card .text-amber-400 {
    color: #d97706 !important;
}

body.light-mode article.glass-card .text-blue-400 {
    color: #2563eb !important;
}

body.light-mode article.glass-card .text-purple-400 {
    color: #7c3aed !important;
}

/* Top Meta Badges in Light Mode */
body.light-mode article.glass-card .pill-badge,
body.light-mode article.glass-card .inline-flex.rounded-full.bg-white\/5 {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

body.light-mode article.glass-card .pill-badge strong {
    color: #0f172a !important;
}

/* Author Bio Card in Light Mode */
body.light-mode .author-bio-card,
body.light-mode div.bg-slate-900\/60,
body.light-mode article.glass-card div[class*="bg-slate-900"] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .author-bio-card h4,
body.light-mode article.glass-card div[class*="bg-slate-900"] h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light-mode .author-bio-card p,
body.light-mode article.glass-card div[class*="bg-slate-900"] p {
    color: #475569 !important;
}

body.light-mode .author-bio-card span[class*="text-emerald"] {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

/* Article Cards & Boxes in Light Mode (FAQ, Tips, Callouts) */
body.light-mode article.glass-card .bg-white\/5,
body.light-mode article.glass-card div[class*="bg-white/5"] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode article.glass-card .border-white\/10,
body.light-mode article.glass-card *[class*="border-white"] {
    border-color: #e2e8f0 !important;
}

/* Code Blocks in Light Mode - Sleek Dark Terminal Editor */
body.light-mode article.glass-card pre,
body.light-mode article.glass-card .bg-slate-950 {
    background: #0f172a !important;
    color: #34d399 !important;
    border: 1px solid #1e293b !important;
}

/* Tables in Light Mode */
body.light-mode article.glass-card table {
    border-color: #e2e8f0 !important;
}

body.light-mode article.glass-card thead {
    background: #f1f5f9 !important;
}

body.light-mode article.glass-card thead th {
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

body.light-mode article.glass-card tbody td {
    color: #334155 !important;
    border-color: #f1f5f9 !important;
}

/* Header & Footer on Article Pages in Light Mode */
body.light-mode header.glass-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body.light-mode footer.bg-slate-950\/60 {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}

/* ========================================================
   CAREER NETWORK VISUALIZATION (PREMIUM TECH ECOSYSTEM)
   ======================================================== */
.career-network-section {
    position: relative;
    width: 100%;
}

.network-stage {
    position: relative;
    width: 100%;
}

@media (min-width: 1024px) {
    .network-stage {
        min-height: 580px;
    }
}

/* SVG Connection Canvas */
.network-svg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.synapse-path {
    fill: none;
    stroke: rgba(16, 185, 129, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 6 10;
    animation: synapseFlow 25s linear infinite;
    transition: stroke 0.4s ease, stroke-width 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.synapse-path.active {
    stroke: rgba(16, 185, 129, 0.9) !important;
    stroke-width: 2.5 !important;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.7));
}

@keyframes synapseFlow {
    from { stroke-dashoffset: 320; }
    to { stroke-dashoffset: 0; }
}

/* Orbital Rings */
.orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orbit-ring-1 {
    width: 360px;
    height: 360px;
    border: 1px dashed rgba(16, 185, 129, 0.18);
    animation: orbitRotate 60s linear infinite;
}

.orbit-ring-2 {
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: orbitRotateRev 80s linear infinite;
}

body.light-mode .orbit-ring-1 {
    border-color: rgba(16, 185, 129, 0.25);
}
body.light-mode .orbit-ring-2 {
    border-color: rgba(0, 0, 0, 0.06);
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotateRev {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Center Core Hub */
.network-core-hub {
    position: relative;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (min-width: 1024px) {
    .network-stage .network-core-hub {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

body:not(.light-mode) .network-core-hub {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.88) 75%) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 0 60px -10px rgba(16, 185, 129, 0.28), inset 0 0 25px rgba(16, 185, 129, 0.1) !important;
}

body.light-mode .network-core-hub {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, #ffffff 85%) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.18), 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* Satellite Sector Nodes */
.network-node {
    position: absolute;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    z-index: 5;
    will-change: transform, box-shadow;
}

/* Invisible Hitbox Buffer to completely prevent edge flicker when translateY occurs */
.network-node::after {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -12px;
    right: -12px;
    z-index: -1;
    pointer-events: auto;
}

.network-node:hover {
    z-index: 10;
}

.network-node.dimmed {
    opacity: 0.65 !important;
}

body:not(.light-mode) .network-node {
    background: rgba(15, 23, 42, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

body:not(.light-mode) .network-node:hover {
    background: rgba(15, 23, 42, 0.96) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 16px 45px -10px rgba(16, 185, 129, 0.35) !important;
}

body.light-mode .network-node {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .network-node:hover {
    background: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 16px 35px -10px rgba(16, 185, 129, 0.2) !important;
}

/* ========================================================
   CAREER NETWORK: AVATAR TOOLTIPS & GRADUATE MODAL THEMES
   ======================================================== */

/* Avatar Tooltips */
.avatar-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 60;
    white-space: nowrap;
    border-radius: 0.75rem;
    padding: 0.45rem 0.75rem;
}

.group\/avatar:hover .avatar-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

body:not(.light-mode) .avatar-tooltip {
    background: rgba(15, 23, 42, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6) !important;
}
body:not(.light-mode) .avatar-tooltip .tooltip-name {
    color: #ffffff !important;
}
body:not(.light-mode) .avatar-tooltip .tooltip-meta {
    color: #34d399 !important;
}
body:not(.light-mode) .avatar-tooltip .tooltip-company {
    color: #cbd5e1 !important;
}

body.light-mode .avatar-tooltip {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}
body.light-mode .avatar-tooltip .tooltip-name {
    color: #0f172a !important;
}
body.light-mode .avatar-tooltip .tooltip-meta {
    color: #059669 !important;
}
body.light-mode .avatar-tooltip .tooltip-company {
    color: #475569 !important;
}

/* Modal Styling */
#sector-graduate-modal.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#sector-graduate-modal.active .modal-content-box {
    transform: scale(1) translateY(0) !important;
}

/* Dark Mode Modal */
body:not(.light-mode) #sector-graduate-modal .modal-content-box {
    background: #0f172a !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #f8fafc !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7) !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-header-border {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
body:not(.light-mode) #sector-graduate-modal #modal-sector-title {
    color: #ffffff !important;
}
body:not(.light-mode) #sector-graduate-modal #modal-sector-count {
    color: #34d399 !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-graduate-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-graduate-card:hover {
    border-color: rgba(16, 185, 129, 0.35) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-graduate-name {
    color: #ffffff !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-graduate-role {
    color: #94a3b8 !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-company-pill {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-close-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
}
body:not(.light-mode) #sector-graduate-modal .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

/* Light Mode Modal */
body.light-mode #sector-graduate-modal .modal-content-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15) !important;
}
body.light-mode #sector-graduate-modal .modal-header-border {
    border-color: #f1f5f9 !important;
}
body.light-mode #sector-graduate-modal #modal-sector-title {
    color: #0f172a !important;
}
body.light-mode #sector-graduate-modal #modal-sector-count {
    color: #059669 !important;
}
body.light-mode #sector-graduate-modal .modal-graduate-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}
body.light-mode #sector-graduate-modal .modal-graduate-card:hover {
    border-color: rgba(16, 185, 129, 0.4) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
body.light-mode #sector-graduate-modal .modal-graduate-name {
    color: #0f172a !important;
}
body.light-mode #sector-graduate-modal .modal-graduate-role {
    color: #64748b !important;
}
body.light-mode #sector-graduate-modal .modal-company-pill {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}
body.light-mode #sector-graduate-modal .modal-close-btn {
    background: #f1f5f9 !important;
    color: #64748b !important;
}
body.light-mode #sector-graduate-modal .modal-close-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
body.light-mode #sector-graduate-modal #modal-view-all-link {
    color: #059669 !important;
}
body.light-mode #sector-graduate-modal #modal-view-all-link:hover {
    color: #047857 !important;
}

/* ========================================================
   UNIFIED INTERACTIVE TESTIMONIALS & SPOTLIGHT SYSTEM
   ======================================================== */

/* Pinned Sector Node State */
.network-node.pinned-sector {
    border-color: rgba(16, 185, 129, 0.8) !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25), inset 0 0 15px rgba(16, 185, 129, 0.1) !important;
}
body.light-mode .network-node.pinned-sector {
    border-color: #059669 !important;
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.15) !important;
    background: #ffffff !important;
}

/* Unified Testimonial Card */
.testimonial-unified-card {
    position: relative;
    border-radius: 1.75rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

body:not(.light-mode) .testimonial-unified-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}
body:not(.light-mode) .testimonial-unified-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
}

body.light-mode .testimonial-unified-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
body.light-mode .testimonial-unified-card:hover {
    border-color: rgba(5, 150, 105, 0.4) !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.14) !important;
}

/* Spotlight Highlight (When avatar is clicked) */
.testimonial-unified-card.card-spotlight {
    animation: spotlightPulse 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 20;
}

@keyframes spotlightPulse {
    0% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    20% {
        transform: scale(1.03) translateY(-6px);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.5), 0 25px 50px -10px rgba(16, 185, 129, 0.35);
    }
    70% {
        transform: scale(1.02) translateY(-4px);
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4), 0 20px 40px -10px rgba(16, 185, 129, 0.25);
    }
    100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
    }
}

#testimonials-cards-wrapper.has-spotlight .testimonial-unified-card:not(.card-spotlight) {
    opacity: 0.45;
    filter: blur(0.5px);
    transform: scale(0.98);
}

/* Smooth Fade / Transition for dynamic swaps */
.testimonials-transition-fade-out {
    opacity: 0 !important;
    transform: translateY(8px) scale(0.98) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.testimonials-transition-fade-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Pagination Dots */
.testimonial-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}
.testimonial-nav-dot.active {
    width: 24px;
    background: #10b981;
}
body.light-mode .testimonial-nav-dot {
    background: #cbd5e1;
}
body.light-mode .testimonial-nav-dot.active {
    background: #059669;
}

/* Testimonial Text & Author Typography */
.testimonial-unified-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    font-weight: 400;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}
body:not(.light-mode) .testimonial-unified-text {
    color: #cbd5e1;
}
body.light-mode .testimonial-unified-text {
    color: #334155;
}

.testimonial-unified-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
body.light-mode .testimonial-unified-author {
    border-top-color: #f1f5f9;
}

.testimonial-unified-avatar {
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem !important;
    min-height: 2.75rem !important;
    max-width: 2.75rem !important;
    max-height: 2.75rem !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    border-width: 1px !important;
}

body.light-mode .testimonial-unified-card h4 {
    color: #0f172a !important;
}
body.light-mode .testimonial-unified-card p {
    color: #475569;
}
body.light-mode .testimonial-unified-card .company-badge {
    background: rgba(5, 150, 105, 0.08) !important;
    color: #047857 !important;
    border-color: rgba(5, 150, 105, 0.2) !important;
}








