/* Slider responsive sizing — overrides legacy fixed values in style.css */
#main-slide .carousel-item {
  position: relative;
}

#main-slide .carousel-item > img {
  height: 70vh;
  min-height: 360px;
  max-height: 720px;
  width: 100%;
  object-fit: cover;
}

#main-slide .slider-content {
  position: absolute;
  inset: 0;
  top: 0 !important;
  margin-top: 0 !important;
  width: 100%;
  z-index: 2;
}

#main-slide .slider-content h2,
#main-slide .slider-content h3 {
  font-size: inherit;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 991.98px) {
  #main-slide .carousel-item > img {
    height: 55vh;
    min-height: 320px;
  }
}

@media (max-width: 575.98px) {
  #main-slide .carousel-item > img {
    height: 50vh;
    min-height: 260px;
  }
  #main-slide .carousel-indicators {
    bottom: 10px;
  }
}

/* Why Choose carousel indicators */
/* .why-choose-carousel { padding-bottom: 40px; } */
.why-choose-carousel .carousel-indicators {
  position: static;
  margin: 24px 0 0;
  padding: 0;
}
.why-choose-carousel .carousel-indicators [data-bs-target] {
  width: 48px;
  height: 4px;
  margin: 0 6px;
  /* border: 0; */
  border-radius: 2px;
  background-color: #d9d9d9;
  opacity: 1;
  transition: background-color 0.3s ease;
  border: solid 1px #e8a13a;
}
.why-choose-carousel .carousel-indicators .active {
  background-color: #e8a13a;
}
.why-choose-carousel .list-background {
  background: #f3f3f5;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
}
.why-choose-carousel .list-background img {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}
.why-choose-carousel .list-background h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-choose-carousel .list-background p {
  font-size: 0.95rem;
  color: #000000;
  margin: 0;
}

/* FAQ */
.home-faq-container {
  padding: 20px 0 30px;
  background: #fff;
  /* border-top: 1px solid #222; */
}
.home-faq-container .section-header h2 {
  color: #111;
  margin-bottom: 10px;
  font-weight: 700;
}
.home-faq-container .row {
  row-gap: 14px;
}
.home-faq-container .col-md-6 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-faq-container .faq-item {
  background: #f1f1f1;
  border-radius: 4px;
  overflow: hidden;
}
.home-faq-container .faq-question {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.home-faq-container .faq-question .arrow {
  color: #efb02e;
  font-size: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.home-faq-container .faq-item.active .faq-question .arrow {
  transform: rotate(90deg);
}
.home-faq-container .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: #f7f7f7;
}
.home-faq-container .faq-item.active .faq-answer {
  max-height: 300px;
  padding: 12px 18px 14px;
}
