/* Using Playfair Display for site typography. Google Fonts import added in HTML head. */

/* Banner Overlay */

.sec-banner {
  position: relative;
  /* Ensures child elements respect its boundaries */
  height: 100vh;
  /* Full viewport height for proper alignment */
  overflow: visible;
  /* Allow overflow for positioned elements */
}

.sec-banner .swiper-container {
  z-index: 1;
}

.sec-banner .realview-overlay h3 {
  padding-top: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

/* Overlay must have a higher z-index */

.sec-banner .realview-overlay {
  position: absolute;
  /* Position relative to the banner */
  top: 4%;
  /* Adjust based on your layout */
  right: 5%;
  /* Adjust alignment */
  z-index: 1000;
  /* Ensure it appears above other elements */
  pointer-events: auto;
  /* Allow interaction */
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.sec-banner .overlay-content {
  text-align: center;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 280px;
  margin-top: 20px;
}

.sec-banner .overlay-content img {
  max-height: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

.sec-banner .subBtn {
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  margin-bottom: 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  color: white;
}

@media (max-width: 768px) {
  .sec-banner .realview-overlay {
    display: none;
  }
}

/* End Banner Overlay */

/* Realview overlay for mobile overlay */

.sec-banner-mobile {
  padding: 30px;
}

.sec-banner-mobile h3 {
  padding-top: 20px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.sec-banner-mobile .column-content {
  text-align: center;
  pointer-events: auto;
  background: lightgray;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  margin: 20px auto;
}

.sec-banner-mobile .subBtn {
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  margin-bottom: 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

@media (max-width: 768px) {
  .sec-banner .realview-overlay {
    display: none;
  }
  .sec-banner-mobile {
    display: block;
  }
}

/* Hide the mobile-specific section on larger screens */

@media (min-width: 769px) {
  .sec-banner-mobile {
    display: none;
  }
}

/* End Realview overlay for mobile overlay */

/* Realview Section */

.sec-realview {
  padding: 50px;
  background-color: #2d3a08;
}

.sec-realview .container {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-realview .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sec-realview .sec-real-img {
  background-color: #fff;
  padding: 16px;
  margin: 20px;
  text-align: center;
  color: black;
  box-sizing: border-box;
  flex: 1 1 calc(33.33% - 40px);
}

.sec-realview .sec-real-img h3 {
  padding: 20px 10px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.sec-realview .sec-real-img p {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 0px 24px;
}

.sec-realview .column-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.sec-realview .submit {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .sec-realview .sec-real-img {
    flex: 1 1 100%;
  }
}

/* End Realview Section */

/* Banner Section */

.sec-banner {
  position: relative;
  height: 100vh;
  /* Adjust this as per your banner image aspect ratio */
  overflow: hidden;
}

.sec-banner .image-container img {
  width: 100%;
  height: auto;
  /* Maintain aspect ratio */
  display: block;
}

/* Ensure the next section doesn't overlap */

.sec-banner + * {
  margin-top: 150px;
  /* Push the next section down */
  position: relative;
  z-index: 0;
  /* Reset stacking for the next section */
}

/* Mobile Adjustments */

@media (max-width: 768px) {
  .sec-banner {
    height: auto !important;
  }
  .sec-banner .realview-overlay {
    display: none;
    /* Hide overlay for mobile */
  }
  .sec-banner-mobile {
    display: block;
    /* Show mobile-specific overlay */
  }
  .sec-banner + * {
    margin-top: 0px;
    /* Push the next section down */
    position: relative;
    z-index: 0;
    /* Reset stacking for the next section */
  }
}

/* Parent container must have position relative */

.sec-banner {
  position: relative;
  /* Establish stacking context */
  height: 100vh;
  /* Full viewport height */
  overflow: visible;
  /* Allow overflow for positioned elements */
  z-index: 1;
  /* Lower z-index for the banner base */
}

/*whatsapp*/

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
}

.my-float {
  margin-top: 16px;
}

@media only screen and (max-width: 600px) {
  .float {
    bottom: 75px;
  }
}

/*Whatsapp*/
