@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #140f2c;
  --secondary-color: #ff4500;
  --gradient-color: linear-gradient(135deg, #FF8C00, #FF4500, #FF69B4);
  --text-dark: #0f172a;
  --text-light: #64748b;
  --extra-light: #f8fafc;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}
html {
  scroll-behavior: smooth;
}

.section__subheader {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.section__header {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}
.section__description {
  margin-top: 1rem;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: var(--white);
  background: var(--gradient-color);
  outline: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.section__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section__nav span {
  padding: 10px 15px;
  font-size: 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s;
}

.section__nav span:hover {
  background-color: var(--secondary-color);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 2px;
}

.logo img {
  width: 60px; /* Set the desired width for the logo */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure the logo fits within the dimensions */
}

.logo div {
  padding-inline: 12px;
  font-size: 1.5rem; /* Adjust font size for text next to the logo, if any */
}
.logo img {
  background-color: transparent; /* Ensure no background color is added */
  width: 50px; /* Adjust size */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Prevent distortion */
}

img,
video {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__bar {
  position: relative;
  isolation: isolate;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav__header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--extra-light);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  position: absolute;
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--white);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  color: var(--text-light);
  transition: 0.3s;
}

.nav__links a:hover {
  color: var(--secondary-color);
}

.header {
  padding-block: 5rem;
  background-image: linear-gradient(
      rgba(15, 26, 44, 0.5),
      rgba(15, 26, 44, 0.5)
    ),
    url("assets/activeland_bannerImg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header__container .section__subheader {
  color: var(--white);
}

.header__container h1 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 7rem;
  font-family: var(--header-font);
  color: var(--white);
}
/* Countdown Timer */
.countdown {
  font-family: var(--header-font);
  background-image: url('assets/counterImg.png');
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  color: white;
  padding: 40px 0;
  text-align: center;
}

.countdown h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: black;
}

#countdown-timer {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.time-box {
  background: linear-gradient(135deg, #FFC107, #F44336);
  padding: 30px 50px; /* Increased padding for spacious feel */
  border-radius: 15px; /* More rounded corners */
  font-size: 30px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition on hover */
}

.time-box:hover {
  transform: translateY(-5px); /* Slight movement upwards on hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5); /* Deeper shadow on hover */
  box-shadow: 0 0 10px #FFC107, 0 0 10px #F44336, 0 0 10px #FFC107;
}


.time-box span {
  display: block;
  font-size: 60px;
  font-weight: bold;
}

.time-box p {
  margin: 0;
}
/* Media Queries for Responsiveness for countdown section */
@media (max-width: 768px) {
  .countdown h2 {
    font-size: 32px;
  }

  #countdown-timer {
    gap: 20px;
  }

  .time-box {
    padding: 20px 40px;
    font-size: 24px;
  }

  .time-box span {
    font-size: 50px;
  }
}

@media (max-width: 576px) {
  .countdown h2 {
    font-size: 28px;
  }

  #countdown-timer {
    gap: 10px;
  }

  .time-box {
    padding: 15px 30px;
    font-size: 20px;
  }

  .time-box span {
    font-size: 40px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .countdown h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .time-box {
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 10px;
  }

  .time-box span {
    font-size: 30px;
  }

  .btn {
    padding: 10px 15px;
    font-size: 12px;
  }
}
/* about section */

.about {
  position: relative;
  isolation: isolate;
}

.about::before {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  height: 75%;
  width: 100%;
  background-image: url("assets/banner-2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: -1;
}

.about__container {
  display: grid;
  gap: 4rem 2rem;
}

.about__grid {
  display: grid;
  gap: 1rem;
}

.about__card {
  height: 100%;
  padding: 2rem;
  display: grid;
  place-content: center;
  text-align: center;
}

.about__card span {
  margin-bottom: 1rem;
  font-size: 3rem;
  color: var(--secondary-color);
}

.about__card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.about__card p {
  color: var(--text-light);
}

.about__card:nth-child(4) {
  background-color: var(--primary-color);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.about__card:nth-child(4) :is(h4, p) {
  color: var(--white);
}

.about__image img {
  height: 100%;
  object-fit: cover;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.about__content .section__description {
  margin-bottom: 2rem;
}


/* booking section */
.booking {
  padding-block: 5rem;
  background-color: #f5f5f5;
}

.booking__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.booking__header {
  margin-bottom: 4rem;
}

.booking__header .section__subheader {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.booking__header .section__header {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.booking__header .section__description {
  font-size: 1.1rem;
  color: var(--text-light);
}

.booking__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.booking__card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease-in-out;
}

.booking__card:hover {
  transform: translateY(-10px);
}

.booking__card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.booking__card p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
}



/* Sponsors Section */
.sponsors__container {
  padding-block: 5rem;
}

.sponsors__container :is(.section__subheader, .section__header) {
  padding-inline: 1rem;
  text-align: center;
}
#curr_sponsors{
  background: linear-gradient(to bottom,#f5f5f5, #140f2c77, white);
}

.sponsors__grid {
  max-width: 1500px;
  margin-inline: auto;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* This sets 4 equal columns */
  gap: 10px; /* Spacing between the sponsor logos */
}

.sponsor__card {
  display: flex;
  flex-direction: column; /* Stack the image and text vertically */
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-right: 4rem;
  margin-left: 4rem;
}

.sponsor__card img {
  max-width: 80%; /* Reduce the width to 80% of its container */
  height: auto; /* Maintain aspect ratio */
  max-height: 120px; /* Reduce maximum height further */
  object-fit: contain; /* Ensures logos fit without distortion */
  margin: 0 auto; /* Center the image horizontally */
  display: block; /* Centering with margin works when display is block */
  border-radius: 15px;
}


.sponsor__card span {
  margin-top: 1rem; /* Adds space between the logo and the text */
  font-size: 1rem; /* Font size for the sponsor name */
  font-weight: bold; /* Makes the text bold */
  color: var(--text-dark); /* You can customize the text color */
  text-align: center; /* Centers the sponsor name below the logo */
  text-transform: uppercase; /* Optional: Makes the text all uppercase */
  letter-spacing: 1px; /* Optional: Adds space between letters */
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .sponsors__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
  }
}

@media (max-width: 480px) {
  .sponsors__grid {
    grid-template-columns: 1fr; /* 1 column for very small screens */
  }
}


.intro {
  position: relative;
  isolation: isolate;
  background-color: var(--primary-color);
}

.intro::before {
  position: absolute;
  content: "";
  right: 0;
  height: 100%;
  width: calc(100vw / 4);
  background-color: var(--secondary-color);
  z-index: -1;
}

.intro__container {
  display: grid;
  gap: 4rem 2rem;
}

.intro__container .section__subheader {
  color: var(--secondary-color);
}

.intro__container :is(.section__header, .section__description) {
  margin-bottom: 1rem;
  color: var(--white);
}

.intro__img {
  max-width: 400px;
  margin: auto;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.feature__container :is(.section__subheader, .section__header) {
  text-align: center;
}

.feature__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.feature__card span {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.feature__card h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  counter-reset: var(--text-dark);
}

.feature__card p {
  color: var(--text-light);
}


/* stats */
.stats-section {
  background-image: url('assets/statsimg.png');
  background-size: cover; /* Ensures the image covers the entire section */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: 50% 30%; /* Centers the image */
  width: 100%;
  margin-top: 70px;
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; /* Adjusts for mobile responsiveness */
  max-width: 1200px;
  margin: 0 auto;
}

.stat-box {
  padding: 20px;
  margin: 20px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent box background */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px); /* Adds hover animation */
}

.stat-box h2 {
  font-size: 60px;
  margin: 0;
  font-weight: bold;
  color: #fff; /* Energetic yellow */
}

.stat-box p {
  font-size: 20px;
  margin-top: 10px;
  color: #fff;
}
/* Media Queries */

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .stats-section {
    padding: 50px 20px;
  }

  .stat-box {
    width: 180px; /* Reduce the box size for smaller screens */
    padding: 15px;
  }

  .stat-box h2 {
    font-size: 50px;
  }

  .stat-box p {
    font-size: 18px;
  }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
  .stats-section {
    padding: 40px 15px;
  }

  .stat-box {
    width: 160px; /* Further reduce box size for compact devices */
    margin: 10px;
    padding: 10px;
  }

  .stat-box h2 {
    font-size: 40px;
  }

  .stat-box p {
    font-size: 16px;
  }
}

/* Small Mobile Phones (max-width: 400px) */
@media (max-width: 400px) {
  .stats-section {
    padding: 30px 10px;
  }

  .stat-box {
    width: 140px; /* Compact size for the smallest devices */
    margin: 8px;
    padding: 8px;
    border-radius: 8px; /* Reduce corner rounding */
  }

  .stat-box h2 {
    font-size: 32px;
  }

  .stat-box p {
    font-size: 14px;
  }
}

/* Ultra-Wide Devices (min-width: 1200px) */
@media (min-width: 1200px) {
  .stat-box {
    padding: 5px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent box background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
    transition: transform 0.3s ease;
  }

  .stat-box h2 {
    font-size: 70px;
  }

  .stat-box p {
    font-size: 22px;
  }
}

/* footer */
.footer {
  background-color: var(--primary-color);
}

.footer__container {
  display: grid;
  gap: 3rem 1rem;
}

.footer__logo {
  margin-bottom: 2rem;
  color: var(--white);
}

.footer__logo div {
  background-color: var(--secondary-color);
}

.footer__socials {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 6px 10px;
  font-size: 1.25rem;
  color: var(--text-light);
  background-color: var(--white);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
  transition: 0.3s;
}

.footer__links a:hover {
  color: var(--secondary-color);
}

.footer__col:last-child .footer__links li {
  margin-bottom: 2rem;
}

.footer__links span {
  font-size: 2rem;
  color: var(--secondary-color);
}

.footer__links h5 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links p {
  color: var(--text-light);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}



/* Mobile-first approach for small screens */


@media (width > 480px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__image:nth-child(1) {
    grid-area: 1/2/2/3;
  }

  .about__image:nth-child(1),
  .about__card:nth-child(4) {
    transform: translateY(2rem);
  }

  .feature__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__images {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__banner {
    grid-template-columns: repeat(2, 1fr);
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding-inline: 1rem;
    background-color: var(--primary-color);
  }

  .nav__bar {
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    border-radius: 5px;
    transform: translateY(50%);
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    width: fit-content;
    padding: 0;
    position: static;
    flex-direction: row;
    transform: none;
    background-color: transparent;
  }

  .booking__container form {
    max-width: 100%;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  }

  .about::before {
    height: 75%;
    width: 75%;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .event__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .feature__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu__header {
    flex-direction: row;
  }

  .menu__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__images {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu__banner {
    grid-template-columns: repeat(4, 1fr);
  }

  .news__header {
    flex-direction: row;
  }

  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: 2fr repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: unset;
  }
}

@media (width > 1024px) {
  .about__grid {
    gap: 2rem;
  }

  .event__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .menu__images {
    gap: 2rem;
  }

  .news__grid {
    gap: 2rem;
  }
}
/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
  /* Section headers */
  .section__header {
    font-size: 2rem;
  }

  /* Header text */
  .header__container h1 {
    font-size: 3rem;
    line-height: 4rem;
  }

  /* Countdown timer */
  .countdown h2 {
    font-size: 2rem;
  }

  .time-box {
    padding: 20px 30px;
    font-size: 20px;
  }

  .time-box span {
    font-size: 40px;
  }

  /* Event cards grid */
  .event__grid {
    grid-template-columns: 1fr; /* Single column layout */
  }

  /* About section grid */
  .about__container {
    display: block; /* Stack elements vertically */
  }

  .about__grid {
    grid-template-columns: 1fr; /* Single column for each card */
  }

  /* Intro section */
  .intro__container {
    display: block;
  }

  /* Booking cards grid */
  .booking__options {
    grid-template-columns: 1fr; /* Stack the cards vertically */
  }

  /* Modal for smaller screens */
  .modal-content {
    width: 95%;
    margin: 30% auto;
  }

  /* Navigation links for mobile */
  .nav__links {
    flex-direction: column;
    padding: 1rem;
  }

 
}
/* WhatsApp Sticky Link */
.whatsapp-link {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Positioned to the right */
  background-color: #25d366;
  color: #fff;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}

.whatsapp-link:hover {
  background-color: #20b455;
  transform: scale(1.1);
}

/* Query Sticky Link */
.query-link {
  position: fixed;
  bottom: 20px;
  right: 80px; /* Adjusted to make space for the WhatsApp button */
  background-color: var(--secondary-color); /* Red color for query button */
  color: #fff;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}

.query-link:hover {
  background-color: #e43e02; /* Darker red when hovered */
  transform: scale(1.1);
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
  .whatsapp-link, .query-link {
    right: 20px;
    bottom: 80px;
  }

  .query-link {
    bottom: 80px;
  }
}

/* Media Query for Mobile Screens (Under 480px) */
@media (max-width: 480px) {
  .whatsapp-link, .query-link {
    font-size: 20px;
    padding: 12px;
  }

  .whatsapp-link {
    bottom: 20px;
    right: 20px;
  }

  .query-link {
    bottom: 70px;
    right: 20px;
  }
}

/* Media Query for Very Small Screens (Under 400px) */
@media (max-width: 400px) {
  .whatsapp-link, .query-link {
    font-size: 18px;  /* Further reduce icon size */
    padding: 10px;    /* Reduce padding */
  }

  .whatsapp-link {
    bottom: 20px;
    right: 10px; /* Slightly move it towards the center */
  }

  .query-link {
    bottom: 50px; /* Further adjust the position */
    right: 10px;  /* Align with the WhatsApp button */
  }
}
