* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(140, 214, 221, 0.42), transparent 30%),
    linear-gradient(180deg, #f9fdfe 0%, #e8f5f7 46%, #f8fcfd 100%);
  color: #18424c;
}

.service-page {
  --service-accent: #006176;
  --service-accent-soft: #43b6c9;
  --service-secondary: #ec008c;
  --service-card-bg: rgba(255, 255, 255, 0.94);
  position: relative;
  overflow: hidden;
}

.theme-fiv {
  --service-accent: #006176;
  --service-accent-soft: #32adc0;
  --service-secondary: #ec008c;
  --service-secondary-glow: rgba(236, 0, 140, 0.12);
  --service-accent-glow: rgba(0, 97, 118, 0.16);
  --service-tag-bg: rgba(0, 97, 118, 0.1);
  --service-cta-primary-hover: #59c7d8;
}

.theme-exams {
  --service-accent: #0d6d93;
  --service-accent-soft: #62b7d8;
  --service-secondary: #eb6b7b;
  --service-secondary-glow: rgba(235, 107, 123, 0.14);
  --service-accent-glow: rgba(13, 109, 147, 0.16);
  --service-tag-bg: rgba(13, 109, 147, 0.1);
  --service-cta-primary-hover: #85cbe3;
}

.theme-treatments {
  --service-accent: #006176;
  --service-accent-soft: #43b6c9;
  --service-secondary: #ec008c;
  --service-secondary-glow: rgba(236, 0, 140, 0.12);
  --service-accent-glow: rgba(0, 97, 118, 0.16);
  --service-tag-bg: rgba(0, 97, 118, 0.1);
  --service-cta-primary-hover: #59c7d8;
}

.service-page .container {
  max-width: calc(100% - 80px);
  padding-left: 0;
  padding-right: 0;
}

.service-page::before,
.service-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.service-page::before {
  width: 520px;
  height: 520px;
  top: 110px;
  right: -180px;
  background: radial-gradient(circle, var(--service-secondary-glow), transparent 72%);
}

.service-page::after {
  width: 500px;
  height: 500px;
  left: -220px;
  bottom: 120px;
  background: radial-gradient(circle, var(--service-accent-glow), transparent 72%);
}

.service-hero {
  padding: 72px 0 44px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.service-hero-copy,
.service-hero-panel,
.service-card,
.service-highlight {
  position: relative;
  z-index: 1;
}

.service-eyebrow,
.service-role-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-eyebrow {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--service-accent);
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 97, 118, 0.08);
}

.service-hero-copy h1 {
  margin: 18px 0;
  color: var(--service-accent);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.03;
  font-weight: 800;
  max-width: 760px;
}

.service-hero-copy p {
  max-width: 640px;
  margin: 0;
  color: #477e87;
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.service-cta-primary,
.service-cta-secondary {
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(11, 34, 39, 0.95);
  white-space: nowrap;
}

.service-cta-primary {
  background: linear-gradient(135deg, var(--service-accent), var(--service-accent-soft));
  color: #ffffff;
}

.service-cta-primary:hover {
  background: linear-gradient(135deg, var(--service-accent-soft), var(--service-cta-primary-hover));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 57, 65, 0.75);
}

.service-cta-secondary {
  background: linear-gradient(135deg, #ffffff, #f2fbfc);
  color: var(--service-accent);
}

.service-cta-secondary:hover {
  background: linear-gradient(135deg, #f2fbfc, #e0f7fa);
  color: var(--service-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 57, 65, 0.75);
}

.service-hero-panel {
  padding: 30px;
  border-radius: 28px;
  background: var(--service-card-bg);
  box-shadow: 0 20px 55px rgba(0, 97, 118, 0.16);
  backdrop-filter: blur(12px);
}

.service-panel-header h2 {
  margin: 18px 0 0;
  color: var(--service-accent);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.08;
  font-weight: 800;
}

.service-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.service-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fcfd 0%, #edf7f8 100%);
  border: 1px solid rgba(0, 97, 118, 0.08);
}

.service-point i {
  flex-shrink: 0;
  color: var(--service-secondary);
  font-size: 1.4rem;
  margin-top: 2px;
}

.service-point h3 {
  margin: 0 0 4px;
  color: var(--service-accent);
  font-size: 1rem;
  font-weight: 800;
}

.service-point p {
  margin: 0;
  color: #5f8289;
  line-height: 1.55;
}

.service-section {
  padding: 10px 0 40px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 18px 0 12px;
  color: var(--service-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: #5f8289;
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-cards {
  display: grid;
  gap: 18px;
}

.service-cards.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-cards.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 24px 22px;
  border-radius: 26px;
  background: var(--service-card-bg);
  box-shadow: 0 18px 40px rgba(0, 97, 118, 0.12);
  border: 1px solid rgba(0, 97, 118, 0.06);
}

.service-role-tag {
  padding: 7px 12px;
  background: var(--service-tag-bg);
  color: var(--service-accent);
  font-size: 0.76rem;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--service-accent);
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  color: #5f8289;
  line-height: 1.65;
}

.service-list {
  margin: 18px 0 0;
  padding-left: 1.15rem;
  color: #305861;
}

.service-list li + li {
  margin-top: 8px;
}

.service-highlight-section {
  padding: 2px 0 52px;
}

.service-highlight {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.service-highlight-media,
.service-highlight-content {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.service-highlight-media {
  min-height: 440px;
  box-shadow: 0 18px 44px rgba(0, 97, 118, 0.16);
}

.service-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 28, 0.04) 0%, rgba(8, 24, 28, 0.74) 100%);
}

.service-highlight-quote {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #ffffff;
}

.service-highlight-quote h2 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

.service-highlight-quote p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-highlight-content {
  padding: 34px;
  background: var(--service-card-bg);
  box-shadow: 0 20px 55px rgba(0, 97, 118, 0.16);
  backdrop-filter: blur(12px);
}

.service-highlight-content h2 {
  margin: 0 0 14px;
  color: var(--service-accent);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
}

.service-highlight-content p {
  margin: 0;
  color: #5f8289;
  line-height: 1.7;
}

.service-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.service-metric {
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fcfd 0%, #edf7f8 100%);
  border: 1px solid rgba(0, 97, 118, 0.08);
}

.service-metric strong {
  display: block;
  color: var(--service-accent);
  font-size: 1rem;
  margin-bottom: 6px;
}

.service-metric span {
  color: #5f8289;
  line-height: 1.5;
}

.service-cta-inline {
  margin-top: 26px;
}

@media (max-width: 1199.98px) {
  .service-cards.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .service-page .container {
    max-width: calc(100% - 36px);
  }

  .service-hero-grid,
  .service-highlight {
    grid-template-columns: 1fr;
  }

  .service-cards.three-up {
    grid-template-columns: 1fr;
  }

  .service-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .service-page .container {
    max-width: calc(100% - 28px);
  }

  .service-hero {
    padding-top: 52px;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-cta-primary,
  .service-cta-secondary {
    width: 100%;
    font-size: 1.08rem;
  }

  .service-hero-panel,
  .service-card,
  .service-highlight-content {
    padding: 22px;
    border-radius: 24px;
  }

  .service-highlight-media {
    min-height: 320px;
    border-radius: 24px;
  }

  .service-cards.four-up {
    grid-template-columns: 1fr;
  }
}
