html {
  scroll-behavior: smooth;
}

:root {
  --dark: #16141c;
  --accent: #a1bca9;
  --text-light: #e9eceb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
}

/* Header */
/* Header Container */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(22, 20, 28, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

/* Nav groups */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav-left {
  justify-content: center;
}

.nav-right {
  justify-content: center;
}

/* Nav links */
.header nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.3px;
  position: relative;
}

.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.header nav a:hover::after {
  width: 100%;
}

/* Center Logo */
.logo-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  background: #1c1a23;
  border-radius: 16px; /* square with rounded corners */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Premium animated border glow */
.logo-wrap {
  position: relative;
  overflow: hidden; /* IMPORTANT for rounded corners */
}

/* glowing line */
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 300deg,
    rgba(161, 188, 169, 0.9) 330deg,
    transparent 360deg
  );
  animation: spinGlow 7s linear infinite;
  z-index: 0;
  filter: blur(1px);
}

/* mask to keep glow only on border */
.logo-wrap::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #1c1a23;
  border-radius: 14px;
  z-index: 1;
}

.logo-wrap:hover::before {
  animation-play-state: paused;
}

/* logo stays above */
.logo-wrap img {
  position: relative;
  z-index: 2;
}

.logo-wrap {
  transition: transform 0.1s ease;
  will-change: transform;
}


/* animation */
@keyframes spinGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.logo-wrap img {
  width: 140px;
  height: auto;
  object-fit: contain;
}


.logo {
  font-size: 22px;
  font-weight: 700;
}

/* Make logo clickable without affecting visuals */
.logo-link {
  display: flex;
  justify-content: center;
  text-decoration: none;
}

/* Cursor feedback */
.logo-wrap {
  cursor: pointer;
}


.logo img {
  height: 150px;
}

/* ------------------------------
  Responsive header fixes
  - mobile controls hidden by default
  - mobile panel & backdrop hidden by default
  - ≤902px: inline mobile nav (links on right)
  - ≤640px: center logo, hamburger on right (absolute),
           slide-in mobile panel + backdrop
  Theme: bg ~ #16141c, accent ~ #a1bca9
  ------------------------------ */

/* Ensure mobile elements are hidden by default (avoid leaking to desktop) */
.mobile-inline-nav,
.mobile-controls,
.mobile-nav,
.mobile-backdrop {
  display: none;
}

/* small logo variant (kept but only used if needed) */
.logo-wrap.logo-small { width: 56px; height: 56px; border-radius: 12px; }
.logo-wrap.logo-small img { width: 46px; height: auto; }

/* ===== breakpoint <= 902px: inline mobile nav (logo left, links right) ===== */
@media (max-width: 902px) {
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
    height: 72px;
  }

  /* hide desktop left/right navs */
  .nav-left, .nav-right { display: none; }

  /* show inline mobile nav (links on the right) */
  .mobile-inline-nav {
    display: flex;
    margin-left: auto;
    gap: 18px;
    align-items: center;
  }

  /* ensure center logo flows normally in this range */
  .logo-link {
    order: 0;
    position: static;
    transform: none;
    margin: 0;
  }

  /* hide hamburger controls in this range */
  .mobile-controls { display: none; }

  /* inline link styles */
  .mobile-inline-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.2px;
    position: relative;
  }
  .mobile-inline-nav a::after {
    content: "";
    position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .24s;
  }
  .mobile-inline-nav a:hover::after { width: 100%; }
}

/* ===== breakpoint <= 640px: hamburger shows, center logo returns ===== */
@media (max-width: 640px) {
  /* hide inline and desktop navs */
  .mobile-inline-nav { display: none; }
  .nav-left, .nav-right { display: none; }

  /* Show mobile controls block (we'll only display the hamburger visually) */
  .mobile-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1202; /* above header content */
    background: transparent;
  }

  /* Hide the mobile-logo inside mobile-controls (we'll use the centered logo instead) */
  .mobile-controls .mobile-logo { display: none; }

  /* Center the main logo visually */
  .logo-link {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1203; /* sit above backdrop */
    text-decoration: none;
  }

  /* Scale the logo a bit smaller on smallest screens */
  .logo-wrap {
    width: 85px;
    height: 85px;
    border-radius: 12px;
  }
  .logo-wrap img {
    width: 79px;
    height: auto;
    object-fit: contain;
  }

  /* Hamburger (three-span) */
  .hamburger {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 44px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1204; /* above backdrop/nav */
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .18s ease;
    position: relative;
  }
  .hamburger span + span { margin-top: 6px; }
  .hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.6); }
  .hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Mobile nav panel (slide from right) - visible only in small screens */
  .mobile-nav {
    display: block; /* override default hidden */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 82%;
    max-width: 360px;
    background: #16141c;
    color: var(--text-light);
    box-shadow: -12px 0 34px rgba(0,0,0,0.6);
    transform: translateX(100%);
    transition: transform .36s cubic-bezier(.22,.98,.26,1);
    z-index: 1200;
    display: flex;
    align-items: center;
    padding: 60px 22px;
  }
  .mobile-nav.open { transform: translateX(0); }

  .mobile-nav-inner {
    width:100%;
    display:flex;
    flex-direction:column;
    gap:18px;
  }
  .mobile-nav-inner a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    opacity: 0;
    transform: translateX(8px);
    transition: transform .36s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
    padding: 8px 6px;
    border-radius: 8px;
  }
  .mobile-nav.open .mobile-nav-inner a { opacity: 1; transform: translateX(0); }
  .mobile-nav.open .mobile-nav-inner a:nth-child(1) { transition-delay: .04s; }
  .mobile-nav.open .mobile-nav-inner a:nth-child(2) { transition-delay: .08s; }
  .mobile-nav.open .mobile-nav-inner a:nth-child(3) { transition-delay: .12s; }
  .mobile-nav.open .mobile-nav-inner a:nth-child(4) { transition-delay: .16s; }
  .mobile-nav.open .mobile-nav-inner a:nth-child(5) { transition-delay: .20s; }
  .mobile-nav.open .mobile-nav-inner a:nth-child(6) { transition-delay: .24s; }

  .mobile-nav-inner a:focus,
  .mobile-nav-inner a:hover {
    background: rgba(161,188,169,0.06);
    color: #a1bca9;
    outline: none;
  }

  /* Backdrop: visible only in small screens when toggled */
  .mobile-backdrop {
    display: block; /* override default hidden */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
    z-index: 1199;
  }
  .mobile-backdrop.visible { opacity: 1; pointer-events: auto; }
}

/* Keep focus visible for keyboard users */
.mobile-nav-inner a:focus { box-shadow: 0 0 0 3px rgba(161,188,169,0.12); }

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366; /* WhatsApp green */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 33px;
  height: 33px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background: radial-gradient(circle at top, #1f1c27, var(--dark));
}



.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #cfd8d2;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--accent);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--dark);
}

.btn.secondary {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(161, 188, 169, 0.6);
  backdrop-filter: blur(6px);
  padding: 14px 32px;
}

.btn.secondary:hover {
  background: rgba(161, 188, 169, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(161, 188, 169, 0.25);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(161, 188, 169, 0.4);
}

@media (max-width: 619px) {
  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 513px) {
  .hero-actions {
    font-size: 13px;
  }
}

@media (max-width: 483px) {

  .hero {
    padding: 0 30px;
  }

  .hero-actions {
    flex-direction: column;
  }

  /* initial hidden state */
  .hero-actions .btn {
    opacity: 0;
    transform: translateY(18px);
    animation: heroBtnIn 0.7s cubic-bezier(.2,.9,.2,1) forwards;
  }

  /* staggered entrance */
  .hero-actions .btn:nth-child(1) { animation-delay: .25s; }
  .hero-actions .btn:nth-child(2) { animation-delay: .45s; }

/* smooth float-up animation */
@keyframes heroBtnIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

}





/* Sections */
.section {
  padding: 120px 60px;
  text-align: center;
}

@media (max-width: 570px) {
  .section {
    padding: 80px 30px;
  }
}

@media (max-width: 475px) {
  .section {
    padding: 50px 15px;
  }
}


.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.section p {
  max-width: 700px;
  margin: auto;
  color: #cfd8d2;
}

.alt {
  background: #1c1a23;
}

/* Cards */
.cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(161, 188, 169, 0.15);
  border-radius: 16px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(161, 188, 169, 0.08);
}

/* Sports section specific */
.sports-section { padding-top: 150px; } /* offset for fixed header */

/* card grid tweaks */
.neon-cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: start;
}

/* card base */
.sport-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border: 1px solid rgba(161,188,169,0.08);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: transform 0.36s cubic-bezier(.22,1,.36,1), box-shadow 0.36s ease;
  position: relative;
  overflow: visible;
  min-height: 320px;
}

/* uplift + glow on hover/active view */
.sport-card:hover,
.sport-card.play {
  transform: translateY(-10px);
  box-shadow: 0 18px 50px rgba(10,14,12,0.35);
  border-color: rgba(161,188,169,0.18);
}

/* animation area */
.anim-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* neon glow effect */
.neon-group * {
  filter: drop-shadow(0 0 6px rgba(161,188,169,0.28));
}

.anim-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sport-icon {
  width: 120px;
  height: auto;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px rgba(161,188,169,0.35))
    drop-shadow(0 0 18px rgba(161,188,169,0.18));
}


/* headings / desc / buttons */
.sport-card h3 { font-size: 20px; margin: 8px 0; color: var(--text-light); }
.sport-card .desc { font-size: 13.5px; color: #cfd8d2; margin-bottom: 14px; max-width: 92%; margin-left: auto; margin-right: auto; }

.actions { display:flex; gap:10px; justify-content:center; align-items:center; }
.btn.small { padding: 9px 14px; border-radius: 10px; font-size: 13px; }

@media (max-width: 530px) {
  .actions {
    z-index: 100;
    margin-bottom: 150px;
  }
}

/* small responsive tweak */
@media (max-width: 800px) {
  .anim-wrap { height: 120px; }
  .sport-card { min-height: 300px; padding: 16px; }
  .neon-cards { gap: 100px; }
}

/* Flip card: 3D container */
.sport-card {
  perspective: 1200px; /* allows nice 3D */
}

/* inner flipping element */
.sport-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .72s cubic-bezier(.2,.9,.25,1);
  transform-style: preserve-3d;
}

/* flipping state */
.sport-card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* front & back faces */
.sport-card .card-front,
.sport-card .card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* keep your existing front look by inheriting base card styles */
.sport-card .card-front {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  color: var(--text-light);
  z-index: 2;
}

/* back styling */
.sport-card .card-back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, rgba(22,20,28,0.96), rgba(16,14,18,0.98));
  color: #dbe9df;
  border: 1px solid rgba(161,188,169,0.06);
  text-align: left;
  padding: 22px;
  gap: 10px;
}

/* make sure text doesn't overflow card */
.sport-card .card-back h3 { margin-top: 6px; margin-bottom: 8px; color: var(--accent); }
.sport-card .card-back p { color: #cfd8d2; font-size: 14px; line-height: 1.45; }

/* close button on the back */
.sport-card .close-card {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  padding: 6px;
  border-radius: 8px;
  transition: background .18s ease, transform .12s ease;
}
.sport-card .close-card:hover { background: rgba(255,255,255,0.02); transform: translateY(-2px); }

/* make sure actions inside back are centered horizontally */
.sport-card .card-back .actions { justify-content: flex-start; margin-top: 12px; }

/* subtle shadow shift when flipped */
.sport-card.flipped { box-shadow: 0 22px 60px rgba(0,0,0,0.55); }

/* ensure consistent height for flipping */
.sport-card { min-height: 320px; }

/* mobile tweak: smaller transform/ faster */
@media (max-width: 800px) {
  .sport-card .card-inner { transition: transform .6s cubic-bezier(.2,.9,.25,1); }
}

/* ---------- Price pill inside card ---------- */
.sport-card .price {
  display: inline-block;
  margin: 10px 0 14px;
  padding: 8px 12px;
  background: rgba(161,188,169,0.12);
  color: var(--accent);
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(161,188,169,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.32);
  font-size: 14px;
}

/* ---------- Scroll fade-in animation for cards ---------- */
.sport-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .62s cubic-bezier(.2,.9,.2,1), transform .62s cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

/* when visible */
.sport-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger for nicer entrance when multiple cards appear at once */
.neon-cards .sport-card:nth-child(1).in-view { transition-delay: 0s; }
.neon-cards .sport-card:nth-child(2).in-view { transition-delay: .04s; }
.neon-cards .sport-card:nth-child(3).in-view { transition-delay: .08s; }
.neon-cards .sport-card:nth-child(4).in-view { transition-delay: .12s; }

/* ---------- Modal styles ---------- */
.sport-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,8,0.6);
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.sport-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.sport-modal-dialog {
  width: 92%;
  max-width: 740px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(16,14,18,0.98));
  border-radius: 14px;
  padding: 26px 26px 22px 26px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.66);
  border: 1px solid rgba(161,188,169,0.06);
  color: var(--text-light);
  position: relative;
  transform: translateY(8px);
  transition: transform .22s cubic-bezier(.2,.9,.2,1);
}

/* slight lift when open */
.sport-modal.open .sport-modal-dialog { transform: translateY(0); }

/* modal title */
.sport-modal-title {
  margin: 4px 0 12px;
  font-size: 20px;
  color: var(--accent);
  font-weight: 800;
}

/* body */
.sport-modal-body {
  color: #dfe8e2;
  font-size: 15px;
  line-height: 1.55;
  max-height: 60vh;
  overflow: auto;
  padding-right: 6px;
}

/* style list inside modal */
.sport-modal-body ul {
  margin: 0;
  text-align: left;
  padding-left: 18px;
}

.sport-modal-body li {
  margin: 10px 0;
  color: #dfe8e2;
  font-size: 15px;
}

/* modal actions */
.sport-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

/* red circular close inside the modal (top-right) */
.sport-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #FE6363;   /* brand red per your palette */
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(254,99,99,0.18);
  z-index: 5;
}

/* small screens tweaks */
@media (max-width: 600px) {
  .sport-modal-dialog { padding: 18px 16px; border-radius: 12px; }
  .sport-modal-title { font-size: 18px; }
  .sport-modal-body { font-size: 14px; max-height: 64vh; }
}

/* make sure hidden templates are visually hidden but available to screen readers if needed */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ensure modal register button looks like your card Register buttons */
.sport-modal .btn.primary { padding: 10px 18px; border-radius: 10px; }


/* Form */
.form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form input,
.form textarea {
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #1f1c27;
  color: var(--text-light);
}

.form button {
  padding: 14px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  background: #121016;
  color: #9da9a2;
}

/* Separator above footer */
.footer-sep {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  margin: 40px 0 0;
}

/* Main footer wrapper */
.junoonfest-footer {
  padding: 48px 32px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  border-top: 1px solid rgba(255,255,255,0.03);
}

/* Inner grid */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columns */
.footer-col { color: var(--dx-light); }

.footer-left .footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}

/* Contact under logo */
.footer-contact h4 {
  font-size: 13px;
  color: var(--dx-accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-left .footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}

/* Footer logo safe sizing (scoped only to footer) */
.junoonfest-footer .footer-logo img {
  width: 180px;          /* perfect desktop size */
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(97,194,162,0.25));
}

/* Tablet */
@media (max-width: 1000px) {
  .junoonfest-footer .footer-logo img {
    width: 160px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .junoonfest-footer .footer-logo img {
    width: 140px;
  }
}


.footer-contact address { font-style: normal; color: var(--dx-muted); font-size: 14px; line-height: 1.6; }
.footer-contact .contact-row a { color: #a1bca9; text-decoration: none; transition: color .18s; }
.footer-contact .contact-row a:hover { color: #E1F2E7; }

/* CENTER - quick links */
.footer-center h4 { display: none; } /* hidden heading above for accessibility if needed */
.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin: 10px 0;
  opacity: 0;
  transform: translateX(-24px);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), opacity .45s ease;
}

/* stagger delays */
.quick-links.in-view ul li:nth-child(1){ transition-delay: 0.04s; }
.quick-links.in-view ul li:nth-child(2){ transition-delay: 0.08s; }
.quick-links.in-view ul li:nth-child(3){ transition-delay: 0.12s; }
.quick-links.in-view ul li:nth-child(4){ transition-delay: 0.16s; }
.quick-links.in-view ul li:nth-child(5){ transition-delay: 0.20s; }
.quick-links.in-view ul li:nth-child(6){ transition-delay: 0.24s; }
.quick-links.in-view ul li:nth-child(7){ transition-delay: 0.28s; }

/* When area becomes visible, slide them in */
.quick-links.in-view ul li {
  opacity: 1;
  transform: translateX(0);
}

/* link look */
.quick-links ul li a {
  color: var(--dx-light);
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  padding: 6px 0;
  transition: color .18s, transform .18s;
}

.quick-links ul li a:hover {
  color: #E1F2E7;
  transform: translateX(6px);
}

/* RIGHT - socials */
.footer-right h4 {
  font-size: 13px;
  color: var(--dx-accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-self: center;
}

.social {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  color: var(--dx-light);
  text-decoration: none;
  transition: background .18s, color .18s, transform .12s;
}

.social svg { display:block; width:20px; height:20px; }

.social:hover {
  color: var(--dx-bg);
  transform: translateY(-3px);
}

/* Footer bottom row */
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.03);
  text-align: center;
  color: var(--dx-muted);
  font-size: 13px;
}

/* small accessibility helper */
.visually-hidden { position: absolute !important; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Responsive */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-right { order: 3; grid-column: 1 / -1; margin-top: 18px; }
  .footer-bottom { margin-top: 20px; }
}

@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 0 12px; }
  .footer-right { grid-column: 1 / -1; }
  .footer-contact address { font-size: 15px; }
  .footer-contact, .footer-right, .footer-left { text-align: left; }
  .socials { justify-content: flex-start; }
}

.social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter .2s ease;
}

.social:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(97,194,162,.6));
}

/* Make contact info more readable */
.footer-contact address {
  font-size: 15.5px;       /* was 14px */
  line-height: 1.8;
  letter-spacing: 0.2px;
}

.footer-contact .contact-row {
  margin-bottom: 6px;
}

/* Phone & email a bit bolder */
.footer-contact .contact-row a {
  font-weight: 500;
}

/* Mobile polish */
@media (max-width: 680px) {
  .footer-contact address {
    font-size: 16px;
  }
}

/* Registrations section scoped styles */
.registrations-page .registrations-wrap { margin: 0 auto; width:100%; padding: 18px 50px; display:grid; gap:28px; }
.registrations-page .note { color: rgba(233,236,235,0.62); font-size:13px; margin-top:6px; }

/* cards */
.registrations-page .cards { display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
@media (max-width:900px) { .registrations-page .cards { grid-template-columns: 1fr; } }

@media (max-width: 570px) {
  .registrations-page .registrations-wrap {
    padding: 10px 5px;
  }
}

/* single card */
.registrations-page .event-card {
  background: rgba(255,255,255,0.02);
  color: var(--text-light);
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  border-left: 6px solid rgba(161,188,169,0.06);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  transition: transform .26s ease, box-shadow .26s ease;
}

@media (max-width: 570px) {
  .registrations-page .event-card {
    padding: 10px 2px;
  }
}

.registrations-page .event-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,0.6); border-left-color: var(--accent); }
.registrations-page .event-card h3 { margin:0; font-size:1.4rem; letter-spacing:-0.2px; color:var(--text-light); }
.registrations-page .event-card p { margin:0; margin-top:10px; color: #cfd8d2; line-height:1.45; font-size:0.98rem; }

/* buttons inside cards */
.registrations-page .row-buttons { display:flex; gap:10px; align-items:center; margin-top:12px; }
.registrations-page .btn-register {
  background: linear-gradient(180deg,var(--accent), rgba(161,188,169,0.86));
  color: #07121a;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor:pointer;
  font-weight:700;
  box-shadow: 0 8px 22px rgba(25,40,30,0.18);
}
.registrations-page .btn-outlined {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.06);
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}
.registrations-page .btn-register:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(25,40,30,0.22); }
.registrations-page .btn-outlined:hover { transform: translateY(-2px); }

/* forms */
.registrations-page .forms { display:grid; gap:18px; margin-top:6px; }
.registrations-page .hidden { display:none !important; }
.registrations-page .form-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  overflow: hidden;
  transition: transform .32s ease, opacity .3s ease;
}
.forms option {
  color: #16141c;
}
.registrations-page .form-panel.active { display:block; animation: pop 320ms ease; border-left:6px solid var(--accent); }
@keyframes pop { from{ transform: translateY(8px); opacity:0 } to{ transform:translateY(0); opacity:1 } }

/* form layout */
.registrations-page .form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-bottom:12px; }
.registrations-page .form-grid.full { grid-template-columns: 1fr; }
@media (max-width:900px) { .registrations-page .form-grid { grid-template-columns: 1fr; } }

.registrations-page label { display:block; font-size:13px; color:var(--text-light); margin-bottom:6px; font-weight:600; }
.registrations-page .input, .registrations-page select, .registrations-page textarea {
  width:100%; padding:10px 12px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color:var(--text-light);
  font-size:14px; outline:none; transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease;
}
.registrations-page .input:focus, .registrations-page select:focus, .registrations-page textarea:focus {
  box-shadow: 0 8px 20px rgba(161,188,169,0.10); border-color: var(--accent); transform:translateY(-2px);
}

/* form footer buttons */
.registrations-page .form-footer { display:flex; gap:10px; align-items:center; margin-top:6px; }
.registrations-page .btn-submit {
  background: var(--accent); color: #07121a; padding:10px 14px; border-radius:9px; border:none; cursor:pointer; font-weight:700;
  box-shadow: 0 10px 28px rgba(161,188,169,0.12);
}
.registrations-page .btn-close {
  background: transparent; color: var(--text-light); border:1px solid rgba(255,255,255,0.06); padding:8px 12px; border-radius:8px; cursor:pointer;
}

/* popup */
.registrations-page .popup { position: fixed; left:50%; top:24px; transform:translateX(-50%); background: rgba(10,10,10,0.95); color:white; padding:12px 18px; border-radius:10px; z-index:9999; box-shadow:0 10px 30px rgba(0,0,0,0.6); font-weight:600; }

/* small helpers */
.registrations-page .note { color: rgba(233,236,235,0.6); font-size:13px; }
.registrations-page .small-help { font-size:12px; color: rgba(255,255,255,0.45); margin-top:-8px; margin-bottom:8px; }

/* =========================
   Schedule Section Styling
   ========================= */

.schedule-section {
  background: linear-gradient(180deg, #16141c, #1c1a23);
}

.schedule-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

/* Text side */
.schedule-info h2 {
  font-size: 36px;
  margin-bottom: 26px;
}

.schedule-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.meta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(161,188,169,0.14);
  padding: 14px 18px;
  border-radius: 14px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.meta-label {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a1bca9;
  margin-bottom: 4px;
}

.meta-value {
  font-size: 15px;
  color: #e7efe9;
  font-weight: 600;
}

/* Venue text */
.venue-details h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--accent);
}

.venue-details p {
  color: #cfd8d2;
  line-height: 1.6;
  font-size: 15px;
}

/* Map */
.schedule-map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(161,188,169,0.12);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
}

.schedule-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(105%);
}

/* =========================
   Scroll Animations
   ========================= */

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.9,.2,1),
              transform .7s cubic-bezier(.2,.9,.2,1);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .schedule-container {
    grid-template-columns: 1fr;
  }

  .schedule-map iframe {
    height: 320px;
  }
}

@media (max-width: 500px) {
  .schedule-info h2 {
    font-size: 28px;
  }

  .meta-card {
    width: 100%;
  }

  .schedule-map iframe {
    height: 280px;
  }
}


.typewriter-box {
  margin-top: 30px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: #b8ffd6;
  letter-spacing: 1px;
  min-height: 28px;
  text-shadow: 0 0 12px rgba(161,188,169,0.4);
}

.cursor {
  display: inline-block;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

.contact-hero {
  padding: 140px 20px 80px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 42px;
  color: #fff;
}

.contact-hero p {
  color: #a1bca9;
  margin-top: 12px;
}

.contact-section {
  padding: 60px 8%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(161,188,169,0.15);
  border-radius: 20px;
  padding: 40px;
}

.info-row {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  align-items: center;
  color: #dfe8e2;
}

.socials {
  margin-top: 30px;
}

.socials a {
  margin-right: 16px;
  color: #a1bca9;
  text-decoration: none;
}

.contact-form {
  background: rgba(22,20,28,0.85);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(161,188,169,0.15);
}

.input-group {
  margin-bottom: 18px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #16141c;
  color: #fff;
  outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
  box-shadow: 0 0 0 1px #a1bca9;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.flip-card {
  perspective: 1200px;
}

.flip-inner {
  position: relative;
  width: 100%;
  min-height: 190px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  padding: 22px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-back {
  transform: rotateY(180deg);
}

.volunteers-section {
  padding: 120px 20px;
  background: radial-gradient(circle at top, #1d1b24, #16141c);
  text-align: center;
}

.neon-title {
  font-size: 42px;
  color: #a1bca9;
  letter-spacing: 1px;
  text-shadow: 0 0 22px rgba(161,188,169,.45);
}

.volunteers-sub {
  color: #9da5a0;
  max-width: 600px;
  margin: 16px auto 50px;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 28px;
  max-width: 1100px;
  margin: auto;
}

.volunteer-card, .volunteer-form-card {
  background: rgba(161,188,169,.04);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(161,188,169,.25);
  box-shadow: 0 0 40px rgba(161,188,169,.12);
  transition: .45s ease;
}

.volunteer-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 0 55px rgba(161,188,169,.35);
}

.volunteer-card h3,
.volunteer-form-card h3 {
  color: #a1bca9;
  margin-bottom: 10px;
}

.volunteer-card p {
  color: #b7c3bc;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(161,188,169,.08);
  border: 1px solid rgba(161,188,169,.3);
  color: #e9f3ee;
  outline: none;
}

.volunteer-form input::placeholder,
.volunteer-form textarea::placeholder {
  color: #aab8b0;
}

.volunteer-form select option {
  color: #16141c;
}

.volunteer-form button {
  background: linear-gradient(135deg, #a1bca9, #cfe0d5);
  color: #16141c;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 0 20px rgba(161,188,169,.45);
  transition: .3s ease;
}

.volunteer-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(161,188,169,.7);
}

.apply-btn {
  margin-top: 14px;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1px solid #a1bca9;
  background: transparent;
  color: #a1bca9;
  cursor: pointer;
  transition: .3s;
}

.apply-btn:hover {
  background: #a1bca9;
  color: #16141c;
  box-shadow: 0 0 22px rgba(161,188,169,.7);
}

.volunteer-modal {
  position: fixed;
  inset: 0;
  background: rgba(10,10,14,.75);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: .4s ease;
  z-index: 9999;
}

.volunteer-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.volunteer-form-box {
  background: rgba(161,188,169,.06);
  border: 1px solid rgba(161,188,169,.35);
  padding: 34px;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 0 60px rgba(161,188,169,.3);
  position: relative;
  animation: pop .4s ease;
}

.close-volunteer {
  position: absolute;
  top: 16px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
  color: #a1bca9;
}

.volunteers-page{
background:#16141c;
padding:120px 20px;
}
.volunteers-header h1{
color:#a1bca9;
text-align:center;
font-size:42px;
}
.volunteers-header p{
color:#9fb8ad;
text-align:center;
margin-bottom:50px;
}

.volunteer-cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
max-width:1100px;
margin:auto;
}

.volunteer-card{
background:rgba(161,188,169,.05);
border:1px solid rgba(161,188,169,.25);
border-radius:22px;
padding:30px;
box-shadow:0 0 35px rgba(161,188,169,.12);
}

.volunteer-card h3{color:#a1bca9}
.volunteer-card p{color:#b7c3bc}

.volunteer-apply{
margin-top:16px;
background:linear-gradient(135deg,#a1bca9,#d7e5db);
border:none;
padding:12px 22px;
border-radius:30px;
font-weight:700;
cursor:pointer;
box-shadow:0 0 25px rgba(161,188,169,.4);
}

.volunteer-form-panel{
max-width:820px;
margin:60px auto 0;
background:rgba(161,188,169,.04);
border:1px solid rgba(161,188,169,.25);
border-radius:22px;
padding:35px;
box-shadow:0 0 40px rgba(161,188,169,.25);
}

.volunteer-form-panel h3{color:#a1bca9}

.volunteer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:18px;
margin-top:20px;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea{
background:rgba(161,188,169,.08);
border:1px solid rgba(161,188,169,.3);
border-radius:14px;
padding:14px;
color:#e9f3ee;
}

.volunteer-form-actions{
display:flex;
gap:12px;
margin-top:18px;
}

.volunteer-submit{
background:#a1bca9;
border:none;
padding:14px 22px;
border-radius:30px;
font-weight:700;
}

.volunteer-close{
background:transparent;
border:1px solid #a1bca9;
color:#a1bca9;
padding:14px 22px;
border-radius:30px;
cursor:pointer;
}

.hidden{
display:none !important;
}

.junoon-cta {
  padding: 90px 20px;
  text-align: center;
  background: radial-gradient(
    circle at top,
    rgba(161, 188, 169, 0.12),
    transparent 60%
  );
}

.junoon-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  min-height: 1.3em;
  color: #fff;
}

.junoon-highlight {
  color: #a1bca9; /* standout Junoon color */
  font-weight: 800;
}

.junoon-sub {
  max-width: 520px;
  margin: 0 auto 32px;
  color: #cfcfcf;
  font-size: 1rem;
  line-height: 1.6;
}

.junoon-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: #a1bca9;
  color: #16141c;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 rgba(161, 188, 169, 0.6);
}

.junoon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(161, 188, 169, 0.45);
}

/* Status popup */
.status-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.status-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.status-popup span {
  background: #16141c;
  color: #fff;
  padding: 20px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(161,188,169,0.35);
  animation: popupScale 0.4s ease;
}

.status-popup.success span {
  color: #a1bca9;
}

.status-popup.error span {
  color: #ff6b6b;
}

@keyframes popupScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- Sponsors Slider (Junoonfest themed) ---------- */
.junoon-sponsors { background: var(--dark); color: var(--text-light); padding-bottom: 48px; }
.junoon-sponsors .sponsors-sub { color: rgba(233,236,235,0.7); margin-bottom: 18px; }

/* wrapper & viewport */
.sponsors-wrapper {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 6px 20px 28px;
}

.sponsors-viewport {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  outline: none; /* keep focus style managed below */
}

/* track: horizontal flex list */
.sponsors-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  will-change: transform;
  transition: transform 520ms cubic-bezier(.2,.9,.2,1);
  padding: 18px;
}

/* slide sizing - JS will set exact widths; fallback: % */
.sponsor-slide {
  flex: 0 0 calc(33.333% - 13.333px);
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

/* Card visuals */
.sponsor-card {
  width: 100%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(16,14,18,0.98));
  border: 1px solid rgba(161,188,169,0.06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}

/* hover/focus effect */
.sponsor-card:hover,
.sponsor-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.6);
  border-color: rgba(161,188,169,0.14);
}

/* image */
.sponsor-media {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(161,188,169,0.03);
  border: 1px solid rgba(161,188,169,0.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.sponsor-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(161,188,169,0.12));
}

/* text */
.sponsor-body { text-align: center; margin-top: 6px; }
.sponsor-name {
  font-weight: 800;
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 6px;
}
.sponsor-role {
  font-size: 13px;
  color: rgba(233,236,235,0.65);
  letter-spacing: 0.2px;
}

/* accessibility focus ring for keyboard users */
.sponsors-viewport:focus { box-shadow: 0 0 0 4px rgba(161,188,169,0.06); border-radius: 14px; }

/* responsive breakpoints */
@media (max-width: 1000px) {
  .sponsor-slide { flex: 0 0 calc(50% - 10px); }
  .sponsor-media { width: 100px; height: 100px; }
}

@media (max-width: 560px) {
  .sponsor-slide { flex: 0 0 calc(100% - 14px); }
  .sponsors-track { padding: 14px; gap: 14px; }
  .sponsor-card { padding: 14px; border-radius: 12px; }
  .sponsor-name { font-size: 16px; }
  .sponsor-media { width: 88px; height: 88px; }
}

/* small helper: visually-hidden (if you need to add announcements) */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ================================
   Sponsors Page Grid (JunoonFest)
================================ */

.sponsors-page {
  background: var(--dark);
  color: var(--text-light);
}

.sponsors-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.sponsors-page-header {
  text-align: center;
  margin-bottom: 42px;
}

.sponsors-page-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 10px;
}

.sponsors-page-header p {
  color: rgba(233,236,235,0.7);
  max-width: 520px;
  margin: 0 auto;
}

/* Grid */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* Card */
.sponsors-grid-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(16,14,18,0.95)
  );
  border: 1px solid rgba(161,188,169,0.07);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  transition:
    transform 0.35s cubic-bezier(.22,1,.36,1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

/* Hover */
.sponsors-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
  border-color: rgba(161,188,169,0.18);
}

/* Logo */
.sponsors-grid-media {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(161,188,169,0.04);
  border: 1px solid rgba(161,188,169,0.04);
}

.sponsors-grid-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(161,188,169,0.15));
}

/* Text */
.sponsors-grid-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sponsors-grid-body span {
  font-size: 13px;
  color: rgba(233,236,235,0.65);
  letter-spacing: 0.2px;
}

/* =====================
   Responsive Breakpoints
===================== */

@media (max-width: 1100px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .sponsors-grid-card {
    padding: 22px 18px;
  }

  .sponsors-grid-media {
    width: 96px;
    height: 96px;
  }
}

