body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url("../Pictures/IMG_01262.jpg") ;
  background-color: #D4BFA7;
  background-repeat: no-repeat;
  background-position: right top;
  transition: background-image 1s ease-in-out;
}

h2 {
  letter-spacing: 1.3%;
}

hr {
  width: 180px;
  height: 2px;
  background-color: black;
  border-radius: 500px;
  margin-bottom: 20px;
}

.top-header {
    background-color: rgba(255, 255, 255, 0.40);
}

.visible {
  display: block;
}

.hidden {
  display: none;
}

.inner-section {
  display: flex;
  width: 90%;
  align-items: center;
  flex-wrap: wrap;
}

/*Hero Section*/
.hero-section1 {
  background-color: transparent;
  color: #000;
  width: 100%;
  margin-top: 50px;
}

.hero-section1 .inner-section {
  display: flex;
  justify-content: space-between;
}

.text {
  width: 58%;
  max-width: 810px;
  align-content: center;
}

.tagLine {
  width: 100%;
}

.tagLine h1 {
  font-weight: bold;
  font-size: 60px;
  letter-spacing: 0.5px;
  line-height: 72px;
}

.tagLine span {
  width: fit-content;
  background-color: #000;
  color: #fff;
  padding: 8px;
  display: inline-flex;
}

.tagLine p {
  width: 100%;
  max-width: 500px;
  font-size: 20px;
    letter-spacing: 2px;
  margin-bottom: 10px;
}

.btn-section {
  display: flex;
  gap: 50px;
  font-size: 22px;
  font-weight: bold;
      flex-wrap: wrap;
}

.btn-section button {
  border-radius: 8px;
  width: 180px;
  height: 58px;
  font-size: 22px;
  font-weight: bold;
  padding: 5px 10px;
}

.book-btn {
  background-color: #000;
  color: #fff;
}

.special-btn {
  background-color: transparent;
  color: #000;
  border: 2px solid #000;
}

.hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 591px;
  height: 625px;
  transform: translate(-50%, -50%); /* perfectly centered */
  z-index: 0;
}

.hero-img img {
  margin: auto;
  width: 100%;
  height: 100%;
}

/*Testimonial Section*/
.testimonial-section {
  background-color: #fff;
}

.testimonial-section .inner-section {
  flex-direction: column;
}

.inner-section .test-head h3 {
  font-size: x-large;
}

.test-head {
  display: in;
  text-align: center;
  margin-bottom: 15px;
}

.review-cardContainer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.reviewCard {
  max-width: 250px;
      background-color: #fff;
      padding: 12px;
      border-radius: 8px;
      box-shadow: 3px 4px 9px rgba(0, 0, 0, 0.25);
      margin-top: 8px;
    }

    .profieID {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .profilePic {
      width: 60px;
      height: 60px;
      border-radius: 50px;
      overflow: hidden;
    }

    .pic {
      width: 100%;
      height: auto;
    }

    .profileName {
      line-height: 20px;
    }

    .reviewPlatform {
      letter-spacing: 1.3px;
    }

    .checked {
      color: orange;
    }

    .highlighted-text {
      color: #af8013;
      font-weight: 600;
    }
  

/*Service Section*/
.promo-info {
  display: inline-block;
  border-left: 2px solid white;
  padding-left: 20px;
}
  
.promo-link-container {
  height: 50px;
  transition: all 5s ease;
  width: 185.53px;
}

.promo-link {
  font-size: 18px;
  font-weight: 400;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  gap: 30px;
  transition: all 0.4s ease-out;
}

.promo-link-container :hover {
  display: flex;
  text-align: center;
  justify-content: space-between;
}

.promo-link span {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

/* Slider Container */
.imageSlider-Container {
  max-width: 1294px;
  width: 95%;
  margin: 20px auto;
}

/* Slider Wrapper */
.slider-wrapper {
  position: relative;
}

/* Image List (Horizontal Scrolling) */
.slider-wrapper .image-list {
  display: flex;
  gap: 16px; 
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px; 
}

/* Image Styling */
.slider-wrapper .image-list .image-item {
  height: 218px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
}

/* Native Scrollbar Visibility */
.slider-wrapper .image-list::-webkit-scrollbar {
  height: 8px;
}

.slider-wrapper .image-list::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 4px;
}

.slider-wrapper .image-list::-webkit-scrollbar-track:hover {
  cursor: grab ;
}

.slider-wrapper .image-list::-webkit-scrollbar-thumb {
  background: #808080;
  border-radius: 4px;
}

.slider-wrapper .image-list::-webkit-scrollbar-thumb:hover {
  cursor: grab;
}

.slider-wrapper .image-list::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
}

.service-section {
  background-color: #fff;
}


.service-section header h2 {
  margin-top: 40px;
}

/* Slider container */
.sevice-cards {
  position: relative;
  width: 100%;
  max-width: 1295px;
}

/* Card slider */
.card-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  background: #f9f9f9;
}

.card-slider::-webkit-scrollbar {
  height: 8px;
}

.card-slider::-webkit-scrollbar-track {
  background: #000;
  border-radius: 4px;
}

.card-slider::-webkit-scrollbar-thumb {
  background: #808080; 
  border-radius: 4px;
  transition: background 0.3s;
}

.card-slider::-webkit-scrollbar-thumb:hover {
  cursor: grab;
}

.card-slider::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
}


/* Card styles */
.card {
  display: flex;
  flex: 0 0 350px;
  height: 200px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/*Card Image*/
.card-image {
  flex: 1;
  height: 100%;
  object-fit: cover;
}
/* Card content */
.card-content {
  flex: 1;
  width:49%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-content h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.card-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-content .promo-link-container {
  margin-top: auto;
}

.card-content .promo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #007BFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.card-content .promo-link:hover {
  color: #0056b3;
}

.card-content .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.card-content .promo-link:hover .arrow {
  transform: translateX(5px);
}

/* Contact Section Styling */
.contact-section {
  background-color: #fff;
  width: 100%;
}

.contact-section .inner-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.company-logo {
  flex: 1;
  display: none;
  justify-content: center;
  align-items: center;
}

.company-logo img {
  max-width: 100%;
  height: auto;
}

.contact-form-container {
  flex: 2;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Heading Styling */
.contact-heading {
  text-align: start;
  font-size: 24px;
  margin-bottom: 8px;
}

hr {
  width: 180px;
  height: 2px;
  background: black;
  border: none;
  margin-bottom: 20px;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #000;
  padding: 8px 0;
  padding-left: 3px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-bottom: 2px solid #007BFF;
}

/* Textarea Adjustments */
textarea.form-input {
  border: 2px solid #000;
  resize: none;
}

textarea.form-input:focus {
  border: 2px solid #007BFF;
}

/* Submit Button Styling */
.submit-button {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

footer {
  margin-top: 0px;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .contact-section .inner-section {
    flex-direction: row; 
    justify-content: space-between;
  }

  .company-logo {
    display: flex; 
    max-width: 40%;
  }

  .contact-form-container {
    max-width: 60%;
  }
}


/* Scrollbar thumb size for tablets and smaller devices */
@media (max-width: 768px) {
  .card {
    width: calc((100% - 40px) / 2); /* 2 cards on tablets */
  }

  .card-slider::-webkit-scrollbar-thumb {
    width: 20%;
  }

}

@media (max-width: 600px) {
  .card {
    width: 100%; /* 1 card on mobile */
  }
}

/* Scrollbar thumb size for desktop */
@media (min-width: 789px) {
  .card-slider::-webkit-scrollbar-thumb {
    width: 50%;
  }

  .slider-scrollbar .scrollbar-thumb {
    width: 50%;
  }

  .timer-container {
    flex-direction: row;
    text-align: center;
    display: inline-flex;
  }

  .timer-container span {
    display: block;
    font-size: 18px;
    line-height: 1.4;
  }

  .timer-container li:nth-child(odd) {
    min-width: 64px;
  }

  .timer-container li:nth-child(even) {
    display: inline-block;
    font-size: 18px;
    padding-top: 4px;
  }
}


/*Style for mobile and tablets*/
@media (max-width: 1023px) {
  .slider-wrapper .slide-button {
    display: none!important;
  }

  .slider-scrollbar .scrollbar-thumb {
    width: 20%;
  }

  .slider-wrapper .image-list {
    gap: 4px;
    margin-bottom: 15px;
  }
  
  .slider-wrapper .image-list .image-item {
    height: 174px;
  }

  .slider-scrollbar .scrollbar-thumb {
    width: 20%;
  }
}

@media screen and (max-width: 910px) {
  body {
    background-position: top center;
    background-size: cover;
  }
  .hero-section1 .inner-section {
    flex-wrap: wrap;
    padding: initial;
    margin: auto;
  }

  .hero-img {
    width: 100%;
    margin-top: 15px;
  }

  .tagLine h1, .tagLine p {
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
    color: #fff;
  }
  
  .text {
    width: 100%;
    max-width: none;
    align-content: center;
  }

  .btn-section {
    justify-content: center;
    margin-bottom: 15px;
  }

  .book-btn {
    background-color: #fff;
    color: #000;
    border: #fff 2px solid;
  }

  .special-btn {
    color: #fff;
    border: 2px solid #fff;
  }
}