/* Global Styles */
:root {
    /* Premium tech-event palette */
    --primary-blue: #132484;
    --secondary-blue: #123DDE;
    --glow-blue: #1D6BFF;
    --accent-cyan: #32E6FF;
    --soft-teal: #57F2CC;
    --bg-white: #F7F9FC;
    --card-white: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;

    /* Solid blue cards (mockup) */
    --card-blue: linear-gradient(135deg, #123DDE 0%, #1D6BFF 52%, #0B1F8C 100%);
    --card-blue-solid: #3558d7;
    --page-bg: #FFFFFF;

    /* Back-compat variables used across existing selectors */
    --primary-color: var(--secondary-blue);
    --secondary-color: var(--accent-cyan);
    --dark-bg: var(--page-bg);
    --primary-bg: #E8EEFC;
    --light-color: var(--bg-white);
    --text-color: var(--text-primary);
    --text-light: var(--text-secondary);
    --white: #FFFFFF;
    --black: #000000;
    --transition: all 0.3s ease;

    /* UI tokens */
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);
    --shadow-lift: 0 18px 50px rgba(0, 0, 0, 0.28);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-bg-dark: rgba(255, 255, 255, 0.92);
    --shadow-nav: 0 8px 32px rgba(15, 23, 42, 0.08);
}

/* Removed unused typography elements */

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

body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--page-bg);
    /* background: radial-gradient(circle at 50% 100%, #1e1136 0%, #0d071a 40%, #030105 100%); */

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* wavy patter with hackyugma */
.containerr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Background Glowing Aura */
.bg-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 40%;
    background: radial-gradient(circle, rgba(29, 107, 255, 0.20) 0%, transparent 60%);
    z-index: 0;
}

/* TEXT */
.text-block {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    width: 100%;
}

.text-block h1 {
    color: var(--secondary-blue);
    letter-spacing: 2px;
    font-weight: 900;
    margin: 0;
    font-size: clamp(3rem, 7vw, 85px);
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: var(--secondary-blue);
    text-shadow: none;
    line-height: 1.1;
    animation: none;
}

@keyframes hackTitleGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-block p {
    color: var(--text-secondary);
    letter-spacing: 12px;
    font-size: clamp(12px, 2vw, 20px);
    margin-top: 15px;
    text-transform: uppercase;
    font-weight: 500;
}

/* WAVE */
/* .wave {
  position: absolute;
  top: 15vh;
  left: 0;
  width: 100vw;
  height: 60vh;
  z-index: 2;
  overflow: visible; /* Prevent clipping of glowing shadows */

/* 
.moving-wave {
  animation: moveWave 10s linear infinite;
}

@keyframes moveWave {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-1200px);
  }
} */
/* 
.wave-path {
  fill: none;
  stroke: url(#neonGradient);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px #ff4d6d) drop-shadow(0 0 25px rgba(193, 77, 69, 0.8));
  animation: wavePulse 4s infinite alternate;
} */

/* Slightly pulse the intensity of the stroke */
/* @keyframes wavePulse {
  0% { stroke-width: 4px; filter: drop-shadow(0 0 10px #ff4d6d) drop-shadow(0 0 20px rgba(193, 77, 69, 0.5)); }
  100% { stroke-width: 6px; filter: drop-shadow(0 0 15px #ff4d6d) drop-shadow(0 0 35px rgba(193, 77, 69, 1)); }
} */

/* Reflection Wave on floor */
/* .wave-reflection {
  top: 15vh; 
  transform-origin: bottom center;
  transform: scaleY(-1) perspective(800px) rotateX(-10deg);
  z-index: 1;
  opacity: 0.25;
}

.reflection-path {
  filter: blur(10px) drop-shadow(0 0 5px #c14d45);
  animation: none;
} */

/* PLATFORM / PODIUM */
.platform {
    display: none;
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 50vw;
    max-width: 600px;
    height: 100px;
    border-radius: 50%;

    /* Gradation for the top glossy face */
    background: radial-gradient(ellipse at center, #260510, #0a0614);

    /* The 3D extruded side using stacked box shadows */
    box-shadow:
        inset 0 -10px 20px rgba(0, 0, 0, 0.8),
        /* shadow on the front lip of top face */
        inset 0 2px 5px rgba(255, 255, 255, 0.1),
        /* bright reflection back edge */
        0 1px 0 #05040a,
        0 3px 0 #05040a,
        0 5px 0 #05040a,
        0 7px 0 #05040a,
        0 9px 0 #05040a,
        0 11px 0 #05040a,
        0 13px 0 #05040a,
        0 15px 0 #05040a,
        0 17px 0 #05040a,
        0 19px 0 #05040a,
        0 21px 0 #c14d45,
        /* Solid ring underneath the podium base */
        0 30px 40px rgba(193, 77, 69, 0.4),
        /* Neon floor reflection from base */
        0 50px 80px rgba(89, 19, 47, 0.6);
    /* Deep ambient floor glow */

    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

/*********************************************** end of main yugma wavy line */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
    position: relative;
    text-shadow: none;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-cyan));
    color: var(--white) !important;
    padding: 12px 35px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(29, 107, 255, 0.28), 0 0 0 1px rgba(50, 230, 255, 0.12) inset;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 46px rgba(29, 107, 255, 0.36), 0 0 26px rgba(50, 230, 255, 0.18);
}

.btn-secondary {
    display: inline-block;
    background: var(--page-bg);
    color: var(--secondary-blue) !important;
    padding: 12px 35px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-blue);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(18, 61, 222, 0.12);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(18, 61, 222, 0.06);
    border-color: var(--glow-blue);
    box-shadow: 0 12px 28px rgba(29, 107, 255, 0.18);
}

/* Removed unused btn-tertiary */

.btn-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-cyan));
    color: var(--white) !important;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(29, 107, 255, 0.24), 0 0 0 1px rgba(50, 230, 255, 0.12) inset;
}

.btn-pill:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 46px rgba(29, 107, 255, 0.34), 0 0 26px rgba(50, 230, 255, 0.16);
}

/* Cursor Styles */


/* Removed unused loading-overlay */

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Header Styles */
header {
    position: fixed !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1300px;
    z-index: 1000;
    background: var(--glass-bg-dark);
    box-shadow: var(--shadow-nav);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}


/* Updated Logo Styles for 5 Logos */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    /* Reduced gap to fit more logos */
    flex-wrap: nowrap;
    padding: 10px 15px;
}

.mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
    /* higher than mobile-nav */
}

.logo a img {
    height: auto;
    max-height: 30px;
    /* Force size equality */
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Logo 1 (IEEE) - Reduced size */
.logo-ieee {
    height: 30px;
    /* Reduced from 50px */
    width: auto;
    transition: transform 0.3s ease;
}

/* Logo 2 (JNNCE) - Reduced size */
.logo-jnnce {
    height: 60px;
    /* Reduced from 75px */
    width: auto;
    transition: transform 0.3s ease;
}

/* Logo 3 (NES) - Reduced size */
.logo-nes {
    height: 50px;
    /* Reduced from 70px */
    width: auto;
    transition: transform 0.3s ease;
}

/* New Logo 4 */
.logo-fourth {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

/* New Logo 5 */
.logo-fifth {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Hover effects */
.logo a:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .logo {
        justify-content: space-evenly;
        gap: 8px;

    }

}

/* Make logo larger on laptop/desktop */
@media (min-width: 1250px) {
    .logo a img {
        max-height: 42px;
        max-width: 90px;

    }
}

@media (min-width: 1250px) {
    .mobile-menu-btn {
        display: none !important;
    }
}


@media (max-width: 768px) {
    .logo {
        gap: 8px;
    }

    .logo-ieee {
        height: 25px;
    }

    .logo-jnnce {
        height: 45px;
    }

    .logo-nes {
        height: 40px;
    }

    .logo-fourth {
        height: 25px;
    }

    .logo-fifth {
        height: 20px;
    }
}


@media (max-width: 576px) {
    .logo {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-left: 0;
        padding: 5px;
        width: 100%;
    }

    .logo a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo a img {
        max-height: 25px !important;
        width: auto !important;
    }

    .logo-jnnce {
        max-height: 40px !important;
    }

    .logo-nes {
        max-height: 35px !important;
    }
}

@media screen and (max-width: 400px) {
    .logo {
        gap: 4px;
        padding: 4px;
    }

    .logo a img {
        max-height: 20px !important;
    }

    .logo-jnnce {
        max-height: 32px !important;
    }

    .logo-nes {
        max-height: 28px !important;
    }
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.desktop-nav ul li {
    margin-left: clamp(8px, 1.2vw, 20px);
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.desktop-nav select {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(18, 61, 222, 0.15);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.desktop-nav select:hover {
    border-color: var(--secondary-blue);
    background-color: var(--white);
    color: var(--secondary-blue);
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--glow-blue));
    transition: var(--transition);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.desktop-nav ul li a:hover {
    color: var(--secondary-blue);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);

}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 220px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 2500;
    transition: var(--transition);
    backdrop-filter: blur(15px);
    /* glassmorphism blur effect */
    -webkit-backdrop-filter: blur(15px);
    /* Safari support */
    margin-right: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    padding: 20px;
    text-align: right;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);

}

.mobile-nav-close:hover {
    color: var(--secondary-blue);
}

.mobile-nav ul {
    list-style: none;
    padding: 0 30px;


}

.mobile-nav ul li {
    margin-bottom: 20px;
    margin-left: 1px;

}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-nav ul li a:hover {
    color: var(--secondary-blue);
    padding-left: 10px;
}

.mobile-nav select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;
    border-radius: 0;
}

.mobile-nav select:hover {
    color: var(--secondary-blue);
    padding-left: 10px;
}



/* Hero Section */
.hero {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100vh; /* Make it exactly full screen */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding-bottom: 20px;
        display: block;
    }
}

/* Redesigned Centered Content Container */
.hero-content-new {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(92%, 950px);
    margin: 0 auto;
    padding-top: 110px;
}

@media (max-width: 768px) {
    .hero-content-new {
        padding-top: 130px;
    }
}

.hero-presents {
    font-weight: 700;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: var(--secondary-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.hero-main-title {
    font-size: clamp(2.4rem, 7vw, 5.8rem);
    font-weight: 800;
    font-family: 'Poppins', 'Sora', sans-serif;
    color: #123DDE;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.05;
    margin-bottom: 22px;
    text-shadow: 0 10px 30px rgba(18, 61, 222, 0.08);
}

/* Year Element flanked by short horizontal blue lines */
.hero-year-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.hero-year-line {
    height: 1.5px;
    width: 32px;
    background-color: #1D6BFF;
}

.hero-year-text {
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    color: #1D6BFF;
    letter-spacing: 12px;
    margin-left: 12px; /* to offset trailing letter-spacing */
    text-transform: uppercase;
}

.hero-tagline-1 {
    font-family: 'Sora', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 3vw, 1.55rem);
    color: #334155;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero-tagline-2 {
    font-weight: 400;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: #64748B;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-buttons-new {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Blurred Glowing Orbs */
.hero-orb-top-right {
    position: absolute;
    top: -12%;
    right: -12%;
    width: clamp(300px, 40vw, 550px);
    height: clamp(300px, 40vw, 550px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50, 230, 255, 0.28) 0%, rgba(29, 107, 255, 0.16) 45%, transparent 70%);
    filter: blur(100px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.hero-orb-bottom-left {
    position: absolute;
    bottom: -12%;
    left: -12%;
    width: clamp(300px, 40vw, 550px);
    height: clamp(300px, 40vw, 550px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 107, 255, 0.24) 0%, rgba(50, 230, 255, 0.12) 45%, transparent 70%);
    filter: blur(100px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

/* Dot Matrix Grid Pattern */
.hero-dots-top-left {
    position: absolute;
    top: 12%;
    left: 6%;
    width: 144px;
    height: 144px;
    opacity: 0.16;
    background-image: radial-gradient(rgba(29, 107, 255, 0.35) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 1;
}

.hero-dots-bottom-right {
    position: absolute;
    bottom: 12%;
    right: 6%;
    width: 144px;
    height: 144px;
    opacity: 0.16;
    background-image: radial-gradient(rgba(29, 107, 255, 0.35) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 1;
}

/* Floating Sparkle Stars */
.hero-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    animation: heroSparkleTwinkle 4.5s ease-in-out infinite;
    width: 26px;
    height: 26px;
    color: #1D6BFF;
    filter: drop-shadow(0 0 8px rgba(29, 107, 255, 0.5));
}

.hero-sparkle.s1 {
    left: 20%;
    top: 24%;
    animation-delay: 0s;
}

.hero-sparkle.s2 {
    right: 22%;
    top: 36%;
    animation-delay: 1.5s;
}

.hero-sparkle.s3 {
    left: 28%;
    bottom: 22%;
    animation-delay: 3s;
}

@keyframes heroSparkleTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.15) rotate(90deg);
    }
}

/* Connecting Network/Constellation Lines */
.hero-lines-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.12;
}

.hero-lines-bg svg {
    width: 100%;
    height: 100%;
}

.hero-lines-bg line {
    stroke: rgba(18, 61, 222, 0.35);
    stroke-width: 1;
}

.hero-lines-bg circle {
    fill: rgba(50, 230, 255, 0.65);
}

/* 3D Floating Brackets (Left & Right Flanks) */
.hero-bracket-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(75px, 11vw, 135px);
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(18, 61, 222, 0.22));
    animation: floatBracket 3.2s ease-in-out infinite;
    z-index: 5;
}

.hero-bracket-img.left {
    left: 6%;
}

.hero-bracket-img.right {
    right: 6%;
    animation-delay: 1.6s;
}

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

@keyframes heroFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes heroTwinkle {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.1);
    }
}

/* Removed old About, Timeline, Contact, Partners, Footer, Back-To-Top sections */

/* Responsive Styles */
@media (max-width: 1250px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Redesigned Hero mobile layout */
    .hero-bracket-img,
    .hero-orb-top-right,
    .hero-orb-bottom-left,
    .hero-dots-top-left,
    .hero-dots-bottom-right,
    .hero-sparkle,
    .hero-lines-bg {
        display: none !important;
    }

    .hero-content-new {
        padding-top: clamp(125px, 20vh, 175px);
    }

    .section-title {
        font-size: 1.6rem;
    }

    section, .about-hero {
        padding: 40px 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* (Previous CSS remains the same until the About Section) */

/* Team Section */
.team {
    background: transparent !important;
    padding: 20px 0 0px 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 20px;
    color: var(--secondary-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-subtitle-1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    color: var(--secondary-blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* 
Inside the team individual box */
.team-member {
    text-align: center;
    background: var(--card-white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    padding: 30px 20px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}


.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(18, 61, 222, 0.14), 0 0 0 1px rgba(18, 61, 222, 0.12);
    border-color: rgba(18, 61, 222, 0.18);
}

.member-image {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(18, 61, 222, 0.65);
    box-shadow: 0 0 20px rgba(50, 230, 255, 0.18);
    padding: 2px;
    background: transparent;
}


.team-member:hover .member-image {
    border-color: rgba(50, 230, 255, 0.9);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}


.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.team-member p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

/* (Rest of the CSS remains the same) */

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .member-image {
        width: 90px;
        height: 90px;
    }
}

.dual-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.team-group {
    width: 100%;
    max-width: 800px;
}

/* Two members per group */
.team-grid-1x {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .team-grid-1x {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Four-member rows */
.team-grid-4x {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.team-grid-centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

/* Team Section Background */
.team-bg-wrapper {
    position: relative;
    padding: 100px 0 40px 0;
    overflow: hidden;
}

/* Background Image with Dark Overlay */
.team-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Dark Overlay */
.team-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
}

/* Ensure team content stays above the background */
.team .container {
    position: relative;
    z-index: 1;
}

.hero-announcement-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    max-width: 420px;
    animation: floatCard 4s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(236, 65, 134, 0.5);
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(6px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-announcement-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(238, 84, 74, 0.8);
}

/* Shine sweep */
.hero-announcement-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shine 4s linear infinite;
    transform: rotate(25deg);
    z-index: 0;
}

.hero-announcement-card h2,
.hero-announcement-card p,
.hero-announcement-card .btn-register {
    position: relative;
    z-index: 2;
}

/* Neon-glow button */
.hero-announcement-card .btn-register {
    display: inline-block;
    margin-top: 1.2rem;
    /* Add this line */
    padding: 0.6rem 1.5rem;
    background-color: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-announcement-card .btn-register:hover {
    background-color: var(--primary-bg);
    color: #fff;
    box-shadow: 0 0 15px rgba(56, 18, 74, 0.9),
        0 0 25px rgba(56, 18, 74, 0.6);
}

/* Floating bounce */
@keyframes floatCard {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Shine sweep */
@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }

    100% {
        transform: translateX(100%) rotate(25deg);
    }
}

/* Remove the green ball */




@keyframes sparkle {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

/* Create a full-page background container */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: var(--page-bg);
    background-image:
        radial-gradient(circle at 12% 22%, rgba(29, 107, 255, 0.10) 0%, transparent 48%),
        radial-gradient(circle at 88% 18%, rgba(50, 230, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 72% 78%, rgba(18, 61, 222, 0.06) 0%, transparent 50%);
}

.page-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 61, 222, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 61, 222, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.45;
    pointer-events: none;
}

.page-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 35%, rgba(50, 230, 255, 0.12), transparent 42%),
        radial-gradient(circle at 78% 55%, rgba(29, 107, 255, 0.10), transparent 48%);
    filter: blur(24px);
    pointer-events: none;
}

/* Adjust particle background to be more visible */
#particles-js {
    z-index: -1;
    /* Above the background but below content */
    background-color: transparent;
    opacity: 0.22;
}

/* Make sure all sections have transparent background */
section {
    background-color: transparent;
}

/* Add some padding to sections for better spacing */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* Light theme typography */
.section-title,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
}

p,
.text-light {
    color: var(--text-secondary);
}

/* Adjust card backgrounds to be semi-transparent */
.Event-card,
.timeline-content,
.resource-item,
.contact-form,
.tab-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Update text colors in cards */
.Event-card h3,
.timeline-content h3,
.resource-item h4 {
    color: #fff;
}

.Event-card p,
.timeline-content p,
.resource-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero content fallback */
.hero-content h1 {
    color: var(--secondary-blue);
    text-shadow: none;
}

/* Remove gaps between sections */
section {
    margin: 0;
    padding: 100px 0;
    /* Uniform padding */
}

/* Fix header spacing */
header {
    margin-bottom: 0;
}

/* Prize Pool Section */
.prize-pool {
    padding: 20px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.prize-pool::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(29, 107, 255, 0.18) 0%, transparent 70%);
    animation: prize-bg-rotate 15s linear infinite;
    z-index: 0;
}

.prize-header-new {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.prize-header-new h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
}

.prize-header-new h2::before,
.prize-header-new h2::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(18, 61, 222, 0.45));
}

.prize-header-new h2::after {
    background: linear-gradient(270deg, transparent, rgba(18, 61, 222, 0.45));
}

.prize-header-new p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.prize-grid-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.prize-box {
    flex: 0 1 calc(33.333% - 14px);
    box-sizing: border-box;
    background: var(--card-blue);
    border: none;
    border-radius: var(--radius-xl);
    padding: 25px 20px;
    text-align: center;
    backdrop-filter: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 14px 40px rgba(18, 61, 222, 0.28);
}

@media (max-width: 992px) {
    .prize-box {
        flex: 0 1 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .prize-box {
        flex: 0 1 100%;
    }
}

.prize-box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(50, 230, 255, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.prize-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 56px rgba(18, 61, 222, 0.38), 0 0 0 1px rgba(50, 230, 255, 0.35);
}

.prize-box:hover::before {
    opacity: 1;
}

.prize-icon {
    font-size: 2.5rem;
    color: var(--white);
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 12px;
    transition: transform 0.4s ease;
}

.prize-box:hover .prize-icon {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 0 14px rgba(50, 230, 255, 0.45));
}

.prize-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.prize-desc-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
}

.prize-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--primary-blue);
    margin-top: auto;
}

/* Animations */
@keyframes prize-bg-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Team Section Layout Adjustments */
.team-grid-4x {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px auto;
    max-width: 1200px;
}


@media (max-width: 992px) {
    .team-grid-4x {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid-4x {
        grid-template-columns: 1fr;
    }
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.title-gap {
    display: inline-block;
    width: 20ch;
    /* Default for desktop (5 tabs) */
    white-space: pre;
}

/* Mobile devices (phones) */
@media (max-width: 992px) {
    .title-gap {
        width: 15ch;
        /* Wider gap on phones (7.5 tabs) */
    }
}

/* Mobile devices (phones) */
@media (max-width: 768px) {
    .title-gap {
        width: 18ch;
        /* Wider gap on phones (7.5 tabs) */
    }
}

/* Small phones (extra adjustment) */
@media (max-width: 480px) {
    .title-gap {
        width: 5ch;
        /* Slightly less for very small screens */
    }
}

/* Custom About Box (HackMIT Reference Style) */
.about-hero {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.custom-about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.about-glass-box {
    background: var(--card-blue);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 18px 50px rgba(18, 61, 222, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-glass-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(18, 61, 222, 0.34);
}

.about-glass-box h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-glass-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: center;
}

.about-glass-box p:last-child {
    margin-bottom: 0;
}

/* Make it responsive */
@media (max-width: 768px) {
    .about-glass-box {
        padding: 40px 30px;
    }

    .about-glass-box h2 {
        font-size: 1.6rem;
    }

    .about-glass-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-glass-box {
        padding: 30px 20px;
    }

    .about-glass-box p {
        text-align: left;
        /* Better readability on small phones */
    }
}

/* Domains Section (HackMIT style) */
.domains-section {
    padding: 40px 0 80px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.domains-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.domain-card {
    flex: 1 1 350px;
    max-width: 480px;
    background: var(--card-blue);
    border: none;
    backdrop-filter: none;
    padding: 40px 20px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(18, 61, 222, 0.26);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 56px rgba(18, 61, 222, 0.36);
}

.domain-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.domain-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule-section {
    padding: 20px 0 80px 0;
    position: relative;
    z-index: 10;
}

.schedule-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 40px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.schedule-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.schedule-card {
    flex: 1 1 380px;
    max-width: 480px;
    background: var(--card-blue);
    border: none;
    border-radius: var(--radius-xl);
    padding: 20px 25px;
    backdrop-filter: none;
    box-shadow: 0 14px 40px rgba(18, 61, 222, 0.26);
}

.schedule-card h3 {
    text-align: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    display: block;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.schedule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.schedule-list li:last-child {
    margin-bottom: 0;
}

.schedule-list .time {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    margin-right: 5px;
}

.schedule-list .event {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
}

@media (max-width: 992px) {
    .schedule-container {
        padding: 30px 20px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 40px 0 80px 0;
    position: relative;
    z-index: 10;
}

.faq-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 40px auto 0;
    max-width: 800px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.faq-category-title {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 10px;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-blue);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 12px 36px rgba(18, 61, 222, 0.22);
}

.faq-item:hover {
    box-shadow: 0 18px 48px rgba(18, 61, 222, 0.32);
    transform: translateY(-2px);
}

.faq-question {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    user-select: none;
}

.faq-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

.faq-item.active .faq-icon {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}


.faq-answer p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 20px 15px;
    }
}

/* Simple Footer */
.simple-footer {
    padding: 60px 0 40px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.simple-footer p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.footer-email {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--glow-blue);
    text-decoration: none;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(18, 61, 222, 0.25);
    color: var(--secondary-blue);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.social-icon:hover {
    background: var(--card-blue);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(18, 61, 222, 0.28);
}

/* Nav dropdown (YUGMA TechFest) */
header select {
    background: transparent;
    color: var(--text-primary);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    padding: 0 20px 0 0;
    margin-left: 10px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%20fill%3D%22none%22%20stroke%3D%22%230F172A%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    transition: var(--transition);
}

header select:hover {
    color: var(--secondary-blue);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%20fill%3D%22none%22%20stroke%3D%22%23123DDE%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
}

header select option {
    background: var(--glass-bg-dark);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

/* Team page category heading */
.team-category h2 {
    text-align: center;
    color: var(--primary-blue);
    margin: 40px 0 24px;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
}

.member-social a {
    color: var(--secondary-blue);
    transition: var(--transition);
}

.member-social a:hover {
    color: var(--glow-blue);
}

.bg-glow {
    background: radial-gradient(circle, rgba(29, 107, 255, 0.08) 0%, transparent 60%);
}

/* =========================================================
   Spotlight hover effect (ReactBits-style, vanilla JS)
   Applies to cards only (NOT navbar/buttons/sections)
   ========================================================= */

:is(.about-glass-box,
    .prize-box,
    .team-member,
    .domain-card,
    .schedule-card,
    .faq-item,
    .details-box) {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

:is(.about-glass-box,
    .prize-box,
    .team-member,
    .domain-card,
    .schedule-card,
    .faq-item,
    .details-box)::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background:
        radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.39) 0%,
            rgba(55, 215, 255, 0.25) 18%,
            rgba(144, 181, 251, 0.19) 34%,
            transparent 58%);
    filter: blur(7px);
}

@media (hover: hover) and (pointer: fine) {

    :is(.about-glass-box,
        .prize-box,
        .team-member,
        .domain-card,
        .schedule-card,
        .faq-item,
        .details-box):hover::before {
        opacity: 1;
    }
}

/* Premium hover lift + border brightening (cards only) */
@media (hover: hover) and (pointer: fine) {

    :is(.about-glass-box,
        .prize-box,
        .team-member,
        .domain-card,
        .schedule-card,
        .faq-item,
        .details-box):hover {
        transform: translateY(-6px) translateZ(0);
    }
}

/* Animated star-border for navbar + CTA buttons + team cards */
:is(header, .btn-primary, .btn-secondary, .btn-pill, .hero-btn, .team-member) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

:is(header, .btn-primary, .btn-secondary, .btn-pill, .hero-btn, .team-member)::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.95;
    background: linear-gradient(110deg,
            #1D6BFF 0%,
            #32E6FF 28%,
            #57F2CC 50%,
            #FFFFFF 68%,
            #1D6BFF 100%);
    background-size: 220% 220%;
    animation: starBorderSweep 4.5s linear infinite;
    z-index: 1;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1.4px;
}

header::after {
    opacity: 0.62;
    animation-duration: 8s;
}

:is(.btn-primary, .btn-secondary, .btn-pill, .hero-btn, .team-member) {
    box-shadow: 0 0 20px rgba(50, 230, 255, 0.25);
}

.desktop-nav ul li a.active {
    color: var(--secondary-blue);
}

.desktop-nav ul li a.active::after {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1D6BFF, #32E6FF, #57F2CC, #1D6BFF);
    background-size: 240% 100%;
    animation: navStarBorder 3.8s linear infinite;
}

/* Memories Section styling */
.memories-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.memories-header {
    text-align: center;
    margin-bottom: 40px;
}

.memories-header h2 {
    font-size: 2.0rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary-blue), var(--glow-blue));
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.memories-slider-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(44, 101, 234, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: var(--shadow-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.slider-main-display {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #0f172a;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-main-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.08s ease-in-out;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 61, 222, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(18, 61, 222, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(29, 107, 255, 0.5);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

.slider-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 4px;
    flex-wrap: wrap;
    gap: 10px;
}

.slide-photo-count {
    font-weight: 600;
    color: #fff;
}

.slider-thumbnails-wrapper {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    position: relative;
}

.slider-thumbnails-track {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    scroll-behavior: smooth;
    width: 100%;
}

.slider-thumbnails-track::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.slider-thumb {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.slider-thumb:hover {
    opacity: 0.8;
}

.slider-thumb.active {
    opacity: 1;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(50, 230, 255, 0.6);
}

.thumb-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.thumb-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Custom Scrollbar */
.scrollbar-custom-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.scrollbar-custom-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-cyan));
    border-radius: 10px;
    cursor: pointer;
    transition: left 0.1s ease;
}

@media (max-width: 768px) {
    .memories-slider-container {
        padding: 8px;
    }
    
    .slider-main-display {
        aspect-ratio: 3 / 2;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .slider-arrow.prev {
        left: 8px;
    }
    
    .slider-arrow.next {
        right: 8px;
    }
    
    .slider-thumb {
        width: 75px;
        height: 50px;
    }
    
    .thumb-nav-btn {
        height: 50px;
    }
    
    .memories-header h2 {
        font-size: 1.7rem;
    }
}

@keyframes starBorderSweep {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 220% 50%;
    }
}

@keyframes navStarBorder {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 240% 50%;
    }
}

/* =========================================================
   New Prize Pool Landing Section Styles & Moving Shine Effect
   ========================================================= */
.hero + .prize-pool {
    position: relative;
    padding: 20px 15px;
    margin: 40px auto;
    max-width: 480px;
    width: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 10;
}

/* Moving/shining glare sweep effect like 3rd image */
.hero + .prize-pool::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(25deg);
    animation: prize-banner-shine 4.5s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes prize-banner-shine {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }
    100% {
        transform: translateX(100%) rotate(25deg);
    }
}

.hero + .prize-pool .prize-title {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: #204ebb;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.hero + .prize-pool .worth {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    letter-spacing: 6px;
    /* color: var(--soft-teal); */
    color: #2f66e9;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.hero + .prize-pool .prize-amount {
    font-size: clamp(2.5rem, 7vw, 4.2rem);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffd700 0%, #ff9e00 50%, #ffd700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.1;
    animation: gold-shimmer-glow 3s linear infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.2));
}

@keyframes gold-shimmer-glow {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}