@font-face {
  font-family: 'ClassyVogueRegular';
  src: url('Classyvogueregular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'ClassyVogueRegular', serif;
}

body {
  background: url('background.jpg') center/cover  no-repeat;
  color: #f5f5f5;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 0px;
  /* background-color: #000; */
}

/* body::-webkit-scrollbar-thumb { */
  /* background: rgb(228, 208, 94); */


/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #091b0c83;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.lead-logo {
  width: auto;
  height: 3.5rem;
  object-fit: contain;
}

.lead-text h2 {
  font-size: 1.5rem;
  color: #fdee91;
}

.lead-text p {
  font-size: 0.8rem;
  color: #fdee91;
  margin-top: 2px;
}

/* Navbar links */
.nav-links {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
  letter-spacing: 0.8px;
}

.nav-links a {
  color: #fdee91;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  text-shadow: 0 0 10px #fdee91;
}

/* Register button */
.register {
  display: flex;
  align-items: center;
}

.register-btn {
  backdrop-filter: blur(12px) saturate(180%);
  background-color: #f3e472ae;
  border: 1px solid rgb(138, 136, 40);
  color: #000000;
  margin-right: 10px;
  /* border: none; */
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(10, 10, 9, 0.233);
  font-weight: 600;
  transition: all 0.3s ease;
}

.register-btn:hover {
  box-shadow: 0 0 20px rgba(160, 159, 151, 0.589);
  transform: scale(1.05);
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  font-size: 2rem;
  color: #fdee91;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: rgba(0,0,0,0.95);
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 20px;
    border-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

 /* .register {
    display: ;
  } */
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeIn 2s ease forwards;
  padding: 50px;
  border-radius: 25px;
}

.glass {
  backdrop-filter: blur(12px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  
}

/* Hero text */
.hero .title {
  font-size: 7rem;
  color: #fdee91;
  font-family: 'ClassyVogueRegular', serif;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 8px;
}

.hero .subtitle {
  font-size: 2.5rem;
  color: #fdee91;
  font-family: 'ClassyVogueRegular', serif;
  margin-top: 10px;
}

.hero .subtitle-small {
  font-size: 1.5rem;
  color: white;
  font-family: 'ClassyVogueRegular', serif;
  margin-top: 10px;
}

.hero .tagline {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #e0e0e0;
}

/* COMMITTEES */
.committees {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px;
  background-color: rgba(255, 255, 255, 0.008);
  backdrop-filter: blur(2px) saturate(180%);
}

.committee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.top-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
  margin-left: 0;
}

.bottom-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-left: 0;
}


.glass-btn {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px) saturate(180%);
  border: 2px solid gold;
  color: gold;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  width: 200px;
}

.glass-btn:hover {
  /* background: rgba(255, 255, 255, 0.726); */
  /* color: #08160a; */
  /* box-shadow: 0 0 25px #9fff9f; */
  transform: scale(1.05);
}

.committee-box {
  background: rgba(8, 22, 10, 0.5);
  backdrop-filter: blur(10px) saturate(180%);
  border: 2px solid gold;
  color: gold !important;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 200px;
  aspect-ratio: 3 / 4;
}



.committee-box:hover {
  /*background: rgba(8, 22, 10, 0.795);*/
  /* color: #08160a; */
  /* box-shadow: 0 0 25px #9fff9f; */
  transform: scale(1.05);
}

.committee-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

/* FADE-IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade out for smooth redirect */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* COMMITTEE INTRO */
.committee-intro {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
  margin-top: 70px;
}

.committee-intro img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.intro-text {
  flex: 1;
}

.intro-text h2 {
  font-size: 3rem;
  color: #fdee91;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .glass-btn, .committee-box {
    width: 150px;
  }

  .committee-grid {
    gap: 10px;
  }

  .top-row, .bottom-row {
    gap: 10px;
  }
}

/* CONTENT SECTIONS */
.content {
  padding: 50px 20px;
  max-width: 900px;
  margin: 20px auto;
}


.dark {
  background-color: rgba(0, 0, 0, 0.411) !important;
}

.curved {
  border-radius: 25px;
}


/* SECRETARIAT */

.secretariat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.secretariat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  width:100%;
}

.secretariat-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  /* border-radius: 50%; */
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 3px solid #fff3;
}



.sec-h3{
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: normal;
}

.sec-p{
  margin-bottom: 0.5rem;
}

.hier{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #999;
}


/* Rules page specific styles */
.rules-hero {
  height: 40vh + 200px;
}

.rules-hero-content {
  padding: 30px;
}

.rules-title {
  font-size: 4rem;
}

.rules-subtitle {
  color: #f0e8b0;
}

.rules-main {
  max-width: 1100px;
}

/* --- rules page additions --- */
.rules-hero .hero-content { padding: 3rem 1.5rem; text-align: center; }
.rules-title { font-size: 2.2rem; margin: 0 0 .25rem; }
.rules-subtitle { font-size: 1rem; margin: 0 0 .5rem; opacity: .95; }

.rules-main {
  max-width: 1100px;
  margin: 2rem auto; 
  padding: 1.75rem; 
  display: grid; 
  grid-template-columns: 1fr 320px; 
  gap: 1.2rem;
  align-items: start; 
  height: auto;
}

@media (max-width: 1200px) { 
  .rules-main { 
    grid-template-columns: 1fr; 
    max-width: 100vw;
  } 
}

#code-of-conduct,#general,#submission-guidelines {
  padding: 1.5rem;
  background: rgba(22, 21, 21, 0.438);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  color: #e0e0e0;
}

#general-guidelines {
  margin-top: 2rem;
}

@media screen and (min-width: 1200px) {
  #submission-guidelines {
  margin-top: -17.5rem;
}
}



@media screen and (max-width: 768px) {
  .committee-intro {
    flex-direction: column;
    text-align: center;
  }
  .committee-intro img {
    margin-bottom: 20px;
  }
  
}

@media (max-width: 991px) {
  /* Style for mobile dropdown */
  .navbar-collapse {
    background: rgba(5, 5, 5, 0.85); /* darker & more opaque */
    backdrop-filter: blur(2px) saturate(60%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    transition: all 0.4s ease;
  }

  /* Center the nav links nicely in the glass menu */
  .navbar-nav {
    text-align: center;
    width: 100%;
  }

  /* Mobile register button visibility (unchanged) */
  .navbar-collapse .register-mobile {
    display: block;
    text-align: center;
    margin-top: 1rem;
  }

  .navbar-collapse .register-mobile .register-btn {
    width: 80%;
    margin: 0 auto;
  }
}

.carousel-item {
  transition: transform 0.6s ease, opacity 0.6s ease;
}


/* MOBILE NAVBAR */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: rgba(5,5,5,5.9); /* slightly more opaque */
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 20px;
    border-radius: 12px;
    z-index: 200;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    text-align: center;
    color: #fdee91;
    text-shadow: 0 0 10px #fdee91; /* glow effect */
  }

  .register {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    color: #fdee91;
    cursor: pointer;
  }
}
