/* ============================================================
   TECHNOVATE 2026 — Enhanced Light Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Rajdhani:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* ── Core palette ── */
  --bg-base:        #faf8f5;
  --bg-warm:        #fff7f0;
  --bg-cool:        #f0f5ff;
  --bg-card:        rgba(255, 255, 255, 0.82);
  --bg-card-hover:  rgba(255, 255, 255, 0.96);

  /* ── Accent colors ── */
  --indigo:         #3b5bdb;
  --indigo-light:   #748ffc;
  --indigo-dim:     rgba(59, 91, 219, 0.18);
  --indigo-glow:    rgba(59, 91, 219, 0.3);

  --coral:          #f76707;
  --coral-light:    #ff922b;
  --coral-dim:      rgba(247, 103, 7, 0.18);
  --coral-glow:     rgba(247, 103, 7, 0.35);

  --teal:           #0c8599;
  --teal-light:     #22b8cf;
  --teal-dim:       rgba(12, 133, 153, 0.18);

  --amber:          #f59f00;
  --amber-light:    #ffd43b;

  /* ── Text ── */
  --text:           #1a1a2e;
  --text-mid:       #364158;
  --muted:          #6c7a9c;
  --text-light:     #8a98b5;

  /* ── Borders ── */
  --border:         rgba(59, 91, 219, 0.15);
  --border-hover:   rgba(59, 91, 219, 0.4);
  --border-coral:   rgba(247, 103, 7, 0.25);

  /* ── Gradients ── */
  --grad-hero:      linear-gradient(135deg, #f0f5ff 0%, #fdf0e8 50%, #f0f5ff 100%);
  --grad-card:      linear-gradient(145deg, rgba(255,255,255,0.9), rgba(240,245,255,0.85));
  --grad-indigo:    linear-gradient(135deg, var(--indigo), var(--teal));
  --grad-coral:     linear-gradient(135deg, var(--coral), var(--amber));
  --grad-text:      linear-gradient(135deg, var(--indigo) 0%, var(--teal) 100%);

  /* ── Typography ── */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-ui:        'Rajdhani', sans-serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-script:    'Playfair Display', Georgia, serif;

  /* Legacy aliases for compatibility */
  --cyan:           var(--indigo);
  --cyan-dim:       var(--indigo-dim);
  --orange:         var(--coral);
  --orange-glow:    var(--coral-glow);
  --gold-bar:       var(--amber);
  --gold-text:      #1a0a00;
  --navy-deep:      #f0f5ff;
  --navy-mid:       #e4ecff;
  --navy-card:      rgba(230, 240, 255, 0.82);
  --border-glow:    var(--indigo-dim);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

main { position: relative; z-index: 2; }

/* ── Background ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--grad-hero);
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  pointer-events: none;
}

.mesh-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 91, 219, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 91, 219, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 15%, black 20%, transparent 80%);
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(250, 248, 245, 0.45) 100%);
}

/* ── University bar ── */
.university-bar {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, var(--indigo), var(--teal));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(13px, 2vw, 15px);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 24px rgba(59, 91, 219, 0.25);
}

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ── Navbar ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(180%);
  background: rgba(250, 248, 245, 0.92);
  border-bottom: 1px solid rgba(59, 91, 219, 0.12);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.top-nav.scrolled {
  padding: 0;
  box-shadow: 0 8px 40px rgba(59, 91, 219, 0.1), 0 0 0 1px rgba(59, 91, 219, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.top-nav .container { width: 100%; margin: 0; padding: 0 24px; }

.brand { display: flex; align-items: center; gap: 12px; }

.brand-shield {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--indigo);
  background: linear-gradient(145deg, rgba(59,91,219,0.12), rgba(200,220,255,0.5));
  border: 1px solid rgba(59,91,219,0.3);
  box-shadow: 0 0 20px rgba(59,91,219,0.12);
}

.brand-title {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--text);
  display: flex; align-items: center; white-space: nowrap;
}

.brand-o {
  display: inline-flex; vertical-align: middle; margin: 0 4px;
  color: var(--indigo);
}
.brand-o i { font-size: 1.4em; line-height: 1; display: inline-block; }

.brand-text span {
  display: block; color: var(--muted);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}

.nav-links {
  list-style: none; display: flex;
  align-items: center; gap: 8px 18px; flex-wrap: wrap;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 700;
  letter-spacing: 1.8px; padding: 8px 4px;
  position: relative; transition: color 0.2s ease;
  color: var(--text-mid);
}

.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--coral));
  transition: width 0.25s ease; border-radius: 2px;
}

.nav-links a:hover { color: var(--indigo); }
.nav-links a:hover::after { width: 100%; }

.menu-btn {
  display: none; border: 0; color: var(--indigo);
  background: rgba(59,91,219,0.08);
  border: 1px solid rgba(59,91,219,0.25);
  width: 44px; height: 44px; border-radius: 10px;
  font-size: 18px; cursor: pointer;
}

/* ── Glass cards ── */
.glass-card {
  border: 1px solid rgba(59, 91, 219, 0.15);
  background: var(--grad-card);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.85) inset,
    0 20px 60px rgba(59, 91, 219, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.15s ease;
}

.glass-card:hover {
  border-color: rgba(59, 91, 219, 0.32);
  box-shadow:
    0 0 0 1px rgba(59,91,219,0.1) inset,
    0 28px 70px rgba(59, 91, 219, 0.12),
    0 0 60px rgba(59, 91, 219, 0.07);
}

.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ── Gears ── */
.gear-spin { animation: gearRotate 8s linear infinite; }
.gear-spin-slow { animation: gearRotate 12s linear infinite reverse; font-size: 0.85em; }
@keyframes gearRotate { to { transform: rotate(360deg); } }

/* ── Hero ── */
.hero { padding: 36px 0 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px; align-items: stretch;
}

.hero-card { padding: 36px 40px; }

.eyebrow {
  color: var(--muted);
  font-family: var(--font-ui);
  letter-spacing: 0.15em;
  font-weight: 700; font-size: 22px;
  text-transform: uppercase;
  line-height: 1.9;
}

.hero-wordmark { margin: 16px 0 12px; line-height: 1.05; }

.word-tech {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: 1px;
  background: linear-gradient(135deg, #1a237e 0%, var(--indigo) 45%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(59,91,219,0.2));
}

.hero-o {
  display: inline-flex; vertical-align: middle; margin: 0 2px;
  color: var(--indigo);
  filter: drop-shadow(0 0 8px rgba(59,91,219,0.6));
}

.word-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 100px);
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 20px rgba(247,103,7,0.3));
  letter-spacing: 3px;
  line-height: 1;
}

.subtitle {
  color: var(--teal);
  font-family: var(--font-ui);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.tagline-script {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text-mid);
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
}

.prize-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
}

.prize-circle {
  position: relative;
  width: min(400px, 95vw);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden; padding: 0; display: block;
  box-shadow: 0 12px 48px rgba(59,91,219,0.15), 0 0 0 1px rgba(59,91,219,0.12);
}

.prize-ring {
  position: absolute; inset: -4px; z-index: 3;
  border-radius: 14px;
  border: 2px dashed rgba(59,91,219,0.3);
  animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.02); opacity: 1; }
}

.register-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 999px;
  font-family: var(--font-ui); font-weight: 700;
  font-size: 12px; letter-spacing: 2px;
  color: #fff;
  background: var(--grad-indigo);
  box-shadow: 0 4px 24px rgba(59,91,219,0.4);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,91,219,0.5);
}

/* ── Magnetic button — needs visual weight so movement is felt ── */
.magnetic-btn {
  position: relative;
  overflow: hidden;
  will-change: transform;
  /* Smooth elastic return */
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Lifted shadow so displacement is clearly visible */
.magnetic-btn:hover {
  box-shadow:
    0 12px 40px rgba(59, 91, 219, 0.28),
    0 4px 12px rgba(59, 91, 219, 0.18),
    0 0 0 2px rgba(59, 91, 219, 0.15);
}

/* Specific styles for the "more / view images" button */
.more-btn.magnetic-btn:hover {
  box-shadow:
    0 12px 40px rgba(247, 103, 7, 0.35),
    0 4px 12px rgba(247, 103, 7, 0.22),
    0 0 0 2px rgba(247, 103, 7, 0.18);
}

/* Register / submit buttons */
.register-btn.magnetic-btn,
.submit-btn.magnetic-btn {
  /* Already has box-shadow defined above — just ensure transition is inherited */
}

/* Subtle "floating" idle state so users notice the button before hovering */
.magnetic-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.18) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.magnetic-btn:hover::before { opacity: 1; }

/* ── Countdown ── */
.countdown-box {
  margin-top: 24px;
  width: min(520px, 94%);
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,245,255,0.88));
  border: 1px solid rgba(59,91,219,0.18);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(59,91,219,0.1), 0 0 0 1px rgba(255,255,255,0.8) inset;
}

.countdown-box h2 {
  font-family: var(--font-ui);
  font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
}

.time-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}

.time-grid div {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(235,240,255,0.8));
  border: 1px solid rgba(59,91,219,0.18);
  border-radius: 14px; text-align: center;
  padding: 14px 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(59,91,219,0.06);
}

.time-grid div:hover {
  border-color: rgba(59,91,219,0.45);
  box-shadow: 0 4px 20px rgba(59,91,219,0.15);
  transform: translateY(-2px);
}

.time-grid span {
  display: block;
  font-family: var(--font-display);
  background: var(--grad-indigo);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900; line-height: 1;
}

.time-grid small {
  display: block; color: var(--muted);
  font-size: 10px; letter-spacing: 1.5px;
  margin-top: 6px; text-transform: uppercase;
  font-family: var(--font-ui);
}

/* ── Sections ── */
.section { padding: 60px 0; }

.about-box { padding: 36px 40px; }

.about-box h2, .section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2; margin-bottom: 16px;
}

.about-box h2 {
  background: var(--coral-light);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.about-box p { color: var(--text-mid); margin-bottom: 14px; }

.about-box h3 {
  text-align: center; color: var(--indigo);
  font-family: var(--font-ui); font-size: 20px;
  letter-spacing: 2.5px; margin: 24px 0 14px;
  text-transform: uppercase;
}

.chip-row, .highlights-grid { display: grid; gap: 12px; }
.chip-row { grid-template-columns: repeat(3, 1fr); }
.highlights-grid { grid-template-columns: repeat(3, 1fr); }

.chip {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(235,240,255,0.75));
  border: 1px solid rgba(59,91,219,0.15);
  border-radius: 14px; padding: 14px;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(59,91,219,0.05);
}

.chip:hover {
  transform: translateY(-3px);
  border-color: rgba(59,91,219,0.4);
  box-shadow: 0 8px 24px rgba(59,91,219,0.1);
}

.chip i { color: var(--indigo); }

/* ── Guidelines ── */
.guideline-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

#guidelines .section-title {
  text-align: center; color: var(--coral-light); margin-bottom: 28px;
}

.guideline-item {
  border-bottom: 1px solid rgba(59,91,219,0.1);
  padding-bottom: 8px;
}

.guideline-head {
  border: 0; background: transparent; width: 100%; color: var(--text);
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  text-align: left; padding: 10px 4px; cursor: pointer;
}

.guideline-head span {
  font-family: var(--font-ui);
  color: var(--coral); font-weight: 800; width: 32px; font-size: 14px;
}

.guideline-head h3 {
  font-family: var(--font-ui);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700; flex: 1;
}

.guideline-head i {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(59,91,219,0.3);
  color: var(--indigo);
  transition: transform 0.25s ease, background 0.25s ease;
}

.guideline-item.active .guideline-head i {
  transform: rotate(45deg);
  background: rgba(59,91,219,0.1);
}

.guideline-body {
  display: none; color: var(--text-mid);
  padding: 6px 4px 16px 40px;
}

.guideline-body ul { padding-left: 18px; }
.guideline-item.active .guideline-body { display: block; }

/* ── Committee ── */
.committee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.committee-col { padding: 28px; }

.committee-col h2 {
  font-family: var(--font-ui);
  background: var(--grad-indigo);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center; margin-bottom: 18px;
  font-size: 20px; letter-spacing: 2.5px; text-transform: uppercase;
}

.person {
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,245,255,0.7));
  border: 1px solid rgba(59,91,219,0.12);
  border-radius: 12px; padding: 16px;
  font-weight: 600; margin-bottom: 12px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(59,91,219,0.04);
}

.person:hover {
  border-color: rgba(59,91,219,0.35);
  box-shadow: 0 6px 20px rgba(59,91,219,0.1);
  transform: translateY(-2px);
}

.person small {
  display: block; color: var(--muted);
  font-size: 12px; margin-top: 4px; font-weight: 400;
}

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.person.simple { margin: 0; text-align: center; }

/* ── Winners ── */
.winners {
  background: linear-gradient(180deg, rgba(240,245,255,0.7), rgba(255,248,240,0.8));
  border-top: 1px solid rgba(59,91,219,0.1);
  border-bottom: 1px solid rgba(59,91,219,0.1);
}

.center { text-align: center; }

.section-title.center {
  font-family: var(--font-display);
  background: var(--grad-coral);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.winner-item {
  appearance: none; -webkit-appearance: none; font: inherit;
  margin: 12px auto;
  width: min(920px, 100%);
  border: 1px solid rgba(59,91,219,0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(235,240,255,0.75));
  padding: 16px 22px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--indigo);
  font-family: var(--font-ui); font-weight: 700;
  font-size: 13px; letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(59,91,219,0.06);
}

.winner-item:hover {
  border-color: rgba(59,91,219,0.45);
  box-shadow: 0 8px 28px rgba(59,91,219,0.12);
  color: var(--teal);
  transform: translateX(3px);
}

.winner-item i { transition: transform 0.3s ease; }
.winner-item:hover i { transform: rotate(90deg); }

/* ── Gallery ── */
.gallery-wrap { text-align: center; }
.gallery-sub { margin-top: -6px; margin-bottom: 20px; color: var(--muted); font-size: 18px; }

.carousel {
  position: relative; align-items: center;
  display: flex; justify-content: center;
  border-radius: 20px; overflow: hidden;
  width: min(820px, 100%); margin: 0 auto;
  min-height: 280px;
  border: 1px solid rgba(59,91,219,0.2);
  box-shadow: 0 12px 48px rgba(59,91,219,0.1), 0 0 0 1px rgba(255,255,255,0.7) inset;
}

.carousel img {
  width: 100%; max-height: 420px;
  height: auto; object-fit: contain; display: block;
  background: #f6f8fb;
  transition: transform 0.6s ease;
}

.carousel:hover img { transform: scale(1.02); }

.slide-btn {
  position: absolute;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(59,91,219,0.25);
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  font-size: 16px; cursor: pointer; z-index: 10;
  box-shadow: 0 4px 20px rgba(59,91,219,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}

.slide-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(59,91,219,0.45);
}

#prevSlide { left: 18px; }
#nextSlide { right: 18px; }

.more-btn {
  margin-top: 24px; padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(247,103,7,0.3);
  background: linear-gradient(135deg, var(--coral), var(--amber-light));
  color: #fff;
  font-family: var(--font-ui); font-weight: 800;
  font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer;
  box-shadow: 0 4px 20px rgba(247,103,7,0.25);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.more-btn a { color: #fff; }

.more-btn:hover {
  box-shadow: 0 8px 32px rgba(247,103,7,0.4);
  transform: translateY(-2px);
}

/* ── Footer ── */
.footer {
  margin-top: 60px; padding-top: 44px;
  border-top: 1px solid rgba(59,91,219,0.12);
  background: linear-gradient(180deg, rgba(240,245,255,0.96), rgba(235,242,255,0.99));
  position: relative; z-index: 2;
}

.footer-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px;
}

.socials { display: flex; gap: 12px; margin-bottom: 16px; }

.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59,91,219,0.1), rgba(12,133,153,0.08));
  border: 1px solid rgba(59,91,219,0.2);
  color: var(--indigo);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,91,219,0.25);
  color: var(--teal);
}

.footer p { color: var(--muted); }

.contact-list { display: flex; flex-direction: column; gap: 10px; }

.contact-item {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(240,245,255,0.7));
  border: 1px solid rgba(59,91,219,0.12);
  border-radius: 12px; padding: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  border-color: rgba(59,91,219,0.35);
  box-shadow: 0 4px 16px rgba(59,91,219,0.08);
}

.contact-item i { color: var(--indigo); }

.copyright {
  width: min(1180px, 92%); margin: 24px auto 0;
  text-align: center; padding: 16px 0 28px;
  border-top: 1px solid rgba(59,91,219,0.08);
  color: var(--muted); font-size: 14px;
}

/* ── Scroll reveal ── */
.reveal-on-scroll {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ── Winner accordion content ── */
.winner-accordion { margin-bottom: 15px; }

.winner-content {
  display: none;
  background: rgba(240,245,255,0.8);
  border: 1px solid rgba(59,91,219,0.15);
  border-top: none; border-radius: 0 0 12px 12px;
  padding: 20px; backdrop-filter: blur(10px);
}

.winner-item.active + .winner-content { display: block; }

/* ── Tables ── */
.table-responsive { width: 100%; overflow-x: auto; }

.winners-table {
  width: 100%; border-collapse: collapse;
  text-align: left; min-width: 600px;
}

.winners-table th, .winners-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(59,91,219,0.1);
}

.winners-table th {
  font-weight: 700; color: var(--indigo);
  font-family: var(--font-ui);
  font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: 1px;
}

.winners-table tbody tr:hover { background-color: rgba(59,91,219,0.04); }
.winners-table td:first-child { font-weight: 700; color: var(--coral); }

/* ── Images / logo ── */
.location-icon { width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; }

.logo { width: 180px; height: 100px; margin-right: 1px; margin-left: 1px; vertical-align: middle; }

/* ── Video container ── */
.video-container { position: absolute; inset: 0; }
.video-container video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* ── Modal ── */
.modal {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(59, 91, 219, 0.12);
  backdrop-filter: blur(12px) saturate(150%);
  z-index: 100; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s ease; overflow-y: auto;
}

.modal.active { display: flex; opacity: 1; }

.modal-content {
  position: relative; width: min(580px, 92%);
  max-height: 90vh; overflow-y: auto;
  padding: 44px 40px; border-radius: 24px;
  border: 1px solid rgba(59,91,219,0.2);
  background: linear-gradient(155deg, rgba(255,255,255,0.98), rgba(240,247,255,0.96));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.9) inset,
    0 32px 80px rgba(59,91,219,0.15);
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border: none;
  background: rgba(59,91,219,0.08);
  border: 1px solid rgba(59,91,219,0.25);
  border-radius: 50%; color: var(--indigo);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; z-index: 101;
}

.modal-close:hover {
  background: rgba(59,91,219,0.15);
  border-color: rgba(59,91,219,0.5);
  transform: rotate(90deg);
  box-shadow: 0 0 16px rgba(59,91,219,0.25);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 900;
  background: var(--grad-indigo);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px; letter-spacing: 0.5px;
}

.modal-subtitle {
  color: var(--muted); font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 28px; font-family: var(--font-ui);
}

.registration-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: var(--font-ui); font-size: 12px;
  font-weight: 700; letter-spacing: 1.2px;
  color: var(--text-mid); text-transform: uppercase;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid rgba(59,91,219,0.2);
  border-radius: 12px;
  background: rgba(240,245,255,0.6);
  color: var(--text); font-family: inherit; font-size: 14px;
  transition: all 0.25s ease;
}

.form-group input::placeholder { color: rgba(26,26,46,0.38); }

.form-group input:focus {
  outline: none;
  border-color: rgba(59,91,219,0.55);
  background: rgba(240,245,255,0.9);
  box-shadow: 0 0 0 3px rgba(59,91,219,0.1), 0 2px 12px rgba(59,91,219,0.1);
}

.submit-btn {
  margin-top: 12px; padding: 14px 28px;
  border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--teal) 100%);
  color: #fff;
  font-family: var(--font-ui); font-weight: 800;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(59,91,219,0.35);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  box-shadow: 0 8px 36px rgba(59,91,219,0.5);
  transform: translateY(-2px);
}

.submit-btn:active { transform: translateY(0); }

/* Scrollbar */
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: rgba(59,91,219,0.05); border-radius: 10px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(59,91,219,0.25); border-radius: 10px; }
.modal-content::-webkit-scrollbar-thumb:hover { background: rgba(59,91,219,0.5); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid, .committee-grid, .guideline-list,
  .chip-row, .highlights-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .guideline-head h3 { font-size: 20px; }
}

@media (max-width: 760px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-wrap { position: relative; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,248,245,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 16px 20px;
    display: none;
    border-bottom: 1px solid rgba(59,91,219,0.15);
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .hero-card, .about-box, .committee-col { padding: 22px; }
  .mini-grid { grid-template-columns: 1fr; }
  .carousel img { height: 280px; }
  .modal-content { width: 95%; padding: 28px 22px; }
  .modal-title { font-size: 26px; }
  .registration-form { gap: 14px; }
}