@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Define the fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  font-family: "Poppins";
}

#loader img {
  width: 180px;
  margin-bottom: 20px;
}

/* Fade-out transition */
#loader.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.progress-container {
  width: 60%;
  max-width: 400px;
  height: 8px;
  background: #141414;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #ff0000;
  transition: width 0.1s linear;
}

#progress-text {
  margin-top: 10px;
  color: #ff0000;
  font-weight: bold;
}

/* Apply the animation to your element */
.fade-in {
  animation: fadeIn 0.5s ease-in forwards;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  overflow-x: hidden;
}

/* === Navbar Styling === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, nav center, hamburger right */
  background-color: black;
  font-family: "Poppins", sans-serif;
  width: 100%;
  padding: 10px 20px;
  flex-wrap: wrap;
  z-index: 1000;
}

.navbar img {
  height: 50px;
  margin-right: 20px;
}

/* === Nav Links Container === */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* spacing between items */
  flex: 1;
  z-index: 1000;
}

/* Links inside the navbar */
.navbar a {
  font-size: 16px;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: 1s ease;
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}

/* Hover effect for links and dropdown buttons */
.navbar a:hover, .dropdown:hover .dropbtn {
  color: #ff0000;
  transition: 1s ease;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  border-radius: 5px;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  transition: 1s ease;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #ff0000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: 1s ease;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: #dddddd;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* === Hamburger menu styles === */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 14px 16px;
}

/* === Responsive Styles === */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar img {
    margin-top: 5%;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    gap: 0;
  }

  .nav-links a,
  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
  }

  .dropdown-content a {
    background-color: #1A2433;
    text-align: left;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .hamburger {
    display: block;
    margin-left: auto;

  }

  .nav-links.show {
    display: flex;
  }
}

/*VIDEO INTRO*/

.home-page {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen section */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video wrapper */
.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  object-fit: cover; /* keeps video covering background */
}

/* Overlay text/button */
.overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgb(255, 0, 0);
  font-family: "Montserrat", sans-serif;
  padding: 20px;
}

.overlay h1 {
  font-size: clamp(7rem, 5vw, 4rem); /* responsive */
  margin-bottom: 50px;
}

.overlay button {
  background-color: #ff0000;
  border: none;
  border-radius: 3px;
  font-size: 2.3rem;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-family: "Montserrat";
  cursor: pointer;
  transition: 1s ease;
}

.overlay button:hover {
  background-color: #fff;
  color: #ff0000;
  box-shadow: 0px 0px 6px black;
  transform: translateY(-5px);
}

/*Achievements Section*/

.achievements {
  display: flex;
  justify-content: center; /* centers all placements horizontally */
  align-items: center;
  gap: 15%; /* spacing between medals */
  margin: 130px 0;
}

.achievements {
  flex-wrap: wrap;
}

.placement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.placement i {
  font-size: 6rem;
  color: #ffa600;
}

.placement h1 {
  font-family: "Montserrat";
  color: white;
  margin-top: 10px; /* spacing between medal and text */
}

/*CRUNCH QUOTE SECTION*/

.crunch-quote {
  margin-top: 5%;
  width: 100%;
  padding: 0 10px; /* prevents text from hitting screen edges */
}

.crunch-quote pre {
  font-family: "Montserrat", sans-serif;
  color: white;
  text-align: center;
  padding-top: 8%;
  font-size: 4rem;
  font-weight: 700;
  white-space: pre-wrap; /* wraps text instead of overflowing */
  word-wrap: break-word;
}

.crunch-quote p {
  color: red;
  text-align: center;
  font-size: 3rem;
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  margin-top: 10px;
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .crunch-quote pre {
    font-size: 2.5rem;
    padding-top: 5%;
  }

  .crunch-quote p {
    font-size: 2rem;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .crunch-quote pre {
    font-size: 1.8rem;
    padding-top: 4%;
  }

  .crunch-quote p {
    font-size: 1.2rem;
  }
}



/*Competitive Teams Button - Home Section*/

.viewteams {
  width: 100%;
  background-color: rgb(22, 22, 22);
  margin-top: 5%;
  padding: 2% 10px; /* responsive side padding */
  box-sizing: border-box; /* ensures padding doesn't exceed width */
}

.viewteams h1 {
  text-align: center;
  color: white;
  font-family: "Montserrat", sans-serif;
  padding-top: 3%;
  font-size: clamp(2rem, 5vw, 3rem); /* scales with screen */
  margin: 0;
}

.viewteams button {
  display: block; /* makes it centerable */
  margin: 50px auto 0 auto; /* centers the button horizontally */
  background-color: rgb(255, 0, 0);
  color: white;
  border: none;
  border-radius: 3px;
  font-size: clamp(1.5rem, 4vw, 2rem); /* responsive font */
  padding: 10px 20px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
}

.viewteams a {
  text-decoration: none;
}

.viewteams button:hover {
  background-color: #cc0000;
  transform: translateY(-5px);
}

/*Footer Section*/

.footer {
  background-color: #000000;
  color: #d1d5db;
  font-family: "Montserrat", sans-serif;
  padding: 40px 20px 20px;
  width: 99.3%;
  margin-left: -1%;
}


footer a {
  text-decoration: none;
}


.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}


.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
}


.footer-column a:hover {
  color: #2563eb;
}


.footer-column h2,
.footer-column h3 {
  color: #ff0000;
  margin-bottom: 10px;
}


.footer-column p,
.footer-column li {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 8px;
  list-style: none;
}


.footer-column ul {
  padding: 0;
  margin: 0;
}


.footer-column li i {
  margin-right: 8px;
}


.social-icons {
  font-size: 20px;
  display: flex;
  gap: 15px;
  color: #ffffff;
}


.social-icons i {
  font-size: 20px;
  display: flex;
  gap: 15px;
  color: #ffffff;
  transition: 1s ease;
}


.social-icons i:hover {
  color: #ff0000;
}


.footer hr {
  border: none;
  border-top: 1px solid #1e293b;
  margin: 20px 0;
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
  flex-wrap: wrap;
}

/*START OF ABOUT PAGE*/

.teams {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: "Montserrat";
}

.teams-header-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.4;
}

/* Overlay text + button */
.teams-overlay {
  position: absolute;
  top: 50%;  /* center vertically */
  left: 50%; /* center horizontally */
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 20px; /* responsive padding */
}

.teams-overlay h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem); /* responsive font */
  margin-bottom: 10px;
}

.teams-overlay p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem); /* responsive font */
  color: #ff0000;
  font-weight: 500;
  margin-bottom: 20px;
}

.teams-overlay a {
  display: inline-block; /* ensures button styling works */
  text-decoration: none;
}

.teams-overlay button {
  background-color: #ff0000; /* solid red background */
  color: white;               /* text color */
  border: none;
  border-radius: 5px;
  font-size: clamp(1rem, 2.5vw, 1.2rem); /* responsive font */
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 3; /* above the image */
  font-family: "Montserrat";
}

.teams-overlay button:hover {
  background-color: #b60000;
  transform: translateY(-2px);
}

/* Optional: make overlay spacing responsive */
@media (max-width: 480px) {
  .teams-overlay h1 {
    font-size: 2rem;
  }

  .teams-overlay p {
    font-size: 1rem;
  }

  .teams-overlay button {
    font-size: 1rem;
    padding: 8px 16px;
  }
}

/*LEADERSHIP SECTION*/

.staff-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  margin-bottom: 10%;
}

.staff-roster h1{
  color: white;
  font-family: "Poppins";
  text-align: center;
  font-size: 60px;
  margin-top: 10%;
}

.staff-roster strong {
  font-weight: 700;
  color: #ff0000;
  text-align: center;
}

/*Creator Cards*/

.founder {
  background-color: #242424;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-top: 5%;
  padding: 25px 20px;
  width: 280px;
  text-align: center;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.founder:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.founder img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #ff0000;
}

.founder h1 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.founder h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #7a8ca3;
  margin: 0 0 16px;
}

.founder a {
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  transition: color 1s ease;
}

.founder a:hover {
  color: #ff0000;
}

/*COMING SONN PARTS*/

.coming h1 {
  font-size: clamp(3rem, 10vw, 10rem); /* Minimum 3rem, maximum 10rem, scales with viewport */
  margin-top: clamp(5%, 14vw, 14%);   /* Margin scales with viewport width */
  font-weight: bold;
  background: linear-gradient(to bottom, #ff0000, #380000);
  font-family: "Montserrat", sans-serif;
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

