

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

iframe {
  aspect-ratio: 16/9;
}

.video-container {
  margin: 2rem;
  max-height: 300px;
}

img {
  display: block;
  max-width: 100%;
}

main {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.container1 {
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  --position: 50%;
}

.image-container1 {
  max-width: 800px;
  max-height: 90vh;
  aspect-ratio: 1/1;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-before {
  position: absolute;
  inset: 0;
  width: var(--position);
  filter: grayscale(100%)
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  /* for Firefox */
  width: 100%;
  height: 100%;
}

.slider:focus-visible ~ .slider-button {
  outline: 5px solid black;
  outline-offset: 3px;
}

.slider-line {
  position: absolute;
  inset: 0;
  width: .2rem;
  height: 100%;
  background-color: #fff;
  /* z-index: 10; */
  left: var(--position);
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-button {
  position: absolute;
  background-color: #fff;
  color: black;
  padding: .5rem;
  border-radius: 100vw;
  display: grid;
  place-items: center;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* z-index: 100; */
  box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}



/* Banner Text Styling */
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* Optional background for better readability */
  padding: 20px;
  border-radius: 10px;
  width: 80%; /* Adjust width for responsiveness */
}

.banner-heading {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

.banner-subtext {
  font-size: 1.5rem;
  margin: 10px 0;
}

.banner-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff5722;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.banner-button:hover {
  background-color: #e64a19;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner-heading {
    font-size: 2rem;
  }

  .banner-subtext {
    font-size: 1.2rem;
  }

  .banner-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .banner-heading {
    font-size: 1.5rem;
  }

  .banner-subtext {
    font-size: 1rem;
  }

  .banner-button {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}







/* General Styling */
.about-us {
  padding: 50px 0;
  background-color: #ffffff;
}

.img-carousel-type .container {
  max-width: 1200px;
  margin: 0 auto;
}

.left-img img {
  width: 100%;
  margin-bottom: 15px;
 /* border-radius: 10px;*/
}

.img-content {
  background-color: #ffffff;
  padding: 43px;
  /*border-radius: 10px;*/
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.img-content h3 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 15px;
}

.img-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .img-content h3 {
    font-size: 1.5rem;
  }

  .img-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .left-img img {
    margin-bottom: 10px;
  }

  .img-content {
    padding: 15px;
  }
}








.section-title {
  color: var(--primary-text);
  text-align: center;
  font-size: 40px;
  font-family: "Cormorant Garamond";
  font-weight: bold;
  font-style: normal;
  line-height: 48px;
  position: relative;
  margin-bottom: 52px;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  left: 25%;
  top: 22px;
  width: 45px;
  height: 2px;
  background-color: var(--secondary-text);
}
.section-title::after {
  left: unset;
  right: 25%;
}
.testimonial-section {
  padding-top: 82px;
  padding-bottom: 72px;
}

.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  text-align: center;
  border-radius: 40px;
  padding: 30px 23px;
  background: #efefef;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: var(
    --swiper-pagination-bullet-width,
    var(--swiper-pagination-bullet-size, 15px)
  );
  height: var(
    --swiper-pagination-bullet-height,
    var(--swiper-pagination-bullet-size, 15px)
  );
  background: #d9d9d9;
  background: #504b4b;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: var(--swiper-pagination-bottom, -4px);
}

.swiper-pagination-bullet-active {
  background: var(--primary-text);
}

.swiper.testimonial-wrapper {
  padding-top: 59px;
  padding-bottom: 60px;
}

.testimonial-items .testimonial-text {
  color: var(--white-text-white);
  text-align: center;
  font-size: 16px;
  font-family: "Outfit";
  font-weight: normal;
  font-style: normal;
  max-width: 330px;
  margin-bottom: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  -webkit-line-clamp: 4;
}

.testimonial-items .testimonial-title {
  color: var(--white-text-white);
  text-align: center;
  font-size: 16px;
  font-family: "Outfit";
  font-weight: bold;
  font-style: normal;
  margin-bottom: 35px;
  position: relative;
}

.testimonial-items .testimonial-title::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 9px;
  width: 20px;
  height: 1px;
  background-color: var(--white-text-white);
}

.testimonial-img {
  position: relative;
  width: 100px;
  height: 100px;
  height: 70px;
}

.testimonial-img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.testimonial-img.tm-img-1::before {
  background-image: url(https://w7.pngwing.com/pngs/646/829/png-transparent-avatar-man-ico-icon-cartoon-little-boy-avatar-cartoon-character-png-material-child-thumbnail.png);
}

.testimonial-img.tm-img-2::before {
  background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2IYhSn8Y9S9_HF3tVaYOepJBcrYcd809pBA&s);
}

.testimonial-img.tm-img-3::before {
  background-image: url(https://png.pngtree.com/element_our/png/20181206/female-avatar-vector-icon-png_262142.jpg);
}

/* media query  */
@media screen and (min-width: 768px) {
  .swiper-pagination-bullet {
    width: var(
      --swiper-pagination-bullet-width,
      var(--swiper-pagination-bullet-size, 24px)
    );
    height: var(
      --swiper-pagination-bullet-height,
      var(--swiper-pagination-bullet-size, 24px)
    );
  }
  .section-title::before,
  .section-title::after {
    width: 141px;
  }

  /*   .section-title::before,
  .section-title::after {
    left: 25%;
  }
  .section-title::after {
    right: 25%;
  } */
}



/* Responsive Hair Temperature Table */
.hair-temp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hair-temp-table th, .hair-temp-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 10px;
    text-align: left;
}
.hair-temp-table th {
    background: #f7f7f7;
    color: #333;
    font-weight: 600;
}
.hair-temp-table tr:nth-child(even) {
    background: #fafafa;
}
@media (max-width: 600px) {
    .hair-temp-table, .hair-temp-table thead, .hair-temp-table tbody, .hair-temp-table th, .hair-temp-table td, .hair-temp-table tr {
        display: block;
        width: 100%;
    }
    .hair-temp-table thead tr {
        display: none;
    }
    .hair-temp-table tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #e0e0e0;
    }
    .hair-temp-table td {
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .hair-temp-table td:before {
        position: absolute;
        top: 12px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #555;
        content: attr(data-label);
    }
    .hair-temp-table td:nth-child(1):before { content: "HAIR TYPES"; }
    .hair-temp-table td:nth-child(2):before { content: "Fahrenheit"; }
    .hair-temp-table td:nth-child(3):before { content: "Centigrade"; }
}