/* --- Root Variables & Theme --- */
:root {
    --midnight-anthracite: #0a0d14; /* Deep, almost black background */
    --cyber-aqua: #00f0ff;          /* Vibrant interactive highlight */
    --cyber-aqua-dim: rgba(0, 240, 255, 0.2);
    --safety-orange: #ff5500;       /* Primary action ignition */
    --text-main: #f4f7fc;
    --text-muted: #8b9bb4;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: var(--midnight-anthracite);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 85, 0, 0.05), transparent 25%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* --- Reusable Glass Panel Utility --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- Typography & Buttons --- */
.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    text-transform: uppercase;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-aqua-outline {
    background: transparent;
    border: 1px solid var(--cyber-aqua);
    color: var(--cyber-aqua);
    box-shadow: 0 0 10px var(--cyber-aqua-dim) inset;
}

.btn-aqua-outline:hover {
    background: var(--cyber-aqua-dim);
    box-shadow: 0 0 20px var(--cyber-aqua-dim);
    text-shadow: 0 0 8px var(--cyber-aqua);
}

.btn-aqua-outlin {
    display: block;
	margin: 0 auto;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	background: transparent;
    border: 1px solid var(--cyber-aqua);
    color: var(--cyber-aqua);
    box-shadow: 0 0 10px var(--cyber-aqua-dim) inset;
}

.btn-aqua-outlin:hover {
    background: var(--cyber-aqua-dim);
    box-shadow: 0 0 20px var(--cyber-aqua-dim);
    text-shadow: 0 0 8px var(--cyber-aqua);
}

.btn-orange-solid {
    background: var(--safety-orange);
    border: 1px solid var(--safety-orange);
    color: white;
}

.btn-orange-solid:hover {
    background: #ff7733;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.4);
    transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.nav-bar {
    position: sticky;
    top: 20px;
    margin: 0 5%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 12px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.2;
    text-align: left;
}

.logo span {
    font-weight: 900;
    color: var(--text-main);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

nav a:hover:not(.btn) {
    color: var(--cyber-aqua);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* REMOVE any background-image or background-color here */
    background: transparent; 
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Changed from -1 to 0 */
    pointer-events: none;
}

.hero-title, .hero-subtitle, .btn {
    position: relative;
    z-index: 10; /* Ensure text stays ABOVE the canvas */
}

/* --- Pathway Initiatives (Cards) --- */
.pathways-section {
    padding: 60px 10%;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pathway-card {
    padding: 30px;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255,255,255,0.15); /* Slight top highlight */
}

.pathway-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyber-aqua);
    box-shadow: 0 10px 30px var(--cyber-aqua-dim);
}

.accent-card {
    border-color: rgba(255, 85, 0, 0.3);
}

.accent-card:hover {
    border-color: var(--safety-orange);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.15);
}

.icon-placeholder {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.pathway-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.pathway-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Network Section --- */
.network-section {
    padding: 60px 10%;
}

.network-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    gap: 40px;
}

.network-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.network-text p {
    color: var(--text-muted);
    max-width: 900px;
	margin-bottom: 15px;
}

.network-text a {
	align: center;
}

/* --- Form Section --- */
.admission-section {
    padding: 60px 10%;
    display: flex;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 700px;
    padding: 50px;
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

input, select {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

input::placeholder {
    color: #66768f;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--cyber-aqua);
    box-shadow: 0 0 15px var(--cyber-aqua-dim);
}

select option {
    background: var(--midnight-anthracite);
    color: white;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    font-size: 1rem;
}

/* --- Footer --- */
.site-footer {
    margin: 40px 5% 20px;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
}

.legal-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-bar { flex-direction: column; gap: 20px; padding: 20px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .network-panel { flex-direction: column; text-align: center; }
    .form-row { flex-direction: column; }
}

/* --- Subpage & Detailed Layouts --- */
.hero-mini {
    padding: 100px 10% 40px;
    text-align: center;
}

.programs-grid-detailed, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 10%;
}

.program-detail-card, .value-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-accent-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--cyber-aqua);
}

.curriculum-list {
    margin: 20px 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.curriculum-list li::before {
    content: "→ ";
    color: var(--cyber-aqua);
}

/* --- Auth Page Styles --- */
.auth-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-module {
    width: 100%;
    max-width: 450px;
    padding: 60px;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-footer a { color: var(--cyber-aqua); text-decoration: none; }

/* --- About Page Architecture --- */
.about-architecture {
    padding: 40px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.main-mission-box {
    width: 100%;
    max-width: 900px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.main-mission-box .label {
    font-family: 'Inter', sans-serif;
    color: var(--cyber-aqua);
    font-weight: 900;
    font-size: 2.7rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 50px;
}

.main-mission-box .accent-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Values Nodes & Flow */
.values-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    position: relative;
}

.value-node {
    flex: 1;
    padding: 20px;
    border-top: 3px solid var(--node-color);
    transition: var(--transition-smooth);
}

.value-node:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.value-node h3 {
    margin: 15px 0;
    font-size: 1.1rem;
    color: var(--node-color);
}

.node-icon {
    font-size: 2rem;
}

/* Connecting Lines for Desktop */
@media (min-width: 992px) {
    .flow-connector {
        flex: 0 0 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--glass-border), var(--cyber-aqua), var(--glass-border));
        margin-top: 100px;
        opacity: 0.3;
    }
}

/* Vision Card */
.vision-section {
    padding: 80px 10%;
}

.vision-card {
    padding: 60px;
    text-align: center;
    border: 1px solid var(--cyber-aqua-dim);
    background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(0,240,255,0.02) 100%);
}

.vision-card h2 {
    letter-spacing: 5px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .values-flow { flex-direction: column; }
    .flow-connector { display: none; }
}

/* --- Program Page Detailed Enhancements --- */
.icon-header {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.programs-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

.program-detail-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.program-detail-card h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.tagline {
    color: var(--cyber-aqua);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.curriculum-list {
    margin: 25px 0;
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.curriculum-list li::before {
    content: "•";
    color: var(--cyber-aqua);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.program-detail-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

@media (max-width: 768px) {
    .programs-grid-detailed {
        padding: 20px;
    }
}

/* --- Tour Roadmap Styles --- */
.tour-roadmap {
    padding: 40px 10%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* The vertical "wire" behind the items */
.tour-roadmap::before {
    content: '';
    position: absolute;
    left: calc(10% + 45px);
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, var(--cyber-aqua), transparent);
    opacity: 0.3;
}

.tour-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.tour-date {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--cyber-aqua);
    min-width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 0 15px var(--cyber-aqua-dim);
}

.tour-date .m { font-size: 0.7rem; font-weight: 900; color: var(--cyber-aqua); }
.tour-date .d { font-size: 1.8rem; font-weight: 900; line-height: 1; }

.tour-card {
    flex: 1;
    padding: 30px;
    transition: var(--transition-smooth);
}

.tour-card:hover { border-color: var(--cyber-aqua); }

.tour-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.major-tag {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.status-indicator {
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid currentColor;
}

.status-indicator.admissions-open { color: var(--cyber-aqua); }
.status-tag.waitlist-only { color: var(--safety-orange); }

/* Request Stop Section */
.request-stop { padding: 80px 10%; text-align: center; }
.request-card { padding: 60px; max-width: 800px; margin: 0 auto; }
.request-card h2 { margin-bottom: 15px; }
.request-card p { margin-bottom: 15px; }


@media (max-width: 768px) {
    .tour-item { flex-direction: column; gap: 15px; }
    .tour-roadmap::before { display: none; }
    .tour-date { width: 100%; height: auto; padding: 10px; flex-direction: row; gap: 10px; }
}

/* --- Sponsorship & Donation Styling --- */
.partners-section {
    padding: 40px 10%;
    text-align: center;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.partner-logo {
    max-width: 150px;
    filter: grayscale(1) brightness(2); /* Makes logos fit the dark theme */
    opacity: 0.7;
    transition: var(--transition-fast);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.provision-portal {
    max-width: 800px;
    margin: 40px auto;
    padding: 60px;
}

.portal-header {
    text-align: center;
    margin-bottom: 40px;
}

textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    color: white;
    min-height: 120px;
    font-family: inherit;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--cyber-aqua);
    box-shadow: 0 0 15px var(--cyber-aqua-dim);
}

/* --- Auth-Specific Layout --- */
.auth-page {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    z-index: 10;
}

.auth-module {
    padding: 60px 50px;
    text-align: left;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    margin-top: 30px;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Form Improvements --- */
.auth-module .form-group label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--cyber-aqua);
}

.auth-feedback {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.auth-feedback.error {
    background: rgba(255, 85, 0, 0.1);
    color: var(--safety-orange);
    border: 1px solid var(--safety-orange);
}

.auth-feedback.success {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyber-aqua);
    border: 1px solid var(--cyber-aqua);
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.auth-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--cyber-aqua);
    text-decoration: none;
    font-weight: bold;
}

.return-link {
    display: block;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.return-link:hover {
    color: white !important;
}

/* --- Resource Repository Styles --- */
.resource-controls {
    padding: 0 10%;
    margin-bottom: 40px;
}

.search-bar-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

#resource-search {
    max-width: 600px;
    text-align: center;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tag:hover, .tag.active {
    border-color: var(--cyber-aqua);
    color: var(--cyber-aqua);
    background: var(--cyber-aqua-dim);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 10%;
}

.resource-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    border-bottom: 2px solid var(--glass-border);
}

.resource-card:hover {
    border-color: var(--cyber-aqua);
}

.resource-type-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    padding: 2px 8px;
    border-radius: 4px;
}

.resource-major-tag {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--cyber-aqua);
    margin-bottom: 10px;
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

/* --- Media Kit Page Specifics --- */
.media-stats {
    padding: 20px 10%;
}

.stats-card {
    display: flex;
    justify-content: space-around;
    padding: 60px;
    text-align: center;
}

.stat-node {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: var(--cyber-aqua);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-top: 10px;
    color: var(--text-muted);
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 10%;
}

.asset-card {
    padding: 30px;
    text-align: center;
}

.asset-preview {
    background: rgba(0,0,0,0.3);
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--text-muted);
    border: 1px dashed var(--glass-border);
}

.media-leadership {
    padding: 80px 10%;
}

.bio-card {
    display: flex;
    gap: 50px;
    padding: 60px;
    align-items: center;
}

.bio-image-placeholder {
    min-width: 200px;
    height: 200px;
    background: var(--glass-bg);
    border-radius: 50%;
    border: 2px solid var(--cyber-aqua);
    box-shadow: 0 0 20px var(--cyber-aqua-dim);
}

.release-list {
    margin: 40px 10%;
    padding: 20px;
}

.release-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.release-item .date {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--cyber-aqua);
}

.read-link {
    color: var(--cyber-aqua);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 900;
}

@media (max-width: 768px) {
    .stats-card, .bio-card { flex-direction: column; text-align: center; }
    .release-item { flex-direction: column; gap: 10px; text-align: center; }
}

.target-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.goal-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition-fast);
}

.goal-card:hover {
    border-color: var(--cyber-aqua);
    transform: translateY(-5px);
}

.goal-price {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--cyber-aqua);
    margin-bottom: 10px;
}

.legal-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* --- Success Page UI --- */
.success-module {
    text-align: center;
    border-color: var(--cyber-aqua);
}

.success-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--cyber-aqua);
    color: var(--midnight-anthracite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 auto 30px;
    box-shadow: 0 0 30px var(--cyber-aqua-dim);
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--cyber-aqua);
    border-radius: 50%;
    animation: pulse-out 2s infinite;
}

@keyframes pulse-out {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.success-module .label {
    color: var(--cyber-aqua);
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 0.7rem;
}

.impact-brief {
    margin: 30px 0;
}

.mini-node {
    padding: 20px;
    background: rgba(0, 240, 255, 0.03);
    text-align: left;
}

.node-label {
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.mini-node p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- Network Visual Nodes (Vertical Layout) --- */
.network-visual {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    /* Removed gap: 15px so the line can physically touch the boxes */
    width: 100%;
    margin-top: 20px;
}

/* Base style for the text boxes */
.node {
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: nowrap;
    z-index: 2; /* Keeps the text boxes above the wire */
    margin: 0 auto; /* Ensures the boxes themselves are perfectly centered */
}

/* Top Node Styling */
.node-student {
    border-color: var(--cyber-aqua);
    color: var(--cyber-aqua);
    box-shadow: 0 0 15px var(--cyber-aqua-dim) inset;
}

/* Bottom Node Styling */
.node-mentor {
    border-color: var(--safety-orange);
    color: var(--safety-orange);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.15) inset;
}

/* The glowing connection wire */
.node-line {
    width: 2px;
    min-height: 70px; /* Slightly shortened since gap was removed */
    background: linear-gradient(180deg, var(--cyber-aqua), var(--safety-orange));
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    position: relative;
    opacity: 0.8;
    z-index: 1; /* Puts the wire behind the boxes */
    margin: -6px auto; /* Pulls the line up and down to overlap the boxes */
}

/* Hardware "Connection Dots" on the ends of the wire */
.node-line::before, .node-line::after {
    content: '';
    position: absolute;
    left: -6px; /* Perfectly centers the 14px dot on the 2px line */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--midnight-anthracite);
    z-index: 3; /* Brings the dots above the wire so they are fully visible */
}

/* Top Dot */
.node-line::before {
    top: 0px; 
    border: 2px solid var(--cyber-aqua);
}

/* Bottom Dot */
.node-line::after {
    bottom: 0px;
    border: 2px solid var(--safety-orange);
}

#wrapper {
  display: flex;
  justify-content: center;
}