/* ==============================================================================
   FULLSTACK LEARNING PORTAL - PREMIUM DESIGN SYSTEM (VANILLA CSS)
   Aesthetic, Modern, Glassmorphic & Ultra-Smooth UI
   ============================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #090d16;
    --bg-surface: #111827;
    --bg-surface-elevated: #1a2234;
    --bg-card: #151d2d;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(59, 130, 246, 0.4);

    /* Text Colors */
    --text-main: #f3f4f6;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Accents */
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.25);
    --primary-gradient: linear-gradient(135deg, #3b82f6, #06b6d4);
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.2);
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;
    --amber: #fbbf24;

    /* Geometry & Fonts */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Shadow tokens */
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.2);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==============================================================================
   TOP HEADER (EXECUTIVE ACADEMIC NAVBAR - 66px)
   ============================================================================== */
.app-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 66px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    gap: 20px;
}

/* Brand Area */
.brand-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-container {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    padding: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-container:hover {
    transform: scale(1.04);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 7px;
}

.brand-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.brand-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
}

.institution-city-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1.5px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.brand-tagline-sub {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Executive Unified Navigation Bar */
.header-center-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 580px;
}

.nav-tab-group {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 4px;
}

.nav-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    text-decoration: none;
}

.nav-tab-btn i {
    font-size: 13px;
}

.nav-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-tab-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Overall Progress Pill */
.overall-progress-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.overall-progress-pill .progress-icon {
    color: #10b981;
    font-size: 13px;
}

.progress-pill-track {
    width: 46px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-pill-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

/* Executive Student Portal CTA Button */
.header-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.header-portal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Nav Lock Badge */
.nav-lock-badge {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.65;
    color: #fbbf24;
    transition: opacity 0.2s;
}

.nav-tab-btn:hover .nav-lock-badge {
    opacity: 1;
}

.nav-lock-badge.unlocked {
    display: none !important;
}

/* Header Logged In User Chip */
.header-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: var(--radius-full);
    padding: 3px 5px 3px 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.user-chip-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.user-chip-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-right: 4px;
}

.user-chip-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chip-role {
    font-size: 9.5px;
    color: #38bdf8;
    font-weight: 600;
}

.user-chip-action-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.user-chip-action-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

.user-chip-action-btn.btn-logout:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Drawer User Box */
.drawer-user-box {
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px;
}

.drawer-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669, #0284c7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* Theme Toggle Button (Refined Circle Icon) */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fbbf24;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.06);
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Mobile Off-Canvas Navigation Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #0f172a;
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-drawer-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #ffffff;
    padding: 2px;
}

.mobile-drawer-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.mobile-drawer-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.mobile-drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.mobile-drawer-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-group-title {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-bottom: 8px;
    display: block;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 6px;
}

.drawer-nav-item:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

.drawer-nav-item.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
}

.mobile-drawer-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.tagline-quote-drawer {
    font-size: 12px;
    font-style: italic;
    color: #a7f3d0;
    margin-bottom: 6px;
}

/* Card Action Button (.btn-card-action) */
.btn-card-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.btn-card-action:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: var(--bg-surface-elevated);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* ==============================================================================
   MAIN APP LAYOUT
   ============================================================================== */
.app-container {
    display: flex;
    max-width: 1700px;
    margin: 0 auto;
    min-height: calc(100vh - 75px);
}

/* Sidebar */
.app-sidebar {
    width: 370px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 75px);
    position: sticky;
    top: 75px;
}

/* Search Box */
.sidebar-search-box {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-box .search-icon {
    position: absolute;
    left: 30px;
    color: var(--text-dim);
    font-size: 14px;
}

.sidebar-search-box input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 10px 14px 10px 38px;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
}
.sidebar-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.clear-search-btn {
    position: absolute;
    right: 28px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

/* Milestone Filter Pills */
.milestone-filter-container {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.1);
}

.milestone-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pill-btn {
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.pill-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.pill-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* Days List */
.days-timeline-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.day-timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
}
.day-timeline-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}
.day-timeline-item.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}
.day-timeline-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3.5px;
    background: var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.day-badge-pill {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.06);
    color: #93c5fd;
    white-space: nowrap;
}
.day-timeline-item.active .day-badge-pill {
    background: var(--primary);
    color: #ffffff;
}

.day-info {
    flex: 1;
    min-width: 0;
}

.day-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-item-milestone {
    font-size: 11px;
    color: var(--text-dim);
}

.day-status-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.day-timeline-item.completed .day-status-indicator {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

/* ==============================================================================
   MAIN VIEW: DAY DETAIL CONTENT
   ============================================================================== */
.app-main {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
    background: var(--bg-dark);
}

.day-hero-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}
.day-hero-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.day-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.day-meta-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tag-milestone {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tag-tech {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
}

.day-main-heading {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.btn-complete-day {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.btn-complete-day:hover {
    border-color: var(--success);
    color: var(--success);
}
.btn-complete-day.completed {
    background: var(--success);
    color: #ffffff;
    border-color: var(--success);
    box-shadow: 0 2px 10px var(--success-glow);
}

/* Sections Grid */
.detail-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Content Card */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    box-shadow: var(--shadow-subtle);
}

.card-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.card-heading-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.card-heading-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* Objectives Section */
.objective-box {
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 14px;
}
.objective-urdu {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}
.objective-eng {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Urdu Explanations */
.concept-explanation-text {
    font-size: 14.5px;
    color: #cbd5e1;
    white-space: pre-line;
    line-height: 1.75;
}
.concept-explanation-text strong {
    color: #60a5fa;
}
.concept-explanation-text code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: #38bdf8;
}

/* Code Snippet Box */
.code-snippet-box {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-copy-code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.btn-copy-code:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

pre code {
    display: block;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
    color: #e2e8f0;
    overflow-x: auto;
    tab-size: 4;
}

/* Practical Task List */
.task-checklist-box {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
}
.task-text {
    font-size: 14.5px;
    color: #e2e8f0;
    white-space: pre-line;
    line-height: 1.7;
}

/* Practice Exercise & Solution Accordion */
.exercise-wrapper {
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
}
.exercise-prompt {
    font-size: 14.5px;
    font-weight: 600;
    color: #fef08a;
    margin-bottom: 12px;
}

.exercise-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.btn-hint-toggle, .btn-solution-toggle {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-surface-elevated);
    color: var(--text-main);
    transition: all 0.2s ease;
}
.btn-hint-toggle:hover, .btn-solution-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.exercise-hint-box {
    background: rgba(0, 0, 0, 0.25);
    border-left: 3px solid var(--warning);
    padding: 10px 14px;
    font-size: 13.5px;
    color: var(--text-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 14px;
    display: none;
}

.exercise-solution-box {
    display: none;
    margin-top: 14px;
}

/* Key Points Pills */
.key-points-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}
.key-point-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.key-point-pill i {
    color: var(--primary);
}

/* Day Bottom Navigation */
.day-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

/* ==============================================================================
   MODALS (Projects & SQL Lab)
   ============================================================================== */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.custom-modal-overlay.open {
    display: flex;
}

.custom-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 1000px;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}
.modal-close-btn:hover {
    color: #ffffff;
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

/* Projects Grid in Modal */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 20px;
}

.project-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.project-modal-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.project-modal-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

/* SQL Lab Tabs */
.sql-tabs-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
    padding-bottom: 4px;
}

.sql-tab-btn {
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.sql-tab-btn:hover {
    color: #ffffff;
}
.sql-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.sql-code-display-wrapper {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* ==============================================================================
   STUDENT & ADMIN LOGIN POPUP MODAL (UIVERSE ROTATING MOVING BORDER DESIGN)
   ============================================================================== */
.login-modal-card {
    width: 500px !important;
    max-width: 94vw !important;
    max-height: 92vh !important;
    background: #07182E !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    border: none !important;
    padding: 3.5px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(37, 99, 235, 0.35) !important;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.login-modal-card::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 320%;
    top: -110%;
    left: calc(50% - 70px);
    background-image: linear-gradient(180deg, #00d2ff, #2563eb, #a855f7, #00d2ff);
    animation: rotBGimg 3.5s linear infinite;
    transform-origin: center center;
    transition: all 0.2s linear;
    z-index: 1;
}

@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.login-modal-inner {
    position: relative;
    z-index: 2;
    background: #07182E;
    border-radius: 20.5px;
    overflow-y: auto;
    max-height: calc(92vh - 7px);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.login-modal-inner::-webkit-scrollbar {
    width: 5px;
}

.login-modal-inner::-webkit-scrollbar-track {
    background: transparent;
}

.login-modal-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

.login-modal-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.login-modal-header {
    background: rgba(15, 23, 42, 0.65);
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.login-modal-header .modal-close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.2s;
    z-index: 5;
}

.login-modal-header .modal-close-btn:hover {
    color: #ffffff;
}

.login-modal-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    padding: 2px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.login-modal-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 9px;
}

.login-modal-title {
    font-size: 17.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
    letter-spacing: -0.02em;
}

.login-modal-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Nav Tabs inside Modal (Sign In vs Apply for Admission) */
.auth-modal-nav-tabs {
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    margin-top: 14px;
    gap: 4px;
}

.auth-tab-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tab-btn:hover {
    color: #ffffff;
}

.auth-tab-btn.active {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.login-modal-body {
    padding: 20px 24px 24px;
}

/* Approval Policy Notice Banner */
.auth-admission-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 11.5px;
    color: #bae6fd;
    line-height: 1.45;
    margin-bottom: 15px;
}

.auth-admission-notice i {
    color: #38bdf8;
    margin-top: 2px;
    font-size: 13px;
    flex-shrink: 0;
}

.auth-admission-notice strong {
    color: #ffffff;
}

.login-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .login-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.login-field-group {
    margin-bottom: 14px;
}

.login-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.login-forgot-link {
    font-size: 11.5px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-forgot-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.login-input-wrap {
    display: flex;
    align-items: center;
    background: #090d16;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.login-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.login-input-icon {
    padding: 9px 13px;
    color: #64748b;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-input-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 9px 12px 9px 0;
    font-size: 13px;
    color: #ffffff;
    font-family: var(--font-sans);
    outline: none;
}

.login-input-field::placeholder {
    color: #64748b;
}

.login-select-field {
    appearance: auto;
    cursor: pointer;
    background: transparent;
}

.login-select-field option {
    background: #0f172a;
    color: #f8fafc;
}

.btn-modal-signin {
    width: 100%;
    padding: 10.5px 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-modal-signin:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.btn-modal-signin:active {
    transform: translateY(0);
}

.btn-modal-signup-theme {
    background: linear-gradient(135deg, #059669, #0284c7);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35);
}

.btn-modal-signup-theme:hover {
    background: linear-gradient(135deg, #047857, #0369a1);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.login-modal-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-switch-tab-link {
    background: none;
    border: none;
    color: #00d2ff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
}

.login-switch-tab-link:hover {
    color: #38bdf8;
}

/* Alert inside Login Modal */
.login-modal-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.login-modal-alert.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.login-modal-alert.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fde047;
}

.login-modal-alert.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

/* ==============================================================================
   TOAST NOTIFICATIONS
   ============================================================================== */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==============================================================================
   RESPONSIVE QUERIES
   ============================================================================== */
@media (max-width: 1024px) {
    .app-sidebar {
        width: 310px;
    }
    .app-main {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    .app-sidebar {
        width: 100%;
        height: auto;
        position: static;
        max-height: 400px;
    }
    .app-main {
        padding: 16px;
    }
    .header-content {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .overall-progress-card {
        width: 100%;
    }
}

/* ==============================================================================
   INSTITUTE BRANDING & BANNER STYLES
   ============================================================================== */
.institute-hero-badge-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.institute-hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.institute-hero-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.institute-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.institute-hero-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.institute-hero-subtitle {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.5;
}

.institute-hero-subtitle strong {
    color: #fbbf24;
}

.institute-location {
    font-size: 12px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.institute-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.institute-hero-badge-card .badge {
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.institute-hero-badge-card .badge-primary {
    background: #2563eb;
    color: #ffffff;
}

.institute-hero-badge-card .badge-warning {
    background: #f59e0b;
    color: #0b0f19;
    font-weight: 800;
}

.institute-hero-badge-card .btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.institute-hero-badge-card .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.institute-hero-badge-card .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.institute-hero-badge-card .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.institute-hero-badge-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

.app-footer {
    background: rgba(17, 24, 39, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 26px 30px;
    margin-top: 40px;
    border-radius: var(--radius-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.footer-tagline {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.footer-domain {
    font-size: 12px;
    color: #38bdf8;
    margin-bottom: 0;
}

/* ==============================================================================
   PRO HOMEPAGE STYLES & VIEW SWITCHER (SUPER SYSTECH COMPUTERS CENTRE)
   ============================================================================== */

/* View Containers */
#homeView {
    display: block;
    width: 100%;
}

#curriculumView {
    display: none;
}

/* Nav View Switcher Pills */
.nav-tab-group {
    display: flex;
    align-items: center;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 4px;
}

.nav-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
}

.nav-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-tab-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Home Page Container */
.home-wrapper {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Hero Section */
.home-hero {
    padding: 60px 0 50px;
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.badge-institute-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-main-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 14px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline-quote {
    font-size: 19px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-tagline-quote span.domain-tag {
    font-size: 13px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-tagline-quote span.domain-tag i {
    font-size: 13px;
    margin-right: 4px;
}

.hero-desc-urdu {
    font-size: 15.5px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 660px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
}

.btn-hero-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0f19 !important;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hero-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* Quick Metrics Bar */
.hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.metric-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* Hero Right: Spotlight Card */
.hero-spotlight-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.spotlight-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-logo {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #ffffff;
    padding: 5px;
    object-fit: contain;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.spotlight-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.spotlight-meta {
    font-size: 12px;
    color: #38bdf8;
    font-weight: 600;
}

.tech-stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.tech-tag-badge {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tech-tag-badge i {
    color: #38bdf8;
}

.spotlight-highlights-list {
    list-style: none;
    margin-bottom: 22px;
    padding: 0;
}

.spotlight-highlights-list li {
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotlight-highlights-list li i {
    color: #10b981;
    font-size: 14px;
}

/* ===================================================
   Spotlight Admission Status Box & Premium CTA Button
   =================================================== */
.admission-status-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.admission-status-box:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.55), 0 0 28px rgba(16, 185, 129, 0.25);
}

.admission-status-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.status-beacon-wrap {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-beacon-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    position: relative;
    z-index: 2;
}

.status-beacon-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.7);
    animation: beaconPulseRing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: 1;
}

@keyframes beaconPulseRing {
    0% { transform: scale(0.8); opacity: 0.9; }
    70%, 100% { transform: scale(2.4); opacity: 0; }
}

.admission-text-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.admission-status-text {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.admission-status-pill {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
}

/* Premium Apply Online Button */
.btn-spotlight-apply,
#btnSpotlightAdmission {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%) !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
    padding: 9px 20px !important;
    border-radius: 50px !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-spotlight-apply::before,
#btnSpotlightAdmission::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-22deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-spotlight-apply:hover,
#btnSpotlightAdmission:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55), 0 0 14px rgba(251, 191, 36, 0.4) !important;
    filter: brightness(1.05);
}

.btn-spotlight-apply:hover::before,
#btnSpotlightAdmission:hover::before {
    left: 140%;
}

.btn-spotlight-apply:active,
#btnSpotlightAdmission:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4) !important;
}

.btn-spotlight-apply .btn-arrow-icon,
#btnSpotlightAdmission .fa-arrow-right {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.btn-spotlight-apply:hover .btn-arrow-icon,
#btnSpotlightAdmission:hover .fa-arrow-right {
    transform: translateX(4px);
}

/* Sections Global Styling */
.home-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

.section-subtitle-badge {
    display: inline-block;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.section-main-heading {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-desc-text {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.65;
}

/* 4 Feature Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.pillar-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.pillar-text {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
}

/* 5 Milestones Roadmap Grid */
.milestones-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.milestone-track-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.milestone-track-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.milestone-badge-top {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 10px;
    display: block;
}

.milestone-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.milestone-card-days {
    font-size: 12px;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 12px;
}

.milestone-card-summary {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn-milestone-jump {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.btn-milestone-jump:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* 10 Projects Showcase Grid */
.home-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.proj-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.proj-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.proj-badge-db {
    font-size: 11px;
    font-family: var(--font-mono);
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.proj-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.proj-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 16px;
}

.proj-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.proj-tag-item {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Unified Project Action Buttons */
.proj-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-launch-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-grow: 1;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 8px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.22s ease-in-out;
    line-height: 1.4;
}

.btn-launch-app:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    border-color: rgba(96, 165, 250, 0.7);
    color: #ffffff !important;
}

.btn-launch-app:active {
    transform: translateY(0);
}

.btn-project-sql {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
}

.btn-project-sql i {
    color: #f59e0b;
    transition: transform 0.2s ease;
}

.btn-project-sql:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fde68a;
    transform: translateY(-2px);
}

.btn-project-sql:hover i {
    transform: scale(1.15);
}

/* 3 Admission Steps Flow */
.admission-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
}

.step-number-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars-rating {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 12px;
}

.testimonial-quote {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
}

.student-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.author-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1px;
}

.author-course {
    font-size: 12px;
    color: #38bdf8;
}

/* CTA Card */
.home-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-subtext {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* ==============================================================================
   RESPONSIVE DESIGN & MOBILE LAYOUTS
   ============================================================================== */
@media (max-width: 1200px) {
    .milestones-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .app-header {
        height: 60px !important;
        padding: 0 16px !important;
    }
    .d-none-mobile {
        display: none !important;
    }
    .header-center-nav {
        display: none !important;
    }
    .overall-progress-pill {
        display: none !important;
    }
    .mobile-nav-toggle {
        display: inline-flex !important;
    }
    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .milestones-card-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .admission-steps-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Executive Header Mobile Optimization - Single Row & Perfectly Aligned */
    .app-header {
        height: 60px !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
    }
    .header-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .brand-area {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }
    .brand-link {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    .brand-logo-container {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .brand-text-col {
        min-width: 0 !important;
    }
    .brand-title-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }
    .brand-title {
        font-size: 14.5px !important;
    }
    .institution-city-badge {
        font-size: 9.5px !important;
        padding: 1.5px 5px !important;
    }
    .brand-tagline-sub {
        display: none !important; /* Hide sub tagline on mobile to keep header clean and uncrowded */
    }
    .header-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }
    .header-portal-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }
    .header-user-chip {
        padding: 3px 6px !important;
        gap: 5px !important;
    }
    .user-chip-meta {
        display: none !important; /* Hide name/role in slim header; available in mobile drawer */
    }
    .theme-toggle-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
    }
    .mobile-nav-toggle {
        display: inline-flex !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        flex-shrink: 0 !important;
    }

    /* Hero Section Mobile */
    .home-hero {
        padding: 24px 12px !important;
    }
    .badge-institute-pill {
        font-size: 11px !important;
        padding: 6px 12px !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    .hero-main-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin: 12px 0 10px !important;
    }
    .hero-tagline-quote {
        font-size: 13px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .hero-desc-urdu {
        font-size: 13.5px !important;
        line-height: 1.65 !important;
    }
    .hero-cta-group {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .btn-hero-primary, .btn-hero-warning, .btn-hero-outline {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    .hero-metrics-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }
    .metric-item {
        padding: 12px 10px !important;
        text-align: center !important;
    }
    .metric-number {
        font-size: 20px !important;
    }
    .metric-label {
        font-size: 11px !important;
    }
    .hero-spotlight-card {
        padding: 20px 16px !important;
        margin-top: 20px !important;
    }
    .spotlight-header {
        gap: 12px !important;
    }
    .spotlight-logo {
        width: 44px !important;
        height: 44px !important;
    }
    .spotlight-title {
        font-size: 16px !important;
    }
    .spotlight-highlights-list li {
        font-size: 12.5px !important;
    }
    .admission-status-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    #btnSpotlightAdmission,
    .btn-spotlight-apply {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Grids & Cards Mobile */
    .pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .pillar-card {
        padding: 20px 16px !important;
    }
    .milestones-card-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .milestone-track-card {
        padding: 18px 16px !important;
    }
    .home-projects-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .home-project-card {
        padding: 20px 16px !important;
    }
    .admission-steps-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .home-cta-banner {
        padding: 28px 16px !important;
        text-align: center !important;
    }
    .cta-title {
        font-size: 20px !important;
    }
    .cta-buttons-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .cta-btn-primary, .cta-btn-outline {
        width: 100% !important;
        justify-content: center !important;
    }
    .home-footer {
        padding: 28px 16px !important;
    }
    .home-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: left !important;
    }

    /* Curriculum Workspace Mobile layout */
    .app-container {
        flex-direction: column !important;
    }
    .app-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        max-height: 280px !important;
        overflow-y: auto !important;
    }
    .app-main {
        padding: 14px 10px !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .institute-hero-badge-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px 14px !important;
        gap: 14px !important;
    }
    .institute-hero-left {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .institute-hero-title {
        font-size: 17px !important;
    }
    .institute-hero-subtitle {
        font-size: 12px !important;
    }
    .institute-hero-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .institute-hero-actions button {
        width: 100% !important;
        justify-content: center !important;
    }
    .day-hero-header {
        padding: 16px 14px !important;
    }
    .day-hero-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .day-main-heading {
        font-size: 18px !important;
    }
    #btnCompleteDay {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px !important;
    }
    .content-card {
        padding: 16px 12px !important;
        margin-bottom: 14px !important;
    }
    .code-snippet-box pre {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        font-size: 12px !important;
        padding: 10px !important;
    }
    .exercise-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .btn-hint-toggle, .btn-solution-toggle {
        width: 100% !important;
        justify-content: center !important;
    }
    .day-nav-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .day-nav-bar button {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Modals Responsive */
    .custom-modal {
        width: 95vw !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
        border-radius: 16px !important;
        margin: auto !important;
    }
    .modal-header {
        padding: 14px 16px !important;
    }
    .modal-title {
        font-size: 16px !important;
    }
    .modal-body {
        padding: 16px 14px !important;
    }
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .login-modal-card {
        width: 95vw !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
    }
    .login-modal-inner {
        max-height: calc(90vh - 7px) !important;
    }
    .login-modal-header {
        padding: 18px 16px 12px !important;
    }
    .login-modal-body {
        padding: 16px 14px !important;
    }
    .login-modal-footer {
        padding: 14px 16px !important;
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .header-portal-btn span {
        display: none !important;
    }
    .header-portal-btn {
        padding: 8px 10px !important;
        border-radius: var(--radius-full) !important;
        width: 36px !important;
        height: 36px !important;
        justify-content: center !important;
    }
    .header-portal-btn i {
        margin: 0 !important;
        font-size: 13px !important;
    }
    .brand-title {
        font-size: 13.5px !important;
    }
}

/* ==============================================================================
   MILESTONE BADGES BASE STYLES (DARK MODE COMPATIBLE)
   ============================================================================== */
.badge-m1 { color: #60a5fa; background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-m2 { color: #c084fc; background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-m3 { color: #fbbf24; background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-m4 { color: #38bdf8; background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-m5 { color: #34d399; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }

.milestone-badge-top {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.admission-status-text {
    color: #ffffff;
    font-weight: 700;
}

/* ==============================================================================
   LIGHT MODE THEME SYSTEM (SUPER SYSTECH COMPUTERS CENTRE)
   Professional, Academic, Crisp & Modern Light Theme (WCAG High Contrast)
   ============================================================================== */

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-color-hover: #2563eb;

    --text-main: #0f172a;       /* Deep Slate Black - 100% Crisp Contrast */
    --text-muted: #334155;      /* Rich Dark Slate */
    --text-dim: #64748b;        /* Readable Subtext */

    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --primary-gradient: linear-gradient(135deg, #2563eb, #0284c7);

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] body {
    background-color: #f8fafc;
    color: #0f172a;
}

/* Executive App Header in Light Mode */
[data-theme="light"] .app-header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .brand-title {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
}

[data-theme="light"] .brand-logo-container {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .institution-city-badge {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

[data-theme="light"] .brand-tagline-sub {
    color: #64748b !important;
}

/* Center Nav in Light Mode */
[data-theme="light"] .nav-tab-group {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .nav-tab-btn {
    color: #475569 !important;
}

[data-theme="light"] .nav-tab-btn:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .nav-tab-btn.active {
    background: #ffffff !important;
    color: #1d4ed8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Progress Pill in Light Mode */
[data-theme="light"] .overall-progress-pill {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .progress-pill-track {
    background: #e2e8f0 !important;
}

[data-theme="light"] .progress-pill-fill {
    background: linear-gradient(90deg, #10b981, #0284c7) !important;
}

/* Student Portal CTA Button in Light Mode */
[data-theme="light"] .header-portal-btn {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .header-portal-btn:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}

/* Theme Toggle Button in Light Mode */
[data-theme="light"] .theme-toggle-btn {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

/* Buttons in Light Mode */
[data-theme="light"] .btn-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a !important;
    font-weight: 600;
}

[data-theme="light"] .btn-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a !important;
}

[data-theme="light"] .mobile-nav-toggle {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Mobile Drawer in Light Mode */
[data-theme="light"] .mobile-nav-drawer {
    background: #ffffff;
    border-right-color: #e2e8f0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-drawer-header {
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .mobile-drawer-title {
    color: #0f172a !important;
}

[data-theme="light"] .mobile-drawer-subtitle {
    color: #64748b;
}

[data-theme="light"] .mobile-drawer-close {
    background: #f1f5f9;
    color: #475569;
}

[data-theme="light"] .drawer-group-title {
    color: #64748b;
}

[data-theme="light"] .drawer-nav-item {
    color: #334155;
}

[data-theme="light"] .drawer-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

[data-theme="light"] .drawer-nav-item.active {
    background: #eff6ff;
    color: #1d4ed8;
    border-left-color: #2563eb;
    font-weight: 700;
}

[data-theme="light"] .btn-card-action {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .btn-card-action:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

/* Homepage Hero in Light Mode */
[data-theme="light"] .badge-institute-pill {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
    font-weight: 800;
}

[data-theme="light"] .hero-main-title {
    color: #0f172a !important;
}

[data-theme="light"] .text-gradient-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-tagline-quote {
    color: #b45309 !important;
}

[data-theme="light"] .hero-tagline-quote span.domain-tag {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
    font-weight: 700;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

[data-theme="light"] .hero-tagline-quote span.domain-tag i {
    margin-right: 4px !important;
    color: #2563eb !important;
}

[data-theme="light"] .hero-desc-urdu {
    color: #1e293b !important;
    line-height: 1.75;
}

[data-theme="light"] .btn-hero-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-hero-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

[data-theme="light"] .hero-metrics-bar {
    border-top-color: #e2e8f0;
}

[data-theme="light"] .metric-number {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .metric-label {
    color: #475569 !important;
    font-weight: 600;
}

[data-theme="light"] .hero-spotlight-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .spotlight-header {
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .spotlight-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .spotlight-meta {
    color: #1d4ed8 !important;
    font-weight: 700;
}

[data-theme="light"] .tech-tag-badge {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] .tech-tag-badge i {
    color: #2563eb !important;
}

[data-theme="light"] .spotlight-highlights-list li {
    color: #1e293b !important;
    font-weight: 500;
}

[data-theme="light"] .spotlight-highlights-list li i {
    color: #16a34a !important;
}

[data-theme="light"] .admission-status-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.35), 0 0 18px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .admission-status-box .admission-status-text {
    color: #ffffff !important;
    font-weight: 700 !important;
}

[data-theme="light"] #btnSpotlightAdmission,
[data-theme="light"] .btn-spotlight-apply {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%) !important;
    color: #0f172a !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* Sections & Subtitle Badges */
[data-theme="light"] .home-section {
    border-top-color: #e2e8f0;
}

[data-theme="light"] .section-subtitle-badge {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 800 !important;
}

[data-theme="light"] .section-main-heading {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .section-desc-text {
    color: #334155 !important;
    line-height: 1.7;
}

/* 4 Core Pillars */
[data-theme="light"] .pillar-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .pillar-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .pillar-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .pillar-text {
    color: #334155 !important;
    line-height: 1.65;
}

/* 5 Milestones Cards & Badges */
[data-theme="light"] .milestone-track-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .milestone-track-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .milestone-card-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .milestone-card-days {
    color: #b45309 !important;
    font-weight: 700;
}

[data-theme="light"] .milestone-card-summary {
    color: #334155 !important;
    line-height: 1.6;
}

/* Milestone Badge Colors - 100% High Contrast on White */
[data-theme="light"] .badge-m1 {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

[data-theme="light"] .badge-m2 {
    background: #f3e8ff !important;
    color: #6b21a8 !important;
    border: 1px solid #e9d5ff !important;
}

/* Milestone 3: Rich Warm Bronze Amber (Never washed out yellow on white) */
[data-theme="light"] .badge-m3 {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .badge-m4 {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

[data-theme="light"] .badge-m5 {
    background: #d1fae5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .btn-milestone-jump {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] .btn-milestone-jump:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

/* 10 Real-World Projects Grid */
[data-theme="light"] .home-project-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .home-project-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .proj-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .proj-desc {
    color: #334155 !important;
    line-height: 1.6;
}

[data-theme="light"] .proj-badge-db {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
    font-weight: 700;
}

[data-theme="light"] .proj-tag-item {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 600;
}

[data-theme="light"] .proj-actions-row {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .btn-launch-app {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .btn-launch-app:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .btn-project-sql {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .btn-project-sql:hover {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
}

/* Admission Steps */
[data-theme="light"] .step-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .step-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .step-desc {
    color: #334155 !important;
}

/* Testimonials */
[data-theme="light"] .testimonial-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .testimonial-quote {
    color: #1e293b !important;
}

[data-theme="light"] .author-name {
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] .author-course {
    color: #1d4ed8 !important;
    font-weight: 700;
}

/* CTA Banner in Light Mode */
[data-theme="light"] .home-cta-banner {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #0369a1 100%);
    border-color: #3b82f6;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .home-cta-banner .cta-title {
    color: #ffffff !important;
}

[data-theme="light"] .home-cta-banner .cta-subtext {
    color: #e0e7ff !important;
}

/* Footer in Light Mode */
[data-theme="light"] .app-footer {
    background: #f1f5f9;
    border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .footer-tagline {
    color: #334155;
}

[data-theme="light"] .footer-domain {
    color: #0284c7;
    font-weight: 700;
}

[data-theme="light"] .footer-links-list a {
    color: #334155;
}

[data-theme="light"] .footer-links-list a:hover {
    color: #2563eb;
}

[data-theme="light"] .footer-bottom-bar {
    border-top-color: #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .footer-logo {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==============================================================================
   CURRICULUM WORKSPACE IN LIGHT MODE (DAY 01 - 25 DETAIL VIEWS)
   ============================================================================== */

[data-theme="light"] .app-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sidebar-search-box {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sidebar-search-box input {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .sidebar-search-box input::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .search-icon {
    color: #64748b !important;
}

[data-theme="light"] .milestone-filter-container {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .pill-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 600;
}

[data-theme="light"] .pill-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .pill-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .day-timeline-item {
    color: #0f172a !important;
    border: 1px solid transparent !important;
}

[data-theme="light"] .day-timeline-item:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .day-timeline-item.active {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .day-item-title {
    color: #0f172a !important;
    font-weight: 600;
}

[data-theme="light"] .day-timeline-item.active .day-item-title {
    color: #1d4ed8 !important;
    font-weight: 700;
}

[data-theme="light"] .day-item-milestone {
    color: #64748b !important;
}

[data-theme="light"] .day-badge-pill {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 700;
    border: 1px solid #bfdbfe !important;
}

[data-theme="light"] .day-timeline-item.active .day-badge-pill {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

[data-theme="light"] .app-main {
    background: #f8fafc !important;
}

/* Day Hero Header - Completely Fix White-on-White */
[data-theme="light"] .day-hero-header {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .day-main-heading {
    color: #0f172a !important; /* Fixed invisible white text */
    font-weight: 800;
}

[data-theme="light"] .tag-milestone {
    color: #1d4ed8 !important;
    font-weight: 800;
}

[data-theme="light"] .tag-tech {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 600;
}

[data-theme="light"] .btn-complete-day {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 700;
}

[data-theme="light"] .btn-complete-day:hover {
    border-color: #10b981 !important;
    color: #10b981 !important;
}

[data-theme="light"] .btn-complete-day.completed {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
}

/* Content Cards & Sections in Light Mode */
[data-theme="light"] .content-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .card-heading-title {
    color: #0f172a !important; /* Fixed invisible white text */
    font-weight: 800;
}

[data-theme="light"] .card-heading-row {
    border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .objective-box {
    background: #f0fdf4 !important;
    border-left: 4px solid #16a34a !important;
}

[data-theme="light"] .objective-urdu {
    color: #0f172a !important; /* Fixed faint silver text */
    font-weight: 700;
}

[data-theme="light"] .objective-eng {
    color: #334155 !important;
}

[data-theme="light"] .concept-explanation-text {
    color: #1e293b !important; /* Fixed faint text */
    line-height: 1.8;
}

[data-theme="light"] .concept-explanation-text strong {
    color: #1d4ed8 !important;
    font-weight: 700;
}

[data-theme="light"] .concept-explanation-text code {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .code-snippet-box {
    border-color: #334155 !important;
}

[data-theme="light"] .code-header-bar {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-bottom-color: #334155 !important;
}

/* Curriculum Header Banner in Light Mode */
[data-theme="light"] .institute-hero-badge-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .institute-hero-title {
    color: #0f172a !important;
}

[data-theme="light"] .institute-hero-subtitle {
    color: #334155 !important;
}

[data-theme="light"] .institute-hero-subtitle strong {
    color: #b45309 !important;
}

[data-theme="light"] .institute-location {
    color: #64748b !important;
}

[data-theme="light"] .institute-hero-badge-card .badge-primary {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

[data-theme="light"] .institute-hero-badge-card .badge-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}

[data-theme="light"] .institute-hero-badge-card .btn-outline-light {
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
}

[data-theme="light"] .institute-hero-badge-card .btn-outline-light:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

/* Section 3: Practical Task Box & Text */
[data-theme="light"] .task-checklist-box {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
}

[data-theme="light"] .task-text {
    color: #0f172a !important; /* Fixed #e2e8f0 invisible text */
    line-height: 1.75;
}

/* Section 4: Practice Exercise & Solution Accordion */
[data-theme="light"] .exercise-wrapper {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
}

[data-theme="light"] .exercise-prompt {
    color: #92400e !important; /* Fixed #fef08a invisible yellow text */
    font-weight: 700 !important;
}

[data-theme="light"] .exercise-prompt strong {
    color: #78350f !important;
}

[data-theme="light"] .btn-hint-toggle,
[data-theme="light"] .btn-solution-toggle {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] .btn-hint-toggle:hover,
[data-theme="light"] .btn-solution-toggle:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

[data-theme="light"] .exercise-hint-box {
    background: #fef3c7 !important;
    border-left: 4px solid #f59e0b !important;
    color: #92400e !important; /* Fixed faint color */
    font-weight: 600;
}

/* Section 5: Key Points Pills */
[data-theme="light"] .key-point-pill {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 600;
}

[data-theme="light"] .key-point-pill i {
    color: #2563eb !important;
}

/* Day Navigation Bottom Bar */
[data-theme="light"] .day-nav-bar {
    border-top-color: #e2e8f0 !important;
}

/* Global Light Mode Utility Overrides */
[data-theme="light"] .text-muted {
    color: #475569 !important;
}

[data-theme="light"] .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .text-white-50 {
    color: #475569 !important;
}

/* Modals & SQL Lab in Light Mode */
[data-theme="light"] .custom-modal {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

[data-theme="light"] .modal-title {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .modal-close-btn {
    color: #64748b !important;
}

[data-theme="light"] .modal-close-btn:hover {
    color: #0f172a !important;
}

[data-theme="light"] .modal-project-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .modal-project-card h4 {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .modal-project-card p {
    color: #334155 !important;
}

[data-theme="light"] .sql-tab-btn {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600;
}

[data-theme="light"] .sql-tab-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .sql-tab-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Code Display remains clean dark syntax highlighting for perfect legibility */
[data-theme="light"] .code-block-wrapper,
[data-theme="light"] .solution-box,
[data-theme="light"] .sql-code-display-wrapper {
    background: #0f172a !important;
    border-color: #334155 !important;
}

[data-theme="light"] .code-block-wrapper code,
[data-theme="light"] .solution-box pre code,
[data-theme="light"] .sql-code-display-wrapper pre {
    color: #f8fafc !important;
}

[data-theme="light"] .copy-code-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .copy-code-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Light Mode Overrides for Login & Admission Popup Modal */
[data-theme="light"] .login-modal-card {
    background: #cbd5e1 !important;
    border: none !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 35px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .login-modal-card::before {
    background-image: linear-gradient(180deg, #0284c7, #2563eb, #7c3aed, #0284c7) !important;
}

[data-theme="light"] .login-modal-inner {
    background: #ffffff !important;
}

[data-theme="light"] .login-modal-inner::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .login-modal-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .login-modal-header {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}

[data-theme="light"] .login-modal-header .modal-close-btn {
    color: #64748b !important;
}

[data-theme="light"] .login-modal-header .modal-close-btn:hover {
    color: #0f172a !important;
}

[data-theme="light"] .login-modal-logo-wrap {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .login-modal-title {
    color: #0f172a !important;
}

[data-theme="light"] .login-modal-subtitle {
    color: #64748b !important;
}

/* Light mode modal tabs */
[data-theme="light"] .auth-modal-nav-tabs {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .auth-tab-btn {
    color: #64748b !important;
}

[data-theme="light"] .auth-tab-btn:hover {
    color: #0f172a !important;
}

[data-theme="light"] .auth-tab-btn.active {
    background: #ffffff !important;
    color: #0284c7 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Light mode admission policy notice */
[data-theme="light"] .auth-admission-notice {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
}

[data-theme="light"] .auth-admission-notice i {
    color: #0284c7 !important;
}

[data-theme="light"] .auth-admission-notice strong {
    color: #0c4a6e !important;
}

[data-theme="light"] .login-field-label {
    color: #475569 !important;
}

[data-theme="light"] .login-forgot-link {
    color: #2563eb !important;
}

[data-theme="light"] .login-input-wrap {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .login-input-wrap:focus-within {
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .login-input-icon {
    color: #94a3b8 !important;
}

[data-theme="light"] .login-input-field {
    color: #0f172a !important;
}

[data-theme="light"] .login-input-field::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .login-select-field option {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] .login-modal-footer {
    border-top-color: #f1f5f9 !important;
    color: #64748b !important;
}

[data-theme="light"] .login-switch-tab-link {
    color: #2563eb !important;
}

[data-theme="light"] .login-switch-tab-link:hover {
    color: #1d4ed8 !important;
}

/* Light mode overrides for header user chip & lock badges */
[data-theme="light"] .nav-lock-badge {
    color: #d97706 !important;
}

[data-theme="light"] .header-user-chip {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .user-chip-name {
    color: #0f172a !important;
}

[data-theme="light"] .user-chip-role {
    color: #0284c7 !important;
}

[data-theme="light"] .user-chip-action-btn {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

[data-theme="light"] .user-chip-action-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="light"] .user-chip-action-btn.btn-logout:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

[data-theme="light"] .drawer-user-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .drawer-user-box strong {
    color: #0f172a !important;
}

/* Light Mode Alerts inside Modal (High Contrast & Clear Readability) */
[data-theme="light"] .login-modal-alert {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .login-modal-alert.alert-warning {
    background: #fffbeb !important;
    border: 1.5px solid #fde68a !important;
    color: #92400e !important;
}

[data-theme="light"] .login-modal-alert.alert-warning i {
    color: #d97706 !important;
}

[data-theme="light"] .login-modal-alert.alert-warning strong {
    color: #78350f !important;
    font-weight: 800 !important;
}

[data-theme="light"] .login-modal-alert.alert-danger {
    background: #fef2f2 !important;
    border: 1.5px solid #fecaca !important;
    color: #991b1b !important;
}

[data-theme="light"] .login-modal-alert.alert-danger i {
    color: #dc2626 !important;
}

[data-theme="light"] .login-modal-alert.alert-danger strong {
    color: #7f1d1d !important;
    font-weight: 800 !important;
}

[data-theme="light"] .login-modal-alert.alert-success {
    background: #f0fdf4 !important;
    border: 1.5px solid #bbf7d0 !important;
    color: #166534 !important;
}

[data-theme="light"] .login-modal-alert.alert-success i {
    color: #16a34a !important;
}

[data-theme="light"] .login-modal-alert.alert-success strong {
    color: #14532d !important;
    font-weight: 800 !important;
}


