/* ========================================
   RISE 2026 — Global Styles
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-lighter: #334155;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-glow: #60a5fa;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --amber: #f59e0b;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --amber: #f59e0b;
    --indigo: #4f46e5;
    --teal: #14b8a6;
    --rose: #e11d48;
    --gray: #6b7280;
    --lime: #65a30d;
    --orange: #ea580c;
    --sky: #0284c7;
    --violet: #8b5cf6;
    --pink: #db2777;
    --red: #dc2626;
    --gold-light: #f6d365;   /* soft gold */
    --amber-light: #fda085;  /* warm amber */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-primary: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--gray-200);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.center {
    display: flex;
    justify-content: center;
}

/* ---------- Cursor Glow ---------- */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(37, 99, 235, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, opacity 0.3s ease;
    opacity: 0;
    will-change: left, top;
}

.cursor-glow.visible {
    opacity: 1;
}

/* ---------- Page Wrapper (shared bg) ---------- */
.page-wrapper {
    position: relative;
    background:
        url('assets/background.jpg') center top / cover no-repeat fixed;
}

/* Static overlay removed — per-section tint used instead */
.page-overlay {
    display: none;
}

/* Hero gets no overlay — full bg visibility */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 64px;
}

.hero::before {
    display: none;
}

.page-wrapper>* {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section Titles ---------- */
.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--blue-light), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight--gold {
    background: linear-gradient(135deg, var(--gold-light), var(--amber-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 48px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    user-select: none;
}

.nav-logo img {
    height: 36px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: opacity 0.3s ease;
}

.nav-logo img:hover {
    opacity: 0.85;
}

/* Visible links */
.nav-visible-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-visible-links a {
    display: block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-300);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-visible-links a:hover,
.nav-visible-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Side panel menu */
.nav-links {
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 80px 24px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    display: flex;
    z-index: 999;
}

.nav-links.open {
    transform: translateX(0);
}

.nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-300);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger toggle — always visible */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Overlay when side menu is open */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ========================================
   HERO SECTION
   ======================================== */
/* Hero styles moved to page-wrapper block above */

/* Hero — fully visible bg, no dark overlay */
.hero-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
}

.hero-bg::before {
    display: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 60%,
            rgba(15, 23, 42, 0.4) 78%,
            rgba(15, 23, 42, 0.75) 90%,
            rgba(15, 23, 42, 0.88) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 900px;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    user-select: none;
}

.hero-logo {
    height: 120px;
    opacity: 0.95;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-user-drag: none;
    user-drag: none;
    /* Future-proofing */
}

.hero-logo.hero-logo-rise {
    height: 160px;
}

/*
.hero-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}
*/

.hero-title {
    font-family: var(--font-primary);
    margin-bottom: 12px;
}

.rise-text {
    display: block;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.year-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.year-text {
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.open-house {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
}

.hero-info-item svg {
    opacity: 0.8;
}

.hero-link {
    transition: all 0.25s ease;
    padding: 6px 12px;
    border-radius: 8px;
}

.hero-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Countdown ---------- */
.countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 80px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.3);
}

.countdown-number {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.6), 0 0 40px rgba(96, 165, 250, 0.3);
    line-height: 1.2;
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    font-weight: 500;
}

/* ---------- Hero CTA ---------- */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ---------- Register Button ---------- */
.btn-register {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
    background: var(--gray-100);
}

/* ---------- Internships / Banner Link ---------- */
.banner-link {
    display: inline-block;
    color: var(--blue-glow);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    background: rgba(37, 99, 235, 0.08);
}

.banner-link:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.6);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    text-decoration: underline;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.88);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(240, 210, 228, 0.08) 0%, transparent 100%);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 56px;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--gray-300);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========================================
   KEYNOTE SECTION
   ======================================== */
.keynote {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.88);
    position: relative;
    overflow: hidden;
}

.keynote::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.keynote-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 48px auto 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}

.keynote-card:hover {
    border-color: rgba(96, 165, 250, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.keynote-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
}

.keynote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.keynote-card:hover .keynote-image img {
    filter: grayscale(0%);
}

.keynote-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
}

.keynote-name {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.keynote-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 18px;
}

.keynote-bio {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.keynote-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    /*font-size: 0.8rem;*/
    font-size: small;
    color: var(--blue-glow);
    font-weight: 500;
}

/* ========================================
   SCHEDULE / TIMELINE
   ======================================== */
.schedule {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.88);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--purple), var(--blue-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 36px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(7) {
    animation-delay: 0.7s;
}

.timeline-item:nth-child(8) {
    animation-delay: 0.8s;
}

.timeline-item:nth-child(9) {
    animation-delay: 0.9s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--blue);
    border: 3px solid var(--navy);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
    z-index: 2;
}

.timeline-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateX(4px);
}

.timeline-time {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.timeline-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-title .emoji {
    font-size: 1.3rem;
}

.timeline-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.timeline-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 20px;
}

.timeline-location svg {
    width: 14px;
    height: 14px;
}

/* Loading spinner */
.timeline-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   WORKSHOPS SECTION
   ======================================== */
.workshops {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.88);
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.workshop-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
}

.workshop-card[data-color="blue"]::before {
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.workshop-card[data-color="purple"]::before {
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
}

.workshop-card[data-color="cyan"]::before {
    background: linear-gradient(90deg, var(--cyan), #22d3ee);
}

.workshop-card[data-color="emerald"]::before {
    background: linear-gradient(90deg, var(--emerald), #34d399);
}

.workshop-card[data-color="amber"]::before {
    background: linear-gradient(90deg, var(--amber), #fbbf24);
}

.workshop-card[data-color="indigo"]::before {
    background: linear-gradient(90deg, var(--indigo), #818cf8);
}

.workshop-card[data-color="teal"]::before {
    background: linear-gradient(90deg, var(--teal), #2dd4bf);
}

.workshop-card[data-color="rose"]::before {
    background: linear-gradient(90deg, var(--rose), #fb7185);
}

.workshop-card[data-color="gray"]::before {
    background: linear-gradient(90deg, var(--gray), #9ca3af);
}

.workshop-card[data-color="lime"]::before {
    background: linear-gradient(90deg, var(--lime), #84cc16);
}

.workshop-card[data-color="orange"]::before {
    background: linear-gradient(90deg, var(--orange), #fb923c);
}

.workshop-card[data-color="sky"]::before {
    background: linear-gradient(90deg, var(--sky), #38bdf8);
}

.workshop-card[data-color="violet"]::before {
    background: linear-gradient(90deg, var(--violet), #a78bfa);
}

.workshop-card[data-color="pink"]::before {
    background: linear-gradient(90deg, var(--pink), #f472b6);
}

.workshop-card[data-color="red"]::before {
    background: linear-gradient(90deg, var(--red), #f87171);
}

.workshop-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.workshop-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.workshop-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.workshop-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.workshop-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--gray-500);
}

.workshop-meta span:first-child {
    background: rgba(37, 99, 235, 0.15);
    color: var(--blue-glow);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.88);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    display: block;
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.88);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--gray-500);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--blue-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   SPONSORS SECTION
   ======================================== */
.sponsors {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.88);
    position: relative;
}

.sponsors-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sponsor-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 32px;
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sponsor-item img {
    height: 60px;
    width: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.sponsor-item:hover img {
    filter: brightness(1.1);
}

/* ========================================
   INTERNSHIPS MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 780px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gray-300);
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.modal-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.3s ease;
}

.modal-item:hover {
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}

.modal-item-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-item h3 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-item p {
    color: var(--gray-400);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.modal-link {
    display: inline-block;
    color: var(--blue-glow);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.modal-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ========================================
   SUBPAGE HERO (Labs, People pages)
   ======================================== */
.subpage-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 64px;
    position: relative;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(15, 23, 42, 0.6) 70%,
            rgba(15, 23, 42, 0.92) 100%);
    z-index: 0;
}

.subpage-hero .hero-content {
    z-index: 1;
    max-width: 700px;
}

.subpage-hero .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.subpage-hero .section-subtitle {
    margin-bottom: 0;
}

/* ========================================
   LAB CARDS (Our Labs page)
   ======================================== */
.labs-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.92);
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.lab-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: 20px 20px 0 0;
}

.lab-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.lab-card-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.lab-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.lab-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.lab-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-block: 8px;
/*    margin-top: 4px;
    margin-bottom: 16px;
*/}

.lab-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-glow);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lab-link:hover {
    color: var(--white);
    gap: 10px;
}

.lab-faculty {
    /*margin-top: 0.75rem;*/
    /*text-align: center;*/
}

.lab-faculty-item {
    display: flex;
    gap: 8px;
    margin-top: 0.4rem;
}

.lab-faculty-name {
    font-size: small;
    /*display: block;*/
    /*font-weight: 600;*/
    /*color: #111;*/
}

.lab-faculty-email {
    font-size: 0.85rem;
    color: var(--blue-glow);
    /*text-decoration: none;*/
}

.lab-faculty-email:hover {
    text-decoration: underline;
}

/* ========================================
   PROFILE CARDS (People page)
   ======================================== */
.people-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.92);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.profile-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid rgba(96, 165, 250, 0.3);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    transition: border-color 0.3s ease;
}

.profile-card:hover .profile-avatar {
    border-color: rgba(96, 165, 250, 0.6);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.profile-role {
    color: var(--blue-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.profile-dept {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.profile-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.profile-links a:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 0;
    background: var(--gray-900);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-org {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-contact p,
.footer-contact a {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav-container {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 24px;
        gap: 12px;
    }

    .nav-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 4px;
    }

    .nav-visible-links {
        position: static;
        transform: none;
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 8px;
    }

    .nav-toggle {
        position: absolute;
        top: 16px;
        right: 24px;
    }

    .hero {
        padding-top: 120px;
        /* Account for taller navbar */
    }

    .hero-content {
        padding: 24px 16px;
    }

    .hero-logos {
        gap: 16px;
        margin-bottom: 16px;
    }

    .hero-logo {
        height: 70px;
    }

    .hero-logo.hero-logo-rise {
        height: 100px;
    }

    .hero-info {
        gap: 16px;
        margin-bottom: 24px;
    }

    .hero-info-item {
        font-size: 0.9rem;
    }

    .countdown {
        gap: 8px;
        margin-bottom: 24px;
    }

    .countdown-item {
        padding: 12px 14px;
        min-width: 65px;
        border-radius: 12px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn-register {
        padding: 14px 40px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .banner-link {
        font-size: 0.85rem;
        padding: 12px 20px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .keynote-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
        gap: 24px;
    }

    .keynote-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .keynote-tags {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-dot {
        left: -24px;
    }

    .timeline-item {
        padding-left: 24px;
    }

    .sponsors-grid {
        gap: 24px;
    }

    .sponsor-item {
        padding: 16px 24px;
    }

    .sponsor-item img {
        height: 40px;
    }

    /* Modal responsive */
    .modal-card {
        padding: 32px 24px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    /* Labs responsive */
    .labs-grid {
        grid-template-columns: 1fr;
    }

    /* People responsive */
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 12px;
    }

    .hero-logos {
        gap: 12px;
    }

    .hero-logo {
        height: 55px;
    }

    .hero-logo.hero-logo-rise {
        height: 75px;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        min-width: 55px;
        padding: 10px 12px;
    }

    .hero-info {
        flex-direction: column;
        gap: 8px;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        gap: 16px;
    }

    .sponsor-item {
        padding: 12px 20px;
    }

    .sponsor-item img {
        height: 32px;
    }

    /* People responsive - single column on very small screens */
    .people-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

