:root {
    --bg: #f7f9fc;
    --white: #ffffff;
    --primary: #0b6fbf; /* soft healthcare blue */
    --primary-700: #095a9a;
    --muted: #6b7280;
    --card: #f3f6fb;
    --radius: 5px;
    --max-width: 1200px;
  }
  * {
    box-sizing: border-box;
  }
  body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
      Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: #0b1f2f;
    line-height: 1.5;
  }
  
  @font-face {
    font-family: "Raleway-VariableFont";
    src: url("fonts.woff/Raleway-VariableFont_wght.ttf") format("woff2"),
      url("fonts.woff/Raleway-VariableFont_wght.ttf") format("woff");
  }
  
  /* Native smooth scrolling fallback */
  html {
    /* Removed native smooth scroll to avoid conflicting with GSAP animated scroll (prevents double/jump behavior) */
    scroll-behavior: auto;
  }
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
  }
  




a.logo {
  width: 100%;
  height: 100%;
  flex: 0.4;
}

  .contact-card p {
    display: flex;
    gap: 10px;
}

  article.faq-item.is-open {
    background: #0b6fbf;
    color: white;
    padding-bottom: 20px;
  }
  
  article.faq-item.is-open button span,
  article.faq-item.is-open div p {
    color: white;
  }
  
  .counter-icon svg {
    /* height: 46%; */
    width: 25%;
  }
  .svg-place {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    font-weight: 700;
    font-family: "Raleway", "Raleway-VariableFont", system-ui, sans-serif;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.25rem;
  }
  .main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .main-nav a {
    position: relative; /* for animated underline */
    display: inline-block;
    color: #083042;
    text-decoration: none;
    padding: 0.35rem 1.5rem;
    min-width: 100px;
    border-radius: 25px;
    text-align: center;
  }
  
  a.cta::after {
      background: none;
  }

  a.cta::after {
    display: none;
  }
  
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: 0px;
    height: 2px;
    width: 85%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 260ms cubic-bezier(0.49, 0.57, 1, 1);
    border-radius: 2px;
  }
  
  .main-nav a:hover::after,
  .main-nav a:focus::after,
  .main-nav a:focus-visible::after {
    transform: scaleX(1);
  }
  .main-nav a.cta {
    background: var(--primary);
    color: white;
  }
  .nav-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.25rem;
  }
  
  .hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
  }
  .hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(5, 39, 71, 0.6),
      rgba(6, 83, 134, 0.45)
    );
  }
  .hero-content {
    position: relative;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
  }
  .hero-text {
    max-width: 54%;
  }
  .site-title {
    font-family: "Raleway", "Raleway-VariableFont", system-ui, sans-serif;
    font-size: 2.8rem;
    margin: 0 0 0.25rem;
  }
  .tagline {
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
  }
  .hero-sub {
    color: rgba(255, 255, 255, 0.9);
  }
  .hero-cta {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
  }
  .btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
  }
  .btn.primary {
    background: var(--primary);
    color: white;
    border-radius: 25px;
  }
  .btn.ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
  .hero-image img {
    width: 520px;
    max-width: 40vw;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(2, 18, 35, 0.35);
  }
  
  /* GPU/hardware acceleration hints to make transforms smoother */
  .site-title,
  .tagline,
  .hero-image img,
  .service-card,
  .testimonial,
  .acc-item,
  .about-images img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
  }

  .row.backlink {
    display: none !important;
}
  
  .section {
    padding: 7rem 0 7em;
  }
  .section h2 {
    font-family: Raleway-VariableFont, serif;
    margin: 0 0 0.5rem;
  }
  .section-sub {
    color: var(--muted);
    margin-bottom: 1.25rem;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 2rem;
    align-items: center;
  }
  .about-text p {
    color: #0f2230;
  }
  .about-images {
    position: relative;
  }
  .about-image-frame {
    position: relative;
    padding: 1.5rem;
    border-radius: 28px;
  }
  .about-image-frame::before {
    content: "";
    position: absolute;
    inset: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(11, 111, 191, 0.18);
    z-index: 1;
    bottom: 100px;
  }
  .about-image-frame img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    height: 425px;
    width: 540px;
}
  .about-list {
    margin-top: 1rem;
    padding-left: 1rem;
    color: var(--muted);
  }
  
  section#counters {
      background: #f1f7fc;
  }
  
  /* Counters / Stats section */
  /* .counters {
    background: linear-gradient(
      180deg,
      rgba(11, 111, 191, 0.03),
      transparent 40%
    );
  } */
  .counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
  .counter-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(9, 30, 46, 0.05);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center; /* ensure icon, number and label are centered */
    padding-top: 3.25rem; /* room for absolute-positioned circular icon */
  }
  .count-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
  font-family: "Raleway", "Raleway-VariableFont", system-ui, sans-serif;
  /* use tabular/lining numerals so digits share the same baseline and height */
  font-variant-numeric: tabular-nums lining-nums;
  }
  .count-label {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: bold;
  }
  
  /* Ensure counter icon has a predictable size and the SVG scales inside it */
  .counter-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    /* place icon above the card content so different SVG viewBoxes don't shift layout */
    position: absolute;
    left: 50%;
    top: -32px;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(11, 111, 191, 0.12);
    color: #fff;
    z-index: 2;
  }
  .counter-icon svg {
    width: 46%;
    height: 46%;
    display: block;
    fill: white;
  }
  
  .count-number {
    line-height: 1; /* avoid baseline shifts between different numbers */
  display: inline-block; /* keeps the number box stable as digits change */
  }
  
  @media (max-width: 1000px) {
    .counter-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 700px) {
    .counter-grid {
      grid-template-columns: 1fr;
    }
    .counter-card {
      min-height: 100px;
    }
  
    .about-image-frame img {
      position: relative;
      z-index: 2;
      width: 100%;
      border-radius: 10px;
      object-fit: cover;
      display: block;
      height: 300px;
      width: 100%;
  }

  .about-image-frame::before {
    content: "";
    position: absolute;
    inset: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(11, 111, 191, 0.18);
    z-index: 1;
    bottom: 100px;
    left: 50px;
}

    .btn {
      display: inline-block;
      padding: 0.5rem 0.8rem;
      border-radius: 25px;
      text-decoration: none;
      border: 1px solid transparent;
      cursor: pointer;
  }
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .service-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(9, 30, 46, 0.06);
    cursor: pointer;
    /* disable hover animations to avoid repaint/lag on slower devices */
    transition: none;
    /* avoid keeping will-change permanently; let browser manage layers */
    will-change: auto;
  }
  .service-card:hover {
    /* no transform/scale on hover to prevent jank; keep visual stable */
    transform: none;
    box-shadow: 0 6px 18px rgba(9, 30, 46, 0.06);
  }
  .service-card {
    position: relative; /* allow absolute-positioned circular icon */
    padding-top: 3.25rem; /* room for the badge that sits above the card content */
  }
  
  .card-icon {
    /* make service icons match the counter circular badge */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: -28px; /* half of the badge height to overlap the card */
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(11, 111, 191, 0.12);
    color: #fff;
    z-index: 2;
    /* keep badge static to avoid extra repaints on hover */
    transition: none;
  }
  
  .card-icon svg {
    width: 48%;
    height: 48%;
    display: block;
    fill: white; /* ensure SVGs use white inside the badge */
  }
  
  .service-card:hover .card-icon {
    transform: translateX(-50%);
  }
  
  .accordion {
    max-width: 100%;
  }
  .acc-item {
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(9, 30, 46, 0.04);
  }
  .acc-toggle {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: transparent;
    border: 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .acc-panel {
    /* panels are hidden by scaling on the Y axis for smoother GPU-accelerated animation */
    padding: 0 1.25rem;
    overflow: hidden;
    display: block; /* keep in flow for accessibility */
    color: var(--muted);
    opacity: 0;
    transform-origin: top center;
    will-change: height, opacity;
    transition: opacity 220ms ease; /* JS handles height and padding to avoid conflicts */
  }
  
  /* Active/open accordion styling */
  .acc-item.open .acc-toggle {
    background: var(--primary);
    color: #fff;
  }
  .acc-item.open .acc-toggle .acc-chevron {
    /* when open, let the chevron sit on the blue background (no black badge) */
    background: transparent;
    color: #fff;
  }
  .acc-item.open .acc-panel {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.25rem 1.25rem;
    opacity: 1;
    /* height is animated via JS for smoothness; keep overflow hidden */
    /* height is set to auto after JS animation completes */
  }
  
  /* make closed toggles look like cards with subtle border */
  .acc-item .acc-toggle {
    border: 1px solid rgba(11, 111, 191, 0.06);
    border-radius: 6px;
    background: #fff;
  }
  
  /* Chevron alignment and subtle color change */
  .acc-chevron {
    transition: transform 0.18s ease, color 0.18s ease, background 220ms ease;
    color: var(--muted);
    /* circular black badge when closed */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0b0b0b; /* black badge */
    color: #fff; /* icon inside the badge is white */
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  
  .testimonial-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .testimonial-slider {
    flex: 1;
    overflow: hidden; /* viewport */
    position: relative;
  }
  .testimonial-track {
    display: flex; /* track we will translate */
    gap: 0; /* slides are full-viewport width; no gap so math is simple */
    will-change: transform;
  }
  .testimonial {
    box-sizing: border-box;
    min-height: 140px;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 10px;
    /* box-shadow: 0 8px 24px rgba(8, 20, 30, 0.06); */
    flex: 0 0 100%; /* each slide takes full viewport width by default */
  }
  .quote {
    font-style: italic;
    margin: 0 0 0.5rem;
  }
  .author {
    font-weight: 600;
    color: var(--muted);
    margin: 0;
  }
  .t-prev,
  .t-next {
    background: #0b6fbf;
    border: 0;
    border-radius: 50px;
    color: white !important;
    font-size: 1.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--muted);
  }
  
  .t-prev .nav-icon,
  .t-next .nav-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
  }
  
  .t-prev .nav-icon {
    transform: rotate(180deg);
  }
  .testimonial-dots {
    display: flex;
  gap: 0.35rem;
    justify-content: center;
    margin-top: 0.75rem;
    align-items: center;
  }
  .dot {
  width: 8px;
  height: 8px;
    border-radius: 50%;
    box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* ensure true circle on button element */
    /* make inactive dots appear as rings with white center */
    background: #ffffff;
  border: 1.5px solid rgba(9, 30, 46, 0.18);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease,
      transform 180ms ease;
  }
  .dot.active {
    background: var(--primary);
    border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 111, 191, 0.15);
    /* transform: translateY(-1px); */
  }
  .dot:focus {
    outline: none;
  box-shadow: 0 0 0 3px rgba(11, 111, 191, 0.18);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
  }
  .contact-form .form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .contact-form input,
  .contact-form textarea {
    flex: 1;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #dbe6f3;
    background: var(--white);
  }
  .contact-info {
    background: var(--card);
    padding: 1.25rem;
    border-radius: 5px;
  }
  
  aside.contact-info p,
  aside.contact-info h3 {
      font-family: Raleway-VariableFont, serif;
  }
  
  .contact-card {
    margin-top: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
  }
  .form-msg {
    color: var(--primary);
  }
  
  .site-footer {
    background: #071a2a;
    color: rgba(255, 255, 255, 0.8);
    padding: 1.25rem 0;
  }
  .footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-left: 1rem;
  }
  
  /* Responsive */
  @media (max-width: 1000px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
      grid-template-columns: 1fr;
    }
    .hero-content {
      flex-direction: column;
      align-items: flex-start;
    }
    .hero-text {
      max-width: 100%;
    }
    .hero-image img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }
  }
  @media (max-width: 700px) {
    .nav-toggle {
      display: block;
    }
    .main-nav {
      display: none;
    }
  
    .section {
      padding: 2rem 0 2em;
  }
  
    .hero {
      position: relative;
      height: 75vh;
      min-height: 420px;
      display: flex;
      align-items: center;
      color: white;
      overflow: hidden;
  }
  
    /* mobile open menu */
    .main-nav.open {
      display: flex;
      position: absolute;
      right: 1.5rem;
      top: 64px;
      background: var(--white);
      padding: 0.75rem;
      border-radius: 10px;
      box-shadow: 0 12px 30px rgba(2, 18, 35, 0.12);
      flex-direction: column;
      gap: 0.5rem;
      z-index: 60;
    }
    .services-grid {
      grid-template-columns: 1fr;
    }
    .contact-grid {
      grid-template-columns: 1fr;
    }
    .site-title {
      font-size: 2rem;
    }
  }
  
  section#details .container {
    text-align: center;
  }
  
  section#services .container {
    text-align: center;
  }
  
  .container h2 {
    font-size: 30px;
  }
  
  :root {
    --page-bg: #ffffff;
    --card-bg: #f6f6f6;
    --text-main: #0d0d0d;
    --border-color: #e5e5e5;
    --radius: 16px;
    --padding: 24px;
    --transition: 0.22s ease-out;
  }
  
  /* Page base */
  body {
    margin: 0;
    font-family: Raleway-VariableFont, serif;
    background-color: var(--page-bg);
    color: var(--text-main);
  }
  
  .faq-section {
    padding: 60px 16px 80px;
  }
  
  .faq-container {
    max-width: 960px;
    margin: 0 auto;
  }
  
  /* Title */
  .faq-title {
    margin: 0 0 32px;
    text-align: center;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-main);
  }
  
  /* List layout */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* Card */
  .faq-item {
    background: var(--card-bg);
    border-radius: 1px solid;
    /* border: 1px solid transparent; */
    transition: border-color var(--transition), background-color var(--transition);
  }
  
  /* Optional slight border when open for clarity */
  .faq-item.is-open {
    border-color: var(--border-color);
  }
  
  /* Header (clickable area) */
  .faq-header {
    width: 100%;
    padding: var(--padding);
    border: none;
    outline: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
  }
  
  .faq-header:hover {
    background: rgba(0, 0, 0, 0.02);
  }
  
  .faq-header:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }
  
  .faq-question {
    flex: 1;
  }
  
  /* Icon base */
  .faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  
  /* Horizontal line */
  .faq-icon::before,
  .faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }
  
  /* Horizontal line (before) */
  .faq-icon::before {
    transform: translate(-50%, -50%);
  }
  
  /* Vertical line (after) */
  .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  
  /* WHEN OPEN → X ICON */
  .faq-item.is-open .faq-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  section#testimonials .container h2 {
    text-align: center;
  }
  
  /* Body */
  .faq-body {
    padding: 0 var(--padding);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding-bottom var(--transition),
      padding-top var(--transition);
    will-change: max-height;
    /* color: var(--text-main); */
  }
  
  .faq-item.is-open .faq-body {
    padding-top: 0;
    padding-bottom: var(--padding);
  }
  
  /* Text inside body */
  .article.faq-item.is-open .faq-body p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.3;
    color: var(--text-main);
    max-width: 720px;
  }
  
  .faq-icon::before,
  .faq-icon::after {
    background: #000; /* closed state: black */
  }
  
  /* When open, the cross/lines should be white so they show on the blue background */
  .faq-item.is-open .faq-icon::before,
  .faq-item.is-open .faq-icon::after {
    background: #fff;
  }
  
  article.service-card p {
    line-height: 1.3;
  }
  
  article.service-card h3 {
    line-height: 1.3;
  }
  
  section#services .container h2 {
    margin-bottom: 75px;
  }
  .faq-body p {
    line-height: 1.4;
}

.container.contact-grid a {
    text-decoration: none;
    color: black;
}
  /* Responsive */
  @media (max-width: 640px) {
    .faq-section {
      padding: 40px 12px 56px;
    }
  
    .faq-header {
      padding: 20px;
      font-size: 15px;
    }
  
    .faq-body {
      padding: 0 20px;
    }
  
    .faq-item.is-open .faq-body {
      padding-bottom: 20px;
    }
  }
  