/* ------------------------------------------Index Page------------------------------------------------------- */
.main-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #573236;
  height: 400px;
}

.main-banner h1 {
  color: #279e9b;
}
.hero.mobile {
  display: block;
}
.hero.mobile>img {
  margin-top: -100px;
  overflow: hidden;
  object-fit: contain;
  width: 100%;
}
.hero.desktop {
  display: none;
}
.hero1 .text h1 {
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 3.2rem;
  margin: 0;
  text-align: center;
}


.pages__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70%;
  margin: auto;
}

.pages__hero .text {
  animation: h1-slidein-top 1s ease;
}

.pages__hero .text .sub-head {
  margin-bottom: 30px;
}
.pages__hero .text p {
  font-size: 1.2rem;
  margin: 0;
}

.pages__hero .text button {
  background-color: #FD818E;
  font-family: "Work Sans";
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  border: none;
  border-radius: 10px;
  margin-top: 2rem;
  cursor: pointer;
  &:hover {
    background-color: #FF5D6F;
  }
}
.pages__hero img {
  position: relative;
  top: -50px;
  height: 600px;
  width: 400px;
  object-fit: cover;
  object-position: 40% 0;
}
.index__section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 50px auto;
  overflow: hidden;
}
.index__section.no_crop{
  overflow: unset;
}
/* ------------------------------------------second_fold page------------------------------------------------------- */
.second__fold {
  position: relative;
}
.second__fold>.sub-header {
  font-size: 0.8rem;
  margin-bottom: 0;
}
.second__fold>h2 {
  margin: 0;
  text-align: center;
}
.second__fold>p {
  width: min(90vw, 800px);
}

.second__fold__section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(90vw, 1000px);
  gap: 2rem;
}
.second__fold__section.reverse {
  flex-direction: column-reverse;
}
.second__fold__section>.content {
  width: 80vw;
  margin: auto;
  margin-bottom: 100px;
}
.second__fold__section>.content>.sub-header {
  font-size: 0.8rem;
  margin-bottom: 0;
}
.second__fold__section>.content h3 {
  font-size: 2rem;
  margin-top: 0;
}
.second__fold__section>.image {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 90vw;
  min-height: 500px;
}
/* ------------------------------------------thid fold page------------------------------------------------------- */
.how___section {
  background-color: #073431;
  margin-bottom: 0;
  padding-bottom: 50px;
  color: white;
  &>h2 {
    color: #B59155;
  }
}
.how___points {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  margin: auto;
}
.how___points .content__point {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 250px;
  text-align: center;
}
.how___points .content__point img {
  height: 100px;
  width: auto;
}
.how___points .content__point>h4 {
  margin-bottom: 0;
  color: #B59155;
}
.how___points .content__point p {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1rem;
}

.how___points>.vl {
  display: none;
  border-left: 1px solid #B59155;
  height: 400px;
}



.why__section {
  background-color: #B59155;
  margin-top: 0;
}

.why_content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.why__points {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  width: 80vw;
  gap: 1rem;
  /* overflow: hidden; */
}
.why_content .image {
  /* display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center; */
  /* gap: 1rem; */

  /* background-attachment: fixed; */
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* width: 50%; */
  height: 500px;
}
.why__points>h2 {
  font-size: 2.8rem;
  margin-top: 0;
}
.why_content .content__point {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* width: min(90vw, 700px); */
  /* gap: 1rem; */
}
.why_content .content__point img {
  width: 25px;
  height: auto;
}
.why_content .content__point .content__text p {
  margin: 0.5rem 0;
  text-align: center;
}
.stats__section {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}
.stats__section>.stats__point {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  width: min(90vw, 300px);
  text-align: center;
  & p:first-of-type {
    font-size: 2rem;
    font-weight: bold;
    color: #B59155;
    margin-bottom: 0;
  }
  & p:last-of-type {
    font-size: 1rem;
    margin-top: 0;
  }
}

.testimonials__section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  /* gap: 1rem; */
  margin: 100px auto;
  /* padding-bottom: 2rem; */
  width: min(90vw, 1000px);
}
.testimonials__points {
  position: relative;
}
.testimonials__section>h2 {
  margin: 0;
}
.testimonials__section .slides-control {
  position: relative;
  display: none;
  width: 100%;
  z-index: 1;
  & a:first-of-type {
    position: absolute;
    cursor: pointer;
    left: 0;
  }
  & a:last-of-type {
    position: absolute;
    cursor: pointer;
    right: 0;
  }
}
.testimonials__section>.testimonials__points>.testimonials__indv__point {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  & p:first-of-type {
  }
  & p:last-of-type {
    font-weight: bold;
  }

}


/* Container for the dot indicators below the slider */
.dots-container {
    position: relative;
    /* top: 20px; */
    left: 0;
    right: 0;
    display: flex; /* Enables flexbox layout for horizontal alignment */
    justify-content: center; /* Centers the dots horizontally */
    align-items: center; /* Centers the dots vertically */
    /* margin-top: -30px; */
}

/* Common styling for each individual dot */
.dot {
    height: 10px; /* Fixed height for the dots */
    width: 10px; /* Fixed width for the dots */
    margin: 0 5px; /* Spacing between the dots */
    background-color: rgba(181, 145, 85, 1); /* Semi-transparent white background */
    border-radius: 50%; /* Makes the dots round */
    display: inline-block; /* Ensures dots are inline */
    cursor: pointer; /* Changes cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color on hover */
}

/* Styling for the active dot - indicates the current slide */
.dot.active {
    background-color: rgba(181, 145, 85, 0.2); /* Solid white background for the active dot */
}


@media screen and (min-width: 425px) {}
@media screen and (min-width: 600px) {
  .pages__hero {
    flex-direction: row;
  }
  .stats__section>.stats__point {
    gap: 1rem;
    justify-content: start;
  }
}
@media screen and (min-width: 768px) {
  .hero {
    /* background-position: center; */
  }
  .hero.mobile {
    display: none;
  }
  .hero.desktop {
    display: block;
    position: relative;
    margin-top: -120px;
    padding-top: 150px;
    padding-bottom: 50px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: contain;
    width: 100%;
    /* height: min(100%, calc(700px - 50px)); */
    z-index: -2;
  }

  .index__section {
    overflow: unset;
  }
  .second__fold__section, .second__fold__section.reverse {
    flex-direction: row;
  }
  .second__fold__section>.content {
    width: 50%;
    margin: auto;
  }
  .second__fold__section>.image {
    width: 50%;
  }


  .how___points {
    gap: 2rem;
  }
  .how___points>.vl {
    display: block;
  }

  .why_content {
    /* flex-wrap: nowrap; */
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
    width: 100%;
    overflow-x: clip;
  }
  .why_content .image {
    width: 50%;
    height: unset;
  }
  .why_content .content__point {
    flex-direction: row;
    justify-content: start;
    /* width: calc(100% - 300px - 2rem); */
    gap: 1rem;
  }
  .why_content .content__point .content__text {
    align-items: start;
    text-align: left;
    &>p {
      text-align: left;
    }
  }

  .why__points {
    align-items: start;
    width: 400px;
    padding-left: 2rem;
  }
  .how___points {
    gap: 2rem;
  }
  .how___points .content__point {
    width: min(25%, 250px);
    justify-content: start;
    padding-top: 3rem;
  }
  .how___points>.vl {
    display: block;
  }
  .testimonials__section {
    flex-direction: row;
    gap: 5rem;
    margin: 50px auto;
  }
  .testimonials__section .slides-control {
    display: block;
  }

}
@media screen and (min-width: 850px) {
  .hero.desktop {
    padding-top: 200px;
  }
}
@media screen and (min-width: 1024px) {
  .hero.desktop {
    padding-top: 250px;
  }
  .why_content {
    width: min(100vw, 1000px);
    overflow-x: visible;
  }
  .why_content .content__point {
    width: 100%;
  }
  .why_content .content__point .content__text {
    width: 100%;
  }
  .why__points {
    padding-left: 0;
  }
  .how___points {
    gap: 4rem;
  }

}
@media screen and (min-width: 1200px) {
  .hero.desktop {
    padding-top: 300px;
  }
}
@media screen and (min-width: 1440px) {
  .hero.desktop {
    padding-top: 350px;
  }
}
@media screen and (min-width: 1700px) {
  .hero.desktop {
    padding-top: 400px;
  }
}
@media screen and (min-width: 2000px) {
  .hero.desktop {
    padding-top: 480px;
  }
}
