:root {
    --teal: #4A9E1F;
    --teal-dark: #287A16;
    --aqua: #8FEA5B;
    --blue: #4A9E1F;
    --navy: #111111;
    --text: #222222;
    --muted: #666666;
    --light: #F2FFE9;
    --pale: #E8FFD8;
    --white: #FFFFFF;
    --border: #DDE8D6;
    --shadow: 0 20px 55px rgba(40, 122, 22, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* TOP BAR */
.topbar {
    background: var(--teal);
    color: #fff;
    font-size: 12px;
}
.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left a:hover { color: #E8FFD8; }
.topbar-right { opacity: .95; }

/* NAVBAR */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(221,232,214,.8);
    backdrop-filter: blur(12px);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(17,17,17,.08); }
.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 11px;
    font-weight: 800;
}
.brand-text strong {
    display: block;
    color: var(--navy);
    font-family: Manrope, sans-serif;
    font-size: 21px;
    line-height: 1;
    letter-spacing: .4px;
}
.brand-text small {
    display: block;
    margin-top: 4px;
    color: var(--teal);
    font-size: 8px;
    font-weight: 700;
}

.med-header-logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.med-header-logo img {
    display: block;

    width: 175px;
    height: auto;

    object-fit: contain;
}

.main-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 600; }
.main-nav > a:not(.nav-cta) {
    padding: 29px 0 26px;
    border-bottom: 3px solid transparent;
    transition: .2s ease;
}
.main-nav > a:hover,
.main-nav > a.active { color: var(--teal); border-color: var(--teal); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    transition: .2s ease;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; color: var(--navy); cursor: pointer; }

/* HERO */
.hero-section {
    position: relative;
    min-height: calc(100vh - 114px);
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 25%, rgba(143,234,91,.12), transparent 28%),
        linear-gradient(115deg, #FFFFFF 0%, #F7FFF2 52%, #EEFFDF 100%);
}
.hero-container {
    min-height: calc(100vh - 114px);
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 35px;
    position: relative;
    z-index: 2;
}
.hero-content { padding: 45px 0 75px; }
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}
.hero-content h1 {
    max-width: 650px;
    color: var(--navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}
.hero-content h1 span { color: var(--teal); display: inline; }
.hero-description {
    max-width: 650px;
    margin: 22px 0 28px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}
.hero-btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 25px rgba(74,158,31,.18); }
.hero-btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.hero-btn-secondary { border: 1.5px solid var(--teal); background: #fff; color: var(--teal); }
.hero-btn-secondary:hover { background: var(--pale); transform: translateY(-2px); }

.hero-trust {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item { display: flex; align-items: center; gap: 9px; }
.trust-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(74,158,31,.1);
    color: var(--teal);
    font-weight: 800;
}
.trust-item strong,
.trust-item span { display: block; line-height: 1.25; }
.trust-item strong { color: var(--navy); font-size: 11px; }
.trust-item span { color: var(--muted); font-size: 10px; }

/* HERO VISUAL */
.hero-media {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image-wrap {
    width: 100%;
    max-width: 610px;
    margin-left: auto;
}

.hero-image-wrap img{
    object-fit: cover;
}

/* =========================================
   HERO IMAGE
========================================= */

.hero-media {
    position: relative;
    min-height: 550px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrap {
    width: 100%;
    max-width: 610px;
    margin-left: auto;

    overflow: hidden;

    border-radius: 28px 0 0 28px;

    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

.hero-main-image {
    display: block;

    width: 100%;
    height: 455px;

    object-fit: cover;
    object-position: center;

    border-radius: 28px 0 0 28px;

    transition: transform 0.5s ease;
}

.hero-image-wrap:hover .hero-main-image {
    transform: scale(1.02);
}

.hero-floating-card {
    position: absolute;
    right: -12px;
    bottom: 65px;
    width: 215px;
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(221,232,214,.8);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.floating-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--pale);
    color: var(--teal);
    font-weight: 900;
}
.hero-floating-card strong { display: block; color: var(--navy); font-size: 12px; line-height: 1.35; }
.hero-floating-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }

.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape-one {
    width: 600px;
    height: 600px;
    right: -340px;
    bottom: -300px;
    border: 75px solid rgba(74,158,31,.12);
}
.hero-shape-two {
    width: 220px;
    height: 220px;
    left: -150px;
    top: 45%;
    border: 35px solid rgba(74,158,31,.05);
}
.hero-bottom-wave {
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -55px;
    height: 90px;
    border-radius: 50% 50% 0 0;
    background: #fff;
    z-index: 3;
}

.footer-placeholder { display: none; }

@media (max-width: 1050px) {
    .main-nav { gap: 17px; }
    .hero-container { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 48px; }
    .hero-floating-card { right: 0; }
}

@media (max-width: 820px) {
    .topbar-right { display: none; }
    .topbar-left { width: 100%; justify-content: space-between; }
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 78px;
        padding: 15px 4%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 15px 30px rgba(17,17,17,.1);
    }
    .main-nav.open { display: flex; }
    .main-nav > a:not(.nav-cta) { padding: 11px 0; border-bottom: 1px solid #E8F0E3; }
    .nav-cta { margin-top: 10px; justify-content: center; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { padding: 20px 0 15px; }
    .hero-content h1 { font-size: 43px; }
    .hero-media { min-height: 410px; padding-bottom: 55px; }
    /* .hero-image-placeholder { height: 360px; border-radius: 22px; } */
    .hero-bottom-wave { bottom: -60px; }
    .hero-main-image {
    height: 360px;
    border-radius: 22px;
}
}

@media (max-width: 520px) {
    .topbar-left span { display: none; }
    .topbar-left { gap: 10px; }
    .brand-text strong { font-size: 18px; }
    .brand-text small { font-size: 7px; }
    .hero-content h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-description { font-size: 14px; }
    .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .hero-main-image {
    height: 300px;
    border-radius: 18px;
}
    .microscope-icon { font-size: 100px; }
    .hero-floating-card { right: 8px; bottom: 35px; width: 190px; }
    .hero-media { min-height: 350px; }
}

/* =========================================
   HERO IMAGE SLIDER
========================================= */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 114px);
    min-height: 500px;
    overflow: hidden;
    background: #111111;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111111;
    line-height: 0;
}

.hero-slide .hero-image-wrap {
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    line-height: 0;
}

.hero-slide img,
.hero-slide .hero-main-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center center;
    border: 0;
    border-radius: 0;
    transform: none;
}

.hero-slide .hero-image-wrap:hover .hero-main-image {
    transform: none;
}

/* =========================================
   SLIDER ARROWS
========================================= */

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(17,17,17,.40);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: .25s ease;
}

.hero-slider-arrow:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.hero-slider-prev { left: 28px; }
.hero-slider-next { right: 28px; }

/* =========================================
   SLIDER DOTS
========================================= */

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 30px;
    background: rgba(17,17,17,.38);
}

.hero-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.60);
    cursor: pointer;
    transition: .25s ease;
}

.hero-slider-dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--teal);
}

/* =========================================
   MOBILE HERO SLIDER
========================================= */

@media (max-width: 820px) {

    .hero-slider-section,
    .hero-section:has(.hero-slider) {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    .hero-section:has(.hero-slider) .hero-shape,
    .hero-section:has(.hero-slider) .hero-bottom-wave {
        display: none !important;
    }

    .hero-slider {
        position: relative !important;
        width: 100vw !important;
        height: 88vw !important;
        min-height: 190px !important;
        max-height: 430px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #ffffff !important;
        line-height: 0 !important;
        font-size: 0 !important;
    }

    .hero-slider-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: stretch !important;
        transition: transform .6s ease-in-out !important;
    }

    .hero-slide {
        flex: 0 0 100vw !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #ffffff !important;
        line-height: 0 !important;
        font-size: 0 !important;
    }

    .hero-slide .hero-image-wrap {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        line-height: 0 !important;
    }

    .hero-slide img,
    .hero-slide .hero-main-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: cover !important;
        object-position: center center !important;
        border: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        vertical-align: top !important;
    }

    .hero-slider-arrow,
    .hero-slider-prev,
    .hero-slider-next {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: translateY(-50%) !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: rgba(0,0,0,.45) !important;
        color: #ffffff !important;
        font-size: 18px !important;
        line-height: 1 !important;
        z-index: 100 !important;
    }

    .hero-slider-prev {
        left: 8px !important;
        right: auto !important;
    }

    .hero-slider-next {
        right: 8px !important;
        left: auto !important;
    }

    .hero-slider-arrow:hover,
    .hero-slider-prev:hover,
    .hero-slider-next:hover {
        background: rgba(74,158,31,.95) !important;
    }

    .hero-slider-dots {
        left: 50% !important;
        bottom: 10px !important;
        padding: 5px 8px !important;
        gap: 5px !important;
        transform: translateX(-50%) !important;
        background: rgba(0,0,0,.30) !important;
        border-radius: 20px !important;
    }

    .hero-slider-dot {
        width: 7px !important;
        height: 7px !important;
    }

    .hero-slider-dot.active {
        width: 18px !important;
    }
}


/* =========================================
   MEDINOSTIC - SERVICES SECTION
========================================= */

.med-services {
    width: 100%;
    padding: 90px 0;
    background: #B8FF8A;
    position: relative;
    overflow: hidden;
}

.med-services-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}


/* =========================================
   SECTION HEADING
========================================= */

.med-services-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 45px;
}

.med-services-label {
    display: inline-block;
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #4A9E1F;
}

.med-services-heading h2 {
    margin: 0;
    max-width: 650px;

    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;

    color: #111111;
}

.med-services-heading h2 span {
    color: #4A9E1F;
}

.med-services-heading p {
    max-width: 650px;
    margin: 15px 0 0;

    font-size: 15px;
    line-height: 1.7;

    color: #666666;
}


/* =========================================
   VIEW ALL BUTTON
========================================= */

.med-services-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    white-space: nowrap;

    padding: 13px 20px;

    border: 1px solid #4A9E1F;
    border-radius: 7px;

    color: #4A9E1F;
    background: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.med-services-view-btn span {
    font-size: 19px;
    transition: transform 0.3s ease;
}

.med-services-view-btn:hover {
    background: #4A9E1F;
    color: #ffffff;
}

.med-services-view-btn:hover span {
    transform: translateX(4px);
}


/* =========================================
   SERVICES GRID
========================================= */

.med-services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


/* =========================================
   SERVICE CARD
========================================= */

.med-service-card {
    min-height: 235px;

    padding: 28px 22px;

    background: #ffffff;

    border: 1px solid #DDE8D6;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(17, 17, 17, 0.04);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.med-service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(8, 127, 140, 0.35);

    box-shadow: 0 15px 35px rgba(17, 17, 17, 0.10);
}





/* =========================================
   CARD CONTENT
========================================= */

.med-service-card h3 {
    margin: 0 0 10px;

    font-size: 17px;
    line-height: 1.35;

    font-weight: 700;

    color: #111111;
}

.med-service-card p {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: #666666;
}

/* =========================================
   SERVICE IMAGE
========================================= */

.med-service-image {
    width: 100%;
    height: 145px;

    margin-bottom: 22px;

    overflow: hidden;

    border-radius: 10px;

    background: #f2ffe9;
}

.med-service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: fill;

    transition: transform 0.4s ease;
}

.med-service-card:hover .med-service-image img {
    transform: scale(1.06);
}

/* =========================================
   LEARN MORE
========================================= */

.med-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: auto;
    padding-top: 18px;

    color: #4A9E1F;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.med-service-card a span {
    font-size: 17px;

    transition: transform 0.3s ease;
}

.med-service-card a:hover span {
    transform: translateX(5px);
}


/* =========================================
   BOTTOM CTA
========================================= */

.med-services-bottom {
    margin-top: 35px;

    padding: 23px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    background: #111111;

    border-radius: 12px;
}

.med-services-bottom div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.med-services-bottom strong {
    color: #ffffff;

    font-size: 17px;
}

.med-services-bottom span {
    color: #D9E8D1;

    font-size: 13px;
}

.med-services-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 20px;

    background: #4A9E1F;

    border-radius: 7px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.med-services-bottom a:hover {
    background: #8FEA5B;
}

.med-services-bottom a span {
    color: #ffffff;
    font-size: 18px;

    transition: transform 0.3s ease;
}

.med-services-bottom a:hover span {
    transform: translateX(4px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .med-services {
        padding: 75px 0;
    }

    .med-services-heading h2 {
        font-size: 32px;
    }

    .med-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================
   MOBILE / SMALL TABLET
========================================= */

@media (max-width: 750px) {

    .med-services {
        padding: 65px 0;
    }

    .med-services-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .med-services-heading h2 {
        font-size: 29px;
    }

    /* -----------------------------------------
       SERVICES HORIZONTAL MOBILE SLIDER
       Vertical page scrolling still works
    ----------------------------------------- */

    .med-services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 14px !important;

        width: 100% !important;
        max-width: 100% !important;

        overflow-x: auto !important;

        /*
         * IMPORTANT:
         * clip does NOT create a vertical scroll container.
         * This allows vertical page scrolling to continue
         * while horizontal swiping remains available.
         */
        overflow-y: clip !important;

        padding: 0 30px 8px !important;
        margin: 0 !important;

        scroll-snap-type: x mandatory;
        scroll-snap-stop: normal;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

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

        /*
         * Allow both gesture directions.
         */
        touch-action: pan-y;

        /*
         * Do not lock the page vertically when the
         * finger starts over the services slider.
         */
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
    }

    .med-services-grid::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .med-service-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        scroll-snap-align: start;

        min-height: 225px;
        margin: 0 !important;

        transform: none !important;
    }

    .med-service-card:hover {
        transform: none !important;
    }

    /* -----------------------------------------
       MOBILE SLIDER ARROWS
    ----------------------------------------- */

    .med-services-slider-controls {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        z-index: 20;

        display: flex;
        align-items: center;
        justify-content: space-between;

        transform: translateY(-50%);

        pointer-events: none;
    }

    .med-services-slider-arrow {
        pointer-events: auto;

        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;

        border: 0;
        border-radius: 50%;

        background: #4A9E1F;
        color: #ffffff;

        font-size: 18px;
        line-height: 1;

        box-shadow: 0 5px 16px rgba(0,0,0,.16);

        transition: .2s ease;
    }

    .med-services-slider-arrow:hover {
        background: #287A16;
    }

    .med-services-slider-arrow:disabled {
        opacity: .35;
        cursor: default;
        box-shadow: none;
    }

    .med-services-slider-arrow:focus-visible {
        outline: 2px solid #111111;
        outline-offset: 2px;
    }

    .med-services-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================
   MOBILE
========================================= */



@media (max-width: 500px) {

    .med-services {
        padding: 55px 0;
    }

    .med-services-heading h2 {
        font-size: 26px;
    }

    .med-services-heading p {
        font-size: 14px;
    }

    /* Keep services as the horizontal mobile slider. */
    .med-services-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: clip !important;
        touch-action: pan-y;
    }

    .med-service-card {
        min-height: auto;
    }

    .med-services-bottom {
        padding: 22px;
    }

    .med-services-bottom a {
        width: 100%;
        justify-content: center;
    }

}




/* =========================================
   SECTION 3 - ABOUT MEDINOSTIC
========================================= */

.med-about {
    width: 100%;
    padding: 100px 0;

    background: #ffffff;

    position: relative;
    overflow: hidden;
}

.med-about-container {
    width: min(1180px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 75px;
}


/* =========================================
   ABOUT IMAGE
========================================= */

.med-about-image-wrapper {
    position: relative;

    width: 100%;
}

.med-about-image {
    width: 100%;
    height: 490px;

    overflow: hidden;

    border-radius: 18px;

    background: #f2ffe9;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.10);
}

.med-about-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.med-about-image:hover img {
    transform: scale(1.04);
}


/* =========================================
   IMAGE BADGE
========================================= */

.med-about-image-badge {
    position: absolute;

    right: -25px;
    bottom: 35px;

    min-width: 190px;

    padding: 17px 20px;

    display: flex;
    align-items: center;

    gap: 12px;

    background: #4a9e1f;

    border-radius: 12px;

    box-shadow:
        0 15px 35px rgba(74, 158, 31, 0.25);
}

.med-about-badge-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #ffffff;

    color: #4a9e1f;

    font-size: 20px;
    font-weight: 800;
}

.med-about-image-badge strong {
    display: block;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.3;
}

.med-about-image-badge span:not(.med-about-badge-icon) {
    display: block;

    margin-top: 2px;

    color: #efffe8;

    font-size: 11px;
}


/* =========================================
   ABOUT CONTENT
========================================= */

.med-about-content {
    padding: 10px 0;
}

.med-about-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #4a9e1f;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}

.med-about-content h2 {
    margin: 0;

    max-width: 600px;

    color: #111111;

    font-size: 40px;
    line-height: 1.2;

    font-weight: 700;
}

.med-about-content h2 span {
    color: #4a9e1f;
}

.med-about-content p {
    margin: 17px 0 0;

    max-width: 650px;

    color: #444444;

    font-size: 15px;
    line-height: 1.75;
}

.med-about-content p strong {
    color: #4a9e1f;
}


/* =========================================
   ABOUT FEATURES
========================================= */

.med-about-features {
    margin-top: 28px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.med-about-feature {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 14px 10px;

    border-top: 2px solid #b8ff8a;
}

.med-about-feature-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f2ffe9;

    color: #4a9e1f;

    font-size: 14px;
    font-weight: 800;
}

.med-about-feature strong {
    display: block;

    color: #111111;

    font-size: 12px;

    line-height: 1.3;
}

.med-about-feature span {
    display: block;

    margin-top: 3px;

    color: #666666;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================
   ABOUT BUTTON
========================================= */

.med-about-btn {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 30px;

    padding: 13px 21px;

    background: #4a9e1f;

    border-radius: 7px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.med-about-btn span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.med-about-btn:hover {
    background: #287a16;

    transform: translateY(-2px);
}

.med-about-btn:hover span {
    transform: translateX(4px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .med-about {
        padding: 80px 0;
    }

    .med-about-container {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .med-about-image {
        height: 430px;
    }

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

    .med-about-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .med-about {
        padding: 65px 0;
    }

    .med-about-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .med-about-image {
        height: 380px;
    }

    .med-about-image-badge {
        right: 15px;
        bottom: 20px;
    }

    .med-about-content h2 {
        font-size: 30px;
    }

    .med-about-features {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .med-about {
        padding: 55px 0;
    }

    .med-about-image {
        height: 310px;
    }

    .med-about-image-badge {
        min-width: 165px;

        padding: 12px 15px;
    }

    .med-about-content h2 {
        font-size: 27px;
    }

    .med-about-content p {
        font-size: 14px;
    }

    .med-about-features {
        grid-template-columns: 1fr;
    }

    .med-about-btn {
        width: 100%;
        justify-content: center;
    }

}





/* =========================================
   SECTION 4 - WHY CHOOSE MEDINOSTIC
========================================= */

.med-why {
    width: 100%;
    padding: 100px 0;

    background: #b8ff8a;

    position: relative;
    overflow: hidden;
}

.med-why-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================
   HEADING
========================================= */

.med-why-heading {
    max-width: 760px;
    margin: 0 auto 55px;

    text-align: center;
}

.med-why-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #111111;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}

.med-why-heading h2 {
    margin: 0;

    color: #111111;

    font-size: 40px;
    line-height: 1.2;

    font-weight: 700;
}

.med-why-heading h2 span {
    color: #4a9e1f;
}

.med-why-heading p {
    max-width: 680px;

    margin: 16px auto 0;

    color: #333333;

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================
   MAIN CONTENT
========================================= */

.med-why-content {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 55px;

    align-items: center;
}


/* =========================================
   IMAGE
========================================= */

.med-why-image-wrapper {
    position: relative;
}

.med-why-image {
    width: 100%;
    height: 470px;

    overflow: hidden;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12);
}

.med-why-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.med-why-image:hover img {
    transform: scale(1.04);
}


/* =========================================
   IMAGE TAG
========================================= */

.med-why-image-tag {
    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 16px 20px;

    background: #111111;

    border-left: 4px solid #4a9e1f;

    border-radius: 8px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.med-why-image-tag span {
    display: block;

    margin-bottom: 3px;

    color: #b8ff8a;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.med-why-image-tag strong {
    display: block;

    color: #ffffff;

    font-size: 13px;
}


/* =========================================
   FEATURE CARDS
========================================= */

.med-why-features {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.med-why-card {
    position: relative;

    display: grid;

    grid-template-columns: 45px 48px 1fr;

    align-items: center;

    gap: 16px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid rgba(74, 158, 31, 0.12);

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.med-why-card:hover {
    transform: translateX(6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);
}


/* =========================================
   NUMBER
========================================= */

.med-why-number {
    color: #4a9e1f;

    font-size: 20px;

    font-weight: 800;
}


/* =========================================
   ICON
========================================= */

.med-why-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f2ffe9;

    color: #4a9e1f;

    font-size: 20px;
    font-weight: 800;

    transition: all 0.3s ease;
}

.med-why-card:hover .med-why-icon {
    background: #4a9e1f;

    color: #ffffff;
}


/* =========================================
   CARD CONTENT
========================================= */

.med-why-card-content h3 {
    margin: 0 0 7px;

    color: #111111;

    font-size: 18px;

    line-height: 1.3;
}

.med-why-card-content p {
    margin: 0;

    color: #666666;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .med-why {
        padding: 80px 0;
    }

    .med-why-heading h2 {
        font-size: 34px;
    }

    .med-why-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .med-why-image {
        height: 420px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .med-why {
        padding: 65px 0;
    }

    .med-why-heading {
        margin-bottom: 40px;
    }

    .med-why-heading h2 {
        font-size: 29px;
    }

    .med-why-heading p {
        font-size: 14px;
    }

    .med-why-image {
        height: 330px;
    }

    .med-why-card {
        grid-template-columns: 35px 42px 1fr;

        gap: 10px;

        padding: 18px;
    }

    .med-why-icon {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }

    .med-why-number {
        font-size: 16px;
    }

    .med-why-card-content h3 {
        font-size: 16px;
    }

    .med-why-card-content p {
        font-size: 12px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .med-why-card {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .med-why-number {
        font-size: 14px;
    }

    .med-why-image-tag {
        left: 15px;
        bottom: 15px;
    }

}



/* =========================================
   SECTION 5 - LOCATION & CONTACT
========================================= */

.med-contact {
    width: 100%;

    padding: 100px 0;

    background: #ffffff;
}

.med-contact-container {
    width: min(1180px, 92%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 55px;

    align-items: stretch;
}


/* =========================================
   MAP
========================================= */

.med-contact-map {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    border-radius: 18px;

    background: #f2ffe9;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);
}

.med-contact-map iframe {
    width: 100%;
    height: 100%;

    min-height: 650px;

    display: block;

    border: 0;
}


/* =========================================
   MAP LOCATION CARD
========================================= */

.med-map-location {
    position: absolute;

    left: 20px;
    bottom: 20px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);
}

.med-map-location-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 40px;

    border-radius: 50%;

    background: #f2ffe9;

    color: #4a9e1f;

    font-size: 18px;
}

.med-map-location strong {
    display: block;

    color: #111111;

    font-size: 13px;
}

.med-map-location span {
    display: block;

    margin-top: 2px;

    color: #666666;

    font-size: 11px;
}


/* =========================================
   CONTACT FORM WRAPPER
========================================= */

.med-contact-form-wrapper {
    padding: 42px 40px;

    background: #b8ff8a;

    border-radius: 18px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.med-contact-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #111111;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.med-contact-form-wrapper h2 {
    margin: 0;

    color: #111111;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;
}

.med-contact-form-wrapper h2 span {
    color: #4a9e1f;
}

.med-contact-intro {
    margin: 15px 0 27px;

    color: #333333;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   FORM
========================================= */

.med-contact-form {
    width: 100%;
}

.med-form-group {
    margin-bottom: 16px;
}

.med-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #111111;

    font-size: 12px;

    font-weight: 700;
}

.med-form-group input,
.med-form-group select,
.med-form-group textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid rgba(74, 158, 31, 0.25);

    border-radius: 7px;

    background: #ffffff;

    color: #222222;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.med-form-group input,
.med-form-group select {
    height: 46px;
}

.med-form-group textarea {
    min-height: 100px;

    resize: vertical;
}

.med-form-group input::placeholder,
.med-form-group textarea::placeholder {
    color: #999999;
}

.med-form-group input:focus,
.med-form-group select:focus,
.med-form-group textarea:focus {
    border-color: #4a9e1f;

    box-shadow:
        0 0 0 3px rgba(74, 158, 31, 0.10);
}


/* =========================================
   FORM ROW
========================================= */

.med-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.med-contact-submit {
    width: 100%;

    min-height: 48px;

    margin-top: 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 0;

    border-radius: 7px;

    background: #4a9e1f;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.med-contact-submit span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.med-contact-submit:hover {
    background: #287a16;

    transform: translateY(-2px);
}

.med-contact-submit:hover span {
    transform: translateX(4px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .med-contact {
        padding: 80px 0;
    }

    .med-contact-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .med-contact-map,
    .med-contact-map iframe {
        min-height: 450px;
    }

    .med-contact-form-wrapper {
        padding: 40px 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .med-contact {
        padding: 60px 0;
    }

    .med-contact-map,
    .med-contact-map iframe {
        min-height: 380px;
    }

    .med-contact-form-wrapper {
        padding: 32px 22px;

        border-radius: 14px;
    }

    .med-contact-form-wrapper h2 {
        font-size: 29px;
    }

    .med-contact-intro {
        font-size: 13px;
    }

    .med-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .med-map-location {
        left: 12px;
        bottom: 12px;

        right: 12px;
    }

}




/* =========================================
   SECTION 7 - FINAL CTA
========================================= */

.med-final-cta {
    width: 100%;

    padding: 70px 0;

    background: #4a9e1f;

    position: relative;

    overflow: hidden;
}


/* Decorative circles */

.med-final-cta::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -180px;
    top: -180px;

    border: 55px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;
}

.med-final-cta::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -150px;
    bottom: -180px;

    border: 45px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;
}


.med-final-cta-container {
    width: min(1180px, 92%);

    margin: 0 auto;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


/* =========================================
   CONTENT
========================================= */

.med-final-cta-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #eaffdf;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.med-final-cta-content h2 {
    max-width: 700px;

    margin: 0;

    color: #ffffff;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;
}

.med-final-cta-content h2 span {
    color: #111111;
}

.med-final-cta-content p {
    max-width: 650px;

    margin: 14px 0 0;

    color: #f2ffe9;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   BUTTONS
========================================= */

.med-final-cta-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.med-final-cta-primary,
.med-final-cta-secondary {
    min-height: 48px;

    padding: 0 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}


/* Primary */

.med-final-cta-primary {
    background: #111111;

    color: #ffffff;
}

.med-final-cta-primary span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.med-final-cta-primary:hover {
    background: #287a16;

    transform: translateY(-2px);
}

.med-final-cta-primary:hover span {
    transform: translateX(4px);
}


/* Secondary */

.med-final-cta-secondary {
    background: #ffffff;

    color: #4a9e1f;

    border: 1px solid #ffffff;
}

.med-final-cta-secondary:hover {
    background: #f2ffe9;

    transform: translateY(-2px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .med-final-cta {
        padding: 60px 0;
    }

    .med-final-cta-container {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

    .med-final-cta-content h2 {
        font-size: 34px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .med-final-cta {
        padding: 55px 0;
    }

    .med-final-cta-content h2 {
        font-size: 29px;
    }

    .med-final-cta-content p {
        font-size: 13px;
    }

    .med-final-cta-buttons {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }

    .med-final-cta-primary,
    .med-final-cta-secondary {
        width: 100%;
    }

}

/* =========================================
   SECTION 8 - FOOTER
========================================= */

.med-footer {
    width: 100%;

    background: #111111;

    color: #ffffff;
}


/* =========================================
   FOOTER MAIN
========================================= */

.med-footer-container {
    width: min(1180px, 92%);

    margin: 0 auto;

    padding: 65px 0 50px;

    display: grid;

    grid-template-columns: 1.6fr 1fr 1.2fr;

    gap: 100px;
}   


/* =========================================
   FOOTER COMPANY
========================================= */

.med-footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.med-footer-logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.med-footer-logo img {
    display: block;

    width: 190px;
    height: auto;

    object-fit: contain;
}


/* Footer description */

.med-footer-description {
    max-width: 330px;

    margin: 22px 0 0;

    color: #b8b8b8;

    font-size: 13px;

    line-height: 1.7;
}

/* =========================================
   SOCIAL
========================================= */

.med-footer-social {
    display: flex;

    align-items: center;

    gap: 9px;
}

.med-footer-social a {
    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border: 1px solid #333333;

    border-radius: 7px;

    background: transparent;

    color: #ffffff;

    font-size: 13px;

    text-decoration: none;

    transition: all 0.3s ease;
}

.med-footer-social a:hover {
    background: #4a9e1f;

    border-color: #4a9e1f;

    transform: translateY(-3px);
}


/* =========================================
   FOOTER COLUMNS
========================================= */

.med-footer-column h3 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    position: relative;

    padding-bottom: 10px;
}

.med-footer-column h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    background: #4a9e1f;
}

.med-footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.med-footer-column li {
    margin-bottom: 10px;
}

.med-footer-column li a {
    color: #aaaaaa;

    font-size: 12px;

    text-decoration: none;

    transition: all 0.2s ease;
}

.med-footer-column li a:hover {
    color: #b8ff8a;

    padding-left: 4px;
}


/* =========================================
   CONTACT
========================================= */

.med-footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.med-footer-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-bottom: 16px;

    color: #aaaaaa;

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;
}

.med-footer-contact-item:hover {
    color: #b8ff8a;
}

.med-footer-contact-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: grid;

    place-items: center;

    border-radius: 7px;

    background: rgba(74, 158, 31, 0.15);

    color: #b8ff8a;

    font-size: 12px;
}


/* =========================================
   FOOTER BOTTOM
   CENTERED
========================================= */

.med-footer-bottom {
    border-top: 1px solid #292929;
}

.med-footer-bottom-container {
    width: min(1180px, 92%);

    min-height: 65px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

    text-align: center;
}

.med-footer-bottom p {
    margin: 0;

    color: #777777;

    font-size: 11px;
}

.med-footer-legal {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}

.med-footer-legal a {
    color: #777777;

    font-size: 11px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.med-footer-legal a:hover {
    color: #b8ff8a;
}

.med-footer-legal span {
    color: #444444;

    font-size: 10px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {

    .med-footer-container {
        grid-template-columns: 1.3fr 1fr;
        gap: 45px;
    }

    .med-footer-contact {
        grid-column: span 2;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .med-footer-container {
        width: min(92%, 420px);

        padding: 38px 0 28px;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 28px 22px;

        align-items: start;
    }

    /* Company / logo stays full width on top */
    .med-footer-company {
        grid-column: 1 / -1;

        align-items: flex-start;
    }

    .med-footer-company > p {
        max-width: 100%;

        margin-top: 14px;

        font-size: 11px;

        line-height: 1.55;
    }

    .med-footer-logo img {
        width: 145px;
    }

    /* Quick Links and Contact Us sit side-by-side */
    .med-footer-column:not(.med-footer-contact) {
        grid-column: 1;

        min-width: 0;
    }

    .med-footer-contact {
        grid-column: 2;

        min-width: 0;

        align-items: flex-start;
    }

    .med-footer-column h3 {
        margin-bottom: 14px;

        padding-bottom: 7px;

        font-size: 12px;
    }

    .med-footer-column h3::after {
        width: 24px;
        height: 2px;
    }

    .med-footer-column li {
        margin-bottom: 7px;
    }

    .med-footer-column li a {
        font-size: 10px;
        line-height: 1.35;
    }

    .med-footer-contact-item {
        gap: 7px;

        margin-bottom: 10px;

        font-size: 9px;

        line-height: 1.35;

        overflow-wrap: anywhere;
    }

    .med-footer-contact-icon {
        width: 24px;
        height: 24px;

        flex: 0 0 24px;

        border-radius: 6px;

        font-size: 10px;
    }

    .med-footer-bottom-container {
        min-height: auto;

        padding: 15px 10px;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 7px;

        text-align: center;
    }

    .med-footer-bottom p,
    .med-footer-legal a {
        font-size: 9px;
    }

    .med-footer-legal {
        justify-content: center;

        text-align: center;

        gap: 7px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .med-footer-legal {
        flex-wrap: wrap;
    }

}

.med-footer-logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.med-footer-logo img {
    display: block;

    width: 190px;
    height: auto;

    object-fit: contain;
}



/* =========================================
   SECTION 6 - REVIEWS
========================================= */

.med-reviews {
    width: 100%;
    padding: 90px 0 70px;
    background: #f2ffe9;
    position: relative;
    overflow: hidden;
}

.med-reviews-container {
    width: min(1180px, 92%);
    margin: 0 auto;
    position: relative;
}

/* =========================================
   HEADING
========================================= */

.med-reviews-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.med-reviews-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.med-reviews-heading h2 {
    margin: 0;
    color: #111111;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.med-reviews-heading h2 span {
    color: #4a9e1f;
}

.med-reviews-heading p {
    max-width: 650px;
    margin: 15px auto 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================
   SLIDER
========================================= */

.med-reviews-slider {
    width: 100%;
    overflow: hidden;
}

.med-reviews-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* =========================================
   REVIEW CARD
========================================= */

.med-review-card {
    flex: 0 0 calc((100% - 44px) / 3);
    width: calc((100% - 44px) / 3);
    min-height: 300px;
    padding: 30px 28px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(74, 158, 31, 0.15);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.med-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* =========================================
   NAME + RATING
========================================= */

.med-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.med-review-header strong {
    color: #111111;
    font-size: 15px;
    font-weight: 700;
}

.med-review-stars {
    color: #4a9e1f;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.med-review-text {
    margin: 0;
    color: #444444;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================
   SIDE BUTTONS
========================================= */

.med-review-side-btn {
    position: absolute;
    top: 61%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #4a9e1f;
    border-radius: 50%;
    background: #ffffff;
    color: #4a9e1f;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.med-review-prev {
    left: -60px;
}

.med-review-next {
    right: -60px;
}

.med-review-side-btn:hover:not(:disabled) {
    background: #4a9e1f;
    color: #ffffff;
}

.med-review-prev:hover:not(:disabled) {
    transform: translateY(-50%) translateX(-3px);
}

.med-review-next:hover:not(:disabled) {
    transform: translateY(-50%) translateX(3px);
}

.med-review-side-btn:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1300px) {
    .med-review-prev { left: 5px; }
    .med-review-next { right: 5px; }
}

@media (max-width: 900px) {
    .med-reviews {
        padding: 75px 0 65px;
    }

    .med-reviews-heading h2 {
        font-size: 34px;
    }

    .med-review-card {
        flex-basis: calc((100% - 22px) / 2);
        width: calc((100% - 22px) / 2);
        min-height: 270px;
    }

    .med-review-side-btn {
        top: 61%;
        width: 44px;
        height: 44px;
    }

    .med-review-prev { left: 3px; }
    .med-review-next { right: 3px; }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .med-reviews {
        padding: 65px 0 55px;
    }

    .med-reviews-heading {
        margin-bottom: 35px;
    }

    .med-reviews-heading h2 {
        font-size: 29px;
    }

    .med-reviews-heading p {
        font-size: 13px;
    }

    .med-review-card {
        flex-basis: 100%;
        width: 100%;
        min-height: 240px;
        padding: 25px 22px;
    }

    .med-review-side-btn {
        top: 58%;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .med-review-prev { left: 3px; }
    .med-review-next { right: 3px; }
}



/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */

.med-whatsapp-float {
    position: fixed;

    right: 20px;
    bottom: 32px;

    height: 48px;

    padding: 0 20px 0 13px;

    display: flex;
    align-items: center;

    gap: 8px;

    background: #25D366;

    color: #ffffff;

    border-radius: 30px;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 16px;
    font-weight: 500;

    z-index: 99999;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* WhatsApp icon */

.med-whatsapp-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.med-whatsapp-icon svg {
    width: 28px;
    height: 28px;

    display: block;

    color: #ffffff;
}


/* Text */

.med-whatsapp-text {
    color: #ffffff;

    white-space: nowrap;

    line-height: 1;
}


/* Hover */

.med-whatsapp-float:hover {
    color: #ffffff;

    text-decoration: none;

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .med-whatsapp-float {
        right: 14px;
        bottom: 50px;

        height: 46px;

        padding: 0 17px 0 11px;

        font-size: 14px;
    }

    .med-whatsapp-icon {
        width: 28px;
        height: 28px;
    }

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

}


/* =========================================================
   HERO IMAGE SLIDER - HORIZONTAL FIX
========================================================= */

.hero-slider {
    position: relative;
    width: 100vw;
    height: calc(100vh - 114px);
    min-height: 550px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slider-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    max-width: 100vw !important;

    height: 100%;
    min-height: 550px;

    margin: 0 !important;
    padding: 0 !important;

    position: relative;
    overflow: hidden;
}

/* IMPORTANT:
   Override the old .hero-image-wrap width/max-width rules
*/
.hero-slide .hero-image-wrap {
    width: 100% !important;
    max-width: none !important;

    height: 100% !important;
    min-height: 550px;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    overflow: hidden;
}

/* Slider images */
.hero-slide img,
.hero-slide .hero-main-image {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    transform: none !important;
}

/* Remove old hero effects */
.hero-slide .hero-image-wrap:hover .hero-main-image {
    transform: none !important;
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.hero-slider-prev,
.hero-slider-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;

    background: rgba(0,0,0,.35);
    color: #fff;

    font-size: 24px;

    cursor: pointer;

    transition: .25s ease;
}

.hero-slider-prev {
    left: 25px;
}

.hero-slider-next {
    right: 25px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(74,158,31,.9);
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.hero-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    z-index: 20;

    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slider-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.55);

    cursor: pointer;

    transition: .25s ease;
}

.hero-slider-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #4a9e1f;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {

    .hero-slider {
        width: 100vw;
        height: calc(100vh - 78px);
        min-height: 420px;
    }

    .hero-slide {
        flex: 0 0 100vw !important;
        width: 100vw !important;
        min-height: 420px;
    }

    .hero-slide .hero-image-wrap {
        min-height: 420px;
    }

    .hero-slide img,
    .hero-slide .hero-main-image {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .hero-slider-prev,
    .hero-slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .hero-slider-prev {
        left: 12px;
    }

    .hero-slider-next {
        right: 12px;
    }

}



/* =========================================================
   BLOGS - HOMEPAGE / PUBLIC PAGES
========================================================= */
/* =========================================================
   MEDINOSTIC BLOGS - PUBLIC WEBSITE
========================================================= */
.public-blog-page { background:#fff; }
.public-blog-hero { padding:90px 0 70px; background:linear-gradient(115deg,#fff 0%,#f7fff2 52%,#eeffdf 100%); }
.public-blog-label { display:inline-block; margin-bottom:12px; color:#4a9e1f; font-size:12px; font-weight:800; letter-spacing:2px; }
.public-blog-hero h1 { max-width:820px; color:#111; font-size:clamp(38px,5vw,58px); line-height:1.08; }
.public-blog-hero h1 span { color:#4a9e1f; }
.public-blog-hero p { max-width:720px; margin-top:18px; color:#666; font-size:15px; line-height:1.8; }
.public-blog-list-section { padding:5px 0 50px; }
.public-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.public-blog-card { overflow:hidden; background:#fff; border:1px solid #dde8d6; border-radius:16px; box-shadow:0 10px 30px rgba(17,17,17,.06); transition:transform .25s ease, box-shadow .25s ease; }
.public-blog-card:hover { transform:translateY(-5px); box-shadow:0 18px 40px rgba(17,17,17,.10); }
.public-blog-image-wrap { display:block; height:220px; overflow:hidden; background:#f2ffe9; }
.public-blog-image-wrap img { width:100%; height:100%; display:block; object-fit:fill; transition:transform .4s ease; }
.public-blog-card:hover .public-blog-image-wrap img { transform:scale(1.04); }
.public-blog-image-placeholder { width:100%; height:100%; display:grid; place-items:center; color:#4a9e1f; font-size:14px; font-weight:800; letter-spacing:2px; background:#f2ffe9; }
.public-blog-card-body { padding:22px; }
.public-blog-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:11px; color:#4a9e1f; font-size:11px; font-weight:700; }
.public-blog-meta span + span { padding-left:10px; border-left:1px solid #cfe2c7; color:#777; font-weight:600; }
.public-blog-card h2 { font-size:21px; line-height:1.3; color:#111; }
.public-blog-card h2 a:hover { color:#4a9e1f; }
.public-blog-card p { margin:11px 0 18px; color:#666; font-size:13px; line-height:1.7; }
.public-blog-read-btn,
.public-blog-contact-btn { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 15px; border-radius:7px; font-size:12px; font-weight:700; text-decoration:none; }
.public-blog-read-btn { background:#4a9e1f; color:#fff; }
.public-blog-read-btn span { font-size:17px; }
.public-blog-read-btn:hover { background:#287a16; }
.public-blog-contact-btn { border:1px solid #4a9e1f; color:#4a9e1f; background:#fff; }
.public-blog-contact-btn:hover { background:#f2ffe9; }
.public-blog-empty { padding:100px 20px; text-align:center; }
.public-blog-empty h1,
.public-blog-empty h2 { color:#111; margin-bottom:10px; }
.public-blog-empty p { color:#666; margin-bottom:20px; }
.public-blog-detail { padding:65px 0 95px; }
.public-blog-detail-container { max-width:920px; }
.public-blog-back { display:inline-block; margin-bottom:25px; color:#4a9e1f; font-size:13px; font-weight:700; }
.public-blog-detail-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:13px; color:#777; font-size:12px; }
.public-blog-detail-meta span:first-child { color:#4a9e1f; font-weight:800; }
.public-blog-detail h1 { color:#111; font-size:clamp(34px,4vw,52px); line-height:1.12; }
.public-blog-detail-excerpt { max-width:800px; margin:18px 0 28px; color:#666; font-size:16px; line-height:1.8; }
.public-blog-detail-image { overflow:hidden; border-radius:16px; margin:0 0 35px; background:#f2ffe9; }
.public-blog-detail-image img { width:100%; max-height:560px; display:block; object-fit:cover; }
.public-blog-detail-content { color:#333; font-size:16px; line-height:1.9; white-space:normal; }
.public-blog-detail-content img{ width:100%; max-height:450px; display:block; object-fit:cover; }
.public-blog-detail-content br + br { line-height:2; }
.public-blog-detail-footer { display:flex; flex-wrap:wrap; gap:10px; margin-top:38px; padding-top:25px; border-top:1px solid #e7ede4; }
@media (max-width: 900px) { .public-blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
    .public-blog-hero { padding:65px 0 50px; }
    .public-blog-list-section { padding:55px 0; }
    .public-blog-grid { grid-template-columns:1fr; }
    .public-blog-image-wrap { height:210px; }
    .public-blog-detail { padding:45px 0 70px; }
    .public-blog-detail h1 { font-size:32px; }
    .public-blog-detail-excerpt { font-size:14px; }
    .public-blog-detail-content { font-size:14px; line-height:1.8; }
}


/* Homepage blog section */
.med-blog-section { width:100%; padding:90px 0; background:#fff; position:relative; overflow:hidden; }
.med-blog-container { width:min(1180px,92%); margin:0 auto; }
.med-blog-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:45px; }
.med-blog-label { display:inline-block; margin-bottom:12px; color:#4a9e1f; font-size:12px; font-weight:800; letter-spacing:2px; }
.med-blog-heading h2 { margin:0; max-width:650px; color:#111; font-size:38px; line-height:1.2; }
.med-blog-heading h2 span { color:#4a9e1f; }
.med-blog-heading p { max-width:650px; margin:15px 0 0; color:#666; font-size:14px; line-height:1.7; }
.med-blog-view-all { display:inline-flex; align-items:center; gap:9px; padding:12px 18px; border:1px solid #4a9e1f; border-radius:7px; color:#4a9e1f; background:#fff; font-size:13px; font-weight:700; white-space:nowrap; }
.med-blog-view-all:hover { background:#4a9e1f; color:#fff; }
.med-blog-view-all span { font-size:17px; }
.med-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.med-blog-card { overflow:hidden; background:#fff; border:1px solid #dde8d6; border-radius:14px; box-shadow:0 8px 25px rgba(17,17,17,.05); transition:transform .25s ease,box-shadow .25s ease; }
.med-blog-card:hover { transform:translateY(-5px); box-shadow:0 15px 35px rgba(17,17,17,.09); }
.med-blog-image { display:block; height:220px; overflow:hidden; background:#f2ffe9; }
.med-blog-image img { width:100%; height:100%; display:block; object-fit:fill; transition:transform .4s ease; }
.med-blog-card:hover .med-blog-image img { transform:scale(1.04); }
.med-blog-image-placeholder { width:100%; height:100%; display:grid; place-items:center; color:#4a9e1f; font-size:13px; font-weight:800; letter-spacing:2px; background:#f2ffe9; }
.med-blog-card-content { padding:22px; }
.med-blog-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:11px; font-size:11px; font-weight:700; color:#4a9e1f; }
.med-blog-meta span + span { padding-left:10px; border-left:1px solid #cfe2c7; color:#777; }
.med-blog-card h3 { margin:0; color:#111; font-size:20px; line-height:1.35; }
.med-blog-card h3 a:hover { color:#4a9e1f; }
.med-blog-card p { margin:10px 0 17px; color:#666; font-size:13px; line-height:1.7; }
.med-blog-read-more { display:inline-flex; align-items:center; gap:7px; color:#4a9e1f; font-size:12px; font-weight:800; }
.med-blog-read-more span { font-size:17px; }
.med-blog-read-more:hover { color:#287a16; }
@media (max-width:900px) { .med-blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) { .med-blog-section { padding:65px 0; } .med-blog-heading { flex-direction:column; align-items:flex-start; gap:20px; } .med-blog-heading h2 { font-size:29px; } .med-blog-grid { grid-template-columns:1fr; } .med-blog-image { height:210px; } }


/* ==========================================
   IMAGES INSIDE BLOG ARTICLE
========================================== */

.blog-article-content img {
    display: block;

    width: auto !important;
    max-width: 700px !important;

    height: auto !important;

    margin: 28px auto;

    border-radius: 8px;
}


/* MOBILE */
@media (max-width: 768px) {

    .blog-article-content img {
        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;

        margin: 20px auto;
    }

}

/* ==========================================
   BLOG ARTICLE - ALIGNMENT & IMAGES
========================================== */

/* Make article content use the available width */
.blog-article-content {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box;
}


/* Images inside the article */
.blog-article-content img {
    display: block !important;

    width: auto !important;
    max-width: 650px !important;

    height: auto !important;
    max-height: 350px !important;

    margin: 20px 0 !important;

    object-fit: contain !important;

    border-radius: 8px;

}


/* Mobile */
@media (max-width: 768px) {

    .blog-article-content {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .blog-article-content img {
        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: none !important;

        margin: 18px 0 !important;
    }

}

/* =========================================
   MOBILE SERVICES CAROUSEL
   Desktop layout remains unchanged.
========================================= */

.med-services-slider-wrap {
    position: relative;
    width: 100%;
}

.med-services-slider-controls { display: none; }

.med-services-slider-arrow {
    border: 0;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

@media (max-width: 750px) {

    .med-services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 30px 8px !important;
        margin: 0 !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
    }

    .med-services-grid::-webkit-scrollbar { display: none; }

    .med-service-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-height: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    .med-service-card:hover { transform: none !important; }

    .med-services-slider-controls {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .med-services-slider-arrow {
        pointer-events: auto;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        background: #4A9E1F;
        color: #ffffff;
        font-size: 18px;
        line-height: 1;
        box-shadow: 0 5px 16px rgba(0,0,0,.16);
        transition: .2s ease;
    }

    .med-services-slider-arrow:hover { background: #287A16; }

    .med-services-slider-arrow:disabled {
        opacity: .35;
        cursor: default;
        box-shadow: none;
    }

    .med-services-slider-arrow:focus-visible {
        outline: 2px solid #111111;
        outline-offset: 2px;
    }
}

@media (max-width: 500px) {
    .med-services-slider-arrow {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        font-size: 17px;
    }

    .med-service-card {
        padding: 18px 16px !important;
        border-radius: 10px;
    }
}




/* =========================================================
   LEGAL PAGES
   PRIVACY POLICY / TERMS & CONDITIONS
========================================================= */

.legal-page {
    background: #f8faf7;
    min-height: 100vh;
}


/* =========================================================
   LEGAL HERO
========================================================= */

.legal-hero {
    background: #f3ffe9;

    padding: 65px 0 55px;

    border-bottom: 1px solid #e3ecd9;
}

.legal-container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.legal-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #4a9e1f;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;

    color: #111111;

    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.1;

    font-weight: 700;
}

.legal-hero h1 span {
    color: #4a9e1f;
}

.legal-hero p {
    max-width: 720px;

    margin: 18px 0 0;

    color: #596255;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   CONTENT AREA
========================================================= */

.legal-content-section {
    padding: 45px 0 8px;
}

.legal-content {
    width: min(1000px, 100%);

    margin: 0 10px;

    padding: 42px 50px;

    background: #ffffff;

    border: 1px solid #e3e8df;

    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   LAST UPDATED
========================================================= */

.legal-updated {
    display: inline-block;

    margin: 0 0 28px;

    padding: 8px 13px;

    background: #f1faeb;

    border-radius: 6px;

    color: #4a9e1f;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   HEADINGS
========================================================= */

.legal-content h2 {
    margin: 34px 0 12px;

    color: #151515;

    font-size: 21px;
    line-height: 1.35;

    font-weight: 700;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.legal-content p {
    margin: 0 0 15px;

    color: #555d54;

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   LISTS
========================================================= */

.legal-content ul {
    margin: 8px 0 20px;

    padding-left: 22px;
}

.legal-content li {
    margin-bottom: 7px;

    color: #555d54;

    font-size: 15px;
    line-height: 1.7;
}

.legal-content li::marker {
    color: #4a9e1f;
}


/* =========================================================
   LINKS
========================================================= */

.legal-content a {
    color: #4a9e1f;

    font-weight: 600;

    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}


/* =========================================================
   CONTACT BOX
========================================================= */

.legal-contact-box {
    margin-top: 38px;

    padding: 22px 24px;

    background: #f5fbed;

    border: 1px solid #dcebd3;

    border-left: 4px solid #4a9e1f;

    border-radius: 9px;
}

.legal-contact-box strong {
    display: block;

    margin-bottom: 10px;

    color: #111111;

    font-size: 17px;
}

.legal-contact-box p {
    margin-bottom: 6px;

    font-size: 14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .legal-hero {
        padding: 45px 0 38px;
    }

    .legal-container {
        width: 90%;
    }

    .legal-eyebrow {
        margin-bottom: 9px;

        font-size: 10px;

        letter-spacing: 1.5px;
    }

    .legal-hero h1 {
        font-size: 34px;
    }

    .legal-hero p {
        margin-top: 14px;

        font-size: 13px;

        line-height: 1.65;
    }


    .legal-content-section {
        padding: 25px 0 50px;
    }

    .legal-content {
        width: 100%;

        padding: 28px 22px;

        border-radius: 10px;
    }


    .legal-updated {
        margin-bottom: 24px;

        padding: 7px 10px;

        font-size: 10px;
    }


    .legal-content h2 {
        margin: 27px 0 10px;

        font-size: 18px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 13px;

        line-height: 1.7;
    }

    .legal-content ul {
        padding-left: 19px;
    }


    .legal-contact-box {
        margin-top: 28px;

        padding: 18px;
    }

    .legal-contact-box strong {
        font-size: 15px;
    }

    .legal-contact-box p {
        font-size: 12px;
    }

}

/* =========================================================
   RECENTLY ADDED BLOGS
========================================================= */

.public-blog-recent {
    margin-top: 65px;

    padding-top: 45px;

    border-top: 1px solid #e5ebe1;
}

.public-blog-recent-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 28px;
}

.public-blog-recent-label {
    display: block;

    margin-bottom: 8px;

    color: #4a9e1f;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.public-blog-recent-heading h2 {
    margin: 0;

    color: #111111;

    font-size: 30px;

    line-height: 1.2;
}

.public-blog-recent-heading h2 span {
    color: #4a9e1f;
}

.public-blog-recent-view-all {
    flex-shrink: 0;

    color: #4a9e1f;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}

.public-blog-recent-view-all:hover {
    text-decoration: underline;
}


/* =========================================================
   RECENT BLOG GRID
========================================================= */

.public-blog-recent-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   CARD
========================================================= */

.public-blog-recent-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe9da;

    border-radius: 12px;

    box-shadow:
        0 7px 22px rgba(17, 17, 17, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.public-blog-recent-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 13px 30px rgba(17, 17, 17, 0.09);
}


/* =========================================================
   IMAGE
========================================================= */

.public-blog-recent-image {
    display: block;

    width: 100%;

    height: 175px;

    overflow: hidden;

    background: #f2ffe9;
}

.public-blog-recent-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}

.public-blog-recent-card:hover
.public-blog-recent-image img {
    transform: scale(1.04);
}

.public-blog-recent-placeholder {
    display: grid;

    place-items: center;

    width: 100%;
    height: 100%;

    color: #4a9e1f;

    background: #f2ffe9;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.public-blog-recent-body {
    padding: 18px;
}

.public-blog-recent-date {
    display: block;

    margin-bottom: 8px;

    color: #4a9e1f;

    font-size: 10px;

    font-weight: 700;
}

.public-blog-recent-body h3 {
    margin: 0 0 9px;

    font-size: 17px;

    line-height: 1.35;
}

.public-blog-recent-body h3 a {
    color: #111111;

    text-decoration: none;
}

.public-blog-recent-body h3 a:hover {
    color: #4a9e1f;
}

.public-blog-recent-body p {
    margin: 0 0 14px;

    color: #666666;

    font-size: 12px;

    line-height: 1.65;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.public-blog-recent-read {
    color: #4a9e1f;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;
}

.public-blog-recent-read:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .public-blog-recent-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .public-blog-recent {
        margin-top: 45px;

        padding-top: 30px;
    }

    .public-blog-recent-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .public-blog-recent-heading h2 {
        font-size: 25px;
    }

    .public-blog-recent-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .public-blog-recent-image {
        height: 190px;
    }

}
/* =========================================================
   FINAL MOBILE SERVICES FIX
   IMPORTANT: DO NOT USE overflow-x:auto on the cards.
   That is what was blocking vertical page scrolling.
========================================================= */

@media (max-width: 750px) {

    .med-services-slider-wrap {
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
        touch-action: pan-y !important;
    }

    .med-services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        max-width: 100% !important;

        /* NO horizontal scroll container */
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;

        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;

        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: auto !important;
        overscroll-behavior: auto !important;

        /* Vertical finger movement belongs to the page */
        touch-action: pan-y !important;

        will-change: transform;
    }

    .med-service-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;

        touch-action: pan-y !important;
    }

    .med-services-slider-controls {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 50 !important;

        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;

        padding: 0 4px !important;
        pointer-events: none !important;
    }

    .med-services-slider-arrow {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 51 !important;
    }
}
