:root {
  --primary-color: #00a651;
  /* Verde da logo */
  --secondary-color: #58cced;
  /* Azul vibrante */
  --accent-color: #7b42f6;
  /* Roxo energético */
  --light-color: #e0ffe0;
  /* Verde claro suave */
  --dark-color: #333;
  --white-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #f9f9f9;
  color: var(--dark-color);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.3rem;
}

/* -----------------------------
   Header
----------------------------- */
header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  padding: 1.25rem 0;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1001;
  /* Higher than the nav-menu */
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: 5rem 5rem;
}

.header-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: baseline;
  position: relative;
  z-index: 1;
  align-content: stretch;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
}

.logo img {
  height: 3.75rem;
  margin-left: 0.9375rem;
  margin-right: 0.625rem;
}

.logo-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-left: 1.25rem;
  margin-right: 0.625rem;
}

.logo-text h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  margin-left: 0.9375rem;
}

.logo-text p {
  font-size: 1rem;
  opacity: 0.9;
  padding: 0.6rem 0.4rem;
  margin-right: 1.34rem;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--white-color);
  text-decoration: none;
  margin-left: 1.875rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -0.3125rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: var(--white-color);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* -----------------------------
   Social Icons
----------------------------- */
.social-icons {
  display: inline-flex;
  gap: 0.5rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  padding: 0.8rem 0.2rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-0.1875rem);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--white-color);
}

.social-icon {
  /* css de transiion de tela e scroll */
  transition: transform 0.5s;
  transform: translateY(0);
  transition: transform 0.5s;
  transform: translateY(0);
  transform: translateY(0);
  transform: translateY(0);
}

/* -----------------------------
   Hero Section
----------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 15s linear infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 5s;
}

.slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slideShow {
  0%,
  28% {
    opacity: 1;
  }

  33%,
  95% {
    opacity: 0;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 2rem;
  border-radius: 0.625rem;
  margin-top: 0;
  background-color: rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 50rem;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  max-width: 43.75rem;
  margin: 0 auto 1.875rem;
  opacity: 0.9;
}

.event-details {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.9375rem 1.875rem;
  border-radius: 0.625rem;
  margin-bottom: 1.875rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.2);
}

.event-details .detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.625rem 0;
}

.event-details .detail-item svg {
  margin-right: 0.625rem;
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--secondary-color);
}

.event-details .detail-item span {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Adicione esses estilos ao seu arquivo CSS */

.tickets-sold-out {
  background-color: #ff5252;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button.disabled {
  background-color: #cccccc !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.results-list {
  margin-top: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-item {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
}

.result-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.result-item h4 {
  margin-top: 0;
  color: #00a651;
  font-size: 1.2rem;
}

.result-item p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #555;
}

.result-item strong {
  color: #333;
  font-weight: 600;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white-color);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.9375rem 2.5rem;
  border-radius: 3.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.9375rem rgba(123, 66, 246, 0.4);
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.5rem 1.25rem rgba(123, 66, 246, 0.6);
  background-color: #8952ff;
}

/* -----------------------------
   Content Sections
----------------------------- */
.content-section {
  padding: 5rem 0.2rem;
}

.section-header {
  text-align: center;
  /* margin-bottom: 3.125rem; */
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 0.9375rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.375rem;
  height: 0.1875rem;
  background-color: var(--accent-color);
}

.section-header p {
  font-size: 1.125rem;
  color: #666;
  max-width: 43.75rem;
  margin: 0 auto;
}

/* -----------------------------
   About Event Section
----------------------------- */
.about-event {
  padding: 5rem 0;
  background-color: var(--white-color);
}

.about-container {
  display: grid;
  gap: 3.125rem;
  align-items: center;
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--dark-color);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  text-align: justify;
}

.about-image {
  flex: 1;
  position: relative;
  height: 25rem;
  border-radius: 0.9375rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
}

/* -----------------------------
   Carousel
----------------------------- */
.carousel {
  position: relative;
  width: 100%;
  height: 25rem;
  overflow: hidden;
  border-radius: 0.9375rem;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.625rem 0.9375rem;
  cursor: pointer;
  z-index: 100;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: 0.625rem;
}

.next {
  right: 0.625rem;
}

.carousel-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.625rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

/* -----------------------------
   Features Section
----------------------------- */
.features-section {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 1.875rem;
}

.feature-card {
  background-color: var(--white-color);
  border-radius: 0.9375rem;
  padding: 1.875rem;
  box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4.375rem;
  height: 4.375rem;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.9375rem;
  color: var(--primary-color);
}

.feature-card p {
  font-size: 1rem;
  color: #555;
}

/* -----------------------------
   Schedule Section
----------------------------- */
.schedule-section {
  padding: 1.2rem;
  background-color: #f9f9f9;
}

.schedule-block {
  background-color: var(--white-color);
  border-radius: 0.9375rem;
  padding: 1.2rem;
  box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.schedule-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  border-bottom: 0.125rem solid var(--light-color);
  padding-bottom: 0.125rem;
}

.schedule-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9375rem;
  border-bottom: 0.0625rem dashed #e0e0e0;
}

.schedule-time {
  min-width: 6.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

.schedule-details {
  flex: 1;
  min-width: 12.5rem;
}

.schedule-details h4 {
  margin-bottom: 0.3125rem;
  font-size: 1.125rem;
}

.schedule-details p {
  font-size: 0.875rem;
  color: #666;
}

/* -----------------------------
   Form Section
----------------------------- */
.form-section {
  padding: 5rem 0;
  background-color: var(--light-color);
  display: none;
}

.form-section.active {
  display: block;
}

.form-container {
  background-color: var(--white-color);
  max-width: 50rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 0.9375rem;
  box-shadow: 0 0.3125rem 1.5625rem rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-header {
  text-align: center;
  margin-bottom: 1.875rem;
}

.form-header h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.625rem;
}

.form-header p {
  color: #666;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: flex;
  margin-bottom: 0.1rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9375rem;
  border: 0.125rem solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.1875rem rgba(88, 204, 237, 0.2);
}

.package-options {
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 2fr));
  gap: 1.25rem;
  margin-bottom: 1.875rem;
}

.package-option {
  border: 0.125rem solid #e0e0e0;
  border-radius: 0.625rem;
  padding: 0.75rem 1.25rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  margin-bottom: 1.8rem;
  height: 100%;
}

.package-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(0, 166, 81, 0.05);
}

.package-option h4 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  color: var(--primary-color);
}

.package-option p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.9375rem;
}

.package-price {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 0.625rem;
}

.radio-container {
  position: absolute;
  top: 0.9375rem;
  right: 0.9375rem;
}

.submit-btn {
  width: 100%;
  margin-top: 1.25rem;
}

/* -----------------------------
   Payment Section
----------------------------- */
.payment-section {
  padding: 5rem 0;
  background-color: var(--light-color);
  display: none;
}

.payment-section.active {
  display: block;
}

.payment-container {
  background-color: var(--white-color);
  max-width: 50rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 0.9375rem;
  box-shadow: 0 0.3125rem 1.5625rem rgba(0, 0, 0, 0.1);
}

.payment-header {
  text-align: center;
  margin-bottom: 1.875rem;
}

.payment-header h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.625rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.payment-method {
  border: 0.125rem solid #e0e0e0;
  border-radius: 0.625rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

.payment-method:hover {
  border-color: var(--secondary-color);
}

.payment-method.selected {
  border-color: var(--primary-color);
  background-color: rgba(0, 166, 81, 0.05);
}

.payment-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
  border-radius: 0.5rem;
}

.payment-details {
  flex: 1;
}

.payment-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.3125rem;
}

.payment-details p {
  font-size: 0.875rem;
  color: #666;
}

.back-button {
  background-color: transparent;
  color: var(--primary-color);
  border: 0.125rem solid var(--primary-color);
  margin-right: 0.9375rem;
}

.back-button:hover {
  background-color: rgba(0, 166, 81, 0.1);
  transform: translateY(-0.1875rem);
}

.action-buttons {
  margin-top: 1.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* -----------------------------
   Call to Action
----------------------------- */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  text-align: center;
  padding: 5rem 1.25rem;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.cta-section p {
  font-size: 1.125rem;
  max-width: 43.75rem;
  margin: 0 auto 1.875rem;
  opacity: 0.9;
}

.scroll-link {
  transition: transform 0.2s ease;
}

/* -----------------------------
   Footer
----------------------------- */
footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  height: 3.125rem;
}

.footer-links {
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--white-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-text {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* -----------------------------
   Animations
----------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

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

.animated {
  animation: fadeIn 0.6s ease-out forwards;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
  z-index: 99;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background-color: #008741;
  transform: translateY(-0.25rem);
}

/* -----------------------------
   Responsive Design
----------------------------- */

/* Base styles for small devices (under 576px) already in place */

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .hero h2 {
    font-size: 3.25rem;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .hero h2 {
    font-size: 3.5rem;
  }

  .about-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container,
  .check-registration-container,
  .payment-container {
    padding: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

/* Mobile devices (767px and below) */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    /* Adjust based on your header height */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 1000;
    /* Increased z-index */
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    margin: 1rem 0;
    font-size: 1.25rem;
  }

  .header-content {
    /* flex-direction: column; */
  }

  .logo {
    margin-bottom: 0.4rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-image {
    height: 15rem;
  }

  .carousel {
    height: 15rem;
  }

  .event-details {
    padding: 0.75rem;
  }

  .event-details .detail-item span {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .back-button {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .about-content h3 {
    font-size: 1.75rem;
  }
}

/* Extra small devices (575px and below) */
@media (max-width: 575px) {
  .hero h2 {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .form-container,
  .payment-container {
    padding: 1.5rem;
  }
}

/* Navigation Toggle Styles */
.nav-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 100;
}

.nav-trigger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* X icon transformation when active */
.nav-trigger.active span:first-child {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-trigger.active span:nth-child(2) {
  opacity: 0;
}

.nav-trigger.active span:last-child {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile header text proportionality */
@media (max-width: 768px) {
  header {
    position: relative;
  }

  .nav-menu {
    top: 100%;
    /* Position right below the header */
    position: absolute;
  }

  .logo-text h1 {
    font-size: 1.2rem;
    /* Adjust based on your needs */
    letter-spacing: 1px;
  }

  .logo-text p {
    font-size: 0.8rem;
    /* Adjust based on your needs */
  }

  .logo img {
    max-width: 24%;
    height: auto;
  }

  /* Show nav trigger on mobile */
  .nav-trigger {
    display: flex;
  }

  /* Mobile navigation menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    /* Adjust based on your header height */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 99;
  }

  .nav-menu.active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-menu a {
    padding: 15px 20px;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Adjust social icons positioning in mobile */
  .header-content .social-icons {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text p {
    font-size: 1rem;
  }

  .logo img {
    max-width: 50%;
  }

  /* Hide social icons in very small screens */
  .header-content .social-icons {
    display: none;
  }

  /* Adjust nav trigger position */
  .nav-trigger {
    /*position: absolute;*/
    right: 20px;
    top: 50%;
    /*transform: translateY(-50%);*/
  }
}

/* Improve form responsiveness */
@media (max-width: 768px) {
  .package-option {
    width: 100%;
    margin-bottom: 15px;
  }

  .name-field {
    width: 100%;
  }
}

.togglefaq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background-color: #00a651;
  color: var(--white-color);
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
}

.faq-question select {
  background-color: var(--secondary-color);
  color: var(--white-color);
  transition: background-color 0.3s ease;
}

.faq-answer {
  padding: 15px;
  display: none;
  border-top: 1px solid #e0e0e0;
  background-color: #ffffff;
}

/* CSS for the back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-color);
  /* Change this to match your color scheme */
  color: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top-btn:hover {
  background-color: var(--primary-color);
  /* Darker shade on hover */
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* CSS for the confirmation section */
#confirmation-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
  display: none;
}

#confirmation-section.visible {
  display: block;
}

.confirmation-content {
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  margin-bottom: 20px;
}

.confirmation-title {
  color: #333;
  margin-bottom: 25px;
}

.confirmation-text {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

.whatsapp-container {
  margin: 25px 0;
}

.whatsapp-link {
  display: inline-flex;
  background-color: var(--accent-color);
  text-decoration: none !important;
  padding: 16px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.whatsapp-link .fa-whatsapp::before {
  color: rgb(76, 175, 80) !important;
  font-size: 26px !important;
}

.whatsapp-link:hover {
  background-color: #c2e2c2;
  transform: translateY(-2px);
  color: var(--primary-color) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.whatsapp-link a {
  color: var(--white-color) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.whatsapp-link a:hover {
  color: var(--primary-color) !important;
}

.whatsapp-link i {
  margin-right: 8px !important;
}

.whatsapp-link i:hover {
  color: var(--primary-color) !important;
}

.payment-button {
  background-color: #4caf50;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 20px 0;
  transition: all 0.3s ease;
  height: fit-content;
}

.warning-close {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: rgba(236, 233, 233, 0.7);
}

.warning-close:hover {
  background-color: rgba(217, 255, 0, 0.9);
}

.payment-button {
  background-color: #4caf50;
  display: inline-flex;
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  flex-direction: column;
}

.payment-button:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.category-text {
  font-size: 16px;
  color: #666;
  margin-top: 20px;
}

.category-text span {
  font-weight: 600;
  color: #333;
}

/* Modal */
/* Confirmation Popup Styles */
.confirm-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.confirm-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.confirm-popup.active .popup-content {
  transform: translate(-50%, -50%);
}

.popup-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.popup-content p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.popup-buttons button {
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.popup-buttons button#confirm-yes {
  background-color: var(--primary-color);
  color: white;
}

.popup-buttons button#confirm-yes:hover {
  background-color: #008741;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 166, 81, 0.2);
}

.popup-buttons button#confirm-no {
  background-color: #f5f5f5;
  color: #666;
}

.popup-buttons button#confirm-no:hover {
  background-color: #e8e8e8;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .popup-content {
    padding: 1.5rem;
    width: 85%;
  }

  .popup-content h3 {
    font-size: 1.25rem;
  }

  .popup-content p {
    font-size: 1rem;
  }

  .popup-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .popup-buttons button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

.check-registration-section {
  padding: 5rem 0;
  background-color: #fff;
  display: none;
}

.search-group {
  margin-bottom: 1.4rem;
}

.search-group input,
.search-group select {
  width: 100%;
  padding: 0.9375rem;
  margin-bottom: 0.6rem;
  row-gap: 0.6rem;
  border: 0.125rem solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-group input:focus,
.search-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.1875rem rgba(88, 204, 237, 0.2);
}

.search-group button {
  padding: 1rem;
}

#congregation select {
  width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            font-size: 1rem;
            background-color: white;
            outline: none;
            transition: all 0.2s;
}

#congregation select:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-color: #3b82f6;
}


.check-registration-container {
  background-color: var(--white-color);
  max-width: 50rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 0.9375rem;
  box-shadow: 0 0.3rem 1.5625rem rgba(0, 0, 0, 0.1);
  position: relative;
}

.search-results {
  background-color: var(--white-color);
  padding: 1rem;
  /*border-radius: 0.9375rem;
  box-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.1);*/
}

.payment-warning {
  background-color: #ffe6e6;
  border: 1px solid #ffcccc;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}
