* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

#map { 
    height: 100%;
    min-height: 540px;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%; 
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01" on, "ss05" on;
}

.static-text h1 {
    white-space: pre-wrap; /* Ensures whitespace is preserved in the typing effect */
}

h1 {
    font-size: clamp(2rem, 1.5rem + 1vw, 3rem);
    font-family: "DM Sans", sans-serif;
    line-height: 1.4;
    font-feature-settings: "ss01" on, "ss05" on;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 80%;
    max-width: 80%;
    margin-left: 1%;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Or any height you prefer */
    overflow: hidden;
}

/* Video styling */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the area without stretching */
    z-index: 0; /* Behind the content */
    }

/* Hero content on top of the video */
.hero-content {
    position: relative;
    z-index: 1; /* Above the video */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    color: #ffffff;
    padding: 0 1rem;
}

/* Optional semi-transparent overlay for better text visibility */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark overlay */
    z-index: 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
  
.btn-primary {
    background-color: #ffffff;
    color: #0C1421;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #e1dede;
}
  
.payment-successful {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    font-size: 2rem;
}


.payment-successful img {
    padding-top: 5rem;
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    border-radius: 8px;
    border-radius: 5px;
}

/* FAQ Section container */
.faq {
    padding: 2rem;
    background-color: #f9f9f9; /* Optional background for contrast */
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content:flex-end;
  margin-bottom: 2rem;
  gap: 1rem;
}

/* Reverse layout for even-numbered items */
.faq-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content:flex-start;
}

/* Image styling */
.faq-image img {
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    border-radius: 8px;
}

.faq-image div {
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    border-radius: 8px;
}

/* Limit each column to a maximum of 40% of the container */
.faq-image,
.faq-text {
  flex: 1 1 30%;
  max-width: 40%;
}

.faq-text h3 {
    margin-top: 0;
}

  /* Responsive: on smaller screens, stack content vertically */
@media (max-width: 768px) {
     /* Remove centering from the hero content */

    .form-row {
        flex-direction: column;
        gap: 0.5rem; /* Adjust spacing between inputs as needed */
    }

    /* Stack FAQ items vertically */
    .faq-item,
    .faq-item:nth-child(even) {
      flex-direction: column;
      align-items: flex-start;
    }
  
  /* Make both image and text full width */
  .faq-image,
  .faq-text {
    width: 100%;
    max-width: 100%;
  }
  
  /* Override the default styling for the map container */
  .faq-image > div,
  #map {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Also ensure the map itself takes the full width */
  #map {
    width: 100% !important;
    min-height: 320px; /* adjust this value as needed */
  }
}

  
.form-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #777676;
  transition: border-color 0.3s ease;
  margin-bottom: 1rem;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-bottom: 2px solid #000000;
  outline: none;
}

.booking-form label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #000000;
}

.booking-form button {
  background: linear-gradient(45deg, #f1f1f1, #000000);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  color: #0C1421;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 1rem;
}

.booking-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.floating-label {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-label input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

.floating-label input:focus {
  border-color: #07D87B;
  outline: none;
}

.floating-label label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s ease all;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.7);
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
  top: 0;
  left: 1rem;
  font-size: 0.85rem;
  color: #000000;
  background-color: rgba(12, 20, 33, 0.8);
  padding: 0 4px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 1rem;
}

/* Spinner overlay styling */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  
  /* Hide the overlay by default */
  .hidden {
    display: none;
  }

.spinner {
    display: block; /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -20px 0 0 -20px; /* Centers the spinner */
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000; /* Ensure it’s on top */
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.headers {
    display: flex;
    justify-content: center;
}

.headers h1 {
    display: flex;
    justify-content: center;
}


/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 20, 33, 0.8); /* Semi-transparent dark background */
    color: #fff;
    padding: 1rem 2rem;
    z-index: 100000;
  }
  
  .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .site-header .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
  }
  
  .site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .site-nav a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
  }
  
  .site-nav a:hover {
    color: #07D87B;
  }
  
  /* Footer Styles */
  .site-footer {
    background: #0C1421;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .site-footer p {
    margin: 0.5rem 0;
  }
  
  .social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0;
  }
  
  .social-links li a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .social-links li a:hover {
    color: #07D87B;
  }
  
  /* Ensure the hero section isn't hidden behind the fixed header */
  .hero {
    padding-top: 80px; /* Adjust based on header height */
  }
  
  /* Responsive adjustments for header navigation */
  @media (max-width: 768px) {
    .site-header .container {
      flex-direction: column;
    }
    
    .site-nav ul {
      flex-direction: row;
      gap: 1rem;
      margin-top: 1rem;
    }
  }