@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Share+Tech+Mono&display=swap');

:root {
    --bg-darker: #05060a;
    --bg-dark: #0a0c16;
    --bg-card: rgba(13, 17, 30, 0.7);
    --bg-card-hover: rgba(22, 28, 47, 0.85);
    
    --primary: #00f0ff; /* Neon Cyan */
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #bd5eff; /* Neon Purple */
    --secondary-glow: rgba(189, 94, 255, 0.4);
    --accent: #00f5d4; /* Glowing Mint */
    --accent-glow: rgba(0, 245, 212, 0.3);
    
    --warning: #ff9e00; /* Glowing Amber */
    --danger: #ff5d5d; /* Cyber Red */
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --border-color: rgba(0, 240, 255, 0.15);
    --border-color-active: rgba(0, 240, 255, 0.5);
    --border-color-purple: rgba(189, 94, 255, 0.25);
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    --shadow-cyan: 0 0 15px rgba(0, 240, 255, 0.2);
    --shadow-purple: 0 0 15px rgba(189, 94, 255, 0.25);
    --shadow-danger: 0 0 15px rgba(255, 93, 93, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(189, 94, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(10, 12, 22, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 12, 22, 0.3) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* CRT Scanline Overlay Effect - Subtle & Beautiful */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

.crt-overlay::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: var(--shadow-cyan);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.title-mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.glow-cyan {
    text-shadow: 0 0 10px var(--primary-glow);
    color: var(--primary);
}

.glow-purple {
    text-shadow: 0 0 10px var(--secondary-glow);
    color: var(--secondary);
}

.glow-amber {
    text-shadow: 0 0 10px rgba(255, 158, 0, 0.4);
    color: var(--warning);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
header {
    background: rgba(5, 6, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid var(--primary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    box-shadow: var(--shadow-cyan);
    animation: pulse-glow 3s infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--warning);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff;
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.1);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--border-color-active);
    box-shadow: inset 0 0 8px rgba(0, 240, 255, 0.1), var(--shadow-cyan);
}

.nav-link.active::before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 158, 0, 0.1);
    border: 1px solid rgba(255, 158, 0, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    color: var(--warning);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(255, 158, 0, 0.05);
    letter-spacing: 0.05em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--warning);
    border-radius: 50%;
    animation: flash 1.5s infinite;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: var(--shadow-cyan), inset 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: var(--shadow-purple), inset 0 0 10px rgba(189, 94, 255, 0.1);
}

.btn-warning {
    background: transparent;
    color: var(--warning);
    border-color: var(--warning);
}

.btn-warning:hover {
    background: var(--warning);
    color: var(--bg-darker);
    box-shadow: 0 0 20px rgba(255, 158, 0, 0.3);
}

/* System Metrics Grid */
.metrics-panel {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 5rem;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.panel-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.05em;
}

.panel-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: rgba(5, 6, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #fff;
}

.metric-card.accented::before {
    background: linear-gradient(90deg, transparent, rgba(189, 94, 255, 0.5), transparent);
}

/* Featured Schools Section */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0.75rem auto 0 auto;
    border-radius: 10px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color-purple);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-cyan), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-header-icon {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.card:hover .card-header-icon {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.card-arrow {
    transition: var(--transition);
}

.card:hover .card-arrow {
    transform: translateX(5px);
}

/* Views Management */
.view {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.view.active-view {
    display: block;
}

/* Academics Page */
.college-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.02);
}

.college-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.college-title-area h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.college-tagline {
    font-family: var(--font-mono);
    color: var(--warning);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.college-summary {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.dean-showcase-card {
    background: rgba(5, 6, 10, 0.6);
    border: 1px solid var(--border-color-purple);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: var(--shadow-purple);
}

.dean-avatar {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(189, 94, 255, 0.3);
}

.dean-info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.dean-info-box .dean-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.dean-info-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.college-grid-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    padding-top: 2.5rem;
}

.course-mini-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.course-mini-card {
    background: rgba(5, 6, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1.25rem;
    transition: var(--transition);
}

.course-mini-card:hover {
    border-color: var(--border-color-active);
    background: rgba(0, 240, 255, 0.03);
}

.course-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.course-mini-code {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--primary);
}

.course-mini-credits {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dark);
}

.course-mini-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.course-mini-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.research-card {
    background: rgba(5, 6, 10, 0.4);
    border-left: 3px solid var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 0 6px 6px 0;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.research-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.research-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Faculty Directory */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.faculty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-purple);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faculty-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faculty-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(189, 94, 255, 0.25);
    transition: var(--transition);
}

.faculty-card:hover .faculty-photo {
    box-shadow: 0 0 25px var(--primary);
    border-color: var(--primary);
}

.faculty-name {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.faculty-dept {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.faculty-teaser {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Course Catalog Page */
.catalog-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.03);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.control-input {
    background: rgba(5, 6, 10, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    padding: 0.65rem 1rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.control-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-cyan);
}

select.control-input {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px;
    padding-right: 2rem;
}

select.control-input option {
    background-color: #0a0c16;
    color: #ffffff;
}

.catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 5rem;
}

.catalog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-purple);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.catalog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catalog-code {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--border-color-active);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    box-shadow: var(--shadow-cyan);
}

.catalog-credits {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.catalog-dept-badge {
    background: rgba(189, 94, 255, 0.12);
    border: 1px solid rgba(189, 94, 255, 0.3);
    color: var(--secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.catalog-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.catalog-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.catalog-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.25rem;
}

.catalog-info-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.catalog-info-row {
    font-size: 0.9rem;
}

.catalog-info-label {
    font-family: var(--font-mono);
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.catalog-info-val {
    color: var(--text-main);
}

.reviews-section {
    background: rgba(5, 6, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 1.25rem;
}

.reviews-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--warning);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-item {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.review-item:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.review-stars {
    color: var(--warning);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
}

/* Accreditation Page */
.accreditation-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.accreditation-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.accreditation-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.terminal-container {
    background: #020205;
    border: 1px solid var(--border-color-active);
    border-radius: 6px;
    box-shadow: var(--shadow-cyan), inset 0 0 15px rgba(0, 0, 0, 0.8);
    font-family: var(--font-mono);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-dot.red { background: var(--danger); }
.terminal-dot.yellow { background: var(--warning); }
.terminal-dot.green { background: var(--accent); }

.terminal-screen {
    min-height: 220px;
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
    display: flex;
    flex-direction: column;
}

.terminal-line {
    margin-bottom: 0.4rem;
}

.terminal-line.output {
    color: #fff;
}

.terminal-line.success {
    color: var(--accent);
    font-weight: 700;
}

.terminal-line.warning {
    color: var(--warning);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--primary);
    vertical-align: middle;
    animation: blink 0.8s infinite;
}

.memo-box {
    background: rgba(189, 94, 255, 0.05);
    border-left: 3px solid var(--secondary);
    border-radius: 0 6px 6px 0;
    padding: 1.5rem;
    margin-top: 3rem;
}

.memo-header {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.memo-body {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Escalation Engine Dashboard */
.engine-workspace {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.engine-control-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.03);
}

.engine-title {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(189, 94, 255, 0.15);
    padding-bottom: 0.75rem;
}

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

.engine-stat-box {
    background: rgba(5, 6, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 1rem;
}

.engine-stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.engine-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.project-select-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-select-container label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.custom-select {
    width: 100%;
}

.deploy-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(5, 6, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 1.25rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-mock {
    width: 16px;
    height: 16px;
    border: 1px solid var(--text-dark);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    background: rgba(5, 6, 10, 0.7);
    transition: var(--transition);
}

.checklist-item.checked {
    color: #fff;
}

.checklist-item.checked .checkbox-mock {
    border-color: var(--accent);
    box-shadow: 0 0 5px var(--accent-glow);
}

.engine-log-console {
    background: #020205;
    border: 1px solid var(--border-color-purple);
    border-radius: 8px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-purple), inset 0 0 15px rgba(0, 0, 0, 0.8);
    height: 520px;
}

.console-display {
    flex-grow: 1;
    overflow-y: auto;
    color: var(--secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-right: 0.5rem;
}

.console-display::-webkit-scrollbar-thumb {
    background: rgba(189, 94, 255, 0.2);
}

.console-line {
    word-break: break-all;
}

.console-line.info { color: var(--text-muted); }
.console-line.action { color: var(--primary); }
.console-line.scary { color: var(--warning); font-weight: 700; }
.console-line.error { color: var(--danger); font-weight: 700; }
.console-line.success { color: var(--accent); font-weight: 700; }

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(189, 94, 255, 0.15);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.console-title {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.console-controls {
    display: flex;
    gap: 0.5rem;
}

.console-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.console-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-cyan), 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--danger);
    text-shadow: 0 0 8px rgba(255, 93, 93, 0.4);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

/* Admissions Wizard specific styles */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transform: translateY(-50%);
}

.wizard-progress-bar {
    position: absolute;
    top: 50%; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.wizard-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 2px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    z-index: 3;
    transition: var(--transition);
}

.wizard-step-dot.active {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-cyan), inset 0 0 5px rgba(0, 240, 255, 0.3);
}

.wizard-step-dot.completed {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
}

.wizard-step-pane {
    display: none;
}

.wizard-step-pane.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.wizard-options-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.wizard-option {
    background: rgba(5, 6, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wizard-option:hover {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.03);
}

.wizard-option.selected {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: var(--shadow-cyan);
}

.wizard-radio-mock {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-option.selected .wizard-radio-mock {
    border-color: var(--primary);
}

.wizard-option.selected .wizard-radio-mock::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Footer Section */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4rem 0 2rem 0;
    margin-top: 6rem;
    background: rgba(2, 2, 5, 0.6);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-family: var(--font-mono);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.5), 0 0 15px rgba(189, 94, 255, 0.2);
        border-color: var(--primary);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .college-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .engine-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .college-grid-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .catalog-controls {
        grid-template-columns: 1fr;
    }
    
    .catalog-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
}
