:root {
  /* Brand palette (extracted from logo) */
  --primary-color: #f48120; /* main brand orange */
  --primary-600: #d85726; /* deeper shade */
  --primary-700: #c83f26; /* darkest accent from logo */
  --secondary-color: #fff6ef; /* soft warm background tint */
  --text-color: #58595b; /* brand gray for body text */
  --muted-text: #7a7b7d; /* softer text */
  --accent-color: #f48120; /* buttons / links / highlights */
  --accent-contrast: #ffffff;
  --pri: var(--primary-color, #f48120);
   --surface-color: #ffffff;

  /* Neutrals & utility */
  --white-color: #ffffff;
  --surface-color: #ffffff;
  --divider-color: #f481201a; /* primary @ ~10% */
  --dark-divider-color: #ffffff1a;
  --error-color: rgb(230, 87, 87);

  /* Effects & tokens */
  --focus-ring: 0 0 0 3px #f4812026; /* accessible focus */
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.06);
  --shadow: 0 10px 26px rgba(17, 24, 39, 0.08);

  /* Typography */
  --default-font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --heading-font: var(--default-font);

  /* Fancy brand gradient */
  --brand-gradient: linear-gradient(
    135deg,
    #f48120 0%,
    #d85726 52%,
    #c83f26 100%
  );
  --brand-grad: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
}

/************************************/
/***         02. General css       ***/
/************************************/
body {
  font-family: var(--default-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
  color: var(--text-color);
  background: var(--white-color);
}

::-webkit-scrollbar-track {
  background-color: var(--primary-color);
  border-left: 1px solid var(--primary-color);
}
::-webkit-scrollbar {
  width: 10px;
  background-color: var(--primary-color);
}
::-webkit-scrollbar-thumb {
  background: white;
}

::selection {
  color: white;
  background-color: var(--accent-color);
  filter: invert(1);
}

p {
  line-height: 1.6em;
  margin-bottom: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.1em;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

figure {
  margin: 0;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: 0;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

.container {
  max-width: 1300px;
}
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  padding-right: 15px;
  padding-left: 15px;
}

.image-anime {
  position: relative;
  overflow: hidden;
}
.image-anime:after {
  content: "";
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
}
.image-anime:hover:after {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}

.reveal {
  position: relative;
  display: inline-flex;
  visibility: hidden;
  overflow: hidden;
}
.reveal img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform-origin: left;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}
.row > * {
  padding-right: 15px;
  padding-left: 15px;
}
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > * {
  padding-right: 0;
  padding-left: 0;
}

/* Buttons (tinted to logo) */
.btn-default {
  position: relative;
  display: inline-block;
  background: var(--accent-color);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1em;
  text-transform: capitalize;
  color: var(--accent-contrast);
  border: none;
  padding: 17px 54px 17px 30px;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 0;
}
.btn-default:hover {
  background: transparent;
  color: var(--secondary-color);
  box-shadow: var(--shadow);
}
.btn-default:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-default::before {
  content: "\f061";
  font-family: "FontAwesome";
  position: absolute;
  top: 16px;
  right: 30px;
  font-size: 18px;
  color: var(--accent-contrast);
  transform: rotate(-45deg);
  transition: all 0.4s ease-in-out;
}
.btn-default:hover::before {
  color: var(--secondary-color);
  transform: rotate(0deg);
}
.btn-default::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15%;
  right: 0;
  width: 0;
  height: 106%;
  background: var(--brand-gradient); /* uses logo tones */
  transform: skew(30deg);
  transition: all 0.4s ease-in-out;
  z-index: -1;
}
.btn-default:hover:after {
  width: 100%;
  transform: skew(0deg);
  left: 0;
}

.btn-default.btn-highlighted:hover {
  color: var(--primary-color);
}
.btn-default.btn-highlighted:hover:before {
  color: var(--primary-color);
}
.btn-default.btn-highlighted::after {
  background: var(--white-color);
}
/* Smaller buttons on mobile */
@media (max-width: 640px){
  .btn-default{
    font-size: 14px;
    border-radius: 8px;
    padding: 12px 38px 12px 16px; /* top/right/bottom/left */
  }
  .btn-default::before{
    top: 10px;
    right: 16px;
    font-size: 14px;
  }
}

/* Extra-small phones */
@media (max-width: 360px){
  .btn-default{
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 32px 10px 14px;
  }
  .btn-default::before{
    top: 9px;
    right: 12px;
    font-size: 13px;
  }
}

/* Link CTA */
.readmore-btn {
  position: relative;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  color: var(--accent-color);
  padding-right: 25px;
  transition: all 0.4s ease-in-out;
}
.readmore-btn:hover {
  color: var(--primary-color);
}
.readmore-btn:after {
  content: "\f061";
  font-family: "FontAwesome";
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 18px;
  color: var(--accent-color);
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.4s ease-in-out;
}
.readmore-btn:hover:after {
  color: var(--primary-color);
  transform: translateY(-50%) rotate(0deg);
}

/* Cursor & preloader */
.cb-cursor:before {
  background: var(--accent-color);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-container,
.loading {
  height: 100px;
  width: 100px;
  border-radius: 100%;
  position: relative;
}
.loading-container {
  margin: 40px auto;
}
.loading {
  border: 1px solid transparent;
  border-color: transparent var(--white-color) transparent var(--white-color);
  animation: rotate-loading 1.5s linear infinite;
  transform-origin: 50% 50%;
}
.loading-container:hover .loading,
.loading-container .loading {
  transition: all 0.5s ease-in-out;
}
#loading-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 66px;
  transform: translate(-50%, -50%);
}
@keyframes rotate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Helpful background and chip styles using the tint */
.bg-tint {
  background: var(--secondary-color);
}
.card {
  background: var(--surface-color);
  border: 1px solid var(--divider-color);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.chip {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--divider-color);
  color: var(--text-color);
}


/* ===============  MOBILE PREMIUM PACK  =============== */
/* Runs at <= 1100px (drawer view). Uses your :root vars. */
@media (max-width: 1100px) {
  /* Drawer shell */
  .drawer {
    z-index: 9999;
    backdrop-filter: none; /* scrim already blurs visually */
  }
  .drawer__panel {
    border-right: 1px solid var(--divider-color);
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  /* Sticky top inside drawer */
  .drawer__top {
    position: sticky;
    top: -18px;
    z-index: 2;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.96));
    border-bottom: 1px solid var(--divider-color);
    margin: -16px -14px 12px;
    padding: 10px 14px;
    border-top-right-radius: 18px;
  }
  .drawer__close {
    border-color: var(--divider-color);
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.06);
    color: black !important;
  }

  /* Elegant menu cards */
  .m-menu {
    display: grid;
    gap: 10px;
  }
  .m-menu > li {
    list-style: none;
  }

  .m-menu > li > a,
  .m-accordion__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 14px 38px; /* room for accent dot */
    font-weight: 700;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--divider-color);
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
    transition: transform 0.18s ease, box-shadow 0.22s ease,
      border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
  }

  /* Hover/tap feel */
  .m-menu > li > a:hover,
  .m-accordion__btn:hover {
    border-color: color-mix(in srgb, var(--primary-color) 30%, #fff);
    box-shadow: 0 10px 22px rgba(244, 129, 32, 0.16);
    transform: translateY(-1px);
    color: var(--primary-color);
    background: linear-gradient(180deg, #fff, var(--secondary-color));
  }
  .m-menu > li > a:hover::before,
  .m-accordion__btn:hover::before {
    opacity: 1;
    transform: scale(1);
    background: var(--accent-color);
  }
  .m-menu > li > a:active,
  .m-accordion__btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
  }

  /* Accordion button + chevron */
  .m-accordion__btn {
    gap: 8px;
  }
  .m-accordion__btn .chev {
    width: 14px;
    height: 14px;
    transition: transform 0.22s ease;
  }
  .m-accordion__btn[aria-expanded="true"] .chev {
    transform: rotate(180deg);
  }

  /* Accordion panel: single column on phones, tidy spacing */
  .m-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 6px;
  }
  .m-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  /* Upgrade list items inside the accordion */
  .m-columns li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-top: 13px;
    padding: 12px 12px 12px 38px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--divider-color);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
    transition: transform 0.16s ease, border-color 0.2s ease,
      background 0.2s ease, color 0.2s ease;
    position: relative;
  }

  .m-columns li a:hover {
    transform: translateX(2px);
    border-color: color-mix(in srgb, var(--primary-color) 24%, #fff);
    background: linear-gradient(180deg, #fff, var(--secondary-color));
    color: var(--primary-color);
  }
  .m-columns li a:hover::before {
    opacity: 0.9;
    background: var(--accent-color);
  }

  /* Drawer CTA pinned elegantly */
  .btn-cta.btn-cta--full {
    position: sticky;
    bottom: 8px;
    margin-top: 12px;
    box-shadow: 0 14px 30px rgba(244, 129, 32, 0.25);
  }
}

/* Small phones tweaks */
@media (max-width: 380px) {
  .m-menu > li > a,
  .m-accordion__btn {
    padding: 13px 12px 13px 34px;
  }
  .m-columns li a {
    padding-left: 34px;
  }
}
/* =========================
   1) BASE + THEME HOOKS
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--divider-color);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 11px;
}

/* Brand */
.brand img {
  height: 46px;
  width: auto;
  display: block;
}
.brand.brand--sm img {
  height: 42px;
}

/* =========================
   2) DESKTOP NAV + CTA
========================= */
.main-nav {
  display: block;
}
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
}
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.2s ease;
}
.link:hover {
  color: var(--primary-color);
}
.link .dash {
  color: var(--primary-color);
}

/* CTA pill like screenshot */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  border: 0;
  box-shadow: 0 8px 22px rgba(244, 129, 32, 0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(244, 129, 32, 0.28);
  filter: saturate(1.05);
}

/* =========================
   3) MEGA MENU (DESKTOP)
========================= */
.has-mega {
  position: static;
} /* allow full-width panel */
.has-mega .mega-toggle {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--text-color);
}
.mega-panel {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 8px);
  top: calc(100% + 10px);
  width: min(1034px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06),
    0 26px 64px rgba(17, 24, 39, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  overflow: hidden;
  z-index: 5;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 4 equal columns; li items look like table rows with borders */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
}
.mega-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--divider-color);
}
.mega-grid ul:last-child {
  border-right: 0;
}
.mega-grid li {
  border-bottom: 1px solid var(--divider-color);
}
.mega-grid li:last-child {
  border-bottom: 0;
}
.mega-grid a {
  display: block;
  padding: 20px 22px;
  font-weight: 500;
  color: var(--text-color);
  transition: background 0.15s ease, color 0.15s ease;
}
.mega-grid a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* =========================
   4) MOBILE DRAWER (LEFT)
========================= */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--divider-color);
  background: #fff;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-color);
  margin: auto;
  position: relative;
  border-radius: 2px;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /*display: grid;*/
  /*grid-template-columns: min(84vw, 360px) 1fr; */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer.is-open {
  opacity: 1;
  
  pointer-events: auto;
}
.drawer__panel {
  grid-column: 1;
  background: #fff;
  border-right: 1px solid var(--divider-color);
  height: 100%;
  /*max-height: 100dvh;*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 14px;
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__scrim {
  grid-column: 2;
  background: rgba(15, 23, 42, 0.5);
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--divider-color);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.m-menu {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-menu > li > a,
.m-accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 8px; */
  gap: 240px;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--text-color);
  background: #fff;
  border: 1px solid transparent;
}
.m-menu > li > a:hover {
  background: var(--secondary-color);
  border-color: var(--divider-color);
}
.m-accordion__btn {
  border: 1px solid var(--divider-color);
}
.m-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.m-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 2px;
}
.m-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.m-columns li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text-color);
  font-weight: 800;
}
.m-columns li a:hover {
  background: var(--secondary-color);
  border-color: var(--divider-color);
  color: var(--primary-color);
}

/* =========================
   5) RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .menu {
    gap: 14px;
  }
}
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .burger {
    display: grid;
    place-items: center;
  }
  .mega-panel {
    display: none !important;
  } /* desktop mega only */
}
@media (max-width: 640px) {
  .m-columns {
    grid-template-columns: 1fr;
  }
  /* single column lists */
}

/* Hide header CTA on mobile, keep drawer CTA visible */
@media (max-width: 1100px) {
  /* Common header CTAs */
  .site-header .btn-cta:not(.btn-cta--full),
  .fx-header .fx-cta:not(.fx-cta--full),
  .site-header a[href*="appointment"]:not(.btn-cta--full):not(.fx-cta--full) {
    display: none !important;
  }

  /* Layout: brand | spacer | burger (on the right) */
  .header-inner,
  .fx-head-inner {
    grid-template-columns: auto 1fr auto !important;
  }

  /* Show and pin the hamburger to the right */
  .burger,
  .fx-burger {
    display: grid !important;
    place-items: center;
    justify-self: end;
  }
}

/*drawer new*/

/*drawer end*/
/* hero section */
/* ============================= */
/* HERO SWIPER LAYOUT & STYLE    */
/* ============================= */
.hero-swiper {
  --h-pad: clamp(18px, 4vw, 42px);
  --h-height: min(78vh, 740px);
  background: #fff;
}
.heroSwiper {
  height: var(--h-height);
  border-radius: clamp(10px, 2vw, 18px);
  overflow: hidden;
  position: relative;
}

/* Slides */
.slide-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr; /* copy | visual */
  gap: clamp(16px, 3.5vw, 48px);
  align-items: center;
  padding: var(--h-pad);
  /* background:
    radial-gradient(900px 300px at 10% -20%, color-mix(in srgb, var(--primary-color) 16%, transparent), transparent 60%),
    radial-gradient(700px 260px at 90% 110%, color-mix(in srgb, var(--accent-color) 10%, transparent), transparent 60%),
    var(--secondary-color); */
}
.slide-copy .brand {
  color: white;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--accent-color);
  background: #fff;
  border: 1px solid var(--divider-color);
  padding: 6px 10px;
  border-radius: 999px;
}
.title {
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.04;
  margin: 0.45em 0 0.3em;
  color: #58595b;
}
.desc {
  max-width: 52ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-color);
}

/* Buttons */
.btn-cta,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease,
    background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn-cta {
  background: var(--brand-grad);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 26px rgba(244, 129, 32, 0.22);
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(244, 129, 32, 0.28);
  filter: saturate(1.05);
}

.btn-outline {
  color: var(--accent-color);
  background: #fff;
  border: 1px solid var(--divider-color);
}
.btn-outline:hover {
  color: #fff;
  background: var(--brand-grad);
  border-color: transparent;
}

.btn-ghost {
  color: var(--primary-color);
  background: transparent;
  border: 1px dashed var(--primary-color);
}
.btn-ghost:hover {
  color: #fff;
  background: var(--brand-grad);
  border-color: transparent;
}

/* Visual blobs */
.slide-visual {
  position: relative;
  height: 100%;
}
.blob {
  position: absolute;
  filter: blur(10px);
  opacity: 0.9;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: floaty 9s ease-in-out infinite;
}
.blob.b1 {
  width: 340px;
  height: 340px;
  right: 8%;
  top: 10%;
  background: radial-gradient(circle at 30% 30%, #fff 0 30%, transparent 31%),
    radial-gradient(
      circle at 70% 70%,
      color-mix(in srgb, var(--primary-color) 65%, #fff),
      var(--primary-color)
    );
}
.blob.b2 {
  width: 420px;
  height: 420px;
  left: -6%;
  bottom: 6%;
  background: radial-gradient(circle at 40% 40%, #fff 0 26%, transparent 27%),
    radial-gradient(
      circle at 60% 60%,
      color-mix(in srgb, var(--accent-color) 62%, #fff),
      var(--accent-color)
    );
  animation-delay: 0.6s;
}
.blob.b3 {
  width: 360px;
  height: 360px;
  right: 4%;
  bottom: 6%;
  background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%),
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--primary-color) 58%, #fff),
      var(--primary-color)
    );
  animation-delay: 0.2s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

/* Pagination + Nav */
.hero-pagination {
  position: absolute;
  left: var(--h-pad);
  bottom: 18px;
  display: flex;
  gap: 10px;
}
.hero-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 42px;
  background: var(--primary-color);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--divider-color);
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
}
.hero-nav.prev {
  left: var(--h-pad);
}
.hero-nav.next {
  right: var(--h-pad);
}
.hero-nav:hover {
  transform: translateY(calc(-50% - 1px));
}

/* Reveal animation per active slide */
.sliders {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.swiper-slide-active .sliders {
  opacity: 1;
  transform: none;
}
.swiper-slide-active .title.sliders {
  transition-delay: 0.05s;
}
.swiper-slide-active .desc.sliders {
  transition-delay: 0.12s;
}
.swiper-slide-active .btn-cta.sliders,
.swiper-slide-active .btn-outline.sliders,
.swiper-slide-active .btn-ghost.sliders {
  transition-delay: 0.2s;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media (max-width: 1100px) {
  .slide-inner {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .slide-visual {
    display: none;
  } /* keep mobile clean/speedy */
  .hero-pagination {
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
  }
  .hero-nav {
    display: none;
  } /* touch swipes instead */
}
@media (max-width: 520px) {
  .heroSwiper {
    height: min(68vh, 320px);
  }
  .eyebrow {
    padding: 5px 9px;
  }
  .btn-cta,
  .btn-outline,
  .btn-ghost {
    padding: 12px 16px;
  }
}

/* paint the bg behind your content */
.slide-inner.has-bg {
  position: relative;
  overflow: hidden;
}
.slide-copy,
.slide-visual {
  position: relative;
  z-index: 1;
}

.slide-inner.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    /* brand-tinted overlay for readability */ linear-gradient(
      135deg,
      color-mix(in srgb, var(--primary-color) 16%, transparent),
      color-mix(in srgb, var(--accent-color) 12%, transparent)
    ),
    var(--photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* mobile-specific image if provided */
@media (max-width: 1100px) {
  .slide-inner.has-bg::before {
    background-image: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary-color) 18%, transparent),
        color-mix(in srgb, var(--accent-color) 14%, transparent)
      ),
      var(--photo-m, var(--photo));
  }
}

/* hero end */

/* about start */

.about-sai {
  --radius: 18px;
  --shadow: 0 14px 36px rgba(17, 24, 39, 0.12);
  position: relative;
  padding: clamp(42px, 4vw, 90px) 0;
  background: radial-gradient(
      1000px 320px at 12% -10%,
      color-mix(in srgb, var(--primary-color) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 360px at 110% 100%,
      color-mix(in srgb, var(--accent-color) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color);
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr; /* copy | media */
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}

/* =============== COPY SIDE =============== */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--accent-color);
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.title {
  margin: 0 0 0.45em;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.06;
  color: #58595b;
}
.title .brand {
  color: var(--primary-color);
}
.lede {
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--text-color);
  max-width: 58ch;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: grid;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text-color);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}
.about-list .ico {
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M20.285 6.707a1 1 0 010 1.414l-9.192 9.192a1 1 0 01-1.414 0L3.715 11.55a1 1 0 111.414-1.414l5.257 5.257 8.485-8.485a1 1 0 011.414 0z'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M20.285 6.707a1 1 0 010 1.414l-9.192 9.192a1 1 0 01-1.414 0L3.715 11.55a1 1 0 111.414-1.414l5.257 5.257 8.485-8.485a1 1 0 011.414 0z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* Stats chips */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 6px 0 18px;
}
.stat {
  min-width: 140px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--divider-color);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}
.stat .num {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}
.stat .label {
  font-size: 12.5px;
  color: var(--text-color);
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 700;
}

/* =============== MEDIA SIDE =============== */
.about-media {
  position: relative;
  min-height: 520px;
}
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--divider-color);
  background: #fff;
  box-shadow: var(--shadow);
}
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Layout of collage */
.card-lg {
  height: clamp(300px, 46vh, 420px);
}
.card-sm {
  height: clamp(140px, 22vh, 190px);
}
.card-lg {
  position: absolute;
  inset: 0 22% auto 0;
}
.card-sm.top {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
}
@media (min-width: 1200px) and (max-width: 1350px){
  .card-sm.bottom{
   
    bottom: 59px !important;

  }
}

.card-sm.bottom {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 50%;
}

/* Overlays */
.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(244, 129, 32, 0.22);
}
.chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #fff;
  color: var(--text-color);
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--divider-color);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-color);
}

/* =============== CTA BUTTON (reuses your tokens) =============== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  border: 0;
  box-shadow: 0 12px 26px rgba(244, 129, 32, 0.22);
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(244, 129, 32, 0.28);
  filter: saturate(1.05);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 1100px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }
  .about-media {
    order: -1;
    min-height: 420px;
    margin-bottom: 14px;
  }
  .card-lg {
    inset: 0 18% auto 0;
  }
  .card-sm.top {
    width: 46%;
  }
  .card-sm.bottom {
    width: 58%;
  }
}
@media (max-width: 620px) {
  .about-media {
    min-height: 360px;
  }
  .card-lg {
    inset: 0 10% auto 0;
  }
  .card-sm.top {
    width: 54%;
    right: 0;
  }
  .card-sm.bottom {
    width: 66%;
    right: 4%;
  }
  .stat {
    min-width: 46%;
  }
  .eyebrow {
    margin-top: 40px !important;
  }
}
/* about end */

/* =========================
   SERVICES — THEME & LAYOUT
========================= */
.sai-services {
  --card-r: 16px;
  --glow: 0 14px 34px rgba(244, 129, 32, 0.18);
  padding: clamp(42px, 4vw, 90px) 0;
  background: radial-gradient(
      1000px 340px at 10% -10%,
      color-mix(in srgb, var(--primary-color) 10%, transparent),
      transparent 60%
    ),
    radial-gradient(
      800px 320px at 110% 100%,
      color-mix(in srgb, var(--accent-color) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color);
  border-top: 1px solid var(--divider-color);
}
.svc-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 18px;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--accent-color);
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.svc-title {
  margin: 0.2em 0 0.25em;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.06;
  color: #58595b;
}
.svc-lede {
  color: var(--text-color);
  margin: 0 auto 14px;
  max-width: 70ch;
}

/* Filters */
.svc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 12px 0 24px;
}
.pill {
  border: 1px solid var(--divider-color);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  background: #fff;
  color: var(--text-color);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease, background 0.2s ease;
}
.pill:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary-color) 26%, #fff);
}
.pill.is-active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  box-shadow: var(--glow);
  border-color: transparent;
}

/* Grid */
.svc-grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Card */
.svc-card {
  position: relative;
  border-radius: var(--card-r);
  border: 1px solid var(--divider-color);
  background: #fff;
  overflow: hidden;
  transform: translateZ(0); /* creates its own layer */
  transition: transform 0.2s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.svc-card::before {
  /* gradient ring on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.svc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  border-color: transparent;
}
.svc-card:hover::before {
  opacity: 1;
}

/* Image */
.svc-figure {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--secondary-color);
  background-image: linear-gradient(
      135deg,
      color-mix(in srgb, var(--primary-color) 14%, transparent),
      color-mix(in srgb, var(--accent-color) 10%, transparent)
    ),
    var(--img, none);
  background-size: cover;
  background-position: center;
}
.svc-figure::after {
  /* soft top scrim for text readability if imgs are bright */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.02) 60%,
    transparent
  );
}

/* Body */
.svc-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}
.svc-body h3 {
  margin: 0;
  font-size: 19px;
  color: #58595b;
}
.svc-body p {
  margin: 0;
  color: var(--text-color);
}

.svc-link {
  justify-self: start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--accent-color);
  transition: color 0.2s ease, transform 0.18s ease;
}
.svc-link:hover {
  color: var(--primary-color);
  transform: translateX(2px);
}

/* CTA row */
.svc-cta-row {
  margin-top: clamp(18px, 3.6vw, 32px);
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease,
    background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  border: 0;
  box-shadow: var(--glow);
}
.btn-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}
.btn-outline {
  background: #fff;
  border: 1px solid var(--divider-color);
  color: var(--accent-color);
}
.btn-outline:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-color: transparent;
}

/* Reveal animation */
.svc-card {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.svc-card.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Responsive tweaks */
@media (max-width: 560px) {
  .svc-figure {
    aspect-ratio: 4/3;
  }
}

/* ====== SERVICE CARD HOVER ANIMATIONS ====== */
/* base transitions */
.svc-card {
  position: relative;
  transform: translateZ(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
  --lift: -4px;
  --scale: 1.01;
  /* spotlight defaults (used by ::after when JS sets --spot-x/--spot-y) */
  --spot-x: 50%;
  --spot-y: 50%;
}

/* gentle lift + premium glow */
.svc-card:hover {
  transform: translateY(var(--lift)) scale(var(--scale));
  box-shadow: 0 22px 48px rgba(244, 129, 32, 0.18);
  border-color: transparent;
}

/* gradient ring already in your card ::before — just keep it visible on hover */
.svc-card::before {
  opacity: 0;
}
.svc-card:hover::before {
  opacity: 1;
}

/* pointer-follow spotlight (becomes active if JS sets --spot-x/--spot-y) */
.svc-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    160px 160px at var(--spot-x) var(--spot-y),
    rgba(244, 129, 32, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}
.svc-card:hover::after {
  opacity: 1;
}

/* image zoom and a classy shimmer sweep */
.svc-figure {
  transform: translateZ(0);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  position: relative;
}
.svc-card:hover .svc-figure {
  transform: scale(1.05);
}

/* shimmer bar */
.svc-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0,
    rgba(255, 255, 255, 0.22) 12%,
    transparent 24%
  );
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: screen;
}
.svc-card:hover .svc-figure::after {
  transform: translateX(120%);
}

/* headline underline grow */
.svc-body h3 {
  position: relative;
}
.svc-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.35s ease;
  border-radius: 2px;
}
.svc-card:hover .svc-body h3::after {
  width: 60px;
}

/* link arrow nudge */
.svc-link i {
  transition: transform 0.25s ease;
}
.svc-card:hover .svc-link i {
  transform: translateX(3px);
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-figure,
  .svc-figure::after,
  .svc-card::after,
  .svc-body h3::after,
  .svc-link i {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================
   THEME + LAYOUT
========================= */
.sai-commitment {
  position: relative;
  padding: clamp(42px, 4vw, 90px) 0;
  background: radial-gradient(
      1100px 340px at 12% -12%,
      color-mix(in srgb, var(--primary-color) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 110% 100%,
      color-mix(in srgb, var(--accent-color) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color);
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
  overflow: clip;
}
.commit-wrap {
  display: grid;
  gap: clamp(18px, 4vw, 56px);
  grid-template-columns: 0.98fr 1.02fr; /* copy | cards */
  align-items: start;
}

/* Copy column */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--accent-color);
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.commit-title {
  margin: 0.2em 0 0.35em;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.06;
  color: #58595b;
}
.commit-title .brand {
  color: var(--primary-color);
}
.commit-lede {
  color: var(--text-color);
  max-width: 62ch;
}

.pledges {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  display: grid;
  gap: 10px;
}
.pledges li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--text-color);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}
.pledges i {
  color: var(--primary-color);
  margin-top: 2px;
}

/* Seal */
.commit-seal {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}
.commit-seal img {
  width: 28px;
  height: auto;
  display: block;
}
.commit-seal .seal-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.commit-seal .seal-text strong {
  font-size: 13px;
}
.commit-seal .seal-text span {
  font-size: 12px;
  color: var(--text-color);
}

/* Cards grid */
.commit-grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.c-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--divider-color);
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  transform: translateZ(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}
.c-notch {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 86px;
  height: 86px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.9;
}
.c-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  box-shadow: 0 10px 22px rgba(244, 129, 32, 0.22);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.c-card h3 {
  margin: 4px 0 0;
  color: #58595b;
  font-size: 18.5px;
}
.c-card p {
  margin: 0;
  color: var(--text-color);
}

/* Hover animations */
.c-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 48px rgba(244, 129, 32, 0.18);
  border-color: transparent;
}
.c-card:hover .c-icon {
  transform: translateY(-2px);
}
.c-card:hover::before {
  opacity: 1;
}

/* Light sweep */
.c-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0,
    rgba(255, 255, 255, 0.22) 12%,
    transparent 24%
  );
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: screen;
  pointer-events: none;
}
.c-card:hover::after {
  transform: translateX(120%);
}

/* CTA row */
.commit-cta {
  margin: clamp(18px, 3.4vw, 28px) auto 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease,
    background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  border: 0;
  box-shadow: 0 14px 34px rgba(244, 129, 32, 0.22);
}
.btn-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}
.btn-outline {
  background: #fff;
  border: 1px solid var(--divider-color);
  color: var(--accent-color);
}
.btn-outline:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-color: transparent;
}

/* Brand blobs */
.commit-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.16;
  mix-blend-mode: multiply;
  animation: floaty 9s ease-in-out infinite;
}
.commit-blob.b1 {
  width: 300px;
  height: 300px;
  left: -8%;
  bottom: 10%;
  background: radial-gradient(
    circle at 40% 40%,
    color-mix(in srgb, var(--primary-color) 58%, #fff),
    var(--primary-color)
  );
}
.commit-blob.b2 {
  width: 340px;
  height: 340px;
  right: -10%;
  top: 6%;
  background: radial-gradient(
    circle at 60% 60%,
    color-mix(in srgb, var(--accent-color) 58%, #fff),
    var(--accent-color)
  );
  animation-delay: 0.4s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Reveal on scroll */
.c-card {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.c-card.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Responsive */
@media (max-width: 1100px) {
  .commit-wrap {
    grid-template-columns: 1fr;
  }
}

/* why choose us */

/* Section theme */
.why-ribbon {
  --bg: var(--secondary-color, #fff6ef);
  --ring: var(--divider-color, #f481201a);
  background: radial-gradient(
      1000px 340px at 10% -10%,
      color-mix(in srgb, var(--primary-color, #f48120) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 110% 100%,
      color-mix(in srgb, var(--accent-color, #ba623f) 10%, transparent),
      transparent 60%
    ),
    var(--bg);
  border-block: 1px solid var(--ring);
  padding: clamp(42px, 4vw, 96px) 0;
  overflow: clip;
}

/* Head */
.wr-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 16px;
}
.wr-head .eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--accent-color, #ba623f);
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.wr-title {
  margin: 0.2em 0 0.25em;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.06;
  color: #58595b;
}
.wr-lede {
  color: var(--text-color, #58595b);
  margin: 0 auto;
  max-width: 70ch;
}

/* Stage (svg + grid) */
.wr-stage {
  position: relative;
  margin-top: clamp(12px, 2vw, 20px);
}
.wr-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 360px;
  pointer-events: none;
}

/* Grid lays cards roughly along the ribbon path */
.wr-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(0, auto);
  padding-top: 40px; /* room above for ribbon */
  padding-bottom: 40px; /* room below for ribbon */
}
.wr-item {
  position: relative;
}

/* positions (desktop) */
.wr-item:nth-child(1) {
  grid-column: 2 / span 4;
  grid-row: 1;
}
.wr-item:nth-child(2) {
  grid-column: 8 / span 4;
  grid-row: 1;
}

.wr-item:nth-child(3) {
  grid-column: 3 / span 4;
  grid-row: 2;
}
.wr-item:nth-child(4) {
  grid-column: 7 / span 4;
  grid-row: 2;
}

.wr-item:nth-child(5) {
  grid-column: 2 / span 4;
  grid-row: 3;
}
.wr-item:nth-child(6) {
  grid-column: 8 / span 4;
  grid-row: 3;
}

/* Card */
.wr-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ring);
  padding: 16px 16px 18px 18px;
  display: grid;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  transform: translateZ(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}
.wr-card h3 {
  margin: 4px 0 0;
  color: #58595b;
  font-size: 18.5px;
}
.wr-card p {
  margin: 0;
  color: var(--text-color, #58595b);
}

/* Icon */
.w-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  box-shadow: 0 10px 22px rgba(244, 129, 32, 0.22);
}

/* Pin to ribbon (little dot + stem) */
.pin {
  position: absolute;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  box-shadow: 0 6px 14px rgba(244, 129, 32, 0.28);
}
.wr-item.up .pin {
  top: -14px;
}
.wr-item.down .pin {
  bottom: -14px;
}
.wr-item.up::before,
.wr-item.down::before {
  content: "";
  position: absolute;
  left: 24px;
  width: 2px;
  height: 18px;
  background: var(--ring);
}
.wr-item.up::before {
  top: -18px;
}
.wr-item.down::before {
  bottom: -18px;
}

/* Hover: lift + glow + shimmer + gradient ring */
.wr-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 48px rgba(244, 129, 32, 0.18);
  border-color: transparent;
}
.wr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wr-card:hover::before {
  opacity: 1;
}
.wr-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0,
    rgba(255, 255, 255, 0.22) 12%,
    transparent 24%
  );
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: screen;
  pointer-events: none;
}
.wr-card:hover::after {
  transform: translateX(120%);
}

/* Reveal on scroll */
.wr-card {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.wr-card.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Responsive */
@media (max-width: 1100px) {
  .wr-svg {
    display: none;
  } /* hide ribbon path; cards take over */
  .wr-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .wr-item {
    grid-column: auto / span 1 !important;
    grid-row: auto !important;
  }
  .wr-item::before,
  .wr-item .pin {
    display: none;
  } /* hide pins on compact layouts */
}
@media (max-width: 560px) {
  .wr-grid {
    grid-template-columns: 1fr;
  }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .wr-card,
  .wr-card::before,
  .wr-card::after {
    transition: none !important;
    animation: none !important;
  }
}
/* team */
/* section theme */
.team-quad {
  padding: clamp(42px, 4vw, 96px) 0;
  background: radial-gradient(
      1000px 340px at 10% -10%,
      color-mix(in srgb, var(--primary-color, #f48120) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 110% 100%,
      color-mix(in srgb, var(--accent-color, #ba623f) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color, #fff6ef);
  border-block: 1px solid var(--divider-color, #f481201a);
  overflow: clip;
}

/* header */
.tq-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 18px;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--accent-color, #ba623f);
  background: #fff;
  border: 1px solid var(--divider-color, #f481201a);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.tq-title {
  margin: 0.2em 0 0.25em;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.06;
  color: #58595b;
}
.tq-lede {
  color: var(--text-color, #58595b);
}

/* stage layout (grid 3x3) */
.tq-stage {
  position: relative;
  margin-top: clamp(12px, 2vw, 20px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, minmax(100px, 1fr));
  gap: clamp(12px, 2.4vw, 18px);
  min-height: 520px;
}

@media(max-width:600px){
    .tq-core{
        display:none !important;
    }
}
/* center seal */
.tq-core {
  grid-column: 2;
  grid-row: 2;
  place-self: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--divider-color, #f481201a);
  border-radius: 18px;
  padding: 14px 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  margin-top: -123px;
}
.tq-logo {
  height: 50px;
  display: block;
  margin: 0 auto 6px;
}
.tq-core strong {
  display: block;
  color: #58595b;
  font-size: 14px;
}
.tq-core span {
  display: block;
  color: var(--text-color, #58595b);
  font-size: 12px;
}

/* connector lines */
.tq-lines {
  position: absolute;
  inset: 8% 8%;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 8px 10px rgba(244, 129, 32, 0.1));
}

/* card positions */
.doc-card {
  position: relative;
}
.tl {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}
.tr {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
}
.bl {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
}
.br {
  grid-column: 3;
  grid-row: 3;
  align-self: start;
}

/* doctor card */
.doc-card {
  border-radius: 16px;
  border: 1px solid var(--divider-color, #f481201a);
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}
.doc-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 48px rgba(244, 129, 32, 0.18);
  border-color: transparent;
}
.doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.doc-card:hover::before {
  opacity: 1;
}

/* media */
.doc-media {
  position: relative;
  aspect-ratio: 13/9;
  overflow: hidden;
  background-position: center;
  background-size: contain; /* fills the box, crops if needed */
  background-repeat: no-repeat;
}
.doc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.02) 60%,
    transparent
  );
}
.doc-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 10px 22px rgba(244, 129, 32, 0.22);
}
.doc-years {
  position: absolute;
  right: 12px;
  top: 12px;
  font-weight: 800;
  font-size: 12px;
  color: #58595b;
  background: #fff;
  border: 1px solid var(--divider-color, #f481201a);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
}
.doc-notch {
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 88px;
  height: 88px;
  opacity: 0.9;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* body */
.doc-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}
.doc-name {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 18.5px;
}
.doc-meta {
  margin: 0;
  color: var(--text-color, #58595b);
}
.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.doc-tags li {
  border: 1px solid var(--divider-color, #f481201a);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
}
.doc-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.btn-cta,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
}
.btn-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  color: #fff;
  border: 0;
  box-shadow: 0 12px 26px rgba(244, 129, 32, 0.22);
}
.btn-cta:hover {
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  border: 1px solid var(--divider-color, #f481201a);
  color: var(--accent-color, #ba623f);
}
.btn-outline:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  border-color: transparent;
}

/* subtle shimmer on hover */
.doc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0,
    rgba(255, 255, 255, 0.22) 12%,
    transparent 24%
  );
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: screen;
  pointer-events: none;
}
.doc-card:hover::after {
  transform: translateX(120%);
}

/* reveal on scroll */
.doc-card {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.doc-card.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  margin-top: -10px;
}

/* responsive */
@media (max-width: 1100px) {
  .tq-stage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }
  .tq-core {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 8px;
    margin-top: 0px;
  }
  .doc-card.in-view{
margin-top: 0px;
  }
  .tq-lines {
    display: none;
  }
  .tl,
  .tr,
  .bl,
  .br {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
  }
}
@media (max-width: 560px) {
  .tq-stage {
    grid-template-columns: 1fr;
  }
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {
  .doc-card,
  .doc-card::before,
  .doc-card::after {
    transition: none !important;
    animation: none !important;
  }
}

/* SECTION SKIN */
.sai-appt-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 4vw, 96px) 0;
  background: radial-gradient(
      1100px 360px at 12% -12%,
      color-mix(in srgb, var(--primary-color, #f48120) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 110% 100%,
      color-mix(in srgb, var(--accent-color, #ba623f) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color, #fff6ef);
  border-block: 1px solid var(--divider-color, #f481201a);
}

/* LAYOUT */
/* LAYOUT */
.appt-grid{
  display: grid;
  gap: clamp(18px, 4vw, 56px);
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* same size columns */
  align-items: start; /* keep your current vertical alignment */
}

@media (max-width: 1024px) {
  .appt-grid {
    grid-template-columns: 1fr;
  }
  .appt-right {
    order: -1;
  }
}

/* LEFT PANEL */
.appt-left {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  border: 1px solid var(--divider-color, #f481201a);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
}
.appt-title {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.06;
  color: #58595b;
  margin: 2px 0 6px;
}
.appt-title .today {
  color: #f48120;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.appt-sub {
  color: var(--text-color, #58595b);
  margin-bottom: 14px;
}

/* FORM */
.appt-form {
  display: grid;
  gap: 12px;
}
.row {
  display: grid;
  gap: 12px;
}
.row.two {
  grid-template-columns: repeat(2, 1fr);
}
.row.one {
  grid-template-columns: 1fr;
}
@media (max-width: 680px) {
  .row.two {
    grid-template-columns: 1fr;
  }
  
  .field.with-icon input[type="date"] {
   
    padding: 25px 14px !important;
   
}
}
.field.with-icon{ position:relative; display:block; }
.field.with-icon input[type="date"]{
  width:100%;
  padding:14px 14px;               /* leave space for the fake placeholder */
  
  border-radius:12px;
  background:#fff;
  color:var(--text-color);
  font:inherit; line-height:1.5;
 
}

/* the placeholder text that sits on top until a value exists */
.fake-placeholder{
  position:absolute; left:28px; top:50%; transform:translateY(-50%);
  color:var(--muted-text); pointer-events:none; 
  font-weight:600; opacity:.85; transition:opacity .15s ease;
}

/* hide placeholder when input is focused or valid (has a date) */
@supports(selector(:has(*))){
  .field.with-icon:has(input[type="date"]:focus) .fake-placeholder,
  .field.with-icon:has(input[type="date"]:valid) .fake-placeholder{
    opacity:0;
  }
}
/* Hide the fake placeholder between 700px and 1400px viewport widths */
@media (min-width: 700px) and (max-width: 1600px) {
  .fake-placeholder {
    display: none !important;
  }
}
.field {
  position: relative;
  display: block;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--divider-color, #f481201a);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}
.field input,
.field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 16px 14px;
  font: inherit;
  color: var(--text-color, #58595b);
  border-radius: 14px;
}
.field:focus-within {
  box-shadow: 0 0 0 2px
      color-mix(in srgb, var(--primary-color, #f48120) 60%, #fff),
    0 12px 28px rgba(244, 129, 32, 0.18);
  border-color: transparent;
}

/* Calendar icon on date input */
.field.with-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color, #58595b);
  opacity: 0.6;
  pointer-events: none;
}

/* select caret */
.field.select {
  position: relative;
}
.field.select .caret {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-color, #58595b);
  opacity: 0.8;
  pointer-events: none;
}

/* CTA */
.btn-cta.appt-btn {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color, #f48120),
    var(--accent-color, #ba623f)
  );
  box-shadow: 0 16px 36px rgba(244, 129, 32, 0.22);
  transition: transform 0.18s ease, filter 0.22s ease, box-shadow 0.22s ease;
}
.btn-cta.appt-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.tiny-help {
  font-size: 12.5px;
  color: var(--text-color, #58595b);
  margin: 2px 0 0;
}
.tiny-help a {
  color: var(--accent-color, #ba623f);
  font-weight: 800;
}

/* RIGHT PHOTO CARD */
.appt-right {
  position: relative;
}
.hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--divider-color, #f481201a);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.18);
}
.hero-card::after {
  /* gentle inner gradient for legibility */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      60% 60% at 80% 80%,
      rgba(0, 0, 0, 0.28),
      transparent 60%
    ),
    radial-gradient(
      60% 60% at 10% 10%,
      rgba(255, 255, 255, 0.12),
      transparent 60%
    );
  pointer-events: none;
}
.timing {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.time-badge {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: #fff;
  color: var(--accent-color, #ba623f);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.3);
}
.timing .lines {
  display: grid;
    gap: 6px;
    font-weight: 700;
    color: #f48120;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}
.timing .lines b {
  color: #f48120;
  font-weight: 900;
}

/* BRAND MISTS */
.appt-mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
.appt-mist.m1 {
  width: 320px;
  height: 320px;
  left: -8%;
  bottom: 8%;
  background: radial-gradient(
    circle at 40% 40%,
    color-mix(in srgb, var(--primary-color, #f48120) 24%, #fff),
    transparent 60%
  );
}
.appt-mist.m2 {
  width: 360px;
  height: 360px;
  right: -10%;
  top: 6%;
  background: radial-gradient(
    circle at 60% 60%,
    color-mix(in srgb, var(--accent-color, #ba623f) 20%, #fff),
    transparent 60%
  );
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .btn-cta,
  .field {
    transition: none !important;
  }
}

/* Section skin */
.sai-blog {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 4vw, 96px) 0;
  background: radial-gradient(
      1000px 360px at 12% -12%,
      color-mix(in srgb, var(--primary-color, #f48120) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 110% 100%,
      color-mix(in srgb, var(--primary-700, #c83f26) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color, #fff6ef);
  border-block: 1px solid var(--divider-color, #f481201a);
}

/* Heading */
.blog-head .kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--divider-color, #f481201a);
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.35px;
  color: var(--accent-color, #f48120);
}
.blog-head .title {
  margin: 0.35em 0 0.2em;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.06;
  color: #58595b;
}
.blog-head .brand {
  background: var(
    --brand-grad,
    linear-gradient(
      135deg,
      var(--primary-color, #f48120),
      var(--accent-color, #f48120)
    )
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.blog-head .lede {
  color: var(--text-color, #58595b);
  max-width: 68ch;
}

/* Filter */
.blog-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}
.chip {
  border: 1px solid var(--divider-color, #f481201a);
  background: #fff;
  color: var(--text-color, #58595b);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.chip.active {
  color: #fff;
  background: var(
    --brand-grad,
    linear-gradient(
      135deg,
      var(--primary-color, #f48120),
      var(--accent-color, #f48120)
    )
  );
  border-color: transparent;
}

/* Feature row */
.blog-feature {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
@media (max-width: 980px) {
  .blog-feature {
    grid-template-columns: 1fr;
  }
}

.post {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
 
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.post:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(244, 129, 32, 0.18);
}
.post .cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.5) 68%,
      rgba(0, 0, 0, 0.66) 100%
    ),
    var(--bg) center/cover no-repeat;
}
.post--feature {
  min-height: 520px;
}
.post--teaser {
  min-height: 254px;
}

.p-inner {
  padding: 14px;
}
.post--feature .p-inner {
  padding: 18px;
}

.p-title {
  margin: 0 0 6px;
  line-height: 1.2;
  font-size: clamp(18px, 2.2vw, 26px);
  padding: 0px 10px;
}
.post--feature .p-title {
  font-size: clamp(22px, 3vw, 34px);
}
.p-excerpt {
  margin: 0 0 8px;
  color: #e5e7eb;
  padding: 0px 10px;
}

.p-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 800;
  color: #fff;
}
.p-meta i {
  margin-right: 6px;
  color: #fff;
}

.tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--primary-700, #c83f26);
  border: 1px solid var(--divider-color, #f481201a);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.1);
}

/* Teasers stack */
.teasers {
  display: grid;
  gap: 12px;
}
.teasers .p-title {
  font-size: clamp(16px, 1.8vw, 20px);
}

/* Grid */
.blog-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-actions {
  text-align: center;
  margin-top: 14px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: var(
    --brand-grad,
    linear-gradient(
      135deg,
      var(--primary-color, #f48120),
      var(--accent-color, #f48120)
    )
  );
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(244, 129, 32, 0.22);
}

/* Brand mists */
.blog-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
.blog-blob.b1 {
  width: 320px;
  height: 320px;
  left: -8%;
  bottom: 8%;
  background: radial-gradient(
    circle at 40% 40%,
    color-mix(in srgb, var(--primary-color, #f48120) 24%, #fff),
    transparent 60%
  );
}
.blog-blob.b2 {
  width: 360px;
  height: 360px;
  right: -10%;
  top: 6%;
  background: radial-gradient(
    circle at 60% 60%,
    color-mix(in srgb, var(--primary-700, #c83f26) 20%, #fff),
    transparent 60%
  );
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .post,
  .btn-cta {
    transition: none !important;
  }
}
/* “Read more” pill */
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;

  pointer-events: none; /* entire card is the link */
}
.btn-read i {
  font-size: 0.95em;
}

/* Section skin */
.sai-certs {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 4vw, 96px) 0;
  background: radial-gradient(
      1000px 360px at 12% -12%,
      color-mix(in srgb, var(--primary-color, #f48120) 12%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 110% 100%,
      color-mix(in srgb, var(--primary-700, #c83f26) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color, #fff6ef);
  border-block: 1px solid var(--divider-color, #f481201a);
  font-family: var(
    --default-font,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial
  );
}

/* Heading */
.cert-head .kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--divider-color, #f481201a);
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.35px;
  color: var(--accent-color, #f48120);
}
.cert-head .title {
  margin: 0.35em 0 0.25em;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.06;
  color: #58595b;
}
.cert-head .brand {
  background: var(
    --brand-grad,
    linear-gradient(
      135deg,
      var(--primary-color, #f48120),
      var(--accent-color, #ba623f)
    )
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.cert-head .lede {
  color: var(--text-color, #58595b);
  max-width: 68ch;
}

/* trust chips */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.trust-row .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--divider-color, #f481201a);
  background: #fff;
  color: var(--text-color, #58595b);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}

/* Grid */
.cert-grid {
  display: grid;
  gap: clamp(12px, 2vw, 16px);
  margin-top: clamp(18px, 3vw, 26px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.cert-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--divider-color, #f481201a);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  transform-style: preserve-3d;
  will-change: transform;
  animation: certFade 0.5s ease both;
}
@keyframes certFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cert-card .paper {
  padding: clamp(14px, 2.6vw, 18px);
  background: radial-gradient(
      80% 80% at 20% 0%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.75)
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120" fill="none" opacity="0.06"><circle cx="60" cy="60" r="58" stroke="%23c83f26" stroke-width="2"/><path d="M30 60h60" stroke="%23c83f26" stroke-width="2"/></svg>')
      center/180px no-repeat;
  min-height: 153px;
    margin: 39px 0px 0px 2px;
}
.c-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 0 rgba(17, 24, 39, 0.06));
}
.c-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
  color: #58595b;
}
.c-meta {
  margin: 0 0 10px;
  color: var(--text-color, #58595b);
  font-weight: 700;
}
.c-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #58595b;
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--divider-color, #f481201a);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.c-verify:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
}

/* hologram corner */
.holo {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #ffd700, #ff7bd8, #62e3ff, #ffd700);
  filter: blur(8px) saturate(1.2);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: holoSpin 6s linear infinite;
}
@keyframes holoSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ribbon status */
.ribbon {
  position: absolute;
  left: -6px;
  top: 14px;
  padding: 6px 12px 6px 16px;
  border-radius: 0 999px 999px 0;
  font-weight: 900;
  color: #fff;
  background: var(
    --brand-grad,
    linear-gradient(
      135deg,
      var(--primary-color, #f48120),
      var(--primary-700, #c83f26)
    )
  );
  box-shadow: 0 10px 22px rgba(244, 129, 32, 0.26);
}

/* tilt hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .cert-card:hover {
    box-shadow: 0 22px 46px rgba(244, 129, 32, 0.2);
  }
}

/* partners strip */
.cert-strip {
  overflow: hidden;
  margin-top: clamp(18px, 3vw, 28px);
  border: 1px dashed var(--divider-color, #f481201a);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}
.cert-strip .marquee {
  display: flex;
  gap: 36px;
  align-items: center;
  padding: 10px 14px;
  animation: roll 20s linear infinite;
}
.cert-strip img {
  height: 60px;
  width: auto;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.18s;
}
.cert-strip img:hover {
  filter: grayscale(0) opacity(1);
}
@keyframes roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cert-strip {
  overflow: hidden;
  padding: clamp(10px, 1.6vw, 16px) 0;
  background: linear-gradient(
    90deg,
    rgba(244, 129, 32, 0.04),
    rgba(255, 255, 255, 0.6),
    rgba(200, 63, 38, 0.06)
  );
  border-top: 1px dashed var(--divider-color, #f481201a);
  border-bottom: 1px dashed var(--divider-color, #f481201a);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.cert-strip .marquee {
  --gap: clamp(24px, 4vw, 48px);
  --duration: 30s; /* JS will override */
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  padding-inline: var(--gap);
  width: max-content;
  animation: cert-loop var(--duration) linear infinite;
}

.cert-strip:hover .marquee {
  animation-play-state: paused;
} /* optional pause on hover */

.cert-strip .marquee img {
  height: clamp(28px, 3.2vw, 48px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.2s ease;
}
.cert-strip .marquee img:hover {
  filter: grayscale(0) opacity(1);
}

@keyframes cert-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* slide exactly one unit width */
}

/* brand mists */
.cert-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cert-blob.m1 {
  width: 320px;
  height: 320px;
  left: -8%;
  bottom: 8%;
  background: radial-gradient(
    circle at 40% 40%,
    color-mix(in srgb, var(--primary-color, #f48120) 24%, #fff),
    transparent 60%
  );
}
.cert-blob.m2 {
  width: 360px;
  height: 360px;
  right: -10%;
  top: 6%;
  background: radial-gradient(
    circle at 60% 60%,
    color-mix(in srgb, var(--primary-700, #c83f26) 20%, #fff),
    transparent 60%
  );
}

/* wall */

/* ===== THEME’D FOOTER ===== */
.sai-inform-footer {
  color: #0f172a;
  background: radial-gradient(
      1200px 380px at 10% -10%,
      color-mix(in srgb, var(--primary-color, #f48120) 14%, transparent),
      transparent 60%
    ),
    radial-gradient(
      1000px 340px at 110% 120%,
      color-mix(in srgb, var(--primary-700, #c83f26) 10%, transparent),
      transparent 60%
    ),
    var(--secondary-color, #fff6ef);
  border-top: 1px solid var(--divider-color, #f481201a);
  position: relative;
  isolation: isolate;
}

/* top row */
.fi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 4vw, 28px) 0 10px;
}
.fi-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.fi-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fi-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #0f172a;
  background: #fff;
  border: 1px solid var(--divider-color, #f481201a);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.fi-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
}

/* grid */
.fi-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: 1.1fr 1fr 0.9fr 1.2fr;
  padding: 6px 0 clamp(22px, 5vw, 36px);
}
@media (max-width: 1100px) {
  .fi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .fi-grid {
    grid-template-columns: 1fr;
  }
}

.fi-col {
  min-width: 0;
}
.fi-title {
  margin: 6px 0 10px;
  font-size: 15px;
  letter-spacing: 0.22em;
  font-weight: 900;
  text-transform: uppercase;
  color: #58595b;
}

.fi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.fi-list a {
  color: var(--text-color, #58595b);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.18s ease, transform 0.18s ease;
}
.fi-list a:hover {
  color: var(--primary-700, #c83f26);
  transform: translateX(2px);
}

.fi-col p {
  color: var(--text-color, #58595b);
  margin: 0 0 10px;
  line-height: 1.7;
}
.fi-underline {
  color: var(--primary-700, #c83f26);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fi-link {
  color: var(--primary-700, #c83f26);
  font-weight: 900;
  text-decoration: none;
}
.fi-hours {
  font-weight: 700;
  color: #58595b;
}
.fi-rule {
  border: 0;
  height: 1px;
  background: var(--divider-color, #f481201a);
  margin: 12px 0;
}

/* about column */
.fi-about .fi-accent {
  color: var(--primary-color, #f48120);
  font-weight: 900;
  text-decoration: none;
}

/* base bar */
.fi-base {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--divider-color, #f481201a);
  color: var(--muted-text, #7a7b7d);
  font-weight: 700;
}
.fi-base a {
  color: var(--primary-700, #c83f26);
  text-decoration: none;
  font-weight: 900;
}
.fi-madeby {
  text-align: right;
}
@media (max-width: 640px) {
  .fi-base {
    flex-direction: column;
    text-align: center;
  }
  .fi-madeby {
    text-align: center;
    margin-bottom: 0px;
  }
}

/* floating action buttons */
.fi-fabs {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 12px;
  z-index: 999999;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.18);
  transition: transform 0.18s ease, filter 0.22s ease;
}
.fab:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}
.fab.whats {
  background: #25d366;
}
.fab.call {
  background: var(
    --brand-gradient,
    linear-gradient(
      135deg,
      var(--primary-color, #f48120),
      var(--primary-700, #c83f26)
    )
  );
}
.fab.up {
  background: #0f172a;
  opacity: 0.85;
}

@media (max-width: 480px) {
  .fi-social a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .fab {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

/* ===== Certifications Section (Sai theme) ===== */
.sai-certs{
  position: relative;
  padding: clamp(36px, 4vw, 84px) 0;
  background:
    radial-gradient(80% 80% at 10% 0%, color-mix(in srgb, var(--primary-color) 6%, #fff) 0%, #fff 60%) no-repeat,
    radial-gradient(80% 80% at 100% 20%, color-mix(in srgb, var(--accent-color, #f48120) 8%, #fff) 0%, #fff 60%) no-repeat;
}
.sai-certs .cert-head{
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 28px);
}
.sai-certs .eyebrow{
  display:inline-block;
  font-weight:800;
  letter-spacing:.02em;
  color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--divider-color);
}
.sai-certs .cert-title{
  font-family: var(--heading-font, var(--default-font));
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 10px 0 6px;
  color: var(--text-color);
}
.sai-certs .cert-lede{
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted-text, #7a7b7d);
}

/* Grid */
.cert-grid{
  display: grid;
  gap: clamp(14px, 2.8vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: clamp(18px, 3.2vw, 36px);
}

/* Card */
.cert-card{
  position: relative;
  background: var(--surface-color, #fff);
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(17,24,39,.06));
  padding: 12px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
  isolation: isolate;
}
.cert-card::after{ /* soft gradient ring on hover */
  content:"";
  position:absolute; inset:-1px;
  border-radius:16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent 40%);
  opacity:0; transition: opacity .25s ease;
  pointer-events:none;
}
.cert-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow, 0 10px 26px rgba(17,24,39,.08));
  border-color: color-mix(in srgb, var(--primary-color) 28%, var(--divider-color));
}
.cert-card:hover::after{ opacity:1; }

/* Certificate image area (use contain to preserve certificate proportions) */
.cert-art{
  position: relative;
  aspect-ratio: 4 / 3;              /* suits certificate layout */
  background-color:#fff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--divider-color);
  overflow:hidden;
}
/* subtle shine sweep */
.cert-art::before{
  content:"";
  position:absolute; inset:-20% -60%;
  background: linear-gradient(120deg, rgba(255,255,255,0.0) 40%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0.0) 60%);
  transform: translateX(-120%) rotate(12deg);
  transition: transform .8s cubic-bezier(.19,1,.22,1);
  pointer-events:none;
}
.cert-card:hover .cert-art::before{ transform: translateX(20%) rotate(12deg); }

/* Caption */
.cert-card figcaption{
  display:flex; flex-direction:column; gap:2px;
  padding: 10px 6px 4px;
}
.cert-card figcaption strong{
  font-weight:800; color: var(--text-color);
}
.cert-card figcaption span{
  font-size:.92rem; color: var(--muted-text, #7a7b7d);
}

/* Tiny float animation */
@media (hover:hover){
  .cert-card{ animation: certFloat 6s ease-in-out infinite; }
  .cert-card:nth-child(2){ animation-delay: .6s; }
  .cert-card:nth-child(3){ animation-delay: 1.2s; }
  .cert-card:nth-child(4){ animation-delay: 1.8s; }
  .cert-card:nth-child(5){ animation-delay: 2.4s; }
  .cert-card:nth-child(6){ animation-delay: 3.0s; }
}
@keyframes certFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-3px); }
}

/* Lightbox dialog */
.cert-lightbox{
  inset:0; padding: 0; border:0; width:100vw; height:100dvh; background: transparent;
}
.cert-lightbox::backdrop{ background: rgba(15,23,42,.55); }
.cert-lightbox img{
  position: absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  max-width: 92vw; max-height: 86dvh;
  background:#fff; border-radius: 14px;
  box-shadow: 0 18px 44px rgba(17,24,39,.25);
  border: 1px solid var(--divider-color);
}
.lb-close{
  position:absolute; top:16px; right:16px;
  width:42px; height:42px; border-radius:12px; border:1px solid var(--divider-color);
  background:#fff; color: var(--text-color); display:grid; place-items:center;
  cursor:pointer; box-shadow: 0 6px 14px rgba(17,24,39,.10);
}

/* Responsive tweaks */
@media (max-width:600px){
  .cert-card{ padding: 10px; border-radius:14px; }
  .cert-art{ border-radius:10px; }
}


/* Smaller certificates on mobile */
@media (max-width: 600px){
  /* show two smaller tiles per row */
  .cert-grid{
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px;
  }

  /* tighten the card */
  .cert-card{
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(17,24,39,.06);
  }

  /* slightly shorter art area to shrink height */
  .cert-art{
    aspect-ratio: 3 / 2;          /* was 4/3; reduces height */
    border-radius: 10px;
  }

  /* smaller text */
  .cert-card figcaption{
    padding: 6px 4px 0;
  }
  .cert-card figcaption strong{
    font-size: .95rem;
  }
  .cert-card figcaption span{
    font-size: .85rem;
  }
}

/* Extra-small phones */
@media (max-width: 380px){
  .cert-grid{
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 8px;
  }
  .cert-art{ aspect-ratio: 4 / 3; } /* a touch taller for readability */
}


/* ====== SERVICES (icon cards) ====== */
/* Uses your :root theme tokens already present on the site */
.svc-icons{
  padding: clamp(36px, 6vw, 80px) 0;
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(244,129,32,.05), transparent),
    radial-gradient(1000px 500px at 0% 100%, rgba(186,98,63,.06), transparent);
}
.svc-icons .container{ max-width: 1200px; margin-inline:auto; padding-inline:16px; }

.svc-icons__head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(18px, 3vw, 36px);
}
.svc-icons .eyebrow{
  display:inline-block;
  font-weight:800;
  letter-spacing:.02em;
  color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  border: 1px solid var(--divider-color);
  padding: 6px 12px;
  border-radius: 999px;
}
.svc-icons .title{
  margin: 12px 0 6px;
  line-height: 1.15;
  color: var(--text-color);
}
.svc-icons .title .brand{
  color: var(--primary-color);
}
.svc-icons .lede{
  color: var(--muted-text);
  margin: 0;
}

/* ===========================
   Services — Icon Cards (Sai)
   Matches brand tokens in :root
   =========================== */

/* Section wrapper (optional) */
.svc-icons {
  padding: clamp(28px, 4vw, 72px) 0;
  background:
    radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--primary-color) 6%, #fff) 0%, transparent 60%),
    #fff;
}

/* Grid */
.svc-icons__grid{
  display: grid;
  gap: clamp(14px, 2.6vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: clamp(18px, 3.2vw, 34px);
}

/* Card */
.svc-i{
  position: relative;
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  background: #fff;
  padding: 18px 16px 16px;
  box-shadow: 0 8px 22px rgba(17,24,39,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  will-change: transform;

  /* Center all content */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.svc-i:hover{
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary-color) 22%, #fff);
  box-shadow: 0 16px 34px rgba(244,129,32,.14);
  background: linear-gradient(180deg,#fff 0%, color-mix(in srgb, var(--secondary-color) 60%, #fff) 100%);
}

/* Focus state for keyboard users */
.svc-i:focus-within{
  outline: none;
  box-shadow: var(--shadow), 0 0 0 4px #f4812026;
}

/* Icon bubble */
.svc-i__icon{
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;                 /* ensure perfect centering */
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(244,129,32,.16), transparent),
    var(--secondary-color);
  border: 1px solid var(--divider-color);
  box-shadow: inset 0 0 0 4px rgba(244,129,32,.06);
  margin: 0 auto 12px;           /* centered horizontally */
}
.svc-i__icon img{
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin: 0 auto;
}

/* Title + one-liner + CTA */
.svc-i__title{
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 4px 0 6px;
  font-weight: 800;
  color: var(--text-color);
}
.svc-i__title a{
  color: inherit;
  display: inline-block;         /* nicer underline area */
  text-decoration: none;
}
.svc-i__title a:hover{
  color: var(--primary-color);
}

.svc-i__desc{
  color: var(--muted-text);
  margin: 0 0 12px;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* CTA */
.svc-i__cta{
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;        /* centered */
  font-weight:800;
  color: var(--primary-color);
  text-decoration: none;
}
.svc-i__cta i{
  transform: translateX(0);
  transition: transform .2s ease;
}
.svc-i:hover .svc-i__cta i{
  transform: translateX(3px);
}

/* Fine tune spacing for equal feel */
.svc-i > *:last-child{
  margin-bottom: 2px;
}

/* ======= Responsive ======= */
@media (max-width: 680px){
  .svc-i{
    padding: 16px 14px;
    border-radius:14px;
  }
  .svc-i__icon{
    width:56px; height:56px; border-radius:14px;
  }
  .svc-i__icon img{
    width:30px; height:30px;
  }
  .svc-i__title{ font-size:1rem; }
}

/* Optional: tiny-phone tightening */
@media (max-width: 380px){
  .svc-icons__grid{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Dark-on-tint variant (if placed on tinted background) */
.svc-icons.tinted .svc-i{
  background: #fff;
  border-color: var(--divider-color);
}


/* service page starts */
/* ---------- Hero breadcrumb ---------- */
.crumb-hero{
  position: relative;
  isolation: isolate;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: clamp(220px, 20vw, 420px);
  display: grid;
  align-items: end;
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--divider-color);
}
.crumb-hero__scrim{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* top soft tint + bottom dark for readability */
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(0,0,0,.28) 100%),
    radial-gradient(120% 120% at 0% 0%, rgba(244,129,32,.16) 0%, transparent 60%);
}

/* inner layout */
.crumb-hero__inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  color: #fff;
}

/* eyebrow */
.crumb-eyebrow{
  display: inline-block;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 86%, var(--primary-color) 14%);
  margin-bottom: 8px;
}

/* title */
.crumb-title{
  margin: 0 0 14px;
  line-height: 1.08;
  color: #fff;
  font-family: var(--heading-font, var(--default-font));
  font-weight: 800;
  font-size: clamp(28px, 5.2vw, 56px);
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
  position: relative;
}
.crumb-title::after{
  content:"";
  display:block;
  width: clamp(48px, 9vw, 96px);
  height: 3px;
  margin-top: clamp(8px, 1.6vw, 12px);
  border-radius: 999px;
  background: var(--brand-gradient);
}

/* breadcrumb row */
.crumb-nav ol{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  align-items: center;
}
.crumb-nav li{
  color: color-mix(in srgb, #fff 88%, #000 12%);
  font-weight: 700;
}
.crumb-nav li + li::before{
  content: "/";
  margin: 0 2px;
  opacity: .7;
}
.crumb-nav a{
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.crumb-nav a:hover{
  background: rgba(255,255,255,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

/* current page chip */
.crumb-nav li[aria-current="page"]{
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(2px);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px){
  .crumb-hero{
    align-items: center;
    text-align: center;
    padding: clamp(34px, 7vw, 52px) 0;
  }
  .crumb-hero__inner{ text-align: center; }
  .crumb-title::after{ margin-inline: auto; }
  .crumb-nav{ justify-content: center; }
  .crumb-nav ol{
justify-content: center;
  }
.sai-certs{
    margin-top:50px !important;
}
}




/* ============== Steps (Pathway) ============== */
.sai-steps{
  padding: clamp(26px, 4vw, 58px) 0;
  background: var(--white-color);
}
.steps{
  display: grid;
  gap: clamp(14px, 2.4vw, 18px);
  grid-template-columns: repeat(5, minmax(180px,1fr));
  counter-reset: step;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.step{
  position: relative;
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  background: #fff;
  padding: 16px 14px 18px;
  box-shadow: 0 8px 22px rgba(17,24,39,.06);
  display: grid;
  gap: 10px;
  transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover{
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary-color) 24%, #fff);
  box-shadow: 0 16px 34px rgba(244,129,32,.14);
}
.step-dot{
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 800;
  border: 1px solid var(--divider-color);
  margin:auto;
}
.step h3{
  font-size: 1.02rem;
  margin: 2px 0 4px;
}
.step p{
  color: var(--muted-text);
  margin: 0;
}

/* ======= Responsive ======= */
@media (max-width: 980px){
  .split-inner{ grid-template-columns: 1fr; }
  .split-media{ order: -1; } /* image above on tablets */
}
@media (max-width: 720px){
  .sai-split, .sai-steps{ text-align: center; }
  .note-card{ text-align: left; }
  .steps{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .steps{ grid-template-columns: 1fr; }
}

/* ============ PROGRAMS ============ */
.fert-programs{
  padding: clamp(32px, 4vw, 84px) 0;
  background: #fff;
}
.fert-programs__head{ text-align: center; max-width: 720px; margin: 0 auto; }
.fert-programs__lede{ color: var(--muted-text); margin-top: 6px; }

.programs-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(240px,1fr));
  gap: clamp(14px, 2.6vw, 26px);
  margin-top: clamp(18px, 3vw, 28px);
}
.prog-card{
  display: grid;
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(17,24,39,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.prog-card:hover{
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary-color) 18%, #fff);
  box-shadow: 0 20px 40px rgba(244,129,32,.14);
}
.prog-media{
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
}
.prog-tag{
  position: absolute; top: 12px; left: 12px;
  padding: 6px 10px; border-radius: 999px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--divider-color);
  font-weight: 800; font-size: .82rem;
}
.prog-body{ padding: 14px 14px 16px; display: grid; gap: 10px; }
.prog-title{ margin: 2px 0; font-size: 1.08rem; }
.prog-title a{ color: var(--text-color); }
.prog-title a:hover{ color: var(--primary-color); }
.prog-points{
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px; color: var(--muted-text);
}
.prog-points li{ display: grid; grid-template-columns: 10px 1fr; gap: 10px; }
.prog-points li::before{
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-color); margin-top: 7px; opacity: .25;
}



/* Responsive */
@media (max-width: 1080px){
  .programs-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .programs-grid{ grid-template-columns: 1fr; }
}


/* service page ends */



/* Section shell */
.sf-info{
  position:relative;
  padding: clamp(28px, 6vw, 80px) 0;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(244,129,32,.06), transparent),
    #fff;
}

/* Grid */
.sf-wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
  gap: clamp(18px, 3.2vw, 34px);
}
@media (max-width: 980px){
  .sf-wrap{ grid-template-columns:1fr }
  .sf-media{ order:-1 }            /* image first on small if you prefer */
}

/* Eyebrow & Title */
.sf-eyebrow{
  display:inline-block;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  color: var(--primary-color, #f48120);
  margin-bottom: .25rem;
}
.sf-title{
  font-family: var(--heading-font, var(--default-font, system-ui));
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 38px);
  line-height:1.12;
  margin: 0 0 .75rem;
}
.sf-title .brand{ color: var(--primary-color, #f48120); }

/* Blocks */
.sf-block{ margin: 16px 0 14px; }
.sf-point{
  display:flex; align-items:center; gap:12px;
  font-weight: 800; color: var(--text-color, #58595b);
  margin: 0 0 .35rem;
}
.sf-pill{
  width: 44px; height: 12px; border-radius: 999px; flex: 0 0 44px;
  background: linear-gradient(90deg, #f8b677 0%, #f48120 45%, #d85726 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.4), 0 2px 6px rgba(244,129,32,.25);
}
.sf-block p{
  margin:0;
  color: var(--text-color, #58595b);
  font-size: clamp(15px, 1.6vw, 17px);
}

/* Right image */
.sf-photo{
  position:relative; border-radius:18px; overflow:hidden;
  border: 1px solid var(--divider-color, #f481201a);
  box-shadow: var(--shadow, 0 10px 26px rgba(17,24,39,.08));
}
.sf-photo img{ display:block; width:100%; height:100%; object-fit:cover; aspect-ratio: 16/10; }
.sf-glow{
  position:absolute; inset:auto -16% -16% auto; width:46%; height:46%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(244,129,32,.18), transparent);
  pointer-events:none;
}


/* Small tweaks */
@media (max-width:640px){
  .sf-point{ align-items:flex-start }
}

/* ===== Premium ULs for Sai (use on your section) ===== */

/* Check-chip list */
.sf-fancy{
  list-style:none;
  margin:.5rem 0 0;
  padding:0;
  display:grid;
  gap:12px;
}
.sf-fancy li{
  position:relative;
  padding:14px 16px 14px 54px;
  background:#fff;
  border:1px solid var(--divider-color, #f481201a);
  border-radius:14px;
  line-height:1.5;
  box-shadow:0 6px 16px rgba(17,24,39,.06);
  transition:transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.sf-fancy li::before{
  content:"";
  position:absolute;
  left:16px; top:50%;
  translate:0 -50%;
  width:24px; height:24px; border-radius:50%;
  background: var(--brand-gradient, linear-gradient(135deg,#f48120,#d85726));
  box-shadow:0 2px 8px rgba(244,129,32,.25);
}
.sf-fancy li::after{
  content:"";
  position:absolute;
  left:24px; top:50%;
  translate:0 -48%;
  width:7px; height:12px; rotate:45deg;
  border-right:2.5px solid #fff; border-bottom:2.5px solid #fff;
}
.sf-fancy li:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(244,129,32,.16);
  border-color: color-mix(in srgb, var(--primary-color,#f48120) 26%, #fff);
}

/* Two-column variant on wide screens */
@media (min-width: 980px){
  .sf-fancy.two-col{ grid-template-columns:1fr 1fr; }
}

/* Numbered steps */
.sf-steps{
  list-style:none; counter-reset: step;
  display:grid; gap:12px; padding:0; margin:.6rem 0 0;
}
.sf-steps li{
  counter-increment: step;
  position:relative;
  padding:14px 16px 14px 64px;
  background:#fff;
  border:1px solid var(--divider-color, #f481201a);
  border-radius:14px;
  box-shadow:0 6px 16px rgba(17,24,39,.06);
}
.sf-steps li::before{
  content: counter(step);
  position:absolute;
  left:16px; top:50%;
  translate:0 -50%;
  width:34px; height:34px;
  display:grid; place-items:center;
  font-weight:900;
  
  background:#fff;
  border:2px solid var(--primary-color,#f48120);
  border-radius:50%;
  box-shadow:0 6px 14px rgba(244,129,32,.12);
}

/* Subtle dividers list (use when you don’t want cards) */
.sf-soft{
  list-style:none; padding:0; margin:.6rem 0 0;
  border:1px solid var(--divider-color, #f481201a);
  border-radius:14px; overflow:hidden;
}
.sf-soft li{
  padding:12px 16px 12px 44px; position:relative; background:#fff;
}
.sf-soft li+li{ border-top:1px dashed var(--divider-color, #f481201a); }
.sf-soft li::before{
  content:""; position:absolute; left:16px; top:1.05em;
  width:10px; height:10px; border-radius:50%;
  background: radial-gradient(100% 100% at 30% 30%, #ffcfa6, #f48120);
  box-shadow:0 0 0 4px rgba(244,129,32,.06);
}

.sai-steps .container{max-width: 1200px; margin-inline: auto;}
.fert-programs .container{max-width: 1200px; margin-inline: auto;}
/* Layout containers */
.sf-fert .container { max-width: 1200px; margin-inline: auto; }
.sf-fert__head {
  margin-top:30px; margin-bottom: clamp(18px, 3.4vw, 32px); }

/* Typography & spacing */
.sf-fert h2{
  font-family: var(--heading-font, var(--default-font, system-ui, sans-serif));
  font-weight: 800;
  line-height: 1.15;
  color: #F48120;
  margin: 0 0 clamp(8px, 1.4vw, 12px);
  font-size: 34px;
}
.sf-fert h3{
  font-weight: 800;
  margin: clamp(18px, 3.2vw, 34px) 0 clamp(8px, 1.2vw, 12px);
  color: #F48120;
}
.sf-fert p{ color: var(--txt); margin: 0 0 8px; }
.sf-fert__kicker{ font-weight: 700; color: #27313f; }

/* Content blocks with consistent vertical rhythm */
.sf-fert__block + .sf-fert__block{ margin-top: clamp(14px, 2vw, 20px); }

/* Media + text grid */
.sf-fert__grid{
  display:grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  margin-top: clamp(16px, 2.6vw, 28px);
}
.sf-fert__media img{
  width:100%; height:auto; display:block;
  border-radius:16px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(17,24,39,.12);
}

/* Appointment block */
.sf-fert__appt{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3.6vw, 36px);
  align-items: stretch;
  margin-top: clamp(24px, 5vw, 52px);
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--div);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, #fff6ef 0%, #ffffff 42%),
    #fff;
  box-shadow: 0 14px 34px rgba(17,24,39,.08);
}
.sf-fert__appt-img img{
  width:100%; height:100%; object-fit:cover;
  border-radius:14px;
}
.sf-fert__form-title{
  margin: 2px 0 12px;
}
.sf-fert__form .row{ display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:12px 14px; }
.sf-fert .form-group{ position:relative; }
.sf-fert .form-control, .sf-fert .form-select{
  width:100%;
  background:#fff;
  border:1px solid var(--div);
  border-radius:14px;
  padding:14px 14px;
  font: inherit; color: var(--txt);
  box-shadow: 0 6px 14px rgba(17,24,39,.06);
}
.sf-fert .form-control::placeholder{ color: #9aa0a6; }
.sf-fert .form-group i{
  position:absolute; right:14px; top:50%; translate:0 -50%; color:#9aa0a6;
}


.sf-fert .sf-msg{ margin-top: 8px; color: var(--pri); font-weight: 700; }

/* Premium lists */
.sf-fancy{
  list-style:none; margin:.6rem 0 0; padding:0;
  display:grid; gap:12px;
}
.sf-fancy li{
  position:relative; padding:14px 16px 14px 54px;
  background:#fff; border:1px solid var(--div); border-radius:14px;
  line-height:1.5; color: var(--txt);
  box-shadow:0 6px 16px rgba(17,24,39,.06);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.sf-fancy li::after{
  content:""; position:absolute; left:24px; top:50%; translate:0 -48%;
  width:7px; height:12px; rotate:45deg;
  border-right:2.5px solid #fff; border-bottom:2.5px solid #fff;
}
.sf-fancy li:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(244,129,32,.16);
  border-color: color-mix(in srgb, var(--pri) 26%, #fff);
}
@media (min-width: 980px){
  .sf-fancy.two-col{ grid-template-columns: 1fr 1fr; }
}

/* Numbered steps */
.sf-steps{
  list-style:none; counter-reset: step;
  display:grid; gap:12px; padding:0; margin:.6rem 0 0;
}
.sf-steps li{
  counter-increment: step; position:relative;
  padding:14px 16px 14px 64px;
  background:#fff; border:1px solid var(--div); border-radius:14px;
  box-shadow:0 6px 16px rgba(17,24,39,.06); color: var(--txt);
}
.sf-steps li::before{
      content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    translate: 0 -50%;
    width: 34px;
    height: 34px;
    display: grid
;
    place-items: center;
    font-weight: 900;
    color: var(--pri);
    background: #fff;
    border: 2px solid var(--pri);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(244, 129, 32, .12);
}

/* Responsiveness */
@media (max-width: 980px){
  .sf-fert__grid{ grid-template-columns: 1fr; }
  .sf-fert__appt{ grid-template-columns: 1fr; }
  .sf-fert__form .row{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .sf-fert h2{ font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .sf-fert h3{ font-size: clamp(1.05rem, 5.2vw, 1.25rem); }
}

.sf-docbio .container{ max-width: 1200px; margin-inline: auto; padding-inline: 12px; }

.sf-docbio__card{
  position: relative;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: clamp(18px, 4vw, 40px);
  align-items: stretch;
  border: 1px solid var(--div);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(17,24,39,.08);
  overflow: hidden;
}

/* Media */
.sf-docbio__media{
  position: relative;
  padding: clamp(14px, 2.2vw, 18px);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(244,129,32,.12), transparent 58%),
    #fff;
  border-right: 1px solid var(--div);
  display: grid;
  place-items: center;
}
.sf-docbio__media img{
  width: 100%;
  max-width: 322px;
  aspect-ratio: 3/4;              /* keeps full head visible nicely */
  object-fit: contain;            /* avoid cropping */
  filter: drop-shadow(0 18px 30px rgba(17,24,39,.12));
}

/* Sticky badges on image */
.sf-docbio__badge,
.sf-docbio__chip{
  position: absolute;
  left: clamp(12px, 2vw, 16px);
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .86rem;
  backdrop-filter: blur(4px);
  border: 1px solid var(--div);
  box-shadow: 0 8px 20px rgba(17,24,39,.08);
}
.sf-docbio__badge{ top: 16px; background: #fff; color: var(--pri); }
.sf-docbio__chip{
  top: 60px;
  display: inline-flex; gap: 8px; align-items: center;
  background: #fff6ef;
  color: #1f2937;
}

/* Body */
.sf-docbio__body{ padding: clamp(16px, 2.6vw, 28px); }
.sf-docbio__eyebrow{
  display:inline-block; font-weight: 800; color: var(--pri600);
  background: #fff6ef; border:1px solid var(--div);
  border-radius: 999px; padding: 6px 12px; margin-bottom: 8px;
}
.sf-docbio__name{
  font-family: var(--heading-font, var(--default-font, system-ui, sans-serif));
  font-weight: 900; line-height: 1.15; margin: 4px 0 6px;
  color: #1f2937;
}
.sf-docbio__qual{ color: var(--muted); margin: 0 0 10px; }

/* stat chips */
.sf-docbio__stats{
  list-style: none; padding: 0; margin: 10px 0 8px;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.sf-docbio__stats li{
  display:flex; gap:10px; align-items:center;
  padding: 10px 12px; border-radius: 12px;
  background:#fff; border:1px solid var(--div);
  box-shadow: 0 6px 16px rgba(17,24,39,.06);
  color: var(--txt); font-weight: 700;
}
.sf-docbio__stats i{ color: var(--pri); }

/* specialty tags */
.sf-docbio__tags{
  list-style:none; padding:0; margin: 10px 0 4px;
  display:flex; flex-wrap:wrap; gap:8px;
}
.sf-docbio__tags li{
  padding: 8px 12px; border-radius: 999px;
  background: #fff6ef; border:1px solid var(--div);
  font-weight: 800; color: #1f2937;
}

/* details */
.sf-docbio__about{
  margin: 12px 0 8px; border:1px solid var(--div);
  border-radius: 14px; background:#fff;
  box-shadow: 0 10px 20px rgba(17,24,39,.06);
  overflow: hidden;
}
.sf-docbio__about > summary{
  list-style:none; cursor:pointer; padding: 14px 16px;
  font-weight: 800; color:#1f2937; position:relative;
}
.sf-docbio__about > summary::-webkit-details-marker{ display:none; }
.sf-docbio__about > summary span{ padding-right: 26px; display:inline-block; }
.sf-docbio__about > summary::after{
  content:"\f078"; font-family:"Font Awesome 6 Free"; font-weight:900;
  position:absolute; right:12px; top:50%; transform:translateY(-50%) rotate(0);
  transition:.2s;
}
.sf-docbio__about[open] > summary::after{ transform:translateY(-50%) rotate(180deg); }
.sf-docbio__about p{ padding: 0 16px 14px; color: var(--txt); }

/* meta row */
.sf-docbio__meta{
  display:flex; flex-wrap:wrap; gap: 12px 18px;
  margin: 8px 0 10px; color: var(--muted); font-weight: 700;
}
.sf-docbio__meta i{ color: var(--pri); margin-right:6px; }




/* Responsive */
@media (max-width: 960px){
  .sf-docbio__card{ grid-template-columns: 1fr; }
  .sf-docbio__media{ border-right: 0; border-bottom: 1px solid var(--div); }
  .sf-docbio__name{ font-size: clamp(1.4rem, 6.2vw, 1.8rem); }
}
@media (max-width: 480px){
  .sf-docbio__stats{ grid-template-columns: 1fr; }
}


@media(max-width:600px){
  .appointment-img{
    min-height: 344px !important;
  }
}

/* Mobile: swap banner + center text */
@media (max-width: 640px){
  .fertility {
    background-image: url("../images/mobile-banner/fertiltiy.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .nep {
    background-image: url("../images/mobile-banner/nephrology.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }

  .neuro {
    background-image: url("../images/mobile-banner/neurology.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .obg {
    background-image: url("../images/mobile-banner/obg.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .gen-sur {
    background-image: url("../images/mobile-banner/general-surgery.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }

  .vascular {
    background-image: url("../images/mobile-banner/vascular-surgery.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .paediatrics {
    background-image: url("../images/mobile-banner/paediatrics.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .ent {
    background-image: url("../images/mobile-banner/ent.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .ortho {
    background-image: url("../images/mobile-banner/orthopaedics.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .plastic {
    background-image: url("../images/mobile-banner/plastic-surgery.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .pys {
    background-image: url("../images/mobile-banner/Psychiatry.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .medicine {
    background-image: url("../images/mobile-banner/Psychiatry.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .cardio {
    background-image: url("../images/mobile-banner/cardiology.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }

  .gastro {
    background-image: url("../images/mobile-banner/gastro.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .derma {
    background-image: url("../images/mobile-banner/dermatology.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .lap {
    background-image: url("../images/mobile-banner/lapo.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .onco {
    background-image: url("../images/mobile-banner/oncology.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .paediatric {
    background-image: url("../images/mobile-banner/paediatrics-surgery.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .emergency {
    background-image: url("../images/mobile-banner/emergency-medicine.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .oral {
    background-image: url("../images/mobile-banner/oral.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .urol {
    background-image: url("../images/mobile-banner/emergency-medicine.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .icu {
    background-image: url("../images/mobile-banner/icu.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .women {
    background-image: url("../images/mobile-banner/women-wellness.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .resp {
    background-image: url("../images/mobile-banner/respitarory-medicine.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .dia {
    background-image: url("../images/mobile-banner/dialysis.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .pre-care {
    background-image: url("../images/mobile-banner/pregnancy-care.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .labs {
    background-image: url("../images/mobile-banner/lab.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .natural {
    background-image: url("../images/mobile-banner/natural-birth.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .about{
    background-image: url("../images/mobile-banner/Appointment-02.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .contact{
    background-image: url("../images/mobile-banner/Contact\ us-02.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .training{
    background-image: url("../images/mobile-banner/Training-02.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .blood{
    background-image: url("../images/mobile-banner/Blood\ bank-02.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .health{
    background-image: url("../images/mobile-banner/Health\ insurance-02.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .gallery{
    background-image: url("../images/mobile-banner/Gallary-02.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 43vh;
  }
  .crumb-hero__inner{ text-align:center; align-items:center;
          padding: 16px 10px;
        border-radius: 10px;
                background: rgb(126 91 91 / 0%);
        backdrop-filter: blur(66px); }
}

/* Large screens: left-align only */
@media (min-width: 641px){
  .crumb-hero__inner{ text-align:left; align-items:flex-start; }
}



.csel{position:relative;width:100%;font:inherit}
.csel__btn{width:100%;display:flex;justify-content:space-between;align-items:center ;color:#58595b !important;
  padding:16px 14px;border:1px solid #e6e6e6;border-radius:12px;background:#fff;cursor:pointer}
.csel__btn:focus{outline:2px solid #ff8a00;outline-offset:2px} /* tweak to your brand */
.csel__list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;
  background:#fff;border:1px solid #ececec;border-radius:12px;box-shadow:0 12px 28px rgba(0,0,0,.12);
  max-height:250px; /* ≈ 4 rows */
  overflow:auto;margin:0;padding:6px;list-style:none;display:none}
.csel.open .csel__list{display:block}
.csel__opt{padding:10px 12px;border-radius:8px;cursor:pointer;white-space:nowrap}
.csel__opt[aria-selected="true"]{background:#f3f4f6}
.csel__opt:hover,.csel__opt[aria-current="true"]{background:#fff7ef} /* soft brand hover */



/* faqs */
/* Header */
.sf-faqs__head{
  text-align: center;
  margin-bottom: clamp(18px, 3.4vw, 34px);
}
.sf-faqs .eyebrow{
  display: inline-block;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--primary-600);
  background: color-mix(in srgb, var(--primary-color) 8%, #fff);
  padding: 6px 12px;
  border-radius: 999px;
}
.sf-faqs .title{
  margin: 10px 0 8px;
}
.sf-faqs .lede{
  color: var(--muted-text);
  margin: 0 auto;
  max-width: 700px;
}
.sf-faqs__actions{
  display: flex; gap: 10px; justify-content: center;
  margin-top: 14px;
}

/* FAQ list & cards */
.sf-faqs__list{
  display: grid;
  gap: clamp(10px, 2vw, 14px);
}

/* individual card */
.sf-faq{
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Question button */
.sf-faq__q{
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;  /* icon + text */
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: clamp(14px, 2.4vw, 18px) clamp(14px, 2.6vw, 22px);
  background: linear-gradient(180deg, #fff, var(--secondary-color));
  border: 0;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.sf-faq__q:hover{
  background: linear-gradient(180deg,#fff, color-mix(in srgb, var(--primary-color) 10%, var(--secondary-color)));
}
.sf-faq__icon{
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--divider-color);
  box-shadow: inset 0 0 0 4px rgba(244,129,32,.06);
  color: var(--primary-color);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.sf-faq__q[aria-expanded="true"] .sf-faq__icon{
  background: var(--primary-color);
  color: var(--accent-contrast);
  transform: rotate(45deg); /* plus -> × */
}

/* Answer wrapper (animated height) */
.sf-faq__a{
  height: 0;
  overflow: hidden;
  transition: height .32s cubic-bezier(.22,.61,.36,1);
  will-change: height;
  background: #fff;
  border-top: 1px solid var(--divider-color);
}
.sf-faq__a-inner{
  padding: 14px clamp(14px, 2.6vw, 22px) 18px;
  color: var(--text-color);
  line-height: 1.6;
}



/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .sf-faq__a{ transition: none; }
  .sf-faq__icon{ transition: none; }
}
/* faqs end */



/* cta */
/* ===== Premium CTA (image-free), uses your :root tokens ===== */
.cta-ribbon{
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 12px) 0;
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--primary-color) 8%, transparent), transparent 60%),
    radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--primary-700, #c83f26) 8%, transparent), transparent 60%),
    var(--secondary-color, #fff6ef);
  border-top: 1px solid var(--divider-color, #f481201a);
  border-bottom: 1px solid var(--divider-color, #f481201a);
}

/* soft animated diagonal strands in the background (very subtle) */
.cta-ribbon::before{
  content:"";
  position:absolute; inset:-20%;
  background:
    repeating-linear-gradient(
      110deg,
      rgba(244,129,32,.05) 0 14px,
      transparent 14px 46px
    );
  transform: rotate(0.0001deg);
  animation: ctaStripes 16s linear infinite;
  pointer-events:none;
}
@keyframes ctaStripes { to { transform: translateX(-6%) rotate(0.0001deg); } }

/* Glassy card with gradient border */
.cta-card{
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(18px, 3.6vw, 36px) clamp(16px, 3.6vw, 40px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border: 1px solid var(--divider-color);
  box-shadow: var(--shadow, 0 10px 26px rgba(17,24,39,.08));
  backdrop-filter: blur(6px);
}
.cta-card::before{
  /* gradient “stroke” */
  content:"";
  position:absolute; inset:-1px; border-radius: inherit; padding:1px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-700, #c83f26));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.cta-card::after{
  /* gentle moving shine */
  content:"";
  position:absolute; inset:0; border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(244,129,32,.08), transparent);
  background-size: 220% 100%;
  animation: ctaSweep 8s linear infinite;
  pointer-events:none;
}
@keyframes ctaSweep { to { background-position: -200% 0; } }

/* Text */
.cta-eyebrow{
  display:inline-block;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--primary-600, #d85726);
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  padding: 6px 12px;
  border-radius: 999px;
}
.cta-title{
  margin: 10px 0 8px;
  color: var(--text-color, #58595b);
  line-height: 1.15;
}
.cta-title .brand{ color: var(--primary-color, #f48120); }
.cta-lede{
  color: var(--muted-text, #7a7b7d);
  max-width: 64ch;
  margin: 0 0 12px;
}

/* Actions */
.cta-actions{
  display:flex; flex-wrap:wrap; gap: 12px;
  margin-top: 12px;
}
.btn-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 8px;
  border:1px solid color-mix(in srgb, var(--primary-color) 52%, #fff);
  background:#fff;
  color: var(--primary-color);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(17,24,39,.06));
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn-ghost:hover{
  background: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(244,129,32,.18);
}

/* Chips */
.cta-chips{
  display:flex; flex-wrap: wrap; gap: 10px 12px;
  list-style:none; margin: 14px 0 0; padding: 0;
}
.cta-chips li{
  padding: 8px 12px;
  font-weight: 700;
  color: var(--text-color);
  border-radius: 999px;
  border:1px solid var(--divider-color);
  background:
    radial-gradient(130% 130% at 0% 0%, rgba(244,129,32,.08), transparent 60%), #fff;
}

/* Responsive */
@media (max-width: 860px){
  .cta-card{ text-align:center; }
  .cta-lede{ margin-left:auto; margin-right:auto; }
  .cta-actions a{ flex:1 1 220px; }
  .cta-chips{ justify-content:center; }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .cta-ribbon::before, .cta-card::after{ animation: none; }
}
/* Background image layer */
.cta-ribbon--image{ position: relative; }
.cta-ribbon__bg{
  position: absolute; inset: 0; z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.02) contrast(1.03);
}

/* Brand-tinted veil for text legibility */
.cta-ribbon__bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--primary-color) 24%, transparent) 0%,
      color-mix(in srgb, var(--primary-700, #c83f26) 18%, transparent) 55%,
      rgba(0,0,0,.12) 100%);
}

/* Keep card above the background */
.cta-ribbon .container,
.cta-card{ position: relative; z-index: 1; }

/* Mobile: swap to a tighter crop if you have it */
@media (max-width: 640px){
  .cta-ribbon__bg{
    background-image: url('../images/banner/fertility-services-banner.jpg') !important;
  }
}

/* === Center the CTA content (all devices) === */
.cta-ribbon--image .container{
  /* vertical + horizontal centering */
  display: grid;
  place-items: center;
  
}

.cta-card{
  text-align: center;
  margin-inline: auto;
  max-width: min(820px, 92vw);
  /* if your .cta-card uses grid/flex, keep it centered */
  display: grid;
  
  align-items: center;
  justify-items: center;
}

.cta-actions{ 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  justify-content: center; 
}

.cta-chips{ 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
  justify-content: center; 
}

.cta-title,
.cta-lede,
.cta-eyebrow{ 
  margin-inline: auto; 
}

/* cta end */

/* new css */
.service-eyebrow{
  display: inline-block;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--primary-600, #d85726);
    background: 
 color-mix(in srgb, var(--primary-color) 10%, #fff);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    
}



.sai-nephrolist{
  
  background: #fff; 
}

/* Header */
.nl-head{
  display:flex; align-items:center; gap:10px;
  margin-bottom: clamp(10px, 2.4vw, 16px);
}

.nl-title{
  margin:0 !important;
  font-weight: 800;
  letter-spacing:.02em;
  
  color: var(--text-color, #58595b);

}

/* List */
.nl-list{
  list-style:none;
  margin:0; padding:0;
}
.nl-list li{
  position:relative;
  padding-left: 22px;
  margin: 10px 0;
  line-height: 1.6;
  color: var(--text-color, #58595b);
}

/* Brand bullet */
.nl-list li::before{
  content:"";
  position:absolute; left:0; top: .78em;
  width: 8px; height: 8px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--primary-color,#f48120), var(--primary-700,#c83f26));
  box-shadow: 0 0 0 2px #ffffff;
  transform: translateY(-50%);
}

/* Term + description */
.nl-term{ font-weight: 800; }


/* Small screens tweaks */
@media (max-width: 600px){
  .nl-title{ font-size: 1.05rem; }
  .nl-list li{ margin: 8px 0; }
}

.sai-hr{
  margin-top:25px !important;
}



/* tonight */
/* new css added */
.sai-about-min {
  padding: clamp(36px, 4vw, 96px) 0;
  background: #fff;
}

.sai-about-min__wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4.5vw, 56px);
  align-items: center;
}
@media (max-width: 980px) {
  .sai-about-min__wrap {
    grid-template-columns: 1fr;
  }
}

/* Media (clean card) */
.sai-about-min__media {
  margin: 0;
  border-radius: 18px;
  padding: 5px; /* slim frame */
  background: var(--brand-gradient);
  box-shadow: 0 14px 34px rgba(244, 129, 32, 0.16),
    0 8px 18px rgba(17, 24, 39, 0.06);
}
.sai-about-min__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}
@media (max-width: 560px) {
  .sai-about-min__media img {
    aspect-ratio: 16/10;
  }
}

/* Copy */
.sai-about-min__content {
  max-width: 640px;
}
.sai-about-min__eyebrow {
  display: inline-block;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-color) 12%, #fff);
  color: var(--primary-700);
  border: 1px solid color-mix(in srgb, var(--primary-color) 22%, #fff);
}
.sai-about-min__title {
  margin: 12px 0 8px;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.12;
  color: var(--text-color);
  font-weight: 600;
}
.sai-about-min__title .brand {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sai-about-min__lede {
  color: var(--muted-text);
  line-height: 1.7;
  margin: 0 0 14px;
  font-size: clamp(15px, 1.6vw, 17px);
}

/* List (simple, classy) */
.sai-about-min__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 16px;
  margin: 16px 0 8px;
  padding: 0;
  list-style: none;
}
@media (max-width: 720px) {
  .sai-about-min__list {
    grid-template-columns: 1fr;
  }
}
.sai-about-min__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  background: #fff;
  border: 1px solid var(--divider-color);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
  color: var(--text-color);
}
.sai-about-min__list i {
  color: var(--primary-700);
  margin-top: 2px;
}

/* CTAs */
.sai-about-min__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn-outline-min {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  background: #fff;
  color: var(--primary-color);
  border: 1px solid color-mix(in srgb, var(--primary-color) 40%, #fff);
  box-shadow: 0 6px 16px rgba(244, 129, 32, 0.1);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-outline-min:hover {
  transform: translateY(-1px);
  background: var(--secondary-color);
  box-shadow: 0 10px 24px rgba(244, 129, 32, 0.16);
}

/* ===== Section shell ===== */
.sai-commit {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 6.4vw, 96px) 0;
  background: radial-gradient(
      900px 340px at 10% -10%,
      rgba(244, 129, 32, 0.1),
      transparent 60%
    ),
    radial-gradient(
      800px 300px at 95% 110%,
      rgba(200, 63, 38, 0.08),
      transparent 60%
    ),
    #fff;
}

/* Tiny dotted pattern overlay */
.sai-commit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(
    rgba(244, 129, 32, 0.08) 1px,
    transparent 1px
  );
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}

/* ===== Heading ===== */
.sc-head {
  display: grid;
  gap: 10px;
}
.sc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-700);
  font-size: 0.88rem;
}
.sc-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-700);
}
.sc-title {
  margin: 0;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.06;
  font-weight: 600;
  color: var(--ink);
}
.sc-lede {
  margin: 4px 0 0;
  color: var(--text-color);
  max-width: 68ch;
}

/* ===== Pledge ribbon ===== */
.sc-pledge {
  position: relative;
  margin-top: clamp(18px, 3.6vw, 28px);
  padding: clamp(16px, 2.6vw, 22px) clamp(16px, 2.6vw, 24px);
  border-radius: 18px;
  background: radial-gradient(
      120% 120% at 0% 0%,
      rgba(244, 129, 32, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, #fff7f0, #ffece0);
  border: 1px solid color-mix(in srgb, var(--primary) 24%, #fff);

  display: grid;
  gap: 8px;
}

.sc-crest {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: radial-gradient(
      120% 120% at 0% 0%,
      rgba(244, 129, 32, 0.18),
      transparent
    ),
    var(--cream);
  border: 1px solid var(--divider);
  box-shadow: inset 0 0 0 4px rgba(244, 129, 32, 0.06);
  color: var(--primary-700);
  font-size: 22px;
}
.sc-pledge__text {
  margin: 0;
  color: #3c4250;
}
.sc-sign {
  justify-self: end;
  font-weight: 800;
  color: var(--primary-700);
}

/* ===== Grid of commitments ===== */
.sc-grid {
  margin-top: clamp(18px, 3.6vw, 28px);
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.sc-card {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--divider);
  padding: clamp(14px, 2.2vw, 18px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
  display: grid;
  gap: 8px;
}
.sc-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 26%, #fff);
  box-shadow: 0 18px 44px rgba(244, 129, 32, 0.16);
}
.sc-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(
      120% 120% at 0% 0%,
      rgba(244, 129, 32, 0.16),
      transparent
    ),
    #fff6ef;
  border: 1px solid var(--divider);
  box-shadow: inset 0 0 0 4px rgba(244, 129, 32, 0.06);
  color: var(--primary-700);
  font-size: 18px;
}
.sc-card__title {
  margin: 0;
  font-weight: 900;
  color: var(--text-color);
  font-size: 1.02rem;
}
.sc-card__text {
  margin: 0;
  color: #414750;
}

/* ===== CTA (optional) ===== */
.sc-cta {
  margin-top: clamp(18px, 3.6vw, 30px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-sai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: var(--brand-grad);
  color: #fff;
  text-decoration: none;
  border: 0;
  box-shadow: 0 10px 26px rgba(244, 129, 32, 0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-sai:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}
.btn-sai--ghost {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid color-mix(in srgb, var(--primary) 42%, #fff);
  box-shadow: none;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: no-preference) {
  .sc-card {
    opacity: 0;
    animation: scFade 0.55s ease forwards;
  }
  .sc-card:nth-child(2) {
    animation-delay: 0.06s;
  }
  .sc-card:nth-child(3) {
    animation-delay: 0.12s;
  }
  .sc-card:nth-child(4) {
    animation-delay: 0.18s;
  }
  .sc-card:nth-child(5) {
    animation-delay: 0.24s;
  }
  .sc-card:nth-child(6) {
    animation-delay: 0.3s;
  }
  @keyframes scFade {
    to {
      opacity: 1;
    }
  }
}

/* ===== Theme hooks (reuses your CSS variables if present) ===== */
:root {
  --sai-primary: var(--primary-color, #f48120);
  --sai-ink: var(--text-color, #1f2937);
  --sai-muted: var(--muted-text, #6b7280);
  --sai-card: rgba(255, 255, 255, 0.86);
  --sai-ring: #ececec;
}

/* ===== Premium section background with Sai gradients ===== */
.insure-sai {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 4vw, 110px) 0;
  background: radial-gradient(
      60% 80% at -20% -10%,
      rgba(244, 129, 32, 0.12),
      transparent 60%
    ),
    radial-gradient(
      70% 90% at 120% 110%,
      rgba(255, 179, 122, 0.16),
      transparent 70%
    ),
    #fff;
}
.insure-sai::before,
.insure-sai::after {
  content: "";
  position: absolute;
  z-index: -1;
  filter: blur(18px);
  pointer-events: none;
}
.insure-sai::before {
  left: -260px;
  top: -220px;
  width: 860px;
  height: 860px;
  background: radial-gradient(
      40% 40% at 50% 50%,
      rgba(244, 129, 32, 0.18),
      transparent 65%
    ),
    radial-gradient(
      30% 30% at 60% 40%,
      rgba(255, 179, 122, 0.18),
      transparent 70%
    );
}
.insure-sai::after {
  right: -300px;
  bottom: -260px;
  width: 920px;
  height: 920px;
  background: radial-gradient(
      45% 45% at 50% 50%,
      rgba(255, 179, 122, 0.22),
      transparent 68%
    ),
    radial-gradient(
      32% 32% at 38% 60%,
      rgba(244, 129, 32, 0.12),
      transparent 70%
    );
}

/* ===== Header ===== */
.insure__head .eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--sai-primary);
  background: color-mix(in srgb, var(--sai-primary) 14%, #fff);
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sai-primary) 22%, #f4f4f4);
}
.insure__head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #58595b;
  line-height: 1.12;
  font-weight: 600;
  background: linear-gradient(
    90deg,
    var(--sai-ink),
    color-mix(in srgb, var(--sai-primary) 28%, var(--sai-ink))
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.insure__head .lead {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(15px, 1.15vw, 18px);
  max-width: 70ch;
  font-weight: 400;
}

/* ===== Tabs + Search ===== */
.insure__controls {
  margin-top: clamp(16px, 3.2vw, 28px);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  align-items: center;
}
@media (max-width: 720px) {
  .insure__controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.insure__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.insure__tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  color: var(--sai-ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  position: relative;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  border: 1px solid color-mix(in srgb, var(--sai-primary) 10%, var(--sai-ring));
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.insure__tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(244, 129, 32, 0.14);
}
.insure__tab.is-active {
  color: var(--sai-primary);
  border-color: color-mix(in srgb, var(--sai-primary) 26%, var(--sai-ring));
  background: linear-gradient(180deg, #fff, #fff7f0);
}

.insure__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--sai-ring);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}
.insure__search i {
  color: var(--sai-muted);
}
.insure__search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 200px;
  font: inherit;
  color: var(--sai-ink);
}
@media (max-width: 720px) {
  .insure__search input {
    width: 100%;
  }
}

/* ===== Panels ===== */
.insure__panels {
  margin-top: clamp(16px, 3.2vw, 28px);
}
.insure__panel {
  display: none;
}
.insure__panel.is-active {
  display: block;
}

/* ===== List as premium chips grid ===== */
.insure__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.insure__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: var(--sai-card);
  border: 1px solid color-mix(in srgb, var(--sai-primary) 8%, var(--sai-ring));
  backdrop-filter: saturate(1.15) blur(6px);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  position: relative;
}
.insure__list li::before {
  content: "\f3ed"; /* fa-regular fa-building-shield (fallback style) */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--sai-primary);
  font-size: 0.95rem;
}

/* Empty-state text (search) */
.insure__empty {
  margin: 14px 0 0;
  color: var(--sai-muted);
  font-style: italic;
}

/* ===== Subcards for Outpatient / Pre-policy ===== */
.insure__subgrid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) {
  .insure__subgrid {
    grid-template-columns: 1fr;
  }
}

.insure__card {
  padding: 16px;
  border-radius: 16px;
  background: var(--sai-card);
  border: 1px solid color-mix(in srgb, var(--sai-primary) 10%, var(--sai-ring));
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
  backdrop-filter: saturate(1.15) blur(6px);
}
.insure__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.insure__card-head i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--sai-primary);
  background: radial-gradient(
      120% 120% at 0% 0%,
      rgba(244, 129, 32, 0.16),
      transparent
    ),
    #fff7f0;
  border: 1px solid color-mix(in srgb, var(--sai-primary) 10%, var(--sai-ring));
  box-shadow: inset 0 0 0 4px rgba(244, 129, 32, 0.06);
}
.insure__card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--sai-ink);
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  .insure__tab,
  .insure__list li {
    transition: none;
  }
}

/* Force exactly 4 columns on wide screens for the main panels only */
@media (min-width: 1100px) {
  .insure__panel > .insure__list {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
/* ===== Blood Bank (Slim & Premium) ===== */
/* Uses your :root tokens */
.bb-slim {
  --pri: var(--primary-color, #f48120);
  --pri-600: var(--primary-600, #d85726);
  --txt: var(--text-color, #58595b);
  --muted: var(--muted-text, #7a7b7d);
  --line: var(--divider-color, #f481201a);
  --surface: var(--surface-color, #ffffff);

  font-family: var(
    --default-font,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif
  );
  color: var(--txt);
  background: var(--surface);
  padding: clamp(28px, 5vw, 56px) 0;
}

.bb-wrap {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Title */
.bb-title {
  margin: 0 0 0.75rem;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--primary-color);
}

/* Body copy */
.bb-slim p {
  margin: 0 0 0.8rem;
  line-height: 1.72;
}

/* Policy line */
.bb-policy {
  margin: 1rem 0 1.2rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--pri);
  background: color-mix(in srgb, var(--pri) 6%, #fff);
  border-radius: 8px;
}

/* SECTION LABEL (uppercase orange + thin rule) */
.bb-sec {
  margin: 1.25rem 0 0.5rem;
  font-size: clamp(13px, 1.5vw, 14px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pri);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

/* Chevron list */
.bb-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.bb-list li {
  position: relative;
  padding-left: 1.25rem;
  margin: 0.28rem 0;
  line-height: 1.7;
}
.bb-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pri);
  transform: translateY(1px);
}

/* Subtle link style (if any phone/email links are added later) */
.bb-slim a {
  color: var(--pri);
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--pri) 50%, transparent);
}
.bb-slim a:hover {
  color: var(--pri-600);
}

/* Responsive trim for very small screens */
@media (max-width: 520px) {
  .bb-title {
    font-size: 22px;
  }
  .bb-list li {
    padding-left: 1.1rem;
  }
}

/* Slightly denser look for the Courses block */
#allied-health-courses .bb-list li {
  margin: 0.56rem 0;
}
#allied-health-courses .bb-sec {
  margin-top: 1.6rem;
}

/* ========= Sai Gallery (Premium) ========= */
:root {
  --sg-primary: var(--primary-color, #f48120);
  --sg-accent: var(--accent-color, #f59e66);
  --sg-text: var(--text-color, #1f2328);
  --sg-muted: var(--muted-text, #5f646b);
  --sg-div: var(--divider-color, #ececec);
  --sg-card: #fff;
}

.sai-gallery {
  position: relative;
  padding: clamp(36px, 6vw, 80px) 0;
}
.sai-gallery::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -20%;
  height: 56%;
  background: radial-gradient(
    60rem 60rem at 0% 0%,
    color-mix(in srgb, var(--sg-primary) 18%, transparent),
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
/*.sai-gallery .container {*/
/*  position: relative;*/
/*  z-index: 1;*/
/*}*/

/* Header */
.sg-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.sg-eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary-600, #d85726);
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.sg-title {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.sg-title .brand {
  color: var(--sg-primary);
}
.sg-lede {
  color: var(--sg-muted);
  margin: 0 auto clamp(14px, 2vw, 22px);
}

/* Filters */
.sg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: clamp(10px, 2vw, 18px);
}
.sg-filters .pill {
  appearance: none;
  border: 1px solid var(--sg-div);
  background: #fff;
  color: var(--sg-text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.12s ease;
}
.sg-filters .pill:hover {
  border-color: color-mix(in srgb, var(--sg-primary) 30%, #fff);
  transform: translateY(-1px);
}
.sg-filters .pill.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--sg-primary), var(--sg-accent));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(244, 129, 32, 0.2);
}

/* Grid */
.sg-grid {
  margin-top: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.5vw, 16px);
}
.sg-item {
  grid-column: span 4; /* default 3 per row on large */
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sg-card);
  border: 1px solid var(--sg-div);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.sg-item:is(.is-wide) {
  grid-column: span 8;
}
.sg-item:is(.is-tall) .sg-fig {
  aspect-ratio: 3/4;
}

@media (max-width: 1100px) {
  .sg-item {
    grid-column: span 6;
  } /* 2 per row */
  .sg-item.is-wide {
    grid-column: span 12;
  }
}
@media (max-width: 640px) {
  .sg-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .sg-item {
    grid-column: span 6;
  } /* full-width */
}

/* Figure */
.sg-fig {
  position: relative;
  aspect-ratio: 4/3;
  margin: 0;
}
.sg-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
}
.sg-item:hover img {
  transform: scale(1.04);
}

/* Overlay/Caption */
.sg-cap {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.92rem;
  background: color-mix(in srgb, #fff 88%, rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.1);
}
.sg-cap i {
  color: var(--sg-primary);
}

/* Hover lift */
.sg-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sg-primary) 18%, #fff);
  box-shadow: 0 18px 40px rgba(244, 129, 32, 0.16);
}

/* Lightbox */
.sg-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  z-index: 9999;
}
.sg-lightbox[hidden] {
  display: none;
}
.sg-stage {
  position: relative;
  width: min(96vw, 1100px);
  height: min(84vh, 860px);
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: #0b1220;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.sg-full {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sg-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  text-align: center;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
  font-weight: 700;
}

/* Controls */
.sg-btn {
  position: absolute;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.sg-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}
.sg-close {
  right: 16px;
  z-index: 2;
}
.sg-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.sg-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .sg-item,
  .sg-fig img,
  .sg-btn {
    transition: none !important;
  }
}

/* ===== Uniform Gallery Tiles (drop-in override) ===== */
.sai-gallery {
  --tile-aspect: 4/3;
} /* change to 1/1 for perfect squares */

.sg-grid {
  display: grid;
  gap: clamp(10px, 1.5vw, 16px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Neutralize special sizes and force uniform columns */
.sg-item,
.sg-item.is-wide,
.sg-item.is-tall {
  grid-column: auto !important;
}

/* Force the same aspect ratio for all figures */
.sg-fig {
  aspect-ratio: var(--tile-aspect) !important;
  margin: 0;
}

/* Image fills tile consistently */
.sg-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional: tweak on smaller screens */
@media (max-width: 520px) {
  .sg-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* ===== SAI Gallery — Bigger tiles, 3 per row ===== */
.sai-gallery {
  /* tune these to taste */
  --tile-aspect: 4/3; /* 1/1 for squares, 16/9 for wider */
  --tile-w: clamp(300px, 30vw, 420px); /* used when only 1 result remains */
}

/* Grid: always 3 columns on desktop */
.sg-grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  grid-template-columns: repeat(3, 1fr); /* <-- three per row */
  align-items: stretch;
}

/* Card/tile */
.sg-item {
  width: 100%;
}
.sg-fig {
  aspect-ratio: var(--tile-aspect);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.1);
  border: 1px solid var(--divider-color, #eee);
}
.sg-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Keep uniform sizing when only a single image is visible */
.sg-grid.is-single {
  grid-template-columns: minmax(
    var(--tile-w),
    var(--tile-w)
  ); /* one fixed column */
  justify-content: center; /* center the card */
}
.sg-grid.is-single .sg-item {
  max-width: var(--tile-w);
  justify-self: center;
}

/* Responsive: 2 columns on tablets, 1 column on phones */
@media (max-width: 1024px) {
  .sg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .sg-grid {
    grid-template-columns: 1fr;
  }
}

/* Optional niceties */
.sg-item:hover .sg-fig {
  transform: translateY(-2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 16px 30px rgba(244, 129, 32, 0.18);
}
/* ---------- Theme tokens (fallbacks) ---------- */
:root{
  --sai-orange: #F48120;
  --sai-accent: #BA623F;
  --text: #14171a;
  --muted:#5f6772;
  --card:#fff;
  --ring: color-mix(in srgb, var(--sai-orange) 70%, #fff);
}

/* ---------- Section wrapper ---------- */
.sai-contact-split{
  padding: clamp(28px, 6vw, 80px) 0;
  background:
    radial-gradient(60% 60% at 0% 0%, rgba(244,129,32,.10), transparent 60%),
    radial-gradient(55% 60% at 100% 100%, rgba(186,98,63,.08), transparent 60%),
    #fff;
  position: relative;
  overflow-x: hidden;                 /* stop horizontal scroll on phones */
}
.sai-contact-split .container{
  width: min(1200px, 100% - 24px);    /* safe gutters on narrow screens */
  margin-inline: auto;
}

/* ---------- Grid ---------- */
.cs-grid{
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  min-width: 0;                       /* grid children can shrink */
}

/* ---------- Left column (cards) ---------- */
.cs-heading{
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 900;
  letter-spacing:.2px;
  margin: 0 0 6px;
}
.cs-sub{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
}
.cs-cards{
  list-style:none; margin:0; padding:0;
  display:grid; gap:14px;
  min-width: 0;
}

.cs-card{
  display: grid;
  grid-template-columns: 56px 1fr;    /* lock icon column */
  gap: 14px;
  padding: clamp(14px, 2.2vw, 18px);   /* <-- fixed (was clamp14 typo) */
  background: var(--card);
  border: 1px solid rgba(20,23,26,.06);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(17,24,39,.08);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  isolation:isolate;
}
.cs-card::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: 20px;
  background:
    conic-gradient(from 180deg,
      transparent 0 30%,
      color-mix(in srgb, var(--sai-orange) 60%, transparent) 40% 60%,
      transparent 70% 100%);
  filter: blur(10px);
  opacity:0; transition: opacity .35s ease;
  z-index:-1;
}
.cs-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(17,24,39,.12);
  border-color: color-mix(in srgb, var(--sai-orange) 22%, #fff);
}
.cs-card:hover::before{ opacity:.9; }

.cs-icon{
  width: 56px; height: 56px;
  display:grid; place-items:center;
  border-radius: 14px;
  color:#fff;
  font-size: 22px;
  background: linear-gradient(145deg, var(--sai-orange), var(--sai-accent));
  box-shadow: 0 10px 18px rgba(244,129,32,.28);
  position: relative;
}
.cs-icon::after{
  content:"";
  position:absolute; inset:6px; border-radius:10px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,.55), transparent 65%);
  mix-blend-mode: soft-light;
}

.cs-title{
  margin: 2px 0 6px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  font-weight: 800;
}
.cs-text{
  margin:0; color: var(--muted); line-height:1.65;
  overflow-wrap:anywhere; word-break: break-word; /* long email/URLs */
}
.cs-text a{
  color: var(--text); text-decoration:none;
  border-bottom:1px dashed color-mix(in srgb, var(--sai-orange) 50%, transparent);
}
.cs-text a:hover{ color: var(--sai-orange); }

/* ---------- Right column (map) ---------- */
.cs-mapwrap{
  position: relative;
  border-radius: 18px;
  overflow: hidden;                   /* keep map UI inside */
  border: 1px solid rgba(20,23,26,.06);
  box-shadow: 0 14px 34px rgba(17,24,39,.10);
  background: #f6f7f9;
  aspect-ratio: 16 / 12;              /* responsive height */
  min-height: 400px;
  margin-top: 20px;
}
.cs-map{
  width: 100%;
  height: 100%;
  border: 0;
  display:block;
}
.cs-mapglow{
  position:absolute; inset:-40% -40% auto -40%;
  height: 80%;
  background: radial-gradient(40% 60% at 20% 20%, rgba(244,129,32,.15), transparent 60%);
  pointer-events:none;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 1 / 1){
  .cs-mapwrap{ height: 400px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .cs-grid{ grid-template-columns: 1fr; }
  .cs-mapwrap{ order: 2; min-height: 320px; }
}
@media (max-width: 640px){
  .sai-contact-split .container{ width: min(1200px, 100% - 18px); }
  .cs-icon{ width:48px; height:48px; border-radius:12px; }
  .cs-card{ padding: 12px; }
  .cs-mapwrap{ aspect-ratio: 4/4; min-height: 300px; }
  .cs-grid {
    display: block;}
}


.sai-blog{
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(244,129,32,.10), transparent 60%),
    radial-gradient(60% 70% at 100% 100%, rgba(186,98,63,.08), transparent 60%),
    var(--paper);
  padding: clamp(28px, 5.5vw, 80px) 0;
}

.sai-blog .container{
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.sb-hero{ margin-bottom: clamp(22px, 3vw, 34px); }
.sb-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.08em;
  font-size:.9rem; text-transform:uppercase; color:var(--sai-accent);
}
.sb-eyebrow::before{
  content:""; width:22px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--sai-orange), var(--sai-accent));
  display:inline-block;
}
.sb-title{
  font-size: clamp(1.5rem, 3.6vw, 2.0rem);
  line-height: 1.15; margin:.35rem 0 .6rem; ;
  font-weight: 600; letter-spacing:.4px;
}
.sb-lede{
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--muted);
  line-height: 1.75;
 
}

/* Article blocks */

.sb-block{ margin: clamp(18px, 3vw, 34px) 0; }




.sb-block p{
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: clamp(1rem, 1.1vw, 1.075rem);
}

/* Nice readable spacing between adjacent paragraphs */
.sb-block p + p{ margin-top: .8rem; }

/* Responsive polish */
@media (max-width: 640px){
  .sb-article{ max-width: 100%; }
  .sb-h{ margin-bottom: 10px;font-size: 18px; }
  .sb-h::before{ width:18px; height:12px; }
}

/* -------------- Unordered lists -------------- */
.sb-list{
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;              /* gap between items */
}

.sb-list li{
  position: relative;
  padding-left: 28px;     /* space for the custom bullet */
  line-height: 1.7;
  
}

.sb-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;             /* vertically centers dot against first line */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 30% 30%, #fff 45%, transparent 46%) /* glossy dot */
    ,linear-gradient(135deg, var(--sai-orange), var(--sai-accent));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sai-orange) 25%, transparent);
  transform: translateY(-50%);
}

/* Nested lists get a little tighter and smaller bullets */
.sb-list li .sb-list{
  margin-top: 6px;
  gap: 8px;
}
.sb-list li .sb-list li{ padding-left: 24px; }
.sb-list li .sb-list li::before{ width: 8px; height: 8px; }

/* -------------- Ordered lists (optional) -------------- */
/* Add class "is-ol" to <ul class="sb-list is-ol"> if you want numbered style */
.sb-list.is-ol{ counter-reset: sbnum; }
.sb-list.is-ol li{ padding-left: 32px; }
.sb-list.is-ol li::before{
  content: counter(sbnum) ".";
  counter-increment: sbnum;
  width: auto; height: auto; border-radius: 0;
  background: none; box-shadow: none;
  color: var(--sai-orange);
  font-weight: 800;
  top: 0; transform: none;
}

/* -------------- Small-screen polish -------------- */
@media (max-width: 640px){
  .sb-list li{ padding-left: 24px; }
  .sb-list li::before{ top: 0.95em; width: 9px; height: 9px; }
}





/* ===== Section Layout ===== */
  .facilities{ background: var(--secondary-color); padding: clamp(32px, 4vw, 72px) 16px; position: relative; isolation: isolate; }
  .facilities__container{ max-width: 1200px; margin: 0 auto; }
  .facilities__header{ text-align: center; margin-bottom: clamp(20px, 3vw, 40px); }
  .facilities__eyebrow{ display:inline-block; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--primary-700); background:rgba(244,129,32,.12); padding:6px 10px; border-radius:999px; }
  .facilities__title{ margin:12px 0 8px; font-size:clamp(22px, 3.2vw, 34px); color:var(--text-color); line-height:1.2; }
  .facilities__subtitle{ margin:0; color:var(--muted-text); font-size:clamp(14px, 2vw, 16px); }

  /* ===== Grid ===== */
  .facilities__grid{ --cols:1; display:grid; grid-template-columns:repeat(var(--cols), minmax(0,1fr)); gap:clamp(12px,1.8vw,20px); margin:clamp(18px,3vw,28px) 0 0; padding:0; list-style:none; }
  @media (min-width:560px){ .facilities__grid{ --cols:2; } }
  @media (min-width:900px){ .facilities__grid{ --cols:3; } }
  @media (min-width:1140px){ .facilities__grid{ --cols:4; } }

  /* ===== Card ===== */
  .facility{ position:relative; background:#fff; border-radius:18px; padding:18px 16px 16px; box-shadow:0 1px 2px rgba(0,0,0,.04), 0 10px 24px rgba(200,63,38,.06); overflow:hidden; transition:transform .25s ease, box-shadow .25s ease; outline:1px solid rgba(244,129,32,.12); }
  .facility:hover{ transform:translateY(-2px); box-shadow:0 2px 6px rgba(0,0,0,.06), 0 16px 36px rgba(200,63,38,.12); }

  .facility__accent{ position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg, rgba(244,129,32,.18), rgba(216,87,38,.12) 35%, rgba(200,63,38,.08) 70%, transparent 85%); mask:linear-gradient(#000, transparent 70%); opacity:.85; }

  /* Icon bubble (Font Awesome) */
  .facility__icon{ width:48px; height:48px; border-radius:14px; display:grid; place-items:center; color:var(--primary-700); background:radial-gradient(64% 64% at 30% 30%, rgba(244,129,32,.18), transparent 60%), rgba(244,129,32,.10); border:1px solid rgba(244,129,32,.25); margin-bottom:12px; }
  .facility__icon i{ font-size:22px; line-height:1; }

  .facility__body{ position:relative; z-index:1; }
  .facility__title{ margin:0 0 6px; font-size:16px; color:var(--text-color); line-height:1.3; }
  .facility__desc{ margin:0; font-size:13.5px; color:var(--muted-text); }

  .facility__badge{ display:inline-block; margin-top:10px; font-size:11.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; background:var(--accent-color); color:var(--accent-contrast); padding:6px 9px; border-radius:999px; box-shadow:0 6px 14px rgba(244,129,32,.25); }

  @media (prefers-reduced-motion:reduce){ .facility{ transition:none; } .facility:hover{ transform:none; } }
  
  
  
  
  /* Title */
.svc-body h3{
  margin: 0 0 6px;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.3;
  color: var(--text-color);
}

/* Link inside the title */
.svc-body h3 a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  /* larger tap target without shifting layout */
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 8px;

 
}

/* Keep visited the same as normal for consistency */
.svc-body h3 a:visited{
  color: var(--text-color);
}

/* Hover + parent card hover both trigger underline and color lift */
.svc-body h3 a:hover,
.svc-card:hover .svc-body h3 a{
  color: var(--primary-700);
  background-size: 100% 2px;
}





.doctors-filter-section {
  padding: 70px 0;
  background: var(--secondary-color);
}

/* Tabs */
.dept-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.dept-tabs::-webkit-scrollbar {
  height: 4px;
}
.dept-tabs::-webkit-scrollbar-thumb {
  background: var(--div);
}

.tab {
  background: var(--surface);
  border: 1px solid var(--div);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt);
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.tab:hover {
  background: var(--brand-gradient);
  color: var(--accent-contrast);
  border-color: transparent;
}

.tab.active {
  background: var(--brand-gradient);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-sm);
}

/* Doctors Grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.doctor-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.doctor-card.hide {
  display: none;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.doctor-img {
  height: 250px;
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doctor-info {
  padding: 22px;
  text-align: center;
}

.doctor-info h3 {
  font-size: 20px;
  color: var(--txt);
  margin-bottom: 6px;
}

.department {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
}

.designation {
  font-size: 14px;
  color: var(--muted);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Laptop / Tablet */
@media (max-width: 1200px) {
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 991px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 575px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .doctor-img {
    height: 190px;
  }

  .doctor-info {
    padding: 14px 10px;
  }

  .doctor-info h3 {
    font-size: 15px;
 
    margin-bottom: 4px;
  }

  .department {
    font-size: 12px;
  }

  .designation {
    font-size: 11px;
   
  }
}



/* ─────────────────────────────────────────
   ROOT SECTION
───────────────────────────────────────── */
.sai-docx-root {
    position: relative;
    padding: 80px 6%;
    overflow: hidden;
    background: var(--secondary-color);
}

/* background mesh */
.sai-docx-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 80% 10%, rgba(244, 129, 32, .09) 0%, transparent 65%),
        radial-gradient(ellipse 400px 400px at 10% 90%, rgba(200, 63, 38, .06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.sai-docx-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244, 129, 32, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 129, 32, .035) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ─────────────────────────────────────────
   CONTAINER
───────────────────────────────────────── */
.sai-docx-container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─────────────────────────────────────────
   PROFILE HERO CARD — always dark navy
───────────────────────────────────────── */
.sai-docx-profile {
    background: linear-gradient(130deg, #0e2236 0%, #1a3553 55%, #1f4068 100%) !important;
    border-radius: 28px;
    padding: 52px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(14, 34, 54, .4);
}

/* inner glow blobs */
.sai-docx-profile::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 129, 32, .18) 0%, transparent 65%);
    top: -120px;
    right: 160px;
    pointer-events: none;
}

.sai-docx-profile::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 63, 38, .14) 0%, transparent 65%);
    bottom: -80px;
    left: 260px;
    pointer-events: none;
}

/* ── LEFT CONTENT ── */
.sai-docx-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* badge */
.sai-docx-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 129, 32, .2);
    border: 1px solid rgba(244, 129, 32, .4);
    color: #f9b96a;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
}

.sai-docx-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: sdx-pulse 2s ease-in-out infinite;
}

@keyframes sdx-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244, 129, 32, .6); }
    50%       { box-shadow: 0 0 0 5px rgba(244, 129, 32, 0); }
}

/* name — always white */
.sai-docx-name {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* role — always primary orange */
.sai-docx-role {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color) !important;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* info meta grid */
.sai-docx-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
}

.sai-docx-info > div {
    padding: 18px 22px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    transition: background .25s;
}

.sai-docx-info > div:last-child { border-right: none; }
.sai-docx-info > div:hover      { background: rgba(255, 255, 255, .06); }

.sai-docx-info span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 6px;
}

.sai-docx-info p {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9) !important;
    line-height: 1.5;
    margin-bottom: 0;
}

/* expertise tags */
.sai-docx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.sai-docx-tags span {
    background: rgba(244, 129, 32, .15);
    border: 1px solid rgba(244, 129, 32, .35);
    color: #f9b96a;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    transition: background .25s, color .25s, border-color .25s;
    cursor: default;
}

.sai-docx-tags span:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ── RIGHT IMAGE ── */
.sai-docx-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sai-docx-photo {
    width: 220px;
    height: 280px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    border: 2px solid rgba(244, 129, 32, .35);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.sai-docx-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.sai-docx-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(180deg, rgba(42, 95, 143, .4) 0%, rgba(26, 53, 83, .8) 100%);
}

.sai-docx-photo-placeholder svg { width: 180px; }

/* decorative dashed ring */
.sai-docx-visual::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    border: 1px dashed rgba(244, 129, 32, .25);
    pointer-events: none;
}

/* ─────────────────────────────────────────
   CONTENT SECTIONS
───────────────────────────────────────── */
.sai-docx-section {
    background: var(--white-color);
    border-radius: 22px;
    padding: 44px 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--divider-color);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.sai-docx-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(244, 129, 32, .1);
}

/* top accent bar */
.sai-docx-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-700));
    border-radius: 22px 22px 0 0;
}

/* soft corner glow */
.sai-docx-section::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 129, 32, .07) 0%, transparent 70%);
    top: -60px;
    right: -40px;
    pointer-events: none;
}

.sai-docx-section h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1a3553;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sai-docx-section h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--divider-color), transparent);
    border-radius: 2px;
}

.sai-docx-section p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 16px;
}

.sai-docx-section p:last-child { margin-bottom: 0; }

/* highlight variant */
.sai-docx-highlight {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 60%);
}

/* ── EXPERTISE GRID ── */
.sai-docx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.sai-docx-grid > div {
    background: var(--secondary-color);
    border: 1.5px solid rgba(244, 129, 32, .2);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1a3553;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.sai-docx-grid > div:hover {
    background: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 129, 32, .1);
}

.sai-docx-grid > div::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 129, 32, .15);
}

/* ── EXPERIENCE LIST ── */
.sai-docx-exp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sai-docx-exp-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-color);
}

.sai-docx-exp-list li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f48120'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .sai-docx-grid { grid-template-columns: repeat(2, 1fr); }

    .sai-docx-info { grid-template-columns: 1fr; }
    .sai-docx-info > div {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    .sai-docx-info > div:last-child { border-bottom: none; }
}

@media (max-width: 860px) {
    .sai-docx-profile {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        text-align: center;
        /* photo div comes first in DOM, but we use order to control visually */
    }

    /* photo first on mobile */
    .sai-docx-visual {
        order: -1;                      /* ← moves photo ABOVE content */
        display: flex;
        justify-content: center;
    }

    .sai-docx-content { order: 1; }    /* ← content below */

    .sai-docx-profile::before,
    .sai-docx-profile::after { display: none; }

    .sai-docx-label   { margin-inline: auto; }
    .sai-docx-tags    { justify-content: center; }

    .sai-docx-photo   { width: 160px; height: 200px; }
    .sai-docx-visual::before { display: none; }

    .sai-docx-name { font-size: 32px; }

    .sai-docx-info {
        border: none;
        gap: 10px;
        background: transparent;
    }

    .sai-docx-info > div {
        border: 1px solid rgba(255, 255, 255, .15) !important;
        border-radius: 12px;
        text-align: left;
    }
}
ul.sai-docx-exp-list {
    padding-left: 0px;
}
@media (max-width: 640px) {
    .sai-docx-root    { padding: 48px 5%; }
    .sai-docx-section { padding: 28px 22px; }
    .sai-docx-grid    { grid-template-columns: 1fr; }
    .sai-docx-name    { font-size: 26px; }
    .sai-docx-section h2 { font-size: 19px; }
}

/* =============== RESPONSIVE — REPLACE YOUR EXISTING BREAKPOINTS =============== */

@media (max-width: 1100px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }

  /* Content first — no order needed since copy is first in DOM */
  .about-copy {
    order: 1;
  }

  /* Images below content */
  .about-media {
    order: 2;
    min-height: 420px;
    margin-top: 14px;
  }

  .card-lg {
    inset: 0 18% auto 0;
  }
  .card-sm.top {
    width: 46%;
  }
  .card-sm.bottom {
    width: 58%;
  }
}

@media (max-width: 620px) {
  .about-media {
    min-height: 320px;
  }

  /* Stack all images vertically on small screens */
  .media-card {
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    display: block;
  }

  .about-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: unset;
  }

  .card-lg {
    height: 220px;
  }

  .card-sm {
    height: 150px;
  }

  .card-sm.bottom {
    display: none; /* show only 2 images on very small screens */
  }

  .stat {
    min-width: 46%;
  }

  .eyebrow {
    margin-top: 0 !important;
  }
}



/* Doctor name links */
.doc-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.doc-name a:hover {
  color: var(--primary-color, #F48120);
}

/* Entire figure image clickable */
.doc-card-link {
  display: block;
  text-decoration: none;
}
.doc-card-link:hover .doc-media {
  filter: brightness(1.08);
  transition: filter 0.3s ease;
}

/* ── Meet Our Team CTA ── */
.tq-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:15px;
 
  
}

.btn-meet-team {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--primary-color, #F48120), var(--accent-color, #ba623f));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  box-shadow: 0 4px 18px rgba(244, 129, 32, 0.28);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-meet-team:hover,
.btn-meet-team:focus-visible {
  background: linear-gradient(135deg, var(--accent-color, #ba623f), var(--primary-color, #F48120));
  box-shadow: 0 6px 24px rgba(244, 129, 32, 0.42);
  transform: translateY(-2px);
  outline: none;
}

.btn-meet-team:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(244, 129, 32, 0.2);
}

.btn-meet-team i {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
  .btn-meet-team {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    margin-top:15px !important;
  }
}

/* Doctor Name Link */
.doctor-info h3 a{
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover Effect */
.doctor-info h3 a:hover{
  color: var(--primary-color);
}

/* Focus for accessibility */
.doctor-info h3 a:focus{
  outline: none;
  color: var(--primary-700);
}

/* Optional underline animation (premium effect) */
.doctor-info h3 a{
  position: relative;
}

.doctor-info h3 a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.doctor-info h3 a:hover::after{
  width: 100%;
}