/* Hero Secrtion */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 8vh;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Gallery Section */
.swiper {
  width: 100%;
  height: 40% !important;
  margin-bottom: 8vh;
}

.swiper-slide {
  text-align: center;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-container {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 8vh;
}

/* Newsletter Section */
.newsletter-section {
  background-color: var(--red);
  width: 100%;
  padding: 6rem 0;
}

.newsletter-wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 1rem 0;
}

.newsletter-title {
  color: var(--white);
}

.newsletter-wrapper form {
  display: flex;
  gap: 0 !important;
  flex-wrap: wrap;
  align-items: center;
}

.newsletter-wrapper form input[type="email"] {
  flex: 1 1 auto;
  max-width: 25%;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  height: 40px;
  box-sizing: border-box;
}

.newsletter-wrapper form input[type="email"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

.newsletter-wrapper form button {
  background-color: var(--black);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  height: 40px;
  transition: background-color 0.3s ease;
}

.newsletter-wrapper form button:hover {
  background-color: var(--grey-dark);
}

.newsletter-wrapper form .terms-checkbox {
  width: 100%;
  margin-top: 0.5rem;
  color: #eee;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.newsletter-wrapper form .terms-checkbox input[type="checkbox"] {
  accent-color: var(--black);
}

/* SweetAlert2 Custom Styles */
.swal2-container {
  z-index: 9999999 !important;
}

/* Sponsors Swiper */
.sponsors-section {
  background-color: var(--grey-light);
  width: 100%;
  margin: 0 auto;
}

.sp-title {
  margin-top: 4vh;
}

.sponsors-wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 2rem 2rem;
}

.sponsorsSwiper .swiper-slide {
  text-align: center;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: auto;
  border-radius: 0;
  overflow: visible;
  padding-bottom: 2rem;
}

.sponsorsSwiper .swiper-slide img {
  display: block;
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.sponsor-logo {
  flex: 0 1 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.sponsor-logo img:hover {
  filter: none;
  transform: scale(1.05);
}

.fancybox__container {
  z-index: 99999 !important;
}

@media (max-width: 1200px) {
  .newsletter-wrapper form input[type="email"] {
    max-width: 35%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

  .newsletter-section {
    padding: 8rem 0;
  }

  .sponsors-wrapper {
    padding: 2rem 1rem;
  }

  .sponsor-logo {
    flex: 0 1 80%;
  }
}

@media (max-width: 768px) {
  .newsletter-title {
    text-align: center;
  }

  .newsletter-wrapper form input[type="email"] {
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .newsletter-wrapper form button {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 4px;
  }

  .newsletter-wrapper form .terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
  }
  .newsletter-wrapper form .terms-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
  }

  .sponsors-wrapper {
    width: 95%;
    padding: 4rem 1rem;
  }

  .sponsor-logo {
    flex: 0 1 75%;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1920px) {
  .navbar-container {
    max-width: 1890px;
  }

  .newsletter-wrapper {
    max-width: 1890px;
  }

  .sponsors-wrapper {
    max-width: 1890px;
  }

  .instagram-container {
    max-width: 1890px;
  }
}
