/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us.section {
  padding-bottom: 10px;
}

.why-us .img-bg {
  min-height: 500px;
  position: relative;
}

.why-us .img-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.why-us .slides {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}

.why-us h3 {
  font-size: 24px;
  font-weight: 700;
}

.why-us h4 {
  font-size: 18px;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us-compact h3 {
  font-size: 24px;
  font-weight: 700;
}

.why-us-compact h4 {
  font-size: 18px;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us-compact .item p {
  font-size: 16px;
}

.why-us .swiper {
  margin: 140px 140px 120px 140px;
  overflow: hidden;
}

.why-us .swiper-wrapper {
  height: auto;
}

.why-us .item h3,
.why-us .item h4,
.why-us .item p {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.why-us .swiper-slide-active .item h3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.why-us .swiper-slide-active .item h4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.why-us .swiper-slide-active .item p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.why-us .swiper-button-prev:after,
.why-us .swiper-button-next:after {
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.why-us .swiper-button-prev {
  left: 80px;
}

.why-us .swiper-button-next {
  right: 80px;
}

.why-us .swiper-button-prev,
.why-us .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.why-us .swiper-button-prev:hover,
.why-us .swiper-button-next:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 75%),
    0 10px 24px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.why-us .swiper-button-prev:hover:after,
.why-us .swiper-button-next:hover:after {
  color: var(--accent-color);
}

.why-us .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.why-us .swiper-pagination .swiper-pagination-bullet {
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.why-us .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.why-us-home-compact .img-bg,
.why-us-compact .img-bg {
  min-height: 380px;
}

.why-us-home-compact .swiper,
.why-us-compact .swiper {
  margin: 100px 100px 70px 100px;
}

.why-us-home-compact .swiper-pagination,
.why-us-compact .swiper-pagination {
  margin-top: 20px;
}

.why-us-home-compact .swiper-button-prev,
.why-us-compact .swiper-button-prev {
  left: 40px;
}

.why-us-home-compact .swiper-button-next,
.why-us-compact .swiper-button-next {
  right: 40px;
}

@media (max-width: 1200px) {
  .why-us .swiper {
    margin: 60px 60px 40px 60px;
  }

  .why-us .swiper-button-prev,
  .why-us .swiper-button-next {
    display: none;
  }

  .why-us-home-compact .swiper,
  .why-us-compact .swiper {
    margin: 40px 40px 30px 40px;
  }
}

@media (max-width: 575px) {
  .why-us .swiper {
    margin: 40px 40px 20px 40px;
  }

  .why-us-home-compact .swiper,
  .why-us-compact .swiper {
    margin: 30px 30px 20px 30px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 130px 0;
  position: relative;
  clip-path: inset(0);
  background-image: url("../../assets/img/backgrounds/sections/cta-bg.png");
  background-image: image-set(
    url("../../assets/img/backgrounds/sections/cta-bg.webp") type("image/webp"),
    url("../../assets/img/backgrounds/sections/cta-bg.png") type("image/png")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 991px) {
  .call-to-action {
    background-attachment: scroll;
  }
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), #ffffff 8%), var(--accent-color));
  box-shadow: 0 10px 24px rgba(23, 40, 59, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.5s ease;
  margin: 10px;
}

.call-to-action .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  transform: scale(1.04);
  box-shadow: 0 14px 30px rgba(23, 40, 59, 0.24);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: var(--radius-soft);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 12px 28px rgba(23, 40, 59, 0.08);
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}
