/* Responsive overrides for ISIC landing (structure + tab behavior unchanged) */

.isic-mobile-sticky-cta {
  display: none;
}

.isic-header-lang-code {
  display: none;
}

.isic-testimonial-dots {
  display: none;
}

.isic-doctors-dots {
  display: none;
}

/*
 * Compact desktop / landscape tablet.
 *
 * The source layout was composed for 1512px: 64px + 900px content +
 * 16px gap + 468px form + 64px. Between 1024px and 1439px those fixed
 * columns overlap. Keep the desktop composition, but use a 340px form
 * and reserve its column in every section.
 */
@media(min-width: 1024px) and (max-width: 1560px){
  .form-card .isic-cf7-input, .form-card .wpcf7-form-control.isic-cf7-input, .form-card input.isic-cf7-input,.isic-lead-form-rail .h-\[44px\],.form-card .isic-cf7-file, .form-card input.isic-cf7-file, .form-card input[type="file"].isic-cf7-file,.form-card .isic-cf7-file-decor,.form-card .isic-cf7-file-wrap{ height: 36px;font-size: 11px;min-height: 36px; }
  .form-card .gap-\[16px\]{ gap: 10px; }
  .form-card .h-\[77px\] { height: 65px; }
  .formsubmit .content-stretch.relative.size-full { padding: 0; }
  .isic-lead-form-rail .p-\[32px\] { padding: 20px 32px; }
}
@media (min-width: 1024px) and (max-width: 1441px) {
  /*
   * Do NOT set overflow-x on body / #isic-landing here.
   * Any non-visible overflow on a sticky ancestor creates a scroll
   * container and pins the lead form to the hero instead of sticking
   * while the page scrolls (works on ≥1440 where that rule is absent).
   */
  #isic-landing,
  #isic-landing > [data-name="1.0 Landing page"] {
    max-width: 100vw;
  }

  #isic-landing [class*="w-[1512px]"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  #isic-landing [class*="px-[64px]"],
  #isic-landing [class*="px-[80px]"] {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  #isic-landing [data-name="why-choose"] > div > div,
  #isic-landing [data-name="our specialities"] [data-name="body"],
  #isic-landing [data-name="cost-of-inaction-section"] > div,
  #isic-landing [data-name="doctors"] [data-name="body"],
  #isic-landing [data-name="success stories"] > div > div,
  #isic-landing [data-name="tnc"] [data-name="Container"] {
    width: min(900px, calc(100vw - 428px)) !important;
    max-width: min(900px, calc(100vw - 428px)) !important;
    min-width: 0 !important;
  }

  #isic-landing [data-name="ticker-strip"] > div > div {
    width: min(900px, calc(100vw - 428px)) !important;
    max-width: min(900px, calc(100vw - 428px)) !important;
  }

  #isic-landing [data-name="HERO"] [data-name="copy"] {
    left: 32px !important;
    width: min(565px, calc(100vw - 428px)) !important;
  }

  /* Same sticky rail as large desktop; only nudge inset for the narrower form. */
  .isic-lead-form-rail {
    right: 32px !important;
  }

  #isic-landing [data-name="Lead form"],
  #isic-landing [data-name="form-card"] {
    width: 340px !important;
    max-width: 340px !important;
  }

  #isic-landing [data-name="form-card"] {
    padding: 24px !important;
  }

  #isic-landing [data-name="form-card"] > p {
    white-space: normal !important;
  }
  .form-card .text-\[24px\] {
    font-size: 18px;
  }
  .form-card .mb-6 {
    margin-bottom: 15px;
  }
  .form-card .text-\[13px\] {
    font-size: 12px;
  }
  .form-card .h-\[44px\] {
    height: 33px;
  }
  .form-card .isic-cf7-input, .form-card .wpcf7-form-control.isic-cf7-input, .form-card input.isic-cf7-input{ padding: 0 10px;height: 35px;font-size: 11px; }
  .form-card .gap-\[16px\] { gap: 8px; }
  .form-card .h-\[122px\],.form-card .isic-cf7-textarea, .form-card textarea.isic-cf7-textarea {
    height: 80px;
  }
  .form-card .isic-cf7-file-decor,.form-card .isic-cf7-file-wrap,.form-card .isic-cf7-file, .form-card input.isic-cf7-file, .form-card input[type="file"].isic-cf7-file {
    min-height: 33px;
  }
  .form-card .p-\[12px\] {
    padding: 5px 12px;
  }
  .form-card .isic-cf7-submit-wrap .wpcf7-submit, .form-card input.isic-cf7-submit{ padding: 10px 24px; }
  .form-card .h-\[70px\] {
    height: auto;
    min-height: 56px;
  }
  .form-card .isic-cf7-input-wrap:has(.wpcf7-not-valid-tip),
  .form-card .isic-cf7-textarea-wrap:has(.wpcf7-not-valid-tip),
  .form-card .isic-cf7-file-wrap:has(.wpcf7-not-valid-tip) {
    margin-bottom: 18px;
  }
  

  #isic-landing [data-name="tnc"] ol {
    width: 100% !important;
    max-width: 100% !important;
  }

  #isic-landing [data-name="our specialities"] [data-name="service-card"] {
    flex: 1 1 calc(33.333% - 12px);
    width: auto !important;
    min-width: 180px;
    max-width: 284px;
    /* Narrower cards wrap text more; fixed 244px clips into next section. */
    height: auto !important;
    min-height: 244px;
  }

  #isic-landing [data-name="Stats Row"] [data-name="Stat Card"] > div {
    padding: 18px !important;
  }

  /*
   * Fixed Figma heights were composed for ~900px content width.
   * At 1024–1441 the content column is narrower, so text wraps and
   * cards overflow into the following section. Grow with content only
   * in this range (mobile + large desktop unchanged).
   */
  #isic-landing [data-name="why-choose"] {
    height: auto !important;
  }

  #isic-landing [data-name="why-choose"] > div {
    height: auto !important;
  }

  #isic-landing [data-name="Stats Row"] {
    height: auto !important;
    grid-template-rows: auto auto !important;
  }

  #isic-landing [data-name="Stats Row"] > [data-name="Stat Card"] {
    height: auto !important;
    align-self: stretch;
  }

  #isic-landing [data-name="success stories"] {
    height: auto !important;
    min-height: 561px;
  }

  #isic-landing [data-name="success stories"] > div {
    height: auto !important;
  }

  #isic-landing [data-name="success stories"] .isic-testimonial-track {
    height: auto !important;
    min-height: 288px;
    align-items: stretch;
  }

  #isic-landing [data-name="success stories"] .isic-testimonial-slide > div {
    height: auto !important;
  }

  #isic-landing [data-name="cost-of-inaction-section"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  #isic-landing [data-name="our specialities"] [data-name="body"] > [data-name="Frame"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Footer: nowrap items + fixed 49px leave a cream gap / clip at 1024. */
  #isic-landing [data-name="footer"] {
    height: auto !important;
    min-height: 49px;
  }

  #isic-landing [data-name="footer"] > div,
  #isic-landing [data-name="footer"] > div > div {
    height: auto !important;
    overflow: visible;
  }

  #isic-landing [data-name="footer"] > div > div {
    flex-wrap: wrap;
    gap: 8px 24px;
    row-gap: 8px;
    align-items: center;
  }
}
@media(max-width: 1153px){
  .isic-doctors-slide .h-\[504\.89px\] {
    height: 370px;
  }
  .isic-marquee-group .size-\[40px\],.isic-marquee-group .size-\[38px\] {
    width: 26px;
    height: 26px;
  }
  .isic-marquee-group .gap-\[24px\] {
    gap: 16px;
  }
  .isic-marquee-group .gap-\[12px\] {
    gap: 8px;
  }
  .specialitiessection .size-\[70px\] {
    width: 70px;
    height: 40px;
  }
  
}

@media (max-width: 1023px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.isic-landing-page {
    padding-top: var(--isic-mobile-header-height, 0px);
    padding-bottom: calc(var(--isic-mobile-sticky-cta-height, 56px) + env(safe-area-inset-bottom, 0px) + 0px);
  }

  #isic-landing {
    overflow-x: hidden;
    width: 100%;
  }

  /* Re-order grid: hero → consultation form → rest of page */
  [data-name="1.0 Landing page"] {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  [data-name="1.0 Landing page"] > [data-name="HERO"] {
    order: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  [data-name="HERO"] {
    order: 0;
  }

  .isic-lead-form-rail {
    order: 1;
  }

  [data-name="1.0 Landing page"] > :not([data-name="HERO"]):not(.isic-lead-form-rail) {
    order: 2;
  }

  /* Fixed-width utilities */
  #isic-landing [class*="w-[1512px]"],
  #isic-landing [class*="w-[900px]"]:not(.isic-marquee-track) {
    width: 100% !important;
    max-width: 100% !important;
  }
  #isic-landing [class*="w-[884px]"],
  #isic-landing [class*="w-[682px]"],
  #isic-landing [class*="w-[565px]"],
  #isic-landing [class*="w-[542px]"],
  #isic-landing [class*="w-[468px]"],
  #isic-landing [class*="w-[341px]"],
  #isic-landing [class*="w-[284px]"],
  #isic-landing [class*="w-[193px]"],
  #isic-landing [class*="w-[min-content]"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  #isic-landing [class*="px-[64px]"],
  #isic-landing [class*="px-[80px]"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  #isic-landing .fixedheader [class*="px-[64px]"],
  #isic-landing .fixedheader [class*="px-[80px]"] {
    background: #fff;
  }


  #isic-landing [class*="py-[96px]"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #isic-landing [class*="py-[48px]"] {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* Section heights */
  #isic-landing [data-name="HERO"],
  #isic-landing [data-name="why-choose"],
  #isic-landing [data-name="at glance"],
  #isic-landing [data-name="success stories"],
  #isic-landing [data-name="Stats Row"] {
    height: auto !important;
    min-height: 0 !important;
  }

  /* ----- Hero / banner ----- */
  #isic-landing [data-name="HERO"],
  [data-name="HERO"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #b5ddff;
  }

  [data-name="HERO"] [data-name="HEADER"] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000;
    flex-shrink: 0;
    background: #fcfbe4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  [data-name="HERO"] [data-name="HEADER"].fixedheader {
    top: 0 !important;
  }

  [data-name="HERO"] [data-name="secondary-bar"] {
    display: block !important;
    height: auto !important;
  }

  [data-name="HERO"] [data-name="primary-header"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #fcfbe4;
  }

  [data-name="primary-header"] [class*="px-[64px]"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  [data-name="HERO"] [data-name="others"],
  [data-name="HERO"] [data-name="others"].homehero_banner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 430px !important;
    overflow: hidden !important;
    padding: 0 16px 20px !important;
    background: #b5ddff;
  }

  [data-name="HERO"] [data-name="others"] [data-name="BG"] {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
  }

  [data-name="HERO"] [data-name="others"] [data-name="BG"]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(181, 221, 255, 0.15) 0%,
      rgba(181, 221, 255, 0.55) 38%,
      rgba(181, 221, 255, 0.92) 68%,
      rgba(181, 221, 255, 1) 100%
    );
  }

  [data-name="HERO"] [data-name="others"] [data-name="BG"] img {
    object-fit: cover !important;
    object-position: center top !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
  }

  [data-name="HERO"] [data-name="others"] [data-name="BG"] > div:last-child {
    opacity: 0 !important;
  }

  [data-name="HERO"] [data-name="copy"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    padding: 16px 0 0 !important;
    z-index: 2;
    gap: 16px !important;
  }

  [data-name="HERO"] [data-name="copy"] > div {
    color: #00569f !important;
  }

  [data-name="HERO"] [data-name="copy"] > div > p {
    font-size: clamp(1.375rem, 6.2vw, 1.875rem) !important;
    line-height: 1.15 !important;
    color: #00569f !important;
  }

  [data-name="HERO"] [data-name="copy"] > div > p span.text-\[\#b1904d\] {
    color: #b1904d !important;
  }

  [data-name="HERO"] [data-name="copy"] > div > p span:not(.text-\[\#b1904d\]) {
    color: #00569f !important;
  }

  [data-name="HERO"] [data-name="copy"] > div > p + p {
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
    color: #00569f !important;
    opacity: 1 !important;
  }

  /* Feature pills: 2x2 on mobile */
  #isic-landing [data-name="HERO"] [data-name="copy"] > [class*="grid-cols-[repeat(2"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 10px 8px !important;
  }

  [data-name="HERO"] [data-name="copy"] [class*="grid-cols-[repeat(2"] > div {
    min-width: 0;
  }

  [data-name="HERO"] [data-name="copy"] [class*="grid-cols-[repeat(2"] [class*="gap-[16px]"] {
    gap: 8px !important;
  }

  [data-name="HERO"] [data-name="copy"] [class*="text-[#00569f]"] {
    color: #00569f !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  [data-name="HERO"] [data-name="copy"] [class*="grid-cols-[repeat(2"] [class*="p-[8px]"] {
    padding: 6px !important;
  }

  [data-name="HERO"] [data-name="copy"] [class*="grid-cols-[repeat(2"] [class*="size-[18px]"] {
    width: 14px !important;
    height: 14px !important;
  }

  /* Header — match original mobile design (3 rows) */
  [data-name="HERO"] [data-name="HEADER"],
  [data-name="HERO"] [data-name="HEADER"] > *,
  [data-name="secondary-bar"],
  [data-name="secondary-bar"] > div,
  [data-name="primary-header"],
  [data-name="primary-header"] > div {
    overflow: visible !important;
  }

  [data-name="secondary-bar"] {
    height: auto !important;
    min-height: 0 !important;
  }

  [data-name="secondary-bar"] [class*="grid-cols-[repeat(3"] {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto;
    align-items: center !important;
    gap: 6px 10px !important;
    padding: 10px 16px !important;
    width: 100% !important;
  }

  [data-name="secondary-bar"] [data-name="left-col"] {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }

  [data-name="secondary-bar"] [data-name="right-col"] {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  [data-name="secondary-bar"] [data-name="center-col"],
  [data-name="secondary-bar"] .isic-header-announcement {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 4px 0 6px;
    gap: 8px !important;
    background: #FCFBE4;
    margin: 6px 0;
  }

  [data-name="secondary-bar"] .isic-header-announcement__icon {
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
  }

  [data-name="secondary-bar"] .isic-header-announcement__text,
  [data-name="secondary-bar"] [data-name="center-col"] p {
    white-space: normal !important;
    text-align: left !important;
    text-wrap: pretty;
    font-size: 12px !important;
    line-height: 1.35 !important;
    width: auto !important;
    max-width: min(100%, 280px) !important;
    flex: 0 1 auto !important;
  }

  [data-name="secondary-bar"] [data-name="left-col"] a {
    width: 22px !important;
    height: 22px !important;
  }

  [data-name="language-selector"] {
    padding: 4px 10px !important;
    gap: 6px !important;
  }

  [data-name="language-selector"] img {
    width: 18px !important;
    height: auto !important;
  }

  .isic-header-lang-name {
    display: none !important;
  }

  .isic-header-lang-code {
    display: block !important;
  }

  [data-name="primary-header"] [class*="px-[64px]"] {
    padding: 8px 16px !important;
  }

  [data-name="primary-header"] [class*="grid-cols-[repeat(2"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }

  [data-name="primary-header"] [class*="grid-cols-[repeat(2"] > div:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 58% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 6px !important;
  }

  [data-name="primary-header"] [class*="grid-cols-[repeat(2"] > div:last-child {
    width: auto !important;
    flex: 0 0 auto !important;
    justify-self: auto !important;
  }

  [data-name="primary-header"] [class*="flex gap-[16px]"][class*="items-center"][class*="w-[193px]"] {
    width: auto !important;
    max-width: 100% !important;
    gap: 6px !important;
  }

  [data-name="primary-header"] [data-name="actual logo 1"] {
    height: 44px !important;
    width: 88px !important;
    flex-shrink: 0;
  }

  [data-name="primary-header"] [data-name="certification 1"] {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
  }

  [data-name="primary-header"] .w-0 {
    display: flex !important;
    width: 1px !important;
    min-width: 1px !important;
    flex-shrink: 0;
  }

  [data-name="Call-CTA"] {
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    gap: 6px !important;
    flex-shrink: 0;
  }

  [data-name="Call-CTA"] [data-name="shine"] {
    display: flex !important;
    flex-shrink: 0;
    width: 20px !important;
    min-width: 20px !important;
  }

  [data-name="Call-CTA"] [data-name="shine"] .isic-header-email-text {
    display: none !important;
  }

  [data-name="Call-CTA"] [class*="bg-[#009052]"] {
    width: auto;
    justify-content: center;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  [data-name="Call-CTA"] [class*="bg-[#009052]"] p {
    font-size: 12px !important;
  }

  [data-name="Call-CTA"] [class*="bg-[#009052]"] [class*="size-[20px]"] {
    width: 16px !important;
    height: 16px !important;
  }

  /* Ticker marquee */
  [data-name="ticker-strip"] {
    overflow: hidden !important;
    padding: 0 !important;
  }

  [data-name="ticker-strip"] > div {
    overflow: hidden !important;
  }

  [data-name="ticker-strip"] > div > div {
    padding: 12px 0 !important;
    overflow: hidden !important;
  }

  #isic-landing [data-name="ticker-strip"] .isic-marquee-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    gap: 32px !important;
    animation: isic-ticker-marquee 28s linear infinite;
    will-change: transform;
  }

  [data-name="ticker-strip"] .isic-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 32px;
  }

  [data-name="ticker-strip"] [data-name="Stat_Item"] p {
    white-space: nowrap !important;
  }

  @keyframes isic-ticker-marquee {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    [data-name="ticker-strip"] .isic-marquee-track {
      animation: none;
      flex-wrap: wrap !important;
      width: 100% !important;
    }
  }

  /* Lead form rail */
  .isic-lead-form-rail {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    padding: 0 16px 20px !important;
    pointer-events: auto !important;
    background: #fcfbe4;
  }

  [data-name="Lead form"] {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
  }

  [data-name="form-card"] {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    top: auto !important;
    padding: 20px !important;
    border-radius: 16px !important;
  }

  [data-name="form-card"] .whitespace-nowrap {
    white-space: normal !important;
  }

  /* Content grids — keep hero pills 2x2 via more specific rule below */
  #isic-landing [class*="grid-cols-[repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  #isic-landing [data-name="HERO"] [data-name="copy"] > [class*="grid-cols-[repeat(2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #isic-landing [class*="grid-cols-[repeat(3"]:not([data-isic-doctors-track]) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  [data-name="why-choose"] [class*="grid-cols-[repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  [data-name="our specialities"] .flex-row {
    flex-direction: column !important;
  }

  [data-name="our specialities"] [data-name="body"] {
    max-width: 100% !important;
  }

  [data-name="toggle-ui"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100%;
    max-width: 100%;
    gap: 4px !important;
    border-radius: 9999px;
    padding: 4px !important;
    background: #fff !important;
    box-sizing: border-box;
  }

  .isic-specialty-tab {
    flex: 1 1 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    min-width: 0;
    min-height: 44px;
    margin: 0 !important;
    border-radius: 9999px !important;
    padding: 10px 8px !important;
    box-sizing: border-box;
  }

  .isic-specialty-tab.is-active {
    background-color: #009052 !important;
    border: 1px solid #009052 !important;
  }

  .isic-specialty-tab:not(.is-active) {
    background-color: #fff !important;
    border: 1.5px solid #00569f !important;
  }

  .isic-specialty-tab.is-active .isic-tab-label {
    color: #fff !important;
  }

  .isic-specialty-tab:not(.is-active) .isic-tab-label {
    color: #00569f !important;
  }

  .isic-specialty-tab .isic-tab-label {
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
  }

  [data-name="our specialities"] .isic-specialty-panel:not(.isic-hidden) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  [data-name="our specialities"] .isic-specialty-panel.isic-hidden {
    display: none !important;
  }

  [data-name="our specialities"] [data-name="service-card"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: unset;
  }

  /* At a glance */
  [data-name="at glance"] {
    overflow: hidden !important;
    padding: 32px 16px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
    min-height: 420px;
  }

  [data-name="at glance"] > [data-name="image 8"] {
    width: 140% !important;
    height: 100% !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%);
  }

  [data-name="at glance"] > [data-name="image 7"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none;
    opacity: 1;
    order: 2;
    aspect-ratio: 16 / 9;
  }

  [data-name="at glance"] > [data-name="image 7"] img {
    object-fit: contain !important;
  }

  [data-name="at glance"] > .absolute.content-stretch {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 1;
    order: 1;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  [data-name="at glance"] > .absolute.content-stretch > div:first-child,
  [data-name="at glance"] > .absolute.content-stretch > [data-name="Frame"] {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0 8px;
  }

  [data-name="at glance"] > .absolute.content-stretch > .h-0 {
    width: 1px !important;
    height: auto !important;
    min-height: 72px;
    align-self: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.4);
  }

  [data-name="at glance"] > .absolute.content-stretch > .h-0 svg {
    display: none;
  }

  [data-name="at glance"] [class*="text-[48px]"] {
    font-size: 32px !important;
  }

  [data-name="at glance"] [class*="text-[18px]"] {
    font-size: 14px !important;
  }

  /* Doctors — viewport clips; track translates; 1 slide visible */
  #isic-landing [data-name="doctors"] [data-name="body"] {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  #isic-landing [data-name="doctors"] [data-isic-doctors-viewport] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    container-type: inline-size;
    container-name: isic-doctors;
  }

  #isic-landing [data-name="doctors"] [data-isic-doctors-viewport] > [data-isic-doctors-track] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: max-content;
    max-width: none;
    min-width: 0;
    overflow: visible;
    grid-template-columns: none;
    grid-template-rows: none;
    will-change: transform;
    transition: transform 0.35s ease;
  }

  #isic-landing [data-name="doctors"] [data-isic-doctors-track] > .isic-doctors-slide,
  #isic-landing [data-name="doctors"] [data-isic-doctors-track] > [data-isic-doctors-slide] {
    display: flex;
    flex-direction: row;
    flex: 0 0 100cqw;
    width: 100cqw;
    max-width: 100cqw;
    min-width: 100cqw;
    box-sizing: border-box;
    gap: 12px;
  }

  #isic-landing [data-name="doctors"] [data-name="doctor-card"] {
    width: 48%;
    max-width: 48%;
    min-width: 0;
  }

  #isic-landing [data-name="doctors"] [data-name="doctor-card"] > [data-name="Frame"] {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
  }

  #isic-landing [data-name="doctors"] [data-name="doctor-card"] > [data-name="Frame"] > div {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  #isic-landing [data-name="doctors"] [data-name="doctor-card"] img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }

  #isic-landing [data-name="doctors"] [data-name="doctor-card"] [data-name="play"] {
    width: 48px;
    height: 48px;
    z-index: 2;
  }

  #isic-landing [data-name="doctors"] .isic-doctors-dots:not([hidden]) {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  /* Section headings */
  #isic-landing [class*="text-[40px]"] {
    font-size: clamp(1.625rem, 6vw, 2.5rem) !important;
  }

  #isic-landing [class*="text-[27.216px]"] {
    font-size: 1.375rem !important;
  }

  /* Testimonials */
  [data-name="success stories"] [class*="px-[64px]"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .isic-testimonial-track {
    display: block;
    height: auto;
    overflow: hidden;
    padding-bottom: 8px;
    container-type: inline-size;
    container-name: isic-testimonials;
  }

  .isic-testimonial-track .isic-testimonial-track-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    max-width: none;
    will-change: transform;
    transition: transform 0.35s ease;
  }

  .isic-testimonial-slide {
    flex: 0 0 100cqw;
    min-width: 100cqw;
    width: 100cqw;
    max-width: 100cqw;
    box-sizing: border-box;
  }

  .isic-testimonial-slide > div {
    padding: 24px;
    min-height: 100%;
  }

  .isic-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .isic-testimonial-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 9999px;
    background: rgba(35, 31, 32, 0.25);
    padding: 0;
    cursor: pointer;
  }

  .isic-testimonial-dot.is-active {
    background: #009052;
  }

  /* Footer — scrolls with page; clear the fixed bottom CTA */
  [data-name="footer"] {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  [data-name="footer"] > div {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }

  [data-name="footer"] [class*="justify-between"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center;
    padding: 16px 16px 20px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  [data-name="footer"] .whitespace-nowrap {
    white-space: normal !important;
  }

  [data-name="footer"] [data-name="webaddress"] {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Mobile sticky bottom CTA — single action only */
  .isic-mobile-sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    height: var(--isic-mobile-sticky-cta-height, 56px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #009052;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }

  .isic-mobile-sticky-cta__button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--isic-mobile-sticky-cta-height, 56px);
    border: 0;
    background: transparent;
    color: #fff;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    padding: 12px 16px;
  }

  .isic-mobile-sticky-cta__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
}

@media(max-width: 768px){
  .isic-lead-form-rail {
    margin-top: 50px;
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  #isic-landing [data-name="HERO"] [data-name="copy"] > [class*="grid-cols-[repeat(2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  [data-name="our specialities"] .isic-specialty-panel:not(.isic-hidden) {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  [data-name="our specialities"] [class*="px-[64px]"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 480px) {
  [data-name="form-card"] {
    padding: 16px !important;
  }
}
