/* Extracted from pages/home.php inline <style> blocks (same order) so it is cached by browsers/Cloudflare. */
    /* ==================================================================
   Mobile video popup — reel-style stage, 16:9 video
   ------------------------------------------------------------------
   ADD this to the end of your stylesheet. Nothing existing needs to be
   removed, UNLESS you already have a mobile @media block touching
   .fancybox-content / .fancybox__content — in that case delete those
   rules first, or they'll fight these on specificity.

   Everything is inside a max-width media query, so desktop is untouched.

   Fancybox writes inline width/height on the content element from JS,
   which is why the sizing rules need !important. Nothing else does.

   KEEP ONE BLOCK: "v3" or "v4/v5". Check which you load — if your
   markup produces <div class="fancybox-container"> you're on v3;
   <div class="fancybox__container"> means v4 or v5.
   ================================================================== */


    /* ==================================================================
   BLOCK A — Fancybox v3  (.fancybox-* single dash)
   ================================================================== */
    .get-in-touch .clinic-img img {
        height: 340px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    @media (max-width: 781px) {

        /* the stage: full viewport, video centred in it */
        .fancybox-slide--video,
        .fancybox-slide--iframe,
        .fancybox-slide--inline {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            min-height: 100vh;
            min-height: 100svh;
            /* ignores mobile browser chrome */
        }

        /* v3 vertically centres with a ::before pseudo element — remove it
     or it adds phantom width next to the flex child */
        .fancybox-slide--video::before,
        .fancybox-slide--iframe::before,
        .fancybox-slide--inline::before {
            display: none;
        }

        /* the video frame itself: full width, locked to 16:9 */
        .fancybox-slide--video .fancybox-content,
        .fancybox-slide--iframe .fancybox-content {
            width: 100vw !important;
            max-width: 100vw !important;
            height: auto !important;
            max-height: none !important;
            aspect-ratio: 16 / 9;
            margin: 0 !important;
            padding: 0 !important;
            background: #000;
            overflow: hidden;
            border-radius: 0;
        }

        /* iframe / video element fills the frame exactly — this is what fixes
     the player sitting off-centre inside a larger black box */
        .fancybox-slide--video .fancybox-content>*,
        .fancybox-slide--iframe .fancybox-content>*,
        .fancybox-iframe {
            width: 100% !important;
            height: 100% !important;
            display: block;
            border: 0;
        }

        /* close button clear of the notch, above the stage */
        .fancybox-toolbar {
            top: env(safe-area-inset-top, 0px);
            right: 0;
            z-index: 99999;
        }

        .fancybox-button--close {
            width: 48px;
            height: 48px;
            /* comfortable tap target */
        }

        /* full-strength backdrop so page content behind can't show through */
        .fancybox-bg {
            background: #000;
            opacity: 1 !important;
        }
    }


    /* ==================================================================
   BLOCK B — Fancybox v4 / v5  (.fancybox__* double underscore)
   ================================================================== */

    @media (max-width: 781px) {

        .fancybox__container {
            --f-spacing: 0px;
            --fancybox-bg: #000;
        }

        .fancybox__slide {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            min-height: 100vh;
            min-height: 100svh;
        }

        .fancybox__content {
            width: 100vw !important;
            max-width: 100vw !important;
            height: auto !important;
            max-height: none !important;
            aspect-ratio: 16 / 9;
            margin: 0 !important;
            padding: 0 !important;
            background: #000;
            overflow: hidden;
            border-radius: 0;
        }

        .fancybox__content>iframe,
        .fancybox__content>video,
        .fancybox__html5video,
        .fancybox__iframe {
            width: 100% !important;
            height: 100% !important;
            display: block;
            border: 0;
        }

        .fancybox__toolbar {
            padding-top: env(safe-area-inset-top, 0px);
            z-index: 99999;
        }

        .fancybox__backdrop {
            background: #000;
            opacity: 1 !important;
        }
    }


    /* ==================================================================
   BLOCK C — safety net (keep this regardless of version)
   Stops the page behind the popup from scrolling or peeking through.
   ================================================================== */

    @media (max-width: 781px) {

        body.compensate-for-scrollbar,
        /* v3 adds this class */
        body.is-using-mouse {
            overflow: hidden !important;
            padding-right: 0 !important;
            /* v3's scrollbar shim shifts
                                             the page on mobile */
        }

        .fancybox-container,
        .fancybox__container {
            z-index: 99999;
            /* above sticky headers and
                                             the floating WhatsApp button */
        }
    }


    /* ------------------------------------------------------------------
   Mobile horizontal snap carousels

     .rd-oneday   .rd-oneday__cards > .rd-daycard   (one day dentistry)
     .rd-stories  .rd-story-grid    > .rd-story     (patient stories)
     .rd-service-grid              > .rd-scard      (treatments)
     .tech-grid                    > .tech-card     (technology)

   Selectors are scoped to the section class where one exists, so these
   rules outrank the desktop grid declarations. The treatment and
   technology grids weren't shown inside a named section — if they sit
   in one (e.g. .rd-services / .rd-tech), prefix those two selectors the
   same way.

   Desktop layouts are untouched; everything is inside the media query.
   No markup changes required.
   ------------------------------------------------------------------ */

    @media (max-width: 781px) {

        /* --- the scroll track ------------------------------------------- */

        .rd-oneday .rd-oneday__cards,
        .rd-stories .rd-story-grid,
        .rd-service-grid,
        .tech-grid {
            display: flex;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 16px;

            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-padding-inline: 20px;
            /* keeps snapped card off the edge */
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            /* stops swipe-back / page bounce */

            /* full-bleed: scroll runs edge to edge, content still aligns to the
       20px page gutter. Remove these two lines to keep it inside the
       parent's padding instead. */
            margin-inline: calc(50% - 50vw);
            padding-inline: max(20px, calc(50vw - 50%));

            padding-block: 4px 8px;
            /* breathing room for card shadows */

            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .rd-oneday .rd-oneday__cards::-webkit-scrollbar,
        .rd-stories .rd-story-grid::-webkit-scrollbar,
        .rd-service-grid::-webkit-scrollbar,
        .tech-grid::-webkit-scrollbar {
            display: none;
        }

        /* --- the cards --------------------------------------------------- */

        .rd-oneday .rd-oneday__cards>.rd-daycard,
        .rd-stories .rd-story-grid>.rd-story,
        .rd-service-grid>.rd-scard,
        .tech-grid>.tech-card {
            flex: 0 0 auto;
            width: 78vw;
            /* <- peek amount: lower = more of
                                            the next card shows */
            max-width: 320px;
            margin: 0;
            scroll-snap-align: start;
        }

        /* --- one day dentistry: the card is the anchor -------------------- */

        .rd-oneday .rd-oneday__cards>.rd-daycard {
            display: flex;
            flex-direction: column;
        }

        .rd-oneday .rd-oneday__cards>.rd-daycard .rd-link {
            margin-top: auto;
            /* "See Details" pinned to bottom */
        }

        /* --- patient stories --------------------------------------------- */

        .rd-stories .rd-story-grid>.rd-story {
            width: 80vw;
            /* 16:9 thumbnails need the width */
            max-width: 340px;
            display: flex;
            flex-direction: column;
        }

        .rd-stories .rd-story-grid .rd-story__body {
            display: flex;
            flex: 1;
            flex-direction: column;
        }

        .rd-stories .rd-story-grid .rd-story__foot {
            margin-top: auto;
            /* "Watch" row pinned to bottom */
        }

        /* Video titles vary a lot in length — the Hindi ones run long. Cap
     them at three lines so cards stay a consistent height:
  .rd-stories .rd-story-grid .rd-story__quote {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  */

        /* --- treatments --------------------------------------------------- */

        /* less text per card, so they read better narrower — and it cuts the
     number of swipes through a long list */
        .rd-service-grid>.rd-scard {
            width: 62vw;
            max-width: 260px;
            display: flex;
            flex-direction: column;
        }

        .rd-service-grid>.rd-scard .rd-link {
            margin-top: auto;
        }

        /* --- technology: the anchor is inside the article ----------------- */

        .tech-grid>.tech-card>a {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .tech-grid>.tech-card .tech-card__specs {
            margin-top: auto;
            /* specs pinned to the bottom */
        }

        /* --- reveal animation vs. scroll-snap ---------------------------- */

        /* once a card is in view it should sit still */
        .tech-grid>.tech-card.reveal.is-in {
            transform: none;
        }

        /* If your reveal script leaves the off-screen cards permanently
     invisible inside the scroller, uncomment this: */
        /*
  .rd-oneday .rd-oneday__cards > .rd-daycard.rd-reveal,
  .rd-stories .rd-story-grid > .rd-story.rd-reveal,
  .rd-service-grid > .rd-scard.rd-reveal,
  .tech-grid > .tech-card.reveal {
    opacity: 1;
    transform: none;
  }
  */

        /* --- optional: two-row scroller for the treatment list ------------
     19 cards in a single row is a long swipe. This stacks them two
     rows deep so the track is half as long. Swap the flex rules above
     for these by uncommenting:

  .rd-service-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62vw;
    grid-template-rows: repeat(2, auto);
    align-items: stretch;
  }

  .rd-service-grid > .rd-scard {
    width: auto;
    max-width: none;
  }
  ------------------------------------------------------------------- */
    }

    .call-action .theme-btn:hover {
        background: var(--primary-color) !important;
    }

    .tech-card__media {
        aspect-ratio: 5 / 3;
    }

    .tech-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px !important;
    }

    .tech-card__specs {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin: auto 0 0;
        padding: 10px 0 20px 0 !important;
        list-style: none;
    }

    .tech-card {
        padding: 12px 8px 0;
    }

    .hero__media {

        margin-top: 60px;
    }

    /* ------------------------------------------------------------------
   .tech-grid — horizontal snap carousel on mobile
   Desktop grid is untouched; everything lives inside the media query.
   Markup stays exactly as-is (.tech-grid > .tech-card).
   ------------------------------------------------------------------ */
    /* ------------------------------------------------------------------
   Mobile horizontal snap carousels
     .tech-grid        > .tech-card      (technology cards)
     .rd-oneday__cards > .rd-daycard     (one day dentistry cards)
     .rd-service-grid  > .rd-scard       (treatment cards)

   Desktop layouts are untouched; everything lives inside the media
   query. No markup changes required.
   ------------------------------------------------------------------ */

    @media (max-width: 781px) {

        /* --- the scroll track ------------------------------------------- */

        .tech-grid,
        .rd-oneday__cards,
        .rd-service-grid {
            display: flex;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 16px;

            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-padding-inline: 20px;
            /* keeps snapped card off the edge */
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            /* stops swipe-back / page bounce */

            /* full-bleed: scroll runs edge to edge, content still aligns to the
       20px page gutter. Remove these two lines to keep it inside the
       parent's padding instead. */
            margin-inline: calc(50% - 50vw);
            padding-inline: max(20px, calc(50vw - 50%));

            padding-block: 4px 8px;
            /* breathing room for card shadows */

            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .tech-grid::-webkit-scrollbar,
        .rd-oneday__cards::-webkit-scrollbar,
        .rd-service-grid::-webkit-scrollbar {
            display: none;
        }

        /* --- the cards --------------------------------------------------- */

        .tech-grid>.tech-card,
        .rd-oneday__cards>.rd-daycard,
        .rd-service-grid>.rd-scard {
            flex: 0 0 auto;
            width: 78vw;
            /* <- peek amount: lower = more of
                                            the next card shows */
            max-width: 320px;
            margin: 0;
            scroll-snap-align: start;
        }

        /* service cards carry less text, so they read better narrower —
     and it cuts the number of swipes through a long list */
        .rd-service-grid>.rd-scard {
            width: 62vw;
            max-width: 260px;
            display: flex;
            flex-direction: column;
        }

        .rd-service-grid>.rd-scard .rd-link {
            margin-top: auto;
            /* "See Details" pinned to bottom */
        }

        /* tech cards: the anchor is inside the article */
        .tech-grid>.tech-card>a {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .tech-grid>.tech-card .tech-card__specs {
            margin-top: auto;
            /* specs pinned to the bottom */
        }

        /* day cards: the card is the anchor */
        .rd-oneday__cards>.rd-daycard {
            display: flex;
            flex-direction: column;
        }

        .rd-oneday__cards>.rd-daycard .rd-link {
            margin-top: auto;
        }

        /* --- reveal animation vs. scroll-snap ---------------------------- */

        /* once a card is in view it should sit still */
        .tech-grid>.tech-card.reveal.is-in {
            transform: none;
        }

        /* If your reveal script leaves the off-screen cards permanently
     invisible inside the scroller, uncomment this: */
        /*
  .tech-grid > .tech-card.reveal,
  .rd-oneday__cards > .rd-daycard.rd-reveal,
  .rd-service-grid > .rd-scard.rd-reveal {
    opacity: 1;
    transform: none;
  }
  */

        /* --- optional: two-row scroller for the treatment list ------------
     19 cards in a single row is a long swipe. This stacks them two
     rows deep so the track is half as long. Swap the flex rules above
     for these by uncommenting:

  .rd-service-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62vw;
    grid-template-rows: repeat(2, auto);
    align-items: stretch;
  }

  .rd-service-grid > .rd-scard {
    width: auto;
    max-width: none;
  }
  ------------------------------------------------------------------- */
    }

    /* ------------------------------------------------------------------
   Mobile horizontal snap carousels
     .tech-grid        > .tech-card      (technology cards)
     .rd-oneday__cards > .rd-daycard     (one day dentistry cards)
     .rd-service-grid  > .rd-scard       (treatment cards)

   Desktop layouts are untouched; everything lives inside the media
   query. No markup changes required.
   ------------------------------------------------------------------ */

    @media (max-width: 781px) {

        /* --- the scroll track ------------------------------------------- */

        .tech-grid,
        .rd-oneday__cards,
        .rd-service-grid {
            display: flex;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 16px;

            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-padding-inline: 20px;
            /* keeps snapped card off the edge */
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            /* stops swipe-back / page bounce */

            /* full-bleed: scroll runs edge to edge, content still aligns to the
       20px page gutter. Remove these two lines to keep it inside the
       parent's padding instead. */
            margin-inline: calc(50% - 50vw);
            padding-inline: max(20px, calc(50vw - 50%));

            padding-block: 4px 8px;
            /* breathing room for card shadows */

            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .tech-grid::-webkit-scrollbar,
        .rd-oneday__cards::-webkit-scrollbar,
        .rd-service-grid::-webkit-scrollbar {
            display: none;
        }

        /* --- the cards --------------------------------------------------- */

        .tech-grid>.tech-card,
        .rd-oneday__cards>.rd-daycard,
        .rd-service-grid>.rd-scard {
            flex: 0 0 auto;
            width: 78vw;
            /* <- peek amount: lower = more of
                                            the next card shows */
            max-width: 320px;
            margin: 0;
            scroll-snap-align: start;
        }

        /* service cards carry less text, so they read better narrower —
     and it cuts the number of swipes through a long list */
        .rd-service-grid>.rd-scard {
            width: 62vw;
            max-width: 260px;
            display: flex;
            flex-direction: column;
        }

        .rd-service-grid>.rd-scard .rd-link {
            margin-top: auto;
            /* "See Details" pinned to bottom */
        }

        /* tech cards: the anchor is inside the article */
        .tech-grid>.tech-card>a {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .tech-grid>.tech-card .tech-card__specs {
            margin-top: auto;
            /* specs pinned to the bottom */
        }

        /* day cards: the card is the anchor */
        .rd-oneday__cards>.rd-daycard {
            display: flex;
            flex-direction: column;
        }

        .rd-oneday__cards>.rd-daycard .rd-link {
            margin-top: auto;
        }

        /* --- reveal animation vs. scroll-snap ---------------------------- */

        /* once a card is in view it should sit still */
        .tech-grid>.tech-card.reveal.is-in {
            transform: none;
        }

        /* If your reveal script leaves the off-screen cards permanently
     invisible inside the scroller, uncomment this: */
        /*
  .tech-grid > .tech-card.reveal,
  .rd-oneday__cards > .rd-daycard.rd-reveal,
  .rd-service-grid > .rd-scard.rd-reveal {
    opacity: 1;
    transform: none;
  }
  */

        /* --- optional: two-row scroller for the treatment list ------------
     19 cards in a single row is a long swipe. This stacks them two
     rows deep so the track is half as long. Swap the flex rules above
     for these by uncommenting:

  .rd-service-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62vw;
    grid-template-rows: repeat(2, auto);
    align-items: stretch;
  }

  .rd-service-grid > .rd-scard {
    width: auto;
    max-width: none;
  }
  ------------------------------------------------------------------- */
    }

    @media (max-width: 781px) {

        .rd-sec {
            padding: 40px 0;
        }

        .tech-grid {
            display: flex !important;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 16px;

            /* the scroller */
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-padding-inline: 20px;
            /* keeps snapped card off the edge */
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            /* stops swipe-back / page bounce */

            /* full-bleed: scroll runs edge to edge, content still aligns to the
       20px page gutter. Remove these two lines to keep it inside the
       parent's padding instead. */
            margin-inline: calc(50% - 50vw);
            padding-inline: max(20px, calc(50vw - 50%));

            padding-block: 4px 8px;
            /* breathing room for card shadows */

            /* hide the scrollbar */
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .tech-grid::-webkit-scrollbar {
            display: none;
        }

        .tech-grid>.tech-card {
            flex: 0 0 auto;
            width: 78vw;
            /* <- peek amount: lower = more of
                                            the next card shows */
            max-width: 320px;
            margin: 0;
            scroll-snap-align: start;
        }

        /* make cards equal height regardless of text length */
        .tech-grid>.tech-card>a {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .tech-grid>.tech-card .tech-card__specs {
            margin-top: auto;
            /* specs pinned to the bottom */
        }

        /* scroll-snap and the reveal animation fight each other; once a card
     is in view it should sit still */
        .tech-grid>.tech-card.reveal.is-in {
            transform: none;
        }
    }

    @media (max-width: 768px) {
        .expertise-grid {
            gap: 10px 10px !important;
        }

        .about-clinic .rd-eyebrow {
            width: auto !important;
        }

        .social-gallery-section .image-box {
            height: 170px;
        }

        .rd-h2 {
            font-size: 24px;
        }

        .rct-section .tech-grid {
            grid-template-columns: 1fr 1fr;
            display: grid !important;
        }

        .rct-section .rct-lower {
            display: block;
            background: none;
            box-shadow: none;
        }

        .rct-section .tech-block {
            background: none;

        }

        .rd-tip-feature h3 {
            font-size: 14px !important;
        }

        .rd-tip-feature__body {
            padding: 14px;
        }

        .exp {
            font-size: 12px !important;
            border-radius: 8px;

        }

        .hi-lang-sec .hi-lang-sec-inner .image img {
            height: 100%;
        }


        .banner-tech {
            width: 90% !important;
            left: 0 !important;
            right: 0 !important;
            background: #ffff;
            margin: auto;
            height: auto !important;

            display: grid !important;
            grid-template-columns: repeat(3, 1fr) !important;
            justify-content: center !important;
            text-align: center !important;
        }

        .tech-item {
            margin-bottom: 8px;
        }

        .tech-grid {
            grid-template-columns: 1fr;
        }

        .rd-stories {
            background: #fff;
            padding: 40px 0 !important;
        }

        .hi-lang-sec .hi-lang-sec-inner .image {
            height: 290px !important;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: .875cqw;
            height: 3cqw;
            padding: 15px 20px;
            border: .125cqw solid #e8b9c8;
            border-radius: 9999px;
            background: rgba(252, 238, 243, .55);
            font-size: 17px;
            font-weight: 600;
            letter-spacing: 0;
            color: var(--ink);
            white-space: nowrap;
            margin: auto;
            justify-content: center;
            display: flex;
            width: max-content;
        }

        .desc {
            margin-top: .2675cqw;
            font-size: 16px;
            line-height: 30px;
            font-weight: 400;
            color: var(--body);
            text-align: center;
        }

        #technology #tech-title {
            font-size: 26px;
        }

        .section--tech .wrap {
            width: 100%;
        }

        .mobile-div {
            padding: 40px 10px 20px 10px;
            background: #fff;
        }

        .title {
            margin: 10px 0;
            font-size: 22px;
            line-height: 30px;
            font-weight: 700;
            color: var(--heading);
            letter-spacing: 0;
            text-align: center;
        }

        .cta {
            position: absolute;
            bottom: 30px;
            left: 0;
            width: max-content;
            height: 60px;
            display: flex;
            align-items: center;
            /* gap: 1.25cqw; */
            padding: 20px 20px 25px 20px;
            border-radius: 10px;
            background: var(--white);
            text-decoration: none;
            box-shadow: 0 .25cqw .75cqw rgba(90, 5, 35, .14);
            font-size: 20px;
            right: 0;
            margin: auto;
            top: auto;
        }

        .cta__icon {
            width: 30px;
            height: 30px;
            flex: none;
            display: block;
            color: var(--crimson);
            margin-right: 10px;
            margin-top: 6px;
        }

        .cta__label {
            display: block;
            font-size: 16px;
            line-height: 20px;
            font-weight: 500;
            color: #3a3a3a;
            margin-bottom: 8px;
        }

        .cta__number {
            display: block;
            font-size: 14px;
            line-height: 1.75cqw;
            font-weight: 700;
            color: var(--crimson);
        }

        .mobile-banner {
            position: relative;
            background: #ad3452;
            padding-bottom: 50px;
        }

        .rd-doctor__media {
            position: relative !important;
            top: 0 !important;

        }

        .prec-banner {
            background: none;
        }

        .precision .pitch-right img {
            position: inherit;
            width: 100%;
        }

        .precision .container {
            padding: 40px 0;
            background: linear-gradient(135deg, var(--rd-dark-2) 0%, #3A1224 55%, var(--rd-primary-dark) 100%);
        }

        .prec-banner {
            padding: 20px 0;
        }

        .rd-doctor__media::before {
            display: none;
        }

        .rd-doctor__grid {
            gap: 30px;
        }

        .expertise-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            justify-content: center !important;
            text-align: center !important;
        }

        .adv-grid {
            gap: 20px;
            grid-template-columns: 1fr 1fr;
        }

        .rd-doctor .rd-btn.rd-btn--ghost {
            display: none;
        }

        .tech,
        .adv {
            background: #981d4112;
            padding: 0px;
            padding: 10px;
            border-radius: 10px;
        }

        .rd-doctor img {
            height: 350px;
        }
    }

            /* ================================
   Banner Technology Section
================================ */

            .banner-tech {
                position: absolute;
                left: 34%;
                right: 10%;
                bottom: 112px;
                height: 128px;
                padding: 14px 22px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                border-radius: 22px;
                box-shadow: 0 8px 30px rgba(40, 30, 50, 0.08);
                z-index: 5;
            }

            .tech-item {
                flex: 1;
                min-width: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                position: relative;
            }

            .tech-item:not(:last-child)::after {
                content: "";
                position: absolute;
                right: -5px;
                top: 8px;
                width: 1px;
                height: 68px;
                background: rgba(160, 160, 160, 0.18);
            }

            .tech-icon {
                width: 66px;
                height: 66px;
                border-radius: 50%;
                background: #fff;
                border: 1px solid rgba(164, 34, 71, 0.20);
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                margin-bottom: 6px;
            }

            .tech-icon img {
                width: 52px;
                height: 52px;
                object-fit: contain;
                display: block;
            }

            .tech-item span {
                display: block;
                color: #a42247;
                font-size: 12px;
                line-height: 1.2;
                font-weight: 700;
                text-transform: uppercase;
                white-space: nowrap;
                letter-spacing: 0.2px;
            }


            /* ================================
   Desktop Adjustment
================================ */

            @media (min-width: 1200px) {
                .banner-tech {
                    left: 34%;
                    right: 10%;
                    bottom: 18%;
                }
            }


            /* ================================
   Laptop
================================ */

            @media (min-width: 992px) and (max-width: 1199px) {
                .banner-tech {
                    left: 32%;
                    right: 7%;
                    bottom: 108px;
                    height: 115px;
                    padding: 10px 14px;
                }

                .tech-icon {
                    width: 58px;
                    height: 58px;
                }

                .tech-icon img {
                    width: 46px;
                    height: 46px;
                }

                .tech-item span {
                    font-size: 10px;
                }

                .tech-item:not(:last-child)::after {
                    height: 60px;
                }
            }
        

                        .rd-doctor__social a img {
                            height: 100%;
                        }
                    

    /* ==========================================================
       Tabs
       ========================================================== */
    .rd-tabs {
        --rd-tab-accent: var(--rd-primary, #0d6efd);
        --rd-tab-bg: var(--rd-surface, #f1f4f9);
        --rd-ease: cubic-bezier(.4, 0, .2, 1);
    }

    .rd-tabs__nav {
        position: relative;
        display: flex;
        width: max-content;
        max-width: 100%;
        margin: 0 auto 36px;
        padding: 6px;
        gap: 4px;
        background: var(--rd-tab-bg);
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
    }

    .rd-tabs__thumb {
        position: absolute;
        top: 6px;
        bottom: 6px;
        left: 0;
        width: 0;
        background: var(--rd-tab-accent);
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
        transition: transform .35s var(--rd-ease), width .35s var(--rd-ease);
        z-index: 0;
    }

    .rd-tabs__btn {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 130px;
        justify-content: center;
        padding: 11px 26px;
        border: 0;
        background: transparent;
        border-radius: 999px;
        font: inherit;
        font-weight: 600;
        font-size: 15px;
        color: #4a5568;
        cursor: pointer;
        transition: color .3s var(--rd-ease);
    }

    .rd-tabs__btn i {
        font-size: 19px;
    }

    .rd-tabs__btn:hover {
        color: #1a202c;
    }

    .rd-tabs__btn.is-active {
        color: #fff;
    }

    .rd-tabs__btn:focus-visible {
        outline: 2px solid var(--rd-tab-accent);
        outline-offset: 3px;
    }

    /* No-JS fallback: show an underline if the sliding thumb isn't positioned */
    .rd-tabs:not(.is-ready) .rd-tabs__btn.is-active {
        background: var(--rd-tab-accent);
    }

    .rd-tabs__panel[hidden] {
        display: none;
    }

    .rd-tabs__panel.is-active {
        animation: rdTabFade .45s var(--rd-ease);
    }

    .rd-tabs__panel:focus {
        outline: none;
    }

    @keyframes rdTabFade {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    /* ==========================================================
       Shorts scroller
       ========================================================== */
    .rd-shorts {
        position: relative;
    }

    .rd-shorts__track {
        --rd-gap: 24px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 3 * var(--rd-gap)) / 4);
        gap: var(--rd-gap);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding: 4px 2px 16px;
        scrollbar-width: none;
    }

    .rd-shorts__track::-webkit-scrollbar {
        display: none;
    }

    .rd-short {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 9 / 16;
        padding: 0;
        border: 0;
        border-radius: 18px;
        overflow: hidden;
        background: #111;
        cursor: pointer;
        scroll-snap-align: start;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
        transition: transform .35s var(--rd-ease, ease), box-shadow .35s var(--rd-ease, ease);
    }

    .rd-short img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s var(--rd-ease, ease);
    }

    .rd-short::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 35%, transparent 60%, rgba(0, 0, 0, .45) 100%);
        pointer-events: none;
    }

    .rd-short:hover,
    .rd-short:focus-visible {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
    }

    .rd-short:hover img {
        transform: scale(1.05);
    }

    .rd-short:focus-visible {
        outline: 3px solid var(--rd-primary, #0d6efd);
        outline-offset: 3px;
    }

    .rd-short .rd-play {
        position: absolute;
        left: 0%;
        z-index: 2;
    }

    .rd-short__badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(0, 0, 0, .55);
        backdrop-filter: blur(4px);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
    }

    .rd-short__badge i {
        color: #ff0033;
        font-size: 16px;
    }

    .rd-shorts__arrow {
        position: absolute;
        top: calc(50% - 8px);
        z-index: 3;
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #1a202c;
        font-size: 28px;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
        transform: translateY(-50%);
        transition: opacity .25s, background .25s, color .25s;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .rd-shorts__arrow:hover:not(:disabled) {
        background: var(--rd-primary, #0d6efd);
        color: #fff;
    }

    .rd-shorts__arrow:disabled {
        opacity: 0;
        pointer-events: none;
    }

    .rd-shorts__arrow--prev {
        left: -22px;
    }

    .rd-shorts__arrow--next {
        right: -22px;
    }

    @media (max-width: 1199px) {
        .rd-shorts__track {
            grid-auto-columns: calc((100% - 2 * var(--rd-gap)) / 3);
        }

        .rd-shorts__arrow--prev {
            left: 6px;
        }

        .rd-shorts__arrow--next {
            right: 6px;
        }
    }

    @media (max-width: 767px) {
        .rd-tabs__nav {
            margin-bottom: 26px;
        }

        .rd-tabs__btn {
            min-width: 0;
            padding: 10px 20px;
            font-size: 14px;
        }

        .rd-shorts__track {
            --rd-gap: 14px;
            grid-auto-columns: 62%;
        }

        .rd-shorts__arrow {
            display: none;
        }
    }

    /* ==========================================================
       Shorts popup player
       ========================================================== */
    .rd-short-modal {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(8, 10, 15, .85);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
    }

    .rd-short-modal.is-open {
        opacity: 1;
        visibility: visible;
    }

    .rd-short-modal__dialog {
        position: relative;
        /* Fit a 9:16 player inside the viewport on any screen */
        width: min(420px, 100%, calc((100vh - 80px) * 9 / 16));
        width: min(420px, 100%, calc((100dvh - 80px) * 9 / 16));
        transform: scale(.92);
        transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    }

    .rd-short-modal.is-open .rd-short-modal__dialog {
        transform: scale(1);
    }

    .rd-short-modal__frame {
        position: relative;
        width: 100%;
        aspect-ratio: 9 / 16;
        border-radius: 18px;
        overflow: hidden;
        background: #000;
        box-shadow: 0 25px 60px rgba(0, 0, 0, .5);
    }

    .rd-short-modal__frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .rd-short-modal__close {
        position: absolute;
        top: 0;
        right: -56px;
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #111;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
        transition: transform .25s ease, background .25s ease, color .25s ease;
    }

    .rd-short-modal__close:hover {
        transform: rotate(90deg);
        background: var(--rd-primary, #0d6efd);
        color: #fff;
    }

    .rd-short-modal__close:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
    }

    @media (max-width: 575px) {
        .rd-short-modal {
            padding: 60px 16px 20px;
        }

        .rd-short-modal__close {
            top: -52px;
            right: 0;
        }
    }

    body.rd-modal-open {
        overflow: hidden;
    }

    @media (prefers-reduced-motion: reduce) {

        .rd-tabs__thumb,
        .rd-tabs__panel.is-active,
        .rd-short,
        .rd-short img,
        .rd-short-modal,
        .rd-short-modal__dialog {
            transition: none !important;
            animation: none !important;
        }

        .rd-shorts__track {
            scroll-behavior: auto;
        }
    }

    /* ===== CEREC SECTION ===== */
    * {
        box-sizing: border-box;
    }

    .cerec-section {
        --pink: #fbe8ef;
        --accent: #a70e40;
        --navy: #142343;
        --body-text: #465067;

        width: 100%;
        padding: 36px;
        background: linear-gradient(135deg, #fff9fb, #f9eaf0);
        font-family: Arial, Helvetica, sans-serif;
        color: var(--navy);
    }

    .cerec-container {
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1.08fr;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(255, 255, 255, 0.95);
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 14px 40px rgba(114, 47, 71, 0.07);
    }

    /* ===== LEFT IMAGE ===== */
    .cerec-image {
        min-height: 550px;
        overflow: hidden;
        border-radius: 25px;
        position: relative;
    }

    .cerec-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 550px;
        object-fit: cover;
        object-position: center;
    }

    /* ===== RIGHT CONTENT ===== */
    .cerec-content {
        padding: 30px 38px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .cerec-label {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        gap: 10px;
        padding: 12px 22px;
        margin-bottom: 22px;
        border-radius: 50px;
        background: #fde8ef;
        color: var(--accent);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    .cerec-label::before {
        content: "";
        width: 18px;
        height: 2px;
        background: var(--accent);
        flex-shrink: 0;
    }

    .cerec-content h2 {
        margin: 0 0 16px;
        color: var(--navy);
        font-size: clamp(30px, 3vw, 48px);
        line-height: 1.16;
        font-weight: 750;
        letter-spacing: -1.5px;
    }

    .cerec-content h2 span {
        color: var(--accent);
    }

    .cerec-description {
        margin: 0 0 28px;
        color: var(--body-text);
        font-size: 17px;
        line-height: 1.75;
    }

    /* ===== FEATURE GRID ===== */
    .cerec-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-bottom: 28px;
    }

    .cerec-feature {
        display: flex;
        align-items: center;
        gap: 17px;
        min-width: 0;
        padding: 20px 16px;
        border: 1px solid #f5e9ed;
        border-radius: 18px;
        background: linear-gradient(135deg, #fffefe, #fff9fb);
        transition: transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
    }

    .cerec-feature:hover {
        transform: translateY(-4px);
        border-color: #efc5d3;
        box-shadow: 0 10px 24px rgba(167, 14, 64, 0.08);
    }

    .cerec-icon {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: #fde8ef;
        color: var(--accent);
    }

    .cerec-icon svg {
        width: 34px;
        height: 34px;
        display: block;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .cerec-feature h3 {
        margin: 0 0 8px;
        color: var(--navy);
        font-size: 17px;
        font-weight: 700;
        line-height: 1.35;
    }

    .cerec-feature p {
        margin: 0;
        color: var(--body-text);
        font-size: 15px;
        line-height: 1.55;
    }

    /* ===== CTA BUTTONS ===== */
    .cerec-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
    }

    .cerec-tagline {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 17px 23px;
        border-radius: 50px;
        background: linear-gradient(110deg, #970c38, #b5164b);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-align: center;
        line-height: 1.5;
    }

    .cerec-button {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 14px;
        padding: 16px 24px;
        border: 1.5px solid var(--accent);
        border-radius: 50px;
        color: var(--accent);
        background: transparent;
        text-decoration: none;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
        transition: all 0.25s ease;
    }

    .cerec-button:hover {
        background: var(--accent);
        color: #fff;
    }

    .cerec-button svg {
        width: 19px;
        height: 19px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* ===== TABLET ===== */
    @media (max-width: 1100px) {
        .cerec-section {
            padding: 24px;
        }

        .cerec-container {
            grid-template-columns: 1fr 1fr;
        }

        .cerec-image,
        .cerec-image img {
            min-height: 520px;
        }

        .cerec-content {
            padding: 30px 24px;
        }

        .cerec-label {
            font-size: 10px;
            letter-spacing: 2px;
            padding: 10px 15px;
        }

        .cerec-content h2 {
            font-size: 34px;
        }

        .cerec-description {
            font-size: 15px;
        }

        .cerec-feature {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            padding: 17px;
        }

        .cerec-icon {
            width: 54px;
            height: 54px;
            flex-basis: 54px;
        }

        .cerec-icon svg {
            width: 29px;
            height: 29px;
        }

        .cerec-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .cerec-tagline,
        .cerec-button {
            width: 100%;
        }
    }

    /* ===== MOBILE ===== */
    @media (max-width: 700px) {
        .cerec-section {
            padding: 14px;
        }

        .cerec-container {
            grid-template-columns: 1fr;
            border-radius: 22px;
        }

        .cerec-image {
            min-height: 0;
            height: 290px;
            border-radius: 18px;
        }

        .cerec-image img {
            min-height: 0;
            height: 100%;
            object-position: center;
        }

        .cerec-content {
            padding: 27px 20px 24px;
        }

        .cerec-label {
            margin-bottom: 17px;
            font-size: 9px;
            letter-spacing: 1.8px;
        }

        .cerec-content h2 {
            font-size: clamp(28px, 7vw, 38px);
            letter-spacing: -0.8px;
        }

        .cerec-description {
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 22px;
        }

        .cerec-features {
            gap: 10px;
            margin-bottom: 22px;
        }

        .cerec-feature {
            padding: 14px 12px;
            border-radius: 14px;
            gap: 11px;
        }

        .cerec-icon {
            width: 46px;
            height: 46px;
            flex-basis: 46px;
        }

        .cerec-icon svg {
            width: 25px;
            height: 25px;
        }

        .cerec-feature h3 {
            font-size: 14px;
        }

        .cerec-feature p {
            font-size: 13px;
            line-height: 1.5;
        }

        .cerec-tagline {
            font-size: 10px;
            letter-spacing: 1.3px;
            padding: 14px 12px;
        }

        .cerec-button {
            font-size: 15px;
            padding: 14px 18px;
        }
    }

    @media (max-width: 380px) {
        .cerec-features {
            grid-template-columns: 1fr;
        }

        .cerec-feature {
            flex-direction: row;
            align-items: center;
        }
    }

    .ac-right .ac-feature p {
        width: 75%;
    }

    .exp:hover {
        background-color: #a42247;
        color: #fff;
    }

    .rd-eyebrow::before {
        display: none;
    }

    .about-clinic .rd-eyebrow {
        width: max-content;
    }

    .tech-block {
        padding: 32px 0px 34px;
    }

    .callaction-inner {
        background: #555555 !important;
    }

    .callaction-inner p {
        margin: 10px 0;
    }

                                            .fancybox-caption__body {
                                                display: none;
                                            }
                                        

                                            .fancybox-caption__body {
                                                display: none;
                                            }
                                        
