    /* Hero Section */
body.homepage .hero {
  position: static;
  width: 100%;
  height: 85vh;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
}

body.homepage .hero-video {
  position: absolute;
  top: -30%;  /* move video upward */
  left: 0;
  width: 100%;
  height: 130%;  /* increase height a bit to cover gap from moving up */
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}


body.homepage .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 61, 92, 0.2), rgba(135, 206, 235, 1.5));
  z-index: 1;
}

body.homepage .hero h2, .cta-button {
  position: relative;
  bottom: 8rem;
  z-index: 3;
}

body.homepage .hero h2 {
  font-size: 5.5rem;
  color: white;
  bottom: 8rem;
  font-family: 'Bilya Signature', sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body.homepage .cta-button {
  background-color: var(--old-gold);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.2s;
}

body.homepage .cta-button:hover {
  background-color: #f4a261;
  transform: scale(1.2);
}

	/* WAVE WRAPPER BEHIND VIDEO, RISING INTO IT */
body.homepage .waves-wrapper {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 300px;
  background-color: transparent;
  overflow: hidden;
  z-index: 2; /* above video */
  pointer-events: none;
}

	/* WAVE STYLE */
body.homepage .wave {
  position: absolute;
  bottom: 0; /* Lift it into the video slightly */
  left: 0;
  width: 300%;
  height: clamp(100px, 15vh, 170px);
  fill: #f4f9fc; /* Exact background color */
  animation: waveMove 30s linear infinite;
  opacity: 1;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

   /* intro section */
body.homepage .intro-about {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

body.homepage .intro-why {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

body.homepage .intro-about p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

body.homepage .intro-why h3 {
  font-size: 2rem;
  color: var(--old-gold);
  margin-bottom: 1rem;
}

body.homepage .intro-why p {
  font-size: 1.2rem;
}


body.homepage .icon-container h3 {
  font-size: 3rem;
  color: var(--old-gold);
}

body.homepage .icon-container p {
  font-size: 2rem;
}

body.homepage .icon-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  grid-template-rows: repeat(2, 1fr); /* 2 equal rows */
  gap: 20px; /* Adds space between the boxes */
  max-width: 1200px;
  width: 100%;
}

body.homepage .icon-box {
  /* Your icon box styles here */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 250px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

body.homepage .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

body.homepage .icon-box .icon {
  background-color: transparent;
  color: var(--navy-blue);
  font-size: 28px;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.homepage .icon-box .title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 5px;
  padding: 0.5rem;
}

body.homepage .icon-box .description {
  margin: 0;
  color: var(--navy-blue);
  font-size: 0.95rem;
}

	/* Form Section */
body.homepage .form-section {
  background-color: #ffffff;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  border: 1px solid #ddd;
  border-radius: 10px;
}

body.homepage form {
  display: flex;
  flex-direction: column;
}

body.homepage form label {
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

body.homepage form input, form textarea, form select {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

body.homepage form button {
  margin-top: 1.5rem;
  background-color: var(--old-gold);
  border: none;
  padding: 0.8rem;
  color: white;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

body.homepage .form-consent-checkbox {
  margin: 1rem 0 1rem 0;
  font-size: 0.85rem;
  color: #555;
}

body.homepage .form-consent-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
}

    /* Map Section */
body.homepage .map-section {
  text-align: center;
  padding: 2rem;
}

body.homepage .map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 10px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: filter 0.8s ease-in-out;
  transition: filter 0.8s ease-in-out;
}

body.homepage .map-section.in-view iframe {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

/* Desktop header layout fix */
@media (min-width: 1251px) {
  
}

@media (max-width: 1250px) {
 body.homepage  .hero h2 {
  font-size: 5rem;
  bottom: 8rem;
 }

body.homepage .cta-button {
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
  bottom: 9rem;
 }
  
body.homepage .icon-container {
  grid-template-columns: repeat(2, 1fr); /* Stack into 1 column on small screens */
 }
}

@media (max-width: 768px) {
body.homepage  .hero h2 {
  font-size: 3.5rem;
  bottom: 8rem;
 }

body.homepage .cta-button {
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  bottom: 8rem;
 }
body.homepage .intro h3 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 3rem;
 }
  
 body.homepage .intro p {
  margin-top: 0;
  margin-bottom: 8rem;
  font-size: 2rem;
 }
 body.homepage .icon-container {
  grid-template-columns: 1fr; /* Stack into 1 column on small screens */
 }

 body.homepage .icon-box {
  flex: 1 1 100%; /* Full width for each box on smaller screens */
 }
}

@media (max-width: 600px) {
 body.homepage .hero h2 {
   font-size: 3rem;
  }

 body.homepage .cta-button {
   font-size: 1rem;
   padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 368px) {
  div#recaptcha-container {
  position: relative;
  scale: 0.7;
  right: 2.5rem;
}
  body.homepage .icon-box {
  height: 320px;
}
}