:root {
    --cyan-glow: #00f0ff;
    --tech-blue: #0055ff;
    --dark-bg: #02040a;
    --card-bg: rgba(13, 17, 28, 0.65);
    --border-color: rgba(0, 240, 255, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-green: #4ade80;
    --alert-amber: #f59e0b;
    --wa-green: #25D366;
    --purp-accent: #a855f7;
    --gradient-primary: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 85, 255, 0.05));
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; overflow-x: hidden; background-color: var(--dark-bg); color: var(--text-primary); font-family: 'Inter', sans-serif; line-height: 1.6; scroll-behavior: smooth; }

/* Animated Cyber-Grid Background */
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.06), transparent 30%), 
        radial-gradient(circle at 85% 30%, rgba(0, 85, 255, 0.06), transparent 30%),
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: -1; animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 0 0, 0 0, 0 40px, 40px 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.5); }
    100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
}

.fade-in { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; }

h1, h2, h3, .hud-text { font-family: 'Space Grotesk', sans-serif; }
.code-text { font-family: 'Fira Code', monospace; }

nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 18px 20px;
    background: rgba(2, 4, 10, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; z-index: 1000;
}

.brand-logo { display: flex; align-items: center; gap: 0; text-decoration: none; z-index: 1001; }
.brand-logo img { height: 85px; margin-right: -12px; margin-left: -5px; } 
.brand-logo-text { display: flex; flex-direction: column; justify-content: center; }
.brand-logo-text .title { color: #34d399; font-size: 2.2rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1; font-family: 'Space Grotesk', sans-serif; }
.brand-logo-text .subtitle { color: #e2e8f0; font-size: 1rem; font-weight: 400; margin-top: 6px; font-family: 'Inter', sans-serif; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { 
    color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; 
    transition: all 0.3s; position: relative;
}
.nav-links a:hover { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.5); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
    background: var(--cyan-glow); transition: width 0.3s ease; box-shadow: 0 0 8px var(--cyan-glow);
}
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; color: #fff; font-size: 1.8rem; cursor: pointer; border: none; background: transparent; z-index: 1001; }

.hero { padding: 180px 5% 80px; text-align: center; max-width: 1000px; margin: 0 auto; width: 100%; }
.status-badge {
    display: inline-block; background: rgba(0, 240, 255, 0.05); border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow); padding: 8px 24px; border-radius: 50px; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; 
    animation: pulseGlow 3s infinite;
}

.hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1.05; margin-bottom: 20px; letter-spacing: -1.5px; font-weight: 700; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px var(--cyan-glow); background: linear-gradient(to right, #fff, var(--cyan-glow)); -webkit-background-clip: text; text-shadow: 0 0 20px rgba(0, 240, 255, 0.3); }
.internship-open-tag { font-family: 'Fira Code', monospace; color: #ef4444; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-weight: 600; text-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
.hero p { font-size: clamp(1rem, 3vw, 1.25rem); color: var(--text-secondary); margin-bottom: 40px; max-width: 750px; margin-inline: auto; line-height: 1.7; }

.mid-timeline-console {
    background: linear-gradient(90deg, rgba(13, 17, 28, 0.8), rgba(13, 17, 28, 0.4));
    border: 1px solid rgba(255,255,255,0.05); border-left: 3px solid var(--cyan-glow);
    border-radius: 12px; padding: 20px 40px; display: inline-flex; align-items: center;
    justify-content: center; gap: 40px; margin: 0 auto 40px; backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.console-node { text-align: left; }
.console-node span { font-family: 'Fira Code', monospace; font-size: 0.75rem; text-transform: uppercase; color: var(--text-secondary); letter-spacing: 1px; }
.console-node p { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; margin-top: 4px; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.console-divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.1); }

.action-buttons { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }

.btn-primary {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
    background: var(--cyan-glow); color: #000; padding: 18px 45px; border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; 
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.6); }
.btn-primary:hover::before { left: 100%; }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(37, 211, 102, 0.05); color: var(--wa-green); padding: 18px 45px; border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(37, 211, 102, 0.3);
    cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.btn-secondary:hover { transform: translateY(-3px); background: rgba(37, 211, 102, 0.1); border-color: var(--wa-green); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2); }

.btn-nav-login {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan-glow) !important;
    border: 1px solid var(--cyan-glow);
    padding: 8px 20px;
    border-radius: 6px;
}
.btn-nav-login:hover {
    background: var(--cyan-glow);
    color: #000 !important;
    text-shadow: none !important;
}

.mainframe-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px;
    margin: 60px auto 0; padding: 30px 0; position: relative;
}
.mainframe-stats::before {
    content:''; position: absolute; top:0; left: 10%; width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}
.stat-node { padding: 15px; background: rgba(255,255,255,0.02); border-radius: 12px; border: 1px solid rgba(255,255,255,0.03); transition: 0.3s; }
.stat-node:hover { background: rgba(0,240,255,0.03); border-color: rgba(0,240,255,0.2); transform: translateY(-3px); }
.stat-node h4 { font-size: 1.8rem; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.stat-node p { font-size: 0.75rem; color: var(--cyan-glow); text-transform: uppercase; font-family: 'Fira Code', monospace; margin-top: 5px; letter-spacing: 1px; }

.section-wrapper { padding: 100px 5%; max-width: 1200px; margin: 0 auto; width: 100%; position: relative; }
.section-title { text-align: center; font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 20px; font-weight: 700; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.section-subtitle { text-align: center; color: var(--text-secondary); max-width: 650px; margin: 0 auto 60px; font-size: 1.1rem; line-height: 1.6; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; }

.glass-card {
    background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.05); 
    border-top: 1px solid rgba(255, 255, 255, 0.15); border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 45px 35px; border-radius: 20px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-primary); opacity: 0; transition: opacity 0.4s ease; z-index: 0;
}
.glass-card > * { position: relative; z-index: 1; }
.glass-card:hover { border-color: rgba(0, 240, 255, 0.3); transform: translateY(-10px); box-shadow: 0 30px 50px rgba(0, 240, 255, 0.1); }
.glass-card:hover::before { opacity: 1; }
.card-icon { font-size: 2.8rem; margin-bottom: 25px; display: inline-block; padding: 15px; background: rgba(0,0,0,0.3); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }

.syllabus-tag {
    display: inline-block; padding: 6px 14px; background: rgba(0, 240, 255, 0.05); 
    border: 1px solid rgba(0, 240, 255, 0.2); color: var(--cyan-glow); border-radius: 6px;
    font-family: 'Fira Code', monospace; font-size: 0.75rem; margin-bottom: 20px; letter-spacing: 1px;
}
.syllabus-list { list-style: none; margin-top: 20px; }
.syllabus-list li { position: relative; padding-left: 25px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text-secondary); transition: color 0.3s; }
.glass-card:hover .syllabus-list li { color: #e2e8f0; }
.syllabus-list li::before { content: '>'; position: absolute; left: 0; color: var(--cyan-glow); font-family: 'Fira Code', monospace; font-weight: bold; }

/* Timeline Table UI */
.timeline-table-container { 
    background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); 
    border-radius: 16px; padding: 25px; overflow-x: auto; backdrop-filter: blur(10px); 
    margin-top: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.timeline-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; min-width: 900px; white-space: nowrap; }
.timeline-table th { 
    font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; color: var(--cyan-glow); 
    padding: 18px 16px; border-bottom: 2px solid rgba(255,255,255,0.1); font-size: 0.85rem; letter-spacing: 1px; 
}
.timeline-table td { padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,0.03); color: #fff; vertical-align: middle; }
.timeline-table tr { transition: background 0.3s; }
.timeline-table tr:hover { background: rgba(0, 240, 255, 0.03); }
.date-col { color: var(--purp-accent) !important; font-family: 'Fira Code', monospace; font-size: 0.85rem; white-space: nowrap; }
.time-badge { 
    background: rgba(0, 85, 255, 0.1); border: 1px solid rgba(0, 150, 255, 0.2); color: #e2e8f0; 
    font-family: 'Fira Code', monospace; font-size: 0.8rem; padding: 4px 10px; border-radius: 4px; 
    display: inline-block; white-space: nowrap; margin: 2px 0; 
}
.req-badge { 
    background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: var(--alert-amber); 
    font-family: 'Inter', sans-serif; font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; font-weight: 600; 
    margin-left: 10px; vertical-align: middle; display: inline-block;
}

.form-container {
    background: linear-gradient(180deg, rgba(13, 17, 28, 0.8), rgba(13, 17, 28, 0.5)); 
    border: 1px solid var(--border-color); box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    padding: clamp(30px, 6vw, 60px); border-radius: 24px; max-width: 900px; margin: 0 auto;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); text-align: center;
}

.closed-banner h2 { font-size: 2.5rem; color: #ef4444; margin-bottom: 15px; text-shadow: 0 0 20px rgba(239, 68, 68, 0.4); font-family: 'Space Grotesk', sans-serif; }
.closed-banner p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; max-width: 600px; margin: 0 auto 30px; }

.counter-badge {
    margin-top: 30px; text-align: center; padding: 30px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.02), rgba(0, 240, 255, 0.05), rgba(0, 240, 255, 0.02)); 
    border: 1px solid rgba(0,240,255,0.1); border-radius: 16px;
}
.counter-val { font-family: 'Fira Code', monospace; font-size: 2.5rem; font-weight: 700; color: var(--cyan-glow); text-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }
.counter-lbl { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; color: var(--text-secondary); margin-top: 8px; }

.checker-panel {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9), rgba(5, 8, 15, 0.9)); 
    border: 1px solid rgba(0, 85, 255, 0.3); padding: 40px; border-radius: 20px; 
    max-width: 900px; margin: 40px auto 0; box-shadow: 0 20px 40px rgba(0,0,0,0.4); position: relative; overflow: hidden; text-align: left;
}
.checker-panel::before { content: ''; position: absolute; top:0; left:0; width: 4px; height: 100%; background: var(--tech-blue); box-shadow: 0 0 15px var(--tech-blue); }
.checker-field-wrap { display: flex; gap: 15px; margin-top: 20px; }

input {
    width: 100%; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; padding: 18px; color: #fff; font-family: 'Inter', sans-serif; font-size: 16px !important;
    -webkit-appearance: none; appearance: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
input:focus { outline: none; border-color: var(--cyan-glow); background: rgba(0, 240, 255, 0.02); box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); transform: translateY(-2px); }
textarea {
    width: 100%; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; padding: 18px; color: #fff; font-family: 'Inter', sans-serif; font-size: 16px !important;
    -webkit-appearance: none; appearance: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical; min-height: 120px;
}
textarea:focus { outline: none; border-color: var(--cyan-glow); background: rgba(0, 240, 255, 0.02); box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); transform: translateY(-2px); }

.status-terminal-log {
    margin-top: 25px; padding: 25px; background: #010205; border-radius: 10px;
    border-left: 3px solid rgba(255,255,255,0.1); font-family: 'Fira Code', monospace;
    font-size: 0.95rem; display: none; line-height: 1.6; box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.benefits-box {
    background: rgba(168, 85, 247, 0.05); border: 1px dashed rgba(168, 85, 247, 0.4);
    padding: 25px; border-radius: 12px; margin-bottom: 30px; text-align: left; box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.05);
}
.benefits-box h4 { color: var(--purp-accent); font-family: 'Space Grotesk', sans-serif; margin-bottom: 12px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; text-shadow: 0 0 10px rgba(168, 85, 247, 0.3); }
.benefits-box p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 6px; }
.benefits-box strong { color: #fff; display: inline-block; width: 100px;}

.points-checker {
    background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; margin-bottom: 30px;
}

.leaderboard-table-container { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 20px; overflow-x: auto; backdrop-filter: blur(10px); }
.leaderboard-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; min-width: 900px; white-space: nowrap; }
.leaderboard-table th { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; color: var(--cyan-glow); padding: 16px; border-bottom: 2px solid rgba(255,255,255,0.1); font-size: 0.85rem; letter-spacing: 1px; }
.leaderboard-table td { padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text-secondary); }
.leaderboard-table tr:hover td { color: #fff; background: rgba(255,255,255,0.02); }
.performer-row { display: none; }

.pagination-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 25px; }
.pagination-controls button {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff;
    padding: 12px 25px; border-radius: 8px; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
}
.pagination-controls button:disabled { opacity: 0.3; cursor: not-allowed; }
.pagination-controls button:not(:disabled):hover { background: rgba(0,240,255,0.1); border-color: var(--cyan-glow); box-shadow: 0 0 15px rgba(0,240,255,0.2); }
.pagination-controls span { font-family: 'Fira Code', monospace; color: var(--cyan-glow); font-size: 0.95rem; }

footer { text-align: center; padding: 50px 20px 30px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; background: rgba(0,0,0,0.4); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; text-align: left; padding-bottom: 30px; }
.footer-socials { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; }
.footer-socials a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-socials a:hover { color: var(--cyan-glow); }
.footer-quick-links { display: flex; flex-direction: column; gap: 10px; }
.footer-quick-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-quick-links a:hover { color: var(--cyan-glow); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.footer-contact a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; }
.footer-contact a:hover { color: var(--cyan-glow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; text-align: left; }

@media (max-width: 850px) { .checker-field-wrap { flex-direction: column; } }
@media (max-width: 768px) {
    nav { padding: 15px 20px; } .hamburger { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(2, 4, 10, 0.95); flex-direction: column; padding: 20px; text-align: center; }
    .nav-links.active { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .mid-timeline-console { flex-direction: column; gap: 15px; padding: 20px; }
    .console-divider { display: none; }
    .mainframe-stats { grid-template-columns: 1fr 1fr; gap: 15px; }
    .action-buttons { flex-direction: column; width: 100%; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .brand-logo, .brand-logo-text { justify-content: center; text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .section-wrapper { padding: 70px 20px; width: 100%; } .grid-container { grid-template-columns: 1fr; gap: 20px; }
    .glass-card { padding: 35px 25px; } .form-container { padding: 30px 20px; } .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .mid-timeline-console { display: flex; flex-direction: column; gap: 15px; width: 100%; text-align: center; padding: 20px; }
    .console-divider { display: none; } .console-node { text-align: center; }
}


/* ==================================================
   SYLLABUS REDESIGN (GRID & SPLIT VIEW)
================================================== */

.syllabus-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
@media (max-width: 1100px) {
    .syllabus-grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .syllabus-grid-container { grid-template-columns: 1fr; }
}

.syllabus-card {
    position: relative;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.syllabus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.card-icon-wrapper {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.syllabus-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 15px 0 25px 0;
    flex-grow: 1;
}

.learn-more-btn {
    background: transparent;
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.learn-more-btn:hover {
    background: var(--cyan-glow);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* SPLIT VIEW */
.syllabus-split-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    min-height: 600px;
    animation: fadeInUp 0.5s ease forwards;
}

.split-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
}

.back-to-grid-btn {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.back-to-grid-btn:hover {
    background: var(--cyan-glow);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.back-to-grid-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.split-nav {
    list-style: none !important;
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.split-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
    color: var(--text-secondary);
    font-weight: 600;
}

.split-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.split-nav-item.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan-glow);
    color: #fff;
    box-shadow: inset 4px 0 0 var(--cyan-glow);
}

.split-content {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.detail-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.detail-icon-huge {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.detail-body {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.detail-col {
    flex: 1;
    min-width: 300px;
}

.detailed-list {
    list-style: none;
}

.detailed-list li {
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.bullet-icon {
    color: var(--cyan-glow);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* STAT BARS */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-label-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.stat-value {
    color: var(--cyan-glow);
}

.stat-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.decorative-schema {
    margin-top: 40px;
    opacity: 0.6;
    border-top: 1px dashed rgba(255,255,255,0.1);
    padding-top: 20px;
}

@media (max-width: 1024px) {
    .syllabus-split-container {
        flex-direction: column;
    }
    .split-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }
    .split-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .split-nav-item {
        flex: 1;
        justify-content: center;
        min-width: 200px;
    }
}


/* Added for AI Generated Track Icons */
.track-icon { width: 50px; height: 50px; border-radius: 8px; object-fit: contain; }

/* Student Portal Navigation Badge */
.nav-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-unread-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff !important;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    z-index: 10;
}

