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

:root {
  --cyan: #009ab5;
  --yellow: #f8cc00;
  --text: #111111;
  --gray: #555555;
  --white: #ffffff;
  --light: #f8f9fa;
}

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

/* ============================================================
   1. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 350px;
  background: url("/images/service-bg/Area-Rug-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);
}

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

/* ── Centered Header ── */
.services-header {
  text-align: center;
  margin-bottom: 10px;
}

.services-title-section {
  display: inline-block;
}

.services-header .section-heading {
  position: relative;
  font-size: 26px;
  font-weight: 600;
  color: #000;
  margin: 0 0 20px;
}

.services-header__subtitle {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: #000000;
  line-height: 1.2;
  font-size: 30px;
  max-width: 700px;
  margin: 0 auto;
}

/* ── 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: 30px;
}

.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%;
  height: auto;
  transition: transform 0.35s ease;
  object-fit: cover;
}

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

/* Responsive */
@media (max-width: 991px) {
  .services-header__subtitle {
    font-size: 20px;
  }

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

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

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

/* ══════════════════════════════════════════════════════ RUG CTA STRIP ══════════════════════════════════════════════════════ */
.rug-cta-section {
  padding: 40px 0;
  /* margin-bottom: 40px; */
}

.rug-cta {
  display: flex;
  padding: 30px 30px;
  align-items: center;
  background: linear-gradient(to bottom, #6530AD 0%, #5D2C9F 95%);
  border-radius: 4px;
  gap: 24px;
}

/* ---------- Icon badge ---------- */
.rug-cta__icon {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFD6DA 0%, #CD1E2D 95%);
}

.rug-cta__icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #000;
  font-size: 30px;
  line-height: 1;
}

/* ---------- Text ---------- */
.rug-cta__text {
  flex: 1;
  min-width: 0;
}

.rug-cta__text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 8px;
}

.rug-cta__text p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 1);
  margin: 0;
  max-width: 550px;
}

/* ---------- Action / button ---------- */
.rug-cta__action {
  flex: 0 0 auto;
}

.rug-cta__btn {
  display: inline-block;
  background: #CD1E2D;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 28px;
  border: 2px solid #CD1E2D;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.rug-cta__btn:hover {
  background: #ffffff;
  color: #6530AD;
  border: 2px solid #6530AD;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .rug-cta {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }

  .rug-cta__icon {
    order: 1;
  }

  .rug-cta__text {
    order: 2;
    flex: 1 1 100%;
  }

  .rug-cta__action {
    order: 3;
    flex: 1 1 100%;
  }

  .rug-cta__btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .rug-cta-section {
    padding: 30px 0;
  }

  .rug-cta__text h2 {
    font-size: 19px;
  }

  .rug-cta__text p {
    font-size: 14px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 250px;
    padding: 40px 0;
  }

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

  .services-cards-section {
    padding: 36px 0 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

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

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

@media (max-width: 991px) {
  .services-cards-section .container-1200 {
    display: flex;
    flex-direction: column;
  }

  .services-header {
    display: contents;
  }

  .services-title-section {
    order: 1;
  }

  .services-grid {
    order: 2;
    margin-top: 20px;
  }
}