@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: 400px;
  background: url("../images/background/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;
  /* 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: #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;
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.services-header .section-heading::before {
  position: absolute;
  content: '';
  height: 2px;
  width: 120px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #E5003D;
}

.services-header .section-heading::after {
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #E5003D;
  box-shadow: 0 0 0 5px #f8f9fa;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

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

/* ── Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 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);
}

/* ── Blue header bar ── */
.service-card-header {
  background: #1D65BC;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 12px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* ── 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);
}

/* ── Red Read More button (sits on the bottom border) ── */
.service-card-footer {
  text-align: center;
  padding: 30px 12px 0;
  margin-bottom: -16px;
  position: relative;
  z-index: 2;
}

.service-card-btn {
    display: inline-block;
    background: #E5003D;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 26px;
    border-radius: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    border: 2px solid #E5003D;
}

.service-card-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-1px);
    border: 2px solid #1D75BC;
}

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

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

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

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

/* ========================================= CTA SECTION ========================================= */
.cta-section {
  position: relative;
  padding: 60px 0 60px;
  background-image: url('/images/background/cta.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-section::before {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000000;
  opacity: .3;
}

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

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

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

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

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

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

@media (max-width: 768px) {
  .hero-section {
    min-height: 380px;
    padding: 60px 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) {
  .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;
  }
}

/* ========================================= TESTIMONIALS NEW SECTION ========================================= */
.testimonials-new {
  padding: 60px 0 80px;
  background: #ffffff;
}

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

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

.testimonials-new__header .section-heading::before {
  position: absolute;
  content: '';
  height: 2px;
  width: 120px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #E5003D;
}

.testimonials-new__header .section-heading::after {
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #E5003D;
  box-shadow: 0 0 0 5px #fff;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonials-new__subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 24px 0 0;
}

.testimonials-new__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.testimonials-new__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 40px 45px;
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.testimonial-card__quote-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #E5003D;
  font-size: 32px;
  font-weight: 400;
  /* font-family: Georgia, serif; */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
}

.testimonial-card__nav {
  display: flex;
  gap: 12px;
}

.testimonial-nav__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #ffffff;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-nav__btn:hover {
  border-color: #E5003D;
  color: #E5003D;
}

.testimonial-slider {
  position: relative;
  min-height: 180px;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

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

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

.testimonial-slide__text {
  font-size: 18px;
  line-height: 1.75;
  color: #000;
  margin: 0 0 24px;
}

.testimonial-slide__name {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin: 0 0 4px;
}

.testimonial-slide__location {
  font-size: 18px;
  color: #000;
}

@media (max-width: 991px) {
  .testimonials-new__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-new__image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .testimonials-new__header .section-heading {
    font-size: 26px;
  }

  .testimonial-card {
    padding: 28px 24px;
  }
}


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

.cta-action .hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 15px 32px;

  border-radius: 30px;
  border: 2px solid #1D75BC;

  background-color: #1D75BC;
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  transition: background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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