/* Sectors page responsive overrides */

/* ----- Hero ----- */
.tp-slider-area .tp-slider-title {
  font-size: clamp(1.5rem, 4.5vw, 2.75rem) !important;
  line-height: 1.25 !important;
  margin-bottom: 0.75rem;
}

.sectors-hero-lead {
  color: #fff;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  line-height: 1.5;
  max-width: 40rem;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.tp-slider-area .tp-slider-btn .tp-btn {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .tp-slider-area .tp-slider-shape {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .tp-slider-area .tp-slider-height,
  .tp-slider-area .tp-slider-item.tp-slider-height {
    min-height: 320px !important;
    height: auto !important;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .tp-slider-area .tp-slider-content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 575.98px) {
  .tp-slider-area .tp-slider-height,
  .tp-slider-area .tp-slider-item.tp-slider-height {
    min-height: 280px !important;
  }
}

/* ----- Breadcrumb ----- */
.breadcrumb__area .breadcrumb__title {
  font-size: clamp(1.25rem, 4vw, 2rem) !important;
  line-height: 1.25 !important;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (max-width: 767.98px) {
  .breadcrumb__area {
    padding-top: 2.5rem !important;
    padding-bottom: 1.75rem !important;
  }
}

/* ----- Sector list ----- */
.sectors-list {
  padding-bottom: 1rem;
}

.sectors-list-item {
  padding-bottom: 0 !important;
}

.sectors-desc-content {
  padding-inline: 0;
}

.sectors-desc-content .tp-product-details-desc-title {
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  line-height: 1.3;
}

.sectors-desc-content p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.55;
}

.sectors-list .tp-product-details-desc-thumb img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

@media (min-width: 992px) {
  .sectors-desc-content {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .sectors-list .tp-product-details-buy-now-btn {
    display: inline-block;
    max-width: 100%;
  }
}

/* ----- Testimonials (included on sectors) ----- */
.tp-testimonial-section-title {
  font-size: clamp(1.15rem, 3.5vw, 1.75rem);
  line-height: 1.35;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.tp-testimonial-area {
  overflow: hidden;
}

.tp-testimonial-slider-active .swiper-slide {
  width: 100%;
  box-sizing: border-box;
}

.tp-testimonial-designation {
  display: block;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.5;
}

.tp-testimonial-user-title {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
}

@media (max-width: 767.98px) {
  .tp-testimonial-area {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .tp-testimonial-user {
    flex-direction: column;
    text-align: center;
  }
}

/* ----- Sample form (included on sectors) ----- */
.tp-subscribe-form #sampleEmailForm {
  width: 100% !important;
  max-width: 100%;
}

.tp-subscribe-form .form-control {
  margin-bottom: 0.75rem;
}

.tp-subscribe-form .captcha img {
  height: auto;
  max-width: 100%;
}

.tp-subscribe-form .home-sample-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.tp-subscribe-form .home-sample-captcha .form-control {
  flex: 1 1 120px;
  min-width: 0;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .tp-subscribe-area .tp-subscribe-title {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
  }

  .tp-subscribe-form .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
  }
}
