/* Health Hack 2026 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

:root {
    --deep-blue: #001BFF;
    --indigo: #3A0D8A;
    --electric-violet: #7F00FF;
    --orange-accent: #FF9C2E;
    --neon-cyan: #00E5FF;
    --text-primary: #EAF6FF;
    --text-heading: #FFFFFF;
    --text-muted: #BFDFF8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--indigo) 50%, var(--electric-violet) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
}

/* ========================================
   SKIP LINK (Accessibility)
   ======================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--neon-cyan);
    color: #000;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 27, 255, 0.1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    /* font-size: 1.2rem; */
    /* font-weight: 700; */
    color: var(--text-heading);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between logo and text */
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo-img {
  width: 40px; /* adjust as needed */
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-cyan);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-cta {
    background: linear-gradient(135deg, var(--neon-cyan), #00B8D4);
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 27, 255, 0.75) 0%, rgba(58, 13, 138, 0.7) 50%, rgba(127, 0, 255, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-main-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
}

.main-event-logo {
    width: 280px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
    font-weight: 600;
}

.hero-date {
    display: inline-block;
    background: var(--orange-accent);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #00B8D4);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    background-color: blue;
    backdrop-filter: blur(8px);
    color: var(--text-heading);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
}

.hero-qr {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    animation: slideInRight 1s ease-out;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
}

.hero-qr img {
    width: 260px;
    height: 260px;
    border-radius: 40px;
    background: #fff;
    padding: 0.5rem;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-qr img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 55px rgba(0, 255, 255, 0.9);
}

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

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.hero-collaboration {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--neon-cyan);
  margin-bottom: 1.2rem;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  animation: fadeIn 1.5s ease-in;
}

.hero-collaboration strong {
  color: #fff;
  font-weight: 600;
}

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

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-date {
    display: inline-block;
    background: var(--orange-accent);
    color: #000;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 156, 46, 0.4);
    transition: all 0.3s ease;
    margin: 0;
}

.hero-date:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 156, 46, 0.6);
}

/* ============================
   HERO QR - Clean Glassmorphic Design
   ============================ */

.hero-qr {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  padding: 2rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  animation: slideInRight 1s ease-out;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: inline-block;
}

.hero-qr:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 35px rgba(0, 229, 255, 0.6),
    inset 0 0 25px rgba(255, 255, 255, 0.1);
}

.hero-qr img {
  width: 250px;              /* same as old original */
  height: 250px;
  border-radius: 22px;
  background: #fff;
  padding: 0.6rem;
  object-fit: contain;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-qr img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.7);
}

.hero-qr p {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* ========================================
   GLASS CARD BASE
   ======================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 229, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 229, 255, 0.2),
        0 0 50px rgba(127, 0, 255, 0.15);
}

/* ========================================
   SECTION BASE
   ======================================== */

section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #FFFFFF, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   OVERVIEW SECTION
   ======================================== */

#overview {
    padding-top: 8rem;
}

.overview-content {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    line-height: 1.9;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overview-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   COMMITTEES SECTION
   ======================================== */

.committee-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--neon-cyan), #00B8D4);
    color: #000;
    border-color: var(--neon-cyan);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* Large Committee Cards */
.large-committee-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.large-committee-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateX(80px);
    animation: slideInFromRight 1s ease-out forwards;
}

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.large-committee-card:nth-child(1) { animation-delay: 0s; }
.large-committee-card:nth-child(2) { animation-delay: 0.12s; }
.large-committee-card:nth-child(3) { animation-delay: 0.24s; }
.large-committee-card:nth-child(4) { animation-delay: 0.36s; }
.large-committee-card:nth-child(5) { animation-delay: 0.48s; }
.large-committee-card:nth-child(6) { animation-delay: 0.6s; }

.large-committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 229, 255, 0.2);
}

.committee-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(0, 229, 255, 0.3);
}

.committee-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.committee-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.committee-role {
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.committee-title {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.committee-category {
    font-size: 0.9rem;
    color: var(--orange-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Small Committee Cards */
.small-committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.small-committee-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.small-committee-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 229, 255, 0.2);
}

.small-committee-card .committee-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.small-committee-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Search Box */
.search-filter {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(8px);
    font-family: 'Inter', sans-serif;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* ========================================
   TRACKS SECTION - FIXED & IMPROVED
   ======================================== */

.filter-chips {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-weight: 500;
}

.chip.active,
.chip:hover {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
}

/* Cards Grid */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Track Card */
.track-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Smooth slide animation */
    opacity: 0;
    transform: translateY(40px);
    animation: trackFade 0.6s ease-out forwards;
    animation-delay: var(--delay, 0s);

    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes trackFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover */
.track-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 229, 255, 0.2),
        0 0 50px rgba(127, 0, 255, 0.15);
}

/* Icon */
.track-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-violet));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.track-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.track-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.track-category {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 156, 46, 0.2);
    color: var(--orange-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   TIMELINE - VERTICAL DESIGN
   ======================================== */

.timeline-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-vertical {
    position: relative;
    padding-left: 75px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 14px;
    bottom: 14px;
    width: 3px;
    background: linear-gradient(180deg, var(--neon-cyan), var(--electric-violet));
    box-shadow: 0 0 20px var(--neon-cyan);
}

.timeline-milestone {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpTimeline 0.6s ease-out forwards;
}

@keyframes fadeInUpTimeline {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-milestone:nth-child(1) { animation-delay: 0s; }
.timeline-milestone:nth-child(2) { animation-delay: 0.15s; }
.timeline-milestone:nth-child(3) { animation-delay: 0.3s; }
.timeline-milestone:nth-child(4) { animation-delay: 0.45s; }
.timeline-milestone:nth-child(5) { animation-delay: 0.6s; }

.milestone-marker {
    position: absolute;
    left: -66px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.milestone-dot {
    width: 28px;
    height: 28px;
    background: var(--neon-cyan);
    border-radius: 50%;
    border: 4px solid rgba(0, 27, 255, 0.3);
    box-shadow: 
        0 0 20px var(--neon-cyan),
        0 0 40px rgba(0, 229, 255, 0.3);
    position: relative;
    z-index: 2;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 229, 255, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 30px var(--neon-cyan), 0 0 60px rgba(0, 229, 255, 0.5);
    }
}

.milestone-dot-large {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-violet));
    animation: pulseDotLarge 1.5s ease-in-out infinite;
}

@keyframes pulseDotLarge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px var(--neon-cyan), 0 0 60px var(--electric-violet);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 50px var(--neon-cyan), 0 0 80px var(--electric-violet);
    }
}

/* .milestone-number {
    margin-top: 0.5rem;
    margin-left: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    font-family: 'Poppins', sans-serif;
} */

.milestone-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.milestone-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.milestone-content:hover::before {
    left: 100%;
}

.milestone-content:hover {
    transform: translateX(10px);
    border-color: var(--neon-cyan);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 229, 255, 0.2);
}

.milestone-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 156, 46, 0.2);
    color: var(--orange-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-badge-highlight {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(127, 0, 255, 0.2));
    color: var(--neon-cyan);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    }
}

.milestone-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    font-weight: 700;
}

.milestone-date {
    font-size: 1.1rem;
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.milestone-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.timeline-highlight .milestone-content {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(127, 0, 255, 0.08));
    border: 2px solid var(--neon-cyan);
}

.milestone-highlights {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.highlight-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    /* ... your existing mobile styles ... */
    
    /* Timeline Mobile Styles - Add these */
    .timeline-vertical {
        padding-left: 50px;
    }
    
    .timeline-vertical::before {
        left: 6px;
        top: 14px;
        bottom: 14px;
    }
    
    .milestone-marker {
        left: -51px;
    }
    
    .milestone-title {
        font-size: 1.2rem;
    }
    
    .milestone-highlights {
        flex-direction: column;
    }
    
    .highlight-item {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   EVENT DETAILS
   ======================================== */

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-label {
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
}

.prize-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prize-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.prize-medal {
    font-size: 2rem;
}

.prize-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
}

.prize-usd {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.qr-section {
    text-align: center;
    margin-top: 1.5rem;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
}

/* ========================================
   IMPROVED PRIZE TAB + QR STYLING
   ======================================== */

/* Smooth hover glow for each prize box */
.improved-prize {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.improved-prize:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

/* Add subtle divider & spacing */
.improved-prize-list {
  gap: 1.2rem;
  margin-top: 1rem;
}

/* Medal pop animation */
.prize-medal {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
  transition: transform 0.3s ease;
}
.improved-prize:hover .prize-medal {
  transform: scale(1.15) rotate(-5deg);
}

/* QR image refinement */
.qr-code img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  background: #fff;
  padding: 0.4rem;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.7);
}

/* ========================================
   PROBLEM STATEMENTS TABLE
   ======================================== */

.table-container {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(0, 229, 255, 0.1);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--neon-cyan);
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

tr:hover {
    background: rgba(0, 229, 255, 0.05);
}

/* ========================================
   ABOUT SECTIONS
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-image {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-size: cover;
    background-position: center;
}

.about-image:first-child {
    grid-column: span 2;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .about-image:first-child {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .about-text {
        font-size: 1rem;
    }
}

/* ========================================
   GUIDELINES / ACCORDION
   ======================================== */

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.accordion {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.accordion-body ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* ========================================
   NEWS FEED
   ======================================== */

.news-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.news-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.news-date {
    color: var(--orange-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Image inside the gallery item */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Soft overlay effect */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

/* Hover animations */
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover {
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTACT
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Contact Form (Left) */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* Contact Info (Right) → 2x2 Responsive Grid */
.contact-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
}

/* Coordinator Box Styling */
.coordinator {
  margin-bottom: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.coordinator:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.coordinator-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.coordinator-phone {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info p a{
    color: #EAF6FF;
    font-weight: bold;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, rgba(0, 27, 255, 0.3), rgba(58, 13, 138, 0.3));
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-logo {
    height: 50px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.social-link:hover {
    background: var(--neon-cyan);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-cyan), #00B8D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .large-committee-grid {
        grid-template-columns: 1fr;
    }
    
    .event-details-grid,
    .about-grid,
    .guidelines-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .main-event-logo {
        width: 200px;
    }
    
    .hero-main-logo {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tracks-grid,
    .small-committee-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 24px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }
    
    .timeline-item {
        padding-left: 3rem;
        text-align: left;
    }
    
    .timeline-dot {
        position: absolute;
        left: 12px;
        margin: 0;
    }
    
    .large-committee-grid {
        grid-template-columns: 1fr;
    }
    
    .large-committee-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   REDUCED MOTION (Accessibility)
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PERFORMANCE + MOBILE OPTIMIZATION FIXES
   ======================================== */

/* Reduce blur intensity on smaller screens */
@media (max-width: 768px) {
  .detail-card,
  .accordion,
  .contact-form,
  .contact-info,
  .news-card,
  .about-image,
  .timeline-content,
  .hero-qr {
    backdrop-filter: blur(4px); /* lighter for speed */
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Improve text contrast on glass backgrounds */
:root {
  --text-muted: rgba(240, 240, 240, 0.85); /* slightly brighter */
  --text-heading: #ffffff; /* pure white headings */
}

/* Optional: smoother GPU rendering hint */
* {
  will-change: transform, opacity;
}