/* Services page — AnuSri brand */
.services-hero {
  position: relative;
  background-image: url("../images/hero-bg-image-prime.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 180px 0 120px;
  margin: 15px 15px 0;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      270deg,
      transparent 0%,
      rgba(26, 54, 104, 0.85) 100%
    ),
    linear-gradient(180deg, transparent 0%, var(--primary-color) 100%),
    linear-gradient(0deg, rgba(26, 54, 104, 0.55) 0%, rgba(26, 54, 104, 0.55) 100%);
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.services-hero-content {
  max-width: 760px;
}

.services-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.18);
  color: var(--brand-cyan-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-hero-content h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.services-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.services-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.services-hero-btns .btn-default + .btn-default {
  margin-left: 0;
}

.services-trust-strip {
  padding: 0 15px;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.services-trust-list {
  list-style: none;
  margin: 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(26, 54, 104, 0.06);
  box-shadow: 0 14px 36px rgba(26, 54, 104, 0.1);
}

.services-trust-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.services-trust-list i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 174, 239, 0.12);
  color: var(--accent-color);
  font-size: 15px;
}

.services-page-section {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(0, 174, 239, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 100%, rgba(26, 54, 104, 0.05), transparent 50%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 50%, #eef3f8 100%);
}

.services-section-lead {
  max-width: 620px;
  margin: 12px auto 0;
  color: #5a6485;
  font-size: 16px;
  line-height: 1.6;
}

.services-page-section .section-title-center {
  margin-bottom: 40px;
}

.services-list-block {
  margin-bottom: 40px;
  padding: 32px 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(20, 49, 93, 0.08);
}

.services-list-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
}

.services-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.services-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--brand-red);
  font-size: 16px;
}

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

.services-page-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid rgba(26, 54, 104, 0.06);
  box-shadow: 0 10px 32px rgba(26, 54, 104, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.services-page-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.services-page-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 174, 239, 0.28);
  box-shadow: 0 18px 44px rgba(26, 54, 104, 0.18);
}

.services-page-card:hover::after {
  transform: scaleX(1);
}

.services-page-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.services-page-card:hover img {
  transform: scale(1.08);
}

.services-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 54, 104, 0.95) 0%,
    rgba(26, 54, 104, 0.55) 48%,
    rgba(26, 54, 104, 0.12) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.35s ease;
}

.services-page-card:hover .services-page-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 54, 104, 0.97) 0%,
    rgba(26, 54, 104, 0.62) 52%,
    rgba(26, 54, 104, 0.18) 100%
  );
}

.services-page-overlay h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.services-page-overlay p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.services-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-cyan-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.92;
  transition: gap 0.3s ease, color 0.3s ease;
}

.services-page-card:hover .services-card-link {
  gap: 12px;
  color: #fff;
}

.services-card-link i {
  font-size: 11px;
}

.services-why-section {
  padding: 90px 0;
}

.services-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.services-why-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(26, 54, 104, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.services-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(26, 54, 104, 0.14);
}

.services-why-card .icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 54, 104, 0.06);
  border-radius: 50%;
}

.services-why-card .icon-box img {
  width: 32px;
  height: 32px;
}

.services-why-card h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
  font-weight: 700;
}

.services-faq-section {
  padding: 90px 0;
}

.services-appointment-cta {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  margin: 0 15px 15px;
  text-align: center;
  border-radius: 22px;
  background-color: var(--primary-color);
  background-image:
    linear-gradient(
      105deg,
      rgba(26, 54, 104, 0.92) 0%,
      rgba(26, 54, 104, 0.78) 45%,
      rgba(26, 54, 104, 0.55) 100%
    ),
    url("../images/hero-bg-image-prime.jpg");
  background-size: cover;
  background-position: center;
}

.services-appointment-cta h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
}

.services-appointment-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.services-appointment-cta .services-hero-btns {
  justify-content: center;
}

.nav-item.active .nav-link {
  color: var(--brand-red);
}

@media (max-width: 992px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 576px) {
  .services-hero {
    padding: 140px 0 90px;
    margin: 10px 10px 0;
  }

  .services-trust-strip {
    margin-top: -20px;
    padding: 0 10px;
  }

  .services-trust-list {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .services-trust-list li {
    justify-content: flex-start;
    text-align: left;
  }

  .services-page-section,
  .services-why-section,
  .services-faq-section {
    padding: 50px 0 60px;
  }

  .services-list-block {
    padding: 24px 20px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .services-page-grid,
  .services-why-grid {
    grid-template-columns: 1fr;
  }

  .services-page-card {
    min-height: 300px;
  }

  .services-page-card img {
    min-height: 300px;
  }

  .services-appointment-cta {
    padding: 56px 18px;
    margin: 0 10px 10px;
  }
}
