/* Global Styles */
:root {
    --primary-teal: linear-gradient(90deg, #3F706E 0%, #67B0AC 100%);
    /* Matching Navbar Color */
    --dark-teal: linear-gradient(90deg, #3F706E 0%, #67B0AC 100%);
    /* Deepest Teal from design */
    --secondary-teal: #008081;
    /* Slightly lighter teal */
    --yellow: #F1A400;
    /* Vibrant Gold/Yellow */
    --light-blue: #F0F7F7;
    /* Very light teal-tinted background */
    --text-dark: #333333;
    --text-muted: #666666;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
}

*,
::after,
::before {
    box-sizing: inherit;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #0E5E58;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.1rem;
    font-weight: 800;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    font-weight: 400;
}

.text-dark-teal {
    color: #0E5E58 !important;
}

.text-teal {
    background: var(--primary-teal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.bg-dark-teal {
    background: var(--dark-teal) !important;
}

.bg-teal-light {
    background-color: rgba(77, 163, 165, 0.1);
}

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

.bg-secondary-teal {
    background: var(--secondary-teal) !important;
}

/* .section-padding {
    padding: 60px 0;
} */

/* Buttons */
.btn-warning {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Button Hover Styles Removed */
.btn-warning:hover,
.btn-dark-teal:hover {
    transform: none;
    opacity: 0.9;
}

.text-title {
    color: #0E5E58 !important;
    font-weight: 800;
}

/* Base paragraph styles moved to global */

.bg-light-blue {
    background-color: #EAF8F8 !important;
}

.btn-dark-teal {
    color: white !important;
    background-color: #487f7c;
}


/* Header */
#header {
    background: var(--secondary-teal);
    /* Solid color based on screenshot */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 1000;
}

.logo img {
    max-width: 180px;
    height: auto;
    transition: all 0.3s ease;
}

.logo,
.logo img,
#header img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}



.nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
}

@media (max-width: 1366px) {
    .nav-link {
        padding: 10px 10px !important;
    }

    .logo img {
        max-width: 150px;
    }

    .phone-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 1199px) {
    .nav-link {
        padding: 10px 8px !important;
    }

    .book-demo-header {
        padding: 6px 15px !important;
    }
}

.nav-link:hover {
    color: var(--yellow) !important;
}

/* Custom Dropdown Styling */
.dropdown-hover {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 260px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 15px 0;
    margin: 0;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
    text-align: left;
}

/* Custom Scrollbar for Dropdown */
.dropdown-menu-custom::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu-custom::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.dropdown-menu-custom::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

.dropdown-menu-custom::-webkit-scrollbar-thumb:hover {
    background: #0E5E58;
}

/* Caret/Triangle at top */
.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.dropdown-hover:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-hover:hover .nav-link {
    color: var(--yellow) !important;
}

.dropdown-menu-custom li a {
    display: block;
    padding: 12px 25px;
    color: #333 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: none;
    white-space: nowrap;
}

.dropdown-menu-custom li a:hover {
    background-color: #f8f9fa;
    color: #0E5E58 !important;
    padding-left: 30px;
}

/* Mobile Offcanvas Submenu Styling */
.offcanvas .submenu {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.offcanvas .submenu li a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.offcanvas .submenu li a:hover {
    color: var(--yellow) !important;
    padding-left: 10px;
}

.offcanvas .nav-link[data-bs-toggle="collapse"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas .nav-link[data-bs-toggle="collapse"] i {
    transition: transform 0.3s ease;
}

.offcanvas .nav-link[data-bs-toggle="collapse"]:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Hide default bootstrap caret if needed */
.dropdown-toggle::after {
    display: none !important;
}

.book-demo-header {
    background-color: var(--yellow) !important;
    border: none !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap;
}

.book-demo-header:hover {
    background-color: #e69b00 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.phone-link {
    font-size: 0.95rem;
    vertical-align: middle;
    font-family: 'Open Sans', sans-serif;
}

/* Hero Section */
#hero {
    height: 80vh;
    min-height: 770px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-banner.jpg') no-repeat center center/cover;
    margin-top: 60px;
    padding-top: 80px;
}

.hero-title {
    color: #F5EC44;
}

#telemedicine {
    background-color: #F8FBFC;
    /* padding: 80px 0; */
}

.text-title {
    color: #0E5E58;
}

#services .text-title {
    font-size: 2.1rem;
    letter-spacing: 1px;
    font-weight: 800;
}

/* ==========================================================================
   TELEMEDICINE SECTION (EXACT IMAGE CLONE)
   ========================================================================== */
.inventory-banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    /* margin-top: 50px; */
    margin-bottom: 40px;
    padding: 0 20px;
}

.inventory-banner {
    background: linear-gradient(90deg, #3F706E 0%, #67B0AC 100%);
    padding: 15px 0;
    transform: skewX(-20deg);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
    will-change: transform;
}

.inventory-banner h4 {
    color: #F1E53D;
    /* Vibrant yellow from image */
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transform: skewX(20deg);
    /* Un-skew text */
    text-align: center;
    margin: 0;
    display: inline-block;
    padding: 0 50px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

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

.telemedicine-title {
    color: #0E5E58;
    /* Deep teal from image */
    font-weight: 800;
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
}

/* .telemedicine-hand-mockup {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
} */

/* .telemedicine-hand-mockup img {
    max-width: 135%;
    height: auto;
} */

.telemedicine-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    height: 100%;
}

.telemedicine-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.telemedicine-description li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 12px;
    font-weight: 500;
}

.telemedicine-description li i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.telemedicine-description li span {
    display: block;
}



.phone-mockup img {
    border-radius: 30px;
    border: 8px solid #333;
}

.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.col-lg-2dot4 {
    flex: 0 0 auto;
    width: 20%;
}





/* Telemedicine Feature Cards */
/* Telemedicine Feature Cards - Standardized */
.tele-feature-card {
    background-color: #E2ECF0;
}

.tele-feature-card:hover {
    background-color: #D6E4EB;
}




.tele-feature-text {
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Overlays for Icons */


/* RCM Section (STABILIZED) */
/* Standardized Card Icon Styles (RCM, Specialty, Telemedicine) */
.rcm-item-card,
.specialty-box,
.tele-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Space image and text evenly */
    text-align: center;
    height: 100%;
    min-height: 230px;
    /* Slightly taller for more premium look */
    padding: 35px 15px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background: #fff;
    width: 100%;
}

.rcm-item-card {
    border: 1.5px solid #0E5E58;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.specialty-box {
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.rcm-item-card img,
.specialty-box img,
.tele-feature-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* Don't shrink the image */
}

/* Specific visual balancing for requested RCM icons */
.rcm-item-card img[src*="R-2.png"],
.rcm-item-card img[src*="R-6.png"],
.rcm-item-card img[src*="R-9.png"] {
    transform: scale(1.25);
    /* Extra boost to make them even with others */
}


/* Hover States */

/* Updated Hover States for Image Icons */
.rcm-item-card:hover,
.specialty-box:hover,
.tele-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(14, 94, 88, 0.15);
}

.specialty-box:hover {
    background-color: #0E5E58;
}

.specialty-box:hover h6 {
    color: #fff !important;
}

.specialty-box:hover img {
    filter: brightness(0) invert(1);
}

.rcm-item-card h6,
.specialty-box h6 {
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    min-height: 4rem;
    /* Increased to safely handle multi-line service names */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Badge Styling */
.rcm-item-badge {
    position: absolute;
    background-color: #0E5E58;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Ensure the icon inside badge inherits color unless specifically overridden */
.rcm-item-badge i {
    color: inherit;
}

/* Specialty Section Alignment */
/* Specialty Item Grid Card styles handled by standardized block above */

.badge-x {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
    bottom: -2px;
    right: -5px;
}

.badge-stars {
    background-color: #0E5E58;
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 4px;
    bottom: -2px;
    right: -8px;
    border: 1px solid #fff;
}

.badge-dollar {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    bottom: -2px;
    right: -5px;
}

/* Stabilization: No color changes on hover for card or badges */
.rcm-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(14, 94, 88, 0.15);
}

/* RCM READ MORE BUTTON FIX */
.btn-rcm-more {
    color: white !important;
    background-color: #0E5E58 !important;
    padding: 12px 40px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-block;
    text-decoration: none;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-rcm-more:hover {
    background-color: #417371 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* We Serve Section */
.we-serve-list li {
    color: #0E5E58;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.we-serve-list i {
    font-size: 1.25rem;
    color: #0E5E58 !important;
}

.big-heart-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serve-heart-proper {
    width: 100%;
    max-width: 520px;
    /* Aligned with original container size */
    height: auto;
    transition: all 0.4s ease;
}

/* Thrive Section (NEW) */
.thrive-circle {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 7px solid #0E5E58;
    box-shadow: 0 15px 45px rgba(14, 94, 88, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: all 0.4s ease;
}



.thrive-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.thrive-circle:hover img {
    transform: scale(1.15);
}

/* Specialty Item Grid (6 columns) */
.col-lg-custom {
    padding: 10px;
    flex: 0 0 auto;
    width: 20%;
}

.specialty-box {
    background: #fff;
    border: 1.5px solid #0E5E58;
    padding: 35px 25px;
    /* Consistent padding */
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Changed from center for top alignment */
    justify-content: center;
    /* Changed from center for top alignment */
    text-align: left;
    /* Changed from center for top alignment */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.specialty-box .icon-wrapper {
    width: 65px;
    /* Consistent icon holder size */
    height: 65px;
    /* Consistent icon holder size */
    background-color: rgba(14, 94, 88, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    /* Consistent margin */
    transition: all 0.3s ease;
}

.specialty-box i {
    font-size: 1.8rem;
    /* Consistent icon size */
    color: #0E5E58;
    transition: all 0.3s ease;
}

.specialty-box h6 {
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}



/* Specific Grid Adjustment for 6 columns */


/* Maximize Impact (NEW) */
.impact-bg {
    background: linear-gradient(135deg, #5B9B99 0%, #447C7A 100%);
    padding: 60px !important;
    overflow: hidden;
}

.impact-bg h2 {
    letter-spacing: -0.5px;
    color: #F1E53D !important;
}

.impact-bg p {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 500;
    color: white;
}

/* Stats Section (EXACT CLONE) */
.stat-card-box {
    background: #fff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-top: 30px;
}

.stat-card-box img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 30px;
}

.stat-text-number {
    color: #1a1a1a;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-text-label {
    color: #666;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Vertical Divider Arrows */
.stat-divider {
    position: relative;
    height: 120px;
    width: 1px;
    background-color: #DDE9EB;
    margin: 0 auto;
}

.stat-divider::before {
    content: 'â–²';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) scaleX(1.4);
    font-size: 7px;
    color: #BDD2D5;
}

.stat-divider::after {
    content: 'â–¼';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) scaleX(1.4);
    font-size: 7px;
    color: #BDD2D5;
}



/* Unique From Others (EXACT CLONE) */
.bg-unique-gradient {
    background: linear-gradient(135deg, #447C7A 0%, #34605E 100%);
    padding: 60px 0;
}

#unique-from-others h2 {
    /* font-size: 3rem; */
    font-weight: 800;
    color: #F1E53D !important;
    /* Brighter yellow from image */
}

.unique-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    height: 100%;
    min-height: 460px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    display: flex;
    flex-direction: column;
}

.unique-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.unique-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.unique-card img {
    border-radius: 12px;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 1px solid #edf2f7;
    padding: 4px;
    background: #fff;
    margin-bottom: 25px;
}

.unique-card-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px 20px;
}

.unique-card h5 {
    color: #1a202c !important;
    font-weight: 800;
    line-height: 1.4;
    font-size: 1.25rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 85px;
}

.btn-warning-unique {
    background: #FFBD3F;
    background: linear-gradient(to bottom, #FFD65E 0%, #FFBD3F 100%);
    color: #fff !important;
    font-weight: 800;
    padding: 16px 60px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 0 #D1941F;
}

.btn-warning-unique:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #D1941F, 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.btn-warning-unique:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #D1941F;
}

/* ==========================================================================
   WHAT MAKES US UNIQUE - PREMIUM MAPPING DESIGN
   ========================================================================== */
.unique-section {
    background-color: #fcfdfe;
    /* padding: 100px 0; */
    position: relative;
    overflow: hidden;
}

.unique-title {
    color: #0E5E58;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
}

.unique-mapping-container {
    position: relative;
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 20px 0;
}

/* The Central Path Line */
.unique-mapping-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #0E5E58 10%, #0E5E58 90%, transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.mapping-step {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    /* Ensures step content is above the central line */
}

.mapping-content-wrapper {
    width: 45%;
    position: relative;
    z-index: 2;
}

.mapping-step:nth-child(odd) .mapping-content-wrapper {
    margin-right: auto;
    padding-right: 50px;
    text-align: right;
}

.mapping-step:nth-child(even) .mapping-content-wrapper {
    margin-left: auto;
    padding-left: 50px;
    text-align: left;
}

/* The Path Point (Circle with Number) */
.mapping-point {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 3px solid #0E5E58;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0E5E58;
    font-size: 0.95rem;
    box-shadow: 0 0 15px rgba(14, 94, 88, 0.2);
    transition: all 0.3s ease;
}

.mapping-step:hover .mapping-point {
    background: #0E5E58;
    color: #fff;
    box-shadow: 0 0 20px rgba(14, 94, 88, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

.mapping-box {
    background: #fff;
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #0E5E58;
    transition: all 0.4s ease;
    position: relative;
    /* Anchor for arrows */
}

.mapping-box::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: all 0.4s ease;
}

.mapping-step:nth-child(odd) .mapping-box {
    border-top: none;
    border-right: 4px solid #0E5E58;
}

.mapping-step:nth-child(odd) .mapping-box::after {
    right: -14px;
    border-left: 10px solid #0E5E58;
}

.mapping-step:nth-child(even) .mapping-box {
    border-top: none;
    border-left: 4px solid #0E5E58;
}

.mapping-step:nth-child(even) .mapping-box::after {
    left: -14px;
    border-right: 10px solid #0E5E58;
}

.mapping-step:hover .mapping-box::after {
    transform: translateY(-50%) scale(1.2);
}

.mapping-step:hover .mapping-box {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 94, 88, 0.1);
    background-color: #f7fdfc;
}

.mapping-box p {
    margin: 0;
    font-size: 1rem;
    color: #444;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .unique-mapping-container::before {
        left: 20px;
    }

    .mapping-step {
        justify-content: flex-start;
        padding-left: 60px;
        margin-bottom: 30px;
    }

    .mapping-content-wrapper {
        width: 100%;
    }

    .mapping-step:nth-child(odd) .mapping-content-wrapper,
    .mapping-step:nth-child(even) .mapping-content-wrapper {
        padding-left: 0;
        padding-right: 0;
        text-align: left;
        margin: 0;
    }

    .mapping-point {
        left: 20px;
    }

    .mapping-step:nth-child(odd) .mapping-box,
    .mapping-step:nth-child(even) .mapping-box {
        border-right: none;
        border-top: none;
        border-left: 4px solid #0E5E58;
    }

    .mapping-step:nth-child(odd) .mapping-box::after,
    .mapping-step:nth-child(even) .mapping-box::after {
        left: -14px;
        right: auto;
        border-right: 10px solid #0E5E58;
        border-left: none;
    }
}



/* EHR Logos */
.ehr-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
}

.ehr-logo-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    transition: transform 0.3s;
}

.ehr-logo-box:hover {
    transform: translateY(-5px);
}

.ehr-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Footer Enhanced */
footer {
    background: linear-gradient(180deg, #5D9C9F 0%, #4DA3A5 100%);
    color: #fff;
    padding: 60px 0 0;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #fff;
    color: var(--dark-teal);
    transform: translateY(-3px);
}

.cert-logos img {
    height: 60px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btm p {
    margin-bottom: 0px !important;
}

/* Why Choose Us Section - Exact Clone Custom Styles */
#why {
    background-color: #F8FBFC !important;
    overflow: hidden;
    /* Added to contain the wide horizontal line */
}

/* On mobile, allow why-tabs-wrapper to scroll */
@media (max-width: 767px) {
    #why {
        overflow-x: visible;
    }

    #why .container {
        overflow-x: visible;
    }

    .why-tabs-wrapper::after {
        display: none;
    }
}


#why .container {
    max-width: 1200px;
}

/* Custom Tab Bar */
.why-tabs-wrapper {
    position: relative;
    margin-bottom: 60px;
    padding-top: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar but keep scrollable */
    scrollbar-width: none;
}

.why-tabs-wrapper::-webkit-scrollbar {
    display: none;
}


/* Horizontal line behind tabs */
.why-tabs-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50vw;
    right: -50vw;
    height: 1px;
    background-color: #DDE5E7;
    z-index: 1;
}

#why .nav-pills {
    background: #D9D9D9;
    padding: 0;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    /* Reduced to bring items closer and remove gaps */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#why .nav-item {
    flex: 1;
}

#why .nav-link {
    background: #D9D9D9;
    color: #333 !important;
    border-radius: 0;
    margin: 0;
    padding: 18px 5px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    height: 100%;
    width: 100%;
    border: none;
    position: relative;
}

#why .nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

#why .nav-item:last-child .nav-link::after {
    display: none;
}

/* Circle design in tabs */
.tab-circle {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

/* Active and Hover Tab */
#why .nav-link.active,
#why .nav-link:hover {
    background-color: #0E5E58 !important;
    color: #fff !important;
}

#why .nav-item:first-child .nav-link {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

#why .nav-item:last-child .nav-link {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Caret/Triangle below active tab */
.active-caret {
    display: none;
    /* Hidden by default */
}

#why .nav-link.active .active-caret {
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0E5E58;
    z-index: 10;
}

/* Why Cards Grid Layout */
.why-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* More prominent shadow */
    height: 100%;
    overflow: hidden;
    padding: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(14, 94, 88, 0.15);
}

.why-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.why-card h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin: 5px 0 10px;
    line-height: 1.4;
    padding: 0 10px;
}

/* Custom Grid for 5 items (3 on top, 2 centered below) */
.custom-grid-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    align-items: stretch;
    /* Ensure cards in same row have same height */
}

.custom-grid-item-3 {
    width: 260px;
    /* Further reduced width for smaller, elegant cards */
    display: flex;
}

.custom-grid-item-2 {
    width: 260px;
    /* Further reduced width for smaller, elegant cards */
    display: flex;
}





.card {
    transition: transform 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Why Tab Content - Dynamic Height Fix */
#why-tabContent {
    position: relative;
    min-height: auto;
}

#why-tabContent .tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    width: 100%;
}

#why-tabContent .tab-pane.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1;
}

/* Services Section (Refined) */
.service-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    border: 5px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-icon-wrapper:hover img {
    transform: scale(1.1);
}

/* Hub Section*/
.hub-card {
    background-color: #D6EAE7;
    padding: 18px 35px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 420px;
    margin-bottom: 30px;
    /* Added bottom margin for vertical gap */
    min-height: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hub-card:hover {
    transform: translateY(-5px);
    background-color: #BBDDDF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hub-card.left-card {
    margin-left: auto;
    margin-right: 0;
    justify-content: flex-end;
    text-align: right;
    flex-direction: row;
    gap: 20px;
}

.hub-card.right-card {
    margin-right: auto;
    margin-left: 0;
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 20px;
}

.hub-text {
    font-weight: 800;
    color: #0E5E58;
    font-size: 1rem;
    line-height: 1.2;
}

.hub-card img {
    background: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 15px;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hub-card.left-card img {
    order: 2;
}

.hub-card.left-card .hub-text {
    order: 1;
}

.hub-card.right-card img {
    order: 1;
}

.hub-card.right-card .hub-text {
    order: 2;
}

.center-image-wrapper {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    margin: 0 auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.center-doc-img {
    width: 110%;
    /* Slightly larger than wrapper to pop out */
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    /* Align to bottom for pop out effect */
    z-index: 2;
    /* Adjust translate if needed for visual balance */
    transform: translateY(-5%);
}

/* Services Section (New "We Provide" Styles) */
#services {
    padding: 40px 0;
}

.service-icon-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-icon-wrapper:hover img {
    transform: scale(1.1);
}


/* Center Image Override */
.center-image-wrapper,
.center-doc-img {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ==========================================================================
   EHR EXPOSURE SECTION (MATCHING DESIGN)
   ========================================================================== */
.ehr-section {
    background-color: #EAF8F8 !important;
    position: relative;
}

.ehr-wave-container {
    width: 100%;
    height: 250px;
    /* Adjusted for better spacing */
    position: relative;
}

.ehr-wave-container img {
    width: 100%;
    /* height: 100%; */
    display: block;
    object-fit: cover;
}

.ehr-title {
    color: #0E5E58;
    font-weight: 800;
    margin-bottom: 40px;
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.expo {
    padding-top: 0;
}

/* EHR Staggered Grid */
.ehr-staggered-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ehr-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* Vertical Positioning Offsets */
.col-far-left,
.col-far-right {
    padding-top: 0;
    /* Centered vertically by parent align-items:center */
}

.col-left,
.col-right {
    padding-top: 50px;
    /* Slight stagger */
}

.col-center {
    padding-top: 0;
    /* Center column is the anchor */
}

.ehr-logo-box {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow as per image */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    /* Larger cards */
    height: 120px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.ehr-logo-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ehr-logo-box img {
    max-width: 95%;
    /* Larger images inside cards */
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(0);
    /* Ensure full color as per image */
}



/* ==========================================================================
   ENHANCED FOOTER SECTION (MATCHING DESIGN)
   ========================================================================== */
footer {
    background: var(--secondary-teal);
    /* Primary Teal from design */
    color: #ffffff;
    padding: 60px 0 0;
    position: relative;
}

.footer-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-cert-item {
    background: #fff;
    padding: 10px;
    /* Reduced padding allows image to be larger */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    /* Increased height */
    transition: all 0.3s ease;
}

.footer-cert-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures the logo stays clear but fills as much space as possible */
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 20px;
}

.footer-links-col h5 {
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #fff;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-links-col ul li a:hover {
    color: var(--yellow);
    padding-left: 3px;
}

.footer-contact-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-info li {
    margin-bottom: 15px;
}

.footer-logo-text .h4 {
    letter-spacing: 2px;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--yellow);
    transform: translateY(-3px);
}



.footer-bottom {
    background-color: #fff;
    color: #333;
    padding: 5px 0;
    /* Reduced padding to remove gap */
    margin-top: 60px;
    text-align: center;
}

/* ==========================================================================
   STRIPE BANNER SECTION (New Feature)
   ========================================================================== */
/* ==========================================================================
   STRIPE BANNER SECTIONS (PREMIUM REDESIGN)
   ========================================================================== */

.stripe-banner-section {
    width: 100%;
    padding: 30px 0;
    /* Reduced gap */
    margin: 0;
    background: transparent;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.stripe-banner-container {
    width: 100%;
    max-width: 1400px;
    /* Increased width */
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(14, 94, 88, 0.95) 0%, rgba(26, 147, 138, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    min-height: 180px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

/* Subtle Animated Light Streak */
.stripe-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    animation: lightStreak 8s infinite linear;
    z-index: 2;
}

@keyframes lightStreak {
    0% {
        left: -100%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Side Images with Premium Masks */
.stripe-banner-left-img,
.stripe-banner-right-img {
    flex: 0 0 20%;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stripe-banner-left-img {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    border-right: 4px solid rgba(255, 255, 255, 0.1);
}

.stripe-banner-right-img {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    border-left: 4px solid rgba(255, 255, 255, 0.1);
}

.stripe-banner-left-img img,
.stripe-banner-right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s ease;
    filter: brightness(0.9) contrast(1.1);
}

.stripe-banner-container:hover .stripe-banner-left-img img,
.stripe-banner-container:hover .stripe-banner-right-img img {
    transform: scale(1.15);
    filter: brightness(1.05);
}

/* Center Content */
.stripe-banner-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px 40px;
    position: relative;
    z-index: 10;
}

/* CTA Button - Premium Floating Style */
.stripe-banner-cta {
    background: #f1a400;
    padding: 18px 15px;
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(241, 164, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stripe-banner-cta h3 {
    color: #ffff;
    font-weight: 800;
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.stripe-banner-cta:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(241, 164, 0, 0.5);
}

.stripe-banner-cta:active {
    transform: translateY(-2px);
}

/* Divider Text */
.stripe-banner-divider {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 1.1rem;
    font-style: italic;
    text-transform: lowercase;
}

/* Phone Section - Glass Design */
.stripe-banner-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 35px;
    border-radius: 6px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
}

.stripe-banner-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stripe-banner-phone i,
.stripe-banner-phone svg {
    color: #fff;
    fill: #fff;
    font-size: 1rem;
    animation: premiumPhoneRing 2s infinite ease-in-out;
}

@keyframes premiumPhoneRing {

    0%,
    100% {
        transform: scale(1) rotate(0);
    }

    10% {
        transform: scale(1.2) rotate(-15deg);
    }

    20% {
        transform: scale(1.2) rotate(15deg);
    }

    30% {
        transform: scale(1.1) rotate(-10deg);
    }

    40% {
        transform: scale(1) rotate(0);
    }
}

.stripe-banner-phone span a {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.stripe-banner-phone span a:hover {
    color: #F1A400;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .stripe-banner-container {
        flex-direction: column;
        max-width: 95%;
        border-radius: 30px;
        min-height: auto;
    }

    .stripe-banner-left-img,
    .stripe-banner-right-img {
        flex: 0 0 150px;
        clip-path: none;
        border: none;
    }

    .stripe-banner-content {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }

    .stripe-banner-cta {
        width: 100%;
        max-width: 300px;
    }

    .stripe-banner-divider {
        display: none;
    }
}


/* ========================================================================
   MOBILE HEADER FIXES
   ======================================================================== */

/* Hamburger button positioning */
.hamburger-btn {
    padding: 8px 12px;
    margin-left: auto !important;
}

.hamburger-btn i {
    font-size: 1.5rem;
}

/* Contact info alignment */
.contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Hide phone on mobile, show on tablet and up */
@media (max-width: 767px) {
    .phone-link {
        display: none !important;
    }

    .hamburger-btn {
        margin-left: 0 !important;
    }
}

/* ========================================================================
   RESPONSIVE MEDIA QUERIES
   ======================================================================== */

/* ========================================================================
   MOBILE OFFCANVAS MENU STYLES
   ======================================================================== */
.offcanvas {
    background: linear-gradient(135deg, #3F706E 0%, #67B0AC 100%);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.offcanvas-title img {
    max-width: 150px;
}

.offcanvas .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .navbar-nav {
    width: 100%;
}

.offcanvas-body .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body .nav-link {
    color: #fff !important;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-body .nav-link:hover {
    color: #F1A400 !important;
}

.offcanvas-body .submenu {
    list-style: none;
    padding-left: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.offcanvas-body .submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas-body .submenu li:last-child {
    border-bottom: none;
}

.offcanvas-body .submenu a {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.offcanvas-body .submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #F1A400 !important;
    padding-left: 1.5rem;
}

.offcanvas-body .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.offcanvas-body .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* ========================================================================
   LARGE DESKTOP - 1400px to 1600px
   ======================================================================== */
@media (min-width: 1400px) and (max-width: 1600px) {
    .container {
        max-width: 1320px;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* ========================================================================
   DESKTOP - 1200px
   ======================================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .logo img {
        max-width: 150px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 8px 12px !important;
    }

    .phone-link {
        font-size: 14px;
    }

    .book-demo-header {
        padding: 6px 15px !important;
        font-size: 12px !important;
    }

    #hero {
        min-height: 650px;
    }

    .rcm-item-card,
    .specialty-box {
        padding: 30px 12px;
    }

    .rcm-item-card img,
    .specialty-box img {
        width: 55px;
        height: 55px;
    }

    .thrive-circle {
        width: 280px;
        height: 280px;
    }

    .telemedicine-hand-mockup img {
        max-width: 160%;
    }
}

/* ========================================================================
   HIDE DESKTOP MENU ON SMALL SCREENS (LAPTOP) - max-width: 991px
   ======================================================================== */
@media (max-width: 991px) {

    /* Hide desktop navigation */
    #header nav.d-none.d-lg-block {
        display: none !important;
    }

    /* Hide desktop book demo button */
    .book-demo-header.d-none.d-lg-inline-block {
        display: none !important;
    }

    /* Show hamburger menu */
    .d-lg-none {
        display: block !important;
    }

    /* Adjust header padding */
    #header {
        padding: 8px 0;
    }

    .logo img {
        max-width: 140px;
    }

    .phone-link {
        font-size: 13px;
    }

    .phone-link i {
        font-size: 12px;
    }

    /* Hero adjustments */
    #hero {
        min-height: 550px;
        margin-top: 55px;
        padding-top: 60px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    /* Section padding */
    /* .section-padding {
        padding: 60px 0;
    } */

    /* RCM Cards - 3 columns */
    .rcm-item-card {
        padding: 25px 10px;
    }

    .rcm-item-card img {
        width: 50px;
        height: 50px;
    }

    .rcm-item-card h6 {
        font-size: 0.95rem;
    }

    /* Service icons */
    .service-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    /* Hub cards */
    .hub-card {
        padding: 15px;
        gap: 10px;
    }

    .hub-card img {
        width: 45px;
        height: 45px;
    }

    .hub-text {
        font-size: 0.85rem;
    }

    .center-image-wrapper {
        width: 300px;
        height: 300px;
    }

    /* Telemedicine */
    .telemedicine-hand-mockup img {
        max-width: 100%;
    }

    .inventory-banner {
        padding: 12px 40px;
    }

    .inventory-banner h4 {
        font-size: 1rem;
    }

    /* Tele feature cards */
    .col-lg-2dot4 {
        width: 33.333%;
    }

    /* Specialty boxes */
    .col-lg-custom {
        width: 33.333%;
    }

    .specialty-box {
        padding: 25px 15px;
    }

    .specialty-box img {
        width: 50px;
        height: 50px;
    }

    /* Thrive circles */
    .thrive-circle {
        width: 250px;
        height: 250px;
    }

    /* Stats */
    .stat-text-number {
        font-size: 2.5rem;
    }

    .stat-text-label {
        font-size: 0.95rem;
    }

    /* Unique cards */
    .unique-card {
        min-height: 420px;
        padding: 20px;
    }

    .unique-card-inner {
        gap: 15px;
    }

    .unique-card-inner img {
        height: 200px;
    }

    .unique-card-body {
        min-height: 80px;
        padding: 10px 0;
    }

    /* Stripe banners */
    .stripe-banner-content {
        gap: 15px;
    }

    .stripe-banner-cta h3 {
        font-size: 1.3rem;
    }

    .stripe-banner-phone span {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================================================
   TABLET - 768px to 991px
   ======================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    #hero {
        min-height: 600px;
    }

    /* RCM section - 3 per row */
    .rcm-item-card {
        margin-bottom: 20px;
    }

    /* Service cards - 2 per row */
    .service-icon-wrapper {
        width: 120px;
        height: 120px;
    }

    /* Telemedicine features - 3 per row */
    .col-lg-2dot4 {
        width: 33.333%;
    }

    .tele-feature-card {
        padding: 30px 15px;
    }

    /* Specialty grid - 3 per row */
    .col-lg-custom {
        width: 33.333%;
    }

    /* Why choose tabs */
    .why-tabs-wrapper .nav-pills {
        flex-wrap: wrap;
        justify-content: center;
    }

    .why-tabs-wrapper .nav-item {
        margin-bottom: 10px;
    }

    /* Thrive circles */
    .thrive-circle {
        width: 280px;
        height: 280px;
    }

    /* Impact section */
    .impact-bg {
        padding: 40px !important;
    }

    /* Stripe banner */
    .stripe-banner-left-img,
    .stripe-banner-right-img {
        width: 150px;
    }

    .stripe-banner-content {
        gap: 20px;
    }

    /* EHR section */
    .ehr-column {
        padding: 10px;
    }

    .ehr-logo-box {
        padding: 15px;
    }
}

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

    /* Typography - Standardized across all sections */
    h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.3rem !important;
        line-height: 1.3;
    }

    h4 {
        font-size: 1.15rem !important;
        line-height: 1.3;
    }

    h5 {
        font-size: 1.05rem !important;
        line-height: 1.3;
    }

    h6 {
        font-size: 0.95rem !important;
        line-height: 1.3;
    }

    p {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }

    /* Header */
    #header {
        padding: 8px 0;
    }

    .logo img {
        max-width: 130px;
    }

    .phone-link {
        font-size: 0.75rem;
    }

    .phone-link i {
        display: none;
    }

    /* Hero Section - Better proportions */
    #hero {
        height: auto;
        min-height: 500px;
        margin-top: 50px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-title {
        line-height: 1.2;
    }

    .hero-content p {
        line-height: 1.6;
    }

    /* Buttons - Medium size, not too large */
    .btn {
        font-size: 0.85rem !important;
        padding: 10px 20px !important;
    }

    .btn-warning {
        font-size: 0.9rem !important;
        padding: 12px 24px !important;
    }

    /* Section Padding */
    /* .section-padding {
        padding: 40px 0;
    } */

    /* RCM Section - Proper icon visibility */
    .rcm-item-card {
        padding: 20px 12px;
    }

    .rcm-item-card img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .rcm-item-card h6 {
        line-height: 1.3;
    }

    /* Service Section - Better icon visibility */
    .service-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
    }

    .service-icon-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Hub Cards - Proper sizing */
    .hub-card {
        padding: 15px 25px;
        gap: 15px;
        margin: 0 auto !important;
        max-width: 380px;
    }

    .hub-card.left-card,
    .hub-card.right-card {
        flex-direction: row !important;
        /* Icon on left, text on right for both */
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .hub-card.left-card img,
    .hub-card.right-card img {
        order: 1 !important;
        width: 60px;
        height: 60px;
        padding: 10px;
    }

    .hub-card.left-card .hub-text,
    .hub-card.right-card .hub-text {
        order: 2 !important;
        font-size: 0.9rem;
    }

    .center-image-wrapper {
        width: 250px;
        height: 250px;
        margin: 30px auto;
    }

    .center-doc-img {
        max-width: 100%;
        transform: none;
        position: static;
    }

    /* Stripe Banner - Full Responsive Redesign */
    .stripe-banner-section {
        margin: 50px 0;
        padding: 0 15px;
    }

    .stripe-banner-container {
        flex-direction: column;
        padding: 0;
        min-height: auto;
        border-radius: 12px;
        overflow: hidden;
        background: linear-gradient(135deg, #3F706E 0%, #5A9290 100%);
    }

    .stripe-banner-left-img,
    .stripe-banner-right-img {
        display: none !important;
    }

    .stripe-banner-content {
        flex-direction: column;
        gap: 15px;
        padding: 30px 20px;
        text-align: center;
        width: 100%;
    }

    .stripe-banner-cta {
        width: 100%;
        padding: 15px 20px;
        display: block;
    }

    .stripe-banner-cta h3 {
        margin-bottom: 0;
        font-size: 1rem !important;
    }

    .stripe-banner-divider {
        font-size: 0.9rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.8);
    }

    .stripe-banner-phone {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.15);
    }

    .stripe-banner-phone span a {
        font-size: 1.1rem;
    }

    .stripe-banner-phone i,
    .stripe-banner-phone svg {
        font-size: 1.1rem;
        color: #fff;
        fill: #fff;
    }

    /* Telemedicine Section */
    .inventory-banner-wrapper {
        margin-top: 30px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .inventory-banner {
        padding: 10px 0;
    }

    .inventory-banner h4 {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    .telemedicine-title {
        margin-bottom: 30px;
    }

    .telemedicine-hand-mockup {
        margin-bottom: 30px;
    }

    .telemedicine-hand-mockup img {
        max-width: 100%;
    }

    .telemedicine-description li {
        margin-bottom: 15px;
    }

    .telemedicine-description li i {
        font-size: 1rem;
    }

    /* Tele Feature Cards - 2 per row on mobile */
    .col-lg-2dot4 {
        width: 50%;
    }

    .tele-feature-card {
        padding: 20px 10px;
    }

    .tele-feature-card img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .tele-feature-text {
        font-size: 0.8rem;
    }

    /* Why Choose Us Section */
    .why-tabs-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Why Choose Us Section - Grid Layout */
    .why-tabs-wrapper {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .why-tabs-wrapper .nav-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible;
    }

    .why-tabs-wrapper .nav-item {
        flex: none;
    }

    .why-tabs-wrapper .nav-link {
        border-radius: 8px !important;
        padding: 15px 10px !important;
        font-size: 0.8rem !important;
        background: #D9D9D9 !important;
        border: none !important;
        justify-content: center;
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        white-space: normal;
    }

    .why-tabs-wrapper .nav-item:last-child {
        grid-column: span 2;
        /* Make the 5th tab full width */
    }

    .why-tabs-wrapper .nav-link.active {
        background-color: #0E5E58 !important;
        color: #fff !important;
    }

    .why-tabs-wrapper .nav-link::after {
        display: none !important;
    }

    .tab-circle {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    .active-caret {
        display: none !important;
    }

    /* Cards under tabs - 1 per row for focus */
    .custom-grid-5 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .custom-grid-item-3,
    .custom-grid-item-2 {
        width: 100% !important;
    }

    .why-card {
        padding: 15px;
        margin: 0 auto;
        max-width: 350px;
    }

    .why-card img {
        height: 200px;
    }

    /* We Serve Section */
    .serve-heart-proper {
        max-width: 100%;
    }

    .we-serve-list li {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .we-serve-list i {
        font-size: 1rem;
    }

    /* Thrive Section */
    .thrive-circle {
        width: 200px;
        height: 200px;
        border-width: 5px;
    }

    /* Specialty Grid - 2 per row on mobile */
    .col-lg-custom {
        width: 50%;
        padding: 8px;
    }

    .specialty-box {
        padding: 20px 10px;
        text-align: center;
    }

    .specialty-box img {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .specialty-box h6 {
        margin-bottom: 0;
    }

    /* Impact Section */
    .impact-bg {
        padding: 30px 20px !important;
    }

    .impact-bg h2 {
        margin-bottom: 15px;
    }

    .impact-bg p {
        margin-bottom: 25px;
    }

    /* Stats Section */
    .stat-card-box {
        padding: 30px 20px;
    }

    .stat-text-number {
        font-size: 2rem;
    }

    .stat-text-label {
        font-size: 0.85rem;
    }

    .stat-card-box img {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    /* Unique Section */
    .unique-card {
        min-height: 400px;
        padding: 15px;
    }

    .unique-card-inner {
        gap: 12px;
    }

    .unique-card-inner img {
        height: 220px;
    }

    .unique-card-body {
        min-height: 80px;
    }

    .unique-card-body h5 {
        font-size: 0.95rem;
    }

    .unique-row {
        padding: 12px;
        gap: 12px;
    }

    .unique-num-text {
        font-size: 1.8rem;
        min-width: 50px;
    }

    .unique-text-box {
        padding: 15px 18px;
        /* Reduced side padding (from 50px) to allow text to spread out */
        min-height: auto;
        width: 100%;
    }

    .unique-text-box p {
        font-size: 0.9rem;
        text-align: left;
        /* Better readability on mobile */
    }

    /* EHR Section */
    .ehr-title {
        font-size: 1.4rem;
    }

    .ehr-staggered-grid {
        flex-direction: column;
        gap: 20px;
    }

    .ehr-column {
        width: 100%;
        padding: 0;
    }

    .ehr-logo-box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .ehr-wave-container {
        height: 120px;
    }

    .expo {
        padding-top: 30px !important;
    }

    .ehr-section {
        padding-bottom: 40px !important;
    }

    .ehr-logo-box img {
        max-width: 120px;
    }

    .ehr-title {
        color: #0E5E58;
        font-weight: 800;
        margin-bottom: 60px;
        margin-top: 0px !important;
        position: relative;
        z-index: 5;
    }

    /* Footer */
    .footer-cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-cert-item img {
        max-width: 80px;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-links-col h5 {
        font-size: 1.1rem;
    }

    .footer-links-col ul li {
        font-size: 0.85rem;
    }

    .footer-contact-info li {
        font-size: 0.85rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem !important;
        margin-bottom: 0px !important;
    }

    .social-links {
        display: flex;
        gap: 0px !important;
        margin-top: 30px;
    }
}

/* ========================================================================
   EXTRA SMALL MOBILE - max-width: 480px
   ======================================================================== */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .logo img {
        max-width: 100px;
    }

    .phone-link {
        font-size: 10px;
    }

    #hero {
        min-height: 400px;
    }

    /* .section-padding {
        padding: 60px 0;
    } */

    .rcm-item-card h6,
    .specialty-box h6 {
        font-size: 0.75rem;
    }

    .inventory-banner h4 {
        font-size: 0.65rem;
    }

    .thrive-circle {
        width: 180px;
        height: 180px;
    }

    .stat-text-number {
        font-size: 1.8rem;
    }
}

/* ========================================================================
   LANDSCAPE MOBILE - max-height: 500px
   ======================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    /* .section-padding {
        padding: 60px 0;
    } */
}

/* ========================================================================
   CAREER PAGE STYLES - PREMIUM DESIGN
   ======================================================================== */
.career-hero {
    height: 80vh;
    min-height: 770px;
    background: linear-gradient(rgba(14, 94, 88, 0.7), rgba(0, 0, 0, 0.6)), url('../img/career-banner.jpg') no-repeat center center/cover;
    margin-top: 60px;
    padding-top: 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.career-hero h1,
.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.career-hero .hero-title,
.contact-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #F5EC44;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-image-container {
    height: 100%;
    min-height: 500px;
}

.contact-image-container img {
    border: 8px solid #fff;
}

.career-hero p,
.contact-hero p {
    font-size: 1.15rem;
    max-width: 800px;
    opacity: 0.95;
    color: #fff;
    line-height: 1.6;
}

.career-hero-content {
    z-index: 2;
}

/* Current Openings */
.job-card {
    background: #fff;
    border: 1px solid rgba(14, 94, 88, 0.08);
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 6px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 94, 88, 0.12);
    border-left: 6px solid #0E5E58;
    border-color: rgba(14, 94, 88, 0.2);
}

.job-info h4 {
    color: #0E5E58;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.job-location {
    color: #666;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

.btn-apply {
    background: linear-gradient(135deg, #F1A400 0%, #d49000 100%);
    color: #fff;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(241, 164, 0, 0.3);
}

.btn-apply:hover {
    background: linear-gradient(135deg, #d49000 0%, #F1A400 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 164, 0, 0.4);
}

/* ========================================================================
   PREMIUM APPLICATION FORM SECTION
   ======================================================================== */
.career-application-section {
    background: linear-gradient(135deg, #F8FBFC 0%, #E8F4F5 100%);
    padding: 60px 0;
}

.application-header h2 {
    position: relative;
    display: inline-block;
}

.application-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #F1A400 0%, #0E5E58 100%);
    border-radius: 2px;
}

/* ========================================================================
   BENEFITS SIDEBAR
   ======================================================================== */
.career-benefits-card {
    background: linear-gradient(135deg, #417371 0%, #3F706E 100%);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 20px 60px rgba(14, 94, 88, 0.3);
    position: relative;
    height: auto;
}

.benefit-icon-header {
    text-align: center;
    margin-bottom: 40px;
}

.benefit-icon-circle {
    width: 90px;
    height: 90px;
    background: rgb(241 164 0);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.benefit-icon-circle:hover {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 255, 255, 0.25);
}

.benefit-icon-circle i {
    font-size: 2.8rem;
    color: #ffffff;
}

.benefits-list {
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    border-left: 3px solid #F1A400;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgb(241 164 0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: #ffffff;
    font-size: 1.5rem;
}

.benefit-content h6 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.career-cta-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.career-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.career-phone {
    color: #F1A400;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.career-phone:hover {
    color: #fff;
    transform: scale(1.05);
}

/* ========================================================================
   PREMIUM FORM CARD
   ======================================================================== */
.premium-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.premium-form-card::before {
    display: none;
}

/* ========================================================================
   PREMIUM INPUT STYLES
   ======================================================================== */
.premium-input-group {
    margin-bottom: 0;
}

.premium-label {
    font-weight: 600;
    color: #0E5E58;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: #0E5E58;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.premium-input,
.premium-select,
.premium-textarea {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    font-family: 'Open Sans', sans-serif;
}

.premium-input:focus,
.premium-select:focus,
.premium-textarea:focus {
    outline: none;
    border-color: #0E5E58;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 94, 88, 0.1);
}

.premium-input:focus+.input-icon,
.premium-select:focus+.input-icon,
.premium-textarea:focus+.input-icon {
    color: #F1A400;
    transform: scale(1.1);
}

.premium-textarea {
    min-height: 140px;
    resize: vertical;
    padding-top: 18px;
}

.premium-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230E5E58' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* Placeholder Styling */
.premium-input::placeholder,
.premium-textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* ========================================================================
   PREMIUM FILE UPLOAD
   ======================================================================== */
.premium-file-upload {
    position: relative;
}

.premium-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.premium-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.premium-file-label:hover {
    border-color: #0E5E58;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7F7 100%);
    box-shadow: 0 5px 20px rgba(14, 94, 88, 0.1);
}

.premium-file-label i {
    font-size: 2.5rem;
    color: #0E5E58;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.premium-file-label:hover i {
    color: #F1A400;
    transform: translateY(-5px);
}

.file-text {
    font-weight: 600;
    color: #0E5E58;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
}

.file-info {
    font-size: 0.8rem;
    color: #999;
    display: block;
}

.premium-file-input:focus+.premium-file-label {
    border-color: #0E5E58;
    box-shadow: 0 0 0 4px rgba(14, 94, 88, 0.1);
}

/* ========================================================================
   PREMIUM RECAPTCHA
   ======================================================================== */
.premium-recaptcha-wrapper {
    margin: 30px 0 20px;
}

.premium-recaptcha {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    max-width: 350px;
}

.premium-recaptcha:hover {
    border-color: #0E5E58;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.recaptcha-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 28px;
    height: 28px;
    z-index: 2;
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.checkbox-custom {
    width: 28px;
    height: 28px;
    border: 2px solid #D1D5DB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
    top: 4px;
    left: 9px;
}

.premium-checkbox:checked+.checkbox-label .checkbox-custom {
    background: linear-gradient(135deg, #0E5E58 0%, #3F706E 100%);
    border-color: #0E5E58;
    box-shadow: 0 4px 12px rgba(14, 94, 88, 0.3);
}

.premium-checkbox:checked+.checkbox-label .checkbox-custom::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.checkbox-text {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.recaptcha-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recaptcha-icon {
    font-size: 1.5rem;
    color: #4285F4;
}

.recaptcha-text-small {
    display: flex;
    flex-direction: column;
}

.recaptcha-title {
    font-size: 0.7rem;
    color: #666;
    font-weight: 700;
    line-height: 1.2;
}

.recaptcha-links {
    font-size: 0.65rem;
    color: #999;
    line-height: 1.2;
}

/* ========================================================================
   PREMIUM SUBMIT BUTTON
   ======================================================================== */
.premium-submit-btn {
    background: linear-gradient(135deg, #417371 0%, #3F706E 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 50px;
    border: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(14, 94, 88, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.premium-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.premium-submit-btn:hover::before {
    left: 100%;
}

.premium-submit-btn:hover {
    background: linear-gradient(135deg, #3F706E 0%, #0E5E58 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 94, 88, 0.4);
}

.premium-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(14, 94, 88, 0.3);
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.premium-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.submit-note {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* ========================================================================
   RESPONSIVE CAREER PAGE
   ======================================================================== */
@media (max-width: 991px) {
    .career-benefits-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .premium-form-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: 80px 0;
    }

    .career-hero h1 {
        font-size: 2.2rem;
    }

    .job-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }

    .btn-apply {
        width: 100%;
    }

    .premium-form-card {
        padding: 30px 20px;
    }

    .premium-input,
    .premium-select,
    .premium-textarea {
        font-size: 0.9rem;
        padding: 12px 18px 12px 45px;
    }

    .input-icon {
        left: 15px;
        font-size: 0.9rem;
    }

    .premium-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 1rem;
    }

    .premium-recaptcha {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }

    .benefit-item {
        padding: 12px;
    }

    .benefit-icon {
        width: 35px;
        height: 35px;
    }

    .benefit-icon i {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .career-hero h1 {
        font-size: 1.8rem;
    }

    .career-hero p {
        font-size: 1rem;
    }

    .premium-file-label {
        padding: 25px 15px;
    }

    .premium-file-label i {
        font-size: 2rem;
    }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero Section */
.contact-hero {
    height: 80vh;
    min-height: 770px;
    background: linear-gradient(rgba(14, 94, 88, 0.7), rgba(0, 0, 0, 0.6)), url('../img/contact-banner.jpg') no-repeat center center/cover;
    margin-top: 60px;
    padding-top: 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-hero-content {
    z-index: 2;
}

/* Hero titles are shared with career hero styles above */

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Contact Form Section */
.contact-section {
    background-color: #f8fbfa;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(241, 169, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form Styling */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid rgba(14, 94, 88, 0.05) !important;
}

.contact-form .form-floating>.form-control,
.contact-form .form-floating>.form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    height: 60px;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-floating>label {
    padding: 1rem 0.75rem;
    color: #718096;
    font-weight: 500;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #0E5E58;
    box-shadow: 0 0 0 4px rgba(14, 94, 88, 0.1);
    outline: none;
}

.contact-form .form-floating>.form-control:focus~label,
.contact-form .form-floating>.form-control:not(:placeholder-shown)~label,
.contact-form .form-floating>.form-select~label {
    color: #0E5E58;
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.contact-form .form-select {
    cursor: pointer;
}

/* Captcha Placeholder Styling */
.captcha-placeholder {
    border: 1px solid #d1d5db !important;
    background: #f9fafb !important;
}

.checkbox-box {
    transition: background-color 0.2s;
}

.checkbox-box:hover {
    background-color: #f3f4f6 !important;
}

/* Animation Delays */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .career-benefits-card {
        margin-bottom: 40px;
    }
}

/* Contact Specific Premium Tweaks */
.contact-section .career-benefits-card {
    background: linear-gradient(135deg, #407270 0%, #17837a 100%);
}

.contact-section .premium-form-card {
    transition: all 0.4s ease;
}

.contact-section .premium-form-card:hover {
    box-shadow: 0 30px 70px rgba(14, 94, 88, 0.15) !important;
}

.input-icon-wrapper i {
    color: #0E5E58;
    /* Match brand color */
}

.premium-input:focus+.input-icon {
    color: #F1A400 !important;
}

@media (max-width: 768px) {

    .contact-hero h1,
    .career-hero h1 {
        font-size: 2rem;
    }

    .contact-hero .hero-title,
    .career-hero .hero-title {
        font-size: 2.2rem;
    }

    .contact-hero {
        height: 60vh;
        min-height: 500px;
    }
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS — COMPREHENSIVE OVERRIDES
   ========================================================================== */

/* ── Tablet & Below (≤991px) ── */
@media (max-width: 991px) {

    /* Hero */
    #hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    /* H1/H2 heading scale-down */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Specialty grid — 3 columns on tablet */
    .col-lg-custom {
        width: 33.3333%;
    }

    /* RCM / Specialty / Tele feature cards */
    .rcm-item-card,
    .specialty-box,
    .tele-feature-card {
        min-height: 180px;
        padding: 25px 12px;
    }

    .rcm-item-card img,
    .specialty-box img,
    .tele-feature-card img {
        width: 60px;
        height: 60px;
    }

    /* Stat card box */
    .stat-card-box {
        padding: 40px 20px;
    }

    .stat-text-number {
        font-size: 2rem;
    }

    /* Stat dividers hidden on tablet — use row gutters instead */
    .stat-divider {
        display: none;
    }

    /* Impact bg padding */
    .impact-bg {
        padding: 40px 20px !important;
    }

    /* Why tabs — allow horizontal scroll */
    #why .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    #why .nav-item {
        flex: 0 0 auto;
    }

    #why .nav-link {
        font-size: 0.85rem;
        padding: 14px 12px;
        gap: 8px;
    }

    /* Thrive circle */
    .thrive-circle {
        width: 240px;
        height: 240px;
    }

    /* EHR logos */
    .ehr-logo-box {
        width: 150px;
        height: 80px;
    }

    /* Footer top padding */
    footer {
        padding: 40px 0 0;
    }
}

/* ── Large Mobile & Small Tablet (≤768px) ── */
@media (max-width: 768px) {

    /* Hero */
    #hero {
        margin-top: 0;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    /* Specialty grid — 2 columns on mobile */
    .col-lg-custom {
        width: 50%;
    }

    /* Specialty cards tighter */
    .specialty-box {
        padding: 20px 10px;
        min-height: 150px;
        border-radius: 14px;
    }

    .rcm-item-card {
        border-radius: 14px;
    }

    /* Inventory marquee banner */
    .inventory-banner {
        transform: skewX(0);
        border-radius: 8px;
    }

    .inventory-banner h4 {
        transform: skewX(0);
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Stats grid — stack */
    .stat-card-box {
        padding: 30px 15px;
    }

    .stat-card-box img {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .stat-text-number {
        font-size: 1.7rem;
    }

    .stat-text-label {
        font-size: 0.9rem;
    }

    /* Impact section */
    .impact-bg {
        padding: 30px 15px !important;
        text-align: center;
    }

    /* Unique card fix */
    .unique-card {
        min-height: auto;
    }

    .unique-card img {
        height: 200px;
    }

    .unique-card h5 {
        min-height: auto;
        font-size: 1.1rem;
    }

    /* Why Choose Nav Tabs override */
    #why .nav-pills {
        border-radius: 4px;
    }

    /* Mapping section — single column */
    .unique-mapping-container {
        margin-top: 40px;
    }

    /* Compact billing grid */
    .compact-billing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* EHR logos */
    .ehr-logos {
        gap: 15px;
        padding: 20px 0;
    }

    .ehr-logo-box {
        width: 120px;
        height: 65px;
        padding: 10px;
    }

    /* Thrive circle */
    .thrive-circle {
        width: 200px;
        height: 200px;
    }

    /* Footer */
    footer {
        padding: 30px 0 0;
    }

    .footer-logo img {
        height: 40px;
    }

    .cert-logos img {
        height: 48px;
    }

    /* Sidebar specialty pages */
    .page-wrapper {
        padding: 80px 0 40px;
    }

    .prism-card {
        border-radius: 18px;
        padding: 14px;
    }

    .hero-glass {
        border-radius: 24px;
        padding: 20px;
    }

    .hero-title {
        font-size: 1.7rem !important;
    }

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

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-terminal {
        font-size: 0.75rem;
        padding: 14px;
    }
}

/* ── Small Mobile (≤575px) ── */
@media (max-width: 575px) {

    /* Standard headings */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero */
    #hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    /* Specialty grid — stay at 2 columns on phones */
    .col-lg-custom {
        width: 50%;
    }

    /* Specialty / RCM min-height */
    .specialty-box,
    .rcm-item-card {
        min-height: 130px;
        padding: 18px 8px;
    }

    .rcm-item-card img,
    .specialty-box img {
        width: 50px;
        height: 50px;
    }

    .rcm-item-card h6,
    .specialty-box h6 {
        font-size: 0.8rem;
        min-height: 3rem;
    }

    /* Stats */
    .stat-text-number {
        font-size: 1.5rem;
    }

    .stat-card-box {
        padding: 25px 12px;
    }

    /* Impact */
    .impact-bg {
        border-radius: 12px !important;
    }

    .impact-bg h2 {
        font-size: 1.4rem !important;
    }

    /* Why Choose tabs — scroll */
    #why .nav-link {
        font-size: 0.75rem;
        padding: 12px 10px;
        gap: 5px;
        white-space: nowrap;
        min-width: 120px;
    }

    #why .nav-link i {
        font-size: 1rem;
    }

    /* Compact billing grid */
    .compact-billing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Billing circles tighter */
    .billing-circles-grid {
        gap: 12px;
    }

    .billing-circle {
        width: 70px;
        height: 70px;
    }

    .billing-circle img {
        width: 35px;
        height: 35px;
    }

    /* EHR */
    .ehr-logo-box {
        width: 100px;
        height: 55px;
    }

    /* Thrive circle */
    .thrive-circle {
        width: 170px;
        height: 170px;
    }

    /* Specialty billing page hero */
    .hero-title {
        font-size: 1.4rem !important;
    }

    .hero-glass {
        padding: 16px;
        border-radius: 20px;
    }

    .pulse-stats {
        gap: 10px;
    }

    .pulse-stat-item {
        padding-left: 10px;
    }

    .stat-val {
        font-size: 1.1rem;
    }

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

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-terminal {
        font-size: 0.7rem;
        padding: 12px;
        border-radius: 14px;
    }

    .faq-bubble {
        padding: 14px 15px;
        border-radius: 14px;
    }

    /* Footer */
    .cert-logos img {
        height: 40px;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
    }

    /* Offcanvas sidebar nav */
    .sidebar-column {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 20px;
    }

    /* Navigation */
    .logo img {
        max-width: 130px;
    }

    /* Buttons */
    .btn-warning-unique {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* ── Extra Small (≤400px) ── */
@media (max-width: 400px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .specialty-box,
    .rcm-item-card {
        padding: 14px 6px;
        min-height: 120px;
    }

    .hero-title {
        font-size: 1.2rem !important;
    }

    .pulse-stats {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   INDEX PAGE — COMPREHENSIVE SECTION RESPONSIVE FIXES
   ========================================================================== */

/* ── WHY OUR MEDICAL BILLING SECTION — Tabs + Image Cards ── */

/* Tabs wrapper: allow scroll & wrap on mobile */
.why-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.why-tabs-wrapper .nav {
    flex-wrap: nowrap;
    min-width: max-content;
}

/* Custom grid: stack to 2-col on tablet, 1-col on mobile */
.custom-grid-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
    padding: 20px 0;
}

.custom-grid-item-3,
.custom-grid-item-2 {
    flex: 1 1 260px;
    max-width: 300px;
    display: flex;
}

.why-card img {
    height: 160px;
}

@media (max-width: 991px) {

    .custom-grid-item-3,
    .custom-grid-item-2 {
        flex: 1 1 220px;
        max-width: 260px;
    }

    .why-card img {
        height: 140px;
    }
}

@media (max-width: 767px) {

    /* Tabs: horizontal scroll strip */
    #why .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        gap: 6px;
        padding-bottom: 6px;
    }

    #why .nav-link {
        font-size: 0.8rem;
        padding: 8px 14px;
        white-space: nowrap;
    }

    /* Cards: 2-per-row on tablet */
    .custom-grid-item-3,
    .custom-grid-item-2 {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
        min-width: 140px;
    }

    .why-card img {
        height: 120px;
    }

    .why-card h6 {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    /* Cards: 1 per row on smallest screens */
    .custom-grid-item-3,
    .custom-grid-item-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .why-card img {
        height: 180px;
    }
}

/* ── HUB CARD (We Provide / Service Hub ) ── */
@media (max-width: 991px) {
    .hub-card {
        max-width: 100%;
        padding: 14px 20px;
        min-height: 80px;
    }

    .hub-card img {
        width: 60px;
        height: 60px;
    }

    .center-image-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 767px) {

    /* Stack all hub cards vertically and center */
    #services .row.align-items-center.justify-content-center.my-5>div {
        order: unset !important;
    }

    .hub-card.left-card,
    .hub-card.right-card {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        text-align: center;
        flex-direction: row;
    }

    .hub-card {
        max-width: 100%;
        width: 100%;
        padding: 12px 16px;
        min-height: 70px;
        margin-bottom: 14px;
        gap: 12px;
    }

    .hub-card img {
        width: 50px;
        height: 50px;
        padding: 10px;
    }

    .hub-text {
        font-size: 0.9rem;
    }

    .center-image-wrapper {
        width: 200px;
        height: 200px;
        margin: 10px auto;
    }

    .service-icon-wrapper {
        width: 140px;
        height: 140px;
    }
}

/* ── STRIPE BANNERS ── */
@media (max-width: 767px) {

    .stripe-banner-left-img,
    .stripe-banner-right-img {
        display: none;
    }

    .stripe-banner-container {
        border-radius: 20px;
        min-height: 120px;
        margin: 0 15px;
    }

    .stripe-banner-content {
        gap: 20px;
        padding: 20px 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stripe-banner-cta h3 {
        font-size: 0.85rem;
    }

    .stripe-banner-phone {
        font-size: 0.9rem;
    }
}

/* ── EHR STAGGERED GRID ── */
@media (max-width: 991px) {
    .ehr-staggered-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .ehr-column {
        gap: 20px;
    }

    .ehr-logo-box {
        width: 170px;
        height: 100px;
    }

    .col-left,
    .col-right,
    .col-center,
    .col-far-left,
    .col-far-right {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .ehr-staggered-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .ehr-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .ehr-logo-box {
        width: 140px;
        height: 80px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .ehr-logo-box {
        width: calc(50% - 10px);
        height: 70px;
    }
}

/* ── UNIQUE FROM OTHERS (unique-card) ── */
@media (max-width: 767px) {
    #unique-from-others .row {
        gap: 16px;
    }

    .unique-card {
        margin-bottom: 0;
    }
}

/* ── MAXIMIZE IMPACT SECTION ── */
@media (max-width: 991px) {
    .impact-bg {
        padding: 30px !important;
    }
}

@media (max-width: 767px) {
    .impact-bg {
        padding: 24px 16px !important;
    }

    .impact-bg img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }
}

/* ── TRACK RECORD STATS ── */
@media (max-width: 767px) {
    .stat-card-box .row {
        gap: 24px;
    }

    .stat-text-number {
        font-size: 2rem;
    }

    .stat-text-label {
        font-size: 0.85rem;
    }
}

/* ── WE SERVE SECTION ── */
@media (max-width: 767px) {
    .serve-heart-proper {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .big-heart-container {
        text-align: center;
    }
}

/* ── TELEMEDICINE SECTION ── */
@media (max-width: 991px) {
    .telemedicine-hand-mockup img {
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }

    .telemedicine-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .telemedicine-hand-mockup img {
        max-width: 200px;
    }

    .telemedicine-title {
        font-size: 1.5rem;
    }

    .tele-feature-card {
        padding: 14px 10px;
    }

    .tele-feature-text {
        font-size: 0.8rem;
    }
}

/* ── THRIVE WITH US ── */
@media (max-width: 767px) {
    .thrive-circle {
        width: 160px;
        height: 160px;
        margin: 0 auto 16px;
    }
}

/* ── UNIQUE SECTION (MAPPING) ── */
@media (max-width: 767px) {
    .mapping-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mapping-point {
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
    }

    .mapping-box {
        padding: 16px 18px;
    }

    .mapping-box p {
        font-size: 0.9rem;
    }
}

/* ── SERVICES ICON WRAPPER ── */
@media (max-width: 767px) {
    .service-icon-wrapper {
        width: 120px;
        height: 120px;
    }
}
