@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: 400px;
  background: url("/img/main-service-hero.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.3);
}

.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: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */

.services-cards-section {
  position: relative;
  overflow: visible;
  background: #f8f9fa;
  padding: 50px 0 70px;
}

.services-cards-section .container-1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 10px;
}

.section-tittle {
  margin-bottom: 4px;
}

.about-heading {
  position: relative;
  display: block;
  color: #1a1e32;
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0;
}

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

.services-title-section p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 900px;
  place-self: center;
}

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

.service-list-card {
  position: relative;
  width: 100%;
  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.3s ease,
    box-shadow 0.3s ease;

  margin-bottom: 30px;
}

.service-list-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.10);
}

.service-media {
  position: relative;
  width: 100%;
  overflow: hidden;

  line-height: 0;
}

.service-media>a {
  display: block;
  position: relative;
  width: 100%;
}

.service-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition:
    transform 0.55s ease;
}

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

.service-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 85, 114, 0.65);
  transform: translateY(-100%);
  transition:
    transform 0.5s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}


.service-list-card:hover .service-hover-overlay {
  transform: translateY(0);
}

.service-hover-overlay a {
  display: inline-block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  padding: 0 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform 0.45s ease 0.12s,
    opacity 0.35s ease 0.12s;

  pointer-events: auto;
}

.service-list-card:hover .service-hover-overlay a {
  transform: translateY(0);
  opacity: 1;
}

.service-media .button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 70px;
  height: 70px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.service-list-card:hover .service-media .button {
  opacity: 1;
  visibility: visible;
}

.service-media .button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #DD1E2D;
  border: 5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.service-media .button a:hover {
  background: #BB0000;
  transform: rotate(360deg);
}

.service-media .button svg {
  width: 30px;
  height: 30px;
  display: block;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.service-media__title-holder {
  padding: 16px 18px 20px;
  text-align: center;
}

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

.service-media__title a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.25s ease;
}

.service-list-card:hover .service-media__title a {
  color: #DD1E2D;
}

@media (max-width: 991px) {

  .services-cards-section .container-1200 {
    padding-left: 25px;
    padding-right: 25px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;

    margin-top: 20px;
  }

  .services-header {
    margin-bottom: 10px;
  }

  .services-title-section {
    width: 100%;
  }

}

@media (max-width: 575px) {

  .services-cards-section {
    padding: 35px 0 50px;
  }

  .services-cards-section .container-1200 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .about-heading {
    font-size: 30px;
    line-height: 40px;
  }

  .services-title-section p {
    font-size: 16px;
    line-height: 1.6;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;

    margin-top: 20px;
  }

  .service-media img {
    aspect-ratio: 412 / 320;
  }

  .service-hover-overlay a {
    font-size: 18px;
    letter-spacing: 0.8px;
  }

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

}

@media (hover: none) {

  .service-hover-overlay {
    transform: translateY(0);
  }

  .service-hover-overlay a {
    transform: translateY(0);
    opacity: 1;
  }

}

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

.cta-banner {
  background: #7FB927;
  box-shadow: 0 15px 15px -8px rgba(0, 0, 0, 0.5);
  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: 800;
  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: #095B99;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 4px;
  border: 2px solid #095B99;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-banner__btn:hover {
  background: #ffffff;
  color: #095B99;
  transform: translateY(-2px);
}

@media (max-width: 767px) {

  .cta-banner-section {
    padding: 0px 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 h3 {
    font-size: 19px;
  }
}


/* ══════════════════════════════════════════════════════
   TESTIMONIALS (background image + overlay card)
══════════════════════════════════════════════════════ */
.testimonials-new {
  padding: 0 0 70px;
  background: #ffffff;
}

.testimonials-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.testimonials-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: #111;
  margin: 0 0 12px;
}

.testimonials-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #000;
  margin: 0;
}

.t2-media {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 400px;
}

.t2-media::after {
  background-color: rgba(0, 0, 0, 0.8);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0.6;
}

.t2-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 20px;
  z-index: 30;
}

.t2-card__quote {
  position: absolute;
  /* top: -6px; */
  left: 24px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  z-index: 2;
}

.t2-slide {
  display: none;
  background: rgba(46, 95, 158, 0.92);
  padding: 34px 32px 28px;
}

.t2-slide.active {
  display: block;
}

.t2-text {
  font-size: 16px;
  line-height: 1.9;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.t2-card__name-bar {
  background: #3aa934;
  padding: 12px 20px;
  text-align: center;
}

.t2-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.t2-dots {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.t2-dots .dot {
  width: 24px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.t2-dots .dot.active {
  background: #2E5F9E;
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .t2-media {
    height: auto;
    padding: 40px 20px 50px;
  }

  .t2-card {
    max-width: 100%;
    margin: 0;
  }

  .t2-slide {
    padding: 28px 22px 24px;
  }

  .t2-text {
    font-size: 12.5px;
  }
}