/* 
 * Living Spring Healthcare Design System
 * Global Style & Foundation System (2026 Premium Specification)
 */

/* ----------------------------------------------------
   1. Design System & CSS Variables
---------------------------------------------------- */
:root {
    /* Color System */
    --primary-navy: #173A67;       /* Primary Navy */
    --deep-navy: #102B4C;          /* Deep Navy */
    --healthcare-teal: #18B8A5;    /* Healthcare Teal */
    --light-teal: #E3F8F4;         /* Light Teal background overlay */
    --soft-blue: #F3F8FC;          /* Soft Medical Blue background */
    --white: #FFFFFF;              /* Pure White */
    --dark-text: #17202A;          /* Dark Text */
    --muted-text: #667085;         /* Muted Text */
    --border-color: #E4EAF0;       /* Global Borders */
    
    /* Semantic Color Mapping */
    --primary: var(--primary-navy);
    --primary-dark: var(--deep-navy);
    --teal: var(--healthcare-teal);
    --teal-light: var(--light-teal);
    --background: var(--soft-blue);
    --text: var(--dark-text);
    --text-muted: var(--muted-text);
    
    /* Typography Fonts */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Shadows & Elevation */
    --shadow-sm: 0 1px 2px 0 rgba(23, 58, 103, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(23, 58, 103, 0.05), 0 2px 4px -2px rgba(23, 58, 103, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(23, 58, 103, 0.06), 0 4px 6px -4px rgba(23, 58, 103, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(23, 58, 103, 0.08), 0 8px 10px -6px rgba(23, 58, 103, 0.08);
    --shadow-premium: 0 25px 50px -12px rgba(23, 58, 103, 0.12);
    
    /* Rounded Corners */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-round: 9999px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: var(--transition-normal);

    /* Spacing Grid */
    --section-padding: 6rem;
    --section-padding-mobile: 3.5rem;
}

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
}

img,
svg,
video {
    max-width: 100%;
    display: block;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(24, 184, 165, 0.35);
    outline-offset: 2px;
}

section[id] {
    scroll-margin-top: 110px;
}

.font-heading {
    font-family: var(--font-heading) !important;
}

.font-body {
    font-family: var(--font-body) !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.radius-lg {
    border-radius: var(--radius-lg) !important;
}

.max-width-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.transition-all {
    transition: var(--transition-normal) !important;
}

.hover-lift {
    transition: var(--transition-normal);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-teal-bg {
    transition: var(--transition-fast);
}
.hover-teal-bg:hover {
    background-color: var(--light-teal) !important;
    color: var(--deep-navy) !important;
}

.section-subtitle {
    color: var(--muted-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-primary-navy {
    color: var(--primary-navy) !important;
}
.text-teal {
    color: var(--healthcare-teal) !important;
}
.text-teal-dark {
    color: #0e7e70 !important;
}

.bg-teal {
    background-color: var(--healthcare-teal) !important;
}
.bg-teal-light {
    background-color: var(--light-teal) !important;
}
.bg-primary-light {
    background-color: var(--soft-blue) !important;
}
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-round);
    background-color: var(--light-teal);
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.card-form-premium {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.service-grid-card {
    height: 100%;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.service-grid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 184, 165, 0.4);
    box-shadow: var(--shadow-lg);
}
.service-card-icon-container {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--light-teal) 0%, rgba(227, 248, 244, 0.65) 100%);
    color: var(--healthcare-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: inset 0 0 0 1px rgba(24, 184, 165, 0.08);
}
.service-card-body {
    min-width: 0;
}
.service-card-body h4 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.35;
}
.service-card-body p {
    margin-bottom: 0;
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.65;
}

.service-detail-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.service-offerings {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.service-offerings-heading h3 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    line-height: 1.3;
}
.service-offering-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    height: 100%;
    min-height: 82px;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(23, 58, 103, 0.09);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #fff 0%, #f8fbfd 100%);
    box-shadow: 0 5px 16px rgba(23, 58, 103, 0.045);
    transition: var(--transition-normal);
}
.service-offering-item:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 184, 165, 0.3);
    box-shadow: 0 12px 25px rgba(23, 58, 103, 0.08);
}
.service-offering-icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--light-teal);
    color: var(--healthcare-teal);
    font-size: 1.1rem;
    font-weight: 800;
    transition: var(--transition-fast);
}
.service-offering-item:hover .service-offering-icon {
    background: var(--healthcare-teal);
    color: var(--white);
}
.service-offering-item p {
    margin: 0;
    padding-top: 0.22rem;
    color: var(--muted-text);
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.55;
}

.related-programs-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.related-programs-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.35rem 1.35rem 1.2rem;
    background: linear-gradient(135deg, var(--deep-navy), var(--primary-navy));
}
.related-programs-heading-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--healthcare-teal);
    font-size: 1.2rem;
}
.related-programs-heading small {
    display: block;
    margin-bottom: 0.15rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.related-programs-heading h4 {
    margin: 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}
.related-programs-list {
    padding: 0.65rem;
}
.related-program-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.78rem 0.7rem;
    border-radius: 10px;
    color: var(--muted-text);
    text-decoration: none;
    transition: var(--transition-fast);
}
.related-program-link + .related-program-link {
    border-top: 1px solid rgba(228, 234, 240, 0.75);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.related-program-link:hover,
.related-program-link:focus {
    background: var(--light-teal);
    color: var(--primary-navy);
}
.related-program-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--soft-blue);
    color: var(--healthcare-teal);
    transition: var(--transition-fast);
}
.related-program-link:hover .related-program-icon {
    background: var(--white);
}
.related-program-title {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.35;
}
.related-program-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--healthcare-teal);
    transition: transform 0.2s ease;
}
.related-program-link:hover .related-program-arrow {
    transform: translateX(4px);
}

.service-care-options {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    background:
        radial-gradient(circle at 0 10%, rgba(24, 184, 165, 0.11), transparent 25%),
        radial-gradient(circle at 100% 90%, rgba(23, 58, 103, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fbfe 0%, var(--soft-blue) 100%);
}
.service-care-options::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    left: -160px;
    bottom: -130px;
    border: 42px solid rgba(24, 184, 165, 0.05);
    border-radius: 50%;
}
.care-options-heading {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}
.care-options-heading p {
    font-size: 1rem;
    line-height: 1.7;
}
.care-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    min-height: 330px;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(23, 58, 103, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(23, 58, 103, 0.06);
    color: inherit;
    text-align: left;
    text-decoration: none;
    transition: var(--transition-normal);
}
.care-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--healthcare-teal), var(--primary-navy));
    transform: scaleX(0.28);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.care-option-card:hover {
    transform: translateY(-7px);
    border-color: rgba(24, 184, 165, 0.3);
    box-shadow: 0 22px 45px rgba(23, 58, 103, 0.12);
}
.care-option-card:hover::before {
    transform: scaleX(1);
}
.care-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(24, 184, 165, 0.14);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--light-teal), #f4fffd);
    color: var(--healthcare-teal);
    font-size: 1.8rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    transition: var(--transition-normal);
}
.care-option-card:hover .care-option-icon {
    transform: translateY(-3px) rotate(-3deg);
    background: var(--healthcare-teal);
    color: var(--white);
}
.care-option-card h3 {
    margin-bottom: 0.85rem;
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
}
.care-option-card p {
    flex: 1;
    margin: 0 0 1.35rem;
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.65;
}
.care-option-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--healthcare-teal);
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.care-option-link i {
    transition: transform 0.2s ease;
}
.care-option-card:hover .care-option-link i {
    transform: translateX(5px);
}

@media (max-width: 575.98px) {
    .care-option-card {
        min-height: 0;
        padding: 1.5rem;
    }
}

.map-iframe-container {
    position: relative;
    width: 100%;
    min-height: 320px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.map-iframe-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.partner-section {
    background: linear-gradient(180deg, var(--soft-blue) 0%, #ffffff 100%);
}
.partner-logo-item {
    width: 100%;
    min-height: 88px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.partner-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(24, 184, 165, 0.35);
}
.partner-logo-svg {
    width: 100%;
    height: auto;
    opacity: 0.98;
}

.contact-sponsors-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(24, 184, 165, 0.09), transparent 22rem),
        linear-gradient(180deg, #f8fcff 0%, #ffffff 48%);
}
.contact-sponsors-heading {
    max-width: 720px;
    margin: 0 auto clamp(1.75rem, 4vw, 3rem);
}
.contact-sponsors-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    color: var(--secondary-teal);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.contact-sponsors-eyebrow::before,
.contact-sponsors-eyebrow::after {
    width: 24px;
    height: 1px;
    background: currentColor;
    content: "";
}
.contact-sponsors-title {
    margin-bottom: 0.8rem;
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}
.contact-sponsors-heading p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}
.contact-sponsors-strip {
    overflow: hidden;
    padding: clamp(0.25rem, 1vw, 0.75rem);
    border: 1px solid rgba(23, 58, 103, 0.09);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 18px 45px rgba(23, 58, 103, 0.09);
}
.contact-sponsors-image {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .contact-sponsors-strip {
        margin-inline: -0.25rem;
        padding: 0;
        border-radius: var(--radius-md);
    }

    .contact-sponsors-image {
        width: 210%;
        max-width: none;
        transform: translateX(-26%);
    }
}

/* Bootstrap Utility Color Overrides for Brand Alignment */
.bg-primary {
    background-color: var(--primary-navy) !important;
}
.bg-primary-dark {
    background-color: var(--deep-navy) !important;
}
.text-primary {
    color: var(--primary-navy) !important;
}
.text-primary-dark {
    color: var(--deep-navy) !important;
}

/* ----------------------------------------------------
   2. Global Typography Reset
---------------------------------------------------- */
body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--soft-blue);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Headings: Premium & Confident */
h1, .h1 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h2, .h2 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
h3, .h3 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 700;
    line-height: 1.3;
}
h4, .h4 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
}

small, .small {
    font-size: 0.85rem;
    color: var(--muted-text);
}

label, .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: inline-block;
}

a {
    color: var(--healthcare-teal);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--deep-navy);
}

/* Custom selection coloring */
::selection {
    background-color: var(--light-teal);
    color: var(--deep-navy);
}

/* ----------------------------------------------------
   3. Spacing Utilities
---------------------------------------------------- */
.section-padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
@media (max-width: 991.98px) {
    .section-padding {
        padding-top: var(--section-padding-mobile);
        padding-bottom: var(--section-padding-mobile);
    }
}

.gap-section {
    margin-bottom: var(--section-padding);
}

/* ----------------------------------------------------
   4. Sticky Elevated Navigation & Info Header
---------------------------------------------------- */
h5, .h5 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 600;
    line-height: 1.35;
}

/* ----------------------------------------------------
   4. Sticky Elevated Navigation & Info Header
---------------------------------------------------- */
.top-header {
    background-color: var(--deep-navy);
    color: var(--white);
    font-size: 0.9rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-weight: 500;
}
.top-header a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
}
.top-header a:hover {
    color: var(--healthcare-teal);
}
.top-header .divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 16px;
}
.top-header-icon {
    color: var(--healthcare-teal);
    margin-right: 8px;
    font-size: 1rem;
}

.navbar-custom {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--border-color);
}

/* Sticky scrolling elevation */
.navbar-custom.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-xl);
    border-bottom-color: transparent;
}

.navbar-brand-custom img {
    display: block;
    width: clamp(132px, 12vw, 158px);
    height: auto;
    object-fit: contain;
}
.navbar-brand-custom {
    flex-shrink: 0;
    margin-right: clamp(1rem, 2vw, 2rem);
    padding-block: 0;
}
.site-footer-logo {
    display: block;
    width: clamp(180px, 20vw, 230px);
    max-width: 100%;
    height: auto;
}
.footer-logo {
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.navbar-brand-custom span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

@media (max-width: 575.98px) {
    .navbar-brand-custom img {
        width: 124px;
    }
}

.nav-link-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy) !important;
    font-size: 0.95rem;
    margin: 0 10px;
    position: relative;
    padding: 8px 0 !important;
    transition: var(--transition-fast);
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--healthcare-teal);
    transition: var(--transition-fast);
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
}
.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--healthcare-teal) !important;
}

/* ----------------------------------------------------
   5. Dropdowns & Mega Menus
---------------------------------------------------- */
@media (min-width: 992px) {
    .navbar-custom .container {
        position: relative;
    }
    .dropdown-mega {
        position: static !important;
    }
    .dropdown-mega .megamenu {
        position: absolute;
        width: 860px;
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        right: auto;
        top: 100%;
        margin-top: 12px;
        background-color: var(--white);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        display: none;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .dropdown-mega:hover .megamenu,
    .dropdown-mega .megamenu.show {
        display: block;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* Hover bridge to keep dropdowns open while cursor is crossing the gap */
    .navbar-nav .nav-item.dropdown::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 25px;
        background: transparent;
        z-index: 99;
    }

    /* Standard dropdown styling */
    .dropdown-menu-custom {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 240px;
        background-color: var(--white);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
        padding: 12px 0;
        z-index: 1000;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .dropdown:hover .dropdown-menu-custom {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    .dropdown-menu-custom .dropdown-item {
        padding: 10px 20px;
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.92rem;
        color: var(--primary-navy);
        transition: var(--transition-fast);
    }
    .dropdown-menu-custom .dropdown-item:hover {
        background-color: var(--light-teal);
        color: var(--healthcare-teal);
        padding-left: 24px;
    }

    .services-submenu {
        width: min(590px, calc(100vw - 40px));
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        padding: 26px 34px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }
    .dropdown:hover .services-submenu {
        display: grid;
        transform: translateX(-50%) translateY(0);
    }
    .services-submenu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        min-width: 0;
    }
    .services-submenu li:not(:last-child) {
        border-bottom: 1px solid #edf0f2;
    }
    .services-submenu .dropdown-item {
        padding: 13px 0;
        color: #565b61;
        font-size: 1rem;
        font-weight: 700;
        white-space: normal;
    }
    .services-submenu .dropdown-item:hover,
    .services-submenu .dropdown-item:focus {
        background: transparent;
        color: var(--healthcare-teal);
        padding-left: 4px;
    }
}

.megamenu-left-panel {
    background-color: var(--deep-navy);
    color: var(--white);
    min-height: 250px;
    padding: 35px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.megamenu-left-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.megamenu-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--healthcare-teal);
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.megamenu-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.megamenu-links-list li {
    margin-bottom: 12px;
}
.megamenu-links-list a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-navy);
    display: block;
    transition: var(--transition-fast);
}
.megamenu-links-list a:hover {
    color: var(--healthcare-teal);
    transform: translateX(4px);
}
.border-start-lg {
    border-left: 1px solid var(--border-color);
}

/* ----------------------------------------------------
   6. Mobile Off-canvas Navigation Drawer
---------------------------------------------------- */
.offcanvas-custom {
    background-color: var(--white) !important;
    width: 320px !important;
    border-left: 1px solid var(--border-color);
}
.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}
.offcanvas-body {
    padding: 25px 20px;
}
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-item {
    margin-bottom: 15px;
}
.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(228, 234, 240, 0.5);
}
.mobile-nav-link.active {
    color: var(--healthcare-teal);
}

/* Off-canvas dropdown menu lists */
.mobile-submenu {
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
    border-left: 2px solid var(--healthcare-teal);
}
.mobile-submenu li {
    margin-bottom: 8px;
}
.mobile-submenu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--muted-text);
    display: block;
    padding: 6px 0;
}
.mobile-submenu a:hover {
    color: var(--healthcare-teal);
}

/* Prevent screen scroll when menu is active */
body.mobile-menu-active {
    overflow: hidden !important;
}

/* ----------------------------------------------------
   7. Reusable Global Page Hero Banner
---------------------------------------------------- */
.internal-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--deep-navy) 100%);
    color: var(--white);
    padding: 85px 0;
    overflow: hidden;
}
.internal-hero--image {
    background-image: linear-gradient(90deg, rgba(16, 43, 76, 0.95) 0%, rgba(23, 58, 103, 0.85) 50%, rgba(24, 184, 165, 0.35) 100%), var(--internal-hero-bg);
    background-size: cover;
    background-position: center;
}
.internal-hero .container {
    position: relative;
    z-index: 5;
}
.internal-hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.08;
    max-width: 12ch;
}
.internal-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(var(--healthcare-teal) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: 1;
}
.internal-hero-teal-accent {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--healthcare-teal);
    opacity: 0.15;
    z-index: 1;
    border: 15px solid rgba(255, 255, 255, 0.05);
}
.internal-hero-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(24, 184, 165, 0.2);
    color: var(--healthcare-teal);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-round);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.internal-hero-breadcrumbs {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}
.internal-hero-breadcrumbs a {
    color: var(--healthcare-teal);
}
.internal-hero-breadcrumbs a:hover {
    color: var(--white);
    text-decoration: underline;
}
.internal-hero-breadcrumbs .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 767.98px) {
    .internal-hero {
        padding: 72px 0;
    }

    .internal-hero h1 {
        max-width: none;
    }
}

/* ----------------------------------------------------
   8. Global Buttons System (Elegant Hovers)
---------------------------------------------------- */
.btn-primary-custom {
    background-color: var(--primary-navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-navy);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary-custom:hover {
    background-color: var(--deep-navy);
    border-color: var(--deep-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-custom {
    background-color: var(--healthcare-teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--healthcare-teal);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-secondary-custom:hover {
    background-color: #128E7F;
    border-color: #128E7F;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-teal-custom {
    background-color: var(--healthcare-teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--healthcare-teal);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-teal-custom:hover {
    background-color: #128e7f;
    border-color: #128e7f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-navy);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-outline-custom:hover {
    background-color: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-text-custom {
    background-color: transparent;
    border: none;
    color: var(--healthcare-teal);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}
.btn-text-custom:hover {
    color: var(--deep-navy);
    transform: translateX(4px);
}

.btn-primary-custom:focus-visible,
.btn-secondary-custom:focus-visible,
.btn-teal-custom:focus-visible,
.btn-outline-custom:focus-visible,
.btn-nav-cta:focus-visible,
.btn-subscribe:focus-visible {
    box-shadow: 0 0 0 4px rgba(24, 184, 165, 0.2);
}

.btn-primary-custom:disabled,
.btn-secondary-custom:disabled,
.btn-teal-custom:disabled,
.btn-outline-custom:disabled,
.btn-nav-cta:disabled,
.btn-subscribe:disabled {
    opacity: 0.65;
    transform: none;
}

/* ----------------------------------------------------
   9. Premium Card Design System
---------------------------------------------------- */
.card-custom {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
    height: 100%;
}
.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--healthcare-teal);
}

/* ----------------------------------------------------
   10. Premium Forms Design (52-56px Inputs)
---------------------------------------------------- */
.form-group-custom {
    margin-bottom: 24px;
}
.form-control-custom {
    height: 54px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--white);
    transition: var(--transition-fast);
}
.form-control-custom::placeholder {
    color: var(--muted-text);
    opacity: 0.7;
}
.form-control-custom:focus {
    border-color: var(--healthcare-teal);
    box-shadow: 0 0 0 4px var(--light-teal);
    outline: none;
}
.form-select-custom {
    height: 54px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--white);
    transition: var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23173A67' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px 14px;
}
.form-select-custom:focus {
    border-color: var(--healthcare-teal);
    box-shadow: 0 0 0 4px var(--light-teal);
    outline: none;
}
textarea.form-control-custom {
    height: auto;
    min-height: 140px;
}

.form-control-custom:disabled,
.form-select-custom:disabled,
textarea.form-control-custom:disabled {
    background-color: #f7f9fc;
    color: #98a2b3;
    cursor: not-allowed;
}

/* ----------------------------------------------------
   11. Visual Balanced Footer
---------------------------------------------------- */
.footer-main {
    background-color: #0c1220; /* Deep Slate Navy */
    color: #a0aec0;
    padding: 90px 0 35px 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--healthcare-teal);
    font-family: var(--font-body);
}
.footer-main h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-main h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--healthcare-teal);
    border-radius: var(--radius-round);
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links-list li {
    margin-bottom: 12px;
}
.footer-links-list a {
    color: #a0aec0;
    transition: var(--transition-fast);
    font-size: 0.92rem;
    display: inline-block;
}
.footer-links-list a:hover {
    color: var(--healthcare-teal);
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}
.footer-contact-icon {
    color: var(--healthcare-teal);
    font-size: 1rem;
    margin-top: 3px;
}
.footer-contact-list a {
    color: #a0aec0;
    transition: var(--transition-fast);
}
.footer-contact-list a:hover {
    color: var(--healthcare-teal);
}

.footer-hours-table {
    width: 100%;
    border-collapse: collapse;
}
.footer-hours-table td {
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-hours-day {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white);
}
.footer-hours-time {
    text-align: right;
    color: #a0aec0;
}

.footer-bottom {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}
.footer-bottom a {
    color: #a0aec0;
    transition: var(--transition-fast);
}
.footer-bottom a:hover {
    color: var(--healthcare-teal);
}

.hover-teal {
    transition: var(--transition-fast);
}
.hover-teal:hover {
    color: var(--healthcare-teal) !important;
}

/* ----------------------------------------------------
   12. Animation System (Fast, Smooth, Professional)
---------------------------------------------------- */
.reveal {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-reveal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal active state triggered by IntersectionObserver */
.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.scale-reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Respect user preferences regarding animations */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .scale-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ----------------------------------------------------
   13. Desktop & Mobile Mega Menu Responsive Tweaks
---------------------------------------------------- */
@media (max-width: 991.98px) {
    .border-start-lg {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .megamenu-left-panel {
        min-height: auto;
        padding: 25px !important;
    }
    .dropdown-mega .megamenu {
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
    }
}

/* ----------------------------------------------------
   14. Services Premium Card Styles
---------------------------------------------------- */
.service-premium-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--healthcare-teal);
}
.service-card-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: var(--soft-blue);
}
.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}
.service-premium-card:hover .service-card-img {
    transform: scale(1.05);
}
.service-card-badge-icon {
    position: absolute;
    bottom: -24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--healthcare-teal);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
    border: 3px solid var(--white);
    transition: var(--transition-normal);
}
.service-premium-card:hover .service-card-badge-icon {
    background: var(--primary-navy);
    transform: translateY(-3px);
}
.service-premium-body {
    padding: 2.2rem 1.5rem 1.8rem;
    flex-grow: 1;
}

/* Lifestyle full width banner overlay settings */
.lifestyle-banner-section {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lifestyle-banner-overlay {
    mix-blend-mode: multiply;
}

/* ----------------------------------------------------
   15. Careers Application Progress Steps
---------------------------------------------------- */
/* Careers page */
.career-intro-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(24, 184, 165, 0.08), transparent 24%),
        linear-gradient(180deg, #fff 0%, #f9fcfe 100%);
}
.career-intro-copy h3 {
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    line-height: 1.25;
}
.career-instructions {
    position: relative;
    padding: 1.4rem 1.5rem 1.4rem 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(24, 184, 165, 0.2);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--light-teal), #f7fffd);
}
.career-instructions::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--healthcare-teal);
}
.career-image-frame {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
}
.career-image-frame::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    top: -22px;
    right: -22px;
    border-radius: 28px;
    background: var(--light-teal);
    z-index: -1;
}
.career-image {
    width: 100%;
    aspect-ratio: 1 / 0.88;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 20px;
}
.career-image-badge {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: calc(100% - 60px);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
}
.career-image-badge-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--light-teal);
    color: var(--healthcare-teal);
}
.career-image-badge strong,
.career-image-badge small {
    display: block;
}
.career-image-badge strong {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 0.86rem;
}
.career-image-badge small {
    color: var(--muted-text);
    font-size: 0.72rem;
}

.career-benefits-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--soft-blue);
}
.career-benefit-card {
    position: relative;
    height: 100%;
    padding: 1.8rem;
    overflow: hidden;
    border: 1px solid rgba(23, 58, 103, 0.09);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 7px 20px rgba(23, 58, 103, 0.05);
    transition: var(--transition-normal);
}
.career-benefit-card::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    right: -48px;
    bottom: -48px;
    border-radius: 50%;
    background: var(--light-teal);
    transition: var(--transition-normal);
}
.career-benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(24, 184, 165, 0.3);
    box-shadow: var(--shadow-lg);
}
.career-benefit-card:hover::after {
    transform: scale(1.3);
}
.career-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 15px;
    background: var(--light-teal);
    color: var(--healthcare-teal);
    font-size: 1.2rem;
}

.career-application-section {
    position: relative;
    background:
        radial-gradient(circle at 100% 0, rgba(24, 184, 165, 0.08), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.career-application-card {
    padding: clamp(1.4rem, 4vw, 3rem);
    overflow: hidden;
    overflow-anchor: none;
    border: 1px solid rgba(23, 58, 103, 0.1);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(23, 58, 103, 0.11);
}
.application-form-header {
    position: relative;
    max-width: 650px;
    margin: 0 auto 2rem;
}
.application-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--healthcare-teal), #0f8e80);
    color: var(--white);
    font-size: 1.65rem;
    box-shadow: 0 12px 25px rgba(24, 184, 165, 0.22);
}
.application-form-title {
    margin: 0.8rem 0 0.55rem;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}
.application-form-header p {
    margin: 0;
    color: var(--muted-text);
    line-height: 1.65;
}
.application-progress-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--soft-blue);
}
.application-progress-summary .progress {
    overflow: hidden;
    border-radius: var(--radius-round);
    background: #dfe9f0;
}
.application-progress-summary .progress-bar {
    border-radius: var(--radius-round);
    transition: width 0.35s ease;
}
.application-steps-bar {
    --step-progress: 0%;
}
.application-steps-bar::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: var(--step-progress);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-navy), var(--healthcare-teal));
    z-index: 1;
    transition: width 0.35s ease;
}
.form-step-panel {
    min-height: 430px;
    padding: 1.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #fbfdff;
    animation: careerStepIn 0.28s ease;
}
.form-step-panel > h4 {
    position: relative;
    margin-bottom: 1.75rem !important;
    padding-bottom: 0.85rem;
    font-size: 1.3rem;
}
.form-step-panel > h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: var(--radius-round);
    background: var(--healthcare-teal);
}
.form-step-panel .form-label {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 700;
}
.form-step-panel .form-control-custom {
    background-color: var(--white);
}
.custom-choice-container {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
}
.custom-choice-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.custom-choice-label {
    min-width: 64px;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border-radius: 9px;
    color: var(--muted-text);
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.custom-choice-input:checked + .custom-choice-label {
    background: var(--primary-navy);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.custom-choice-input:focus-visible + .custom-choice-label {
    outline: 3px solid rgba(24, 184, 165, 0.3);
    outline-offset: 2px;
}
@keyframes careerStepIn {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}
.career-cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-navy) 100%);
}

@media (max-width: 767.98px) {
    .career-image-frame::before {
        display: none;
    }
    .career-image-badge {
        right: 20px;
        bottom: 20px;
        max-width: calc(100% - 40px);
    }
    .career-application-card {
        border-radius: var(--radius-lg);
    }
    .application-progress-summary {
        flex-wrap: wrap;
    }
    .form-step-panel {
        min-height: 0;
        padding: 1.25rem;
    }
    .form-step-panel .d-flex.justify-content-between {
        gap: 0.75rem;
    }
    .form-step-panel .btn {
        padding: 0.8rem 1rem !important;
        font-size: 0.82rem;
    }
    .application-steps-bar::after {
        top: 18px;
    }
}

@media (max-width: 420px) {
    .career-image-badge {
        position: static;
        max-width: none;
        margin-top: 0.8rem;
        border-color: var(--border-color);
    }
    .form-step-panel .d-flex.justify-content-between {
        align-items: stretch;
        flex-direction: column-reverse;
    }
    .form-step-panel .btn {
        width: 100%;
    }
}

.application-steps-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 3rem;
}
.application-steps-bar::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}
.application-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}
.application-step-number {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-round);
    background-color: var(--white);
    border: 3.5px solid var(--border-color);
    color: var(--muted-text);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: var(--transition-fast);
}
.application-step-label {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    transition: var(--transition-fast);
}
.application-step.active .application-step-number {
    border-color: var(--healthcare-teal);
    background-color: var(--healthcare-teal);
    color: var(--white);
    box-shadow: 0 0 0 5px var(--light-teal);
}
.application-step.active .application-step-label {
    color: var(--primary-navy);
    font-weight: 700;
}
.application-step.completed .application-step-number {
    border-color: var(--primary-navy);
    background-color: var(--primary-navy);
    color: var(--white);
}
.application-step.completed .application-step-label {
    color: var(--primary-navy);
}

@media (max-width: 767.98px) {
    .application-steps-bar::before {
        top: 18px;
    }
    .application-step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-width: 2px;
    }
    .application-step-label {
        font-size: 0.6rem;
    }
}

/* ----------------------------------------------------
   16. Home Hero Section & Layered Image Compositions
---------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 120px 0 140px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--soft-blue) 100%);
    overflow: hidden;
}
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.hero-shape-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--light-teal);
    opacity: 0.4;
    filter: blur(80px);
}
.hero-shape-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(23, 58, 103, 0.04);
    filter: blur(60px);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}
.hero-image-main:hover {
    transform: scale(1.02);
}
.hero-image-accent {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 90%;
    height: 100%;
    background-color: var(--light-teal);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.image-grid-composite {
    position: relative;
    padding-bottom: 20px;
    padding-right: 20px;
    display: inline-block;
    width: 100%;
}
.image-grid-composite::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 120px;
    height: 120px;
    border-top: 3.5px solid var(--healthcare-teal);
    border-left: 3.5px solid var(--healthcare-teal);
    border-top-left-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}
.composite-image-1 {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-normal);
}
.composite-image-1:hover {
    transform: scale(1.02);
}
.composite-image-2 {
    position: absolute;
    bottom: -15px;
    right: 5px;
    z-index: 3;
    max-width: 220px;
    transform: translateY(0);
    transition: var(--transition-normal);
}
.composite-image-2:hover {
    transform: translateY(-5px);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0 100px 0;
        text-align: center;
    }
    .hero-image-accent {
        left: 5%;
        width: 90%;
    }
    .image-grid-composite {
        margin-bottom: 40px;
    }
    
    /* Reset overlapping benefits margin on tablets & mobile */
    div.position-relative[style*="margin-top: -65px"] {
        margin-top: 2rem !important;
    }
}

/* Mobile-first specific adjustments (under 576px) */
@media (max-width: 575.98px) {
    h1, .h1 {
        font-size: 2.1rem !important;
        letter-spacing: -0.5px !important;
    }
    h2, .h2 {
        font-size: 1.75rem !important;
    }
    h3, .h3 {
        font-size: 1.5rem !important;
    }
    h4, .h4 {
        font-size: 1.3rem !important;
    }
    .display-1 { font-size: 3.5rem !important; }
    .display-2 { font-size: 3rem !important; }
    .display-3 { font-size: 2.3rem !important; }
    .display-4 { font-size: 2rem !important; }
    .display-5 { font-size: 1.75rem !important; }
    .display-6 { font-size: 1.5rem !important; }
    
    /* Section padding scale-down for mobile */
    .section-padding {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    
    /* Ensure hero action buttons stack cleanly on narrow mobile views */
    .hero-content .d-flex {
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
    }
    .hero-content .btn {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    /* Stack asymmetric composites cleanly */
    .image-grid-composite {
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }
    .composite-image-2 {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        max-width: 100% !important;
        margin-top: 20px !important;
    }

    .card-form-premium {
        padding: 1.5rem;
    }

    .map-iframe-container {
        min-height: 280px;
    }

    .service-grid-card {
        padding: 1.25rem;
    }

    .service-card-icon-container {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 1.25rem;
    }
}

/* ----------------------------------------------------
   17. Navbar Book Appointment CTA Style
---------------------------------------------------- */
.btn-nav-cta {
    background-color: var(--healthcare-teal);
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(24, 184, 165, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-nav-cta:hover {
    background-color: var(--deep-navy);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(16, 43, 76, 0.3);
}

/* ----------------------------------------------------
   18. Redesigned Newsletter Section CTA
---------------------------------------------------- */
.newsletter-section-wrapper {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}
.newsletter-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(24, 184, 165, 0.1) 1.5px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.8;
    z-index: 1;
}
.newsletter-banner-content {
    position: relative;
    z-index: 2;
}
.newsletter-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}
.newsletter-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
}
.newsletter-form-container {
    display: flex;
    gap: 12px;
    max-width: 500px;
}
.newsletter-input {
    flex-grow: 1;
    height: 54px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white);
    transition: var(--transition-fast);
}
.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.newsletter-input:focus {
    border-color: var(--healthcare-teal);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(24, 184, 165, 0.2);
    outline: none;
}
.btn-subscribe {
    background-color: var(--healthcare-teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0 30px;
    height: 54px;
    border-radius: var(--radius-md);
    border: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
.btn-subscribe:hover {
    background-color: #128E7F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.emergency-call-out {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}
.emergency-call-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    background-color: rgba(24, 184, 165, 0.15);
    color: var(--healthcare-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition-normal);
}
.emergency-call-out:hover .emergency-call-icon {
    transform: scale(1.08) rotate(-5deg);
    background-color: var(--healthcare-teal);
    color: var(--white);
}
.emergency-call-text h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.emergency-call-text a {
    color: var(--healthcare-teal) !important;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-fast);
}
.emergency-call-text a:hover {
    color: var(--white) !important;
}

@media (max-width: 575.98px) {
    .newsletter-form-container {
        flex-direction: column;
        gap: 15px;
    }
    .newsletter-input, .btn-subscribe {
        width: 100%;
    }
    .emergency-call-out {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* ----------------------------------------------------
   19. Contact Page Visual Elements
---------------------------------------------------- */
.contact-info-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background-color: var(--light-teal);
    color: var(--healthcare-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.d-flex:hover .contact-info-icon-wrapper {
    background-color: var(--healthcare-teal);
    color: var(--white);
    transform: scale(1.05);
}
