/* ==========================================================================
   GAMMARU CSS DESIGN SYSTEM - NEON OBSIDIAN EDITION
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    --bg-dark: #070913;
    --bg-obsidian: #0b0f19;
    --bg-panel: rgba(13, 18, 38, 0.65);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 242, 254, 0.15);
    
    --color-cyan: #00f2fe;
    --color-purple: #9d4edf;
    --color-red: #ff2a5f;
    --color-yellow: #f4d03f;
    --color-green: #39ff14;
    
    --color-text-primary: #f7fafc;
    --color-text-secondary: #a0aec0;
    --color-text-muted: #718096;
    
    --font-orbitron: 'Orbitron', 'Inter', sans-serif;
    --font-body: 'Inter', 'Noto Sans KR', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1b2440;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-purple);
}

/* Background Canvas Layer */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0c1024 0%, #070913 100%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. Typography & Core Visuals
   ========================================================================== */
.font-orbitron {
    font-family: var(--font-orbitron);
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #00c6ff, var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #7928ca, var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-green { color: var(--color-green); }
.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }

/* Glitch Animation */
.glitch-text {
    position: relative;
    font-family: var(--font-orbitron);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    clip: rect(0, 0, 0, 0);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 var(--color-red);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 var(--color-cyan);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(10px, 9999px, 5px, 0); }
    10% { clip: rect(40px, 9999px, 20px, 0); }
    20% { clip: rect(60px, 9999px, 80px, 0); }
    30% { clip: rect(10px, 9999px, 20px, 0); }
    40% { clip: rect(80px, 9999px, 40px, 0); }
    50% { clip: rect(30px, 9999px, 70px, 0); }
    60% { clip: rect(50px, 9999px, 10px, 0); }
    70% { clip: rect(10px, 9999px, 60px, 0); }
    80% { clip: rect(90px, 9999px, 30px, 0); }
    90% { clip: rect(20px, 9999px, 90px, 0); }
    100% { clip: rect(40px, 9999px, 10px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(30px, 9999px, 40px, 0); }
    10% { clip: rect(10px, 9999px, 50px, 0); }
    20% { clip: rect(50px, 9999px, 10px, 0); }
    30% { clip: rect(90px, 9999px, 80px, 0); }
    40% { clip: rect(20px, 9999px, 30px, 0); }
    50% { clip: rect(70px, 9999px, 60px, 0); }
    60% { clip: rect(10px, 9999px, 40px, 0); }
    70% { clip: rect(60px, 9999px, 90px, 0); }
    80% { clip: rect(30px, 9999px, 20px, 0); }
    90% { clip: rect(80px, 9999px, 10px, 0); }
    100% { clip: rect(50px, 9999px, 70px, 0); }
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #4facfe 100%);
    color: #070913;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--color-text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--color-purple);
    box-shadow: 0 0 20px rgba(157, 78, 223, 0.3);
}

.btn-icon {
    margin-right: 8px;
    transition: var(--transition-smooth);
}

.btn-primary:hover .btn-icon {
    transform: translateX(3px);
}

/* ==========================================================================
   3. Header Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 19, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--color-text-primary);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    padding: 6px 12px;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.highlight-nav-link {
    border: 1px solid rgba(157, 78, 223, 0.4);
    background: rgba(157, 78, 223, 0.1);
    color: #e3b6ff;
}

.highlight-nav-link:hover {
    background: rgba(157, 78, 223, 0.2);
    border-color: var(--color-purple);
    color: #f2d9ff;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 0 24px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.tagline {
    font-family: var(--font-orbitron);
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--color-cyan);
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    cursor: pointer;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel-anim 1.5s infinite;
}

.scroll-text {
    font-family: var(--font-orbitron);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

@keyframes scroll-wheel-anim {
    0% { top: 6px; opacity: 1; }
    50% { top: 15px; opacity: 0.3; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   5. About Us & Sections Core
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: attr(data-subtitle);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-orbitron);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--color-text-muted);
    font-weight: bold;
}

.section-lead {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Intro Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.about-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    position: relative;
}

.card-icon.cyan-glow {
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.card-icon.purple-glow {
    background: rgba(157, 78, 223, 0.1);
    color: var(--color-purple);
    box-shadow: 0 0 15px rgba(157, 78, 223, 0.2);
}

.card-icon.red-glow {
    background: rgba(255, 42, 95, 0.1);
    color: var(--color-red);
    box-shadow: 0 0 15px rgba(255, 42, 95, 0.2);
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.about-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Core Divisions */
.subsection-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-text-primary);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.division-box {
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.division-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.division-header h4 {
    font-size: 20px;
    font-weight: 700;
}

.div-tag {
    font-family: var(--font-orbitron);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.tag-cyan { background: rgba(0, 242, 254, 0.12); color: var(--color-cyan); }
.tag-purple { background: rgba(157, 78, 223, 0.12); color: var(--color-purple); }
.tag-red { background: rgba(255, 42, 95, 0.12); color: var(--color-red); }
.tag-yellow { background: rgba(244, 208, 63, 0.12); color: var(--color-yellow); }

.division-box p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.div-bullets {
    list-style: none;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.div-bullets li {
    font-size: 13.5px;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.div-bullets li::before {
    content: "▫";
    position: absolute;
    left: 0;
    color: var(--color-cyan);
}

/* History Timeline */
.timeline-section {
    padding-top: 40px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-cyan), var(--color-purple), var(--color-red));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    position: absolute;
    background: var(--bg-dark);
    border: 3px solid var(--color-cyan);
    border-radius: 50%;
    top: 25px;
    z-index: 10;
    box-shadow: 0 0 10px var(--color-cyan);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
    border-color: var(--color-purple);
    box-shadow: 0 0 10px var(--color-purple);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background-color: var(--color-text-primary);
}

.timeline-date {
    font-family: var(--font-orbitron);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-cyan);
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.2);
}

.timeline-item:nth-child(even) .timeline-date {
    color: var(--color-purple);
    text-shadow: 0 0 5px rgba(157, 78, 223, 0.2);
}

.timeline-content {
    padding: 24px;
    border-radius: 12px;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.timeline-content p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}



/* ==========================================================================
   7. Projects Showcase Grid
   ========================================================================== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--color-text-secondary);
    padding: 10px 24px;
    border-radius: 20px;
    font-family: var(--font-orbitron);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--color-cyan);
    border-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.03);
}

.filter-btn.active {
    background: var(--color-cyan);
    color: #070913;
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0d1226, #090a12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.project-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.6) 100%);
}

.project-img-placeholder span {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.project-tech-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-orbitron);
    font-size: 9px;
    font-weight: bold;
    color: var(--color-text-secondary);
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.project-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 16px;
}

.project-year {
    font-size: 12px;
    color: var(--color-text-muted);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--color-cyan);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-text:hover {
    color: white;
    background: rgba(0, 242, 254, 0.1);
    text-shadow: 0 0 5px var(--color-cyan);
}

/* ==========================================================================
   8. Relevant Contents Hub Grid (Core requirement links)
   ========================================================================== */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hub-card {
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.hub-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.02;
    transition: var(--transition-smooth);
    pointer-events: none;
    border-radius: 50%;
}

.hub-card-glow.cyan-glow { background: radial-gradient(circle, var(--color-cyan) 0%, transparent 60%); }
.hub-card-glow.purple-glow { background: radial-gradient(circle, var(--color-purple) 0%, transparent 60%); }
.hub-card-glow.red-glow { background: radial-gradient(circle, var(--color-red) 0%, transparent 60%); }
.hub-card-glow.yellow-glow { background: radial-gradient(circle, var(--color-yellow) 0%, transparent 60%); }

.hub-card:hover .hub-card-glow {
    opacity: 0.1;
    transform: scale(1.1);
}

.hub-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.hub-card:hover .hub-icon {
    color: var(--color-text-primary);
    background: rgba(255,255,255,0.08);
}

.hub-card:hover:nth-child(3n+1) .hub-icon { color: var(--color-cyan); border-color: var(--color-cyan); }
.hub-card:hover:nth-child(3n+2) .hub-icon { color: var(--color-purple); border-color: var(--color-purple); }
.hub-card:hover:nth-child(3n) .hub-icon { color: var(--color-red); border-color: var(--color-red); }

.hub-category {
    font-family: var(--font-orbitron);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.hub-meta h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.hub-card:hover .hub-meta h3 {
    color: white;
}

.hub-card:hover:nth-child(3n+1) .hub-meta h3 { text-shadow: 0 0 5px rgba(0, 242, 254, 0.4); }
.hub-card:hover:nth-child(3n+2) .hub-meta h3 { text-shadow: 0 0 5px rgba(157, 78, 223, 0.4); }
.hub-card:hover:nth-child(3n) .hub-meta h3 { text-shadow: 0 0 5px rgba(255, 42, 95, 0.4); }

.hub-meta p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.hub-action-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-smooth);
}

.hub-card:hover .hub-action-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-cyan);
}

/* ==========================================================================
   9. Join Us & Info Section (Recruitment quiz, SVGs)
   ========================================================================== */
.join-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Quiz Container */
.quiz-container {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.15);
    box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.03);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quiz-intro h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.quiz-intro p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.quiz-progress {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--color-cyan);
    margin-bottom: 16px;
}

.quiz-question-box h4 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.quiz-option-btn {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--color-text-secondary);
    padding: 14px 20px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 13.5px;
    transition: var(--transition-fast);
}

.quiz-option-btn:hover {
    background: rgba(0, 242, 254, 0.05);
    color: var(--color-cyan);
    border-color: rgba(0, 242, 254, 0.3);
}

.quiz-option-btn:active {
    transform: scale(0.99);
}

/* Quiz Result Card */
.quiz-result {
    text-align: center;
}

.result-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.15);
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.quiz-result h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.quiz-result p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.result-action {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Recruitment Details */
.recruitment-details {
    padding: 40px;
    border-radius: 20px;
}

.recruitment-details h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
    padding-bottom: 12px;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.info-val {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Campus Map SVG */
.campus-map-wrapper {
    margin-top: 20px;
}

.map-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 12px;
}

.svg-map-container {
    width: 100%;
    background: #090a12;
    border: 1px solid #1c203b;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
}

.campus-map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Map Pulse Marker */
.map-pulse {
    animation: map-pulse-anim 2s infinite ease-out;
    transform-origin: 170px 148px;
}

@keyframes map-pulse-anim {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   10. Modal Details (Projects popups)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: var(--transition-smooth);
}

.modal-content {
    width: 100%;
    max-width: 650px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px;
    border-radius: 50%;
}

.modal-close-btn:hover {
    color: var(--color-red);
    background: rgba(255, 42, 95, 0.08);
}

/* Modal Content Details styling */
.modal-head {
    margin-bottom: 24px;
}

.modal-tech {
    font-family: var(--font-orbitron);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.modal-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-primary);
}

.modal-summary {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 20px;
}

.modal-section-title {
    font-family: var(--font-orbitron);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-meta-item strong {
    font-size: 11px;
    color: var(--color-text-muted);
}

.modal-meta-item span {
    font-size: 13.5px;
    color: var(--color-text-secondary);
}

.modal-quote {
    background: rgba(255,255,255,0.02);
    border-left: 3px solid var(--color-purple);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.modal-cta-box {
    display: flex;
    gap: 12px;
}

/* ==========================================================================
   11. Footer Styling
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background: #04050a;
    padding: 60px 0;
}

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

.footer-logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    display: block;
}

.footer-copy {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.footer-sub-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-status-terminal {
    background: #090a12;
    border: 1px solid #1c203b;
    border-radius: 8px;
    padding: 16px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
}

.terminal-text {
    display: block;
}

/* ==========================================================================
   12. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid, .projects-grid, .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    

}

@media (max-width: 768px) {
    .hero-title {
        font-size: 44px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .about-grid, .divisions-grid, .projects-grid, .hub-grid, .join-layout {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 22px;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 22px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 68px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 68px);
        background: #070913;
        z-index: 99;
        transition: var(--transition-smooth);
        padding: 40px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Reveal Scroll Animations hooks */
[data-reveal] {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease-in-out;
}

[data-reveal="bottom"] {
    transform: translateY(40px);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}
