:root {
    --color-primary-blue: #0A192F; /* Deep blue, dark background */
    --color-secondary-blue: #1C3352; /* Slightly lighter dark blue */
    --color-primary-green: #00796B; /* Teal-green for accents/growth */
    --color-accent-yellow: #FFD700; /* Gold for innovation */
    --color-accent-orange: #FF8C00; /* Dark orange for energy */
    --color-accent-teal: #20c997; /* Bright teal for connections */
    --color-text-light: #E0E7E9; /* Light grey for text on dark bg */
    --color-text-dark: #343a40; /* Dark grey for text on light bg (if any) */
    --color-border-dark: rgba(255, 255, 255, 0.1); /* Subtle border on dark bg */
    --color-gradient-1-start: #0a192f;
    --color-gradient-1-end: #0c4343; /* Dark teal */
    --color-gradient-2-start: #0F2D4E;
    --color-gradient-2-end: #0F4C5C;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background: var(--color-primary-blue);
    background: linear-gradient(135deg, var(--color-gradient-1-start) 0%, var(--color-gradient-1-end) 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

a {
    color: var(--color-accent-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-yellow);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
    color: var(--color-accent-yellow);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent-teal);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.15rem;
    color: var(--color-text-light);
    opacity: 1;.8;
}

.section-padding {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Header */
.main-header {
    background: rgba(10, 25, 47, 0.9);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: var(--spacing-md);
}

.main-nav a {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-teal);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--color-accent-teal);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/image_14.jpg') no-repeat center center/cover;
    overflow: hidden;
    animation: zoomInBg 30s infinite alternate ease-in-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.7) 0%, rgba(12, 67, 67, 0.8) 100%);
    z-index: 1;
}

@keyframes zoomInBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    z-index: 2;
    padding: var(--spacing-md);
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, var(--color-accent-yellow), var(--color-accent-orange), var(--color-accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    opacity: 1;.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-accent-teal), var(--color-primary-green));
    color: var(--color-text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.4);
    border: none;
    cursor: pointer;
}

.hero-cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(32, 201, 151, 0.6);
    background: linear-gradient(90deg, var(--color-primary-green), var(--color-accent-teal));
}

/* The Ethos Well */
.ethos-well {
    background: linear-gradient(180deg, var(--color-gradient-1-start), var(--color-gradient-2-end));
    overflow: hidden;
}

.wellspring-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(32, 201, 151, 0.2) 0%, rgba(32, 201, 151, 0) 70%);
    z-index: 0;
    animation: pulseGlow 10s infinite ease-in-out;
}

.wellspring-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 80px 30px rgba(32, 201, 151, 0.5), 0 0 150px 60px rgba(32, 201, 151, 0.2);
    opacity: 1;
    animation: wellspringGlow 10s infinite ease-in-out;
}

@keyframes wellspringGlow {
    0% { opacity: 1; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 1; transform: scale(0.8); }
}

.wellspring-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: ripple 12s infinite ease-out;
}

@keyframes ripple {
    0% { transform: scale(0.1); opacity: 1;.5; }
    50% { transform: scale(1); opacity: 1;.1; }
    100% { transform: scale(1.5); opacity: 1; }
}


.ethos-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    position: relative; /* To be above the wellspring visual */
    z-index: 1;
    margin-top: var(--spacing-xl);
}

.ethos-card {
    background: rgba(var(--color-secondary-blue), 0.7);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border-dark);
    text-align: center;
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ethos-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.ethos-card[data-scroll-reveal="left"] {
    transform: translateX(-50px);
}
.ethos-card[data-scroll-reveal="right"] {
    transform: translateX(50px);
}
.ethos-card[data-scroll-reveal="left"].revealed {
    transform: translateX(0);
}
.ethos-card[data-scroll-reveal="right"].revealed {
    transform: translateX(0);
}

.ethos-card h3 {
    font-size: 1.75rem;
    color: var(--color-accent-yellow);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 0.5rem;
}

.ethos-card h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-primary-green);
    border-radius: 1px;
}

.ethos-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    opacity: 1;.85;
}

/* Curriculum Constellations */
.curriculum-constellations {
    background: linear-gradient(135deg, var(--color-gradient-2-start), var(--color-gradient-1-end));
}

.constellation-map-wrapper {
    position: relative;
    display: flex;
    gap: var(--spacing-md);
    height: 700px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid var(--color-border-dark);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

#constellationCanvas {
    flex-grow: 1;
    background: radial-gradient(circle at center, rgba(10, 25, 47, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    cursor: pointer;
    border-radius: 15px;
}

.constellation-detail-panel {
    width: 350px;
    background: rgba(var(--color-primary-blue), 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-left: 1px solid var(--color-border-dark);
    border-radius: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.5s ease-out;
    transform: translateX(100%); /* Start hidden */
    opacity: 1;
    overflow-y: auto;
}

.constellation-detail-panel.active {
    transform: translateX(0); /* Slide in */
    opacity: 1;
}

.constellation-detail-panel h3 {
    color: var(--color-accent-yellow);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border-dark);
    padding-bottom: var(--spacing-xs);
}

.constellation-detail-panel p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    opacity: 1;.85;
}

.constellation-courses h4 {
    color: var(--color-accent-teal);
    font-size: 1.2rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}
.constellation-courses p {
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    font-size: 0.9rem;
    border-left: 2px solid var(--color-primary-green);
    color: var(--color-text-light);
}

.learning-path-builder {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px dashed var(--color-border-dark);
}

.learning-path-builder h4 {
    color: var(--color-accent-orange);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

.path-display {
    background-color: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-sm);
    border-radius: 8px;
    min-height: 50px;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-light);
    border: 1px dashed var(--color-primary-green);
    margin-top: var(--spacing-sm);
}

/* Discovery Grounds */
.discovery-grounds {
    background: linear-gradient(180deg, var(--color-gradient-1-start), var(--color-gradient-2-end));
}

.campus-map-container {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex; /* To position the detail panel */
}

.campus-map-isometric {
    width: 70%; /* Map takes left side */
    height: 100%;
    object-fit: cover;
    display: block;
    border-right: 1px solid var(--color-border-dark);
}

.map-hotspot {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(var(--color-accent-teal), 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(32, 201, 151, 0.6);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.map-hotspot:hover {
    transform: scale(1.1);
    background-color: var(--color-accent-yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.map-hotspot .hotspot-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(10, 25, 47, 0.9);
    color: var(--color-text-light);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.map-hotspot:hover .hotspot-label {
    opacity: 1;
}

/* Hotspot positioning (example - adjust based on your image) */
.hotspot-innovation { top: 20%; left: 30%; }
.hotspot-garden { top: 60%; left: 15%; }
.hotspot-performance { top: 40%; left: 50%; }
.hotspot-athletic { top: 80%; left: 40%; }


.zone-detail-panel {
    width: 30%; /* Right side for details */
    background: rgba(var(--color-primary-blue), 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 0 15px 15px 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    transform: translateX(0); /* Initially visible, adjust as needed */
    opacity: 1;
    border-left: 1px solid var(--color-border-dark);
}

.zone-detail-panel h3 {
    color: var(--color-accent-yellow);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border-dark);
    padding-bottom: var(--spacing-xs);
}

.zone-detail-panel p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    opacity: 1;.85;
}

.zone-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.zone-gallery img {
    width: 100%;
    height: 100px; /* Fixed height for gallery images */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.zone-testimonial {
    font-style: italic;
    color: var(--color-primary-green);
    margin-top: var(--spacing-sm);
    border-left: 3px solid var(--color-accent-teal);
    padding-left: var(--spacing-sm);
}

.ar-integration-note {
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px dashed var(--color-border-dark);
    text-align: center;
}

.ar-link {
    font-weight: 600;
}

/* The Momentum Board */
.momentum-board {
    background: linear-gradient(135deg, var(--color-gradient-1-start), var(--color-gradient-2-end));
}

.momentum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Exactly 3 cards per row, responsive */
    gap: var(--spacing-md);
}

.momentum-card {
    background: var(--color-secondary-blue);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border-dark);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.momentum-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.momentum-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-border-dark);
}

.momentum-card .card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.momentum-card h3 {
    font-size: 1.5rem;
    color: var(--color-accent-yellow);
    margin-bottom: var(--spacing-xs);
}

.momentum-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 1;.85;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.momentum-card .card-date {
    font-size: 0.85rem;
    color: var(--color-primary-green);
    font-style: italic;
    text-align: right;
    display: block;
}

/* Gateway to Growth */
.gateway-to-growth {
    background: linear-gradient(180deg, var(--color-gradient-2-start), var(--color-gradient-1-end));
}

.journey-map {
    display: flex;
    gap: var(--spacing-lg);
    background: rgba(var(--color-secondary-blue), 0.7);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: var(--spacing-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border-dark);
}

.journey-path {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: var(--spacing-sm) 0;
}

.journey-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background: var(--color-border-dark);
    z-index: 1;
}

.waypoint {
    position: relative;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    color: rgba(var(--color-text-light), 0.7);
}

.waypoint:hover {
    color: var(--color-text-light);
    transform: translateX(5px);
}

.waypoint .icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-secondary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 5px rgba(10, 25, 47, 0.8);
    border: 2px solid var(--color-accent-teal);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.waypoint.current {
    color: var(--color-accent-yellow);
    font-weight: 600;
}

.waypoint.current .icon {
    background: var(--color-accent-teal);
    border-color: var(--color-accent-yellow);
    box-shadow: 0 0 0 5px rgba(32, 201, 151, 0.4);
    animation: pulseIcon 1.5s infinite ease-in-out;
}

@keyframes pulseIcon {
    0% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 5px rgba(32, 201, 151, 0.4); }
    50% { transform: translateY(-50%) scale(1.05); box-shadow: 0 0 0 8px rgba(32, 201, 151, 0.6); }
    100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 5px rgba(32, 201, 151, 0.4); }
}

.journey-details {
    flex-grow: 1;
    background: rgba(var(--color-primary-blue), 0.8);
    border-radius: 10px;
    padding: var(--spacing-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border-dark);
}

.step-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: var(--spacing-md);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transform: translateX(20px);
}

.step-content.active {
    opacity: 1;
    pointer-events: auto;
    position: relative; /* Take up space */
    transform: translateX(0);
}

.step-content h3 {
    color: var(--color-primary-green);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.step-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: var(--spacing-sm);
}

.step-content li {
    background: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    border-left: 3px solid var(--color-accent-teal);
    border-radius: 5px;
    font-size: 0.95rem;
}

.guidance-ally {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(var(--color-primary-green), 0.15);
    border-left: 5px solid var(--color-accent-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.guidance-ally .ally-icon {
    font-size: 2rem;
}

.guidance-ally p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    color: var(--color-text-light);
}

.guidance-ally strong {
    color: var(--color-accent-yellow);
}

/* Legacy Weave */
.legacy-weave {
    background: linear-gradient(135deg, var(--color-gradient-1-start), var(--color-gradient-2-end));
}

.alumni-network-wrapper {
    position: relative;
    display: flex;
    gap: var(--spacing-md);
    height: 650px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid var(--color-border-dark);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

#alumniNetworkCanvas {
    flex-grow: 1;
    background: radial-gradient(circle at center, rgba(10, 25, 47, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    cursor: pointer;
    border-radius: 15px;
}

.alumni-detail-panel {
    width: 380px;
    background: rgba(var(--color-primary-blue), 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-left: 1px solid var(--color-border-dark);
    border-radius: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.5s ease-out;
    transform: translateX(100%); /* Start hidden */
    opacity: 1;
    overflow-y: auto;
}

.alumni-detail-panel.active {
    transform: translateX(0); /* Slide in */
    opacity: 1;
}

.alumni-detail-panel h3 {
    color: var(--color-accent-yellow);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border-dark);
    padding-bottom: var(--spacing-xs);
}

.alumni-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border-dark);
}

.alumni-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-sm);
    border: 3px solid var(--color-primary-green);
    box-shadow: 0 0 15px rgba(32, 201, 151, 0.4);
}

.alumni-degree, .alumni-career {
    font-size: 0.95rem;
    color: var(--color-text-light);
    opacity: 1;.8;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}
.alumni-degree { color: var(--color-accent-teal); font-weight: 600; }

.alumni-story {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    opacity: 1;.85;
}

.alumni-portfolio-links {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: auto; /* Push to bottom */
    padding-top: var(--spacing-md);
    border-top: 1px dashed var(--color-border-dark);
}

.portfolio-link {
    background: var(--color-primary-green);
    color: var(--color-text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 121, 107, 0.4);
}

.portfolio-link:hover {
    background: var(--color-accent-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.6);
}


/* Footer */
.main-footer {
    background: var(--color-primary-blue);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-brand p {
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 1;.7;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-xs) 0;
}

.footer-links a {
    color: var(--color-text-light);
    opacity: 1;.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent-teal);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 1;.6;
}

/* Community Pulse Dashboard - Fixed UI element */
.community-pulse-dashboard {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, rgba(var(--color-accent-orange), 0.9), rgba(var(--color-accent-yellow), 0.95));
    color: var(--color-primary-blue);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 999;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: slideInPulse 0.8s ease-out forwards;
}

@keyframes slideInPulse {
    from {
        transform: translateX(100%);
        opacity: 1;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.pulse-indicator {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-out;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.pulse-activity {
    display: flex;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    opacity: 1;.8;
}

.pulse-activity span {
    background: rgba(var(--color-primary-blue), 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    color: var(--color-primary-blue);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .main-nav ul {
        gap: var(--spacing-sm);
    }
    .main-nav li {
        margin-left: 0;
    }
    .ethos-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .constellation-map-wrapper {
        flex-direction: column;
        height: auto;
    }
    #constellationCanvas {
        height: 400px;
        border-radius: 15px 15px 0 0;
    }
    .constellation-detail-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-border-dark);
        border-radius: 0 0 15px 15px;
        transform: translateX(0); /* Always show on smaller screens */
        opacity: 1;
    }
    .campus-map-container {
        flex-direction: column;
        height: auto;
    }
    .campus-map-isometric {
        width: 100%;
        height: 400px;
        border-right: none;
        border-bottom: 1px solid var(--color-border-dark);
        border-radius: 15px 15px 0 0;
    }
    .zone-detail-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-border-dark);
        border-radius: 0 0 15px 15px;
    }
    .momentum-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .journey-map {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    .journey-path {
        flex: none;
        width: 100%;
        padding-left: var(--spacing-lg);
        margin-bottom: var(--spacing-md);
    }
    .journey-path::before {
        left: 20px;
        height: calc(100% - var(--spacing-lg)); /* adjust to end before last waypoint */
    }
    .waypoint {
        padding-left: var(--spacing-xl);
    }
    .waypoint .icon {
        left: 0;
    }
    .alumni-network-wrapper {
        flex-direction: column;
        height: auto;
    }
    #alumniNetworkCanvas {
        height: 400px;
        border-radius: 15px 15px 0 0;
    }
    .alumni-detail-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-border-dark);
        border-radius: 0 0 15px 15px;
        transform: translateX(0); /* Always show on smaller screens */
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        margin-bottom: var(--spacing-sm);
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav li {
        margin: 0 var(--spacing-xs) var(--spacing-xs);
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
    .wellspring-visual {
        width: 400px;
        height: 400px;
    }
    .section-title {
        font-size: 2rem;
    }
    .momentum-grid {
        grid-template-columns: 1fr; /* Stacks cards on mobile */
    }
    .community-pulse-dashboard {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
        flex-wrap: wrap;
        max-width: calc(100% - 2 * var(--spacing-sm));
    }
    .pulse-text {
        order: -1; /* Move text to top */
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .pulse-activity {
        justify-content: center;
        width: 100%;
    }
    .pulse-indicator {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .main-nav a {
        font-size: 0.9rem;
    }
    .ethos-card h3 {
        font-size: 1.5rem;
    }
    .ethos-card p {
        font-size: 0.9rem;
    }
    .zone-gallery {
        grid-template-columns: 1fr; /* Stack images in gallery */
    }
    .zone-gallery img {
        height: 150px;
    }
    .alumni-info {
        gap: var(--spacing-xs);
    }
    .alumni-photo {
        width: 100px;
        height: 100px;
    }
    .alumni-degree, .alumni-career {
        font-size: 0.85rem;
    }
    .portfolio-link {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    .wellspring-visual {
        width: 300px;
        height: 300px;
    }
}


/* Animation states when visible - FIXED: Only opacity: 1 */
.animate-fade-in-up.visible,
.animate-fade-in-left.visible,
.animate-fade-in-right.visible,
.animate-bounce-y.visible,
.section-scroll-animate.visible,
.text-animate-up.visible,
.reveal-item.visible,
.scroll-reveal.visible,
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up.visible.fade-in,
.section-scroll-animate.visible.fade-in {
    opacity: 1;
}

.animate-fade-in-up.visible.slide-up,
.section-scroll-animate.visible.slide-up {
    transform: translateY(0);
}
/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
