:root {
    --bg-color: #0B1C2C;
    --gold: #FFD700;
    --cyan: #00F0FF;
    --purple: #BC13FE;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: white;
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background & Textures */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg_texture.jpg');
    background-size: cover;
    opacity: 0.1;
    z-index: -2;
    transform: scale(1.1);
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.3;
}

/* Cursor */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,240,255,0.08) 0%, rgba(0,0,0,0) 70%);
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(11, 28, 44, 0.8);
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.nav-logo {
    height: 60px; /* Increased from 50px */
    filter: drop-shadow(0 0 5px rgba(0,240,255,0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--cyan);
}

.login-btn {
    border: 1px solid var(--gold);
    padding: 0.5rem 1rem;
    color: var(--gold) !important;
    border-radius: 4px;
}

/* Mobile Nav Adjustments */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-logo {
        height: 45px; /* Increased from 35px */
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
        width: 100%;
    }
    
    .login-btn {
        margin-top: 0.5rem;
    }
}


/* Hero */
.hero {
    min-height: 100vh; /* changed from height: 100vh to allow scrolling if content overflows */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 10% 5rem; /* Increased top padding to 180px */
    position: relative;
}

.terminal-loader {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    min-height: 4.4rem;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    opacity: 0; /* Hidden initially */
    transition: opacity 1s ease;
}

.cta-container {
    opacity: 0; /* Hidden initially */
    transition: opacity 1s ease;
}

/* Glitch Button */
.cyber-btn {
    position: relative;
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,240,255,0.2);
}

.cyber-btn:hover {
    background: var(--cyan);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0,240,255,0.6), 0 0 40px rgba(0,240,255,0.4);
}

/* Glitch Effect Implementation */
.glitch-effect:hover::before,
.glitch-effect:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    color: var(--cyan); 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.glitch-effect:hover::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-1 0.3s infinite linear alternate-reverse;
}

.glitch-effect:hover::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 60% 0); }
    100% { clip-path: inset(30% 0 30% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(5% 0 80% 0); }
}

/* Code decoration */
.code-column {
    position: absolute;
    right: 5%;
    top: 30%;
    font-family: var(--font-mono);
    color: rgba(0,240,255,0.1);
    text-align: left;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: -1;
    display: none; /* Hide on mobile default, show on desktop */
}

@media (min-width: 1024px) {
    .code-column {
        display: block;
    }
}

/* Paths Section */
.paths-section {
    padding: 5rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem; /* Reduced bottom margin */
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-mono);
    color: var(--cyan);
    margin-bottom: 4rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

/* Path Card Link Styles */
a.path-card {
    text-decoration: none;
    display: block; /* Ensure it takes up space */
    color: inherit; /* Inherit text color */
    position: relative; /* Create stacking context */
    z-index: 10; /* Ensure it is clickable */
    cursor: pointer;
}

.path-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background-color: var(--bg-color);
    overflow: hidden;
}

.tech-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(11, 28, 44, 0) 0%, rgba(11, 28, 44, 0.9) 100%);
}

.path-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.path-card h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tech-stack {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: bold;
}

/* Card Hover Effects */
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.2);
    border-color: var(--purple);
}

.game-card:hover .tech-pattern {
    opacity: 0.6;
    transform: scale(1.1);
    background-image: 
        linear-gradient(rgba(188, 19, 254, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(188, 19, 254, 0.3) 1px, transparent 1px);
}

.game-card:hover .tech-stack { color: var(--purple); text-shadow: 0 0 5px var(--purple); }

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    border-color: var(--cyan);
}

.app-card:hover .tech-pattern {
    opacity: 0.6;
    transform: scale(1.1);
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.3) 1px, transparent 1px);
}

.app-card:hover .tech-stack { color: var(--cyan); text-shadow: 0 0 5px var(--cyan); }

/* Methodology */
.methodology {
    padding: 5rem 5%;
    border-top: 1px solid var(--glass-border);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 2rem;
    text-align: center;
}

.method-item {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border 0.3s;
}

.method-item:hover {
    border-color: var(--gold);
}

.gold-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.method-item h5 {
    font-family: var(--font-serif);
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.method-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .method-grid {
        grid-template-columns: 1fr;
    }
    /* Increase hero padding for mobile due to taller nav */
    .hero {
        padding-top: 220px; 
    }
}

/* Apply Page Styles */
.apply-main {
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .apply-main {
        padding-top: 220px;
    }
}

.apply-container {
    width: 100%;
    max-width: 700px;
    padding: 2rem;
    background: rgba(11, 28, 44, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    margin: 1rem; /* Margin for mobile */
}

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--cyan);
    width: 50%; /* Start at step 1 */
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--cyan);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.active-step {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-title {
    font-family: var(--font-serif);
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Quiz Styles */
.quiz-question {
    margin-bottom: 2.5rem;
}

.quiz-question label {
    display: block;
    font-family: var(--font-mono);
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.code-question {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-left: 3px solid var(--cyan);
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
    overflow-x: auto; /* Allow scrolling for long code */
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.quiz-option {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 5px;
}

.quiz-option:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
}

.quiz-option.selected {
    background: var(--cyan);
    color: var(--bg-color);
    border-color: var(--cyan);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Form Inputs */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.select-wrapper {
    position: relative;
}

/* Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.form-actions button {
    flex: 1;
    cursor: pointer;
}

.secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
}

.secondary:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.error-message {
    color: #FF3333;
    font-family: var(--font-mono);
    text-align: center;
    margin-bottom: 1rem;
    display: none;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.error-message.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 2rem 0;
}

.large-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Curriculum Page Styles */
.curriculum-main {
    padding-top: 100px;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .curriculum-main {
        padding-top: 220px;
    }
}

.hero-small {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 5%;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.9rem;
    opacity: 0.8;
}

.phase-header {
    margin: 4rem 10% 2rem 10%;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap; /* Wrap on small screens */
}

.phase-header h2 {
    font-family: var(--font-sans);
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.phase-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, var(--gold), transparent);
    opacity: 0.3;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 10%;
}

@media (max-width: 768px) {
    .card-grid {
        padding: 0 5%;
    }
    .phase-header {
        margin: 3rem 5% 1.5rem 5%;
    }
}

.module-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
}

.week-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.module-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.module-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.highlight-card {
    border-color: var(--purple);
    background: linear-gradient(45deg, rgba(188, 19, 254, 0.1), transparent);
}

.highlight-card .week-badge {
    color: var(--purple);
    border-color: var(--purple);
}

.highlight-card:hover {
    border-color: var(--purple);
    box-shadow: 0 5px 30px rgba(188, 19, 254, 0.2);
}

.nav-links .active {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Admissions Page Styles */
.admissions-section {
    padding: 0 10% 5rem;
}

.process-container {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.process-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin-left: 1.5rem; /* Aligns with number roughly */
    margin-top: 1rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.process-step:last-child .process-line {
    display: none;
}

.step-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

/* Tuition */
.tuition-section {
    padding: 5rem 10%;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.price {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.term {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.most-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--purple);
    color: white;
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* FAQ */
.faq-section {
    padding: 5rem 10%;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item h5 {
    font-family: var(--font-sans);
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.final-cta {
    text-align: center;
    padding: 5rem 0;
}

.final-cta h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

/* ============================================
   NEW HOMEPAGE SECTIONS
   ============================================ */

/* Glass Divider */
.glass-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 0 10% 4rem;
}

/* Tech Ticker */
.tech-ticker {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    padding: 1rem 0;
}

.ticker-track {
    display: flex;
    width: 100%;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: ticker-scroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(0, 255, 100, 0.4);
    letter-spacing: 2px;
}

.ticker-divider {
    opacity: 0.3;
}

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

/* Section Subtitle Gold Variant */
.section-subtitle-gold {
    text-align: center;
    font-family: var(--font-mono);
    color: var(--gold);
    margin-bottom: 4rem;
    font-size: 0.9rem;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Academic Calendar / Timeline */
.academic-calendar {
    padding: 5rem 5% 6rem;
    position: relative;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan), var(--purple), var(--gold));
    box-shadow: 0 0 15px var(--cyan), 0 0 30px rgba(0, 240, 255, 0.3);
}

.timeline-node {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-node:last-child {
    margin-bottom: 0;
}

.node-marker {
    position: absolute;
    left: -52px;
    top: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-dot {
    width: 16px;
    height: 16px;
    background: var(--cyan);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    z-index: 2;
    position: relative;
}

.node-glow {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.node-final .node-dot {
    background: var(--gold);
}

.node-final .node-glow {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.node-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.node-content:hover {
    border-color: var(--cyan);
    transform: translateX(5px);
    box-shadow: 0 5px 30px rgba(0, 240, 255, 0.1);
}

.semester-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.semester-one {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.semester-two {
    background: rgba(188, 19, 254, 0.1);
    color: var(--purple);
    border: 1px solid var(--purple);
}

.semester-final {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.node-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.node-period {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.node-description {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Dean Section */
.dean-section {
    padding: 5rem 5%;
}

.dean-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.dean-quote {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid var(--gold);
    padding-left: 2rem;
    margin: 0;
    font-style: italic;
}

.highlight-name {
    color: var(--gold);
    font-weight: 600;
    font-style: normal;
}

.highlight-word {
    color: var(--cyan);
    font-weight: 600;
    font-style: normal;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.dean-signature {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.signature-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.signature-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.dean-visual {
    display: flex;
    justify-content: center;
}

.portrait-frame {
    position: relative;
    width: 280px;
    height: 320px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-placeholder {
    width: 200px;
    height: 240px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) contrast(1.2);
}

.portrait-initials {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5rem;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold);
    border-style: solid;
}

.frame-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.frame-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.frame-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* Criteria Section */
.criteria-section {
    padding: 5rem 5%;
}

.criteria-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.criteria-column {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.criteria-column.accepted {
    border-color: rgba(0, 255, 100, 0.3);
}

.criteria-column.accepted:hover {
    border-color: rgba(0, 255, 100, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.1);
}

.criteria-column.rejected {
    border-color: rgba(255, 50, 50, 0.3);
}

.criteria-column.rejected:hover {
    border-color: rgba(255, 50, 50, 0.6);
    box-shadow: 0 0 30px rgba(255, 50, 50, 0.1);
}

.criteria-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.criteria-column.accepted .criteria-icon {
    color: rgba(0, 255, 100, 0.8);
}

.criteria-column.rejected .criteria-icon {
    color: rgba(255, 50, 50, 0.8);
}

.criteria-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.criteria-list {
    list-style: none;
    text-align: left;
}

.criteria-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.criteria-list li:last-child {
    border-bottom: none;
}

.check-icon {
    color: rgba(0, 255, 100, 0.8);
    font-weight: bold;
}

.x-icon {
    color: rgba(255, 50, 50, 0.8);
    font-weight: bold;
}

/* FAQ Accordion Section */
.faq-accordion-section {
    padding: 5rem 5%;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--glass-bg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-item.open {
    border-color: var(--cyan);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-item.open .accordion-header {
    background: rgba(0, 240, 255, 0.05);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.accordion-content strong {
    color: var(--gold);
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .dean-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dean-visual {
        order: -1;
    }

    .portrait-frame {
        width: 200px;
        height: 240px;
    }

    .portrait-placeholder {
        width: 150px;
        height: 180px;
    }

    .portrait-initials {
        font-size: 3rem;
    }

    .dean-quote {
        font-size: 1.1rem;
        padding-left: 1.5rem;
    }

    .criteria-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-container {
        padding-left: 50px;
    }

    .timeline-line {
        left: 15px;
    }

    .node-marker {
        left: -42px;
    }

    .node-content {
        padding: 1.5rem;
    }

    .node-title {
        font-size: 1.3rem;
    }

    .accordion-header {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }

    .accordion-item.open .accordion-content {
        padding: 0 1.5rem 1.2rem;
    }

    .glass-divider {
        margin: 0 5% 3rem;
    }
}