@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/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: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  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;
  /* font-family: "Open Sans Condensed", sans-serif; */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */
.services-cards-section {
  position: relative;
  overflow: visible;
  background: var(--light);
  padding: 40px 0 30px;
}

.services-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.services-header .section-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  text-align: left;
  margin-bottom: 0;
}

.services-header .srv-toggle-wrap {
  margin-top: 0;
  text-align: right;
  flex-shrink: 0;
}

.view-all-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
}

.about-badge {
  display: inline-block;
  background: #BB0000;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.section-heading {
  color: #000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 14px 30px;
  border-radius: 4px;
  background: #FBB040;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid #FBB040;
  transition: background 0.2s ease, transform 0.2s ease;
}

.view-all-link:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

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

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

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

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

.service-media img {
  display: block;
  height: auto;
  transition: transform 0.35s ease;
  object-fit: fill;
}

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

/* ============================================================
   3. APPOINTMENT CTA
   ============================================================ */
.about-section {
  position: relative;
  padding: 30px 0;
  background: #ffffff;
}

.appointment-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.appointment-cta__panel {
  padding: 48px 60px;
}

.appointment-cta__panel h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 14px;
}

.appointment-cta__panel p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 26px;
  max-width: 420px;
}

.appointment-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.appointment-cta__btn:hover {
  transform: translateY(-2px);
}

.appointment-cta__panel--red {
  background: #BB0000;
}

.appointment-cta__panel--red h3 {
  color: #ffffff;
}

.appointment-cta__panel--red p {
  color: rgba(255, 255, 255, 1);
}

.appointment-cta__panel--red .appointment-cta__btn {
  background: #FBB040;
  color: #ffffff;
  border: 2px solid #FBB040;
}

.appointment-cta__panel--red .appointment-cta__btn:hover {
  background: #ffffff;
  color: #000;
  border: 2px solid #FBB040;
}

.appointment-cta__panel--orange {
  background: #FBB040;
}

.appointment-cta__panel--orange h3 {
  color: #1a1a1a;
}

.appointment-cta__panel--orange p {
  color: rgba(26, 26, 26, 1);
}

.appointment-cta__panel--orange .appointment-cta__btn {
  background: #BB0000;
  color: #ffffff;
  border: 2px solid #BB0000;
}

.appointment-cta__panel--orange .appointment-cta__btn:hover {
  background: #ffffff;
  color: #000;
  border: 2px solid #BB0000;
}

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

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

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

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

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

  .appointment-cta {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .appointment-cta__panel {
    padding: 40px 28px;
  }

  .appointment-cta__panel p {
    max-width: 100%;
  }
}

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

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

  .view-all-wrapper {
    align-self: flex-end;
  }
}

@media (max-width: 400px) {

  .hero-section {
    min-height: 200px;
  }

  .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 .view-all-wrapper {
    justify-content: center;
    margin-top: 40px;
  }

  .services-header {
    display: contents;
  }

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

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

  .view-all-wrapper {
    order: 3;
    margin-top: 24px;
    justify-content: center;
  }
}