* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.lovers-quarrel-regular-first {
    font-family: "Lovers Quarrel", cursive;
    font-weight: 400;
    font-style: normal;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}
.hero-section-first {
    position: relative;
    height: 578px;
    background-color: rgba(0, 0, 0, 0.5) !important; 
    background-blend-mode: darken;
}

.navbar-first {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-first .logo-first {
    display: flex;
    align-items: center;
}

.navbar-first .logo-first img {
    width: 60px;
    margin-right: 10px;
}

.navbar-first ul {
    list-style: none;
    display: flex;
    gap: 65px;
}

.navbar-first ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    font-family: "Inter", sans-serif;
}

.content-first {
    position: absolute;
    top: 36%;
    left: 33%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #fff;
}

.content-first h1 {
    font-size: 48px;
    margin-bottom: 22px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
}

.content-first h2 {
    font-size: 72px;
    /* margin-bottom: 20px; */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-first .btn {
    padding: 11px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
    border: 1px solid #fff;
}

/* Hide the toggle button on larger screens */
.menu-toggle-first {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .content-first h1 {
        font-size: 42px;
    }

    .content-first h2 {
        font-size: 64px;
    }
}

@media (max-width: 992px) {
    .navbar-first {
        padding: 15px 30px;
    }

    .content-first {
        left: 50%;
    }
}

@media (max-width: 768px) {
    .navbar-first ul {
        gap: 15px;
    }

    .content-first h1 {
        font-size: 36px;
    }

    .content-first h2 {
        font-size: 56px;
    }

    .content-first .btn {
        font-size: 16px;
        padding: 9px 18px;
    }
}

/* Side Menu for Mobile View */
@media (max-width: 576px) {
  .menu-toggle-first {
      display: block;
      background-color: transparent;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
  }

  .navbar-first ul {
      flex-direction: column;
      align-items: center;
      background: #fff;
      position: fixed;
      top: -100%; /* Hidden above the screen by default */
      width: 100%;
      gap: 50px;
      padding: 20px;
      transition: top 0.3s ease; /* Transition the top property for sliding effect */
      z-index: 1000;
      left: 0;
  }

  .navbar-first ul.show-menu {
      top: 0; /* Slide the menu down from the top */
  }

  .navbar-first ul li a {
      color: #000;
      font-size: 17px;
      font-weight: 700;
  }

  .content-first {
      left: 50%;
      text-align: center;
      margin-top: 67px;
  }

  .content-first h1 {
      font-size: 32px;
  }

  .content-first h2 {
      font-size: 48px;
  }

  .content-first .btn {
      font-size: 14px;
      padding: 7px 14px;
  }
}




/* css for new section 2 */
       /* First container styles */
       .first-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background-color: white;
        overflow: hidden; /* Ensure animations don't overflow */
        position: relative; /* For absolute positioning of animation */
    }

    /* Image section styles */
    .first-image-section {
        flex: 1;
        min-width: 300px;
        margin-right: 40px;
    }

    .first-image-section img {
      width: 100%;
      height: 498px;
      display: block;
      padding: 14px;
      /* max-width: 987px;*/
    }

    /* Content section styles */
    .first-content-section {
        flex: 1;
        min-width: 300px;
        /* padding: 20px; */
        transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
        margin-right: 88px;
    }

    /* Content hidden for exit animation */
    .slide-out-left {
        transform: translateX(-100%);
        opacity: 0;
    }

    .slide-out-right {
        transform: translateX(100%);
        opacity: 0;
    }

    .first-content-section h1 {
        font-size: 64px;
        /* margin-bottom: 20px; */
        color: #333;
        font-family: "Lovers Quarrel", cursive;
        font-weight: 200;
    }

    .first-content-section h1 span {
        color: #00a99d;
        font-family: "Lovers Quarrel", cursive;
    }

    .first-content-section p {
      font-size: 19px;
      line-height: 1.4;
        color: #666;
        margin-bottom: 20px;
        font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
    }

    .first-read-more-btn {
        background-color: #3B9095;
        color: #fff;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        font-size: 20px;
        transition: background-color 0.3s ease;
        font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
        margin-top: 10px;
    }

    .first-read-more-btn:hover {
        background-color: #007b6c;
    }

    /* Media Queries for Responsiveness */
    @media (max-width: 1024px) {
        .first-container {
            padding: 15px;
        }

        .first-content-section h1 {
            font-size: 2em;
        }

        .first-content-section p {
            font-size: 0.95em;
        }

        .first-read-more-btn {
            font-size: 0.9em;
            padding: 10px 20px;
        }
        .first-image-section img{
          padding: 0;
        }
    }
    @media (max-width: 1200px){
      .first-image-section img{
        padding: 0;
      }
    }

    @media (max-width: 768px) {
        .first-container {
            flex-direction: column-reverse;
            align-items: center;
            padding: 20px;
        }
       

        .first-image-section {
            margin-right: 0;
            margin-bottom: 20px;
        }

        .first-content-section {
            padding: 0;
            text-align: center;
        }
    }

    @media (max-width: 480px) {
        .first-content-section h1 {
            font-size: 2.8em;
        }
        .slider-wrapper .neww h1 {
          font-size: 2.8em;
        }

        .first-content-section p {
          font-size: 13px;
            line-height: 1.6;
        }

        .first-read-more-btn {
            font-size: 0.85em;
            padding: 8px 16px;
        }
    }

    /* Font style */
    .lovers-quarrel-regular {
        font-family: "Lovers Quarrel", cursive;
    }

    @media (max-width: 2000px) {
        .first-content-section {
            font-size: 17px;
            margin: 30px 0px
        }  
    }








/* css for the new-section 3 */

.section-container {
    /* max-width: 1200px;
    margin: 0 auto; */
    text-align: center;
    /* padding: 20px 29px; */
    background-color: #fff;
    /* margin-top: -26px; */
    
  }
  .section-title {
    font-size: 70px;
    /* margin-bottom: 10px; */
    color: #333;
    font-family: "Lovers Quarrel", cursive;
    font-weight: 100;
  }

  .section-title span {
    color: #00a99d;
    font-family: "Lovers Quarrel", cursive;
  }

  .section-description {
    font-size: 19px;
    line-height: 1.4;
    color: #666;
    /* max-width: 800px; */
    margin: 0px 80px;
    font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
    margin-bottom: 48px;
}
  

  .image-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 38px;
    margin-bottom: 30px;
  }

  .image-card {
    position: relative;
    flex: 1 1 calc(24% - 40px);
    max-width: calc(23% - 40px);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    max-height: 473px;
  }

  .image-card img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    max-height: 473px;
  }

  .image-card:hover img {
    transform: scale(1.05);
  }

  /* Overlay Styles */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(32 31 31 / 60%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 20px;
    text-align: center;
  }

  .image-card:hover .overlay {
    opacity: 1;
  }

  .overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .overlay h3,
  .overlay p,
  .overlay a {
    transform: translateY(-30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
  }
  .overlay h3{
    font-size: 28px;
        }
        .overlay p{
          font-size: 18px;
          font-weight: 100;
        }

  .image-card:hover .overlay h3,
  .image-card:hover .overlay p,
  .image-card:hover .overlay a {
    transform: translateY(0);
    opacity: 1;

  }

  .image-card:hover .overlay h3 {
    transition-delay: 0.1s;
    /* font-size: 12px; */
  }

  .image-card:hover .overlay p {
    transition-delay: 0.2s;
    /* font-size: 9px; */
  }

  .image-card:hover .overlay a {
    transition-delay: 0.3s;
  }

  .view-all-button {
    background-color:  #3B9095;
    color: #fff;
    padding: 12px 32px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease;
    font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
  }

  .view-all-button:hover {
    background-color: #007b6c;
  } 

  @media (max-width: 480px) {
    .image-card {
      flex: 1 1 calc(100% - 20px);
      max-width: calc(100% - 60px);
    }

    /* Hide all cards except the first one */
    .image-card:not(:first-child) {
      display: none;
    }

    .section-title {
      font-size: 2.8em;
    }

    .section-description {
      font-size: 13px;
      margin: 12px 20px;
  
    }

    .view-all-button {
      font-size: 0.85em;
      padding: 8px 16px;
    }
    
  
  }











  /* css for the new-section 4 */
  .video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* margin-top: 18px; */
    max-height: 700px;
}

.video-container img, 
.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-top: 19px;
  height: 100%;
  max-height: 709px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 108px;
  height: 108px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #00a99d;
  font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
  font-weight: 700;
}

.play-button:focus {
    outline: none;
}

.video-container video {
    display: none;
}

@media (min-width: 768px) {
    /* For tablets and larger devices, the height can be increased */
    .video-container img, 
    .video-container video {
        height: auto;
    }
}

@media (max-width: 767px) {
    /* For mobile devices, ensure the height is dynamic and maintains the aspect ratio */
    .video-container img, 
    .video-container video {
        height: auto;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
}

/* css for the section 5 */
 /* slider */
 .slider-wrapper {
   
  /* width: 80%; */
  overflow: hidden;
position: relative;
/* margin: 50px; */
font-family: Arial, sans-serif;
background-color: rgba(1, 150, 114, 0.08);
/* height: 714px; */
}
.slider-wrapper h1{
  font-family: "Lovers Quarrel", cursive;
  text-align: center;
  font-weight: 100;
  font-size: 70px;
  margin-top: 34px;
}
.slider-wrapper h2{
  font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
  text-align: center;
  font-weight: 900;
  font-size: 23px;
  margin-top: 73px;
}

.slider-track {
  display: flex;
  gap: 4.8rem;
  transition: transform 0.5s ease-in-out;
  /* margin-left: 36px; */
  margin: 0px 40px;
}

.slide-card {
flex: 0 0 25%;
max-width: 21%;
/* border: 1px solid #ddd; */
/* border-radius: 3.4rem; */
overflow: hidden;

display: flex;
/* flex-direction: column; */
align-items: center;
/* border: 2px solid #7adc7a; */
box-sizing: border-box;
height: 42rem;
/* margin-top: 4rem; */
}

@media (max-width: 1200px) {
.slide-card {
  flex: 0 0 30%;
  max-width: 28%;
  height: 40rem;
}
}

@media (max-width: 992px) {
.slide-card {
  flex: 0 0 45%;
  max-width: 45%;
  height: 35rem;
  /* overflow: scroll; */
}
}

@media (max-width: 768px) {
.slider-track {
  gap: 15px;
  margin: 0px 10px;
  width: 337px;
}
.slide-card {
  /* flex: 0 0 500%;
  max-width: 91%;
  margin: 0px 0px;
  height: 26rem; */
}


}

@media (max-width: 400px) {
.slider-track {
  gap: 54px;
}

.slide-card {
  flex: 0 0 100%;
  max-width: 100%;
  height: 23rem;
  margin: 0;
}
}






.navigation-dots {
  text-align: center;
  background-color: rgba(1, 150, 114, 0.08);
  padding-bottom: 40px;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #717171;
}

/* Increase the size of the second dot */
.dot:nth-child(2) {
  height: 27px;
  width: 27px;
}
.dot:nth-child(1){
  margin-bottom: 4px;
}

.dot:nth-child(3){
  margin-bottom: 4px;
}








.swiper-slide {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
  }

  .second-testimonial-card {
      background-color: #ffffff;
    /* border-radius: 10px; */
    padding: 17px;
    max-width: 346px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    /* margin: 0 80px; */
    position: relative;
  }

  .second-profile-image {
    width: 150px;
    height: 150px;
      margin: 0 auto;
      margin-bottom: 15px;
      border-radius: 50%;
      overflow: hidden;
      border: 5px solid #ffffff;
      box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: -75px;
      left: 50%;
      transform: translateX(-50%);
  }

  .second-profile-image img {
      width: 100%;
      height: auto;
      display: block;
  }

  .second-testimonial-text {
    font-size: 19px;
    color: #666;
    margin-top: 20px;
      margin-bottom: 20px;
      font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;;
  }

  .second-rating {
      color: #ffcc00;
      font-size: 40px;
  }

  .second-rating span {
      margin-right: 5px;
  }

  /* Media Queries for Responsive Design */
  @media (max-width: 1360px) {
      .second-profile-image{
          /* margin:18px auto; */
          padding: 0;
      }
  }
  @media (max-width: 768px) {
      .swiper-slide {
          max-width: 80%;
      }

      .second-testimonial-card {
        max-width: 235px;
        padding: 9px;
      }

      .second-profile-image {
        width: 108px;
        height: 108px;
        top: -40px;
      }

      .second-testimonial-text {
          font-size: 12px;
          margin-top: 40px;
      }

      .second-rating {
          font-size: 20px;
      }
  }
  
  @media (max-width: 480px) {
      .swiper-slide {
          max-width: 100%;
          justify-content: center;
      }

      .second-testimonial-card {
        flex: 0 0 100%;
        max-width: 98%;
        /* height: 23rem; */
        margin: 12px;
      }

      .second-profile-image {
        width: 112px;
        height: 112px;
        top: -38px;
      }

      .second-testimonial-text {
          font-size: 12px;
          margin-top: 30px;
      }

      .second-rating {
          font-size: 18px;
      }
  }
  .neww p{
    text-align: center;
    color: #000;
    font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
    font-size: 19px;
    margin: 0px 60px;
  }
  /* Media Queries for Mobile View */
/* Styles for devices up to 768px */
@media (max-width: 768px) {
  .slider-track {
    display: block;
    /* overflow-x: auto; */
    white-space: nowrap;
    overflow: scroll;
    width: auto;
  }

  .slide-card {
      display: inline-block;
      vertical-align: top;
      /* width: 80vw; */
      /* padding: 45px; */
      box-sizing: border-box;
      text-align: center; /* Aligns text to the center */
      white-space: normal; /* Allows text to break into multiple lines */
      height: auto;
      padding-top: 40px;
      margin-bottom: 30px;
  }

  .slide-card img {
      border-radius: 50%; /* Circular image like in the example */
      max-width: 150px; /* Adjust based on image size */
      height: auto;
  }

  .second-testimonial-text p{
      font-size: 14px;
      margin: 10px 0;
      padding: 10px;
      line-height: 1.4;
      white-space: normal; /* Allows text to break into multiple lines */
      overflow-wrap: break-word; /* Ensures long words break properly */
      text-align: center; /* Aligns text to the center */
  }

  .stars {
      margin-top: 10px; /* Spacing between the text and stars */
      display: flex;
      justify-content: center;
  }
  .slider-wrapper h2 {
    margin-top: 6px;
}
.neww p{
  font-size: 13px;
  margin: 7px 20px;
}
}

/* Styles for extra small devices up to 400px */
@media (max-width: 400px) {
  .slider-wrapper {
      /* height: 999px; */
  }
  .slider-wrapper h2 {
    margin-top: 43px;
  }

  .slider-track {
      overflow-x: auto;
  }

  .slide-card {
      width: 100vw;
      padding: 29px;
  }

  .second-testimonial-text p{
      font-size: 12px;
      margin: 0;
      padding: 8px;
      line-height: 1.4;
      overflow-wrap: break-word;
      white-space: normal; /* Allows text to break into multiple lines */
  }

  .stars {
      margin-top: 8px;
      display: flex;
      justify-content: center;
  }
}
/* Styles for extra small devices up to 400px */
@media (max-width: 992px) {
  .slider-wrapper {
      /* height: 999px; */
  }
  .slider-wrapper h2 {
    margin-top: 68px;
  }

  .slider-track {
      overflow-x: auto;
  }

  .slide-card {
      width: 100vw;
      /* padding: 52px; */
  }

  .second-testimonial-text p{
      font-size: 12px;
      margin: 0;
      padding: 8px;
      line-height: 1.4;
      overflow-wrap: break-word;
      white-space: normal; /* Allows text to break into multiple lines */
  }

  .stars {
      margin-top: 8px;
      display: flex;
      justify-content: center;
  }
}








/* css for the new-section 6  */

.heading-container {
  text-align: center;
  margin-bottom: 20px;
}

.heading-container h1 {
  font-size: 70px;
  font-family: "Lovers Quarrel", cursive;
  margin: 20px 30px;
  font-weight: 100;
}

.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  margin: 20px 0px;
  height: 500px;
  gap: 30px;
  /* width: 100%; */
}

.left-thumbnails {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 180px; /* Increased width for thumbnails section */
  height: 100%; /* Fill the height of the container */
  padding: 9px;
  box-sizing: border-box;
}

.thumbnail {
  width: 217px;
height: 114px;
margin-bottom: 10px;
transition: transform 0.3s ease;
object-fit: cover;
cursor: pointer;
}

.thumbnail:hover, .thumbnail.active {
  transform: scale(1.05);
  border: 2px solid #3B9095;
}

.right-large-image {
  width: 75%; /* Adjusted to fit alongside the larger left section */
  height: 100%; /* Match height with the left thumbnails */
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-large-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the large image fills the right section without distortion */
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-container {
      flex-direction: column;
      height: auto;
      margin: 10px 20px;
  }

  .left-thumbnails {
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
      height: auto;
  }

  .right-large-image {
      width: 100%;
      height: auto;
  }

  .thumbnail {
      width: 22%;
      margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .heading-container h1 {
      font-size: 2rem;
  }

  .gallery-container {
    margin: 10px 20px;
  }
}

/* css for new-section 7 */
.footer {
  background-color: #111;
  padding: 20px 0;
  text-align: center;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  list-style: none;
}

.container-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo styles */
.logo-footer img {
  max-width: 60px; /* Adjust the size as needed */
  margin-bottom: 15px;
}

/* Navigation styles */
.nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  justify-content: center;
}
ul, li {
          
  list-style: none;
  font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;;
}
.nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  padding: 40px;
}

/* Social media icons */
.social-icons-footer {
  display: flex;
  justify-content: center;
  gap: 52px;
  padding-top: 38px;
}

.social-icons a img {
  width: 30px; /* Adjust the size as needed */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .footer {
      height: auto; /* Auto height for flexibility */
      padding: 30px 0; /* Adjust padding for smaller screens */
  }

  .nav ul {
      gap: 10px; /* Reduce gap for smaller screens */
      padding: 0; /* Remove additional padding */
  }

  .nav ul li a {
      font-size: 14px; /* Smaller font size for smaller screens */
  }

  .social-icons {
      gap: 10px; /* Reduce gap between icons */
  }

  .social-icons a img {
      width: 18px; /* Adjust icon size */
  }
}

@media (max-width: 480px) {
  .logo img {
      max-width: 50px; /* Smaller logo size for very small screens */
  }

  .nav ul {
      flex-direction: column; /* Stack links vertically */
      gap: 15px; /* Add some space between links */
  }

  .nav ul li a {
      padding: 8px; /* Smaller padding for mobile */
  }

  .social-icons {
      gap: 8px; /* Smaller gap for icons */
      margin-top: 20px; /* Add margin for spacing */
  }

  .social-icons a img {
      width: 16px; /* Even smaller icon size */
  }
}