/* General styles */
:root {
  /* Charcoal -> Electric Blue palette */
  --primary-color: #00d4ff; /* electric cyan/blue accent */
  --secondary-color: #0066ff; /* deeper electric blue */
  --background-color: #0b0f14; /* near-charcoal background */
  --text-color: #e6f7ff; /* pale icy text for contrast */
  --overlay-color: rgba(2, 6, 18, 0.7);
}

/* Event Popup Styles */
.event-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-popup.detail-popup {
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
}

.event-popup .popup-content {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: all 0.3s ease;
  margin: 2rem auto;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.popup-scroll-content {
  flex: 1;
  overflow-y: auto;
  margin: 0 -10px;
  padding: 0 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(0,0,0,0.1);
}

.event-popup.stacked .popup-content {
  /* Move slightly up and dim, but keep it visible to avoid full-screen black overlay */
  transform: translateY(-20px) scale(0.98);
  opacity: 0.6;
  pointer-events: none;
}
/* When a popup is 'stacked' under another, reduce its overlay darkness so child popup remains readable */
.event-popup.stacked {
  background-color: rgba(0, 0, 0, 0.35);
}

.event-popup .close-popup, .back-button {
  position: absolute;
  top: 10px;
  width: 32px;
  height: 32px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-popup {
  right: 15px;
}

.back-button {
  left: 15px;
}

.close-popup:hover, .back-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.event-popup h3 {
  margin-top: 0;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.event-popup p {
  margin-bottom: 0;
  line-height: 1.6;
  color: var(--text-color);
}

/* Events List Styling */
.events-list {
  display: flex;
  flex-direction: column;
  max-height: calc(85vh - 120px);
  overflow-y: auto;
  margin: 0 -10px 0 0;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(0,0,0,0.1);
}

.event-item {
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.event-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-item-title {
  font-weight: 600;
  color: #0066ff;
  margin-bottom: 0.75rem;
  font-size: 1.1em;
  text-align: center;
}

.event-item-description {
  color: #2c3e50;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95em;
  text-align: center;
  max-width: 90%;
}

/* Detail Popup Styling */
.detail-popup .popup-content {
  max-width: 500px;
}

.event-description {
  line-height: 1.6;
  color: var(--text-color);
  font-size: 1rem;
}

/* Popup Animations */
.event-popup {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-popup.active {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .event-popup .popup-content {
    width: 90%;
    margin: 1rem;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .event-item {
    padding: 0.75rem;
  }
}

/* Workshop Links Styling */
.workshop-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workshop-link {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
}

.workshop-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.workshop-arrow {
  font-size: 1.2em;
  opacity: 0.7;
}

.workshop-description {
  line-height: 1.6;
  color: var(--text-color);
}

/* Workshop Detail Popup */
.workshop-detail-popup .popup-content {
  max-width: 400px;
}

/* Popup Animations */
.event-popup {
  animation: fadeIn 0.3s ease;
}

.event-popup.fade-out {
  animation: fadeOut 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  line-height: 1.5;
  scroll-behavior: smooth;
  font-family: "Open Sans", sans-serif;
}
/*-----------------------------------------------*/


/* Translucent, separated header with rounded edges */
.site-header {
  position: fixed;
  top: 8px; /* keep header close to top */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1180px;
  z-index: 1200;
  /* subtle charcoal glass with electric-blue rim */
  background: linear-gradient(90deg, rgba(6,10,16,0.85), rgba(10,14,22,0.72));
  color: var(--text-color);
  padding: 12px 18px;
  backdrop-filter: blur(6px) saturate(120%);
  border-radius: 12px;
  border: 1px solid rgba(0, 180, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: all 260ms ease;
}

/* Compact header state when scrolled */
.site-header.compact {
  top: 10px;
  left: 12px;
  transform: none;
  width: 120px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(6,10,16,0.7);
}

.site-header .logo {
  height: 52px;
  transition: height 220ms ease, transform 220ms ease;
}

.site-header.compact .logo {
  height: 36px;
}

.site-header .top-nav {
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-header.compact .top-nav {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

/* hover to expand when compact - expands to the right from current position */
.site-header.compact:hover {
  top: 8px;
  left: 12px;
  transform: none;
  width: calc(100% - 24px);
  max-width: 1180px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(6,10,16,0.85), rgba(10,14,22,0.72));
}
.site-header.compact:hover .logo {
  height: 52px;
}
.site-header.compact:hover .top-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header.hero-top {
  background: rgba(2, 6, 18, 0.6); /* Semi-transparent charcoal for hero top */
}
.site-header.experiences-top {
  background: rgba(2, 6, 18, 0.36); /* Very light charcoal for experiences section */
}
/*-----------------------------------------------*/

/*This is for Hero Section*/
/* This is the main page which appears on opening the site */
.hero-section {
  background: url("assets/images/Whole_Background.png") center/cover no-repeat;
  /* reduced so hero doesn't dominate the viewport */
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  filter: brightness(1.1) contrast(1.05);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Subtler overlay so background art reads clearly (reduces heavy vertical banding) */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.24) 85%);
  z-index: 10;
  pointer-events: none; /* Allow clicks to pass through overlay */
}

/* Event trailer section */
#eventVideo {
  background-color: var(--background-color);
  padding: 0;
  margin: 0;
}

/* Event trailer styles */
.eventTrailer {
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
}
.trailer-inner { width: 100%; max-width: 980px; text-align: center; margin: 0; padding: 0; }
.trailer-inner h2 { margin: 0 0 16px 0; font-size: 2rem; color: var(--text-color); }
.trailer-player { position: relative; display:inline-block; width:100%; max-width:880px; margin: 0; }
.trailer-player video { width: 100%; height: auto; border-radius: 12px; background: #000; display:block; }
.trailer-player .play-overlay {
  position: absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background: rgba(0,0,0,0.45); color: #fff; border: none; font-size: 42px; width:84px; height:84px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center; opacity:0.95;
}
.trailer-player .play-overlay.hidden { display:none; }

/* Headliner layout */
.headliner-layout { display:flex; gap:28px; align-items:flex-start; width:100%; }
.headliner-title { width: 32%; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding: 18px; }
.headliner-title .hl-top { font-family: "Montserrat", sans-serif; font-size: 3.6rem; font-weight: 800; letter-spacing:1px; color: var(--text-color); }
.headliner-title .hl-bottom { font-family: "Montserrat", sans-serif; font-size: 1.8rem; margin-top:8px; color: var(--primary-color); }
.headliner-grid { width: 64%; }
.headliner-placeholder { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* Darker tech-ish card look */
.card { background: linear-gradient(180deg, #07111a 0%, #0f2636 100%); color: var(--text-color); border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,0.55); }
.card h3 { color: var(--text-color); text-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.card .card-overlay { background: rgba(0,212,255,0.08); color: white; }

@media (max-width: 980px) {
  .headliner-layout { flex-direction: column; }
  .headliner-title, .headliner-grid { width: 100%; }
  .headliner-title .hl-top { font-size: 2.4rem; }
}

/* Generic side-layout to alternate heading left/right for sections */
.side-layout { display:flex; gap:28px; align-items:center; width:100%; margin: 28px 0; }
.side-layout .side-title { width: 36%; padding: 18px; }
.side-layout .side-content { width: 64%; }
.side-layout.reverse { flex-direction: row-reverse; }

/* Reduce vertical size of common sections for a denser layout */
.headliners { min-height: 80vh; }
.experiences { min-height: 80vh; }
.sponsors { min-height: 50vh; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 12px;
}

.hero-center img.atm-img {
  filter: brightness(1.15) contrast(1.1);
  max-width: 100%;
  height: auto;
}

.hero-date {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
/*-----------------------------------------------*/

/*This is for Events and events list section*/
.headliners {
  min-height: 150vh;
  /* charcoal base with deep electric-blue hint */
  background: radial-gradient(
    circle at center,
    rgba(6,10,16,1) 0%,
    rgba(0,30,60,0.6) 60%,
    rgba(0,8,14,1) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.headliner-placeholder {
  width: 90%;
  height: 60%;
}
.container {
  width: min(1180px, 94%);
  margin: 0 auto;
}


.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.headliner-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* responsive cards */
  gap: 20px;
  justify-content: center;
  justify-items: center
}

.card {
  position: relative;
  width: 300px;
  height: 180px; /* reduced height to make cards less dominating */
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  background: linear-gradient(180deg, #07111a 0%, #0f2636 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.card:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.card h3 {
  position: absolute;
  bottom: 8px;
  left: 12px;
  margin: 0;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.card:hover h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 25px rgba(0,212,255,0.6) !important;
  font-weight: 700;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 255, 0.75);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.card:hover .card-overlay {
  opacity: 1;
}

/* Popup styling */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.3s ease;
}

.popup.hidden {
  opacity: 0;
  pointer-events: none;
}

.popup-content {
  background: white;
  border-radius: 14px;
  max-width: 500px;
  width: 90%;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: popupShow 0.3s ease;
}

.popup-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.popup-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.popup-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #444;
}

.close:hover {
  color: #000;
}

@keyframes popupShow {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*-----------------------------------------------*/

/* ---------- Header ---------- */


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 52px;
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger-menu {
  display: none;
}

.top-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.6px;
}

.top-nav a {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 6px;
  opacity: 0.95;
  font-size: 0.95rem;
}

.nav-cta {
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background-color: var(--background-color); /* invert on hover */
  color: var(--primary-color); /* electric accent text on hover */
  border-color: var(--primary-color);
}

/* ---------- Section Base ---------- */
.section {
  min-height: 100vh;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;   /* Keep natural stacking */
  /* display: none; (Original line) */
  display: flex; /* Changed from none to flex to show content */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
}

/* Show only the active section */
.section.active {
  display: flex;        /* Or block — depending on your layout */
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

/* ---------- Reveal on Scroll ---------- */
.reveal-on-scroll {
  opacity: 0.4;
  transition: all 0.8s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- Reveal on Scroll ---------- */
.reveal-on-scroll {
  opacity: 0.4;
  /*filter: blur(8px);*/
  transition: all 0.8s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  /*filter: blur(0);*/
  transform: translateY(0);
}

/* ---------- Section Titles ---------- */


/* ---------- Hero ---------- */


.atm-img {
  width: 320px;
  max-width: 60vw;
  max-height: 35vw;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}

.bits-title {
  font-family: "Montserrat";
  font-size: 2.6rem;
  letter-spacing: 0.6px;
  margin-top: 6px;
  color: var(--text-color);
  font-weight: 700;
}

.hero-center .bits-title { text-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.hero-date { text-shadow: 0 4px 12px rgba(0,0,0,0.45); }



.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Montserrat";
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  border: 0;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: transparent;
}

.btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}



/* ---------- Fest Info ---------- */
.fest-info {
  min-height: 50vh !important;
  padding: 64px 0;
}
.fest-info .container {
  display: flex;
  gap: 48px;
  align-items: stretch;
  padding: 0 36px;
}
.fest-info .container .section-title {
  width: 28%;
  margin: 0;
  text-align: left;
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--text-color);
  display: flex;
  align-items: center;
  line-height: 1.1;
}
.fest-info .container p {
  width: 72%;
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

/* About section: title (ABOUT / ATMOS) left spanning full height, image + text right */
.about {
  min-height: 50vh !important;
  padding: 64px 0;
}
.about-grid {
  display: flex;
  gap: 48px;
  align-items: stretch;
  padding: 0 36px;
}
.about-left {
  width: 24%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.about-left .section-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-align: left;
  color: var(--text-color);
  writing-mode: horizontal-tb;
}
.about-right {
  width: 76%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}
.about-img {
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.about-text {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--text-color);
  margin: 0;
}

/* Reach section: image + copy left, heading right spanning full height */
.reach {
  min-height: 50vh !important;
  padding: 64px 0;
}
.reach-grid {
  display: flex;
  gap: 48px;
  align-items: stretch;
  padding: 0 36px;
}
.reach-left { 
  width: 76%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}
.reach-left .section-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-align: left;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}
.reach-right { 
  width: 24%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}
.reach-right .section-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-align: left;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

/* Google Maps Link */
.maps-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.maps-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.maps-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.maps-link:hover .maps-icon {
  transform: scale(1.1);
}

.maps-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.reach-text {
  font-size: 1.4rem;
  line-height: 1.9;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.reach-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

/* Apply dark gradient backgrounds similar to headliners with different colors */
.fest-info {
  background: radial-gradient(
    circle at center,
    rgba(10,50,30,0.9) 0%,
    rgba(6,28,18,0.95) 60%,
    rgba(4,12,8,1) 100%
  ) !important;
}

.about {
  background: radial-gradient(
    circle at center,
    rgba(50,15,30,0.9) 0%,
    rgba(30,8,18,0.95) 60%,
    rgba(12,4,8,1) 100%
  ) !important;
}

.reach {
  background: radial-gradient(
    circle at center,
    rgba(10,20,45,0.9) 0%,
    rgba(6,12,28,0.95) 60%,
    rgba(4,6,14,1) 100%
  ) !important;
}

@media (max-width: 980px) {
  .fest-info, .about, .reach {
    min-height: auto !important;
    padding: 36px 0;
  }
  .fest-info .container,
  .about-grid,
  .reach-grid {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }
  .fest-info .container .section-title,
  .about-left,
  .reach-left,
  .about-right,
  .reach-right {
    width: 100% !important;
  }
  .fest-info .container .section-title,
  .about-left .section-title,
  .reach-right .section-title {
    font-size: 2.4rem;
    text-align: center;
  }
  .fest-info .container p,
  .about-text,
  .reach-text { 
    font-size: 1.1rem;
    text-align: center;
  }
  .about-img,
  .reach-img {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Last year experiences title: make it large and prominent */
.experiences {
  background: radial-gradient(
    circle at center,
    rgba(20,8,35,0.95) 0%,
    rgba(12,5,22,0.98) 60%,
    rgba(6,3,12,1) 100%
  ) !important;
  min-height: 90vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.experiences-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
}

.experiences-left,
.experiences-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 0 0 380px;
}

.experiences-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 600px;
  padding: 60px 40px;
  border: 4px solid var(--primary-color);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 
    0 0 20px rgba(0, 212, 255, 0.25),
    0 0 40px rgba(0, 212, 255, 0.15),
    inset 0 0 20px rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(12px);
  position: relative;
}

.experiences-center::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  background: linear-gradient(45deg, 
    transparent, 
    rgba(0, 212, 255, 0.15), 
    transparent, 
    rgba(0, 212, 255, 0.15));
  background-size: 200% 200%;
  animation: glowBorder 3s ease-in-out infinite;
  z-index: -1;
  filter: blur(6px);
}

@keyframes glowBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.experiences .hl-top { 
  font-size: 5.5rem; 
  color: #ffffff; 
  font-weight: 900; 
  text-shadow: 
    0 0 15px rgba(0, 212, 255, 0.5),
    0 0 30px rgba(0, 212, 255, 0.3),
    0 4px 12px rgba(0,0,0,0.8);
  letter-spacing: 3px;
  text-align: center;
}

.experiences .hl-bottom { 
  font-size: 4rem; 
  color: var(--primary-color); 
  font-weight: 800; 
  text-shadow: 
    0 0 15px rgba(0, 212, 255, 0.5),
    0 0 30px rgba(0, 212, 255, 0.3),
    0 4px 12px rgba(0,212,255,0.4);
  letter-spacing: 3px;
  text-align: center;
}

.experiences-left .exp-item,
.experiences-right .exp-item {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experiences-left .exp-item:hover,
.experiences-right .exp-item:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 212, 255, 0.3);
}

.experiences-left .exp-img,
.experiences-right .exp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fest-info {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0b3d0f 0%, #3cb371 100%);
  text-align: center;
  padding: 24px;
}

/* ---------- About ---------- */
.about {
  min-height: 100vh;
  background: linear-gradient(90deg, #d94b4b 0%, #f6b38b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.about-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #fff;
}

/* ---------- Reach ---------- */
.reach {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: linear-gradient(90deg, #87ceeb 0%, #3cb371 100%);
}

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}

.reach-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.reach-text {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Swap left/right for reach-image on larger screens */
@media (min-width: 981px) {
  .reach-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reach-left {
    order: 0;
  }
  .reach-right {
    order: 1;
  }
}

/* ---------- Campus Ambassador ---------- */
.campus-amb {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #003366 0%, #3399ff 100%);
  text-align: center;
  padding: 24px;
}

/* ---------- Experiences ---------- */
.experiences {
  min-height: 150vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  background: radial-gradient(
    circle at center,
    #ffb6c1 0%,
    #87ceeb 60%,
    #a0d8ff 100%
  );
}

.experiences-grid {
  width: 92%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.exp-item {
  width: 100%;
  height: 320px; /* uniform height for gallery items */
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms, box-shadow 450ms;
}

.exp-item:hover .exp-img {
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* Remove zig-zag offsets so gallery rows align neatly */
.exp-item:nth-child(odd), .exp-item:nth-child(even) {
  transform: none;
}

/* Center the visible area of images for consistent cropping */
.exp-img { object-position: center center; }

/* ---------- Sponsors ---------- */
.sponsors {
  min-height: 60vh;
  background: radial-gradient(
    circle at center,
    rgba(15,25,45,0.95) 0%,
    rgba(8,15,28,0.98) 60%,
    rgba(4,8,14,1) 100%
  );
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsors .section-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0,212,255,0.3);
  margin-bottom: 48px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1400px;
  padding: 0 24px;
}

.sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,20,35,0.6);
  padding: 24px;
  border-radius: 16px;
  border: 2px solid rgba(0,180,255,0.12);
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
  min-height: 160px;
}

.sponsor img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.1) contrast(1.05);
  transition: transform 360ms ease, filter 360ms ease;
  animation: floatSlow 8s ease-in-out infinite;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.sponsor:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,0.35);
  box-shadow: 0 16px 40px rgba(0,212,255,0.2), 0 0 30px rgba(0,212,255,0.1);
  background: rgba(15,20,35,0.85);
}

.sponsor:hover img {
  transform: scale(1.08);
  filter: brightness(1.2) contrast(1.1);
  animation-play-state: paused;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0a0e16 0%, #050810 100%);
  padding: 48px 0 32px 0;
  border-top: 1px solid rgba(0,180,255,0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer-logo-section {
  display: flex;
  align-items: center;
}

.footer-depp-logo {
  height: 60px;
  width: auto;
  filter: brightness(1.1);
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.footer-text p {
  font-size: 1rem;
  color: #b0b0b0;
  margin: 0;
  line-height: 1.4;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #808080;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.footer-social-icon {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.footer-social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,212,255,0.3);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-depp-logo {
    height: 50px;
  }
  
  .footer-text h3 {
    font-size: 1.1rem;
  }
  
  .footer-text p {
    font-size: 0.9rem;
  }
}

/* ---------- Join / Links ---------- */
.join {
  padding: 32px 0; /* reduced vertical padding */
  background: #1c51d8;
}

.join-grid {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.join-col h3 {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin-bottom: 12px;
}

.join-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 6px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.join-col a:hover {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid,
  .reach-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .exp-item {
    height: 240px;
  }
  .bits-title {
    font-size: 3.2rem;
  }
  .hero-date {
    font-size: 1rem;
  }
}

@media (max-width: 980px) {
  .join-grid {
    flex-direction: column;
    align-items: center;
  }
  .footer-img {
    width: 40%;
  }
}

/* ---------- Book Section ---------- */
.book {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  background: #000;
}

.book-inner {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center;
  justify-content: center;
}

.book-ball {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-deco {
  position: relative;
  z-index: 1; /* bottom layer */
  width: 500px;
}

.book-atmos {
  /* This positioning might need review based on your HTML, 
    but leaving it as-is to center the text over the ball */
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* top layer */
  width: 180px;
  max-width: 40%;
}

.book-cta {
  position: relative;
  z-index: 4; /* Ensures it stays on top */
  margin-top: 30px;
}

.btn-ticket {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.btn-ticket:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 160, 255, 0.18);
}

/* Events List Styling */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-item {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-item:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.event-item:hover .event-item-title {
  color: white !important;
}

.event-item:hover .event-item-description {
  color: white !important;
}

.event-item-title {
  font-weight: 500;
  transition: color 0.3s ease;
}

.event-item-arrow {
  opacity: 0.7;
  font-size: 1.2em;
}

/* Detail Popup Styling */
.detail-popup .popup-content {
  max-width: 500px;
}

.event-description {
  line-height: 1.6;
  color: var(--text-color);
  font-size: 1rem;
}

/* Popup Animations */
.event-popup {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-popup.active {
  opacity: 1;
}

.connectlogos{
  height: 28px;
  width: 28px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}