@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;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 350px;
  background: url("/img/main-service-hero-image.webp") 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;
  background: rgba(0, 0, 0, 0.4);
}

.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);
}
.hero-subtext{
  max-width: 600px;
  margin: 0 auto;
}
/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */
.services-cards-section {
  position: relative;
  overflow: visible;
  background: #f8f9fa;
  padding: 40px 0;
}

.hero-btn {
  display: inline-block;
  background: #79A600;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  padding: 12px 32px;
  border-radius: 4px;
  border: 2px solid #79A600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hero-btn:hover {
  background: #ffffff;
  color: #2B3990;
  border-color: #ffffff;
  transform: translateY(-2px);
}

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

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

.services-header .section-heading {
  position: relative;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 30px;
}

.services-header .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  margin: 0;
  bottom: -14px;
  width: 60px;
  border: 1px solid #79A600;
}

.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;
  position: relative;
}

.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);
}

/* Green hover overlay with title */
.service-media__overlay {
  position: absolute;
  inset: 0;
  background: rgba(121, 166, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-list-card:hover .service-media__overlay {
  opacity: 1;
}

.service-media__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 991px) {
  .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: 26px;
  }

  .service-media__title {
    font-size: 17px;
  }
}


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

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

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

  .hero-subtext {
    font-size: 16px;
  }

  .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;
  }

  .hero-subtext {
    font-size: 15px;
  }

  .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 {
    padding: 30px 0;
  }

  .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;
  }
}

/* ══════════════════════════════════════════════════════
   CTA BANNER (Get A Free Estimate)
══════════════════════════════════════════════════════ */
.cta-banner-section {
  padding: 40px 0;
  background: #ffffff;
}

.cta-banner {
  background: #2B3990;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner__text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.3;
}

.cta-banner__text p {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  opacity: 0.9;
}

.cta-banner__btn {
  flex: 0 0 auto;
  background: #79A600;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 4px;
  border: 2px solid #79A600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-banner__btn:hover {
  background: #ffffff;
  color: #2B3990;
  /* border-color: #ffffff; */
  transform: translateY(-2px);
}

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 26px;
  }

  .cta-banner__btn {
    align-self: stretch;
    text-align: center;
  }

  .cta-banner__text h2 {
    font-size: 19px;
  }
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS (3-up centered card design)
══════════════════════════════════════════════════════ */
.testimonials-new {
  padding: 40px 0;
  /* background: #f5f5f5; */
}

.testimonials-new__header {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-new__title {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 10px;
}

.testimonials-new__subtitle {
  font-size: 17px;
  color: #222;
  margin: 0 0 16px;
}

.testimonials-new__header::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #79A600;
  margin: 0 auto;
}

.t2-wrap {
  position: relative;
  min-height: 260px;
}

.t2-page {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}

.t2-page.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0s;
}

.t2-card {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 36px 30px;
  text-align: center;
}

.t2-stars {
  display: inline-flex;
  justify-content: center;
  gap: 3px;
  color: #2B3990;
  margin-bottom: 18px;
}

.t2-stars svg {
  width: 17px;
  height: 17px;
}

.t2-text {
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  margin: 0 0 22px;
  font-weight: 500;
}

h3.t2-name {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #000;
  margin: 0;
}

.t2-location {
  display: none;
}

.t2-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}

.t2-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}

.t2-dot.active {
  height: 10px;
  width: 10px;
  background: #2B3990;
}

@media (max-width: 991px) {
  .testimonials-new {
    padding: 30px 0;
  }

  .t2-page {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .t2-card {
    padding: 26px 24px;
  }
}