html, body {
      margin: 0;
      padding: 0;
      font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
      background-color: black;
    }
canvas {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

#network {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
#events{
  position: relative;
  margin-top: 10vh;
  min-height: 100vh;
  background: #0d0d0d;
  color: white;
  overflow: hidden;
}
    nav {
      position: sticky;
      top: 0;
      left: 0;
      width:100%;
      height: 60px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      display: flex;
      align-items: center;
      padding: 0 2rem;
      z-index: 2;
    }

    nav ul a{
      text-decoration: none;
      color: #fff;
    }
    nav ul {
      display: flex;
      align-items: center;
      list-style: none;
      padding: 2px;
      gap: 90px;
    }

    nav ul li {
      cursor: pointer;
      transition: color 0.3s;
    }

    #branchFilter  ul{
      margin-left: 100px;
    }

    nav ul li:hover {
      background: linear-gradient(90deg, #ff005e, #7d00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
      transform: scale(1.05);
    }

#nav1{
  height: 80px;
  width: 100%;
 
}
#nbar1{
 
  height: auto;
  min-width:165vh;
  width: auto;
  font-size: larger;
  position: relative;
  display: flex;
  padding: 1vh;
  left: 5vh;
  font-weight: 500;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
#nbar2{
  align-items: center;
  justify-content: center;
  display: flex;
  height: 100%;
  left: -4vh;
  position: relative;
  width:40vh;
}
.rotating-icon {
  width: 60px; /* Adjust as needed */
  height: 60px;
  transition: transform 0.6s ease-in-out;
}

.rotating-icon:hover {
  transform: rotate(360deg);
}


/* home */
.main {
      display: flex;
      flex-wrap: wrap;
      gap: 80px;
      padding: 20px 40px;
      justify-content: center;
      position: relative;
      z-index: 1;
      margin: 0 auto;
      max-width: 1400px;
    }

    #home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  align-items: center;
  gap: 20vh;
  padding: 5vh 0vh;
  width: 100%;
}

.carousel-glass {
  width: 80vw;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  padding: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img {
  display: none;
  width: 100%;
  border-radius: 12px;
  transition: opacity 0.5s ease-in-out;
}

.carousel-img.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

    .d1 {
      width: 230px;
      min-height: 150px;
      height: auto;
      background: rgba(130, 125, 125, 0.1);
      border-radius: 16px;
      backdrop-filter: blur(5px);
      padding: 1rem;
      color: #fff;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .d1:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}


#starsCanvas {

      display: block;
      z-index: -1;
      height: 100%;
      position:fixed;
      width: 100%;
    }
#g2 {
  height: auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  margin-top: -2px;
  text-align: center;
  position: relative;
  color: #fff;
}

.g2-item i {
  font-size: 32px;
  display: inline-block;
  background: linear-gradient(90deg, #ff005e, #7d00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
  transform: scale(1.05);
}

.g2-items-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap; /* keep in one row */
  gap: 2rem;
  text-align: center;
}

.g2-item {
  flex: 1;
  min-width: 150px;
}

.g2-item i {
  font-size: 32px;
  color: #fff; /* white icons */
  margin-bottom: 0.5rem;
}

.g2-item h3 {
  margin: 0.3rem 0;
  font-size: 1.1rem;
  color: #fff;
}

.g2-item p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}
#rules{
  height: auto;
  padding: 5vh 5vh;
  margin: 10vh auto;
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
   background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(5px);
  width: 90%;
  max-width: 1200px;
}
#rules ul li{
  margin-bottom: 20px;
}
 #rules ul li:hover {
      background: linear-gradient(90deg, #ff005e, #7d00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
      transform: scale(1.05);
    }
#faq {
  height: auto;
  padding: 3vh 2rem;
  margin: 5vh auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(5px);
  width: 90%;
  max-width: 1200px;
}

.faq-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.faq-column {
  flex: 1;
  min-width: 300px;
  max-width: 48%;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  text-align: left;
  padding: 1rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-bottom: 1rem;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}
.faq-answer p {
  color: rgba(255, 255, 255, 0.85); /* Soft white */
  font-size: 1rem;
  line-height: 1.6;
  padding-top: 0.5rem;
}
.faq-answer {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.5rem 1rem;
}

.faq-answer:hover{
      background: linear-gradient(90deg, #ff005e, #7d00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
      transform: scale(1.05);
}
.section-heading:hover{
    background: linear-gradient(90deg, #ff005e, #7d00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
      transform: scale(1.05);
}

.icon-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 5px;
}
.pdf-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* darker background */
}

.pdf-content.dark-theme {
  position: relative;
  margin: 8% auto;
  width: 45%;
  height: 65vh;
  background-color: #1e1e1e; /* dark modal */
  color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pdf-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
  background-color: #000;
}

/* Close button with white X */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: white;
  background-color: black;
  border: 2px solid white;
  border-radius: 50%;
  padding: 5px 12px;
  cursor: pointer;
  z-index: 10000;
}

#contact {
  height: auto;
  padding: 3vh 2rem;
  margin: 5vh auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(5px);
  width: 90%;
  max-width: 1200px;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-box {
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(61, 60, 60, 0.05);
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  flex: 1 1 280px;
  min-width: 250px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-box img {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.contact-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color:#fff;
}

.contact-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.contact-box:hover{
    transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.cicon{
   background: linear-gradient(90deg, #ff005e, #7d00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
      transform: scale(1.05);
    font-size: 40px; /* optional size */
}
.glass-card {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(61, 60, 60, 0.05);
  backdrop-filter: blur(5px);
}
pre{
  scrollbar-color: rgb(107, 107, 107) transparent;

}
/* Registration Section */
#register {
  height: auto;
  padding: 5vh 5vh;
  margin: 10vh auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(5px);
  width: 90%;
  max-width: 1200px;
}

/* Registration Form Styles */
.register-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
}

.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.form-group select:focus {
  outline: none;
  border-color: #ff005e;
  box-shadow: 0 0 0 2px rgba(255, 0, 94, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

.form-group select option {
  background: #1e1e1e;
  color: #fff;
  padding: 10px;
}

.form-group select:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
}

.register-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.register-message {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.register-message h3 {
  font-size: 2rem;
  margin: 1rem 0;
  background: linear-gradient(90deg, #ff005e, #7d00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.register-message p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.registration-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.info-item i {
  font-size: 1.5rem;
  color: #ff005e;
  min-width: 30px;
}

.info-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

.register-cta {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 0, 94, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 94, 0.3);
}

/* Facilities Section */
#facilities {
  height: auto;
  padding: 5vh 5vh;
  margin: 10vh auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(5px);
  width: 90%;
  max-width: 1200px;
}

.facilities-section {
  margin-bottom: 4rem;
}

.sub-heading {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #fff;
  font-weight: 600;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.accommodation-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.accommodation-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 0, 94, 0.5);
}

.accommodation-item h4 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem 0;
  color: #fff;
}

.accommodation-item p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #e0e0e0;
}

.accommodation-item small {
  font-size: 0.9rem;
  color: #bbb;
  font-style: italic;
}

.accommodation-note {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 0, 94, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 94, 0.3);
  margin-top: 2rem;
}

.accommodation-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.bus-routes {
  text-align: center;
}

.city-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.city-btn {
  background-color: #222;
  color: white;
  border: 1px solid #444;
  padding: 12px 24px;
  margin: 5px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  min-width: 120px;
}

.city-btn:hover {
  background: linear-gradient(90deg, #ff005e, #7d00ff);
  border-color: #ff005e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 94, 0.3);
}

.transport-note {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.transport-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#menuToggle {
  display: none;
}

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  margin-left: auto;
  padding: 0.5rem;
}

@media (max-width: 1250px) {
  #nbar1 {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 1rem 0;
    min-width: unset;
    font-size: 1.1rem;
    z-index: 9;
  }
  #nbar1.open {
    display: flex;
  }
  nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
  }
  .menu-toggle {
    display: block !important;
  }
  #nav1 {
    height: auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  #nbar2 {
    left: 0;
    width: auto;
    margin-right: 1rem;
  }
}

/* Responsive styles for #g2 section */
@media (max-width: 900px) {
  #g2 {
    width: 98%;
    padding: 1.5rem 0.5rem;
  }
  .g2-items-container {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  #g2 {
    width: 80%;
    padding: 1rem 0.2rem;
    border-width: 2px;
  }
  .section-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .g2-items-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .g2-item {
    min-width: unset;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
  }
  .g2-item i {
    font-size: 24px;
    margin-bottom: 0.3rem;
  }
  .g2-item h3 {
    font-size: 1rem;
  }
  .g2-item p {
    font-size: 0.9rem;
  }
}

/* Responsive navbar: fixed and pushes content down when open */
@media (max-width: 900px) {
  #nav1 {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    background: rgba(255,255,255,0.1);
  }
  #nbar1 {
    display: none;
    /* position: absolute; */
    top: 60px;
    left: 0;
    width: 100vw;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 1rem 0;
    min-width: unset;
    font-size: 1.1rem;
    z-index: 101;
  }
  #nbar1.open {
    display: flex;
  }
  .menu-toggle {
    display: block !important;
  }
  body.menu-open #home {
    margin-top: 420px; /* Adjust this value to match your menu height */
    transition: margin-top 0.3s;
  }
  /* Remove the huge margin from events section that's breaking the layout */
  #events{
    margin: 2vh 1vh; /* Normal margin instead of 420px */
    padding: 1rem 0.5rem;
  }
  
  /* Ensure branch filter doesn't get affected */
  #branchFilter{
    margin-bottom: 1rem;
  }
}

.container {
  width: 100%;
  height: 10%;
  background-color: #1e1e1e;
}

/* Branch Filter Responsive Styles */
#branchFilter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 1vh 2px;
  gap: 90px;
  margin: 0;
  margin-left: 5vh;
  font-size: larger;
  font-weight: 500;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#branchFilter li {
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  padding: 0;
}

#branchFilter li:hover,
#branchFilter li.active {
  background: linear-gradient(90deg, #ff005e, #7d00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(255, 0, 128, 0.4);
  transform: scale(1.05);
}

/* Tablet Responsive */
@media (max-width: 768px) {
  #branchFilter {
    gap: 15px;
    padding: 10px;
  }
  
  #branchFilter li {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: auto;
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  /* Make branch filter nav taller to accommodate wrapped items */
  #events nav {
    height: auto;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
  }
  
  #branchFilter {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px;
    justify-content: center;
  }
  
  #branchFilter li {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    flex: 0 0 auto;
    text-align: center;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  #branchFilter {
    gap: 10px;
    padding: 6px;
  }
  
  #branchFilter li {
    padding: 5px 10px;
    font-size: 0.75rem;
    min-width: fit-content;
  }
}

/* Landscape mobile phones */
@media (max-width: 900px) and (orientation: landscape) {
  #branchFilter {
    flex-wrap: wrap;
    max-height: 80px;
    overflow-y: auto;
  }
  
  #branchFilter li {
    margin-bottom: 5px;
  }
}

/* Responsive styles for main container and event cards */
@media (max-width: 768px) {
  .main {
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
  }
  
  .d1 {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .d1 img {
    width: 100% !important;
    height: auto !important;
    max-width: 200px;
    display: block;
    margin: 0 auto;
  }
  
  #rules, #faq, #register, #contact {
    width: 95%;
    margin: 3vh auto;
    padding: 2rem 1.5rem;
  }
  
  /* FAQ specific mobile styles */
  .faq-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .faq-column {
    max-width: 100%;
    min-width: unset;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 0.8rem;
  }
  
  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Contact specific mobile styles */
  .contact-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-box {
    min-width: 100%;
    padding: 1.2rem;
  }
  
  .contact-box h3 {
    font-size: 1.1rem;
  }
  
  .contact-box p {
    font-size: 0.9rem;
  }
  
  .glass-card {
    margin: 1rem 0;
    padding: 0.8rem;
  }
  
  .glass-card iframe {
    height: 250px;
  }
  
  #g2 {
    width: 95%;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .main {
    gap: 15px;
    padding: 15px;
    margin: 0 auto;
  }
  
  .d1 {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem;
  }
  
  .d1 img {
    max-width: 150px;
  }
  
  .d1 p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
  }
  
  .icon-bar {
    margin-top: 8px;
    padding: 0 3px;
  }
  
  #rules, #faq, #register, #contact {
    width: 98%;
    margin: 3vh auto;
    padding: 2vh 2vh;
  }
  
  #g2 {
    width: 98%;
    padding: 1rem 0.5rem;
  }
}


/* Mobile Responsive Styles for Registration */
@media (max-width: 768px) {
  #register {
    width: 95%;
    padding: 3rem 1.5rem;
  }
  
  .register-message {
    padding: 1rem;
  }
  
  .register-message h3 {
    font-size: 1.5rem;
  }
  
  .register-message p {
    font-size: 1rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.8rem;
  }
  
  .info-item span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #register {
    width: 98%;
    padding: 2rem 1rem;
  }
  
  .register-message h3 {
    font-size: 1.3rem;
  }
  
  .register-message p {
    font-size: 0.9rem;
  }
  
  .info-item span {
    font-size: 0.9rem;
  }
}

/* Mobile Responsive Styles for Facilities */
@media (max-width: 768px) {
  #facilities {
    width: 95%;
    padding: 3rem 1.5rem;
  }
  
  .accommodation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .accommodation-item {
    padding: 1.5rem;
  }
  
  .accommodation-item h4 {
    font-size: 1.2rem;
  }
  
  .city-buttons {
    gap: 0.5rem;
  }
  
  .city-btn {
    padding: 10px 16px;
    font-size: 14px;
    min-width: 100px;
  }
  
  .transport-note p {
    font-size: 0.9rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  #facilities {
    width: 98%;
    padding: 2rem 1rem;
  }
  
  .sub-heading {
    font-size: 1.3rem;
  }
  
  .accommodation-item {
    padding: 1rem;
  }
  
  .accommodation-item h4 {
    font-size: 1.1rem;
  }
  
  .accommodation-item p {
    font-size: 1rem;
  }
  
  .city-btn {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 80px;
  }
  
  .accommodation-note,
  .transport-note {
    padding: 1rem;
  }
  
  .accommodation-note p,
  .transport-note p {
    font-size: 0.85rem;
  }
}
