*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

@font-face {
  font-family: Cabinet-regular;
  src: url(../Fonts/CabinetGrotesk-Regular.ttf);
}

@font-face {
  font-family: Cabinet-bold;
  src: url(../Fonts/CabinetGrotesk-Bold.ttf);
}

@font-face {
  font-family: Cabinet-medium;
  src: url(../Fonts/CabinetGrotesk-Medium.ttf);
}

@font-face {
  font-family: Cabinet-thin;
  src: url(../Fonts/CabinetGrotesk-Light.ttf);
}
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

section {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Variables ===== */
:root {
  --primary-green: #28D201;
  --black: #000;
  --white: #fff;
  --heading-font: Cabinet-bold, sans-serif;
  --body-font: Cabinet-regular, sans-serif;
  --light-font: Cabinet-thin, sans-serif;
  --medium-font: Cabinet-medium, sans-serif;
}

/* ===== Base Styles ===== */
body {
  font-family: var(--body-font);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Header/Nav ===== */
header {
  min-height: 100vh;
  position: relative;
}

nav {
  padding: 3rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.nav-logo img {
  width: 15rem;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 5px 0;
  transition: 0.4s;
}

/* Mobile Styles - UPDATED */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    position: fixed; /* Changed to fixed */
    right: 20px;
    top: 20px;
  }

  .main-nav {
    position: fixed;
    right: -100%;
    top: 70px;
    height: auto;
    display: flex !important; /* Force display */
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 998;
    margin: 0;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }
  .main-nav a {
    background: none !important;
    border: none;
    padding: 0.75em 1em;
    color: inherit;
    text-decoration: none;
    font-weight: normal;
  }

  /* 3) Hide the <span> wrappers entirely (so you only see the second line text) */
  .main-nav a span {
    display: none !important;
  }

  .main-nav li {
    margin: 1.5em 0;
  }
  .main-nav li {
    margin: 25px 0;
    width: 100%;
  }

  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Desktop Styles */
@media screen and (min-width: 769px) {
  .main-nav {
    display: flex !important;
    position: relative;
    right: auto;
    height: auto;
  }
  
  .hamburger {
    display: none !important;
  }
}.main-nav {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.main-nav li {
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 1.6rem;
}

.main-nav .faq{
  color: var(--black);
}

.main-nav .faq span {
  display: block;
  font-family: var(--medium-font);
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.reg {
  display: inline-block;
  padding: 1.5rem 3rem;
  font-family: var(--medium-font);
  background: var(--primary-green);
  color: var(--white);
  border-radius: 5rem;
  transition: all 0.3s ease;
}

.reg:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}



/* ===== Hero Section ===== */
.hero-text-box {
  max-width: 90rem;
  margin: 20rem 0 0 6rem;
}

.hero-text-box h1 {
  font-family: var(--medium-font);
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-text-box p {
  font-size: 2.4rem;
  max-width: 80ch;
}

.headsection {
  background: var(--black);
  color: var(--white);
  padding: 10rem 6rem;
  margin-top: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.headsection1 h3 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.headsection1 h1 {
  font-size: 12rem;
  line-height: 0.9;
  margin-bottom: 4rem;
}

.headregisterbtn{
  text-decoration: none;
  padding: 15px 25px;
  background-color: #28D201;
  border: 1px solid transparent;
  font-family: var(--medium-font);
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.headregisterbtn:hover{
  border: 1px solid #fff;
  background-color: transparent;
  transition: 0.3s ease-in-out all;
}

/* ===== About Section ===== */


.aboutsection1 {
  padding: 10rem 6rem;
  display: grid;
  align-items: center;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  background: var(--black);  /* Moved black background here */
  color: var(--white);       /* Added text color */
}

.aboutsection1 h1 {
  font-family: var(--heading-font);
  font-size: 7rem;
  color: var(--primary-green);
  line-height: 1;
  font-weight: 300;
}

.heading-and-button {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: start; /* Center the button horizontally */
}

.join-the-team-btn {
  text-decoration: none;
  padding: 15px 25px;
  background-color: #28D201;
  border: 1px solid transparent;
  font-family: var(--medium-font);
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  width: 210px; /* Adjust width to fit content */
}

.join-the-team-btn:hover {
  border: 1px solid #fff;
  background-color: transparent;
  transition: 0.3s ease-in-out all;
}


.aboutsection1 p {
  font-size: 2.4rem;
  max-width: 70ch;
}

/* Change to this */
.abouttext {
  font-size: 2.4rem;
  max-width: 70ch;
}

.abouttext p {
  max-width: 70ch; /* Retain paragraph max-width */
}

.aboutsection2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  background: var(--white);  /* Added white background */
  color: var(--black);       /* Added black text color */
}

.scs{
  font-size: 40px;
  font-family: var(--heading-font);
  text-align: center;
}

.scs h1{
  font-weight: 300;
}

.scs span{
  color: var(--primary-green);
  font-family: var(--body-font);
  font-weight: 300;
}

.secdivider {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--black); /* Match the background of the surrounding sections */
  padding: 2rem 0; /* Adjust padding as needed */
}

.secdivider span {
  display: block;
  width: 90%; /* Adjust width as needed */
  height: 0.2px; /* Thickness of the divider */
  background: #b6b6b6; /* Color of the divider */
  border-radius: 10px; /* Border radius for rounded edges */
}


/* ===== Team Section ===== */

.team-heading {
  background: var(--white);
  padding: 6rem 2rem 2rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.team-heading h1 {
  font-size: 4.2rem;
  font-family: var(--heading-font);
  color: var(--black);
  margin-bottom: 1.5rem;
}

.team-heading p {
  font-size: 2rem;
  font-family: var(--body-font);
  color: #444;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-heading h1 {
    font-size: 3rem;
  }

  .team-heading p {
    font-size: 1.6rem;
  }
}


.team-section {
  background: var(--white);
  padding: 6rem 4rem; /* Reduced height */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh; /* Reduced section height */
}

.team-container {
  background: var(--black);
  padding: 0rem 2rem;
  border-radius: 2rem;
  border: 2px solid var(--primary-green); /* Thicker border */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1800px; /* Wider container */
  width: 100%;
  animation: containerEntrance 1s ease-out forwards;
  position: relative;
  overflow: hidden;
}

/* Container animation */
@keyframes containerEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card {
  color: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  min-height: 300px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover animation for cards */
.team-card:hover {
  transform: translateY(-5px);
}

/* Vertical dividers with animation */
.team-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 80%;
  background: rgba(255, 255, 255, 0.3);
  transition: height 0.3s ease;
}

.team-card:hover::after {
  height: 90%;
}

/* Text elements animation */
.team-card h2 {
  font-family: var(--body-font);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--white);
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  animation: textReveal 0.5s 0.4s forwards;
}

.team-card p {
  font-size: 1.8rem;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  animation: textReveal 0.5s 0.6s forwards;
}

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

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

/* ===== Responsive Adjustments ===== */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  
  .headsection1 h1 {
    font-size: 10rem;
  }
}

@media (max-width: 992px) {
  nav {
    padding: 3rem 4rem;
  }
  
  .hero-text-box {
    margin-left: 4rem;
  }
  
  .aboutsection1,
  .aboutsection2 {
    padding: 8rem 4rem;
  }

  .forarrow{
    display: none;
  }

  .backarrow{
    display: none;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; /* Add mobile menu logic here */
  }
  
  .hero-text-box {
    margin: 15rem 4rem 0;
  }
  
  .headsection {
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
  }
  
  .aboutsection1 {
    grid-template-columns: 1fr;
  }
  
  .aboutsection2 img {
    width: 10rem;
  }
  
  .scs h1 {
    font-size: 3.6rem;
  }
}

@media (max-width: 1200px) {
  .team-card h2 {
    font-size: 2.8rem;
  }
  
  .team-card p {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }

  .team-card {
    min-height: 280px;
    padding: 1.5rem;
  }

  .team-card h2 {
    font-size: 2.6rem;
  }

  .team-card p {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 4rem 2rem;
  }

  .team-container {
    width: 100%;
    padding: 1.5rem;
  }

  .team-card h2 {
    font-size: 2.4rem;
  }

  .team-card p {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  /* Add divider after paragraphs */
  

  

  /* Adjust spacing */
  .team-card {
    padding-bottom: 1rem;
  }

  .team-card p {
    margin-bottom: 1rem;
  }
}




@media (max-width: 360px) {
  .team-card h2 {
    font-size: 2.4rem;
  }

  .team-card p {
    font-size: 1.6rem;
  }
}

/* ===== Scroll Animations ===== */
.reveal:not(header):not(nav):not(.nav-logo):not(.main-nav) {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active:not(header):not(nav):not(.nav-logo):not(.main-nav) {
  opacity: 1;
  transform: none;
}

/* Delay classes */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

.sponsors-wrapper {
  background-color: #000;
  color: #fff;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.sponsors{
  display: flex;
  gap: 50px;
}

.sponsors img {
  height: 50px;
  flex-shrink: 0;
  margin-left: 5px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.marquee-item h2 {
  font-family: var(--light-font);
  font-size: 2rem;
  color: var(--white);
  margin: 0;
  white-space: nowrap;
}

/* .sponsors-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.sponsors {
  display: flex;
  gap: 50px;
}

.sponsors img {
  height: 60px;
  flex-shrink: 0;
} */

/* Animate from 0 to -50% so it loops seamlessly */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.collab-section {
  padding: 80px 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.collab-header h2 {
  font-size: 6rem;
  margin-bottom: 20px;
  font-family: var(--medium-font);
  letter-spacing: 2px;
  line-height: 50px;
}

.collab-header .highlight {
  color: #28D201; /* or whatever green you’re using */
}

.collab-header p {
  font-size: 2.2rem;
  max-width: 700px;
  margin: 0 auto 60px;
}

.collab-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  height: 500px;
  padding: 0 40px;
}

.collab-card {
  border: 1px solid #28D201;
  border-radius: 30px;
  padding: 30px;
  background-color: #000;
  text-align: left;
  width: 435px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* ensure it fills the grid row */
  height: 100%;
}

.collab-card h3 {
  font-size: 4rem;
  line-height: 40px;
  margin-bottom: 20px;
}

.collab-card p {
  font-size: 2.0rem;
  margin-bottom: 20px;
}

.collab-card ul {
  font-size: 2.0rem;
  margin-bottom: 10px;
}

.collab-card button {
  font-size: 2.3rem;
  padding: 5px 31px;
  color: #fff;
  width: 175px;
}

.apply-btn {
  text-decoration: none;
  background-color: #28D201;
  border: 1px solid transparent;
  font-family: var(--medium-font);
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.collab-card .apply-btn {
  margin-top: auto;
}

.apply-btn:hover {
  border: 1px solid #fff;
  background-color: transparent;
  transition: 0.3s ease-in-out all;
}

