/* ============================================
   HEARIZAN — SUBPAGE STYLES
   Used for: Services, About (matches landing aesthetic)
   ============================================ */

/* ============================================
   PAGE HERO (compact version of landing hero)
   ============================================ */
.subpage-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #F7FAFE 0%, #FFFFFF 100%);
}
.subpage-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.subpage-hero-bg .hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1BAFC4 0%, transparent 70%);
  top: -150px;
  right: -100px;
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.subpage-hero-bg .hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0A5BB0 0%, transparent 70%);
  bottom: -120px;
  left: -80px;
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.subpage-hero-bg .hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 91, 176, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 91, 176, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

/* ============ Themed hero backgrounds (per-page) ============ */

/* SERVICES hero — sound waves / audiology theme */
.subpage-hero-bg.theme-services::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%231BAFC4' stop-opacity='0'/><stop offset='50%25' stop-color='%231BAFC4' stop-opacity='0.5'/><stop offset='100%25' stop-color='%231BAFC4' stop-opacity='0'/></linearGradient><linearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%230A5BB0' stop-opacity='0'/><stop offset='50%25' stop-color='%230A5BB0' stop-opacity='0.45'/><stop offset='100%25' stop-color='%230A5BB0' stop-opacity='0'/></linearGradient></defs><g stroke-linecap='round' fill='none' stroke-width='1.5'><path d='M0,80 Q100,50 200,80 T400,80 T600,80 T800,80 T1000,80 T1200,80' stroke='url(%23g1)'/><path d='M0,140 Q120,100 240,140 T480,140 T720,140 T960,140 T1200,140' stroke='url(%23g2)' stroke-width='1.2'/><path d='M0,360 Q150,310 300,360 T600,360 T900,360 T1200,360' stroke='url(%23g1)' stroke-width='1.2'/><path d='M0,420 Q100,390 200,420 T400,420 T600,420 T800,420 T1000,420 T1200,420' stroke='url(%23g2)'/></g><g fill='none' stroke='%231BAFC4' stroke-width='2' stroke-linecap='round' opacity='0.18'><circle cx='150' cy='240' r='40'/><circle cx='150' cy='240' r='70'/><circle cx='150' cy='240' r='100'/><circle cx='1050' cy='260' r='40'/><circle cx='1050' cy='260' r='70'/><circle cx='1050' cy='260' r='100'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 90%);
}

/* ABOUT hero — connected dots / network theme */
.subpage-hero-bg.theme-about::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='xMidYMid slice'><g stroke='%230A5BB0' stroke-width='1' opacity='0.15' fill='none'><line x1='100' y1='80' x2='250' y2='160'/><line x1='250' y1='160' x2='400' y2='100'/><line x1='400' y1='100' x2='550' y2='200'/><line x1='550' y1='200' x2='700' y2='130'/><line x1='700' y1='130' x2='850' y2='220'/><line x1='850' y1='220' x2='1000' y2='150'/><line x1='1000' y1='150' x2='1150' y2='240'/><line x1='100' y1='350' x2='250' y2='420'/><line x1='250' y1='420' x2='400' y2='360'/><line x1='400' y1='360' x2='550' y2='440'/><line x1='550' y1='440' x2='700' y2='380'/><line x1='700' y1='380' x2='850' y2='450'/><line x1='850' y1='450' x2='1000' y2='400'/><line x1='1000' y1='400' x2='1150' y2='460'/><line x1='250' y1='160' x2='250' y2='420'/><line x1='550' y1='200' x2='550' y2='440'/><line x1='850' y1='220' x2='850' y2='450'/></g><g fill='%231BAFC4' opacity='0.5'><circle cx='100' cy='80' r='4'/><circle cx='250' cy='160' r='5'/><circle cx='400' cy='100' r='4'/><circle cx='550' cy='200' r='6'/><circle cx='700' cy='130' r='4'/><circle cx='850' cy='220' r='5'/><circle cx='1000' cy='150' r='4'/><circle cx='1150' cy='240' r='4'/><circle cx='100' cy='350' r='4'/><circle cx='250' cy='420' r='5'/><circle cx='400' cy='360' r='4'/><circle cx='550' cy='440' r='6'/><circle cx='700' cy='380' r='4'/><circle cx='850' cy='450' r='5'/><circle cx='1000' cy='400' r='4'/><circle cx='1150' cy='460' r='4'/></g><g fill='%230A5BB0' opacity='0.35'><circle cx='250' cy='160' r='10'/><circle cx='550' cy='200' r='10'/><circle cx='850' cy='220' r='10'/><circle cx='250' cy='420' r='10'/><circle cx='550' cy='440' r='10'/><circle cx='850' cy='450' r='10'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 90%);
}

/* CONTACT hero — dotted-map / location theme */
.subpage-hero-bg.theme-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(10, 91, 176, 0.18) 1.5px, transparent 1.5px),
    radial-gradient(rgba(27, 175, 196, 0.14) 1px, transparent 1px);
  background-size: 24px 24px, 16px 16px;
  background-position: 0 0, 12px 8px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
}
/* Pulsing pin accents (decoration) */
.subpage-hero-bg.theme-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%230A5BB0' stroke-width='1.3' opacity='0.18'><circle cx='160' cy='130' r='28'/><circle cx='160' cy='130' r='52'/><circle cx='160' cy='130' r='78'/></g><g fill='none' stroke='%231BAFC4' stroke-width='1.3' opacity='0.22'><circle cx='1040' cy='370' r='28'/><circle cx='1040' cy='370' r='52'/><circle cx='1040' cy='370' r='78'/></g><g fill='%231BAFC4' opacity='0.5'><circle cx='160' cy='130' r='5'/><circle cx='1040' cy='370' r='5'/></g></svg>");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.subpage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(27, 175, 196, 0.08);
  border: 1px solid rgba(27, 175, 196, 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}
.subpage-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1BAFC4;
  box-shadow: 0 0 0 4px rgba(27, 175, 196, 0.2);
}
.subpage-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: #0B1E33;
}
.subpage-title-accent {
  background: linear-gradient(135deg, #0A5BB0 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.subpage-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: White;
  max-width: 620px;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5C6F85;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: #5C6F85;
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: #0A5BB0; }
.breadcrumb-current { color: #fff; }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
body.subpage h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0B1E33;
  letter-spacing: -0.02em;
}
body.subpage h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0B1E33;
}

.section-subpage {
  padding: 6rem 0;
}
.section-subpage-alt {
  background: #F7FAFE;
}

.subsection-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.subsection-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1BAFC4;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.subsection-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: #0B1E33;
}
.subsection-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: #5C6F85;
}

/* ============================================
   SERVICES PAGE — Detailed Cards
   ============================================ */
.svc-detail-grid {
  display: grid;
  gap: 2rem;
}
.svc-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #E5EDF5;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s;
}
.svc-detail-card:hover {
  border-color: rgba(10, 91, 176, 0.2);
  box-shadow: 0 12px 40px -8px rgba(10, 91, 176, 0.15);
}
.svc-detail-card.reverse {
  grid-template-columns: 1fr 1fr;
}
.svc-detail-card.reverse .svc-detail-visual { order: 2; }
.svc-detail-card.reverse .svc-detail-content { order: 1; }

.svc-detail-visual {
  position: relative;
  background: #F7FAFE;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.svc-visual-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* Service-specific visuals (inside .svc-detail-visual) */
.svc-visual-mark {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.svc-visual-floating {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: 0 12px 32px -6px rgba(10, 91, 176, 0.3);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 2;
}
.svc-visual-floating.top {
  top: 14%;
  left: 8%;
  animation: float-svc 5s ease-in-out infinite;
}
.svc-visual-floating.bot {
  bottom: 12%;
  right: 8%;
  animation: float-svc 5s ease-in-out infinite;
  animation-delay: -2.5s;
}
@keyframes float-svc {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.svc-visual-floating-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(27, 175, 196, 0.12);
  color: #1BAFC4;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-visual-floating-icon.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.svc-visual-floating-text strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0B1E33;
}
.svc-visual-floating-text span {
  font-size: 0.6875rem;
  color: #5C6F85;
}

.svc-detail-content {
  padding: 3rem;
}
.svc-tag-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.svc-tag-popular {
  background: linear-gradient(135deg, #0A5BB0, #1BAFC4);
  color: #fff;
}
.svc-tag-time {
  background: rgba(10, 91, 176, 0.08);
  color: #0A5BB0;
}
.svc-tag-price {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
}
.svc-detail-content h3 {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
  color: #0B1E33;
}
.svc-detail-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #5C6F85;
  margin-bottom: 1.5rem;
}
.svc-includes-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1BAFC4;
  margin-bottom: 0.75rem;
}
.svc-includes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.625rem;
}
.svc-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #2D3F54;
  line-height: 1.5;
}
.svc-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(27, 175, 196, 0.12);
  color: #1BAFC4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-detail-actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .svc-detail-card,
  .svc-detail-card.reverse {
    grid-template-columns: 1fr;
  }
  .svc-detail-card.reverse .svc-detail-visual { order: 1; }
  .svc-detail-card.reverse .svc-detail-content { order: 2; }
  .svc-detail-visual {
    min-height: 220px;
    padding: 2rem;
  }
  .svc-detail-content { padding: 2rem; }
  .svc-detail-content h3 { font-size: 1.375rem; }
}

/* ============================================
   ABOUT PAGE — Story / Pillars / Team
   ============================================ */

/* Story split section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-visual-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #F7FAFE;
  box-shadow: 0 12px 40px -12px rgba(10, 91, 176, 0.18);
}
.story-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-visual-image { aspect-ratio: 16 / 10; }
}
.story-visual-card {
  position: relative;
  background: linear-gradient(135deg, #0A5BB0 0%, #0E6FCC 50%, #1BAFC4 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  color: #fff;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.story-visual-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.story-visual-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.story-visual-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
  position: relative;
}
.story-visual-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
}
.story-visual-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
}
.story-visual-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  margin-bottom: 1.5rem;
}
.story-visual-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 1rem 0;
  position: relative;
}
.story-visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  position: relative;
}
.story-visual-row span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}
.story-visual-row strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.story-content h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #0B1E33;
}
.story-content > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2D3F54;
  margin-bottom: 1rem;
}
.story-content > p:last-of-type {
  color: #5C6F85;
}
.story-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-visual-card { min-height: 380px; }
}

/* Mission / Vision / Values pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar-card {
  background: #fff;
  border: 1px solid #E5EDF5;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.pillar-card:hover {
  border-color: rgba(10, 91, 176, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(10, 91, 176, 0.12);
}
.pillar-card-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 91, 176, 0.15);
  line-height: 1;
  letter-spacing: -0.04em;
}
.pillar-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0A5BB0 0%, #1BAFC4 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px rgba(10, 91, 176, 0.2);
}
.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
  color: #0B1E33;
}
.pillar-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5C6F85;
}

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.team-card {
  background: #fff;
  border: 1px solid #E5EDF5;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(135deg, rgba(10, 91, 176, 0.05), rgba(27, 175, 196, 0.08));
  z-index: 0;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -8px rgba(10, 91, 176, 0.15);
  border-color: rgba(10, 91, 176, 0.2);
}
.team-card-avatar {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(10, 91, 176, 0.12);
}
.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0B1E33;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.team-card-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1BAFC4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
}
.team-card-bio {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #5C6F85;
  padding-top: 0.875rem;
  border-top: 1px solid #E5EDF5;
  position: relative;
  z-index: 1;
  margin-bottom: 0.875rem;
}
.team-card-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.team-card-cred {
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(10, 91, 176, 0.08);
  color: #0A5BB0;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Process timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(10, 91, 176, 0.2) 20%, rgba(27, 175, 196, 0.2) 80%, transparent 100%);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 2px solid #E5EDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0A5BB0;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(10, 91, 176, 0.08);
  position: relative;
  letter-spacing: -0.02em;
}
.process-step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px dashed rgba(27, 175, 196, 0.3);
  border-radius: 50%;
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0B1E33;
}
.process-step p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #5C6F85;
}

@media (max-width: 768px) {
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-timeline::before { display: none; }
}
@media (max-width: 480px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* Stats band (similar to landing) */
.subpage-stats {
  background: linear-gradient(135deg, #0A5BB0 0%, #0E6FCC 50%, #1BAFC4 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.subpage-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}
.subpage-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.subpage-stat {
  text-align: center;
  color: #fff;
  padding: 0.5rem;
}
.subpage-stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.subpage-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.subpage-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

@media (max-width: 768px) {
  .subpage-stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .subpage-stat:not(:last-child) { border-right: none; }
  .subpage-stat:nth-child(odd):not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.18); }
}

/* Comparison block (services page) */
.compare-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.compare-card {
  background: #fff;
  border: 1px solid #E5EDF5;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}
.compare-card.bad {
  background: #FAFAFA;
}
.compare-card.good {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FE 100%);
  border-color: rgba(10, 91, 176, 0.2);
  box-shadow: 0 8px 32px -8px rgba(10, 91, 176, 0.1);
}
.compare-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.compare-card.bad .compare-tag {
  background: rgba(148, 163, 184, 0.15);
  color: #64748b;
}
.compare-card.good .compare-tag {
  background: linear-gradient(135deg, #0A5BB0, #1BAFC4);
  color: #fff;
}
.compare-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0B1E33;
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: #2D3F54;
  line-height: 1.55;
}
.compare-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.compare-card.bad .compare-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.compare-card.good .compare-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

@media (max-width: 768px) {
  .compare-block { grid-template-columns: 1fr; }
}





/* ============================================
   ABOUT — Feature Section (image left + content right)
   ============================================ */
.about-feature-section {
  padding: 6rem 0;
  background: #fff;
}
.aft-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

/* Image side */
.aft-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #F7FAFE;
  box-shadow: 0 24px 60px -16px rgba(10, 91, 176, 0.22);
}
.aft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Floating badge over image */
.aft-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: 0 8px 28px -8px rgba(10, 91, 176, 0.2);
}
.aft-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  position: relative;
}
.aft-badge-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #10B981;
  opacity: 0.4;
  animation: aft-pulse 2.2s ease-out infinite;
}
@keyframes aft-pulse {
  0%   { transform: scale(0.85); opacity: 0.45; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.aft-image-badge strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0B1E33;
  line-height: 1.2;
}
.aft-image-badge span {
  font-size: 0.6875rem;
  color: #5C6F85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Content side */
.aft-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-feature-section .aft-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0B1E33;
  line-height: 1.15;
  margin: 0;
}
.aft-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #2D3F54;
  margin: 0;
}

/* Numbered list */
.aft-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.aft-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.aft-list-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(27, 175, 196, 0.1);
  color: #1BAFC4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.aft-list li > div { flex: 1; }
.aft-list li strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0B1E33;
  line-height: 1.3;
  margin-bottom: 4px;
}
.aft-list li p {
  font-size: 0.9375rem;
  color: #5C6F85;
  line-height: 1.55;
  margin: 0;
}

.aft-cta-row {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

@media (max-width: 1024px) {
  .aft-grid { grid-template-columns: 1fr; gap: 3rem; }
  .aft-image { aspect-ratio: 16 / 11; max-width: 580px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .about-feature-section { padding: 4rem 0; }
  .aft-image { aspect-ratio: 4 / 3; }
  .aft-image-badge { left: 1rem; bottom: 1rem; padding: 0.6rem 0.875rem; }
}
/* Add Overlay Color Black */
.subpage-hero {
    background-image: url('../assets/bg_img.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.subpage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 30 51 / 12%) 0%, rgb(10 91 176 / 21%) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Make sure content sits above the overlay */
.subpage-hero-content {
  position: relative;
  z-index: 2;
}

