/* ==========================================================================
   CARE-HOSPITAL - COMMON & GLOBAL STYLES (common.css)
   Contains: Fonts, CSS Variables, Modern Reset, Grid/Flex Utilities, and Buttons
   ========================================================================== */

/* 2. GLOBAL CSS VARIABLES (DESIGN TOKENS) */
:root {
    /* Color Palette */
    --color-primary: #0ea5e9;
    /* Trust Teal/Sky Blue */
    --color-primary-hover: #0284c7;
    /* Darker Sky Blue */
    --color-secondary: #0f172a;
    /* Deep clinical Navy Blue */
    --color-accent: #10b981;
    /* Emerald Wellness/Success Green */
    --color-accent-hover: #059669;
    --color-warning: #f59e0b;
    /* Soft warning amber */
    --color-danger: #ef4444;
    /* Soft danger red */

    /* Background & Surface Colors */
    --bg-main: #f9f9f9;
    /* Very soft blueish-gray background */
    --bg-surface: #ffffff;
    /* Pure white card backgrounds */
    --bg-dark: #0f172a;
    /* Dark theme background or footer */
    --common-gredient: linear-gradient(270deg, #1DA491 0%, #345196 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));

    /* Text Colors */
    --text-dark: #0f172a;
    /* Main readable headers and body */
    --text-muted: #475569;
    /* Subheadings, secondary details */
    --text-light: #94a3b8;
    /* Footnotes, placeholders */
    --text-white: #ffffff;
    /* Text on dark backgrounds */

    /* Font Weight */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* Line Heights & Letter Spacing */
    --lh-body: 1.6;
    --lh-heading: 1.25;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.02em;

    /* Spacing Scale (Pixel-based) */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    --space-huge: 80px;

    /* Container Widths */
    --container-max-width: 1920px;
    --container-padding: 60px;

    /* Borders & Radius */
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Box Shadows (Premium & Soft) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}



/* 3. MODERN BROWSER RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Baseline rem */
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    /* Base font size in pixels */
    font-weight: var(--weight-regular);
    line-height: var(--lh-body);
    letter-spacing: var(--letter-spacing-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Resets */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
    color: var(--text-dark);
    font-weight: var(--weight-bold);
    line-height: var(--lh-heading);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: 38px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 16px;
}

/* 3.1 COMMON FONT SIZE & SPACING CLASSES (Pixel-based) */
.fs-42 {
    font-size: 42px;
}

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

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

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

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

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

/* Section Spacing Helpers */
.sec-padding {
    padding-top: 30px;
    padding-bottom: 30px;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

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

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* 4. LAYOUT UTILITIES */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Flexbox Utilities */
.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-col {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

/* Grid Utilities */
.d-grid {
    display: grid;
}

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

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

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

/* Common Spacing Helpers (Gap) */
.gap-xs {
    gap: var(--space-xs);
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.gap-xl {
    gap: var(--space-xl);
}

/* Text Alignment & Transformations */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

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

.text-secondary {
    color: var(--color-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* Hidden state helpers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 5. COMMON UI COMPONENTS (BUTTONS) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-family: "Manrope", sans-serif;
    font-weight: var(--weight-semibold);
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.btn-dark {
    background-color: var(--color-secondary);
    color: var(--text-white);
}

.btn-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn:active {
    transform: translateY(0);
}

/* Responsive Overrides for Container and Fonts */
@media (max-width: 1499px) {
    .fs-40 {
        font-size: 32px;
    }

}

@media (max-width: 1280px) {
    .container {
        padding-left: 30px;
        padding-right: 30px
    }

}

@media (max-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 24px;
    }

    .fs-40 {
        font-size: 36px;
    }


}

@media (max-width: 480px) {
    :root {
        --space-huge: 50px;
        --space-xxl: 32px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 24px;
    }

    /* Pixel Font size responsive class overrides */
    .fs-46 {
        font-size: 40px;
    }



    /* Pixel Section padding responsive override */
    .sec-padding {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }


}

@media (max-width: 479px) {
    h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .fs-40 {
        font-size: 30px;
    }

}


/* ==========================================================================
   8. SITE FOOTER (custom-footer)
   ========================================================================== */
.custom-footer {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #fff;
}

.custom-footer-card {
    background-color: #ffffff;
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.custom-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 0;
}

.custom-footer-col {
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
}

#footer-col-links {
    flex: 1.1 1 auto;
    padding-left: 0;
}

#footer-col-policies {
    flex: 1.4 1 auto;
}

#footer-col-contact {
    flex: 1.6 1 auto;
}

#footer-col-connect {
    flex: 0.9 1 auto;
    padding-right: 0;
}

.custom-footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #EDEDED;
}

.custom-footer-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.custom-footer-header {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1E1E1E;
    margin: 0;
    text-transform: none;
}

.custom-footer-arrow {
    display: none;
    /* Desktop hidden */
    color: #64748B;
    transition: transform 0.3s ease;
}

.custom-footer-subcols {
    display: flex;
    gap: 28px;
}

.custom-footer-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-footer-link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.custom-footer-link:hover {
    color: #1E1E1E;
}

.custom-footer-address {
    font-style: normal;
}

.custom-footer-contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom-footer-contact-icon {
    color: #64748B;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-footer-contact-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.4;
}

.custom-footer-contact-text--multiline {
    white-space: pre-line;
}

.custom-footer-social-wrapper {
    margin-bottom: 30px;
}

.custom-footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #EDEDED;
    color: #1E1E1E;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.custom-footer-copyright {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
}

.custom-footer-former-name {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
    text-align: center;
    margin-top: 40px;
}

/* Centered Copyright text at bottom of footer for both desktop and mobile */
.custom-footer-copyright {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
    text-align: center;
    margin-top: 8px;
}

.custom-footer-social-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.custom-footer-contact-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Connect Column styles */
.custom-footer-connect-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-footer-connect-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.custom-footer-connect-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #757575;
    text-transform: none;
}

.custom-footer-connect-email {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #1E1E1E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-footer-connect-email:hover {
    color: #2E5399;
}

@media (max-width: 991px) {
    .custom-footer-copyright {
        margin-top: 24px;
    }

    .custom-footer-social-container {
        display: flex;
        margin-top: 16px;
        margin-left: 0;
        justify-content: flex-start;
    }

    .custom-footer-contact-container {
        display: block;
    }
}


/* ==========================================================================
   [RESPONSIVE] SITE FOOTER
   ========================================================================== */
@media (max-width: 1280px) {
    .custom-footer-link {
        font-size: 12px
    }

    .custom-footer-contact-text {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .custom-footer-grid {
        flex-direction: column;
        gap: 0;
    }

    .custom-footer-col {
        border-bottom: 1px solid #EDEDED;
        padding-left: 0;
        padding-right: 0;
    }

    .custom-footer-col:not(:last-child)::after {
        display: none;
        /* Hide vertical dividers on mobile */
    }

    .custom-footer-col#footer-col-connect {
        border-bottom: none;
    }

    .custom-footer-header-wrapper {
        padding: 20px 0;
        margin-bottom: 0;
        cursor: pointer;
    }

    #footer-col-connect .custom-footer-header-wrapper {
        padding-bottom: 0;
    }

    #footer-col-links .custom-footer-header-wrapper {
        padding-top: 0;
    }

    #footer-col-connect .custom-footer-connect-details {
        padding-top: 20px
    }

    .custom-footer-desktop-social {
        margin-top: 15px;
    }


    .custom-footer-arrow {
        display: flex;
        /* Show down arrows on mobile accordion columns */
        align-items: center;
    }

    .custom-footer-content {
        display: none;
        /* Collapsed by default on mobile */
        padding-bottom: 20px;
    }

    .custom-footer-content.no-accordion {
        display: block;
        /* Always visible */
        padding-bottom: 0;
    }

    .custom-footer-col.active .custom-footer-arrow {
        transform: rotate(180deg);
    }

    .custom-footer-subcols {
        flex-direction: column;
        gap: 12px;
    }

    .custom-footer-list {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .custom-footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .custom-footer-card {
        padding: 30px;
        border-radius: 16px;
    }

    .custom-footer-header {
        font-size: 14px;
        font-weight: 600;
    }

    .custom-footer-link,
    .custom-footer-contact-text {
        font-size: 12px;
        font-weight: 400;
    }

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

}

@media (max-width: 479px) {
    .custom-footer-card {
        padding: 20px;
    }
}

/* ==========================================================================
   COMMON BANNER
   ========================================================================== */

.banner-section {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0f172a;
}

/* Media Container */
.banner-video-container,
.banner-image-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Media Element */
.banner-video,
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-video {
    object-position: center top;
}

.banner-image {
    object-position: center;
}

/* Overlay */
.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Content */
.banner-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: -60px;
}

.banner-content {
    max-width: 680px;
    color: #fff;
}

.banner-headline {
    color: #fff;
    font-size: 42px;
    font-weight: 400;
    line-height: 48px;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.banner-paragraph {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    width: 53%; 
}

/* ==========================================================================
   PRE-TEXT (OPTIONAL)
   Used only where required (e.g. video banner)
   ========================================================================== */

.pre-text {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pre-text span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50px;
    background-color: #fff;
}

/* ==========================================================================
   VIDEO BANNER OVERRIDES
   ========================================================================== */

.banner-section.video-banner .banner-headline {
    font-weight: 400;
}

.banner-section.video-banner .banner-paragraph {
    width: 53%;
    font-weight: 500;
    line-height: 21px;
}

/* ==========================================================================
   IMAGE / INVESTOR BANNER OVERRIDES
   ========================================================================== */

.banner-section.investor-banner .banner-paragraph {
    max-width: 550px;
}

/*Breadcrumb*/

/* 2. BREADCRUMBS NAVIGATION */
.banner-top-wrapper {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 4;
}

.site-breadcrumb {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    display: inline-flex;
    align-items: center;
}


.breadcrumb-item.separator {
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
}

.breadcrumb-item.separator svg {
    display: block;
    color: inherit;
}

.breadcrumb-item {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 1699px) {

  .banner-section{height: 480px;}
}

@media (max-width: 1024px) {

    .banner-section.investor-banner {
        height: 400px;
    }
}

@media (max-width: 768px) {

    .banner-section.video-banner,
    .banner-section.investor-banner {
        height: 427px;
    }

    .banner-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .banner-content-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .banner-headline {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 13px;
    }

    .banner-paragraph {
        font-size: 15px;
        line-height: 20px;
        max-width: 100%;
    }

    /* Video Only */
    .banner-section.video-banner .banner-paragraph {
        width: 100%;
    }

    .banner-section.video-banner .banner-overlay {
        background: linear-gradient(90deg,
                rgba(15, 23, 42, 0.85) 0%,
                rgba(15, 23, 42, 0.5) 60%,
                rgba(15, 23, 42, 0.25) 100%);
    }

    .banner-top-wrapper {
        top: 20px;
    }

    .site-breadcrumb {
        font-size: 12px;
    }

    .banner-paragraph{width: 100%;}
}

@media (max-width: 479px) {

    .banner-headline {
        font-size: 24px;
        line-height: 30px;
    }

    .banner-paragraph {
        font-size: 14px;
    }
}

/* 6. OVERFLOW SCROLL LOCK FOR MOBILE SIDEBAR */
body.menu-open {
    overflow: hidden;
}

.form-error{color:  red; font-size: 12px; font-weight: 700;}
.is-success{color:  green; font-size: 16px; font-weight: 600; width: 100%; text-align: center; padding: 14px 0; background: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important; margin-bottom: 5px;}

@media (max-width: 767px) {
    .is-success{font-size: 12px; padding: 10px 0;}
    }