@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Open+Sans:wght@400;500;700&display=swap");

:root {
  --gray: #555555;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 400px;
  background: url("/images/bg/Leather-Cleaning.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text {
  color: #fff;
}

.hero-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 380px;
    padding: 60px 20px;
  }

  .hero-heading {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .hero-heading {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .hero-heading {
    font-size: 24px;
  }
}

/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */
.services-cards-section {
  position: relative;
  overflow: visible;
  background: #f8f9fa;
  padding: 50px 0 70px;
}

/* ── Header row: title on the left, desktop button on the right ── */
.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  margin-bottom: 10px;
}

.services-title-section {
  max-width: 720px;
}

.services-header .section-heading {
  position: relative;
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.services-header__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin: 0;
}

/* ── Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

/* ── Card ── */
.service-list-card {
  background: #fff;
  overflow: visible;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 16px;
}

.service-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

/* ── Image ── */
.service-media {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.service-media>a {
  display: block;
}

.service-media img {
  display: block;
  width: 100%;
  transition: transform 0.35s ease;
  object-fit: fill;
}

.service-list-card:hover .service-media img {
  transform: scale(1.04);
}

/* ── View All button ── */
.view-all-wrapper {
  text-align: center;
  margin-top: 45px;
}

/* Desktop CTA lives in the header; mobile CTA lives below the grid */
.view-all-wrapper--mobile {
  display: none;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  background: #25CC18;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #25CC18;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.view-all-link:hover {
  background: #ffffff;
  color: #262262;
  transform: translateY(-2px);
  border: 2px solid #262262;
}

.view-all-link .btn-icon {
  transition: transform 0.3s ease;
}

.view-all-link[data-expanded="true"] .btn-icon {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 991px) {
  .services-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .view-all-wrapper--desktop {
    display: none;
  }

  .view-all-wrapper--mobile {
    display: block;
    text-align: center;
    margin-top: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-header .section-heading {
    font-size: 26px;
  }
}

/* ========================================= CTA SECTION ========================================= */
.cta-section {
  position: relative;
  padding: 60px 0 60px;
  background: #262262;
}

.cta-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C8,20 17,20 25,0 C33,20 42,20 50,0 C58,20 67,20 75,0 C83,20 92,20 100,0 Z' fill='%23262262'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 226px 27px;
  background-position: bottom left;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.cta-content p {
  font-size: 18px;
  color: #fff;
  margin: 0;
  font-weight: 500;
}

.cta-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-action .hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 15px 32px;
  border-radius: 4px;
  background: #25CC18;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #25CC18;
}

.cta-action .hs-btn:hover {
  background-color: #ffffff;
  color: #262262;
  border-color: #262262;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 40px 0 60px;
  }

  .cta-section::after {
    height: 28px;
    background-size: 228px 28px;
  }

  .cta-row {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cta-section::after {
    bottom: -19px;
    height: 20px;
    background-size: 163px 20px;
  }
}

/* ========================================= TESTIMONIALS HERO SECTION ========================================= */
.testimonials-hero {
  position: relative;
  padding: 70px 0 90px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin: 60px 0 30px;
}

.testimonials-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.35) 0%, rgba(26, 26, 46, 0.15) 45%, rgba(26, 26, 46, 0.55) 100%);
  z-index: 1;
}

.testimonials-hero .container-1200 {
  position: relative;
  z-index: 2;
}

.testimonials-hero__header {
  max-width: 620px;
  margin-bottom: 60px;
}

.testimonials-hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.testimonials-hero__label i {
  display: block;
  width: 28px;
  height: 2px;
  background: #25CC18;
}

.testimonials-hero__title {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

/* ---- Slider ---- */
.testimonials-hero__slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonials-hero__slide.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-float-card {
  position: relative;
  background: rgba(26, 26, 46, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 36px 34px 30px;
}

.testimonial-float-card__icon {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25CC18;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.testimonial-float-card__text {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.testimonial-float-card__name {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px;
}

.testimonial-float-card__location {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

/* ---- Dots ---- */
.testimonials-hero__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.testimonials-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-hero__dot.active {
  background: #25CC18;
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .testimonials-hero {
    padding: 50px 0 60px;
  }

  .testimonials-hero__title {
    font-size: 24px;
  }

  .testimonials-hero__slide.active {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }

  .testimonial-float-card {
    padding: 30px 24px 26px;
  }

  .testimonial-float-card__icon {
    top: -16px;
    left: -16px;
    width: 38px;
    height: 38px;
  }
}