* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;

}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: #0d0d0d;
  color: #f3f4f6;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  padding: 0;
  width: 100%;
  padding-bottom: 0;
}

.main {
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  /* display: none; */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-word {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #f3f4f6;
  opacity: 0;
  position: absolute;
}

.loader-final {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #f3f4f6;
  opacity: 0;
  position: absolute;
}

/* Loader */
.white {
  /* display: none; */
  z-index: 9999;
  width: 100%;
  position: absolute;
  top: 100%;
  height: 1000vh;
  background: linear-gradient(to bottom, #000, rgb(130, 42, 144));
}
header {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 72px;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.55));
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

.nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-sizing: border-box;
}
/* Make navbar logo stick to extreme left and links to extreme right */
.nav {
  max-width: 100%;        /* allow full width usage */
  padding: 0 2rem;         /* space from edges */
}

.brand {
  margin-right: auto;      /* push links to right */
}

.links {
  margin-left: auto;       /* keep them grouped to the right side */
}

.brand, .links, .menu-btn {
  flex-shrink: 0;
}

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f5f5f5;
}

.brand img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.brand .title {
  font-weight: 800;
  letter-spacing: .4px
}

.brand .subtitle {
  font-family: "Great Vibes", cursive;
  font-size: 14px;
  color: #999;
  margin-top: -4px;
}

.links {
  display: flex;
  gap: 28px;
  align-items: center;
  z-index: 1000;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* space between logo and links */
  width: 100%;
  max-width: 100%;      /* allow full width */
  padding: 0;           /* remove left & right padding */
  box-sizing: border-box;
}

.brand {
  margin-left: 0;       /* stick to extreme left */
  margin-right: auto;   /* push links to right */
  display: flex;
  align-items: center;
  gap: 12px;
}

.links {
  margin-left: auto;            /* push links to the extreme right */
  display: flex;
  gap: 28px;
}

.links .nav-text {
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
}

.links .nav-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #f3f4f6, #8a2be2);
  transition: width .25s ease
}

.links .nav-text:hover::after {
  width: 100%
}

.cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  cursor: pointer;
  color: #f5f5f5;
  font-weight: 700
}


.cta:hover {
  transform: translateY(-1px)
}
/* Mobile View Adjustments */
@media (max-width: 768px) {
  /* Make the logo stick to the left */
  .site-navbar .brand {
    justify-content: flex-start;  /* Align logo to left */
    margin-right: auto;           /* Push other elements to the right */
  }

  /* Optional: Adjust the title/subtitle next to the logo */
  .site-navbar .brand div {
    margin-left: 0.5rem;         /* Small space between logo and text */
  }

  /* Ensure nav links don't overlap logo */
  .site-navbar .links {
    margin-left: auto;
  }
}
/* Mobile View Adjustments */
@media (max-width: 768px) {
  /* Make logo stick to extreme left */
  .nav .brand {
    margin-left: 0;        /* stick to left edge */
    margin-right: auto;    /* push links/menu to the right */
    justify-content: flex-start;
  }

  /* Make links/menu align right */
  .nav .links,
  .nav .menu-btn {
    margin-left: auto;
  }

  /* Optional: reduce padding inside brand for mobile */
  .nav .brand img {
    margin-left: 0;
  }
}

/* Mobile */
.menu-btn {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 8px
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 26px;
  background-color: #f5f5f5;
  margin: 6px 0;
  border-radius: 2px
}

@media (max-width: 980px) {
  .links {
    display: none
  }

  .menu-btn {
    display: block
  }
}

/* ---------- Mobile Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999
}

.drawer.active {
  opacity: 1;
  pointer-events: auto
}

.drawer-panel {
  position: absolute;
  right: -320px;
  top: 0;
  height: 100%;
  width: 320px;
  background: #0f0f0f;
  border-left: 1px solid rgba(255, 255, 255, .08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right .25s ease
}

.drawer.active .drawer-panel {
  right: 0
}

.drawer a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 10px
}

.drawer a:hover {
  background: rgba(255, 255, 255, .06)
}

.drawer .close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #f5f5f5;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer
}



/* .logo {
    height: 50px;
    margin-left: 20px;
    display: flex;
    align-items: center;
  }

  #logo {
    height: 80%;
  }

  #logo-text {
    font-family: "Fredericka the Great", sans-serif;
    font-size: larger;
    margin-left: 0.5rem;
    text-align: center;
    vertical-align: middle;
    justify-content: center;
  }

  /* <!-- ✅ Navbar stays fixed & transparent --> */
 /* header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  flex-direction: row;
  background-color: transparent;
  color: white;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  font-size: 20px;
  /* font-family: "Crimson Text", serif; */
  /* z-index: 1000;
}  */ */
#about{
  padding-bottom: 72px;
}
.about-text {
  position: relative;
  font-family: "Crimson Text", serif;
}

/* GSAP Animations */
.gsap-fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.about-text-anim {
  filter: url(#liquify);
  opacity: 0;
}

.aboutpic {
  width: 100%;
  /* height: auto; */
  display: block;
}
.brand.about-left {
  margin-right: 0;        /* remove spacing */
  padding-left: 0;        /* optional, remove left padding */
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100vw;
  margin: 0;
  padding: 96px 18px 48px;
  
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .3px;
  color: #f5f5f5;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
}

.headline {
  margin-top: 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800
}

.headline .accent {
  background: linear-gradient(90deg, #612a5d, #42356c);
  color: linear-gradient(90deg, #612a5d, #42356c);
  -webkit-background-clip: text;
  background-clip: text;
  /* color: #f5f5f5; */
}

.sub {
  margin: 16px 0 28px;
  color: #cfcfcf;
  max-width: 760px
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-content {
  padding-left: 0 ;
  padding-right: 0 ;
}

video {
  object-fit: cover;
  width: 100vw;
  height: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  color: #f5f5f5;
}

.btn.primary {
  background: linear-gradient(90deg, #612a5d, #42356c);
  color: #0a0a0a;
  border: none;
}

.btn:hover {
  transform: translateY(-1px)
}



/* ---------- Sections ---------- */
section {
  width: 100%;
  margin: 0;
  padding: 72px 18px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px
}

.muted {
  color: var(--muted)
}

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr
  }
}

.card {
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, border-color .2s ease
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 82, 255, 0.45)
}

.chip {
  align-self: center;
  display: inline-flex;
  text-align: center;
  /* font-size: 100px; */
  align-items: center;
  gap: 8px;
  font-size: 25px;
  font-weight: 700;
  color: #bf8be6;
}

.card h3 {
  margin: 6px 0 4px
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px
}
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}



/* Hero Section */
/* #hero {
  background-color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1;
}

.hero-text-anim {
  opacity: 0;
  transform: translateY(20px);
}

#gradient-bg {
  transition: background 0.2s ease; */
/* } */

/* small styling for the ribbon counters */
#stats-ribbon .stat-num {
  will-change: transform, opacity;
}

@media (max-width: 640px) {
  #stats-ribbon .stat-num {
    font-size: 2.25rem;
  }
}


/* Team Section Styles */
    /* ----- Layout ----- */
    .team-slideshow {
      position: relative;
      width: 100%;
      max-width: 1000px;
      margin: 2rem auto;
      border-radius: 12px;
      overflow: hidden;
      background: #111; /* fallback so container has visible area while images load */
      height: 560px; /* set a sensible height so it never collapses — change as needed */
    }

    /* Slides stacked on top of each other */
    .team-slide {
      position: absolute;
      inset: 0; /* top:0; right:0; bottom:0; left:0; */
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 900ms ease-in-out;
      z-index: 0;
    }

    /* active slide is visible & clickable */
    .team-slide.active {
      opacity: 1;
      pointer-events: auto;
      z-index: 1;
    }

    /* Image styling:
       - Use one image per slide.
       - Start with grayscale, transition to color on hover */
    .team-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: grayscale(100%) contrast(0.95);
      transition: filter 300ms ease, transform 400ms ease;
      will-change: filter, transform;
    }

    /* On hover show color and small scale up */
    .team-slide:hover img {
      filter: none;
      transform: scale(1.02);
    }

    /* Optional: simple nav arrows */
    .sl-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(0,0,0,0.45);
      color: #fff;
      cursor: pointer;
      z-index: 5;
      user-select: none;
    }
    .sl-nav.left { left: 12px; }
    .sl-nav.right { right: 12px; }

    /* Dots */
    .sl-dots {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 12px;
      display: flex;
      gap: 8px;
      z-index: 6;
    }
    .sl-dots button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.5);
      padding: 0;
      cursor: pointer;
    }
    .sl-dots button.active {
      background: white;
      box-shadow: 0 0 6px rgba(0,0,0,0.45);
    }

    /* Responsive height tweak */
    @media (max-width: 640px) {
      .team-slideshow { height: 320px; }
    }

/* Recruitment Form */
.recruit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.recruit-form input,
.recruit-form textarea {
  padding: 0.7rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

.recruit-form button {
  cursor: pointer;
}

/* Hero text adjustments */
.hero-svg-text {
  font-size: clamp(2rem, 6vw, 6rem);
}

/* Mobile view override */
@media (max-width: 768px) {
  .hero-svg-text {
    font-size: 7.5rem;
    /* minimum readable size */
  }
}

@keyframes drawText {
  to {
    stroke-dashoffset: 0;
  }
}

/* Sponsorship */

/* Side columns scroll UP */
.left-column .sponsor-column-inner,
.right-column .sponsor-column-inner {
  animation: scrollUp 10s linear infinite;
}

/* Middle column scroll DOWN */
.middle-column .sponsor-column-inner {
  animation: scrollDown 10s linear infinite;
}

.sponsors-section .section-heading {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.sponsors-section .white-text {
  color: #ffffff;
}

.sponsors-section .pink-text {
  color: #f8b6d8; 
}

.sponsor-columns-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: #0a0a0a;
  padding: 2rem 5vw;
  box-sizing: border-box;
  gap: 2rem; 
}

/* Column wrapper */
.sponsor-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

/* Inner wrapper */
.sponsor-column-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Logos (BIG SQUARES) */
.sponsor-logo {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 40px; 
  background-color: #222;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.sponsor-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.1);
}

/* Keyframes */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
  }
/* Mobile Only Section */
/* Desktop view (default) */
.sponsor-columns-container.desktop {
  display: flex; /* show desktop sponsor columns */
}

/* Mobile view */
@media (max-width: 768px) {
  .sponsor-columns-container.desktop {
    display: none;
     /* hide desktop version on mobile */
  }

  .sponsor-columns-container.mobile {
    display: flex;
     /* show mobile version on mobile */
  }
}
.mobile-only {
  display: none;
  /* hide on desktop */
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .mobile-row {
    overflow: hidden;
    margin-bottom: 20px;
  }

  .mobile-row-inner {
    display: flex;
    gap: 20px;
    animation: scroll-left 20s linear infinite;
  }

  /* Alternate direction for even rows */
  .mobile-row.row2 .mobile-row-inner {
    animation: scroll-right 20s linear infinite;
  }

  .mobile-row.row3 .mobile-row-inner {
    animation: scroll-left 20s linear infinite;
  }

  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

  .mobile-row-inner .sponsor-logo {
    flex: 0 0 auto; /* prevent shrinking */
    width: 120px;
    height: 120px;
  }
}
/* Mobile-specific heading adjustments */
@media (max-width: 768px) {
  .sponsors-section .section-heading {
    font-size: 2rem;      /* smaller font for mobile */
    margin-bottom: 1rem;   /* reduce gap below heading */
  }
}

/* Desktop sponsors container */
.sponsor-columns-container.desktop {
  display: flex; /* show desktop by default */
}

/* Mobile-only sponsors container */
.mobile-only {
  display: none; /* hide on desktop */
}

/* Media query for mobile */
@media (max-width: 768px) {
  /* Hide desktop container on mobile */
  .sponsor-columns-container.desktop {
    display: none;
  }

  /* Show mobile container on mobile */
  .mobile-only {
    display: block;
  }
}




/* Get In Touch Section */
#contact {
  min-height: 100vh;
  background-color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  text-align: center;
}

.contact-content {
  z-index: 10;
}

.contact-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
}

.social-link {
  transition: transform 0.3s ease-in-out;
}

.social-link:hover {
  transform: translateY(-5px);
}

/* GSAP Animations */
.gsap-fade-in {
  opacity: 0;
  transform: translateY(20px);
}
/* 📱 Mobile Responsive — Sponsors Section */
@media (max-width: 768px) {
  .sponsor-columns-container {
    flex-direction: column;         /* stack columns vertically */
    height: auto;                    /* allow height to grow naturally */
    align-items: center;             /* center the columns */
    gap: 2rem;                        /* space between columns */
    padding: 2rem 2rem;
  }

  .sponsor-column {
    flex-direction: row;              /* show logos side by side within each column */
    flex-wrap: wrap;                  /* allow wrapping if too many */
    gap: 1rem;
    justify-content: center;
  }

  .sponsor-column-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .sponsor-logo {
    width: 120px;                     /* smaller logos for mobile */
    height: 120px;
  }
}
