/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0a2540;
  --orange: #f58220;
  --orange-dark: #b45309;
  --orange-deep: #92400e;
  --blue: #1e4b8f;
  --light: #f7f9fc;
  --text: #2c3e50;
  --muted: #5b6b7e;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER / NAV ============ */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.logo span { color: var(--orange); }
.logo img { height: 48px; width: auto; }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
nav a:hover, nav a.active { color: var(--orange-dark); }
nav a.btn-primary:hover, nav a.btn-primary.active { color: var(--white); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: var(--orange-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--orange-dark); color: var(--white); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, rgba(10,37,64,0.92) 0%, rgba(30,75,143,0.88) 100%);
  color: var(--white);
  padding: 110px 24px 120px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0.95;
}

.hero .btn { margin: 6px 8px; }

/* --- Hero carousel (homepage, 4 image slides) --- */
.hero-carousel {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.hero-slide.no-transition {
  transition: opacity 0s;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 37, 64, 0.88) 0%,
    rgba(10, 37, 64, 0.75) 40%,
    rgba(10, 37, 64, 0.45) 70%,
    rgba(10, 37, 64, 0.30) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  padding: 0 6%;
  text-align: left;
  color: var(--white);
}
.hero-slide-content .btn { margin: 0; }

.hero-slide h1,
.hero-slide h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-slide p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 720px;
  margin: 0 0 30px;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(10, 37, 64, 0.4);
}

.hero-slide-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-dots .hero-dot {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero-dots .hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s, transform 0.3s;
}
.hero-dots .hero-dot:hover::after { background: rgba(255, 255, 255, 0.85); }
.hero-dots .hero-dot.is-active::after {
  background: var(--orange);
  transform: scale(1.3);
}
.hero-dots .hero-dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.35);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-arrow:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
.hero-arrow:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }

@media (max-width: 860px) {
  .hero-carousel { min-height: 70vh; }
  .hero-slide-content {
    max-width: none;
    text-align: center;
    padding: 0 6%;
  }
  .hero-slide-buttons { justify-content: center; }
  .hero-slide h1, .hero-slide h2 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0s;
  }
}

/* ============ SECTIONS ============ */
section { padding: 80px 24px; }
section.alt { background: var(--light); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 800;
}

.section-title p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-title .accent {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ============ GRIDS ============ */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-top-color: var(--orange);
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.12);
}
.card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 700;
}
.card p { color: var(--muted); font-size: 0.95rem; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
}

/* ============ STEPS ============ */
.steps {
  counter-reset: step;
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.step {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--orange-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(245, 130, 32, 0.4);
}
.step h3 { margin-top: 12px; color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
  border-radius: 12px;
  margin: 0 auto;
  max-width: 1150px;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  font-weight: 800;
}
.cta-banner p {
  max-width: 620px;
  margin: 0 auto 28px;
  opacity: 0.92;
}

/* ============ FORM ============ */
.form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  padding: 44px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dbe2ec;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fbfcfe;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  display: none;
}
.form-status.success {
  background: #e8f6ee;
  color: #1a7a44;
  border: 1px solid #b7e2c9;
  display: block;
}
.form-status.error {
  background: #fdeaea;
  color: #b3261e;
  border: 1px solid #f4bcbc;
  display: block;
}

/* ============ CONTACT INFO ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  margin-top: 40px;
}
.contact-item {
  background: var(--white);
  padding: 28px 22px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-item .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
}
.contact-item h3 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.95rem; word-break: break-word; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: #c7d3e1;
  padding: 60px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.footer-col p, .footer-col li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #a9b8cb;
}

.footer-col ul { list-style: none; }
.footer-col a { color: #a9b8cb; }
.footer-col a:hover { color: var(--orange); }

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand img { height: 48px; width: auto; }
.footer-brand span { color: var(--orange); }
.footer-tagline { font-style: italic; color: #a9b8cb; font-size: 0.9rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #8595a8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.footer-bottom a { color: #8595a8; margin: 0 6px; }
.footer-bottom a:hover { color: var(--orange); }

/* ============ MOBILE HEADER & NAV ============ */
.menu-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.menu-toggle:hover { background: #f1f5f9; border-color: #cbd5e1; }
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-wrap {
    position: relative;
    padding: 12px 16px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
  }
  nav.open {
    visibility: visible;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    list-style: none;
    display: flex;
    margin: 0;
    padding: 8px 20px 20px;
    gap: 2px;
    background: var(--white);
    border-top: 1px solid #e9eef5;
    box-shadow: 0 18px 32px rgba(10, 37, 64, 0.14);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  nav.open ul {
    opacity: 1;
    transform: translateY(0);
  }

  nav li { border-bottom: 1px solid #f0f3f8; }
  nav li:last-child { border-bottom: none; }

  nav a,
  nav .btn {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 1rem;
  }
  nav a { color: var(--navy); }
  nav a.active { color: var(--orange-dark); }
  nav .btn { margin-top: 16px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 30px 22px; }
  section { padding: 60px 20px; }
  .hero { padding: 80px 20px 90px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  section { padding: 48px 16px; }
  .hero { padding: 64px 16px 76px; }
  .hero .btn {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 10px auto;
  }
  .form-wrap { padding: 26px 16px; }
  .cta-banner { padding: 44px 18px; }
  .footer-grid { gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section-title { margin-bottom: 36px; }
}

/* ============ NEED HELP (header call block) ============ */
.need-help {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  line-height: 1.1;
}

.need-help:hover {
  background: rgba(30, 75, 143, 0.08);
  transform: translateY(-1px);
}

.need-help-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue, #1e4b8f);
  color: #fff;
  flex-shrink: 0;
}

.need-help-text {
  display: flex;
  flex-direction: column;
}

.need-help-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted, #6b7a8f);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.need-help-number {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy, #0a2540);
  letter-spacing: 0.2px;
}

@media (max-width: 860px) {
  .need-help {
    padding: 6px 10px;
  }
  .need-help-label {
    display: none;
  }
  .need-help-number {
    font-size: 0.9rem;
  }
  nav ul li .need-help {
    margin-top: 6px;
    padding: 10px 14px;
    background: rgba(30, 75, 143, 0.06);
    width: 100%;
  }
}

.hero-slide--image img {
  object-position: 75% center;
}

.hero-slide--image[data-slide="0"] img { object-position: 80% center; }
.hero-slide--image[data-slide="1"] img { object-position: 75% center; }
.hero-slide--image[data-slide="2"] img { object-position: 80% center; }
.hero-slide--image[data-slide="3"] img { object-position: 75% center; }

/* ============ GLOBAL FOCUS STATES (a11y) ============ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ============ BODY SCROLL LOCK (mobile menu) ============ */
body.nav-open {
  overflow: hidden;
}

/* ============ LUCIDE INLINE ICONS ============ */
.card-icon {
  background: rgba(245, 130, 32, 0.12);
  color: var(--orange, #f58220);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.card-icon .icon-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.card:hover .card-icon {
  background: var(--orange, #f58220);
  color: #fff;
}

/* Icons inside about.html Mission/Vision cards */
.card-icon .icon-svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Icons inside contact.html tiles */
.contact-item .icon .icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke-width: 1.75;
}

/* Ensure contact icon circle uses brand navy and centers the icon */
.contact-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer contact icons */
.footer-col .footer-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 8px;
  color: #a9b8cb;
  flex-shrink: 0;
}

/* If the footer uses flexbox for list items, this centers nicely */
.footer-col li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============ HEADER LOGO SIZING ============ */
.logo img,
.logo .logo-img,
.logo picture img {
  height: 56px;
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

.logo picture {
  display: inline-flex;
  align-items: center;
}

/* ============ FOOTER LOGO SIZING ============ */
.footer-col .footer-logo-img,
.footer-col picture img {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  transition: height 0.2s ease;
}

/* If the footer logo has an <a> or wrapper around it, keep its spacing */
.footer-col .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* ============ RESPONSIVE — TABLET ============ */
@media (max-width: 1024px) {
  .logo img,
  .logo .logo-img,
  .logo picture img {
    height: 52px;
  }
  .footer-col .footer-logo-img,
  .footer-col picture img {
    height: 40px;
  }
}

/* ============ RESPONSIVE — MOBILE ============ */
@media (max-width: 860px) {
  .logo img,
  .logo .logo-img,
  .logo picture img {
    height: 48px;
  }
  .footer-col .footer-logo-img,
  .footer-col picture img {
    height: 36px;
  }
}

/* ============ RESPONSIVE — SMALL MOBILE ============ */
@media (max-width: 380px) {
  .logo img,
  .logo .logo-img,
  .logo picture img {
    height: 40px;
  }
  .footer-col .footer-logo-img,
  .footer-col picture img {
    height: 32px;
  }
}

/* ============ FOOTER LOGO — WHITE FILTER ============ */
/* Turns the footer logo into a white silhouette without touching the
   original image. The header logo remains full-color. */
.footer-col .footer-logo-img,
.footer-col picture img,
footer .logo-img {
  filter: brightness(0) invert(1);
}

/* Preserve any hover state (if the footer logo is wrapped in a link) */
.footer-col a:hover .footer-logo-img,
.footer-col a:hover picture img,
footer a:hover .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ============ HOW IT WORKS — REFINED ============ */

.steps {
  align-items: stretch;
  position: relative;
}

/* Connecting line behind the badges (desktop only) */
@media (min-width: 861px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 2px;
    background: rgba(245, 130, 32, 0.28);
    z-index: 0;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 40px; /* room for the badge */
  z-index: 1;
}

/* Badge — outlined orange circle, centered on top edge */
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white, #ffffff);
  border: 2px solid var(--orange, #f58220);
  color: var(--orange, #f58220);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  z-index: 2;
}

/* Mobile: hide connecting line, keep badge */
@media (max-width: 860px) {
  .steps::before {
    display: none;
  }
  .step {
    padding-top: 34px;
  }
  .step::before {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ============ NEED HELP — ORANGE CTA REFINEMENT ============ */
/* Switch the phone icon circle from navy blue to brand orange so it
   reads as a call-to-action and stays within the two-color brand system. */

.need-help-icon {
  background: var(--orange, #f58220);
  color: #ffffff;
  transition: background 0.25s ease, transform 0.2s ease;
}

.need-help:hover .need-help-icon {
  background: var(--orange-dark, #d96d0f);
  transform: translateY(-1px);
}

/* Slightly larger icon for better visual weight inside the circle */
.need-help-icon svg {
  width: 18px;
  height: 18px;
}

/* Keep the label/number readable next to the orange */
.need-help-label {
  color: var(--muted, #6b7a8f);
}

.need-help-number {
  color: var(--navy, #0a2540);
}

/* ============================================================
   INLINE SVG GLOBAL SAFETY NET
   Prevents any inline SVG from scaling beyond its intended size.
   This is a defensive rule — it should NOT be needed, but it
   guarantees no SVG blows up on mobile regardless of any
   container-level width rules.
   ============================================================ */

/* Global default: every inline SVG that isn't explicitly sized should be
   at most 32px. Specific rules below override this with exact sizes. */
svg.icon-svg,
svg.footer-icon,
svg[class*="icon"] {
  max-width: 32px;
  max-height: 32px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Header — "Need Help?" phone icon */
.need-help-icon svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

/* Card icons (Services + Why Choose Us + About Mission/Vision) */
.card-icon svg,
.card-icon .icon-svg {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
  flex-shrink: 0;
}

/* Contact page icon tiles */
.contact-item .icon svg,
.contact-item .icon .icon-svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
}

/* Footer contact icons */
.footer-col svg,
.footer-col .footer-icon,
.footer-col .icon-svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -3px;
}

/* ============================================================
   MOBILE OVERRIDE — re-apply the same constraints so no mobile
   media query can accidentally unset them.
   ============================================================ */

@media (max-width: 860px) {
  svg.icon-svg,
  svg.footer-icon,
  svg[class*="icon"] {
    max-width: 28px;
    max-height: 28px;
  }
  .need-help-icon svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
  }
  .card-icon svg,
  .card-icon .icon-svg {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
  }
  .contact-item .icon svg,
  .contact-item .icon .icon-svg {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
  }
  .footer-col svg,
  .footer-col .footer-icon,
  .footer-col .icon-svg {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
  }
}