/********** Template CSS **********/
:root {
    --primary: #2F4696;
    --secondary: #232762;
    --light: #F3F6FB;
    --dark: #1B2154;
    --primary-rgb: 47, 70, 150;
    --primary-hover: #232762;
    --primary-soft: #E7ECFB;
    --secondary-rgb: 35, 39, 98;
    --dark-rgb: 27, 33, 84;
    --sand: #FFF9F1;
    --surface: #FFFFFF;
    --surface-muted: #F7F9FD;
    --line: rgba(27, 33, 84, .08);
    --shadow-soft: 0 20px 45px rgba(27, 33, 84, .08);
    --shadow-strong: 0 28px 60px rgba(27, 33, 84, .16);
}

body {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb), .08), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 46%, #FFFFFF 100%);
    color: #5A6685;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-light .navbar-nav .nav-link,
.section-label,
.news-date,
.stat-number {
    font-family: 'Roboto Condensed', sans-serif;
}

.center-y-text {
    display: flex;
    align-items: center;
}

.container-fluid {
    position: relative;
}

.btn {
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
    box-shadow: 0 12px 24px rgba(var(--dark-rgb), .08);
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-hover);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
    color: #FFFFFF;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary);
}

.page-link {
    color: var(--primary);
}

.page-link:hover {
    color: var(--primary-hover);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--primary-rgb), .45);
    box-shadow: 0 0 0 .25rem rgba(var(--primary-rgb), .2);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: .35rem 0;
}

.site-logo {
    height: 58px;
    width: auto;
    max-width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    -webkit-box-shadow: var(--shadow-soft);
    -moz-box-shadow: var(--shadow-soft);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 28px;
    border-radius: 18px;
    z-index: 99;
    box-shadow: var(--shadow-strong);
}

.site-topbar {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 18px rgba(27, 33, 84, 0.05);
}

.site-topbar::after {
    position: absolute;
    content: "";
    left: 4%;
    right: 4%;
    bottom: -16px;
    height: 24px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(27, 33, 84, .16) 0%, rgba(27, 33, 84, .06) 46%, rgba(27, 33, 84, 0) 78%);
    filter: blur(8px);
    pointer-events: none;
}

.site-topbar a,
.site-topbar .text-body,
.site-topbar .small {
    color: rgba(var(--dark-rgb), .88) !important;
}

.site-topbar a:hover {
    color: var(--primary) !important;
}

.site-topbar-note {
    padding: .45rem .95rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .08);
    color: var(--primary);
}

.site-header .sticky-top {
    position: relative;
    top: auto;
    z-index: 1;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 12px;
    padding: 10px 16px;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    border-radius: 999px;
    transition: .25s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), .08);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 10px;
        height: 10px;
        bottom: -12px;
        left: calc(50% - 5px);
        opacity: 0;
        background: var(--primary);
        border-radius: 999px;
        transition: .25s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        margin-bottom: 6px;
        padding: 12px 16px;
    }

    .site-logo {
        height: 48px;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1030;
        background-color: #FFFFFF;
    }
}

.section-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-label-light {
    background: rgba(255, 255, 255, .16);
    color: #FFFFFF;
}

.page-banner {
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(var(--primary-rgb), .08);
    background:
        linear-gradient(135deg, rgba(var(--primary-rgb), .14), rgba(var(--dark-rgb), .05)),
        #FFFFFF;
    box-shadow: var(--shadow-soft);
}

.stat-card,
.info-card,
.location-card,
.mini-info,
.service-list-card,
.news-card {
    height: 100%;
    border-radius: 1.25rem;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.stat-card,
.info-card,
.location-card,
.mini-info,
.service-list-card {
    padding: 2rem;
}

.stat-number {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
}

.info-card-soft {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.accent-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 40px rgba(var(--dark-rgb), .18);
}

.check-list {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .9rem;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list li::before {
    position: absolute;
    top: .2rem;
    left: 0;
    color: var(--primary);
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.topic-chip,
.mini-pill {
    display: inline-flex;
    align-items: center;
    min-height: 100%;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: rgba(var(--primary-rgb), .08);
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
}

.topic-chip:hover {
    background: rgba(var(--primary-rgb), .18);
    color: var(--primary-hover);
}

.news-card {
    overflow: hidden;
    border-radius: 1.5rem;
}

.news-card img {
    height: 240px;
    object-fit: cover;
    transition: transform .45s ease;
}

.news-date {
    display: inline-block;
    margin-bottom: .9rem;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-list-card {
    border: 1px solid rgba(var(--primary-rgb), .12);
    background:
        linear-gradient(180deg, rgba(var(--primary-rgb), .04), rgba(255, 255, 255, 1)),
        #FFFFFF;
}

.location-card {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), .06), #FFFFFF);
}

.site-topbar .gap-2 {
    gap: .5rem !important;
}

.surface-section::before,
.news-section::before,
.locations-section::before {
    position: absolute;
    content: "";
    inset: 0;
    pointer-events: none;
}

.surface-section::before {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), .03), transparent 30%);
}

.news-section::before {
    background: radial-gradient(circle at 85% 15%, rgba(var(--primary-rgb), .08), transparent 26%);
}

.locations-section::before {
    background: radial-gradient(circle at 10% 20%, rgba(var(--secondary-rgb), .08), transparent 24%);
}

.hero-header {
    overflow: hidden;
    min-height: 72vh;
    background:
        linear-gradient(115deg, rgba(17, 24, 56, .62), rgba(33, 39, 98, .44)),
        url(../img/ss.png) center center no-repeat;
    background-size: cover;
}

/* .med-hero-media {
    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.06);
    }
} */



.hero-header::before,
.hero-header::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
}

.hero-header::before {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -90px;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}

.hero-header::after {
    width: 320px;
    height: 320px;
    left: -90px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
}

.hero-shell {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 720px;
}

.hero-title {
    max-width: 700px;
    font-size: clamp(1.9rem, 5.2vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.hero-actions .btn {
    min-width: 190px;
}

.hero-side-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 30px 60px rgba(8, 12, 36, .28);
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.hero-side-card h3 {
    color: #FFFFFF;
    margin-bottom: .85rem;
}

.hero-side-card-image {
    width: 100%;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.hero-side-image {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    object-position: left center;
    display: block;
}

.hero-image-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 24, 60, .05) 0%, rgba(18, 24, 60, .16) 58%, rgba(18, 24, 60, .44) 100%),
        linear-gradient(90deg, rgba(48, 55, 107, .98) 0%, rgba(48, 55, 107, .88) 12%, rgba(48, 55, 107, .56) 24%, rgba(48, 55, 107, .18) 42%, rgba(18, 24, 60, 0) 68%);
    pointer-events: none;
}

.hero-side-chip {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #FFFFFF;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-contacts {
    display: grid;
    gap: .75rem;
}

.hero-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .08);
}

.hero-contact-label {
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-side-divider {
    height: 1px;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, .16);
}

.hero-mini-metrics {
    display: grid;
    gap: 1rem;
}

.hero-mini-metrics span {
    display: block;
    margin-bottom: .25rem;
    color: rgba(255, 255, 255, .68);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-mini-metrics strong {
    color: #FFFFFF;
    font-size: 1.05rem;
}

.home-stats-band {
    margin-top: -78px;
    z-index: 2;
}

.home-stats-band .stat-card {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.stat-card:hover,
.info-card:hover,
.location-card:hover,
.mini-info:hover,
.service-list-card:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(var(--primary-rgb), .16);
}

.news-card:hover img {
    transform: scale(1.04);
}

.news-card .p-4,
.news-card .p-md-4,
.news-card .p-lg-4 {
    position: relative;
}

.news-card .p-4::before {
    position: absolute;
    content: "";
    left: 1.5rem;
    top: 0;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), #84A2FF);
}

.mini-info {
    background: linear-gradient(180deg, #FFFFFF, var(--surface-muted));
}

.site-footer-main {
    background:
        radial-gradient(circle at top right, rgba(110, 140, 255, .12), transparent 24%),
        linear-gradient(180deg, #0E1433 0%, #141B45 100%);
}

.site-footer-main .row>div {
    position: relative;
}

.site-footer-main .row>div::before {
    display: none;
}

.site-footer-main .row>div>* {
    position: relative;
    z-index: 1;
}

.site-footer-main .row>div {
    padding: 0;
}

@media (max-width: 767.98px) {

    .page-banner,
    .accent-card,
    .stat-card,
    .info-card,
    .location-card,
    .mini-info,
    .service-list-card {
        padding: 1.5rem;
    }

    .news-card img {
        height: 220px;
    }

    .hero-header {
        min-height: auto;

    }

    .hero-side-card {
        padding: 1.5rem;
    }

    .hero-side-card-image {
        min-height: 360px;
        padding: 0;
    }

    .hero-side-image {
        min-height: 360px;
        object-position: center top;
    }

    .home-stats-band {
        margin-top: -36px;
    }
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

/* Mediplus-inspired homepage refresh */
.med-shell-header .site-topbar {
    background: #f8fbff;
    box-shadow: none;
    border-bottom: 1px solid rgba(var(--dark-rgb), .06);
}

.med-shell-header .site-topbar::after {
    display: none;
}

.topbar-links a,
.topbar-contact a {
    color: #6a7695;
    text-decoration: none;
}

.topbar-links a:hover,
.topbar-contact a:hover {
    color: var(--primary);
}

.med-main-nav {
    min-height: 96px;
}

.med-main-nav .navbar-nav {
    gap: .15rem;
}

.med-main-nav .nav-cta {
    margin-left: 1rem;
    box-shadow: 0 14px 30px rgba(var(--primary-rgb), .22);
}

.med-main-nav .nav-link {
    font-size: 1.05rem;
}

.med-hero-section {
    position: relative;
    background: #f8fbff;
}

.med-hero-wrap {
    position: relative;
    z-index: 2;
    padding: 0;
}

.med-kicker,
.med-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .08);
    color: var(--primary);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.med-kicker {
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

.med-section-kicker-light {
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
}

.med-hero-title {
    margin: 1.15rem 0 .85rem;
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(2.6rem, 5.8vw, 5rem);
    line-height: .98;
    letter-spacing: -.04em;
}

.med-hero-text {
    max-width: 640px;
    color: rgba(255, 255, 255, .92);
    font-size: 1.08rem;
    line-height: 1.75;
}

.med-hero-lead {
    margin-bottom: .75rem;
    color: rgba(255, 255, 255, .98);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.4;
}

.med-hero-support {
    max-width: 560px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .84);
    font-size: 1rem;
    line-height: 1.8;
}

.med-hero-actions .btn {
    min-width: 190px;
}

.med-hero-carousel .owl-stage-outer,
.med-hero-carousel .owl-stage,
.med-hero-carousel .owl-item,
.med-hero-slide {
    height: 100%;
}

.med-hero-slide {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.med-hero-slide .min-vh-100 {
    min-height: 620px !important;
}

.med-hero-media {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.med-hero-media::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(9, 16, 42, 0.92) 0%,
            rgba(9, 16, 42, 0.74) 32%,
            rgba(9, 16, 42, 0.30) 58%,
            rgba(9, 16, 42, 0.08) 82%,
            rgba(9, 16, 42, 0.00) 100%);
}


.med-hero-slide::after {
    position: relative;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 128px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, rgba(248, 251, 255, .72) 100%);
    pointer-events: none;
}

.med-hero-copy {
    padding: 5.75rem 0 6.5rem;
    padding-left: clamp(1rem, 3vw, 2.5rem);
}

.med-hero-title,
.med-hero-lead,
.med-hero-support {
    text-shadow: 0 10px 30px rgba(6, 12, 30, .28);
}

.med-hero-carousel .owl-nav {
    position: absolute;
    left: 50px;
    inset: 50% 0 auto;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.med-hero-carousel .owl-nav button.owl-prev,
.med-hero-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 0;
    background: rgba(35, 52, 101, .92) !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    box-shadow: 0 22px 38px rgba(var(--dark-rgb), .18);
    pointer-events: auto;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.med-hero-carousel .owl-nav button.owl-prev {
    left: 3rem;
}

.med-hero-carousel .owl-nav button.owl-next {
    right: 3rem;
}

.med-hero-carousel .owl-nav button.owl-prev:hover,
.med-hero-carousel .owl-nav button.owl-next:hover {
    transform: translateY(-2px);
    background: var(--primary) !important;
    box-shadow: 0 26px 44px rgba(var(--primary-rgb), .26);
}

.med-hero-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: .65rem;
}

.med-hero-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(35, 52, 101, .22) !important;
    transition: width .25s ease, background .25s ease;
}

.med-hero-carousel .owl-dot.active {
    width: 34px;
    background: var(--primary) !important;
}

.med-feature-strip-wrap {
    margin-top: -5.25rem;
    z-index: 2;
}

.med-feature-card {
    padding: 2rem;
    border-radius: 1.5rem;
    color: #ffffff;
    box-shadow: 0 22px 40px rgba(var(--dark-rgb), .12);
}

.med-feature-primary {
    background: linear-gradient(135deg, #2a7de1, #3c92f2);
}

.med-feature-secondary {
    background: linear-gradient(135deg, #1f5db8, #2f4696);
}

.med-feature-dark {
    background: linear-gradient(135deg, #1d2a4d, #253766);
}

.med-feature-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .16);
    font-size: 1.55rem;
}

.med-feature-card h4 {
    color: #ffffff;
    margin-bottom: .8rem;
}

.med-feature-card p {
    color: rgba(255, 255, 255, .86);
    line-height: 1.75;
}

.med-feature-card a {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}

.med-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .18);
}

.med-hours-list li:last-child {
    border-bottom: 0;
}

.med-section {
    background: #ffffff;
}

.med-section-heading {
    max-width: 760px;
}

.med-section-heading h2 {
    margin: 1rem 0 1rem;
    color: var(--dark);
    font-size: clamp(2rem, 3vw, 3rem);
}

.med-section-heading p {
    color: #73809f;
    line-height: 1.8;
}

.med-media-card {
    position: relative;
    border-radius: 2rem;
}

.med-media-card::after {
    position: absolute;
    content: "";
    inset: 2rem -2rem -2rem 2rem;
    border-radius: 2rem;
    background: rgba(var(--primary-rgb), .08);
    z-index: 0;
}

.med-media-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 24px 44px rgba(var(--dark-rgb), .12);
}

.med-about-copy h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 2rem;
}

.med-about-copy p {
    color: #6f7c9a;
    line-height: 1.8;
}

.med-mini-card {
    padding: 1.5rem;
    border: 1px solid rgba(var(--dark-rgb), .08);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(var(--dark-rgb), .06);
}

.med-mini-icon,
.med-service-icon,
.med-counter-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    font-size: 1.35rem;
}

.med-mini-icon {
    margin-bottom: 1rem;
}

.med-counter-band {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, rgba(30, 64, 128, .92), rgba(51, 118, 208, .88)), url(../img/about.jpg) center/cover no-repeat;
}

.med-counter-item {
    color: #ffffff;
}

.med-counter-item strong {
    display: block;
    margin: 1rem 0 .35rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.4rem;
}

.med-counter-item span {
    color: rgba(255, 255, 255, .84);
}

.med-counter-icon {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
}

.med-services-block,
.med-news-block {
    background: #fbfcff;
}

.med-service-link,
.service-overview-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.med-service-card,
.med-doctor-card,
.med-news-card {
    overflow: hidden;
    border: 1px solid rgba(var(--dark-rgb), .08);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(var(--dark-rgb), .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.med-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
    min-height: 210px;
    padding: 1.5rem;
}

.med-service-card::before,
.service-overview-card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 1.5rem;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), #76a7ff);
}

.med-service-card h4,
.med-doctor-card h4,
.med-news-card h4 {
    margin: 1rem 0 .85rem;
    color: var(--dark);
}

.med-service-card h4 {
    margin: .9rem 0 0;
    font-size: 1.18rem;
    line-height: 1.35;
}

.med-service-card p,
.med-news-card p,
.med-doctor-card p {
    color: #72809d;
    line-height: 1.8;
}

.med-service-cta,
.service-inline-cta {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 1.15rem;
    color: var(--primary);
    font-size: .96rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.med-service-card:hover,
.med-doctor-card:hover,
.med-news-card:hover,
.med-mini-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(var(--dark-rgb), .12);
}

.med-service-link:hover,
.service-overview-link:hover {
    color: inherit;
}

.med-service-link:hover .med-service-cta i,
.service-overview-link:hover .service-inline-cta i {
    transform: translateX(4px);
}

.med-service-cta i,
.service-inline-cta i {
    transition: transform .25s ease;
}

.service-overview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
    min-height: 210px;
    padding: 1.5rem;
}

.service-overview-card h5 {
    margin: .9rem 0 0;
    color: var(--dark);
    font-size: 1.12rem;
    line-height: 1.35;
}

.service-overview-link:hover .service-overview-card {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), .18);
    box-shadow: 0 26px 50px rgba(var(--dark-rgb), .12);
}

.service-overview-icon,
.service-detail-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), .16), rgba(var(--primary-rgb), .06));
    color: var(--primary);
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.med-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), .16), rgba(var(--primary-rgb), .06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
    font-size: 1.35rem;
}

.service-detail-stack {
    display: grid;
    gap: 2rem;
}

.service-detail-section {
    scroll-margin-top: 120px;
}

.service-detail-card {
    height: 100%;
    padding: 2.25rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(var(--dark-rgb), .08);
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(var(--dark-rgb), .08);
}

.service-detail-card h3,
.service-detail-card h2 {
    margin: 1.1rem 0 1rem;
    color: var(--dark);
}

.service-detail-card p {
    color: #6e7c9a;
    line-height: 1.85;
}

.service-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, #edf4ff, #ffffff);
    box-shadow: 0 22px 44px rgba(var(--dark-rgb), .12);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.service-fact-box {
    padding: 1.35rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(var(--primary-rgb), .12);
    background: linear-gradient(180deg, rgba(var(--primary-rgb), .05), rgba(255, 255, 255, 1));
}

.service-fact-box h6 {
    margin-bottom: .95rem;
    color: var(--dark);
    font-size: 1rem;
}

.med-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 64, 128, .92), rgba(53, 118, 208, .92));
}

.med-cta-box {
    max-width: 820px;
    margin: 0 auto;
    color: #ffffff;
}

.med-cta-box h2 {
    margin: 1.1rem 0 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
}

.med-cta-box p {
    color: rgba(255, 255, 255, .88);
    line-height: 1.85;
}

.med-doctor-card img,
.med-news-card img {
    height: 260px;
    object-fit: cover;
}

.med-doctor-role,
.med-news-badge {
    display: inline-flex;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .08);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
}

.med-doctor-card-alt {
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.med-news-card h4 a {
    color: var(--dark);
    text-decoration: none;
}

.med-news-card h4 a:hover {
    color: var(--primary);
}

.site-footer-main {
    color: rgba(255, 255, 255, .86);
    background: #0d1431;
}

.footer-logo {
    height: 56px;
    width: auto;
}

.footer-title {
    margin-bottom: 1.35rem;
    color: #ffffff;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: .9rem;
}

.footer-links a,
.footer-bottom a {
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.footer-links strong,
.footer-hours strong {
    display: block;
    color: #ffffff;
    font-weight: 700;
}

.footer-links span,
.footer-hours span,
.footer-contact-list div {
    color: rgba(255, 255, 255, .72);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 991.98px) {
    .med-main-nav .nav-cta {
        margin: 1rem 0 0;
    }

    .med-feature-strip-wrap {
        margin-top: -1.5rem;
    }



    .med-hero-slide {
        min-height: 700px;
    }

    .med-hero-carousel .owl-nav button.owl-prev {
        left: 1.25rem;
    }

    .med-hero-carousel .owl-nav button.owl-next {
        right: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .med-hero-section {
        overflow: hidden;
    }

    .med-hero-title {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .med-hero-slide {
        min-height: 640px;
    }

    .med-hero-slide .min-vh-100 {
        min-height: 520px !important;
    }



    .med-hero-slide::before {
        background:
            linear-gradient(180deg, rgba(15, 23, 42, .16) 0%, rgba(15, 23, 42, .1) 28%, rgba(15, 23, 42, .06) 48%, rgba(15, 23, 42, .04) 72%, rgba(15, 23, 42, .02) 100%);
    }

    .med-hero-copy {
        padding: 4.75rem 0 6rem;
        padding-left: 1rem;
    }

    .med-hero-text,
    .med-hero-support {
        max-width: 100%;
    }

    .med-hero-carousel .owl-nav {
        inset: auto 0 2rem;
        transform: none;
        display: flex;
        justify-content: center;
        gap: .85rem;
    }

    .med-hero-carousel .owl-nav button.owl-prev,
    .med-hero-carousel .owl-nav button.owl-next {
        position: static;
        width: 54px;
        height: 54px;
        font-size: 1.2rem !important;
    }

    .med-media-card::after {
        inset: 1rem -1rem -1rem 1rem;
    }

    .med-doctor-card img,
    .med-news-card img {
        height: 220px;
    }

    .service-detail-card,
    .service-overview-card {
        padding: 1.5rem;
    }

    .med-service-card {
        min-height: 180px;
        padding: 1.35rem;
    }

    .service-detail-image img {
        min-height: 260px;
    }
}
