:root {
      --grad-start: #003D7B;
      --grad-end: #0163C5;
      --border-color: rgba(8, 99, 190, 1);
      --shadow-inset: inset 0px 0px 16.81px 0px rgba(0, 0, 0, 0.67);
      --shadow-outer: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.67);
      --bg-gradient: linear-gradient(180deg, #003D7B 0%, #0163C5 127.52%);
    }
/* ── Hero Section ── */
.hero-section {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  font-size: 79.5px;
  line-height: 95.4px;
  letter-spacing: 0;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .hero-section {
    height: 220px;
  }

  .hero-title {
    font-size: 56px;
    line-height: 68px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: 180px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 50px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    height: 140px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 36px;
  }
}
/*  Why Choose Us Section */
.why-section {
  padding: 70px 0 80px;
  background: #fff;
}

.why-title {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.why-title span {
  color: #bf023f;
}

.why-subtitle {
  font-size: 22px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Pills Track ── */
.why-pills-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  background: #e8e8e8;
  border-radius: 50px;
  padding: 6px 8px;
  width: 820px;
  height: 72px;
  overflow-x: auto;
  scrollbar-width: none;
}

.why-pills-track::-webkit-scrollbar {
  display: none;
}

.why-pill {
  position: relative;
  flex: 1;
  padding: 13px 0;
  border-radius: 50px;
  border: none;
  background: #fff;
  font-size: 25px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: color 0.25s ease;
  outline: none;
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
}

.why-pill:hover {
  color: #bf023f;
}

.why-pill.active {
  color: #bf023f;
  font-weight: 700;
  background: #fff;
}

.why-pill.active::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 2px solid #bf023f;
  border-radius: 50px;
  pointer-events: none;
}

/* ── Card ── */
.why-card {
  background: #f5f5f7;
  border-radius: 20px;
  padding: 44px 0 44px 50px; 
  width: 100%;
  overflow: hidden;          
}

.why-card-inner {
  display: flex;
  gap: 40px;
  align-items: stretch;
  min-height: 380px;
}

/* ── Left Content ── */
.why-card-content {
  flex: 0 0 440px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
}

/* Tab Panels */
.why-tab-panel {
  display: none;
  flex-direction: column;
  flex-grow: 1;
}

.why-tab-panel.active {
  display: flex;
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.why-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}

.why-icon-wrap img {
  width: 75px;
  height: 75px;
  object-fit: cover;
}

.why-card-title {
  font-size: 32px;
  font-weight: 700;
  color: #bf023f;
  margin: 0;
}

.why-card-text {
  font-size: 20px;
  color: #333;
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ── Progress Steps ── */
.why-steps {
  display: flex;
  align-items: center;
  margin-top: 32px;
  padding-top: 0;
}

.why-step {
  cursor: pointer;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.why-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;               
  background: transparent;    
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.why-step-icon img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.4);
  transition: filter 0.3s ease;
}

.why-step.active .why-step-icon {
  border-color: transparent;  /* no border on active */
}

.why-step.active .why-step-icon img {
  filter: none;
}

.why-step-line {
  flex: 1;
  height: 2px;
  background: #ccc;
  transition: background 0.35s ease;
  min-width: 20px;
}

.why-step-line.active {
  background: #bf023f;
}

/* ── Right Images ── */
.why-card-images {
  flex: 1;
  overflow: hidden;
  border-radius: 14px 20px 20px 14px; /* right corners flush with card */
  position: relative;
  min-width: 0;
}

.why-img-scroll {
  display: flex;
  gap: 14px;
  height: 550px;
  transition: transform 0.5s ease;
}

.why-img {
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0.45;
  transform: scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.why-img.active {
  opacity: 1;
  transform: scale(1);
}
/* Large tablets */
@media (max-width: 1199.98px) {
  .why-pills-track {
    width: 100%;
    height: auto;
    padding: 6px 8px;
  }

  .why-card-content {
    flex: 0 0 360px;
    max-width: 360px;
  }

  .why-img-scroll {
    height: 350px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .why-pills-track {
    width: 100%;
    height: auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .why-pills-track::-webkit-scrollbar {
    display: none;
  }

  .why-pill {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    font-size: 14px;
  }

  .why-card-inner {
    flex-direction: column;
    min-height: unset;
  }

  .why-card-content {
    flex: none;
    max-width: 100%;
  }

  .why-img-scroll {
    height: 260px;
  }

  .why-steps {
    display: flex;
    margin-top: 24px;
  }

  .why-step-icon {
    width: 44px;
    height: 44px;
  }

  .why-step-icon img {
    width: 22px;
    height: 22px;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  .why-section {
    padding: 50px 0;
  }

  .why-pills-track {
    width: 100%;
    border-radius: 50px;
    height: auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 5px 15px;
    gap: 6px;
  }

  .why-pills-track::-webkit-scrollbar {
    display: none;
  }

  .why-card {
    border-radius: 0;
    padding: 28px 0 28px 20px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .why-card-images {
    border-radius: 0;
  }

  .why-card-title {
    font-size: 26px;
  }

  .why-card-text {
    font-size: 14px;
  }

  .why-img-scroll {
    height: 240px;
  }

  /* Hide steps on mobile */
  .why-steps {
    display: none;
  }

  .why-pill {
    flex: auto;
    padding: 10px 12px;
    font-size: 12px;
    min-height: 35px;
  }
}
.certified-section {
  width: 100%;
  text-align: center;
}

.cert-img {
  width: fit-content;
  height: auto;
  display: block;
  padding: 10px;
  margin: 0 auto;
}

/* Show desktop image by default */
.mobile-img {
  display: none;
}

/* Switch to mobile image */
@media (max-width: 768px) {
  .desktop-img {
    display: none;
  }

  .mobile-img {
    display: block;
  }
  .cert-img{
    width: 100%;
    max-width: 400px;
  }
}
 /* ── Emergency Section ── */
  .emergency-section {
    width: 100%;
    padding: 60px 0;
  }

  .emergency-wrapper {
    max-width: 1387px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .emergency-body {
    display: grid;
    grid-template-columns: 472px 1fr;
    grid-template-rows: auto 1fr;
    gap: 1.5rem 2rem;
  }

  .emergency-section--reverse .emergency-body {
    grid-template-columns: 1fr 472px;
  }
  .emergency-section--reverse .emergency-image-wrap {
    grid-column: 2;
  }
  .emergency-section--reverse .cards-carousel-wrapper {
    grid-column: 1;
  }

  .emergency-header {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .emergency-image-wrap {
    grid-column: 1;
    grid-row: 2;
    overflow: hidden;
    width: 472px;
    height: 577px;
    flex-shrink: 0;
  }

  .emergency-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .cards-carousel-wrapper {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    align-self: start;
  }

  .emergency-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 0.6rem 0;
  }

  .title-highlight {
    color: var(--brand);
    font-style: italic;
  }

  .emergency-desc {
    font-size: 1.3rem;
    color: var(--muted);
    margin: 0;
  }

  .cards-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    border-radius: 12.19px;
    background: #fff;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 260px;
  }

  .feature-card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
  }

  .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.6rem 0;
    line-height: 1.3;
  }

  .card-desc {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
  }
  @media (max-width: 768px) {
    .emergency-section { padding: 36px 0 24px; }

    .emergency-wrapper { padding: 0 1.2rem; }

    .emergency-body {
      grid-template-columns: 120px 1fr !important; 
      grid-template-rows: auto auto;
      gap: 1rem;
    }

    
    .emergency-image-wrap {
      grid-column: 1 !important;
      grid-row: 1;
      width: 120px;
      height: 120px;
    }

    .emergency-header {
      grid-column: 2 !important;
      grid-row: 1;
    }

    .cards-carousel-wrapper {
      grid-column: 1 / -1 !important;
      grid-row: 2;
      width: calc(100% + 2.4rem);
      margin-left: -1.2rem;
      overflow: hidden;
    }

    .emergency-title { 
      font-size: 1.1rem; 
      margin-bottom: 0.4rem; 
    }
    .emergency-desc  { 
      font-size: 0.75rem; 
      max-width: 100%; 
    }

    .cards-track {
      display: flex;
      flex-direction: row;
      gap: 0.75rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 0.8rem 1.2rem 1.4rem;
    }
    .cards-track::-webkit-scrollbar { display: none; }

    .feature-card {
      flex: 0 0 calc(100% - 4rem);
      width: calc(100% - 4rem);
      min-height: 240px;
      height: auto;
      scroll-snap-align: center;
      opacity: 0.45;
      transform: scale(0.95);
      transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    }

    .feature-card.active-card {
      opacity: 1;
      transform: scale(1);
      box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
    }
  }

  @media (max-width: 480px) {
    .emergency-body { 
      grid-template-columns: 95px 1fr !important; 
    }
    .emergency-image-wrap { 
      width: 95px; 
      height: 120px; 
    }
    .emergency-title {
       font-size: 0.95rem; 
      }
    .emergency-desc  { 
      font-size: 0.68rem; 
    }
    .cards-carousel-wrapper { 
      width: calc(100% + 2.4rem); 
      margin-left: -1.2rem; 
    }
    .cards-track { 
      padding: 0.8rem 1.2rem 1.4rem; 
      gap: 0.65rem; 
    }
    .feature-card { 
      flex: 0 0 calc(100% - 3.5rem); 
      width: calc(100% - 3.5rem); 
      min-height: 220px; 
    }
  }
   .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }
  .modal-overlay.open {
    display: flex;
  }
  .modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    padding: 2rem 2.2rem;
    position: relative;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
    animation: modalIn 0.22s ease;
  }
  @keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
  }
  .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: background 0.15s;
  }
  .modal-close:hover { background: #f0f0f0; color: #333; }
  .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1rem;
    padding-right: 2rem;
    line-height: 1.3;
  }
  .modal-body {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
  }
  .card-read-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.85rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand);
    cursor: pointer;
    background: none;
    border: none;
    padding-left: 0;
    letter-spacing: 0.01em;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
  }
  .card-read-more:hover { opacity: 0.72; }

  .feature-card { min-height: 200px; }

  @media (max-width: 768px) {
    .modal-box { padding: 1.6rem 1.4rem; }
    .feature-card { min-height: 185px; }
  }