/* ========================================
   VCPD & VCSD - Premium Police Theme 2.0
   Modern Glassmorphism Design
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Background Colors */
    --bg-primary: #05080d;
    --bg-secondary: #0a0f18;
    --bg-card: rgba(15, 20, 30, 0.7);
    --bg-elevated: rgba(20, 28, 40, 0.8);
    --bg-glass: rgba(15, 20, 30, 0.6);
    --bg-hover: rgba(30, 40, 55, 0.8);
    
    /* Accent Colors */
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --accent-dim: rgba(59, 130, 246, 0.12);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Border Colors */
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(59, 130, 246, 0.3);
    
    /* Status Colors */
    --green: #22c55e;
    --blue: #3b82f6;
    --orange: #f59e0b;
    --purple: #a855f7;
    --gold: #fbbf24;
    --red: #ef4444;
    --cyan: #06b6d4;
    
    /* Layout */
    --sidebar-width: 280px;
    --radius-lg: 20px;
    --radius: 14px;
    --radius-sm: 10px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.05), transparent),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   SIDEBAR - Premium Glass Design
   ======================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, rgba(10, 15, 24, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0.5;
}

.sidebar-header {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
}

.logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
}

.logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(59, 130, 246, 0.3));
}

.brand {
    text-align: center;
}

.brand-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.2em;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.brand-sub {
    display: block;
    font-size: 0.68rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-top: 6px;
    font-weight: 500;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 14px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 28px;
}

.nav-title {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0 14px;
    margin-bottom: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 0 3px 3px 0;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Home Link Special Style */
.nav-item.home-link {
    background: linear-gradient(135deg, var(--accent-dim), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 16px;
}

.nav-item.home-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.nav-item.home-link i {
    opacity: 1;
    color: var(--accent-primary);
}

.nav-item:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--accent-dim), rgba(59, 130, 246, 0.08));
    color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item.active i {
    opacity: 1;
}

.nav-item.swat {
    color: var(--red);
}

.nav-item.swat i {
    color: var(--red);
}

.nav-item.swat:hover,
.nav-item.swat.active {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

.nav-item.swat.active::before {
    background: var(--red);
}

.sidebar-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.sidebar-footer span {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ========================================
   MOBILE HEADER
   ======================================== */

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 15, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    align-items: center;
    gap: 16px;
    z-index: 90;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

.mobile-brand span {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ========================================
   HERO SECTION - Premium Animated
   ======================================== */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(15, 20, 35, 1) 100%);
    padding: 80px 48px 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 80% 20%, rgba(59, 130, 246, 0.12), transparent 50%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(139, 92, 246, 0.08), transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent-dim);
    color: var(--accent-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 56px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
    font-weight: 500;
}

/* ========================================
   TRAINING CARDS - Glassmorphism
   ======================================== */

.training-card {
    margin: 24px 32px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.training-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.training-card.swat-card {
    border-color: rgba(239, 68, 68, 0.15);
}

.training-card.swat-card::before {
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.3), transparent);
}

.training-card.swat-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(239, 68, 68, 0.1);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-bottom: 1px solid var(--border);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.4rem;
    position: relative;
    transition: all 0.3s ease;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: inherit;
    filter: blur(12px);
    opacity: 0.4;
    z-index: -1;
}

.training-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon.green { 
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)); 
    color: var(--green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}
.card-icon.blue { 
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1)); 
    color: var(--blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}
.card-icon.orange { 
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1)); 
    color: var(--orange);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}
.card-icon.purple { 
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1)); 
    color: var(--purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.card-icon.gold { 
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1)); 
    color: var(--gold);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}
.card-icon.red { 
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1)); 
    color: var(--red);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.card-title {
    flex: 1;
}

.card-title h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    border: 1px solid transparent;
}

.badge.green { 
    background: rgba(34, 197, 94, 0.12); 
    color: var(--green);
    border-color: rgba(34, 197, 94, 0.2);
}
.badge.blue { 
    background: rgba(59, 130, 246, 0.12); 
    color: var(--blue);
    border-color: rgba(59, 130, 246, 0.2);
}
.badge.orange { 
    background: rgba(245, 158, 11, 0.12); 
    color: var(--orange);
    border-color: rgba(245, 158, 11, 0.2);
}
.badge.purple { 
    background: rgba(168, 85, 247, 0.12); 
    color: var(--purple);
    border-color: rgba(168, 85, 247, 0.2);
}
.badge.gold { 
    background: rgba(251, 191, 36, 0.12); 
    color: var(--gold);
    border-color: rgba(251, 191, 36, 0.2);
}
.badge.red { 
    background: rgba(239, 68, 68, 0.12); 
    color: var(--red);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Card Body */
.card-body {
    padding: 32px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 850px;
}

/* ========================================
   MODULES GRID - Premium Cards
   ======================================== */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.module {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(15, 20, 30, 0.8));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.module:hover {
    border-color: var(--border-light);
    background: var(--bg-elevated);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.module:hover::before {
    transform: scaleX(1);
}

.swat-card .module::before {
    background: linear-gradient(90deg, var(--red), var(--orange));
}

.swat-card .module {
    border-color: rgba(239, 68, 68, 0.1);
}

.swat-card .module:hover {
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.1);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.module-header i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.module:hover .module-header i {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.swat-card .module-header i {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

.swat-card .module:hover .module-header i {
    background: rgba(239, 68, 68, 0.2);
}

.module-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.module ul {
    list-style: none;
}

.module li {
    padding: 8px 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    position: relative;
    transition: color 0.2s ease;
}

.module li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.module:hover li {
    color: var(--text-primary);
}

.module:hover li::before {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.swat-card .module:hover li::before {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
}

/* ========================================
   REQUIREMENTS BOX
   ======================================== */

.requirements {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(34, 197, 94, 0.02));
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.requirements::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--green), rgba(34, 197, 94, 0.3));
}

.requirements.swat-req {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(239, 68, 68, 0.02));
    border-color: rgba(239, 68, 68, 0.15);
}

.requirements.swat-req::before {
    background: linear-gradient(180deg, var(--red), rgba(239, 68, 68, 0.3));
}

.requirements h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.requirements.swat-req h4 {
    color: var(--red);
}

.req-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
}

.req-item i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    border-radius: 50%;
    font-size: 0.6rem;
}

.swat-req .req-item i {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

/* C.I.U. Requirements */
.ciu-req {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(6, 182, 212, 0.02));
    border-color: rgba(6, 182, 212, 0.15);
}

.ciu-req::before {
    background: linear-gradient(180deg, var(--cyan), rgba(6, 182, 212, 0.3));
}

.ciu-req h4 {
    color: var(--cyan);
}

.ciu-req .req-item i {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
}

/* S.T.U. Requirements */
.stu-req {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(245, 158, 11, 0.02));
    border-color: rgba(245, 158, 11, 0.15);
}

.stu-req::before {
    background: linear-gradient(180deg, var(--orange), rgba(245, 158, 11, 0.3));
}

.stu-req h4 {
    color: var(--orange);
}

.stu-req .req-item i {
    background: rgba(245, 158, 11, 0.1);
    color: var(--orange);
}

/* ========================================
   CATEGORY TABS (Sidebar)
   ======================================== */

.category-tabs {
    display: flex;
    gap: 6px;
    padding: 0 14px 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.category-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab i {
    font-size: 1rem;
    opacity: 0.6;
}

.category-tab:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.category-tab:hover i {
    opacity: 1;
}

.category-tab.active {
    background: linear-gradient(135deg, var(--accent-dim), rgba(59, 130, 246, 0.08));
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.category-tab.active i {
    opacity: 1;
}

/* Navigation Categories */
.nav-category {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-category.hidden {
    display: none;
}

.nav-forms {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 16px;
}

/* C.I.U. Nav Items */
.nav-item.ciu {
    color: var(--cyan);
}

.nav-item.ciu i {
    color: var(--cyan);
}

.nav-item.ciu:hover,
.nav-item.ciu.active {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
}

.nav-item.ciu.active::before {
    background: var(--cyan);
}

/* S.T.U. Nav Items */
.nav-item.stu {
    color: var(--orange);
}

.nav-item.stu i {
    color: var(--orange);
}

.nav-item.stu:hover,
.nav-item.stu.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--orange);
}

.nav-item.stu.active::before {
    background: var(--orange);
}

/* ========================================
   CATEGORY SWITCHER (Main Content)
   ======================================== */

.category-switcher {
    display: flex;
    gap: 16px;
    padding: 24px 32px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 0 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.switcher-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.switcher-btn:hover {
    border-color: var(--border-light);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.switcher-btn.active {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.switcher-btn.active[data-category="sd"] {
    border-color: var(--cyan);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.switcher-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-dim), rgba(59, 130, 246, 0.08));
    border-radius: var(--radius);
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.switcher-icon.sd {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.08));
    color: var(--cyan);
}

.switcher-btn.active .switcher-icon {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.switcher-btn.active[data-category="sd"] .switcher-icon {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.switcher-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.switcher-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.switcher-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.switcher-btn.active .switcher-title {
    color: var(--accent-primary);
}

.switcher-btn.active[data-category="sd"] .switcher-title {
    color: var(--cyan);
}

/* ========================================
   TRAINING CATEGORIES
   ======================================== */

.training-category {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.training-category.hidden {
    display: none;
}

/* C.I.U. Card Styles */
.ciu-card {
    border-color: rgba(6, 182, 212, 0.15);
}

.ciu-card::before {
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.ciu-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 182, 212, 0.1);
}

.ciu-card .module::before {
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.ciu-card .module-header i {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
}

.ciu-card .module:hover .module-header i {
    background: rgba(6, 182, 212, 0.2);
}

.ciu-card .module:hover li::before {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

/* S.T.U. Card Styles */
.stu-card {
    border-color: rgba(245, 158, 11, 0.15);
}

.stu-card::before {
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
}

.stu-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.1);
}

.stu-card .module::before {
    background: linear-gradient(90deg, var(--orange), var(--gold));
}

.stu-card .module-header i {
    background: rgba(245, 158, 11, 0.1);
    color: var(--orange);
}

.stu-card .module:hover .module-header i {
    background: rgba(245, 158, 11, 0.2);
}

.stu-card .module:hover li::before {
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}

/* Cyan Badge */
.badge.cyan { 
    background: rgba(6, 182, 212, 0.12); 
    color: var(--cyan);
    border-color: rgba(6, 182, 212, 0.2);
}

/* Cyan Card Icon */
.card-icon.cyan { 
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1)); 
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

/* ========================================
   FOOTER - Premium
   ======================================== */

.footer {
    margin: 32px;
    margin-top: 64px;
    padding: 36px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.footer-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   OVERLAY
   ======================================== */

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 95;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stats {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.training-card {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.training-card:nth-child(2) { animation-delay: 0.1s; }
.training-card:nth-child(3) { animation-delay: 0.15s; }
.training-card:nth-child(4) { animation-delay: 0.2s; }
.training-card:nth-child(5) { animation-delay: 0.25s; }
.training-card:nth-child(6) { animation-delay: 0.3s; }
.training-card:nth-child(7) { animation-delay: 0.35s; }
.training-card:nth-child(8) { animation-delay: 0.4s; }
.training-card:nth-child(9) { animation-delay: 0.45s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .mobile-header {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 64px;
    }
    
    .hero {
        padding: 48px 28px 64px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .training-card {
        margin: 20px;
    }
    
    .card-header {
        padding: 24px;
    }
    
    .card-body {
        padding: 24px;
    }
    
    .footer {
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 20px 56px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 28px;
        border-top: none;
        padding-top: 32px;
    }
    
    .stat::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .training-card {
        margin: 16px;
        border-radius: var(--radius);
    }
    
    .card-header {
        padding: 20px;
        gap: 16px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .card-title h2 {
        font-size: 1.15rem;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .module {
        padding: 20px;
    }
    
    .req-list {
        gap: 10px 16px;
    }
    
    .footer {
        margin: 16px;
        padding: 28px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    /* Category Switcher Responsive */
    .category-switcher {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        margin: 0 16px;
    }
    
    .switcher-btn {
        padding: 16px;
    }
    
    .switcher-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .switcher-title {
        font-size: 0.9rem;
    }
    
    .switcher-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 32px 16px 48px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
    
    .training-card {
        margin: 12px;
    }
    
    .footer {
        margin: 12px;
    }
    
    /* Category Switcher 480px */
    .category-switcher {
        margin: 0 12px;
        padding: 12px;
        gap: 10px;
    }
    
    .switcher-btn {
        padding: 12px;
        gap: 12px;
    }
    
    .switcher-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========================================
   SPECIAL HOVER STATES
   ======================================== */

@media (hover: hover) {
    .module:hover {
        transform: translateY(-4px);
    }
    
    .training-card:hover {
        transform: translateY(-6px);
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
