body {
  overflow-x: hidden;
}

.hero-section {
  height: 600px;
}
.hero-right-image {
  height: auto;
}
.hero-right-image img {
  width: 600px;
  border-radius: 12px;
}
.testimonials-section {
  margin-top: -300px;
  padding-top: 300px;
  padding-bottom: 0;
}

.appointment-section {
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 1;
  position: relative;
}

.faq-section .container {
  padding-inline: 20px;
}

#text-left-box .container {
  padding: 0 20px 60px;
}

/* Before/After Gallery Section */

.appointment-section {
  background: #fafafa;
}

.before-after-gallery-section {
  padding: 60px 20px;
  position:relative;
  z-index:9;
  margin-top:0 !important;
}

.before-after-gallery-section .gallery-item {
  background: #fff6fc;
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 40px;
  box-shadow: 0 0 9.2px 0 rgba(0, 0, 0, 0.11);
}

.before-after-gallery-section .gallery-item:last-child {
  margin-bottom: 0;
}

.before-after-gallery-section .gallery-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 10px;
}

.before-after-gallery-section .gallery-description {
  font-size: 16px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 70px;
}

.before-after-gallery-section .gallery-description p {
  margin: 0 0 12px;
}

.before-after-gallery-section .gallery-description p a {
  color: #000;
  font-size: 16px;
  text-decoration: underline;
}

.before-after-gallery-section .learn-more-text {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 32px;
}

/* BA Gallery Slider */
.before-after-gallery-section .ba-gallery-slider {
  margin-bottom: 24px;
  opacity: 1;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.before-after-gallery-section .ba-gallery-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hide all slides except first two until carousel loads */
.before-after-gallery-section
  .ba-gallery-slider:not(.slick-initialized)
  .ba-gallery-slide {
  display: block;
  width: 50%;
}

.before-after-gallery-section
  .ba-gallery-slider:not(.slick-initialized)
  .ba-gallery-slide:nth-child(n + 3) {
  display: none;
}

.before-after-gallery-section
  .ba-gallery-slider.slick-initialized
  .ba-gallery-slide {
  display: block !important;
  visibility: visible !important;
}

/* Custom Carousel Dots */
.before-after-gallery-section .ba-gallery-dots {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 45px;
}

.before-after-gallery-section .ba-gallery-dots ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  position: relative;
  justify-content: center;
  gap: 8px;
}

.before-after-gallery-section .ba-gallery-dots li {
  margin: 0;
}

.before-after-gallery-section .ba-gallery-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  transition: all 0.3s;
}

.before-after-gallery-section .ba-gallery-dots .slick-dots li button:before {
  color: #d9d9d9;
  opacity: 1;
  font-size: 14px;
  margin-top: -3px;
  margin-left: -4px;
}

.before-after-gallery-section
  .ba-gallery-dots
  .slick-dots
  li.slick-active
  button:before {
  color: var(--secondary-color);
  opacity: 1;
  font-size: 14px;
}

.before-after-gallery-section .ba-gallery-dots li.slick-active button {
  background: transparent;
}

/* CTA Button */
.before-after-gallery-section .cta-wrap {
  text-align: center;
  margin-top: 20px;
}

.before-after-gallery-section .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: linear-gradient(135deg, #b15092, #a03e7c);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s;
}

.before-after-gallery-section .cta-btn:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767px) {
  .before-after-gallery-section {
    padding: 40px 15px;
  }

  .before-after-gallery-section .gallery-item {
    padding: 32px 24px;
  }

  .before-after-gallery-section .gallery-title {
    font-size: 28px;
  }

  .before-after-gallery-section .ba-gallery-slider {
    gap: 15px;
  }

  .before-after-gallery-section
    .ba-gallery-slider:not(.slick-initialized)
    .ba-gallery-slide {
    width: 100%;
  }

  .before-after-gallery-section
    .ba-gallery-slider:not(.slick-initialized)
    .ba-gallery-slide:nth-child(n + 2) {
    display: none;
  }
}
.ba-gallery-slider .ba-gallery-slide {
  margin: 0 10px;
}

/* FAQ Section */

.faq-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.faq-section {
  padding: 80px 0 0;
  background: #fafafa;
}

.faq-section .section-title {
  text-align: center;
  margin: 0 0 30px;
}

.faq-section .faq-accordion {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FAQ Item */
.faq-section .faq-item {
  border: 1px solid #bcbcbc;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-section .faq-item:hover {
  border-color: #0066cc;
}

/* FAQ Question Button */
.faq-section .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-section .faq-item.active .faq-question {
  padding-bottom: 15px;
}

.faq-section .faq-question:hover {
  color: #004d99;
}

/* FAQ Icon */
.faq-section .faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #8e8e8e;
}

.faq-section .faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-section .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-section .faq-answer-content {
  padding: 0 32px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #707070;
}

.faq-section .faq-answer-content p {
  margin: 0 0 12px;
}

.faq-section .faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* Active State */
.faq-section .faq-item.active .faq-answer {
  max-height: 1000px;
}

@media (max-width: 550px) {
  .ba-gallery-slider .ba-gallery-slide {
    margin: 0;
  }
  .before-after-gallery-section .gallery-description {
    margin-bottom: 30px;
  }
  .faq-section {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 1280px) {
  .hero-right-image img {
    width: 600px !important;
    margin-left: -60px !important;
  }
}
