@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #073B63;
    --primary-dark: #032A47;
    --white: #fff;
    --secondary: #E30613;
    --color-primary-light: #DCEAF3;
    --color-secondary-light: #b6d8ff;
    --color-accent: #C73B8A;
    --color-text-dark: #333333;
    --color-text-white: #fff;
    --color-text-light: #9CA3AF;
    --color-background-light: #F4F4F4;
    --font-inter: 'Inter', sans-serif;
    --accent: #E30613;
    --bg-soft:  #F5F8FB;
    --primary-light: #C6DDEA;
    --accent-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .2px;
    color: #111827;
    background: #FFFFFF;
}

a {
    text-decoration: none;
    color: #000;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

h1 {
    font-size: 42px;
    font-weight: 700;
}

h2 {
    font-size: 35px;
    font-weight: 600;
}

h3 {
    font-size: 19px;
    line-height: 1.5rem;
    letter-spacing: .2px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 700;
}

h6 {
    font-weight: 600;
    font-size: 14px;
}

p {
    letter-spacing: 0.2px;
}

ul {
    margin-bottom: 15px;
}

label {
    font-weight: 400;
    font-size: 15px;
}

.header .container-fluid {
    padding: 2px 50px;
}
.container-fluid {
    padding: 10px 50px;
}

.top-header {
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
}

.location-wrapper {
    position: relative;
    flex-shrink: 0;
}

.location-selector {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 20px;
}

.location-icon {
    background: var(--primary);
    color: var(--color-text-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    font-size: 14px;
}

.location-text {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark)
}

    .location-text i {
        margin-left: 10px;
        font-size: 12px;
        color: var(--color-text-dark);
    }

.location-dropdown-content {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    z-index: 10;
    min-width: 150px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
    border: 1px solid #ddd;
}

    .location-dropdown-content.show {
        display: block;
    }

    .location-dropdown-content a {
        color: var(--color-text-dark);
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        font-size: 14px;
    }

        .location-dropdown-content a:hover {
            background-color: var(--color-background-light);
            color: var(--primary);
        }

.search-container {
    flex-grow: 1;
    max-width: 500px; 
    min-width: 250px;
    margin: 10px 20px;
}

.search-bar {
    position: relative;
}

    .search-bar i {
        color: var(--color-text-light);
        position: absolute;
        top: 11px;
        right: 15px;
    }

        .search-bar input::placeholder {
            color: var(--color-text-light);
            font-weight: 400;
        }

.contact-collection {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.social-icons a {
    font-size: 20px;
    margin-left: 15px;
    text-decoration: none;
}

.social-icons .phone {
    color: var(--primary);
}

.social-icons .whatsapp {
    color: #25D366; 
}

.home-collection {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.collection-info {
    line-height: 1.3;
}

    .collection-info .label {
        font-size: 13px;
        color: var(--color-text-dark);
    }

    .collection-info .phone-number {
        font-size: 16px;
        font-weight: 700;
        color: var(--color-text-dark);
    }

.header-nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items:center;
}

.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-white);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

    .nav-link:hover {
        color: var(--color-text-white);
    }

    .nav-link i {
        margin-left: 5px;
        font-size: 10px;
    }

#menu-toggle {
    display: none;
}

#offcanvas-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    z-index: 1050; 
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px; 
    background-color: white;
    box-shadow: -0.5rem 0 1rem rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

#offcanvas-overlay {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1040;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#menu-toggle:checked ~ #offcanvas-overlay {
    visibility: visible;
    opacity: 1;
}

#menu-toggle:checked ~ #offcanvas-menu {
    transform: translateX(0);
}

.cart-dropdown-trigger:hover .cart-dropdown-menu {
    display: block !important;
}

.desktop-dropdown-trigger:hover .desktop-dropdown-content {
    display: block !important;
}

.location-selector select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
  /*  border: none;*/
    padding-right: 2rem !important; 
}


.download-report i {
    margin-right: 5px;
    margin-left: 0;
}

.dropdown-content {
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease, visibility 0.3s; 

    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%; 
    border-radius: 4px;
    margin-top: 2px;
    border: 1px solid #ddd;
}

    .dropdown-content a {
        color: var(--color-text-dark);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 14px;
    }

        .dropdown-content a:hover {
            background-color: var(--color-background-light);
            color: var(--primary);
        }

.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible; 
}

.profile-icon-container {
    margin-left: auto;
}

.profile-icon {
    background-color: var(--color-accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}
.package-post{
    padding:10px 0px;
}
.post-slide {
    border-radius: 30px;
    padding: 10px;
    background: #F5F8FA;
}
.post-slide img {
    border-radius: 30px;
}
.booking-card {
    width: 100%;
    max-width: 550px;
    background-color: white;
    padding: 40px;
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: none; 
    box-sizing: border-box;
}


.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    text-align: center;
}

.card-subtitle {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
}

.section-heading {
    font-size: 17px;
    font-weight: 600;
    color: #374151; 
    margin-bottom: 16px;
    text-align: center;
}

.input-icon {
    font-size: 22px;
    color: #10b981; 
    flex-shrink: 0;
}

.input-field {
    width: 100%;
    color: #1f2937;
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
}

#testSearch.input-field {
    margin-left: 10px;
}

#areaSearch.input-field {
    margin-right: 10px;
}

.separator {
    border-top: 1px solid #e5e7eb;
    margin: 0 0 18px 0;
}

.detect-button {
    margin-left: 16px;
    display: flex;
    align-items: center;
    padding: 6px 18px;
    background-color: white;
    color: #0056b3; 
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #0056b3; 
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    white-space: nowrap;
    font-size: 15px;
}

    .detect-button:hover {
        background-color: #0056b3;
        color: white;
    }

        .detect-button:hover .detect-icon {
            color: white;
        }

    .detect-button:active {
        background-color: #00448a;
    }

.detect-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    color: #0056b3; 
    flex-shrink: 0;
    transition: color 0.2s ease-in-out;
}

.cards-container {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-direction: row;
}



.cards-container .card {
    flex: 1;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(203 203 203 / 10%), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}
.cards-container .card {
    padding: 20px;
}
    .cards-container .card:hover {
        box-shadow: 0 10px 15px -3px rgb(159 159 159 / 10%), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.card-whatsapp {
    background-color: var(--color-text-white);
}

.card-call {
    background-color: var(--color-text-white);
}

.card-prescription {
    background-color: var(--color-text-white);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(17, 24, 39); 
    margin-bottom: 0.125rem;
}

.card-subtitle {
    font-size: 13px;
    color: rgb(75, 85, 99); 
    opacity: 0.9;
    margin:0;
}



.card-arrow {
    font-size: 1.25rem;
    color: var(--primary);
    margin-left: 1rem;
}

.cards-container .card:hover .card-arrow, .card:hover .card-icon i {
    color: var(--secondary);
}

.arrow-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease-in-out;
    stroke-width: 2.5;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary) !important;
}

    .card:hover .arrow-icon {
    transform: translateX(4px);
}

.card-icon i{
    font-size:30px;
    color:var(--primary);
}

.popular-test-package p {
    font-size: 15px;
    color: #7b8185;
    margin-bottom: 0;
}
.health-package-img.fever, .health-package-img.covid {
    background: #F5F8FA;
}
.health-package-img.allergy, .health-package-img.citizen {
    background: #F5F8FA;
}

.health-package-img img{
    width:100%;
}

.section-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bg-custom-shapes {
    overflow: hidden;
}

    .bg-custom-shapes::before,
    .bg-custom-shapes::after {
        content: '';
        position: absolute;
        z-index: 0;
        opacity: 0.08;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .bg-custom-shapes::before {
        width: 450px;
        height: 450px;
        top: -180px;
        left: -180px;
        transform: rotate(30deg);
    }

    .bg-custom-shapes::after {
        width: 550px;
        height: 550px;
        bottom: -220px;
        right: -220px;
        transform: rotate(-45deg);
    }

.content-wrapper {
    max-width: 72rem; 
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.heading-main {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.025em;
}

.stats-grid-top {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1.5rem;
    justify-items: center;
}

.stats-offset-row {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 1.5rem;
    margin-top: 1.5rem; 
    justify-content: center;
}


.stat-card {
    background-color: var(--color-text-white);
    color: var(--color-text-dark);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    font-weight: 500;
    z-index: 10;
    width: 100%;
    max-width: 20rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgb(187 187 187 / 20%);
}

    .stat-card:hover {
        box-shadow: 0 10px 30px rgb(129 129 129 / 25%);
        transform: scale(1);
    }


.stat-value {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.stat-value-unit {
    font-size: 2.25rem;
}

.stat-description {
    color: var(--color-text-dark);
    font-size: 1rem; 
    font-weight: 500; 
    line-height: 1.375;
    letter-spacing: 0.05em; 
}

.btn-gradient-dark {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-gradient-dark:hover {
        background: var(--primary-dark);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    }

article.card {
    padding: 15px 20px;
    text-align: center;
    background: #fdfdfd;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    transition: all 0.2s ease-in-out;
    position: relative;
    padding-bottom: 1rem;
}

    .nav-tabs .nav-link:hover {
        border: none;
        color: var(--primary);
    }

    .nav-tabs .nav-link.active {
        color: var(--primary) !important;
        font-weight: 600;
        background-color: transparent !important;
        border-bottom: 4px solid var(--primary) !important;
        border-top: none;
        border-left: none;
        border-right: none;
        margin-bottom: -2px; 
    }
.section-header {
    font-size: 1.25rem;
    font-weight: 700; 
    color: #1e8449; 
    margin-bottom: 1rem;
}

.divider {
    border-top: 1px dashed #d1d5db;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.link-group {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.625; 
}

    .link-group a {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        padding-right: 0.5rem;
        text-decoration: none;
        transition: color 150ms ease-in-out; 
        color: inherit;
    }

        .link-group a:hover {
            color: #1e8449; 
        }

    .link-group span {
        color: #d1d5db; 
        font-weight: 400; 
        padding-top: 0.25rem; 
        padding-bottom: 0.25rem; 
        padding-right: 0.5rem; 
    }
.slider-header {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.quote-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary); 
    opacity: 0.3;
    margin-bottom: 1rem;
    fill: currentColor;
}

.quote-text {
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 500;
    color: #374151; 
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.patient-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.popular ul{
    border-color:var(--primary) !important;
}
.patient-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patient-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #fff;
}

.patient-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark); 
    margin-bottom: 0px;
}

.patient-detail {
    font-size: 0.875rem;
    color: #6b7280; 
    margin-bottom:0;
}

.patient-rating {
    font-size: 10px;
    color: #fcd34d;
}

.carousel-control-prev {
  left: -50px;
}

.carousel-control-prev, .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

    .carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
        background: var(--primary);
        color: #fff;
    }

    .carousel-control-prev-icon::before, .carousel-control-next-icon::before {
        content: '';
        display: block;
        width: 45px;
        height: 45px;
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .carousel-control-prev-icon::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f053";
        font-size: 1.5rem;
        color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-control-next-icon::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900; 
        content: "\f054";
        font-size: 1.5rem;
        color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-control-prev-icon:hover::before,
    .carousel-control-next-icon:hover::before {
        color: #fff;
    }

.carousel-indicators {
    bottom: -60px;
}

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #d1d5db;
        border: none;
        opacity: 1;
        margin: 0 4px;
        transition: background-color 0.3s, width 0.3s, height 0.3s;
    }

    .carousel-indicators .active {
        background-color: var(--primary);
        width: 12px;
        height: 12px;
    }

.modal {
    background: rgb(255 255 255 / 86%) !important;
    opacity: 1 !important;
}

.bi-trash {
    color: #db4437;
}

.gap_10 {
    margin-left: -5px;
    margin-right: -5px;
}

    .gap_10 > div, .gap_10 > * {
        padding-left: 5px;
        padding-right: 5px;
    }

.scrollbar {
    overflow: auto;
}

    .scrollbar::-webkit-scrollbar {
        visibility: hidden;
        -webkit-appearance: none;
        width: 6px;
        height: 6px;
        background-color: rgba(0, 0, 0, 0);
    }

    .scrollbar::-webkit-scrollbar-thumb {
        visibility: hidden;
        border-radius: 3px;
        background-color: rgba(159, 166, 188, 0.55);
    }

    .scrollbar:hover::-webkit-scrollbar, .scrollbar:hover::-webkit-scrollbar-thumb, .scrollbar:focus::-webkit-scrollbar, .dataTables_wrapper .dataTables_scroll .dataTables_scrollBody:focus::-webkit-scrollbar, .scrollbar:focus::-webkit-scrollbar-thumb, .dataTables_wrapper .dataTables_scroll .dataTables_scrollBody:focus::-webkit-scrollbar-thumb {
        visibility: visible;
    }

.bg-success {
    background-color: var(--bg-soft) !important;
    font-size: 10px !important;
    color: var(--primary) !important;
    border: 1px dashed var(--primary);
    border-radius: 3px;
}

.gray-color {
    color: #666666;
}

.green-color {
    color: var(--primary);
}

.blue-color {
    color: #1771f9;
}

.warning-color {
    color: #f9d94f;
}

.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 999;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
}

.navbar a.logo {
    width: 140px;
}

.logo img {
    max-width: 100%
}

.header-cart {
    position:relative;
}

.navbar .nav-link{
    color:#000 !important;
}

.header-cart label {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    color: var(--color-text-white);
    text-align: center;
    border-radius: 10px;
    font-size: 10px;
    top: 3px;
    left: 25px;
}

.navbar-toggler {
    padding: 4px 10px;
}

.navbar-toggler-icon {
    width: 1em;
    height: 1em;
}

    section {
    padding: 50px 0;
}

.form-select:focus, .form-control:focus {
    border-color: none;
    box-shadow: none;
}

.form-select::placeholder {
    color:#ccc;
}

.search-icon {
    position: absolute;
    top: 4px;
    right: 15px;
    padding: 0 0 0 11px;
}

.search-sec input::placeholder, .head-search input::placeholder, .coupon input::placeholder, .signin-form input::placeholder {
    font-size: 14px;
    font-weight: 500;
}

.input-group-text {
    background-color: #f9f9f9;
}

.search-sec, .wl-banner {
    background-color: #dcf5f9;
}
.search-sec {
    padding: 50px 50px 0;
    background-image: none;
    background-color: #F5F8FA;
}
.search-sec img {
    border-radius: 10px;
}

    .search-sec .form-control, .head-search .form-control {
        border-radius: 0 5px 5px 0 !important;
        background: #f9f9f9;
    }

section.head-search {
    padding: 10px 0 !important;
}

.search-sec .trust-bx {
    padding-left: 65px;
}

.trust-bx {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: start;
    margin-top: 25px;
}

    .trust-bx label {
        font-weight: 500;
        font-size: 14px;
    }

    .trust-img {
        padding: 10px;
        border-radius: 50px;
        margin-right: 10px;
    }

.color-1 {
    background: #FFF6F5;
}

.color-2 {
    background: #F2F7FB;
}

.color-3 {
    background: #F2F8F4;
}

.trust-img img{
  width:35px;
}

.img-end {
    text-align: end;
}

    .img-end img, .app-sec img {
        max-width: 100%;
        width: 400px;
    }

.main-bx {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 42px;
    gap: 20px;
}

    .main-bx .box:hover {
        box-shadow: rgb(144 144 145 / 20%) 0 7px 29px 0 !important;
        background: #fff !important;
        cursor:pointer;
    }

    .box-gap {
        padding: 0 15px;
    }

.box {
    box-shadow: rgb(144 144 145 / 20%) 0 7px 29px 0;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    flex-grow: 1;
    position: relative;
}

.box-border {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    flex-grow: 1;
    display: flex;
    border: 1px solid #ccc;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.popular .box-border:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

    .box-border span {
        font-size: 12px;
        font-weight: 500;
        color: #7b8185;
        letter-spacing: 0.4px;
    }

.package-detail .box-border, .checkout .box-border {
    border: 1px solid #ececed;
}

.owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
}

.owl-prev {
    font-size: 25px !important;
    background: #fff !important;
    width: 40px;
    color:#000 !important;
}

.owl-next {
    font-size: 25px !important;
    background: #fff !important;
    width: 40px;
    color: #000 !important;
}

.owl-dots {
    margin-top: 10px;
}

#popularSlider .owl-carousel .item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.package-amount {
    color: #8897A2;
    text-decoration: line-through;
    font-size: 18px !important;
}

.package-discount {
    font-size: 12px;
    margin-right: 10px;
}

.package-img{
    position:absolute;
    bottom:0; 
    right:0;
}

    .package-img img {
        width: 80px !important;
        border-radius:10px;
    }

.owl-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.health-bg img {
    max-width: 100%;
}

.article img {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 10px 10px 0 0;
}

.article h3 {
    min-height: 90px;
}
.article p {
    font-size: 12px;
    font-weight: 500;
}

.btn {
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}

.btn-xs {
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 5px;
}

.btn-light {
    border: 1px solid #c6c7c8;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}
.bg-primary-dark {
    background: var(--primary);
}
.btn-outline-primary {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: transparent;
}

    .btn-outline-primary:hover {
        color: #fff;
        background: var(--primary);
        border: 1px solid transparent;
    }

.btn-outline-secondary {
    border: 1px solid  #6c757d;
}
.btn-outline-secondary:hover {
  color:#fff !important;
}
.btn-success {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    border: none;
}

    .btn-success:hover {
        background: var(--primary);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    }
.btn-outline-success {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: transparent;
}

    .btn-outline-success:hover {
        color: #fff;
        background: var(--primary);
        border: 1px solid transparent;
    }
.btn-light {
    background-color: #f1f1f1 !important;
}

.expert-bx {
    display: flex;
    margin-bottom: 15px;
}
    .expert-bx img {
        width: 70px;
        height: 70px;
        margin-right: 10px;
        border-radius: 50px;
        background: #fff;
        padding: 5px;
    }

    .expert-bx span {
        font-size: 13px;
    }

.expert-sec {
    background-color: #e7e9f5;
}

.app-store img {
    width: 150px;
}

.popular-test {
    min-height: 200px;
}

    .popular-test label{
        color: #1771f9;
        text-decoration: underline;
        font-weight: 600;
        font-size: 12px;
        cursor:pointer;
    }

    .popular-btn button {
        width: 100%;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

.popular .box-border{
    display:flex;
    flex-direction:column;
   justify-content:space-between;
}

.package-detail-amount {
    padding: 20px 0;
}

.package-detail .trust-bx {
    margin: 25px 0;
}

.package-detail li {
    list-style: disc;
    margin-left: 25px;
    font-size: 16px;
    margin-bottom: 10px;
}

.cart-header {
    border-bottom: 1px solid #ececed;
    display: flex;
    align-items: baseline;
    padding: 10px 15px;
    background: #f5f8fb;
}

.cart-test {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-body {
    padding: 10px 15px;
}

    .cart-body h6 {
        color: #7b8185;
        font-size: 14px;
    }

    .cart-body img {
        width: 80px;
    }

.cart-count {
    border-bottom: 1px solid #ececed;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.offcanvas-header {
    background: #f5f8fb;
}

.package-detail-amount h6 {
    text-decoration: line-through;
    color: #7b8185;
}

.feature-bx {
    border-bottom: 1px solid #ececed;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

    .feature-bx .feature-icon {
        width: 40px;
        height: 40px;
        background: #ebebeb;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 100%;
    }

.feature-icon svg {
    color: var(--color-text-dark);
}

    .progress-container {
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-top: 50px;
        margin-bottom: 80px;
        max-width: 100%;
    }

    .progress-container::before {
        content: "";
        background-color: #c4c1c1;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 2px;
        width: 100%;
        z-index: -1;
    }
.policy-container {
    background-color: #ffffff;
    padding: 1.5rem; 
    border-radius: 0.75rem; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); 
    border: 1px solid #f3f4f6; 
}

    .policy-container h1 {
        font-size: 1.875rem; 
        font-weight: 700; 
        color: #1f2937; 
        margin-bottom: 1.5rem;
        border-bottom: 3px solid var(--primary); 
        padding-bottom: 0.5rem;
    }

    .policy-container h2 {
        font-size: 1.5rem; 
        font-weight: 600;
        color: #1f2937; 
        border-left: 4px solid var(--accent); 
        padding-left: 0.75rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
        border-radius: 0.125rem; 
    }

    .policy-container h3 {
        font-size: 1.25rem; 
        font-weight: 500; 
        color: #374151;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .policy-container p {
        margin-bottom: 1rem;
        color: #374151; 
    }

        .policy-container p.small-text {
            font-size: 0.875rem; 
            color: #6b7280;
            margin-bottom: 2rem;
        }

    .policy-container ul {
        list-style: disc;
        margin-left: 1.5rem;
        padding-left: 0.5rem;
        margin-bottom: 1rem;
    }

        .policy-container ul li {
            margin-bottom: 0.25rem;
        }

.separator {
    margin-top: 2.5rem; 
    margin-bottom: 2.5rem;
    border-top: 2px solid #bfbfbf; 
}

.contact-box {
    padding: 1.5rem; 
    background-color: #eff6ff; 
    border-left: 4px solid var(--primary); 
    border-radius: 0.5rem; 
}
.contact-box-alert {
    padding: 1.5rem;
    background-color: #ffeff1; 
    border-left: 4px solid #da3344; 
    border-radius: 0.5rem; 
}
    .contact-box p {
        margin: 0;
    }

    .contact-box .bold-lg {
        font-weight: 700; 
        font-size: 1.125rem;
        color: #1f2937; 
    }

    .contact-box .detail {
        color: #374151; 
    }

        .contact-box .detail .medium {
            font-weight: 500;
        }

    .contact-box a {
        color: #2563eb; 
        text-decoration: none;
    }

        .contact-box a:hover {
            color: #1e40af; 
            text-decoration: underline;
        }
#ai-chat-box {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 90vw;
    max-width: 320px;
    height: 500px;
    min-height: 350px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    #ai-chat-box.open {
        transform: translateY(0);
        opacity: 1;
    }

.message-bubble {
    max-width: 85%;
}

.message-row.justify-content-start .message-bubble {
    border-top-left-radius: 0.25rem !important; 
}

.message-row.justify-content-end .message-bubble {
    border-bottom-right-radius: 0.25rem !important; 
}

.bg-primary {
    opacity: 1;
    background: var(--primary);
}
.progress {
    background-color: var(--primary);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 2px;
    width: 0%;
    z-index: -1;
    transition: 0.4s ease;
}

.circle {
    background: #818181;
    color: #818181;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #c4c1c1;
    transition: 0.4s ease;
}

    .circle.active {
        border-color: var(--accent);
        background-color: var(--primary);
        color: var(--primary);
    }

    .circle i {
        position: absolute;
        bottom: 25px;
    }

    .circle .caption {
        position: absolute;
        font-size: 14px;
        bottom: -30px;
        min-width: 95px;
        font-weight: 500;
    }

.item-card {
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
/*    border: 1px solid #e5e7eb;*/
    margin-bottom: 1rem;
}

.coupon {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap:wrap;
}

.coupon input {
  border:none;
}

.saving-accordion button {
    border: 1px dashed #ccc;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 500;
}

.saving-accordion .accordion-item{
    border:none;
}

.saving-accordion .accordion-button:focus {
    border-color: none;
    box-shadow: none;
}

.saving-accordion .accordion-collapse {
    border: 1px dashed #ccc;
    border-top:none;
}
.saving-accordion .accordion-button::after {
    width: 13px;
    height: 13px;
    background-size: 13px;
}
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--bg-soft);
}
.checkout .btn:active {
    transform: scale(0.9);
}

.checkout .btn:focus {
    outline: 0;
}

.checkout .btn:disabled {
    background-color: #c4c1c1;
    cursor: not-allowed;
    border:none;
}

.step-content {
    display: none;
}

    .step-content.active {
        display: block;
    }

.dynamic-content label{
    font-size:15px !important;
}
.back-btn {
    position: absolute;
    top: -35px;
}

.payable-amount {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 20px;
}

.signin-bx {
    padding-top: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 9px #d8d8d8;
}

.signin-slider {
    background-image: url("../images/signin-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position:relative;
}

    .signin-slider:after {
        content: "";
        background-color: rgb(84 84 84 / 85%);
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
    }

.signin-slider img{
 width:200px !important;
 margin-bottom:20px;
}

    .signin-slider .item {
        padding: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .signin-slider .item a{
       color:#fff;
       text-align:center;
    }

.signin-form {
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .signin-form a:hover {
        color: #1771f9;
        text-decoration:underline;
    }

.about-bg {
    background: url("../images/about-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 130px;
    border-radius: 20px;
}
    .about-bg:before {
        content: "";
        background-color: rgb(0 0 0 / 75%);
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 20px;
        right: 0;
    }

    .about-content{
        position:relative;
        z-index:1;
    }

.wl-banner .owl-carousel .owl-item img{
    height:300px;
    border-radius:20px;
}

#wlSlider {
    padding: 0 50px;
    border-radius: 20px;
}

#wlSlider .owl-dots {
    position: absolute;
    bottom: 0;
    width: 90%;
}

.lab-test {
    border: 1px solid #c4c1c1;
}

.test-border {
    border-right: 1px solid #c4c1c1;
}
.lab-test-category {
    padding: 20px;
    background: #f3f6fd;
}
.lab-test-category p{
   margin-bottom:15px;
}

    .wl-contact ul {
       display:flex;
       align-items:center;
    }

    .wl-contact ul li a {
        color: #1278e0;
    }

    .wl-contact ul li a:hover {
        text-decoration:underline;
    }

.wl-about img {
    border-radius: 15px;
}

.misssion-box {
    text-align: center;
    padding: 20px;
    background: #F6FAFD;
    border-radius: 5px;
    border: 1px solid #e7e9ed;
    flex-grow: 1;
}
.misssion-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    border-bottom: 1px solid #ccc;
    width: 100px;
    padding-bottom: 5px;
}

    .misssion-icon img{
        width:150px;
    }

    .misssion-box h3 {
        font-size: 22px;
        font-weight: 700;
    }

.misssion-box p {
    font-size: 15px;
    line-height: 25px;
    font-weight: 500;
    min-height: 130px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: none;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.2px;
}

    .dropdown-menu a img {
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    .dropdown-menu a:hover {
        background-color: #f1f1f1;
    }

.header ul.navbar-nav li .nav-link {
    color: #000;
    font-size: 14px;
    padding: 5px;
    text-transform: capitalize;
    font-weight: 500;
}

.navbar-nav .nav-link.active {
    letter-spacing: 1px;
    font-size: 15px;
    color: #000;
    font-weight: 500;
}

.header ul li {
    margin: 0 12px 0 0;
}
.dropdown-menu ul li {
    margin:0;
}

.card-header a:hover {
    background-color: transparent;
}
.card-body h3 {
    color: #ccc;
    font-size: 14px;
}
.card-body ul li p {
    font-size: 12px;
    color: #000;
    font-weight: 500;
    margin-bottom:10px;
}
.card-body ul li p:first-child {
    width: 18ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu a.btn-light {
    padding: 3px 20px;
}
    .form-control {
    border-bottom: 1px solid #ccc;
}

.registration-sec .form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
}

    .form-floating .form-control:focus, .form-floating .form-control:not(:placeholder-shown) {
    border-color: #ccc;
    box-shadow: none;
}

.form-floating > .form-control:focus ~ label {
    opacity: 1;
    color: #000;
}

.form-select {
    border: 1px solid #ced4da;
}

    .form-select:focus {
        border-color: #ccc;
        box-shadow: none;
    }

.registration-sec input {
    background-color: transparent !important;
}

.registration-sec .form-floating label {
    font-weight: 500;
}

.registration-sec .form-floating > .form-select:focus {
    border-color: #ccc;
    box-shadow: none;
}

.form-floating {
    margin: 40px 0;
}

    .form-floating label {
        font-weight: 400;
        font-size: 14px;
    }

    .form-floating .form-select {
        border-radius: 8px;
        padding: .375rem 2.25rem .375rem .75rem;
    }

.registration-sec .form-floating {
    margin: 10px 0;
}
    .registration-sec .form-select {
        border: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0 !important;
    }

.form-icon {
    position: absolute;
    right: 12px;
    bottom: 10px;
}

.intro-video iframe {
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

.registration-sec a:hover {
    color: #1771f9;
    text-decoration:underline;
}

.booking-sec .nav-tabs {
    border-bottom: none;
    margin: 25px 0;
}
.booking-sec ul li button.active {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}
.booking-sec ul li button {
    border: 1px solid #878787 !important;
    font-size: 15px;
    color: #878787 !important;
    font-weight: 400;
    padding: 5px 25px;
    cursor: pointer;
    position: relative;
    border-radius: 15px !important;
    margin-right: 15px;
}
.partnership img {
    height: 500px;
    width: 100%;
    border-radius: 15px;
}
.partnership {
    position: relative;
    display: flex;
    justify-content: center;
}

    .partnership:after {
        content: "";
        background-color: rgb(0 0 0 / 75%);
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        border-radius: 15px;
    }
.business-partnership .box {
    padding: 40px;
    position: absolute;
    bottom: -120px;
    z-index: 9;
    text-align: center;
    box-shadow: rgb(144 144 145 / 20%) 0 1px 5px 0;
}
    .business-partnership .box h1 {
        font-size: 47px;
        font-weight: 700;
    }
    .business-partnership .box label {
        font-size: 21px;
        margin-bottom: 45px;
        margin-top: 20px;
    }
.bussinuss.client-feedback {
    margin-top: 70px;
}
.client-feedback h2 {
    font-size: 30px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.client-img img {
    width: 150px !important;
    border-radius: 50%;
    height: 150px;
    border: 4px solid #c7f7ff;
}
.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
}
.item-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.item-details {
    font-size: 0.875rem;
    color: #6b7280;
}

.item-price {
    font-size: 1.125rem;
    font-weight: 500;
    color: #4f46e5;
    margin-right: 0.5rem;
}

.remove-item-btn {
    padding: 0.25rem;
    color: #ef4444; 
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    background: none;
    transition: background-color 0.15s;
}

    .remove-item-btn:hover {
        color: #b91c1c;
        background-color: #fef2f2; 
    }

.remove-icon {
    height: 1.25rem;
    width: 1.25rem;
    display: block;
}

.empty-message {
    text-align: center;
    padding: 3rem 0;
    color: #6b7280;
}

.empty-icon {
    height: 3rem;
    width: 3rem;
    margin: 0 auto 0.75rem;
    display: block;
    color: #9ca3af;
}

.empty-message p {
    margin: 0;
}

.empty-message .title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.btn-continue-shopping {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: bold;
    background-color: #4f46e5; 
    color: #fff;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

    .btn-continue-shopping:hover {
        background-color: #4338ca; 
    }

.drawer-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb; 
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.summary-label {
    color: #4b5563;
}

.summary-value {
    font-weight: 500;
    color: #1f2937;
}

.discount-value {
    color: #dc2626;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: bold;
    padding-top: 0.5rem;
    border-top: 1px solid #d1d5db; 
}

.total-value {
    color: #4f46e5;
}

.checkout-btn-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkout-btn, .shop-more-btn {
    flex-grow: 1;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.0rem;
    transition: background-color 0.2s;
    cursor: pointer;
    border: none;
}

.checkout-btn {
    background-color: #10b981; 
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

    .checkout-btn:hover {
        background-color: #059669; 
    }

.shop-more-btn {
    background-color: #e5e7eb;
    color: #1f2937; 
}

    .shop-more-btn:hover {
        background-color: #d1d5db; 
    }
.client-img {
    display: flex;
    justify-content: center;
}

.client-box {
    background: #fff;
    padding: 15px 20px;
    position: relative;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 24px;
    margin-top: 70px;
}

.client-quotes {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .client-quotes .bi {
        color: #1771f9;
        height: 40px;
        width: 40px;
        margin: 50px 0;
    }

        .client-quotes .bi.right {
            transform: scaleX(-1);
        }

.client-detail {
    position: absolute;
    top: -60px;
    text-align: center;
}

.client-say p {
    font-size: 13px;
}

.client-detail p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 15px;
}

.client-detail span {
    font-size: 12px;
    font-weight: 500;
}

.client-rating {
    text-align: center;
}

    .client-rating .bi {
        color: #ffe234;
    }
.partner-intro-video iframe {
    border-radius: 10px;
    width: 100%;
    height: 600px;
    border: 2px solid #c7f7ff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 24px;
}
.partner-intro h2 {
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}
.discover-video iframe{
    border-radius: 10px;
    width: 100%;
    height: 400px;
}
.discover-sec h2 {
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}
.steps-sec h2 {
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}
.steps-border {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    flex-grow: 1;
    position: relative;
}
.steps-sec img{
    width:100px;
}
.steps-border {
    text-align: center;
}
.steps-sec-img {
    margin-bottom: 20px;
}
.step-count {
    position: absolute;
    top: 0;
    left: 0;
    height: 35px;
    width: 35px;
    background: var(--primary);
    border-radius: 3px 0px 15px 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .step-count span {
        color: #fff;
        font-weight: 600;
        font-size: 20px;
    }
.partnership-with h2 {
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}
.partnership-with .box {
    border-radius: 0;
    text-align: center;
    padding: 50px 0;
}
    .become-partner label, .become-partner h1 {
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }
.become-partner-img img {
    width: 380px;
    border-radius: 10px;
}
.partner-with-us h2{
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}
.with-img img{
    width:80px;
}
.partner-with-us .box {
    display: flex;
    align-items: center;
    padding: 30px;
}
    .partner-with-us .box .with-img {
        margin-right: 20px;
    }
.what-does ul {
    padding-left: 30px;
}
    .what-does ul li {
        list-style: circle;
        padding: 10px 0;
        font-size: 15px;
    }
.what-does .box {
    background: #f8fcfd;
    padding: 25px;
}
.what-does h2 {
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 50px;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}
.network-sec {
    background: #f3f6fd;
}
.it-footer-area .single-footer-widget h3 {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 18px;
}

.single-footer-widget .footer-links-list li {
    margin-bottom: 8px;
    font-weight: 600;
}

.it-footer-area .single-footer-widget .footer-links-list li a {
    font-weight: 400;
    color: #d4dae3;
    font-size: 14px;
}

.it-footer-area .single-footer-widget .footer-contact-info li {
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-bottom-area {
    padding: 10px 0;
 background: var(--primary);
    margin-top: 20px;
    color: #fff;
}

.footer-bottom-area a{
    color: #d4dae3;
}

.it-footer-area .single-footer-widget .footer-contact-info li a {
    color: #666666;
}

    .it-footer-area .single-footer-widget .footer-contact-info li a:hover, .it-footer-area .single-footer-widget .footer-links-list li a:hover {
        color: var(--primary);
    }

.single-footer-widget .logo {
    margin-bottom: 20px;
    font-size: 15px;
    display: inline-block;
}

.footer-contact-info svg {
    font-size: 17px;
    text-align: center;
    margin-right: 5px;
}

.footer-area {
    padding-top: 50px;
    border-top: 1px solid var(--primary);
    background: var(--bg-soft) !important;
}

.single-footer-widget .social-link li {
    display: inline-block;
    margin-right: 5px;
}

.it-footer-area .single-footer-widget .social-link li a {
    display: flex;
    justify-content:center;
    align-items:center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--primary);
    transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out, color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    border-radius: .3125rem;
    font-size: .875rem;
    text-align: center;
    text-decoration: none !important;
    background:transparent;
    color:var(--primary);
}
.it-footer-area .single-footer-widget .social-link li a:hover {
    background: var(--primary);
    color:var(--color-text-white);
}
.card, .table {
    border-radius: 0.75rem;
}

.status-badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 0.5rem;
    font-size: 0.75rem;
}

.status-Final {
    background-color: #d1e7dd;
    color: #0f5132; 
}

.status-Pending {
    background-color: #fff3cd; 
    color: #664d03;
}

.filter-section {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.upload-img{
    position:relative;
}
    .upload-img input {
        position: absolute;
        top: 14px;
        left: 0;
        opacity: 0;
    }

#testContainer .carousel-inner .carousel-item-next,
#testContainer .carousel-inner .carousel-item-prev,
#testContainer .carousel-inner .carousel-item.active {
    display: flex
}

#testContainer .carousel-inner .carousel-item-end,
#testContainer .carousel-inner .carousel-item-start {
    transform: translateX(0);
    display: none
}

#testContainer .carousel-inner {
    display: flex;
}

#testContainer .carousel-item {
    flex: 0 0 20%; 
    display: block;
}

.page {
    place-items: center;
}

.marquee {
    width: min(1800px, 100%);
    overflow: hidden;
    padding: 0;
    position: relative;
}

.track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll 60s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

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

.card {
    padding: 32px;
}


.page img {
    width: 100px;
}

.stat .test {
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 14px;
    margin-bottom: 20px;
}

.stat .desc {
    margin: 10px 0 0;
    line-height: 1.35;
    color: rgba(0,0,0,.75);
    font-size: clamp(14px, 2.4vw, 18px);
}
.faq-container {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: rgb(193 193 193 / 20%) 0 7px 29px 0;
}

.faq-info {
    padding-bottom: 25px;
}

   .faq-info h2 {
        font-size: 28px;
        font-weight: 600;
        color: #1e293b;
        margin-top: 0;
        margin-bottom: 12px;
    }

    .faq-info .subtitle {
        font-size: 16px;
        color: var(--primary);
        font-weight: 500;
        margin-bottom: 8px;
    }

    .faq-info p {
        margin-bottom: 0;
        color: rgba(33, 37, 41, 0.75);
    }

.overview-bx span, .add-cart span{
    font-size: 15px; 
    font-weight:400;
}

.fs-14{
font-size:14px;
}

.input-group > .form-control:focus, .input-group > .form-floating:focus-within, .input-group > .form-select:focus {
    z-index: unset;
}

.payment-option {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.15s;
}

.container-wrapper {
    max-width: 1280px; 
    margin: 3rem auto; 
    background-color: white;
    border-radius: 0.75rem; 
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.content-area h2 {
    font-size: 2.25rem; 
    font-weight: 700; 
    color: #1f2937;
    margin-bottom: 2rem; 
    letter-spacing: -0.025em; 
}

    .content-area h2 span {
        color: #1e40af;
    }

.features-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 2.5rem 2rem; 
}

.feature-item {
    display: flex;
    align-items: flex-start; 
    column-gap: 1rem;
}

.icon-wrapper {
    padding: 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border-radius: 0.5rem; 
    flex-shrink: 0; 
}

    .icon-wrapper i {
        font-size: 1.5rem;
    }

.feature-text p:first-child {
    font-size: 1.25rem; 
    font-weight: 600; 
    color: #1f2937;
}

.feature-text p:last-child {
    font-size: 0.875rem; 
    color: #4b5563;
}

.cta-wrapper {
    margin-top: 3rem; 
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem; 
    border: 1px solid transparent;
    font-size: 1rem; 
    font-weight: 500; 
    border-radius: 9999px; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); 
    color: white;
    background-color: #25d366;
    transition: all 0.3s ease; 
    outline: none;
}

    .cta-button:hover {
        background-color: #1aae4a; 
        transform: scale(1.02); 
    }

    .cta-button:focus {
        box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.5); 
    }

    .cta-button i {
        margin-right: 0.5rem; 
    }

.section-header {
    font-size: 25px;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.divider {
    border-top: 1px dashed #d1d5db; 
    margin-top: 1.5rem; 
    margin-bottom: 1.5rem;
}

.link-group {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.625; 
}

    .link-group a {
        padding-top: 0.25rem; 
        padding-bottom: 0.25rem; 
        padding-right: 0.5rem;
        text-decoration: none;
        transition: color 150ms ease-in-out; 
        color: inherit;
    }

        .link-group a:hover {
            color: #1e8449; 
        }

    .link-group span {
        color: #d1d5db;
        font-weight: 400; 
        padding-top: 0.25rem; 
        padding-bottom: 0.25rem; 
        padding-right: 0.5rem; 
    }

.text-default {
    color: var(--gray-text);
}

.theme-toggle-btn {
    background-color: white;
    border: 1px solid var(--gray-border);
    color: var(--gray-text);
    padding: 0.5rem 1rem; 
    border-radius: 0.5rem; 
    font-size: 0.875rem; 
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    transition: background-color 0.15s ease-in-out;
    cursor: pointer;
}

    .theme-toggle-btn:hover {
        background-color: #F9FAFB; 
    }

    .theme-toggle-btn i {
        margin-right: 0.5rem; 
    }

.btn-theme-primary {
    background-color: var(--primary);
    color: white;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem; 
    padding: 0.75rem 1.5rem; 
    border-radius: 0.75rem; 
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); 
    border: none;
    cursor: pointer;
}

    .btn-theme-primary:hover {
        background-color: var(--primary-dark);
    }

.ai-panel-anchor {
    margin-top: 5rem;
    height: 8rem;
    background-color: #E5E7EB;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-panel-anchor p {
        color: #6B7280; 
    }

.ai-floating-btn {
    position: fixed;
    bottom: 1.5rem; 
    right: 1.5rem; 
    z-index: 50;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); 
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    padding: 0.75rem 1rem; 
    color: white;
    cursor: pointer;
}

    .ai-floating-btn span {
        font-size: 0.875rem; 
        font-weight: 500;
    }

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 20rem; 
    height: 100vh; 
    background-color: #ffff;
    box-shadow: var(--offcanvas-shadow);
    z-index: 99999999999;
    padding: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

    .offcanvas.hidden {
        transform: translateX(100%);
    }

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem; 
    border-bottom: 1px solid #E5E7EB;
}

    .offcanvas-header h5 {
        font-size: 1.125rem;
        font-weight: 600; 
        display: flex;
        align-items: center;
    }

    .offcanvas-header i {
        margin-right: 0.5rem; 
    }

.offcanvas-close-btn {
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

    .offcanvas-close-btn:hover {
        color: #4B5563; 
    }

.offcanvas-body {
    padding-top: 1rem; 
    font-size: 0.875rem; 
}

.text-muted {
    color: #6B7280; 
}

.section-title {
    font-weight: 600; 
    margin-bottom: 0.75rem; 
    color: var(--gray-text);
}

.theme-pill-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem; 
}

.theme-pill {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .theme-pill i {
        transition: opacity 0.2s ease;
        color: white;
        font-size: 1.25rem;
        position: absolute;
    }

    .theme-pill.active i {
        opacity: 1;
    }

.theme-pill-container .text-center {
    text-align: center;
}

.theme-pill-container small {
    color: #6B7280; 
    margin-top: 0.25rem; 
    display: block;
}

.gradient-redmedi {
    background: var(--primary);
}

.gradient-emerald {
    background: #047857;
}

.gradient-violet {
    background: #4C1D95;
}

.gradient-sunset {
    background: #D85A2A;
}

.radio-group {
    margin-top: 0.5rem; 
}

.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

    .radio-item:last-child {
        margin-bottom: 1rem; 
    }

.radio-input {
    width: 1rem; 
    height: 1rem; 
    color: #2563EB; 
    border: 1px solid #D1D5DB; 
    border-radius: 9999px; 
    cursor: pointer;
}

.radio-label {
    margin-left: 0.5rem; 
    color: #4B5563; 
    font-size: 0.875rem;
}

.italic-text {
    color: #6B7280;
    font-style: italic;
    margin-top: 1rem; 
    margin-bottom: 0;
}
.main-content-layout {
    display: flex;
    flex-direction: column; 
    margin-top: 2rem; 
}

.column {
    flex: 1 1 100%;
    margin-bottom: 2rem; 
}

#map {
    height: 400px; 
    width: 100%;
    border-radius: 0.75rem; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}


#map-placeholder {
    height: 100%;
    width: 100%;
    background-color: #e5e7eb; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280; 
    text-align: center;
    padding: 1rem;
    border-radius: 0.75rem;
}

.section-card { 
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.lab-card {
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .lab-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        border-color: #93c5fd; 
    }

.lab-card-footer {
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

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

.bg-accent-pink {
    background-color: #db2777 !important;
}

.text-accent-pink {
    color: #db2777 !important;
}

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

.professional-card {
   display:flex;
   flex-direction:column;
   justify-content:space-between;
}


.img-featured {
    height: 250px;
    object-fit: cover;
}

.category-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
}
.dynamic-article-card {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

    .dynamic-article-card.hidden {
        opacity: 0;
        display: none !important;
    }

.pe-header {
    text-align: center;
    margin: auto;
}

.pe-title {
    font-size: 44px;
    font-weight: 700;
}

.pe-subtitle {
    color: #5f6f81;
    margin-top: 15px;
    font-size: 17px;
}

.pe-grid {
    margin-top:50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.pe-card {
    background: rgba(255,255,255,0.85);
    border-radius: 10px;
    padding: 40px 26px;
    position: relative;
    border: 1px solid rgba(13,110,253,0.15);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    overflow: hidden;
}

    .pe-card:hover {
        box-shadow: 0 40px 80px rgba(13,110,253,0.2);
    }

.pe-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 20px;
}

.pe-card h4 {
    font-size: 20px;
    color: #0b2c4d;
    font-weight: 700;
    margin-bottom: 10px;
}

.pe-card p {
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}
.testimonial-header {
    text-align: center;
    max-width: 720px;
    margin: auto;
    margin-bottom: 80px;
}

    .testimonial-header .badge {
        display: inline-block;
        background: #e6f6ef;
        color: #0f766e;
        padding: 6px 16px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .testimonial-header h2 {
        font-size: 36px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .testimonial-header p {
        font-size: 16px;
        color: #64748b;
        line-height: 1.6;
    }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 70px 28px 30px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    text-align: center;
    transition: 0.3s ease;
}

    .testimonial-card:hover {
        border-color: var(--primary);
        box-shadow: 0 14px 40px rgba(0,0,0,0.06);
    }

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #ffffff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    background: #f1f5f9;
}

    .testimonial-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.testimonial-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 28px;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.testimonial-user h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.testimonial-user span {
    font-size: 13px;
    color: #64748b;
}

.testimonial-rating {
    font-size: 16px;
    color: #f59e0b;
    letter-spacing: 2px;
    white-space: nowrap;
}

/*-----------------------------------------------Responsive Media Quary-----------------------------------------------------*/
@media (min-width: 1400px) {
    .signin-banner .container {
        max-width: 1000px;
    }
}

@media (max-width: 1210px) {
    .home-collection, .health-condition, .health-check-package {
        display: none !important;
    }
}
@media (max-width: 1100px) {
    .pe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1024px) {
    .header-top {
        padding: 10px 20px;
    }
    .testimonial-card {
        margin-bottom: 35px;
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .become-partner .col-md-8, .become-partner .col-md-4 {
        width:50% !important;
    }
    .cards-container {
        flex-direction: row;
        gap: 1rem;
    }
    .header-nav {
        padding: 10px 20px;
    }

    .search-container {
        order: 3; 
        flex-basis: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .contact-collection {
        margin-left: 10px;
    }

    .home-collection {
        margin-left: 15px;
    }

    .location-wrapper {
        margin-right: 0;
    }

    .location-selector {
        margin-right: 0;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
    }
    .img-end img, .app-sec img {
        max-width: 400px;
    }

    .popular .col-md-3 {
        width: 33.33%;
    }

    .main-bx {
        margin-top: 20px;
        gap: 10px;
    }

    p {
        font-size: 13px;
    }

    h3 {
        font-size: 14px;
    }

    .why-us .col-md-3 {
        width: 33.33%;
    }
}


@media (max-width: 992px) {
    #testContainer .carousel-item {
        flex: 0 0 33.33%;
    }
    .cards-container {
        flex-direction: column;
    }
    .order-lg-1 {
        order: 2;
    }

    .order-lg-2 {
        order: 1;
    }
}

@media (min-width: 992px) {
    #offcanvas-overlay, #offcanvas-menu {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .track {
        gap: 18px;
    }

    .card {
        gap: 48px;
        padding: 28px;
    }
}
@media (max-width: 768px) {
    .header-cart label {
        top: 2px;
        left: 13px;
    }
    .card {
        gap: 20px;
    }
        .become-partner .col-md-8, .become-partner .col-md-4 {
            width: 100% !important;
        }
    .post-slide {
        border-radius: 10px;
    }
    .slider-header {
        font-size: 1.75rem;
    }

    .testimonial-card {
        padding: 60px 28px 30px;
        min-height: 250px;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        padding: 1rem;
    }
    #testContainer .carousel-item {
        flex: 0 0 50%;
    }
    .contact-collection {
        order: 2;
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }

    .social-icons {
        order: 2;
    }

    .home-collection {
        order: 1;
    }

    .header-nav {
        justify-content: center;
    }

    .nav-link {
        flex-basis: auto;
        font-size: 12px;
        padding: 8px 5px;
        white-space: nowrap;
    }
    
    .dropdown-content {
        left: -20px; 
    }
    .faq-container {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .faq-info h2 {
        font-size: 24px;
    }

    .popular .col-md-3 {
        width: 50%;
    }

    #wlSlider {
        padding: 15px;
    }

        #wlSlider .owl-dots {
            bottom: 15px;
        }

    .wl-banner .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }

    .lab-test-category .col-md-6 {
        width: 100%;
    }

    .search-sec .col-md-6 {
        width: 100%;
    }

    .img-end {
        text-align: center;
    }

    .search-sec .trust-bx {
        padding-left: 0;
    }

    .checkout .progress-step.col-md-8 {
        width: 100% !important;
    }

    .checkout .col-md-8, .checkout .col-md-4 {
        width: 50%;
    }

    .circle .caption {
        min-width: 80px;
    }

    .main-bx {
        margin-bottom: 10px;
    }

    .img-end img, .app-sec img {
        max-width: 100%;
    }

    .why-us .col-md-3 {
        width: 50%;
    }

    .overview-bx .col-md-4 {
        width: 50%;
    }

    .about-bg {
        padding: 50px;
    }
}


@media (min-width:768px) {
    #testContainer .carousel-inner .carousel-item-end.active,
    #testContainer .carousel-inner .carousel-item-next {
        transform: translateX(25%)
    }
    .img-featured {
        width: 320px; 
        height: 25rem; 
    }
    .stats-grid-top .stat-card {
        max-width: none;
    }

    .stats-offset-row .stat-card {
        width: calc( (100% - 2 * 2rem) / 3);
        max-width: none;
    }
    .stats-grid-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stats-offset-row {
        flex-direction: row;
        gap: 1rem;
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    .main-content-layout {
        flex-direction: row; 
        gap: 2rem; 
    }
    .card-title {
        font-size: 16px;
    }
    .column {
        flex-basis: 50%; 
        margin-bottom: 0; 
    }
    #map {
        height: 600px; 
    }

    #testContainer .carousel-inner .carousel-item-prev,
    #testContainer .carousel-inner .carousel-item-start.active {
        transform: translateX(-25%)
    }

    #testContainer .carousel-item {
        justify-content: space-between
    }
}

@media (max-width:767px) {
    #featureContainer .carousel-inner .carousel-item > div {
        display: none
    }

        #featureContainer .carousel-inner .carousel-item > div:first-child {
            display: block
        }

    .container, .container-sm {
        max-width: 700px;
    }
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
}
@media(max-width: 600px) {
    .pe-title {
        font-size: 32px;
    }

    .pe-card {
        padding: 30px 22px;
    }
    .pe-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    #testContainer .carousel-item {
        flex: 0 0 100%;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-header h2 {
        font-size: 28px;
    }
}

@media (min-width: 640px) {
    .heading-main {
        font-size: 2.25rem;
    }
}
@media (max-width: 639px) {
    .booking-card {
        padding: 24px;
    }
}
@media (max-width: 520px) {
    .stat .desc {
        font-size: 14px;
    }
}
@media (max-width: 425px) {

    h2 {
        font-size: 25px;
    }

    .test-border {
        border-right: none;
    }

    .progress-container {
        padding: 20px;
    }

    .circle .caption {
        min-width: 120px;
        bottom: -20px;
    }

    .circle i {
        bottom: 50px;
    }

    section {
        padding: 25px 0;
    }

    .popular .col-md-3 {
        width: 100%;
    }

    .package-sec h2 {
        margin-bottom: 23px;
    }

    .owl-prev, .owl-next {
        font-size: 20px !important;
        width: 36px;
    }

    .owl-nav {
        top: -50px;
    }

    .popular .row-cols-lg-5, .expert-sec .row-cols-lg-4, .article-sec .row-cols-lg-6 {
        padding: 10px;
    }

    .article span {
        font-weight: 600;
        color: #8897A2;
    }

    .why-us .col-md-3 {
        width: 100%;
    }

    .box {
        padding: 10px;
        border-radius: 10px;
    }

    footer .col-md-3, footer .col-md-6 {
        text-align: center;
        justify-content: center !important;
    }

    footer .social-link {
        margin-bottom: 20px;
    }

    .overview-bx .col-md-4 {
        width: 100%;
    }

    .checkout .col-md-8, .checkout .col-md-4 {
        width: 100%;
    }

    .checkout .col-md-4 {
        margin-top: 20px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 25px;
    }
}

@media (max-width: 320px) {
    h2 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .track {
        animation-duration: 0.001s;
    }
}

/* RedMedi branding: keep the original patient-site layout, only adapt the wide logo. */
.logo-container img {
    width: 185px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.single-footer-widget .logo img {
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
@media (max-width: 991.98px) {
    .logo-container img { width: 165px; }
}


/* =========================================================
   RedMedi fixed brand system — professional static theme
   Theme switching is intentionally disabled.
   ========================================================= */
:root {
    --primary: #0A4770;
    --primary-dark: #073653;
    --secondary: #D71920;
    --accent: #D71920;
    --bg-soft: #F7F9FC;
    --primary-light: #EAF2F7;
    --accent-light: #FDEDEF;
    --site-max-width: 1320px;
    --site-gutter: 24px;
}

html, body {
    background: #F7F9FC;
}

body {
    color: #1F2937;
}

/* Keep every major content area aligned to the same left/right grid. */
.container,
.header .container-fluid,
.header-content-wrapper > .container-fluid {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
}

/* Header: clean, bright and brand-led instead of dark/gradient. */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E6EBF0;
    box-shadow: 0 2px 10px rgba(7, 59, 99, 0.05);
}

.top-header,
.header-top {
    background: #FFFFFF !important;
}

.header .border-bottom {
    border-color: #EDF0F3 !important;
}

.header .nav-link,
.header a.nav-link {
    color: #263746 !important;
}

.header .nav-link:hover,
.header .nav-link.active,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* RedMedi icon treatment: soft surface + navy icon. */
.location-icon {
    background: #EEF4F8 !important;
    color: var(--primary) !important;
    border: 1px solid #DCE8F0;
}

/* Flat buttons — no red/navy mixed gradients. */
.btn-primary,
.btn-success,
.btn-gradient-dark,
.checkout-btn,
.btn-theme-primary {
    background: var(--primary) !important;
    background-image: none !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-gradient-dark:hover,
.checkout-btn:hover,
.btn-theme-primary:hover {
    background: var(--primary-dark) !important;
    background-image: none !important;
    border-color: var(--primary-dark) !important;
    color: #FFFFFF !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: #9CB9CC !important;
    background: #FFFFFF !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
    background: var(--primary) !important;
    background-image: none !important;
}

.btn-light,
.header .btn-light {
    background: #F8FAFC !important;
    border-color: #DDE5EC !important;
    color: #334155 !important;
}

.btn-light:hover,
.header .btn-light:hover {
    background: #EEF3F7 !important;
    border-color: #CFD9E2 !important;
}

/* Keep red as an accent rather than blending it with navy. */
.bg-danger,
.badge.bg-danger {
    background-color: #e33532;
}

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

/* Remove remaining decorative brand gradients from major UI surfaces. */
.top-header,
.location-icon,
.btn-primary,
.btn-success,
.btn-gradient-dark,
.checkout-btn,
.btn-theme-primary,
.header-cart label {
    background-image: none !important;
}

/* Softer cards and content surfaces for a more clinical/professional look. */
.card,
.post-slide,
.search-bar,
.location-selector {
    border-color: #E4EAF0;
}

.card {
    box-shadow: 0 5px 18px rgba(15, 45, 65, 0.055);
}

/* Theme controls are no longer part of the RedMedi product UI. */
.theme-toggle-btn,
.theme-pill-container,
#themeOffcanvas,
[data-bs-target="#themeOffcanvas"] {
    display: none !important;
}

@media (max-width: 991.98px) {
    :root { --site-gutter: 16px; }

    .header-content-wrapper > .d-lg-none {
        padding-left: var(--site-gutter) !important;
        padding-right: var(--site-gutter) !important;
    }
}


/* =========================================================
   RedMedi brand refinement v3
   Clean fixed brand palette, flat surfaces, exact header/body alignment.
   ========================================================= */
:root {
    --primary: #0A4770;
    --primary-dark: #073653;
    --secondary: #D91F2A;
    --accent: #D91F2A;
    --brand-soft: #F3F7FA;
    --brand-soft-2: #F7F9FB;
    --brand-border: #E2E9EF;
    --brand-text: #243746;
}

/* Clean page canvas: no gradient page background. */
html,
body {
    background: #FFFFFF !important;
    background-image: none !important;
    color: var(--brand-text);
}

/* Restore Bootstrap container widths so header, body and footer share the exact grid. */
.container {
    width: 100%;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px !important;
    padding-right: 12px !important;
}
@media (min-width: 576px) { .container { max-width: 540px !important; } }
@media (min-width: 768px) { .container { max-width: 720px !important; } }
@media (min-width: 992px) { .container { max-width: 960px !important; } }
@media (min-width: 1200px) { .container { max-width: 1140px !important; } }
@media (min-width: 1400px) { .container { max-width: 1320px !important; } }

/* Main header row: white, clean and aligned exactly with .container content. */
.site-header {
    background: #FFFFFF !important;
    background-image: none !important;
    border-bottom: 1px solid var(--brand-border);
    box-shadow: 0 2px 12px rgba(15, 55, 80, 0.06) !important;
}
.site-header .header-content-wrapper > .d-none.d-lg-flex > .container-fluid:not(.top-header) {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px !important;
    padding-right: 12px !important;
}
@media (min-width: 576px) {
    .site-header .header-content-wrapper > .d-none.d-lg-flex > .container-fluid:not(.top-header) { max-width: 540px; }
}
@media (min-width: 768px) {
    .site-header .header-content-wrapper > .d-none.d-lg-flex > .container-fluid:not(.top-header) { max-width: 720px; }
}
@media (min-width: 992px) {
    .site-header .header-content-wrapper > .d-none.d-lg-flex > .container-fluid:not(.top-header) { max-width: 960px; }
}
@media (min-width: 1200px) {
    .site-header .header-content-wrapper > .d-none.d-lg-flex > .container-fluid:not(.top-header) { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .site-header .header-content-wrapper > .d-none.d-lg-flex > .container-fluid:not(.top-header) { max-width: 1320px; }
}

/* Second header/navigation row: full-width soft brand background, content aligned with body. */
.site-header .top-header {
    width: 100%;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: var(--brand-soft) !important;
    background-image: none !important;
    border-top: 1px solid #EDF2F5;
/*    border-bottom: 1px solid #E4EBF0;*/
}
.site-header .top-header > .py-1 {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px !important;
    padding-right: 12px !important;
}
@media (min-width: 576px) { .site-header .top-header > .py-1 { max-width: 540px; } }
@media (min-width: 768px) { .site-header .top-header > .py-1 { max-width: 720px; } }
@media (min-width: 992px) { .site-header .top-header > .py-1 { max-width: 960px; } }
@media (min-width: 1200px) { .site-header .top-header > .py-1 { max-width: 1140px; } }
@media (min-width: 1400px) { .site-header .top-header > .py-1 { max-width: 1320px; } }

.site-header .top-header .nav-link {
    color: #304B5F !important;
    font-weight: 600;
}
.site-header .top-header .nav-link:hover,
.site-header .top-header .nav-link:focus {
    color: var(--primary) !important;
    background: rgba(10, 71, 112, 0.05);
    border-radius: 6px;
}

/* New wide RedMedi logo supplied by the client. */
.site-header .logo-container img {
    width: 205px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
@media (max-width: 991.98px) {
    .site-header .logo-container img { width: 175px; }
    .site-header .header-content-wrapper > .d-lg-none {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Flat RedMedi controls. */
.location-icon,
.header-cart label {
    background: #EDF4F8 !important;
    background-image: none !important;
    color: var(--primary) !important;
}
.btn-primary,
.btn-success,
.btn-gradient-dark,
.checkout-btn,
.btn-theme-primary,
.bg-primary,
.bg-primary-dark {
    background: var(--primary) !important;
    background-image: none !important;
}
.btn-primary:hover,
.btn-success:hover,
.btn-gradient-dark:hover,
.checkout-btn:hover,
.btn-theme-primary:hover {
    background: var(--primary-dark) !important;
    background-image: none !important;
}
.btn-outline-primary:hover,
.btn-outline-success:hover {
    background: var(--primary) !important;
    background-image: none !important;
}

/* Replace decorative gradients with quiet clinical surfaces. */
.post-slide,
.health-package-img.fever,
.health-package-img.covid,
.health-package-img.allergy,
.health-package-img.citizen,
.search-sec,
.misssion-box {
    background: #F5F8FA !important;
    background-image: none !important;
}
.color-1 { background: #FFF6F5 !important; background-image: none !important; }
.color-2 { background: #F2F7FB !important; background-image: none !important; }
.color-3 { background: #F2F8F4 !important; background-image: none !important; }
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background: var(--primary) !important;
    background-image: none !important;
}
.patient-footer .user-img,
.test-card-icon,
.feature-icon {
    background-image: none !important;
}

/* Footer: remove gradient completely. Main footer is light; copyright strip is solid navy. */
.footer-area,
.it-footer-area {
    background: var(--brand-soft-2) !important;
    background-image: none !important;
    border-top: 1px solid var(--brand-border);
}
.footer-area .single-footer-widget h3,
.it-footer-area .single-footer-widget h3 {
    color: #183B54 !important;
}
.it-footer-area .single-footer-widget .footer-links-list li a,
.it-footer-area .single-footer-widget .footer-contact-info li a,
.footer-area p {
    color: #4A5F70 !important;
}
.it-footer-area .single-footer-widget .footer-contact-info li a:hover,
.it-footer-area .single-footer-widget .footer-links-list li a:hover {
    color: var(--primary) !important;
}
.footer-bottom-area {
    background: var(--primary) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    margin-top: 20px;
}
.footer-bottom-area p,
.footer-bottom-area a {
    color: #FFFFFF !important;
}
.single-footer-widget .logo img {
    width: 175px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Remove any old theme-gradient preview classes if they survive in dormant markup. */
.gradient-redmedi,
.gradient-emerald,
.gradient-violet,
.gradient-sunset {
    background: var(--primary) !important;
    background-image: none !important;
}

/* =========================================================
   RedMedi header search v4
   Centered location + test search inspired by supplied reference.
   ========================================================= */
.redmedi-main-header-row {
    display: grid !important;
    grid-template-columns: minmax(205px, 1fr) minmax(360px, 620px) minmax(270px, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 82px;
    overflow: visible;
}

.redmedi-header-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.redmedi-header-search-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 1030;
}

.redmedi-search-pill {
    position: relative;
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 5px 6px 5px 12px;
    background: #FFFFFF;
    border: 1px solid #D7E0E8;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(19, 51, 74, 0.08);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.redmedi-search-pill:focus-within,
.redmedi-search-pill.is-open {
    border-color: #BFCED9;
    box-shadow: 0 6px 20px rgba(19, 51, 74, 0.12);
}

.redmedi-location-trigger {
    width: 160px;
    min-width: 160px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #111827;
    padding: 0 7px 0 8px;
    border-radius: 999px;
    font-size: .94rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.redmedi-location-trigger:hover {
    background: #F7F9FB;
}

.redmedi-location-pin {
    color: #E985A4;
    font-size: 1rem;
    flex: 0 0 auto;
}

.redmedi-location-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}

.redmedi-location-target {
    color: #E62D38;
    font-size: .9rem;
    flex: 0 0 auto;
}

.redmedi-search-divider {
    width: 1px;
    height: 26px;
    background: #C9D3DC;
    flex: 0 0 1px;
    margin: 0 7px 0 1px;
}

.redmedi-search-field {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.redmedi-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    color: #203243;
    padding: 0 6px 0 12px;
    font-size: .94rem;
    font-weight: 500;
}

.redmedi-search-input::placeholder {
    color: #7B879B;
    opacity: 1;
}

.redmedi-search-input::-webkit-search-cancel-button {
    display: none;
}

.redmedi-search-submit {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #a2a4a9;
    color: #FFFFFF;
    font-size: 14px;
    box-shadow: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.redmedi-search-submit:hover,
.redmedi-search-submit:focus {
    background: #C91E2A;
    color: #FFFFFF;
}

.redmedi-search-submit:active {
    transform: scale(.96);
}

.redmedi-location-menu,
.redmedi-search-suggestions {
    position: absolute;
    display: none;
    top: calc(100% + 12px);
    background: #FFFFFF;
    border: 1px solid #D9E1E8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(25, 43, 58, .16);
    overflow: hidden;
    z-index: 1040;
}

.redmedi-location-menu.is-open,
.redmedi-search-suggestions.is-open {
    display: block;
}

.redmedi-location-menu {
    left: 0;
    width: 225px;
}

.redmedi-menu-title,
.redmedi-suggestion-title {
    color: #1F2937;
    font-weight: 700;
    font-size: .82rem;
    background: #F4F6F8;
    border-bottom: 1px solid #DCE3E9;
}

.redmedi-menu-title {
    padding: 14px 16px;
}

.redmedi-location-option {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #E1E6EB;
    background: #FFFFFF;
    color: #111827;
    padding: 14px 16px;
    font-size: .94rem;
    text-align: left;
    cursor: pointer;
}

.redmedi-location-option:last-child {
    border-bottom: 0;
}

.redmedi-location-option:hover,
.redmedi-location-option.is-active {
    background: #F7FAFC;
    color: #0A4770;
}

.redmedi-search-suggestions {
    left: 168px;
    right: 0;
    min-width: 410px;
}

.redmedi-suggestion-title {
    padding: 12px 16px;
}

.redmedi-suggestion-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    color: #1F2937;
    text-decoration: none;
    border-bottom: 1px solid #EDF0F3;
}

.redmedi-suggestion-row:hover {
    background: #FAFBFC;
    color: #1F2937;
}

.redmedi-test-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.redmedi-test-icon-1 { background: #FCE3D4; color: #B96A39; }
.redmedi-test-icon-2 { background: #FFF0C9; color: #B78B25; }
.redmedi-test-icon-3 { background: #FBE7F0; color: #9A4A7B; }

.redmedi-test-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.redmedi-test-copy strong,
.redmedi-test-copy small {
    display: block;
}

.redmedi-test-copy strong {
    color: #202833;
    font-size: .83rem;
    line-height: 1.3;
    font-weight: 700;
}

.redmedi-test-copy small {
    color: #667085;
    margin-top: 3px;
    font-size: .78rem;
}

.redmedi-book-link {
    color: #E62D38;
    font-weight: 700;
    font-size: .78rem;
    flex: 0 0 auto;
}

.redmedi-no-results {
    display: none;
    padding: 20px 16px;
    color: #667085;
    font-size: .83rem;
    text-align: center;
}

.redmedi-search-suggestions.no-results .redmedi-no-results {
    display: block;
}

.redmedi-header-actions {
    min-width: 0;
    white-space: nowrap;
}

.redmedi-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1010;
    background: rgba(17, 24, 39, .43);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility .15s ease;
}

.redmedi-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.redmedi-mobile-search-row {
    padding: 0 16px 12px;
    background: #FFFFFF;
    border-bottom: 1px solid #EDF1F4;
}

.redmedi-header-search-mobile .redmedi-search-pill {
    min-height: 54px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .redmedi-main-header-row {
        grid-template-columns: 180px minmax(330px, 1fr) 250px;
        gap: 12px;
    }
    .site-header .logo-container img { width: 175px; }
    .redmedi-header-actions .home-collection { display: none !important; }
    .redmedi-location-trigger { width: 138px; min-width: 138px; }
    .redmedi-search-suggestions { left: 146px; min-width: 360px; }
    .redmedi-search-input { font-size: .88rem; }
}

@media (max-width: 991.98px) {
    .redmedi-search-overlay { z-index: 1010; }
    .redmedi-header-search-wrap { z-index: 1030; }
    .redmedi-location-trigger {
        width: 120px;
        min-width: 120px;
        gap: 7px;
        font-size: .86rem;
    }
    .redmedi-search-input {
        font-size: .86rem;
        padding-left: 8px;
    }
    .redmedi-search-submit {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    .redmedi-search-suggestions {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .redmedi-mobile-search-row { padding-left: 12px; padding-right: 12px; }
    .redmedi-search-pill { padding-left: 7px; }
    .redmedi-location-trigger {
        width: 105px;
        min-width: 105px;
        padding-left: 5px;
    }
    .redmedi-location-target { display: none; }
    .redmedi-search-divider { margin-right: 3px; }
    .redmedi-search-input { font-size: .80rem; }
    .redmedi-search-input::placeholder { font-size: .80rem; }
    .redmedi-suggestion-row { gap: 9px; padding: 9px 10px; }
    .redmedi-test-icon { width: 36px; height: 36px; min-width: 36px; }
    .redmedi-test-copy strong { font-size: .76rem; }
    .redmedi-test-copy small { font-size: .72rem; }
}

/* =========================================================
   RedMedi header search v5
   Reference-style city and popular-test dropdowns.
   ========================================================= */
.redmedi-search-pill {
    padding-left: 13px;
    padding-right: 7px;
}

.redmedi-location-trigger {
    width: 132px;
    min-width: 132px;
    height: 46px;
    gap: 10px;
    padding: 0 4px 0 6px;
    border-radius: 999px 0 0 999px;
}

.redmedi-location-trigger:hover {
    background: transparent;
}

.redmedi-location-pin {
    color: #042b51;
    font-size: 14px;
}

.redmedi-location-label {
    color: #111827;
    font-size: .93rem;
    font-weight: 600;
}

.redmedi-current-location {
    width: 38px;
    height: 40px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #c3252b;
    border-radius: 50%;
    font-size: .9rem;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.redmedi-current-location:hover,
.redmedi-current-location:focus {
    background: #FFF3F2;
    color: #E62D38;
}

.redmedi-current-location.is-locating i {
    animation: redmedi-location-spin .8s linear infinite;
}

.redmedi-current-location:disabled {
    opacity: .65;
    cursor: wait;
}

@keyframes redmedi-location-spin {
    to { transform: rotate(360deg); }
}

.redmedi-search-divider {
    height: 28px;
    margin-left: 3px;
    margin-right: 15px;
    background: #C6CFDA;
}

/* City dropdown: intentionally compact and list-like, matching the supplied reference. */
.redmedi-location-menu {
    left: 0;
    width: 222px;
    top: calc(100% + 10px);
    border: 1px solid #D8DEE6;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(17, 24, 39, .18);
    background: #FFFFFF;
    overflow: hidden;
}

.redmedi-location-menu .redmedi-menu-title {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #F4F5F7;
    color: #161B22;
    border-bottom: 1px solid #D9DFE6;
    font-size: .82rem;
    font-weight: 700;
}

.redmedi-location-scroll {
    max-height: 270px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #C8CFD8 transparent;
}

.redmedi-location-scroll::-webkit-scrollbar {
    width: 7px;
}

.redmedi-location-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.redmedi-location-scroll::-webkit-scrollbar-thumb {
    background: #C8CFD8;
    border-radius: 999px;
    border: 2px solid #FFFFFF;
}

.redmedi-location-option {
    min-height: 57px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid #DEE3E9;
    background: #FFFFFF;
    color: #111827;
    font-size: .96rem;
    font-weight: 500;
    text-align: left;
}

.redmedi-location-option:last-child {
    border-bottom: 0;
}

.redmedi-location-option:hover {
    background: #FAFAFB;
    color: #111827;
}

.redmedi-location-option.is-active {
    background: #FFF8F8;
    color: #D92733;
    font-weight: 650;
}

/* Popular tests dropdown is deliberately a different visual treatment. */
.redmedi-search-suggestions {
    left: 220px;
    right: 0;
    width: auto;
    min-width: 430px;
    top: calc(100% + 12px);
    border: 1px solid #D8DEE6;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(17, 24, 39, .18);
    background: #FFFFFF;
    overflow: hidden;
}

.redmedi-search-suggestions .redmedi-suggestion-title {
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #FFFFFF;
    color: #252A31;
    border-bottom: 1px solid #EEF1F4;
    font-size: .80rem;
    font-weight: 700;
}

.redmedi-suggestion-row {
    min-height: 64px;
    gap: 14px;
    padding: 8px 15px;
    border-bottom: 0;
    background: #FFFFFF;
}

.redmedi-suggestion-row + .redmedi-suggestion-row {
    border-top: 1px solid #F3F4F6;
}

.redmedi-suggestion-row:hover {
    background: #FAFAFB;
}

.redmedi-test-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 4px;
}

.redmedi-test-copy strong {
    color: #272B33;
    font-size: .82rem;
    line-height: 1.3;
    font-weight: 700;
}

.redmedi-test-copy small {
    color: #5F6877;
    margin-top: 3px;
    font-size: .78rem;
}

.redmedi-book-link {
    color: #FF4B43;
    font-size: .79rem;
    font-weight: 700;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .redmedi-location-trigger {
        width: 112px;
        min-width: 112px;
    }
    .redmedi-current-location {
        width: 34px;
        min-width: 34px;
    }
    .redmedi-search-divider {
        margin-right: 10px;
    }
    .redmedi-search-suggestions {
        left: 190px;
        min-width: 350px;
    }
}

@media (max-width: 991.98px) {
    .redmedi-location-trigger {
        width: 103px;
        min-width: 103px;
        gap: 7px;
        padding-left: 4px;
        font-size: .85rem;
    }
    .redmedi-current-location {
        width: 32px;
        min-width: 32px;
    }
    .redmedi-search-divider {
        margin-left: 1px;
        margin-right: 8px;
    }
    .redmedi-location-menu {
        width: 220px;
    }
    .redmedi-location-scroll {
        max-height: 285px;
    }
    .redmedi-search-suggestions {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .redmedi-location-trigger {
        width: 88px;
        min-width: 88px;
    }
    .redmedi-current-location {
        width: 30px;
        min-width: 30px;
    }
    .redmedi-search-divider {
        margin-right: 5px;
    }
    .redmedi-location-menu {
        width: min(222px, calc(100vw - 28px));
    }
    .redmedi-location-scroll {
        max-height: 300px;
    }
    .redmedi-search-suggestions {
        width: min(100%, calc(100vw - 24px));
    }
}

/* =========================================================
   RedMedi UI refinement v6
   Professional button system + soft index action/health cards.
   ========================================================= */

/* Consistent professional button language across the project. */
.btn,
.btn-gradient-dark,
.btn-continue-shopping,
.checkout-btn,
.shop-more-btn,
.cta-button,
.detect-button,
.booking-sec ul li button {
    border-radius: 8px !important;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.btn {
    min-height: 35px;
    padding: .55rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    line-height: 1.2;
}

.btn-sm {
    min-height: 34px;
    padding: .42rem .8rem !important;
    font-size: .875rem;
}

.btn-xs {
    min-height: 30px;
    padding: .3rem .65rem !important;
    border-radius: 7px !important;
}

.btn-primary,
.btn-success,
.btn-gradient-dark,
.checkout-btn,
.btn-theme-primary,
.btn-continue-shopping {
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-gradient-dark:hover,
.btn-gradient-dark:focus,
.checkout-btn:hover,
.checkout-btn:focus,
.btn-continue-shopping:hover,
.btn-continue-shopping:focus {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(10, 71, 112, .14) !important;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #526779 !important;
    border-color: #526779 !important;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #425668 !important;
    border-color: #425668 !important;
    color: #fff !important;
}

.btn-outline-primary,
.btn-outline-success {
    background: #fff !important;
    color: var(--primary) !important;
    border: 1px solid #AFC2D0 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-success:hover,
.btn-outline-success:focus {
    background: #EEF5F9 !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    background: #fff !important;
    color: #435769 !important;
    border-color: #CBD5DD !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background: #F4F7F9 !important;
    color: #263746 !important;
    border-color: #AEBBC5 !important;
}

.btn-light,
.header .btn-light,
.shop-more-btn {
    background: #F6F8FA !important;
    color: #33485A !important;
    border: 1px solid #DCE4EA !important;
}

.btn-light:hover,
.header .btn-light:hover,
.shop-more-btn:hover {
    background: #EEF3F6 !important;
    color: #243746 !important;
    border-color: #C9D5DE !important;
}

/* Keep purpose-built round header controls round. */
.redmedi-search-submit,
.redmedi-current-location,
.remove-item-btn,
.ai-floating-btn,
.btn-close {
    border-radius: 50% !important;
}

/* Cart footer buttons should feel like one clean component. */
.cart-dropdown-menu .btn.rounded-top-0 {
    border-radius: 0 0 8px 8px !important;
}

/* Booking tabs are controls, not pills. */
.booking-sec ul li button {
    min-height: 38px;
    padding: 7px 18px;
    border-color: #C8D3DB !important;
    color: #536675 !important;
    background: #fff !important;
}
.booking-sec ul li button.active {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: #F2F7FA !important;
}

/* Index quick-action cards: three subtle, differentiated surfaces. */
.cards-container {
    gap: 14px;
}
.cards-container .card {
    border-radius: 12px !important;
    border: 1px solid #E3EAF0 !important;
    min-height: 98px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(25, 55, 75, .055) !important;
    transform: none;
}
.cards-container .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 55, 75, .09) !important;
}
.card-whatsapp {
    background: #F2FAF6 !important;
    border-color: #DDEFE6 !important;
}
.card-call {
    background: #F2F7FB !important;
    border-color: #DCE8F1 !important;
}
.card-prescription {
    background: #FFF5F5 !important;
    border-color: #F2DEDF !important;
}
.card-whatsapp .card-icon i { color: #1F8E67 !important; }
.card-call .card-icon i { color: var(--primary) !important; }
.card-prescription .card-icon i { color: var(--secondary) !important; }
.cards-container .card-arrow {
    color: #6B7E8D;
}
.cards-container .card:hover .card-arrow {
    color: var(--primary);
}
.cards-container .card-title {
    color: #1F3444;
}
.cards-container .card-subtitle {
    color: #607382;
}

/* Health concern tiles: light clinical backgrounds, subtle depth, no loud colors. */
.health-test article.card {
    min-width: 190px;
    min-height: 170px;
    border-radius: 12px !important;
    border: 1px solid #E4EBF0 !important;
    box-shadow: 0 4px 14px rgba(20, 54, 76, .055) !important;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.health-test article.card:nth-child(5n+1) { background: #F3F8FB !important; }
.health-test article.card:nth-child(5n+2) { background: #FFF7F7 !important; }
.health-test article.card:nth-child(5n+3) { background: #F5FAF7 !important; }
.health-test article.card:nth-child(5n+4) { background: #F8F7FB !important; }
.health-test article.card:nth-child(5n+5) { background: #FBF8F4 !important; }
.health-test article.card:hover {
    box-shadow: 0 8px 20px rgba(20, 54, 76, .09) !important;
    transform: translateY(-2px);
}
.health-test .stat .test {
    color: #243746;
    margin-bottom: 14px;
    line-height: 1.35;
}
.health-test .page img {
    width: 88px;
    max-height: 88px;
    object-fit: contain;
}
.health-test .health-icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    line-height: 1;
    color: var(--primary);
}
.health-test .health-icon i {
    line-height: 1;
}

@media (max-width: 767.98px) {
    .cards-container {
        gap: 10px;
    }
    .cards-container .card {
        padding: 16px;
        border-radius: 10px !important;
    }
    .health-test article.card {
        min-width: 170px;
        min-height: 158px;
        border-radius: 10px !important;
    }
}

/* --------------------------------------------------------------------------
   RedMedi scroll-triggered offers popup
   -------------------------------------------------------------------------- */
.redmedi-offer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1095;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 28, 40, .46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.redmedi-offer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.redmedi-offer-popup {
    position: relative;
    width: min(100%, 470px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid #E2E9EF;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(15, 39, 57, .20);
    padding: 30px;
    transform: translateY(18px) scale(.985);
    transition: transform .22s ease;
}

.redmedi-offer-overlay.is-open .redmedi-offer-popup {
    transform: translateY(0) scale(1);
}

.redmedi-offer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid #DFE7ED;
    border-radius: 50%;
    background: #F7F9FB;
    color: #5C6C78;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.redmedi-offer-close:hover {
    background: #EEF3F6;
    border-color: #CAD7E0;
    color: var(--primary);
}

.redmedi-offer-gift {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: #FFF2F3;
    border: 1px solid #F5DCDD;
    color: var(--secondary);
    font-size: 28px;
}

.redmedi-offer-heading {
    padding-right: 34px;
}

.redmedi-offer-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.redmedi-offer-heading h2 {
    margin: 0 0 7px;
    color: #17364D;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.redmedi-offer-heading > p {
    margin: 0;
    color: #647786;
    font-size: 14px;
    line-height: 1.55;
}

.redmedi-offer-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.redmedi-offer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #E4EBF0;
    background: #F8FAFB;
}

.redmedi-offer-badge {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #FFF0F1;
    color: var(--secondary);
    border: 1px solid #F1DADB;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.redmedi-offer-badge span {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: .08em;
}

.redmedi-offer-badge-alt {
    background: #EDF5FA;
    border-color: #D8E7F0;
    color: var(--primary);
}

.redmedi-offer-item h3 {
    margin: 0 0 3px;
    color: #243746;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.redmedi-offer-item p {
    margin: 0;
    color: #667887;
    font-size: 12.5px;
    line-height: 1.45;
}

.redmedi-offer-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.redmedi-offer-primary,
.redmedi-offer-later {
    min-height: 43px;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 650;
}

.redmedi-offer-primary {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.redmedi-offer-later {
    flex: 0 0 auto;
    padding-left: 18px;
    padding-right: 18px;
    border: 1px solid #D7E1E8;
    background: #FFFFFF;
    color: #586C7A;
}

.redmedi-offer-later:hover {
    background: #F5F8FA;
    color: var(--primary);
}

.redmedi-offer-note {
    margin: 12px 0 0;
    color: #8A98A3;
    font-size: 10.5px;
    line-height: 1.45;
    text-align: center;
}

body.redmedi-offer-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .redmedi-offer-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .redmedi-offer-popup {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 24px 18px 20px;
        border-radius: 14px;
    }

    .redmedi-offer-gift {
        width: 54px;
        height: 54px;
        margin-bottom: 14px;
        font-size: 24px;
    }

    .redmedi-offer-heading h2 {
        font-size: 21px;
    }

    .redmedi-offer-item {
        gap: 11px;
        padding: 12px;
    }

    .redmedi-offer-badge {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 16px;
    }

    .redmedi-offer-actions {
        flex-direction: column;
    }

    .redmedi-offer-later {
        width: 100%;
    }
}

/* =========================================================
   RedMedi header refinement v8
   Compact first header, smaller logo/search, clean second-row actions.
   ========================================================= */
@media (min-width: 992px) {
    .redmedi-main-header-row {
        min-height: 68px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
        grid-template-columns: minmax(175px, 0.9fr) minmax(350px, 590px) minmax(160px, 0.9fr) !important;
        gap: 16px !important;
    }
    .site-header .logo-container img {
        width: 178px !important;
        max-height: 50px;
        object-fit: contain;
    }
    .redmedi-search-pill {
        min-height: 48px !important;
        padding: 4px 5px 4px 10px !important;
    }
    .redmedi-location-trigger {
        height: 38px !important;
    }
    .redmedi-current-location {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    .redmedi-search-submit {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }
}

@media (max-width: 991.98px) {
    .site-header .d-lg-none.p-3.pb-2.mb-2 {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        margin-bottom: 0 !important;
    }
    .site-header .logo-container img {
        width: 150px !important;
        max-height: 46px;
    }
    .redmedi-mobile-search-row {
        padding-top: 7px !important;
        padding-bottom: 9px !important;
    }
    .redmedi-header-search-mobile .redmedi-search-pill {
        min-height: 48px !important;
    }
}

.redmedi-secondary-actions {
    gap: 7px;
    white-space: nowrap;
}

.redmedi-header-phone {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border: 1px solid #DCE6EC;
    border-radius: 7px;
    background: #FFFFFF;
    color: #244A64;
    font-size: .78rem;
    line-height: 1;
}
.redmedi-header-phone:hover,
.redmedi-header-phone:focus {
    color: #0A4770;
    background: #F7FAFC;
    border-color: #C8D8E3;
}
.redmedi-report-btn {
    min-height: 32px !important;
    border-radius: 7px !important;
    padding: 6px 10px !important;
    color: #244A64 !important;
    border: 1px solid #DCE6EC !important;
    background: #FFFFFF !important;
}
.redmedi-report-btn:hover,
.redmedi-report-btn:focus {
    background: #F7FAFC !important;
    border-color: #C8D8E3 !important;
    color: #0A4770 !important;
}

/* Health Assistant is a text action, so it should be a compact rounded rectangle,
   not a circle/pill. */
.ai-floating-btn {
    border-radius: 10px !important;
    padding: 10px 14px !important;
    min-height: 44px;
}
.ai-floating-btn svg {
    width: 20px;
    height: 20px;
}


/* RedMedi v9: preserve home banner and keep phone contact as simple header text. */
.redmedi-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 0.86rem;
    line-height: 1;
    white-space: nowrap;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.redmedi-header-phone i {
    color: var(--primary, #073B63);
    font-size: 0.88rem;
}

/* Owl hides .owl-carousel until it is initialized; this keeps the original banner content safe as a fallback. */
#clientSlider:not(.owl-loaded) {
    display: block;
}
#clientSlider:not(.owl-loaded) > .item:not(:first-child) {
    display: none;
}
#clientSlider .post-slide {
    overflow: hidden;
}
#clientSlider .post-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   RedMedi v11 final cumulative header / controls refinement
   Keeps all requested content while making the header compact.
   ========================================================= */
@media (min-width: 992px) {
    .redmedi-main-header-row {
        min-height: 62px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        grid-template-columns: minmax(160px, .85fr) minmax(340px, 560px) minmax(150px, .85fr) !important;
        gap: 14px !important;
    }

    .site-header .logo-container img {
        width: 170px !important;
        max-height: 42px !important;
        object-fit: contain;
        object-position: left center;
    }

    .redmedi-search-pill {
        min-height: 32px !important;
        padding: 3px 4px 3px 9px !important;
    }

    .redmedi-location-trigger {
        height: 34px !important;
        min-height: 34px !important;
    }

    .redmedi-current-location {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .redmedi-search-submit {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
}

@media (max-width: 991.98px) {
    .site-header .d-lg-none.p-3.pb-2.mb-2 {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }

    .site-header .logo-container img {
        width: 138px !important;
        max-height: 42px !important;
        object-fit: contain;
        object-position: left center;
    }

    .redmedi-mobile-search-row {
        padding-top: 6px !important;
        padding-bottom: 8px !important;
    }

    .redmedi-header-search-mobile .redmedi-search-pill {
        min-height: 44px !important;
    }
}

/* Contact is intentionally plain text + icon, never a button. */
.redmedi-header-phone,
.redmedi-mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #334155 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    white-space: nowrap;
}

.redmedi-header-phone {
    font-size: .84rem;
}

.redmedi-header-phone i,
.redmedi-mobile-phone i {
    color: #0A4770;
    font-size: .9rem;
}

.redmedi-header-phone:hover,
.redmedi-header-phone:focus,
.redmedi-mobile-phone:hover,
.redmedi-mobile-phone:focus {
    color: #0A4770 !important;
    text-decoration: none;
}

.redmedi-mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.redmedi-mobile-phone {
    font-size: .95rem;
    font-weight: 600;
}

.redmedi-mobile-report-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}
.redmedi-mobile-report-link i { color: #0A4770; }
.redmedi-mobile-report-link:hover,
.redmedi-mobile-report-link:focus { color: #0A4770; }

/* Health Assistant follows the same professional 8px control radius. */
.ai-floating-btn {
    border-radius: 8px !important;
    padding: 9px 13px !important;
    min-height: 42px !important;
}

/* Preserve the complete home banner as a real slider, not a static banner. */
#clientSlider {
    position: relative;
}
#clientSlider .item,
#clientSlider .post-slide {
    width: 100%;
}
#clientSlider .post-slide img {
    width: 100%;
    height: auto;
    display: block;
}
#clientSlider.redmedi-fallback-slider > .item {
    transition: opacity .35s ease;
}


/* =========================================================
   RedMedi v13 — complete carousel support + checkout progress
   ========================================================= */

/* Keep every Owl section visible while the plugin initializes or when CDN is unavailable. */
#clientSlider:not(.owl-loaded),
#signInSlider:not(.owl-loaded),
#discoverSlider:not(.owl-loaded),
#popularSlider:not(.owl-loaded),
#wlSlider:not(.owl-loaded) {
    display: block;
}

#clientSlider:not(.owl-loaded) > .item:not(:first-child),
#signInSlider:not(.owl-loaded) > .item:not(:first-child),
#discoverSlider:not(.owl-loaded) > .item:not(:first-child),
#popularSlider:not(.owl-loaded) > .item:not(:first-child),
#wlSlider:not(.owl-loaded) > .item:not(:first-child) {
    display: none;
}

.redmedi-fallback-slider > .item {
    transition: opacity .35s ease;
}

/* Checkout stepper: match the clean Cart → Member → Address → Payment layout.
   Intentionally no coloured panel/background behind the progress bar. */
.checkout,
.checkout .progress-step,
.checkout .progress-container {
    background: transparent !important;
    background-image: none !important;
}

.checkout .progress-step {
    padding-top: 2px;
}

.checkout .progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 54px 0 78px;
    padding: 0;
    overflow: visible;
}

.checkout .progress-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
    background: #cfcfcf;
    z-index: 0;
}

    .checkout .progress-container .progress {
        position: absolute;
        top: 50%;
        left: 0;
        width: 0%;
        height: 2px;
        min-height: 2px;
        transform: translateY(-50%);
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #06274b;
        overflow: visible;
        z-index: 1;
        transition: width .35s ease;
    }

.checkout .progress-container .circle {
    position: relative;
    z-index: 2;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    min-width: 14px;
    padding: 0;
    border: 3px solid #b8b8b8;
    border-radius: 50%;
    background: #8c8c8c;
    color: #8c8c8c;
    box-shadow: 0 0 0 2px #fff;
}

    .checkout .progress-container .circle.active {
        border-color: #30649d;
        background: #06274b;
        color: #06274b;
    }

.checkout .progress-container .circle i {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: inherit;
    font-style: normal;
}

.checkout .progress-container .circle i svg {
    width: 24px;
    height: 24px;
}

.checkout .progress-container .circle .caption {
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    min-width: 112px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    color: #777;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
}

.checkout .progress-container .circle.active .caption {
    color: #000;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .checkout .progress-container {
        margin-top: 50px;
        margin-bottom: 68px;
        padding: 0 8px;
    }

    .checkout .progress-container .circle .caption {
        min-width: 76px;
        bottom: -31px;
        font-size: 11px;
    }

    .checkout .progress-container .circle i {
        bottom: 23px;
    }

    .checkout .progress-container .circle i svg {
        width: 21px;
        height: 21px;
    }
}

/* =========================================================
   RedMedi v14 — top banner copy overlays
   Keeps the supplied artwork untouched and uses its open left
   space for concise, responsive messaging and a light CTA.
   ========================================================= */
#clientSlider .redmedi-hero-slide {
    position: relative;
    overflow: hidden;
}

#clientSlider .redmedi-hero-slide > img {
    position: relative;
    z-index: 1;
}

#clientSlider .redmedi-hero-copy {
    position: absolute;
    z-index: 2;
    left: clamp(34px, 5.2vw, 92px);
    top: 50%;
    transform: translateY(-50%);
    width: min(42%, 610px);
    color: #17354d;
    pointer-events: none;
}

#clientSlider .redmedi-hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(226, 242, 252, 0.96);
    color: #17659a;
    font-size: clamp(0.70rem, 0.72vw, 0.86rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

#clientSlider .redmedi-hero-copy h1 {
    margin: 0 0 12px;
    max-width: 590px;
    color: #163b58;
    font-size: clamp(1.48rem, 2.15vw, 2.75rem);
    line-height: 1.08;
    font-weight: 750;
    letter-spacing: -0.025em;
}

#clientSlider .redmedi-hero-copy p {
    margin: 0 0 18px;
    max-width: 520px;
    color: #526b7c;
    font-size: clamp(0.82rem, 0.96vw, 1.08rem);
    line-height: 1.55;
    font-weight: 450;
}

#clientSlider .redmedi-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid rgba(31, 111, 161, 0.22);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.88);
    color: #0b5f92;
    box-shadow: 0 5px 14px rgba(37, 91, 124, 0.08);
    font-size: clamp(0.78rem, 0.82vw, 0.94rem);
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    pointer-events: auto;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

#clientSlider .redmedi-hero-link:hover,
#clientSlider .redmedi-hero-link:focus {
    color: #0b5f92;
    background: #ffffff;
    border-color: rgba(31, 111, 161, 0.42);
    transform: translateY(-1px);
}

#clientSlider .redmedi-hero-link i {
    font-size: 0.82em;
}

@media (max-width: 991.98px) {
    #clientSlider .redmedi-hero-copy {
        left: 5%;
        width: 44%;
    }

    #clientSlider .redmedi-hero-kicker {
        padding: 4px 8px;
        margin-bottom: 7px;
        font-size: clamp(0.54rem, 1.05vw, 0.68rem);
    }

    #clientSlider .redmedi-hero-copy h1 {
        margin-bottom: 7px;
        font-size: clamp(1.02rem, 2.75vw, 1.7rem);
    }

    #clientSlider .redmedi-hero-copy p {
        margin-bottom: 10px;
        font-size: clamp(0.68rem, 1.35vw, 0.82rem);
        line-height: 1.4;
    }

    #clientSlider .redmedi-hero-link {
        min-height: 32px;
        padding: 7px 11px;
        font-size: clamp(0.65rem, 1.2vw, 0.78rem);
    }
}

@media (max-width: 575.98px) {
    .package-post {
        padding-top: 6px;
    }

    #clientSlider .post-slide {
        padding: 5px;
    }

    #clientSlider .redmedi-hero-copy {
        left: 4.6%;
        width: 47%;
    }

    #clientSlider .redmedi-hero-kicker {
        padding: 3px 6px;
        margin-bottom: 5px;
        font-size: 0.48rem;
        letter-spacing: 0.035em;
    }

    #clientSlider .redmedi-hero-copy h1 {
        margin-bottom: 5px;
        font-size: clamp(0.78rem, 4.1vw, 1.12rem);
        line-height: 1.05;
    }

    #clientSlider .redmedi-hero-copy p {
        display: none;
    }

    #clientSlider .redmedi-hero-link {
        min-height: 26px;
        padding: 5px 8px;
        border-radius: 7px;
        font-size: 0.58rem;
        box-shadow: none;
    }
}

/* ===== RedMedi About Us page: scoped professional redesign ===== */
.rm-about-page {
    --rm-about-navy: #073B63;
    --rm-about-navy-dark: #032A47;
    --rm-about-red: #E30613;
    --rm-about-text: #1F2937;
    --rm-about-muted: #64748B;
    --rm-about-line: #E2E8F0;
    --rm-about-soft: #F7F9FB;
    --rm-about-blue-soft: #EAF3F8;
    overflow: hidden;
    color: var(--rm-about-text);
}

.rm-about-page section { padding: 64px 0; }
.rm-about-page h1,
.rm-about-page h2,
.rm-about-page h3,
.rm-about-page p { margin-top: 0; }

.rm-about-kicker,
.rm-about-section-kicker {
    color: var(--rm-about-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rm-about-hero {
    position: relative;
    padding: 58px 0 66px !important;
    background: linear-gradient(135deg, #F8FBFD 0%, #EEF5F9 60%, #FFFFFF 100%);
}

.rm-about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.rm-about-kicker span {
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--rm-about-red);
}

.rm-about-hero h1 {
    max-width: 620px;
    margin-bottom: 16px;
    color: var(--rm-about-navy-dark);
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -.4px;
    font-weight: 700;
}

.rm-about-lead {
    max-width: 610px;
    margin-bottom: 24px;
    color: #526575;
    font-size: 16px;
    line-height: 1.75;
}

.rm-about-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;
}

.rm-about-actions .btn-primary {
    min-height: 44px;
    padding: .62rem 1.15rem !important;
    border-radius: 7px !important;
    font-size: 14px;
    font-weight: 600;
}

.rm-about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rm-about-navy);
    font-size: 14px;
    font-weight: 600;
}

.rm-about-text-link:hover { color: var(--rm-about-red); }

.rm-about-company-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #617485;
    font-size: 13px;
}

.rm-about-company-line i { color: var(--rm-about-red); }
.rm-about-dot { width: 4px; height: 4px; border-radius: 50%; background: #9BADBA; }

.rm-about-hero-visual {
    position: relative;
    max-width: 570px;
    margin-left: auto;
    padding: 16px 14px 24px 24px;
}

.rm-about-visual-backdrop {
    position: absolute;
    inset: 0 0 4px 52px;
    border-radius: 24px 7px 24px 7px;
    background: var(--rm-about-navy);
    transform: rotate(2deg);
}

.rm-about-hero-visual > img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    min-height: 350px;
    object-fit: cover;
    border-radius: 18px 6px 18px 6px;
    box-shadow: 0 16px 38px rgba(8, 42, 66, .14);
}

.rm-about-float-card {
    position: absolute;
    right: -3px;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--rm-about-line);
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 10px 26px rgba(19, 55, 79, .11);
}

.rm-about-float-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--rm-about-blue-soft);
    color: var(--rm-about-navy);
    flex: 0 0 auto;
}

.rm-about-float-card strong,
.rm-about-float-card small { display: block; }
.rm-about-float-card strong { color: var(--rm-about-navy-dark); font-size: 13px; font-weight: 600; }
.rm-about-float-card small { margin-top: 1px; color: var(--rm-about-muted); font-size: 11px; }

.rm-about-intro { background: #FFFFFF; }

.rm-about-intro h2,
.rm-about-heading-wrap h2,
.rm-about-company-card h2,
.rm-about-leadership-card h2,
.rm-about-journey h2,
.rm-about-cta h2 {
    color: var(--rm-about-navy-dark);
    font-weight: 600;
    letter-spacing: -.2px;
}

.rm-about-intro h2 {
    max-width: 500px;
    margin: 7px 0 0;
    font-size: 32px;
    line-height: 1.3;
}

.rm-about-intro-copy {
    margin: 0;
    color: var(--rm-about-muted);
    font-size: 15px;
    line-height: 1.8;
}

.rm-about-intro-copy strong { color: #344A59; font-weight: 600; }

.rm-about-principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.rm-about-principle {
    display: flex;
    gap: 12px;
    min-height: 124px;
    padding: 18px;
    border: 1px solid var(--rm-about-line);
    border-radius: 10px;
    background: #FFFFFF;
}

.rm-about-principle > span,
.rm-about-service-card > span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--rm-about-blue-soft);
    color: var(--rm-about-navy);
    flex: 0 0 auto;
}

.rm-about-principle h3,
.rm-about-purpose-card h3,
.rm-about-step h3,
.rm-about-service-card h3 {
    color: var(--rm-about-navy-dark);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.rm-about-principle h3 { margin: 0 0 5px; font-size: 16px; }
.rm-about-principle p { margin: 0; color: var(--rm-about-muted); font-size: 13px; line-height: 1.6; }

.rm-about-purpose,
.rm-about-services { background: var(--rm-about-soft); }

.rm-about-heading-wrap {
    max-width: 700px;
    margin: 0 auto 32px;
}

.rm-about-heading-wrap h2 {
    margin: 7px 0 10px;
    font-size: 32px;
    line-height: 1.3;
}

.rm-about-heading-wrap > p {
    margin: 0;
    color: var(--rm-about-muted);
    font-size: 15px;
    line-height: 1.7;
}

.rm-about-purpose-card {
    height: 100%;
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--rm-about-line);
    border-radius: 11px;
    background: #FFFFFF;
}

.rm-about-purpose-card-featured { border-color: #BDD3E0; box-shadow: 0 10px 26px rgba(7, 59, 99, .06); }

.rm-about-purpose-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 10px;
    background: var(--rm-about-blue-soft);
    color: var(--rm-about-navy);
    font-size: 16px;
}

.rm-about-purpose-card-featured .rm-about-purpose-icon { background: var(--rm-about-navy); color: #FFFFFF; }
.rm-about-purpose-card h3 { margin-bottom: 9px; }
.rm-about-purpose-card p { margin: 0; color: var(--rm-about-muted); font-size: 14px; line-height: 1.7; }

.rm-about-company { background: #FFFFFF; }

.rm-about-company-card,
.rm-about-leadership-card {
    padding: 28px;
    border: 1px solid var(--rm-about-line);
    border-radius: 12px;
    background: #FFFFFF;
}

.rm-about-company-card h2,
.rm-about-leadership-card h2 {
    margin: 7px 0 22px;
    font-size: 28px;
    line-height: 1.3;
}

.rm-about-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--rm-about-line);
    border-left: 1px solid var(--rm-about-line);
}

.rm-about-info-item {
    min-height: 90px;
    padding: 16px 18px;
    border-right: 1px solid var(--rm-about-line);
    border-bottom: 1px solid var(--rm-about-line);
    background: #FBFCFD;
}

.rm-about-info-item span,
.rm-about-office span {
    display: block;
    margin-bottom: 5px;
    color: #7A8B99;
    font-size: 12px;
    font-weight: 500;
}

.rm-about-info-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: #2C4050;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.rm-about-director-list { display: grid; gap: 10px; margin-bottom: 22px; }
.rm-about-director { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 9px; background: #F7FAFC; }
.rm-about-director > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rm-about-navy); color: #FFFFFF; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.rm-about-director strong, .rm-about-director small { display: block; }
.rm-about-director strong { color: #2C4050; font-size: 14px; font-weight: 600; }
.rm-about-director small { margin-top: 1px; color: var(--rm-about-muted); font-size: 12px; }

.rm-about-office { display: flex; align-items: flex-start; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rm-about-line); }
.rm-about-office > i { margin-top: 4px; color: var(--rm-about-red); }
.rm-about-office p { margin: 0; color: #4E6272; font-size: 14px; line-height: 1.65; }

.rm-about-associated {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #DCE7EE;
    border-radius: 9px;
    background: #F8FBFD;
}

.rm-about-associated > div { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: var(--rm-about-blue-soft); color: var(--rm-about-navy); flex: 0 0 auto; }
.rm-about-associated p { margin: 2px 0 0; color: #596D7C; font-size: 13px; line-height: 1.65; }
.rm-about-associated strong { color: #344A59; font-weight: 600; }

.rm-about-journey { background: #FFFFFF; }
.rm-about-journey-head { margin-bottom: 30px; }
.rm-about-journey h2 { max-width: 640px; margin: 7px 0 0; font-size: 32px; line-height: 1.3; }
.rm-about-journey-head p { margin: 0; color: var(--rm-about-muted); font-size: 15px; line-height: 1.7; }

.rm-about-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--rm-about-line);
    border-radius: 12px;
    background: #FFFFFF;
}

.rm-about-step { min-height: 205px; padding: 22px; border-right: 1px solid var(--rm-about-line); }
.rm-about-step:last-child { border-right: 0; }
.rm-about-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.rm-about-step-top span { color: #9AABB8; font-size: 12px; font-weight: 700; }
.rm-about-step-top i { color: var(--rm-about-navy); font-size: 17px; }
.rm-about-step h3 { margin-bottom: 7px; font-size: 16px; }
.rm-about-step p { margin: 0; color: var(--rm-about-muted); font-size: 13px; line-height: 1.65; }

.rm-about-service-card {
    height: 100%;
    min-height: 205px;
    padding: 22px;
    border: 1px solid var(--rm-about-line);
    border-radius: 10px;
    background: #FFFFFF;
}

.rm-about-service-card > span { margin-bottom: 18px; }
.rm-about-service-card h3 { margin-bottom: 7px; font-size: 16px; }
.rm-about-service-card p { margin: 0; color: var(--rm-about-muted); font-size: 13px; line-height: 1.65; }

.rm-about-cta-section { padding-top: 16px !important; padding-bottom: 64px !important; background: #FFFFFF; }
.rm-about-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px; border-radius: 12px; background: linear-gradient(135deg, #073B63 0%, #0A4F7E 100%); color: #FFFFFF; }
.rm-about-cta > div:first-child { max-width: 700px; }
.rm-about-cta > div:first-child > span { display: block; margin-bottom: 5px; color: #CBE0ED; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rm-about-cta h2 { margin-bottom: 7px; color: #FFFFFF; font-size: 28px; }
.rm-about-cta p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.65; }
.rm-about-cta-actions { display: flex; min-width: 300px; gap: 9px; }
.rm-about-cta .btn { min-height: 42px; border-radius: 7px !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rm-about-cta-primary { background: #FFFFFF !important; border: 1px solid #FFFFFF !important; color: var(--rm-about-navy) !important; }
.rm-about-cta-secondary { background: transparent !important; border: 1px solid rgba(255,255,255,.4) !important; color: #FFFFFF !important; }
.rm-about-app-sec { margin-top: 0; }

@media (max-width: 991.98px) {
    .rm-about-page section { padding: 54px 0; }
    .rm-about-hero { padding: 50px 0 58px !important; }
    .rm-about-hero-visual { margin: 10px auto 0; }
    .rm-about-principles, .rm-about-steps { grid-template-columns: repeat(2, 1fr); }
    .rm-about-step:nth-child(2) { border-right: 0; }
    .rm-about-step:nth-child(-n+2) { border-bottom: 1px solid var(--rm-about-line); }
    .rm-about-cta { align-items: flex-start; flex-direction: column; }
    .rm-about-cta-actions { min-width: 0; width: 100%; max-width: 420px; }
}

@media (max-width: 767.98px) {
    .rm-about-page section { padding: 46px 0; }
    .rm-about-hero { padding: 42px 0 50px !important; }
    .rm-about-hero h1 { font-size: 34px; line-height: 1.25; }
    .rm-about-lead { font-size: 15px; }
    .rm-about-intro h2, .rm-about-heading-wrap h2, .rm-about-journey h2 { font-size: 28px; }
    .rm-about-company-card h2, .rm-about-leadership-card h2 { font-size: 25px; }
    .rm-about-hero-visual { padding: 12px 8px 24px 16px; }
    .rm-about-visual-backdrop { inset: 0 0 6px 34px; border-radius: 18px 6px 18px 6px; }
    .rm-about-hero-visual > img { min-height: 290px; border-radius: 14px 5px 14px 5px; }
    .rm-about-principles, .rm-about-steps { grid-template-columns: 1fr; }
    .rm-about-step { min-height: 0; border-right: 0 !important; border-bottom: 1px solid var(--rm-about-line); }
    .rm-about-step:last-child { border-bottom: 0; }
    .rm-about-step-top { margin-bottom: 20px; }
    .rm-about-info-grid { grid-template-columns: 1fr; }
    .rm-about-company-card, .rm-about-leadership-card { padding: 22px; }
    .rm-about-cta { padding: 28px 24px; }
    .rm-about-cta h2 { font-size: 25px; }
    .rm-about-cta-actions { flex-direction: column; max-width: none; }
}

@media (max-width: 480px) {
    .rm-about-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
    .rm-about-company-line { align-items: flex-start; flex-direction: column; gap: 5px; }
    .rm-about-company-line .rm-about-dot { display: none; }
    .rm-about-float-card { position: relative; right: auto; bottom: auto; z-index: 3; margin: 10px 0 0 12px; width: calc(100% - 20px); }
}


/* Packages page styles moved from packages.html */
/* Professional Packages page — scoped so the rest of the website remains unchanged */
    .packages-page .packages-catalog {
        position: relative;
        padding: 44px 0 62px;
        background:
            radial-gradient(circle at 92% 8%, rgba(7, 59, 99, 0.06), transparent 30%),
            linear-gradient(180deg, #fbfdff 0%, #f7f9fc 100%);
        overflow: hidden;
    }

    .packages-page .packages-catalog::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 1px;
        background: #edf1f5;
        pointer-events: none;
    }

    .packages-page .packages-catalog > .container {
        position: relative;
        z-index: 1;
    }

    .packages-page .packages-heading-row {
        gap: 20px;
        align-items: flex-end;
        margin-bottom: 24px !important;
    }

    .packages-page .packages-heading-row > div:first-child {
        max-width: 680px;
    }

    .packages-page .packages-heading-row h2 {
        margin: 0 0 8px;
        color: #17364f;
        font-size: clamp(25px, 2.4vw, 34px);
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -0.55px;
    }

    .packages-page .packages-heading-row p {
        margin: 0;
        max-width: 650px;
        color: #667481 !important;
        font-size: 14px;
        line-height: 1.65;
        font-weight: 400;
    }

    .packages-page .packages-search-bar {
        position: relative;
        flex: 0 0 min(100%, 360px);
        min-width: 300px;
    }

    .packages-page .packages-search-bar .form-control {
        height: 46px;
        padding: 0 46px 0 16px;
        border: 1px solid #dfe6ec;
        border-radius: 12px;
        background: #fff;
        color: #223748;
        font-size: 13px;
        font-weight: 400;
        box-shadow: 0 4px 14px rgba(24, 54, 79, 0.045);
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .packages-page .packages-search-bar .form-control::placeholder {
        color: #8a98a5;
        opacity: 1;
    }

    .packages-page .packages-search-bar .form-control:focus {
        border-color: rgba(7, 59, 99, .55);
        box-shadow: 0 0 0 3px rgba(7, 59, 99, .08);
    }

    .packages-page .packages-search-bar > i {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #6f7f8c !important;
        font-size: 14px;
        pointer-events: none;
    }

    .packages-page .packages-panel {
        border: 1px solid #e6ebf0;
        border-radius: 16px !important;
        box-shadow: 0 10px 34px rgba(21, 51, 75, .07);
        background: #fff;
    }

    .packages-page #labTabs {
        gap: 8px;
        padding: 12px 14px;
        border-bottom: 1px solid #e8edf2 !important;
        background: #fff;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .packages-page #labTabs::-webkit-scrollbar {
        display: none;
    }

    .packages-page #labTabs .nav-item {
        flex: 0 0 auto !important;
    }

    .packages-page #labTabs .nav-link {
        width: auto !important;
        min-width: max-content;
        padding: 9px 15px !important;
        border: 1px solid transparent;
        border-radius: 9px;
        background: transparent;
        color: #687887;
        font-size: 13px;
        line-height: 1.25;
        font-weight: 500;
        transition: all .2s ease;
    }

    .packages-page #labTabs .nav-link:hover {
        color: var(--primary);
        background: #f3f7fa;
        border-color: #e4ebf0;
    }

    .packages-page #labTabs .nav-link.active {
        color: #fff !important;
        background: var(--primary) !important;
        border-color: var(--primary) !important;
        box-shadow: 0 4px 11px rgba(7, 59, 99, .16);
    }

.packages-page #tab-content {
    padding: 32px 15px 18px 15px !important;
    background: #fbfcfd;
}

    .packages-page #tab-content .row.gap_10,
    .packages-page #tab-content .product-grid {
        --bs-gutter-x: 18px;
        --bs-gutter-y: 18px;
        row-gap: 0 !important;
    }

    .packages-page #tab-content .row.gap_10 > [class*="col-"],
    .packages-page #tab-content .product-grid > [class*="col-"] {
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
        margin-top: var(--bs-gutter-y) !important;
        display: flex;
    }

    .packages-page #tab-content .row.gap_10 > [class*="col-"]:nth-child(-n+4),
    .packages-page #tab-content .product-grid > [class*="col-"]:nth-child(-n+4) {
        margin-top: 0 !important;
    }

    .packages-page .box-border {
        position: relative;
        width: 100%;
        min-height: 360px;
        padding: 18px;
        overflow: hidden;
        border: 1px solid #e3e8ed;
        border-radius: 13px;
        background: #fff;
        box-shadow: 0 3px 12px rgba(18, 48, 72, .04);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

   /* .packages-page .box-border::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 58px;
        border-radius: 0 0 6px 0;
        background: #d53535;
    }*/

    .packages-page .popular .box-border:hover {
        transform: translateY(-3px);
        border-color: #d5dde5;
        box-shadow: 0 12px 26px rgba(20, 52, 77, .10) !important;
    }

    .packages-page .popular-test {
        min-height: 0;
        color: inherit;
        text-decoration: none;
    }

    .packages-page .popular-test:hover {
        color: inherit;
    }

    .packages-page .popular-test h3 {
        min-height: 44px;
        margin: 0 0 13px;
        padding-right: 4px;
        color: #17364f;
        font-size: 15px;
        line-height: 1.42;
        font-weight: 650;
        letter-spacing: -0.1px;
    }

/*    .packages-page .popular-test > div {
        min-height: 126px;
    }*/

    .packages-page .box-border span {
        color: #74828f;
        font-size: 12px;
        line-height: 1.8;
        font-weight: 400;
        letter-spacing: 0;
    }

    .packages-page .popular-test > div > span:first-of-type {
        display: inline-flex;
        align-items: center;
        min-height: 25px;
        margin-bottom: 7px;
        padding: 3px 9px;
        border-radius: 999px;
        background: #eef5fa;
        color: var(--primary);
        font-size: 11px;
        line-height: 1.35;
        font-weight: 600;
    }

    .packages-page .popular-test label {
        display: inline-flex;
        align-items: center;
        margin-top: 10px !important;
        color: var(--primary);
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
    }

    .packages-page .popular-test label:hover {
        text-decoration: underline;
    }

    .packages-page .box-border > div:last-child {
        padding-top: 14px;
        border-top: 1px solid #edf1f4;
    }

    .packages-page .box-border > div:last-child > .mb-4 {
        margin-bottom: 14px !important;
    }

    .packages-page .box-border > div:last-child > .mb-4 > span:first-child {
        display: inline-block;
        margin-bottom: 4px;
        color: #6d7a86;
        font-size: 11.5px;
        line-height: 1.45;
        font-weight: 400;
    }

    .packages-page .box-border > div:last-child > .mb-4 > span:first-child b {
        color: #344d61;
        font-weight: 600;
    }

    .packages-page .box-border h4 {
        margin: 0;
        color: #162f43;
        font-size: 19px;
        line-height: 1.2;
        font-weight: 700;
    }

    .packages-page .box-border h4.d-flex {
        margin: 4px 0 5px !important;
    }

    .packages-page .package-discount {
        display: inline-flex;
        align-items: center;
        padding: 4px 7px;
        border-radius: 6px;
        background: #eaf7ef !important;
        color: #21844b !important;
        font-size: 10.5px !important;
        line-height: 1;
        font-weight: 700 !important;
    }

    .packages-page .package-amount {
        color: #8a97a2 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        text-decoration: line-through;
    }

    .packages-page .popular-btn button {
        min-height: 40px;
        border: 1px solid var(--primary);
        border-radius: 9px;
        background: #fff;
        color: var(--primary);
        font-size: 12px;
        font-weight: 650;
        letter-spacing: .18px;
        transition: all .2s ease;
    }

    .packages-page .popular-btn button svg {
        width: 16px;
        height: 16px;
    }

    .packages-page .popular-btn button:hover,
    .packages-page .popular-btn button:focus {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 6px 14px rgba(7, 59, 99, .14);
    }

    @media (max-width: 991.98px) {
        .packages-page .packages-catalog {
            padding: 34px 0 48px;
        }

        .packages-page .packages-heading-row {
            align-items: stretch;
        }

        .packages-page .packages-search-bar {
            flex-basis: 100%;
            min-width: 0;
        }

        .packages-page #tab-content .row.gap_10 > [class*="col-"],
        .packages-page #tab-content .product-grid > [class*="col-"] {
            width: 50% !important;
        }

        .packages-page #tab-content .row.gap_10 > [class*="col-"]:nth-child(n+3),
        .packages-page #tab-content .product-grid > [class*="col-"]:nth-child(n+3) {
            margin-top: var(--bs-gutter-y) !important;
        }
    }

    @media (max-width: 575.98px) {
        .packages-page .packages-catalog {
            padding: 27px 0 36px;
        }

        .packages-page .packages-heading-row {
            gap: 16px;
            margin-bottom: 18px !important;
        }

        .packages-page .packages-heading-row h2 {
            font-size: 24px;
            letter-spacing: -.35px;
        }

        .packages-page .packages-heading-row p {
            font-size: 13px;
            line-height: 1.55;
        }

        .packages-page .packages-search-bar .form-control {
            height: 44px;
        }

        .packages-page .packages-panel {
            border-radius: 13px !important;
        }

        .packages-page #labTabs {
            padding: 10px 11px;
            gap: 6px;
        }

        .packages-page #labTabs .nav-link {
            padding: 8px 12px !important;
            font-size: 12px;
        }

        .packages-page #tab-content {
            padding: 14px !important;
        }

        .packages-page #tab-content .row.gap_10,
        .packages-page #tab-content .product-grid {
            --bs-gutter-x: 0;
            --bs-gutter-y: 12px;
        }

        .packages-page #tab-content .row.gap_10 > [class*="col-"],
        .packages-page #tab-content .product-grid > [class*="col-"] {
            width: 100% !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-top: var(--bs-gutter-y) !important;
        }

        .packages-page #tab-content .row.gap_10 > [class*="col-"]:first-child,
        .packages-page #tab-content .product-grid > [class*="col-"]:first-child {
            margin-top: 0 !important;
        }

        .packages-page .box-border {
            min-height: 0;
            padding: 17px;
        }

        .packages-page .popular-test h3 {
            min-height: 0;
            font-size: 15px;
        }

        .packages-page .popular-test > div {
            min-height: 0;
        }
    }

/* Packages page former inline styles */
#offcanvas-menu {
    width: 300px;
}

.offcanvas-footer.position-fixed {
    bottom: 0;
}

.site-header {
    z-index: 1020;
}

.cart-count-badge {
    font-size: 0.65rem;
}

.cart-count-badge-desktop {
    position: absolute;
    top: -7px;
    right: -7px;
}

.cart-dropdown-menu {
    width: 280px;
    display: none;
    z-index: 999;
}

.desktop-cart-link {
    max-height: 32.5px;
}

.desktop-dropdown-content {
    display: none;
}

.packages-search-icon {
    color: var(--color-text-light);
}

.floating-action-button-size {
    width: 40px;
    height: 35px;
}

#staticBackdrop {
    width: 500px;
}



/* RedMedi package catalog refinement - v26 */
/* .packages-page,
.page-test-detail,
.page-checkout {
    font-family: 'Roboto', Arial, sans-serif;
} */
.packages-page .packages-catalog,
.page-test-detail .package-detail,
.page-checkout .checkout {
    font-size: 14px;
}
.packages-page .packages-heading-row h2,
.page-test-detail .package-detail h2 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
}
.packages-page #labTabs {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.packages-page #labTabs:hover {
    scrollbar-width: thin;
    scrollbar-color: #c6d0d9 #f4f7f9;
}
.packages-page #labTabs::-webkit-scrollbar {
    display: block;
    height: 0;
}
.packages-page #labTabs:hover::-webkit-scrollbar {
    height: 6px;
}
.packages-page #labTabs::-webkit-scrollbar-track { background: #f4f7f9; }
.packages-page #labTabs::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #c6d0d9;
}
/*.packages-page #labTabs .nav-item:first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    padding-right: 4px;
    background: #fff;
}*/
.packages-page .packages-tabs-scroll-hint {
    padding: 6px 16px 8px;
    border-bottom: 1px solid #edf1f4;
    color: #7b8794;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    text-align: right;
}
.packages-page .catalog-card-media,
.page-test-detail .catalog-card-media {
    width: 100%;
    height: 112px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #eef2f5;
    border-radius: 10px;
    background: #f7fafc;
}
.packages-page .catalog-card-media img,
.page-test-detail .catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.packages-page .box-border {
    min-height: 430px;
}
.packages-page .catalog-card-category,
.page-test-detail .catalog-card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}
.packages-page .popular-test h3,
.page-test-detail .catalog-card h3 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}
.packages-page .catalog-card-summary {
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}
.packages-page .catalog-preview-list {
    font-size: 12.5px;
    line-height: 1.45;
}
.packages-page .catalog-price-row span,
.page-test-detail .catalog-price-row span { font-size: 12.5px; font-weight: 400; }
.packages-page .catalog-price-row strong,
.page-test-detail .catalog-price-row strong { font-size: 14px; font-weight: 600; }
.packages-page .catalog-load-more-wrap {
    padding: 4px 0 12px;
}
.packages-page .catalog-load-more-btn {
    min-width: 140px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.packages-page .catalog-visible-count {
    color: #7b8794;
    font-size: 11.5px;
    font-weight: 400;
}
@media(max-width:575.98px){
    .packages-page .box-border{min-height:0;}
    .packages-page .catalog-card-media{height:100px;}
    .packages-page .packages-tabs-scroll-hint{text-align:left;padding-left:12px;}
}
/* RedMedi v27 package catalog refinements */
.packages-page .packages-category-tabs{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:8px 12px 4px;
    scroll-behavior:smooth;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
.packages-page .packages-category-tabs:hover{
    scrollbar-width:thin;
    scrollbar-color:#b9c5d0 #eef3f6;
}
.packages-page .packages-category-tabs::-webkit-scrollbar{
    height:0;
}
.packages-page .packages-category-tabs:hover::-webkit-scrollbar{
    height:6px;
}
.packages-page .packages-category-tabs::-webkit-scrollbar-track{
    background:#eef3f6;
    border-radius:999px;
}
.packages-page .packages-category-tabs::-webkit-scrollbar-thumb{
    background:#b9c5d0;
    border-radius:999px;
}
.packages-page .packages-category-tabs .nav-item{
    flex:0 0 auto;
}
.packages-page .packages-category-tabs .nav-item:first-child{
    position:static;
    left:auto;
    z-index:auto;
    padding-right:0;
    background:transparent;
}
.packages-page .packages-category-tabs .nav-link{
    min-width:auto;
    padding:11px 16px;
    border-radius:9px;
    font-size:13.5px;
    line-height:1.25;
    font-weight:500;
    white-space:nowrap;
}
.packages-page .packages-tabs-scroll-hint{
    padding:4px 16px 7px;
    border-bottom:1px solid #edf1f4;
    color:#8a96a3;
    background:#fff;
    font-size:11px;
    font-weight:400;
    text-align:right;
}

.packages-page .catalog-card{
    display:flex;
    flex-direction:column;
    min-height:350px;
    height:100%;
}
.packages-page .catalog-card-link{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    height:auto;
    min-height:0;
    text-decoration:none;
}
.packages-page .catalog-card-media{
    display:none!important;
}
.packages-page .catalog-card-category{
    margin-bottom:8px;
    font-size:12.5px;
    line-height:1.3;
    font-weight:600;
    letter-spacing:.035em;
}
.packages-page .popular-test h3{
    margin-bottom:12px;
    font-size:18px;
    line-height:1.38;
    font-weight:600;
}
.packages-page .catalog-card-summary{
    font-size:14.5px;
    line-height:1.55;
    font-weight:400;
    -webkit-line-clamp:3;
}
.packages-page .catalog-card-summary strong{
    font-weight:600;
}
.packages-page .catalog-price-row span{
    font-size:13.5px;
    font-weight:400;
}
.packages-page .catalog-price-row strong{
    font-size:15.5px;
    line-height:1.3;
    font-weight:600;
}
.packages-page .catalog-preview-list{
    margin-bottom:14px;
    font-size:13.5px;
    line-height:1.5;
}
.packages-page .catalog-book-now-btn{
    width:100%;
    margin-top:14px;
    padding:10px 14px;
    border-radius:8px;
    font-size:14px;
    line-height:1.25;
    font-weight:600;
    text-align:center;
}
@media(max-width:767.98px){
    .packages-page .packages-category-tabs{
        padding:7px 10px 3px;
    }
    .packages-page .packages-category-tabs .nav-link{
        padding:10px 14px;
        font-size:13px;
    }
    .packages-page .catalog-card{
        min-height:0;
    }
    .packages-page .popular-test h3{
        font-size:17px;
    }
    .packages-page .catalog-card-summary{
        font-size:14px;
    }
}

/* RedMedi v29 — professional package card redesign (packages page only) */
.packages-page .catalog-card {
    min-height: 410px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e2e8ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(20, 52, 77, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.packages-page .catalog-card:hover {
    transform: translateY(-3px);
    border-color: #cfd9e2;
    box-shadow: 0 12px 28px rgba(20, 52, 77, .11);
}

.packages-page .catalog-card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 20px 20px 0;
    color: inherit;
    text-decoration: none;
}

.packages-page .catalog-card-category {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin: 0 0 13px;
    padding: 5px 10px;
    border: 1px solid #dbe7ef;
    border-radius: 999px;
    background: #f4f8fb;
    color: var(--primary);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
}

.packages-page .popular-test h3 {
    min-height: 50px;
    margin: 0 0 13px;
    color: #17364f;
    font-size: 18px;
    line-height: 1.38;
    font-weight: 700;
    letter-spacing: -.15px;
}

.packages-page .catalog-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.packages-page .catalog-card-summary {
    order: 0;
    display: -webkit-box;
    min-height: 65px;
    margin: 0;
    overflow: hidden;
    color: #5f6f7d;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.packages-page .catalog-card-summary strong {
    display: block;
    margin-bottom: 4px;
    color: #38536a;
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.packages-page .catalog-preview-list {
    order: 1;
    display: grid;
    gap: 8px;
    min-height: 72px;
    margin: 15px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #edf1f4 !important;
    list-style: none;
    color: #465d70;
    font-size: 13px;
    line-height: 1.42;
}

.packages-page .catalog-preview-list li {
    position: relative;
    margin: 0;
    padding-left: 21px;
}

.packages-page .catalog-preview-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #edf6f1;
    color: #278256;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.packages-page .catalog-price-row {
    order: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 16px 0 14px;
}

.packages-page .catalog-price-row span {
    color: #748391;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0;
}

.packages-page .catalog-price-row strong {
    color: #17364f;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
}

.packages-page .catalog-card-link::after {
    content: "View details";
    display: block;
    margin: 0 -20px;
    padding: 10px 20px;
    border-top: 1px solid #edf1f4;
    color: var(--primary);
    background: #fbfcfd;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 600;
}

.packages-page .catalog-book-now-btn {
    width: calc(100% - 40px);
    min-height: 44px;
    margin: 14px 20px 20px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 14.5px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .01em;
    box-shadow: none;
}

.packages-page .catalog-book-now-btn:hover,
.packages-page .catalog-book-now-btn:focus {
    box-shadow: 0 6px 14px rgba(7, 59, 99, .16);
}

@media (max-width: 1199.98px) {
    .packages-page .catalog-card {
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .packages-page .catalog-card {
        min-height: 0;
    }
    .packages-page .catalog-card-link {
        padding: 18px 18px 0;
    }
    .packages-page .popular-test h3 {
        min-height: 0;
        font-size: 17.5px;
    }
    .packages-page .catalog-card-summary {
        min-height: 0;
        font-size: 13.75px;
    }
    .packages-page .catalog-preview-list {
        min-height: 0;
    }
    .packages-page .catalog-card-link::after {
        margin: 0 -18px;
        padding: 10px 18px;
    }
    .packages-page .catalog-book-now-btn {
        width: calc(100% - 36px);
        margin: 13px 18px 18px;
    }
}


/* Packages tabs: hover-only overlay scrollbar with zero layout space */
.packages-page .packages-panel {
    position: relative;
}
.packages-page #labTabs,
.packages-page #labTabs:hover,
.packages-page .packages-category-tabs,
.packages-page .packages-category-tabs:hover {
    scrollbar-width: none !important;
}
.packages-page #labTabs::-webkit-scrollbar,
.packages-page #labTabs:hover::-webkit-scrollbar,
.packages-page .packages-category-tabs::-webkit-scrollbar,
.packages-page .packages-category-tabs:hover::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
.packages-page .packages-tabs-overlay-scrollbar {
    position: absolute;
    z-index: 8;
    left: 12px;
    right: 12px;
    height: 5px;
    border-radius: 999px;
    background: rgba(238, 243, 246, .94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, visibility .14s ease;
}
.packages-page #labTabs:hover + .packages-tabs-overlay-scrollbar,
.packages-page .packages-tabs-overlay-scrollbar:hover,
.packages-page .packages-tabs-overlay-scrollbar.is-dragging {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.packages-page .packages-tabs-overlay-scrollbar.is-not-needed {
    display: none;
}
.packages-page .packages-tabs-overlay-thumb {
    display: block;
    height: 100%;
    min-width: 44px;
    border-radius: 999px;
    background: #b9c5d0;
    cursor: grab;
    touch-action: none;
    will-change: transform;
}
.packages-page .packages-tabs-overlay-scrollbar.is-dragging .packages-tabs-overlay-thumb {
    cursor: grabbing;
}

/* Home: reuse the current professional Packages cards for the featured four */
.home-featured-packages {
    padding-top: 34px;
    padding-bottom: 42px;
}
.home-featured-packages .catalog-preview-list {
    border-color: #edf1f4 !important;
}
.home-featured-packages .catalog-card {
    height: 100%;
}
@media (max-width: 767.98px) {
    .home-featured-packages {
        padding-top: 28px;
        padding-bottom: 34px;
    }
}

/* City Wise Diagnostic Center - city subheadings */
.city-location-group {
    margin-top: 18px;
}

.city-location-heading {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: #243B55;
    font-family: Roboto, Arial, sans-serif;
}

.city-location-links {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .city-location-group {
        margin-top: 16px;
    }

    .city-location-heading {
        font-size: 16px;
        margin-bottom: 7px;
    }
}



/* RedMedi homepage FAQ cards */
.redmedi-home-faq{padding:46px 0;background:#f7fafc}
.redmedi-home-faq .faq-container{max-width:980px;margin:0 auto;padding:36px;border:1px solid #e6edf2;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(17,50,74,.05)}
.redmedi-home-faq .faq-info{max-width:760px;margin:0 auto 24px;padding-bottom:0}
.redmedi-home-faq .faq-info p:last-child{font-size:15px;line-height:1.65}
.redmedi-home-faq-list{border-top:1px solid #edf1f4}
.redmedi-home-faq-item{border-bottom:1px solid #edf1f4}
.redmedi-home-faq-question{width:100%;border:0;background:transparent;display:grid;grid-template-columns:42px minmax(0,1fr) 32px;align-items:center;gap:12px;text-align:left;padding:18px 4px;color:#233947;cursor:pointer}
.redmedi-home-faq-question:hover .redmedi-home-faq-question-text{color:#0a4770}
.redmedi-home-faq-number{font-size:12px;font-weight:700;color:#8aa0ad}
.redmedi-home-faq-question-text{font-size:15px;line-height:1.5;font-weight:600;transition:.18s ease}
.redmedi-home-faq-toggle{width:28px;height:28px;border-radius:50%;background:#f0f5f8;color:#0a4770;display:flex;align-items:center;justify-content:center;font-size:11px;transition:.2s ease}
.redmedi-home-faq-question[aria-expanded="true"] .redmedi-home-faq-toggle{transform:rotate(45deg);background:#0a4770;color:#fff}
.redmedi-home-faq-question[aria-expanded="true"] .redmedi-home-faq-question-text{color:#0a4770}
.redmedi-home-faq-answer{padding:0 46px 18px 58px}
.redmedi-home-faq-answer-inner{border-left:3px solid #dfeaf0;padding-left:18px;color:#5d707c;font-size:14px;line-height:1.72}
.redmedi-home-faq-answer p{margin:0 0 12px}
.redmedi-home-faq-more{display:inline-flex;align-items:center;gap:7px;color:#0a4770;font-size:14px;font-weight:700;text-decoration:none}
.redmedi-home-faq-more:hover,.redmedi-home-faq-more:focus{color:#073a5c;text-decoration:underline}
.redmedi-home-faq-more i{font-size:12px;transition:transform .18s ease}
.redmedi-home-faq-more:hover i{transform:translateX(3px)}
.redmedi-home-faq-all{border-color:#0a4770;color:#0a4770;border-radius:9px;font-size:14px;font-weight:600;padding:9px 18px}
.redmedi-home-faq-all:hover{background:#0a4770;border-color:#0a4770;color:#fff}
@media(max-width:767.98px){.redmedi-home-faq{padding:30px 0}.redmedi-home-faq .faq-container{padding:22px 16px}.redmedi-home-faq-question{grid-template-columns:32px minmax(0,1fr) 30px;gap:8px;padding:16px 0}.redmedi-home-faq-question-text{font-size:14px}.redmedi-home-faq-answer{padding:0 0 16px 40px}.redmedi-home-faq-answer-inner{padding-left:13px;font-size:13.5px}}
@media(max-width:420px){.redmedi-home-faq-number{display:none}.redmedi-home-faq-question{grid-template-columns:minmax(0,1fr) 30px}.redmedi-home-faq-answer{padding-left:0}}


/* Health concern two-row continuous marquee (15 + 15) */
.health-test .health-concern-page {
    width: 100%;
    overflow: hidden;
}

.health-test .health-concern-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2px 0;
}

.health-test .health-concern-marquee-second {
    margin-top: 22px;
}

.health-test .health-concern-track {
    --health-concern-gap: 24px;
    display: flex;
    width: max-content;
    will-change: transform;
}

.health-test .health-concern-group {
    display: flex;
    flex: 0 0 auto;
    gap: var(--health-concern-gap);
    padding-right: var(--health-concern-gap);
}

.health-test .health-concern-track-left {
    animation: healthConcernScrollLeft 52s linear infinite;
}

.health-test .health-concern-track-right {
    animation: healthConcernScrollRight 52s linear infinite;
}

@keyframes healthConcernScrollLeft {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes healthConcernScrollRight {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

/* Keep the existing card design while preventing shrink/gaps in the marquee. */
.health-test .health-concern-group article.card {
    flex: 0 0 190px;
    width: 190px;
}

@media (max-width: 900px) {
    .health-test .health-concern-track {
        --health-concern-gap: 18px;
    }
    .health-test .health-concern-marquee-second {
        margin-top: 18px;
    }
    .health-test .health-concern-group article.card {
        flex-basis: 170px;
        width: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .health-test .health-concern-track-left,
    .health-test .health-concern-track-right {
        animation-duration: 52s;
    }
}


/* RedMedi index health article slider — v41 */
.redmedi-article-slider-sec {
    overflow: hidden;
}

.redmedi-article-slider-sec .redmedi-article-subtitle {
    color: #6b7280;
    font-size: 15px;
}

.redmedi-view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.redmedi-view-all-articles:hover {
    color: #b51f2e;
}

.redmedi-health-articles-carousel .carousel-inner {
    overflow: hidden;
    padding: 8px 2px 12px;
}

.redmedi-health-articles-carousel .carousel-item {
    transition: transform .7s ease-in-out;
}

.redmedi-article-card {
    border: 1px solid #e7ebef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 18px rgba(28, 43, 61, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.redmedi-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(28, 43, 61, .10);
}

.redmedi-article-image-wrap {
    height: 180px;
    background: #f7f9fb;
    overflow: hidden;
}

.redmedi-article-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.redmedi-article-image-wrap.redmedi-article-image-contain img {
    object-fit: contain;
    padding: 14px;
}

.redmedi-article-card .card-body {
    padding: 18px 18px 14px;
}

.redmedi-article-category {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: .035em;
}

.redmedi-article-card .card-title {
    min-height: 48px;
    line-height: 1.35;
}

.redmedi-article-card .card-text {
    line-height: 1.65;
}

.redmedi-article-slider-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
}

.redmedi-article-indicators {
    display: flex;
    gap: 7px;
    margin-right: 0;
    margin-left: 0;
}

.redmedi-article-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: #cbd3da;
    opacity: 1;
}

.redmedi-article-indicators .active {
    width: 22px;
    border-radius: 10px;
    background-color: var(--primary);
}

.redmedi-article-controls {
    display: flex;
    gap: 8px;
}

.redmedi-article-controls .carousel-control-prev,
.redmedi-article-controls .carousel-control-next {
    position: static;
    width: 34px;
    height: 34px;
    border: 1px solid #dfe5ea;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    opacity: 1;
    font-size: 13px;
}

.redmedi-article-controls .carousel-control-prev:hover,
.redmedi-article-controls .carousel-control-next:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .redmedi-health-articles-carousel .carousel-item .col-md-4 + .col-md-4 {
        margin-top: 18px;
    }

    .redmedi-article-card .card-title {
        min-height: auto;
    }
}

/* RedMedi focused blog topics — v42 */
.redmedi-blog-listing-sec {
    padding-top: 42px;
    padding-bottom: 56px;
    background: #fff;
}
.redmedi-blog-topic-card {
    overflow: hidden;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.redmedi-blog-topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(31, 48, 65, .10);
}
.redmedi-blog-topic-image {
    height: 190px;
    background: #f7f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.redmedi-blog-topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.redmedi-blog-topic-card p {
    font-size: 14px;
    line-height: 1.65;
}
@media (max-width: 767.98px) {
    .redmedi-blog-listing-sec { padding-top: 28px; padding-bottom: 40px; }
    .redmedi-blog-topic-image { height: 170px; }
}

/* About page - Directors Information */
.rm-about-directors-section {
    background: #FFFFFF;
}

.rm-about-directors-heading {
    margin-bottom: 28px;
}

.rm-about-director-profile {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
    border: 1px solid var(--rm-about-line);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(19, 55, 79, .05);
}

.rm-about-director-photo {
    min-height: 230px;
    overflow: hidden;
    border: 1px solid #DCE7EE;
    border-radius: 10px;
    background: #F6F9FB;
}

.rm-about-director-photo-inner {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 230px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #78909F;
}

.rm-about-director-photo-inner i {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rm-about-blue-soft);
    color: var(--rm-about-navy);
    font-size: 27px;
}

.rm-about-director-photo-inner span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .15px;
}

.rm-about-director-profile-body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
}

.rm-about-director-role {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--rm-about-blue-soft);
    color: var(--rm-about-navy);
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.rm-about-director-profile h3 {
    margin: 0 0 16px;
    color: var(--rm-about-navy-dark);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.rm-about-director-about-title {
    margin-bottom: 6px;
    color: #415968;
    font-size: 13px;
    font-weight: 600;
}

.rm-about-director-profile p {
    margin: 0;
    color: var(--rm-about-muted);
    font-size: 14px;
    line-height: 1.75;
}

.rm-about-registered-office {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--rm-about-line);
    border-radius: 10px;
    background: #F8FBFD;
}

.rm-about-registered-office-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--rm-about-blue-soft);
    color: var(--rm-about-navy);
    flex: 0 0 auto;
}

.rm-about-registered-office span {
    display: block;
    margin-bottom: 4px;
    color: #344A59;
    font-size: 13px;
    font-weight: 600;
}

.rm-about-registered-office p {
    margin: 0;
    color: #596D7C;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 767.98px) {
    .rm-about-director-profile {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .rm-about-director-photo,
    .rm-about-director-photo-inner {
        min-height: 220px;
    }

    .rm-about-director-profile h3 {
        font-size: 20px;
    }
}



/* About page - Director profile details */
.rm-about-director-designation {
    margin: -7px 0 14px;
    color: #526B7B;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.rm-about-director-profile p + p {
    margin-top: 10px;
}

.rm-about-director-expertise {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #E5EDF2;
}

.rm-about-director-expertise > strong {
    display: block;
    margin-bottom: 9px;
    color: #415968;
    font-size: 13px;
    font-weight: 600;
}

.rm-about-director-expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rm-about-director-expertise-list span {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid #D8E5ED;
    border-radius: 999px;
    background: #F7FAFC;
    color: #526B7B;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
}


/* Home page - Why Choose RedMedi */
.rm-why-choose {
    padding: 72px 0;
    background: #F7FAFC;
    border-top: 1px solid #E7EEF3;
    border-bottom: 1px solid #E7EEF3;
}

.rm-why-choose-header {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.rm-why-choose-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rm-why-choose-header h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.rm-why-choose-header p {
    margin: 10px 0 0;
    color: #607586;
    font-size: 16px;
    line-height: 1.65;
}

.rm-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rm-why-choose-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 190px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #DFE8EE;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(7, 59, 99, 0.06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rm-why-choose-card:hover {
    transform: translateY(-3px);
    border-color: #C6DDEA;
    box-shadow: 0 14px 32px rgba(7, 59, 99, 0.10);
}

.rm-why-choose-number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #D7E5ED;
    border-radius: 10px;
    background: #EFF5F8;
    color: var(--primary);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.rm-why-choose-content h3 {
    margin: 2px 0 9px;
    color: #173A52;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.rm-why-choose-content p {
    margin: 0;
    color: #5C6F7E;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .rm-why-choose {
        padding: 56px 0;
    }

    .rm-why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .rm-why-choose {
        padding: 46px 0;
    }

    .rm-why-choose-header {
        margin-bottom: 26px;
    }

    .rm-why-choose-header h2 {
        font-size: 29px;
    }

    .rm-why-choose-header p {
        font-size: 15px;
    }

    .rm-why-choose-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rm-why-choose-card {
        min-height: 0;
        padding: 20px;
    }
}

@media (max-width: 419.98px) {
    .rm-why-choose-card {
        gap: 13px;
        padding: 18px;
    }

    .rm-why-choose-number {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 14px;
    }

    .rm-why-choose-content h3 {
        font-size: 16px;
    }
}

/* RedMedi: keep the Lab Query Assistant title readable on the primary header. */
#ai-chat-box .card-header h4 {
    color: #ffffff !important;
}


/* =========================================================
   RedMedi Blog Listing + Detail Experience
   Same reusable article workflow as the Biopath reference,
   styled for RedMedi's restrained blue-first visual language.
   ========================================================= */
.rm-blog-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #0a4770;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rm-blog-card-image-link { display: block; }
.rm-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #6b7c88;
    font-size: 11px;
    font-weight: 600;
}
.rm-blog-card-meta span:first-child {
    color: #0a4770;
}
.rm-blog-title-link {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}
.rm-blog-title-link:hover { color: #0a4770; }
.rm-blog-read-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #0a4770;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.rm-blog-read-link i { transition: transform .18s ease; }
.rm-blog-read-link:hover i { transform: translateX(3px); }

.rm-blog-detail-heading {
    padding: 42px 0 32px;
    border-bottom: 1px solid #e8eef2;
    background: #f7fafc;
}
.rm-blog-detail-heading h1 {
    max-width: 900px;
    margin: 16px 0 0;
    color: #18384f;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -.02em;
}
.rm-blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #70818d;
    font-size: 12px;
}
.rm-blog-breadcrumb a { color: #526b7c; text-decoration: none; }
.rm-blog-breadcrumb a:hover { color: #0a4770; }
.rm-blog-breadcrumb i { color: #a9b5bd; font-size: 8px; }

.rm-blog-detail-section { padding: 48px 0 58px; background: #fff; }
.rm-blog-article-shell {
    overflow: hidden;
    border: 1px solid #e3eaef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(28, 59, 81, .055);
}
.rm-blog-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 18px 22px;
    border-bottom: 1px solid #edf1f4;
    color: #6a7b87;
    font-size: 12px;
}
.rm-blog-category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef5f9;
    color: #0a4770;
    font-weight: 700;
}
.rm-blog-hero {
    width: 100%;
    aspect-ratio: 16 / 7.8;
    overflow: hidden;
    background: #f3f6f8;
}
.rm-blog-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-blog-content { padding: 34px 38px 28px; color: #455d6d; font-size: 15px; line-height: 1.82; }
.rm-blog-content p { margin: 0 0 18px; }
.rm-blog-content h2 {
    margin: 30px 0 12px;
    color: #173b54;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
}
.rm-blog-content h2:first-child { margin-top: 0; }
.rm-blog-content h3 { margin: 24px 0 10px; color: #214c68; font-size: 18px; font-weight: 700; }
.rm-blog-content ul, .rm-blog-content ol { margin: 0 0 20px; padding-left: 22px; }
.rm-blog-content li { margin-bottom: 8px; }
.rm-blog-content strong { color: #294c62; }
.rm-blog-content blockquote {
    margin: 26px 0;
    padding: 18px 20px;
    border-left: 3px solid #0a4770;
    border-radius: 0 8px 8px 0;
    background: #f4f8fb;
    color: #31556d;
    font-size: 16px;
    font-weight: 600;
}
.rm-blog-content .rm-blog-note {
    margin-top: 30px;
    padding: 14px 16px;
    border: 1px solid #e3eaef;
    border-radius: 8px;
    background: #fafcfd;
    color: #657985;
    font-size: 13px;
}
.rm-blog-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 18px 24px;
    border-top: 1px solid #edf1f4;
    background: #fbfcfd;
}
.rm-blog-tags, .rm-blog-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rm-blog-tag {
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf4f8;
    color: #47667a;
    font-size: 11px;
    font-weight: 600;
}
.rm-blog-share-label { margin-right: 2px; color: #667b89; font-size: 12px; font-weight: 700; }
.rm-blog-share a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dae5eb;
    border-radius: 50%;
    background: #fff;
    color: #315d78;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.rm-blog-share a:hover { transform: translateY(-2px); border-color: #b6cbd8; background: #f2f7fa; }

.rm-blog-sidebar { position: sticky; top: 118px; display: grid; gap: 18px; }
.rm-blog-side-card {
    padding: 20px;
    border: 1px solid #e3eaef;
    border-radius: 12px;
    background: #fff;
}
.rm-blog-side-card > h2 {
    margin: 0 0 16px;
    color: #183b53;
    font-size: 17px;
    font-weight: 700;
}
.rm-blog-recent-item {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f4;
    color: inherit;
    text-decoration: none;
}
.rm-blog-recent-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rm-blog-recent-item:first-child { padding-top: 0; }
.rm-blog-recent-item img { width: 66px; height: 52px; border-radius: 7px; object-fit: cover; background: #f3f6f8; }
.rm-blog-recent-item span { min-width: 0; }
.rm-blog-recent-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: #334f61;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.rm-blog-recent-item small { display: block; margin-top: 4px; color: #84939c; font-size: 10px; }
.rm-blog-category-list { margin: 0; padding: 0; list-style: none; }
.rm-blog-category-list li + li { border-top: 1px solid #edf1f4; }
.rm-blog-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    color: #4d6676;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.rm-blog-category-list a:hover { color: #0a4770; }
.rm-blog-category-list i { color: #9eb0bc; font-size: 9px; }
.rm-blog-support-card { background: #f2f7fa; }
.rm-blog-support-card > span { color: #627987; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.rm-blog-support-card h2 { margin: 6px 0 16px; font-size: 18px; line-height: 1.4; }
.rm-blog-support-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a4770;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.rm-blog-related-section { padding: 48px 0 60px; border-top: 1px solid #e8eef2; background: #f8fafb; }
.rm-blog-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.rm-blog-related-heading h2 { margin: 0; color: #173b54; font-size: 28px; font-weight: 700; }
.rm-blog-related-heading > a { color: #0a4770; font-size: 12px; font-weight: 700; text-decoration: none; }
.rm-blog-related-card { background: #fff; }
.rm-blog-not-found { padding: 80px 0; background: #fff; }
.rm-blog-not-found i { margin-bottom: 16px; color: #9aadb9; font-size: 44px; }
.rm-blog-not-found h2 { color: #24475d; font-weight: 700; }

@media (max-width: 991.98px) {
    .rm-blog-sidebar { position: static; }
    .rm-blog-detail-section { padding-top: 34px; }
}
@media (max-width: 767.98px) {
    .rm-blog-detail-heading { padding: 28px 0 22px; }
    .rm-blog-detail-heading h1 { font-size: 29px; }
    .rm-blog-content { padding: 24px 20px 20px; font-size: 14px; }
    .rm-blog-content h2 { font-size: 20px; }
    .rm-blog-article-meta { padding: 14px 16px; gap: 8px 12px; }
    .rm-blog-article-footer { padding: 16px; align-items: flex-start; flex-direction: column; }
    .rm-blog-related-heading { align-items: flex-start; flex-direction: column; }
    .rm-blog-related-heading h2 { font-size: 24px; }
    .rm-blog-hero { aspect-ratio: 16 / 10; }
}
/* === RedMedi Blog Detail V2: clean-slug editorial layout === */
.page-blog-detail {
    background: #fff;
}
.rm-reading-progress {
    position: sticky;
    top: 0;
    z-index: 1032;
    width: 100%;
    height: 3px;
    background: transparent;
    pointer-events: none;
}
.rm-reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #0a4770;
    transition: width .08s linear;
}
.rm-blog-editorial-hero {
    position: relative;
    overflow: hidden;
    padding: 36px 0 48px;
    border-bottom: 1px solid #e7edf1;
    background: #f8fbfd;
}
.rm-blog-editorial-hero .rm-blog-breadcrumb {
    margin-bottom: 28px;
}
.rm-blog-editorial-row {
    min-height: 360px;
}
.rm-editorial-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 6px 11px;
    margin-bottom: 16px;
    border: 1px solid #d8e6ee;
    border-radius: 999px;
    background: #fff;
    color: #0a4770;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .025em;
}
.rm-blog-editorial-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #17384e;
    font-size: clamp(32px, 4.1vw, 52px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.025em;
}
.rm-editorial-excerpt {
    max-width: 730px;
    margin: 18px 0 24px;
    color: #5d7382;
    font-size: 15px;
    line-height: 1.75;
}
.rm-editorial-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.rm-meta-author,
.rm-meta-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.rm-meta-avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0a4770;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}
.rm-meta-author span:last-child,
.rm-meta-detail span {
    display: grid;
    gap: 1px;
}
.rm-meta-author small,
.rm-meta-detail small {
    color: #81919b;
    font-size: 9px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.rm-meta-author strong,
.rm-meta-detail strong {
    color: #385567;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}
.rm-meta-detail i {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce7ed;
    border-radius: 9px;
    background: #fff;
    color: #0a4770;
    font-size: 12px;
}
.rm-editorial-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    border: 8px solid #fff;
    border-radius: 22px;
    background: #eef3f6;
    box-shadow: 0 18px 46px rgba(31, 64, 84, .12);
}
.rm-editorial-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}
.rm-editorial-image-caption {
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(18, 51, 71, .78);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .03em;
}
.rm-editorial-image-caption span {
    font-weight: 800;
}
.rm-blog-reader-section {
    padding: 54px 0 62px;
    background: #fff;
}
.rm-blog-reader-grid {
    display: grid;
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) minmax(220px, 260px);
    gap: 34px;
    align-items: start;
}
.rm-blog-outline,
.rm-blog-reader-side {
    position: sticky;
    top: 118px;
}
.rm-blog-outline-card,
.rm-blog-reader-recent,
.rm-blog-reader-topics {
    border: 1px solid #e3ebf0;
    border-radius: 14px;
    background: #fff;
}
.rm-blog-outline-card {
    padding: 18px 16px 15px;
}
.rm-blog-outline-label,
.rm-blog-reader-side-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: #213f53;
    font-size: 12px;
    font-weight: 800;
}
.rm-blog-outline-label i {
    color: #0a4770;
}
.rm-blog-toc {
    display: grid;
}
.rm-blog-toc:empty::after {
    content: "Article overview";
    color: #86959e;
    font-size: 11px;
}
.rm-blog-toc a {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid #eef2f4;
    color: #617480;
    font-size: 10.5px;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none;
}
.rm-blog-toc a span {
    color: #9aabb5;
    font-size: 9px;
    font-weight: 700;
}
.rm-blog-toc a:hover {
    color: #0a4770;
}
.rm-blog-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    color: #0a4770;
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none;
}
.rm-blog-story {
    min-width: 0;
}
.rm-blog-story-content {
    padding: 0;
    color: #405b6c;
    font-size: 15px;
    line-height: 1.9;
}
.rm-blog-story-content > p:first-child {
    color: #294c62;
    font-size: 17px;
    line-height: 1.82;
}
.rm-blog-story-content h2 {
    scroll-margin-top: 128px;
    margin: 36px 0 13px;
    color: #173b54;
    font-size: 24px;
    line-height: 1.32;
    font-weight: 750;
    letter-spacing: -.01em;
}
.rm-blog-story-content h2::before {
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 12px;
    border-radius: 2px;
    background: #aac7d8;
    content: "";
}
.rm-blog-story-content blockquote {
    margin: 28px 0;
    padding: 20px 22px;
    border: 0;
    border-radius: 12px;
    background: #f3f7fa;
    color: #2e536a;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 650;
}
.rm-blog-story-content blockquote::before {
    display: block;
    margin-bottom: 7px;
    color: #8fb0c4;
    font-family: "Font Awesome 6 Free";
    font-size: 17px;
    font-weight: 900;
    content: "\\f10d";
}
.rm-blog-story-content .rm-blog-note {
    margin-top: 34px;
    padding: 16px 18px;
    border: 1px solid #dfe8ed;
    border-left: 3px solid #8bb0c7;
    border-radius: 10px;
    background: #fbfcfd;
    color: #657985;
    font-size: 12.5px;
    line-height: 1.7;
}
.rm-blog-story-footer {
    margin-top: 34px;
    padding: 18px 0 0;
    border-top: 1px solid #e5ebef;
    background: transparent;
}
.rm-blog-reader-side {
    display: grid;
    gap: 16px;
}
.rm-blog-reader-cta {
    padding: 20px;
    border: 1px solid #dce8ee;
    border-radius: 16px;
    background: #f2f7fa;
}
.rm-reader-cta-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 11px;
    background: #fff;
    color: #0a4770;
    font-size: 16px;
}
.rm-blog-reader-cta > span {
    display: block;
    color: #708591;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.rm-blog-reader-cta h2 {
    margin: 5px 0 8px;
    color: #1d435c;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 750;
}
.rm-blog-reader-cta p {
    margin: 0 0 15px;
    color: #687e8c;
    font-size: 11px;
    line-height: 1.6;
}
.rm-blog-reader-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a4770;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.rm-blog-reader-recent,
.rm-blog-reader-topics {
    padding: 17px;
}
.rm-editorial-recent {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 0;
}
.rm-editorial-recent img {
    width: 54px;
    height: 46px;
    border-radius: 8px;
}
.rm-editorial-recent strong {
    font-size: 10.5px;
}
.rm-editorial-recent small {
    font-size: 9px;
}
.rm-blog-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.rm-blog-topic-chips a {
    padding: 6px 8px;
    border: 1px solid #e1e9ee;
    border-radius: 999px;
    background: #fafcfd;
    color: #587080;
    font-size: 9.5px;
    line-height: 1.2;
    font-weight: 650;
    text-decoration: none;
}
.rm-blog-topic-chips a:hover {
    border-color: #bdd2de;
    color: #0a4770;
}
.rm-blog-related-editorial {
    padding-top: 50px;
    background: #f7fafc;
}
.rm-blog-related-editorial .rm-blog-related-heading {
    margin-bottom: 22px;
}

@media (max-width: 1199.98px) {
    .rm-blog-reader-grid {
        grid-template-columns: 180px minmax(0, 1fr) 220px;
        gap: 24px;
    }
}
@media (max-width: 991.98px) {
    .rm-blog-editorial-hero {
        padding-top: 30px;
    }
    .rm-blog-editorial-row {
        min-height: auto;
    }
    .rm-editorial-image-frame,
    .rm-editorial-image-frame img {
        min-height: 300px;
    }
    .rm-blog-reader-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .rm-blog-outline,
    .rm-blog-reader-side {
        position: static;
    }
    .rm-blog-outline-card {
        padding: 16px;
    }
    .rm-blog-toc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
    }
    .rm-blog-reader-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rm-blog-reader-cta {
        grid-row: span 2;
    }
}
@media (max-width: 767.98px) {
    .rm-blog-editorial-hero {
        padding: 24px 0 34px;
    }
    .rm-blog-editorial-hero .rm-blog-breadcrumb {
        margin-bottom: 20px;
    }
    .rm-blog-editorial-hero h1 {
        font-size: 31px;
        line-height: 1.16;
    }
    .rm-editorial-excerpt {
        margin: 14px 0 20px;
        font-size: 14px;
    }
    .rm-editorial-meta {
        gap: 12px 16px;
    }
    .rm-editorial-image-frame,
    .rm-editorial-image-frame img {
        min-height: 235px;
    }
    .rm-editorial-image-frame {
        border-width: 6px;
        border-radius: 16px;
    }
    .rm-blog-reader-section {
        padding: 34px 0 44px;
    }
    .rm-blog-toc {
        grid-template-columns: 1fr;
    }
    .rm-blog-story-content {
        font-size: 14px;
        line-height: 1.82;
    }
    .rm-blog-story-content > p:first-child {
        font-size: 15.5px;
    }
    .rm-blog-story-content h2 {
        margin-top: 30px;
        font-size: 21px;
    }
    .rm-blog-reader-side {
        grid-template-columns: 1fr;
    }
    .rm-blog-reader-cta {
        grid-row: auto;
    }
    .rm-blog-story-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Why Choose RedMedi: interactive vertical feature showcase */
.rmwc{background:linear-gradient(112deg,#fff 5%,#f5fbff 100%);padding:66px 0 76px;overflow:hidden}.rmwc .container{max-width:1460px}.rmwc-heading{text-align:left;margin:0 0 26px 5px}
/* .rmwc-heading h2{font-weight:850;font-size:clamp(36px,4.1vw,63px);letter-spacing:-.045em;color:#092d66;margin:0;line-height:1.15} */
/* .rmwc-heading h2 span{color:#ed002b} */
.rmwc-heading p{font-size:clamp(16px,1.65vw,23px);color:#50678c;margin:4px 0 12px}.rmwc-heading i{display:block;width:54px;height:3px;background:#ed002b;border-radius:5px}.rmwc-layout{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:24px;align-items:stretch}.rmwc-steps{display:flex;flex-direction:column;gap:11px;position:relative;padding-left:0}
/* .rmwc-steps:before{content:"";position:absolute;z-index:0;left:45px;top:38px;bottom:38px;width:2px;border-left:2px dashed #b5cfe6} */
.rmwc-step{font:inherit;position:relative;z-index:1;display:flex;align-items:center;text-align:left;gap:25px;min-height:117px;width:100%;padding:15px 20px;border:1px solid #dcebf7;border-radius:24px;background:#ffffffca;color:#17364f;cursor:pointer;transition:background .3s,border-color .3s,box-shadow .3s;overflow:hidden}.rmwc-step.is-active{background:linear-gradient(105deg,#fff0f3,#fff8fa);border-color:#ffe3e9;box-shadow:0 8px 32px #ed002b0b}.rmwc-step:hover,.rmwc-step:focus-visible{border-color:#f4a1af;outline-offset:2px}.rmwc-number{display:grid;place-items:center;flex:0 0 61px;width:61px;height:61px;background:linear-gradient(150deg,#0058ad,#072968);border-radius:50%;color:white;font-size:25px;font-weight:800;position:relative;z-index:2}.rmwc-step.is-active .rmwc-number{background:linear-gradient(140deg,#ff0036,#d60022)}.rmwc-step-copy{display:flex;flex-direction:column;min-width:0;flex:1}.rmwc-step-copy strong{font-size:clamp(16px,1.4vw,21px);font-weight:800;letter-spacing:-.03em;color:#17364f;line-height:1.22}.rmwc-step-copy>span{font-size:clamp(13px,1.04vw,16px);line-height:1.35;color:#52678c;margin-top:5px}.rmwc-step-icon{flex:0 0 67px;width:67px;height:67px;display:grid;place-items:center;background:#eff6fd;border-radius:50%;color:#07519f}.rmwc-step-icon svg{width:32px;height:32px}.rmwc-step.is-active .rmwc-step-icon{color:#ec002a;background:#fff0f3}.rmwc-step-progress{position:absolute;bottom:0;left:0;width:0;height:3px;background:#ed002b}.rmwc-step.is-active .rmwc-step-progress{animation:rmwc-progress 5.5s linear forwards}@keyframes rmwc-progress{to{width:100%}}.rmwc-showcase{position:relative;min-height:100%;border:1px solid #cfe1f3;border-radius:24px;overflow:hidden;background:#eaf4fb;box-shadow:0 14px 35px #0a3e7815;isolation:isolate}.rmwc-photo-stack,.rmwc-photo,.rmwc-visual-tint{position:absolute;inset:0;width:100%;height:100%}.rmwc-photo{object-fit:cover;object-position:center;opacity:0;transform:scale(1.035);transition:opacity .65s ease,transform 6s ease}.rmwc-photo.is-active{opacity:1;transform:scale(1)}.rmwc-visual-tint{background:linear-gradient(to bottom,transparent 22%,#0a315330 50%,#06204d75 100%);pointer-events:none}.rmwc-feature-bubble{position:absolute;right:7%;top:12%;height:82px;width:82px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 12px 28px #17426d33;color:#ed002b;z-index:2}.rmwc-feature-bubble svg{width:41px;height:41px}.rmwc-info{position:absolute;z-index:3;bottom:65px;left:5%;right:5%;border-radius:28px;background:#ffffffed;padding:21px 30px 23px;box-shadow:0 12px 38px #0c28563b;backdrop-filter:blur(12px)}.rmwc-info-top{display:flex;align-items:center;gap:23px}.rmwc-info-top span{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#ed002b;color:#fff;font-weight:800;font-size:26px}.rmwc-info-top i{width:38px;height:3px;background:#ed002b;border-radius:5px}.rmwc-info h3{margin:3px 0 5px 85px;font-size:clamp(22px,2.2vw,35px);font-weight:850;line-height:1.15;letter-spacing:-.03em;color:#17364f}.rmwc-info p{margin:0 0 17px 85px;color:#455f83;line-height:1.32;font-size:clamp(14px,1.3vw,19px)}.rmwc-info a{display:flex;align-items:center;justify-content:center;gap:14px;width:max-content;min-width:175px;padding:11px 22px;margin-left:auto;text-decoration:none;border-radius:60px;background:#ed002b;color:#fff!important;font-weight:700;font-size:17px}.rmwc-info a:hover{background:#c60023}.rmwc-controls{position:absolute;bottom:16px;z-index:3;right:6%;display:flex;align-items:center;gap:12px;color:white;font-weight:700;text-shadow:0 1px 5px #112e5a}.rmwc-arrow{width:29px;height:29px;border-radius:50%;border:1px solid #ffffffaa;color:white;background:#0f367860;line-height:1;font-size:24px;cursor:pointer}.rmwc-arrow:hover{background:#e9002e}.rmwc.is-paused .rmwc-step.is-active .rmwc-step-progress{animation-play-state:paused}@media(max-width:1100px){.rmwc-step{gap:12px;padding:12px;min-height:106px}.rmwc-number{flex-basis:50px;width:50px;height:50px;font-size:20px}.rmwc-steps:before{left:36px}.rmwc-step-icon{flex-basis:50px;width:50px;height:50px}.rmwc-step-icon svg{width:26px}.rmwc-info{padding:17px}.rmwc-info h3,.rmwc-info p{margin-left:0}.rmwc-info-top span{height:46px;width:46px;font-size:19px}}@media(max-width:850px){.rmwc-layout{grid-template-columns:1fr}.rmwc-showcase{min-height:570px}.rmwc-step{min-height:88px}.rmwc-heading h2{font-size:39px}}@media(max-width:500px){.rmwc{padding:42px 0}.rmwc-heading h2{font-size:33px}.rmwc-heading p{font-size:15px}.rmwc-step{border-radius:16px;gap:10px;padding:12px 10px}.rmwc-number{flex-basis:43px;width:43px;height:43px;font-size:17px}.rmwc-steps:before{left:30px}.rmwc-step-copy strong{font-size:15px}.rmwc-step-copy>span{font-size:12px}.rmwc-step-icon{flex-basis:39px;width:39px;height:39px}.rmwc-step-icon svg{width:22px}.rmwc-showcase{min-height:490px}.rmwc-feature-bubble{width:58px;height:58px}.rmwc-feature-bubble svg{width:30px}.rmwc-info{left:3%;right:3%;bottom:51px;border-radius:18px}.rmwc-info h3{font-size:23px}.rmwc-info p{font-size:14px}.rmwc-info a{min-width:130px;font-size:14px;padding:9px 14px}}@media(prefers-reduced-motion:reduce){.rmwc-photo,.rmwc-step{transition:none!important}.rmwc-step.is-active .rmwc-step-progress{animation:none;width:100%}}

/* Why Choose RedMedi — reference-matched continuous showcase (v2) */
.rmwc{font-family:'Roboto',Arial,sans-serif;background:linear-gradient(110deg,#fff 42%,#f0f9ff 100%);padding:46px 0 56px}
.rmwc .container{max-width:1500px;width:calc(100% - 42px)}
.rmwc-heading{margin:0 0 24px 12px;max-width:57%}
/* .rmwc-heading h2{font-family:'Montserrat','Roboto',sans-serif;font-size:clamp(35px,4.05vw,64px);font-weight:800;letter-spacing:-.047em;line-height:1.12} */
.rmwc-heading p{font-family:'Roboto',sans-serif;font-size:clamp(17px,1.55vw,24px);font-weight:500;line-height:1.34;margin:4px 0 14px}
.rmwc-heading i{height:3px;width:53px}
.rmwc-layout{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:28px;align-items:stretch}
.rmwc-steps{gap:12px}
/* .rmwc-steps:before{left:46px;top:48px;bottom:48px;border-left:2px dashed #b5cde4} */
.rmwc-step{min-height: 122px;
    border-radius: 15px;
    padding: 9px 15px 9px 15px;
    gap: 20px;
    border-color: #e0ecf7;
    background: rgba(255, 255, 255, .68);
    box-shadow: none;
}
.rmwc-step.is-active{background:linear-gradient(90deg,#fff2f5,#fff8fa);border-color:#ffedf1;box-shadow:none}
.rmwc-number{flex:0 0 61px;width:61px;height:61px;font-size:24px;font-weight:800}
.rmwc-step-copy strong{font-family:'Montserrat','Roboto',sans-serif;font-size:clamp(17px,1.39vw,22px);font-weight:800;letter-spacing:-.045em;line-height:1.22}
.rmwc-step-copy>span{font-family:'Roboto',sans-serif;font-size:clamp(14px,1.04vw,17px);line-height:1.3;margin-top:6px;font-weight:400}
.rmwc-step-icon{width:75px;height:75px;flex-basis:75px;background:#ecf5fd}
.rmwc-step-icon svg{width:37px;height:37px}
.rmwc-step-progress{bottom:0;left:16px;right:16px;height:2px;border-radius:3px;max-width:calc(100% - 32px)}
.rmwc-showcase{margin-top:-143px;min-height:calc(100% + 143px);border-radius:24px;background:#e8f6fc;border:1px solid #d0e5f5;box-shadow:0 12px 26px #1955821c}
.rmwc-photo-stack{clip-path:polygon(0 12%,100% 0,100% 100%,0 100%)}
.rmwc-photo{object-position:center;transform:scale(1.045);transition:opacity .8s ease,transform 6s ease}
.rmwc-photo.is-active{transform:scale(1)}
.rmwc-visual-tint{background:linear-gradient(to bottom,transparent 38%,#10294c12 63%,#082b4b3e 100%);pointer-events:none}
.rmwc-feature-bubble{right:36%;top:27%;width:78px;height:78px;border:3px solid #fff;box-shadow:0 8px 24px #0e315126}
.rmwc-info{left:4%;right:4%;bottom:54px;padding:19px 28px 20px;border-radius:27px;background:#fffffff0;box-shadow:0 14px 35px #092f4b24}
.rmwc-info-top span{width:62px;height:62px;font-family:'Montserrat',sans-serif;font-weight:800;font-size:25px}
.rmwc-info h3{font-family:'Montserrat','Roboto',sans-serif;font-weight:800;font-size:clamp(24px,2.2vw,35px);letter-spacing:-.04em;margin:2px 0 8px 88px}
.rmwc-info p{font-family:'Roboto',sans-serif;font-weight:400;font-size:clamp(15px,1.33vw,20px);margin:0 0 18px 88px;line-height:1.31}
.rmwc-info a{font-family:'Roboto',sans-serif;font-size:17px;min-width:204px;border-radius:28px;background:#ed002b;padding:12px 25px}
.rmwc-controls{bottom:13px;right:5%;font-size:12px;color:#073a76;text-shadow:none}
.rmwc-arrow{background:#ffffffd9;color:#093c77;border:1px solid #d9e8f5}
.rmwc-arrow:hover{background:#ed002b;color:#fff}
@media(max-width:1150px){.rmwc-heading{max-width:63%}.rmwc-step{gap:13px;padding:12px;min-height:116px}.rmwc-number{flex-basis:53px;width:53px;height:53px;font-size:20px}.rmwc-steps:before{left:38px}.rmwc-step-icon{flex-basis:53px;width:53px;height:53px}.rmwc-step-icon svg{width:29px;height:29px}.rmwc-showcase{margin-top:-125px;min-height:calc(100% + 125px)}.rmwc-info h3,.rmwc-info p{margin-left:0}.rmwc-info{padding:19px}.rmwc-feature-bubble{right:22%}}
@media(max-width:850px){.rmwc .container{width:calc(100% - 28px)}.rmwc-heading{max-width:none;margin-left:0}.rmwc-layout{grid-template-columns:1fr;gap:25px}.rmwc-showcase{margin-top:0;min-height:590px}.rmwc-photo-stack{clip-path:none}.rmwc-step{min-height:100px}.rmwc-info h3,.rmwc-info p{margin-left:0}.rmwc-feature-bubble{right:9%;top:16%}}
@media(max-width:500px){.rmwc{padding:38px 0 44px}
.rmwc-heading h2{font-size:33px}.rmwc-heading p{font-size:15px}.rmwc-steps{gap:9px}.rmwc-step{min-height:92px;padding:11px 9px;gap:10px;border-radius:16px}.rmwc-number{flex-basis:43px;width:43px;height:43px;font-size:17px}.rmwc-steps:before{left:30px}.rmwc-step-copy strong{font-size:15px;letter-spacing:-.03em}.rmwc-step-copy>span{font-size:12px;line-height:1.28}.rmwc-step-icon{flex:0 0 40px;width:40px;height:40px}.rmwc-step-icon svg{width:23px;height:23px}.rmwc-showcase{min-height:500px;border-radius:18px}.rmwc-info{left:3%;right:3%;bottom:49px;padding:16px;border-radius:19px}.rmwc-info h3{font-size:22px}.rmwc-info p{font-size:14px}.rmwc-info a{font-size:14px;min-width:142px}.rmwc-feature-bubble{width:58px;height:58px}.rmwc-feature-bubble svg{width:29px;height:29px}}
.rmwc-step.is-active .rmwc-step-progress{animation-duration:5s}


/* Why Choose RedMedi — typography and grid alignment refinement (v3).
   Additive, section-scoped overrides; existing site and slider code retained. */
.rmwc{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.rmwc-heading{max-width:none;margin:0 0 26px 0}
/* .rmwc-heading h2{font-family:inherit;font-size:44px;font-weight:700;letter-spacing:normal;line-height:1.2} */
.rmwc-heading p{font-family:inherit;font-size:17px;font-weight:400;line-height:1.5;margin:10px 0 13px;color:#5f6f81}
.rmwc-layout{align-items:stretch}
.rmwc-showcase{margin-top:0;min-height:0;height:100%;align-self:stretch}
.rmwc-photo-stack{clip-path:none}
.rmwc-step-copy strong{font-family:inherit; font-size: 20px;
    font-weight: 600;letter-spacing:normal;line-height:1.35}
.rmwc-step-copy>span{font-family:inherit;font-size:15px;font-weight:400;line-height:1.5}
.rmwc-info h3{font-family:inherit;font-size:clamp(23px,2vw,25px);font-weight:600;letter-spacing:normal}
.rmwc-info p{font-family:inherit;font-size:16px;font-weight:400;line-height:1.5}
.rmwc-info a{font-family:inherit;font-size:16px;font-weight:700}
@media(max-width:850px){
  .rmwc-heading h2{font-size:clamp(31px,5vw,44px)}
  .rmwc-showcase{height:auto;min-height:570px;margin-top:0}
}
@media(max-width:500px){
  .rmwc-heading h2{font-size:32px}
  .rmwc-heading p{font-size:15px}
  .rmwc-step-copy strong{font-size:15px}
  .rmwc-step-copy>span{font-size:12px}
  .rmwc-showcase{min-height:500px}
  .rmwc-info h3{font-size:22px}
  .rmwc-info p{font-size:14px}
}

/* RedMedi blog detail refinement: additive, scoped; other site sections remain unchanged. */
.rm-blog-editorial-hero{background:linear-gradient(115deg,#f7fafc 0%,#edf5fa 100%);padding:36px 0 52px}
.rm-blog-editorial-hero .rm-blog-breadcrumb{font-size:13px;margin-bottom:23px}
.rm-blog-editorial-row{min-height:310px}
.rm-blog-editorial-hero h1{font-size:clamp(30px,3vw,44px);line-height:1.19;font-weight:700;letter-spacing:-.025em;color:#123c63}
.rm-editorial-excerpt{font-size:16px;line-height:1.8;max-width:650px}
.rm-editorial-image-frame{border-radius:20px;box-shadow:0 18px 55px rgba(18,60,99,.12);overflow:hidden}
.rm-editorial-image-frame img{width:100%;aspect-ratio: 1.4;object-fit:cover}
.rm-blog-reader-section{padding-top:44px}
.rm-blog-reader-grid{grid-template-columns:minmax(170px,205px) minmax(0,1fr) minmax(195px,245px);gap:24px}
.rm-blog-story-content{font-size:16px;line-height:1.85;color:#425466}
.rm-blog-story-content p{margin-bottom:19px}
.rm-blog-story-content >p:first-child{font-size:17px;color:#294c62}
.rm-blog-story-content h2{font-size:24px;font-weight:700;margin-top:38px;color:#153e62}
.rm-blog-story-content h3{font-size:19px;font-weight:700;margin-top:24px}
.rm-blog-story-content ul,.rm-blog-story-content ol{padding-left:24px;margin-bottom:22px}
.rm-blog-story-content li{padding-left:4px;margin-bottom:10px}
.rm-blog-story-content strong{color:#234765;font-weight:700}
.rm-blog-toc a,.rm-blog-all-articles{font-size:12px;line-height:1.5}
.rm-blog-outline-card,.rm-blog-reader-recent,.rm-blog-reader-topics{border-radius:16px;box-shadow:0 8px 26px rgba(9,60,105,.045)}
.rm-blog-story-content blockquote{border-left:4px solid #d80427;background:#f7fafc}
.rm-blog-reader-cta{border-radius:16px}
@media(max-width:1199px){.rm-blog-reader-grid{grid-template-columns:minmax(155px,190px) minmax(0,1fr)}.rm-blog-reader-side{grid-column:2;position:static}}
@media(max-width:767px){.rm-blog-editorial-hero{padding:25px 0 37px}.rm-blog-editorial-hero h1{font-size:30px}.rm-blog-reader-grid{display:block}.rm-blog-outline{position:static;margin-bottom:28px}.rm-blog-reader-side{position:static;margin-top:30px}.rm-blog-story-content{font-size:15px}.rm-blog-story-content h2{font-size:22px}}
