/* =========================================================
   CITY CARE HOSPITAL
   MAIN WEBSITE - PREMIUM SITE CSS
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --primary: #0d6efd;
    --primary-dark: #0957c7;
    --primary-deep: #073b8f;
    --secondary: #0f9d9a;
    --secondary-dark: #087f7c;
    --dark: #10233f;
    --dark-2: #172f50;
    --text: #52627a;
    --muted: #718096;
    --light: #f5f9fd;
    --light-blue: #eef6ff;
    --light-teal: #eefaf9;
    --white: #ffffff;
    --border: #e4edf6;
    --success: #16a34a;
    --danger: #dc3545;
    --shadow-xs: 0 4px 12px rgba(25, 60, 100, 0.05);
    --shadow-sm: 0 8px 24px rgba(25, 60, 100, 0.07);
    --shadow-md: 0 15px 40px rgba(25, 60, 100, 0.11);
    --shadow-lg: 0 24px 60px rgba(25, 60, 100, 0.15);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --navbar-height: 82px;
    --container-width: 1320px;
}


/* =========================================================
   2. GLOBAL RESET
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

::selection {
    color: var(--white);
    background: var(--primary);
}


/* =========================================================
   3. COMMON CONTAINER
   ========================================================= */

.container {
    width: 100%;
}

.section-padding {
    padding: 95px 0;
}

.section-padding-sm {
    padding: 70px 0;
}


/* =========================================================
CITY CARE HOSPITAL
PREMIUM NAVBAR
========================================================= */

.hospital-navbar {
    position: relative;
    z-index: 1050;
    min-height: 78px;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid #e7edf4;
    box-shadow: 0 6px 24px rgba(15, 35, 65, 0.07);
}

/* =========================================================
BRAND
========================================================= */

.hospital-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 35px;
    text-decoration: none;
}

    .hospital-brand:hover {
        text-decoration: none;
    }

.hospital-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e1eaf3;
    box-shadow: 0 5px 16px rgba(15, 35, 65, 0.08);
}

.hospital-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

    .hospital-brand-text span {
        color: #102b4c;
        font-size: 19px;
        font-weight: 800;
        letter-spacing: -0.3px;
    }

    .hospital-brand-text small {
        margin-top: 5px;
        color: #0f9d9a;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 1.7px;
    }

/* =========================================================
DESKTOP NAVIGATION
========================================================= */

.hospital-navbar .navbar-nav {
    gap: 3px;
}

.hospital-navbar .nav-item {
    position: relative;
}

.hospital-navbar .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 0 11px;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s ease;
}

    /* HOVER LINE */

    .hospital-navbar .nav-link::before {
        content: "";
        position: absolute;
        left: 11px;
        right: 11px;
        bottom: 16px;
        height: 2px;
        border-radius: 10px;
        background: #0f9d9a;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s ease;
    }

    .hospital-navbar .nav-link:hover {
        color: #0d6efd;
    }

        .hospital-navbar .nav-link:hover::before {
            transform: scaleX(1);
        }

/* =========================================================
DROPDOWN
========================================================= */

.hospital-navbar .dropdown-toggle::after {
    margin-left: 7px;
    border-top-color: #64748b;
}

.hospital-navbar .dropdown-menu {
    min-width: 205px;
    margin-top: 2px;
    padding: 8px;
    border: 1px solid #e4ebf3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 35, 65, 0.14);
}

.hospital-navbar .dropdown-item {
    padding: 10px 13px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .hospital-navbar .dropdown-item:hover {
        padding-left: 17px;
        color: #0d6efd;
        background: #eff6ff;
    }

/* =========================================================
APPOINTMENT BUTTON
========================================================= */

.appointment-nav-item {
    margin-left: 10px;
}

.navbar-appointment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    color: #ffffff !important;
    background: linear-gradient( 135deg, #0d6efd, #1454b8 );
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 7px 20px rgba(13, 110, 253, 0.18);
    transition: all 0.25s ease;
}

    .navbar-appointment-btn:hover {
        color: #ffffff !important;
        background: linear-gradient( 135deg, #1454b8, #102b4c );
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(13, 110, 253, 0.25);
    }

/* =========================================================
MOBILE TOGGLER
Hidden on desktop
========================================================= */

.hospital-navbar .navbar-toggler {
    display: none;
    width: 44px;
    height: 42px;
    padding: 0;
    border: 1px solid #dfe7ef;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 35, 65, 0.05);
}

    .hospital-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.10);
    }

.navbar-toggler-line {
    display: block;
    width: 21px;
    height: 2px;
    margin: 4px auto;
    border-radius: 10px;
    background: #102b4c;
}

/* =========================================================
FLOATING SOCIAL MEDIA
========================================================= */

.social-floating {
    position: fixed;
    right: 22px;
    bottom: 25px;
    z-index: 1100;
}

/* MAIN SOCIAL BUTTON */

.social-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient( 135deg, #0d6efd, #0f9d9a );
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(13, 110, 253, 0.28);
    transition: all 0.25s ease;
}

    .social-toggle:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(13, 110, 253, 0.35);
    }

/* SOCIAL LINKS */

.social-links {
    position: absolute;
    right: 3px;
    bottom: 59px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

    .social-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* SOCIAL CIRCLES */

    .social-links a {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #ffffff;
        font-size: 17px;
        text-decoration: none;
        box-shadow: 0 7px 18px rgba(15, 35, 65, 0.18);
        transition: all 0.2s ease;
    }

        .social-links a:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 23px rgba(15, 35, 65, 0.25);
        }

/* FACEBOOK */

.social-facebook {
    background: #1877f2;
}

/* INSTAGRAM */

.social-instagram {
    background: linear-gradient( 135deg, #833ab4, #fd1d1d, #fcb045 );
}

/* WHATSAPP */

.social-whatsapp {
    background: #25d366;
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 1199px) {

    
    .hospital-brand {
        margin-right: 15px;
    }

    .hospital-navbar .nav-link {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }

    .navbar-appointment-btn {
        padding: 0 14px;
    }

    
}

/* =========================================================
MOBILE NAVBAR
========================================================= */

@media (max-width: 991px) {

    ```
    .hospital-navbar {
        min-height: 70px;
    }

    /* Hamburger only appears here */

    .hospital-navbar .navbar-toggler {
        display: block;
    }

    .hospital-navbar .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
        border: 1px solid #e4ebf2;
        border-radius: 13px;
        background: #ffffff;
        box-shadow: 0 15px 35px rgba(15, 35, 65, 0.09);
    }

    .hospital-navbar .navbar-nav {
        gap: 2px;
        align-items: stretch !important;
    }

    .hospital-navbar .nav-link {
        min-height: 44px;
        padding: 0 14px;
        border-radius: 8px;
    }

        .hospital-navbar .nav-link::before {
            display: none;
        }

        .hospital-navbar .nav-link:hover {
            color: #0d6efd;
            background: #f3f8fd;
        }

    .hospital-navbar .dropdown-menu {
        margin: 3px 5px 8px;
        border: 0;
        box-shadow: none;
        background: #f7fafc;
    }

    .appointment-nav-item {
        margin: 8px 0 2px;
    }

    .navbar-appointment-btn {
        width: 100%;
    }

   
}

/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    ```
    .hospital-brand {
        gap: 9px;
    }

    .hospital-logo {
        width: 43px;
        height: 43px;
    }

    .hospital-brand-text span {
        font-size: 16px;
    }

    .hospital-brand-text small {
        font-size: 7px;
        letter-spacing: 1.2px;
    }

    .hospital-navbar .navbar-toggler {
        width: 42px;
        height: 40px;
    }

    .social-floating {
        right: 15px;
        bottom: 18px;
    }

    
}

/* =========================================================
   7. HERO / SLIDER
   ========================================================= */

.home-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #071d35;
}

/* MAIN CAROUSEL */

#hospitalCarousel {
    width: 100%;
    position: relative;
}

    #hospitalCarousel .carousel-inner,
    #hospitalCarousel .carousel-item {
        width: 100%;
    }

    #hospitalCarousel .carousel-item {
        position: relative;
        min-height: 600px;
    }


/* =========================================================
   SLIDER IMAGE
   ========================================================= */

.home-slider-image {
    display: block;
    width: 100%;
    height: 600px;
    /*
       Important:
       contain keeps the complete image visible.
       No unnecessary cropping.
    */
    object-fit: contain;
    object-position: center center;
    background: #071d35;
}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.home-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient( 90deg, rgba(4, 27, 59, 0.38) 0%, rgba(4, 27, 59, 0.22) 35%, rgba(4, 27, 59, 0.08) 68%, rgba(4, 27, 59, 0.02) 100% );
}


/* =========================================================
   HERO CAPTION
   ========================================================= */

#hospitalCarousel .hero-caption,
.hero-fallback .hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 700px;
    margin: 0;
    padding: 40px 60px;
    text-align: left;
}


/* =========================================================
   HERO BADGE
   ========================================================= */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 15px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    color: #fff;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
}


/* =========================================================
   HERO HEADING
   ========================================================= */

.hero-caption h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

    .hero-caption h1 span {
        display: block;
        color: #5ee7df;
    }


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-caption p {
    max-width: 590px;
    margin: 0 0 28px;
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}


    /* PRIMARY BUTTON */

    .hero-btn.primary {
        color: #fff;
        background: #0f9d9a;
        box-shadow: 0 8px 22px rgba(15,157,154,0.25);
    }

        .hero-btn.primary:hover {
            color: #fff;
            background: #087f7c;
            transform: translateY(-2px);
        }


    /* SECONDARY BUTTON */

    .hero-btn.secondary {
        color: #fff;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.45);
        backdrop-filter: blur(6px);
    }

        .hero-btn.secondary:hover {
            color: #10233f;
            background: #fff;
            transform: translateY(-2px);
        }


/* =========================================================
   FALLBACK HERO
   ========================================================= */

.hero-fallback {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background: #071d35;
}

    .hero-fallback .home-slider-image {
        width: 100%;
        height: 600px;
        object-fit: contain;
        object-position: center center;
    }


/* =========================================================
   CAROUSEL CONTROLS
   ========================================================= */

#hospitalCarousel .carousel-control-prev,
#hospitalCarousel .carousel-control-next {
    width: 7%;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#hospitalCarousel:hover .carousel-control-prev,
#hospitalCarousel:hover .carousel-control-next {
    opacity: 1;
}

#hospitalCarousel .carousel-control-prev-icon,
#hospitalCarousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.20);
    backdrop-filter: blur(6px);
    background-size: 45%;
}


/* =========================================================
   INDICATORS
   ========================================================= */

#hospitalCarousel .carousel-indicators {
    z-index: 5;
    margin-bottom: 22px;
}

    #hospitalCarousel .carousel-indicators button {
        width: 24px;
        height: 3px;
        margin: 0 4px;
        border: 0;
        border-radius: 20px;
        background-color: rgba(255,255,255,0.55);
        opacity: 1;
        transition: width 0.25s ease, background 0.25s ease;
    }

        #hospitalCarousel .carousel-indicators button.active {
            width: 38px;
            background-color: #fff;
        }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    #hospitalCarousel .carousel-item {
        min-height: 500px;
    }

    .home-slider-image {
        height: 500px;
    }

    #hospitalCarousel .hero-caption,
    .hero-fallback .hero-caption {
        padding: 35px;
    }

    .hero-caption h1 {
        font-size: 44px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    #hospitalCarousel .carousel-item {
        min-height: 430px;
    }

    .home-slider-image,
    .hero-fallback .home-slider-image {
        height: 430px;
    }

    #hospitalCarousel .hero-caption,
    .hero-fallback .hero-caption {
        padding: 25px 22px;
    }

    .hero-caption h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .hero-caption p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 7px 12px;
    }

    .hero-btn {
        min-height: 42px;
        padding: 0 15px;
        font-size: 12px;
    }
}



/* =========================================================
   8. QUICK INFO
   ========================================================= */


/* =========================================================
   8. QUICK INFO
   ========================================================= */

.quick-info-section {
    position: relative;
    z-index: 2;
    clear: both;
    width: 100%;
    padding: 55px 0;
    margin-top: 0;
    background: #f4f8fc;
}

.quick-info-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}


/* =========================================================
   QUICK INFO CARD
   ========================================================= */

.quick-info-card {
    position: relative;
    overflow: hidden;
    min-height: 175px;
    padding: 28px 24px;
    border: 0;
    border-radius: 18px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(20, 50, 80, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


    /* =========================================================
   CARD COLORS
   ========================================================= */

    .quick-info-card:nth-child(1) {
        background: linear-gradient(135deg, #0d6efd, #1645a5);
    }

    .quick-info-card:nth-child(2) {
        background: linear-gradient(135deg, #0f9d9a, #08706e);
    }

    .quick-info-card:nth-child(3) {
        background: linear-gradient(135deg, #5b5bd6, #39399d);
    }

    .quick-info-card:nth-child(4) {
        background: linear-gradient(135deg, #e58a25, #bd5d0b);
    }


    /* =========================================================
   HOVER
   ========================================================= */

    .quick-info-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 42px rgba(20, 50, 80, 0.22);
    }


    /* =========================================================
   ICON
   ========================================================= */

    .quick-info-card .quick-info-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        border-radius: 14px;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.20);
        font-size: 21px;
        backdrop-filter: blur(5px);
    }


    /* =========================================================
   HEADING
   ========================================================= */

    .quick-info-card h3 {
        margin: 0 0 8px;
        color: #ffffff !important;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }


    /* =========================================================
   DESCRIPTION
   ========================================================= */

    .quick-info-card p {
        margin: 0;
        color: rgba(255, 255, 255, 0.88) !important;
        font-size: 13px;
        line-height: 1.6;
    }


    /* =========================================================
   DECORATIVE CIRCLE
   ========================================================= */

    .quick-info-card::before {
        content: "";
        position: absolute;
        width: 130px;
        height: 130px;
        right: -45px;
        bottom: -55px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        pointer-events: none;
    }

    .quick-info-card::after {
        content: "";
        position: absolute;
        width: 70px;
        height: 70px;
        right: 35px;
        top: -30px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        pointer-events: none;
    }


/* =========================================================
   TABLET
   992px AND BELOW
   ========================================================= */

@media (max-width: 991px) {

    .quick-info-section {
        margin-top: 25px;
        padding: 55px 0;
    }

    .quick-info-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .quick-info-card {
        min-height: 170px;
        padding: 24px 21px;
    }

        .quick-info-card .quick-info-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 15px;
            font-size: 20px;
        }

        .quick-info-card h3 {
            font-size: 17px;
        }

        .quick-info-card p {
            font-size: 12.5px;
        }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .quick-info-section {
        margin-top: 20px;
        padding: 40px 0;
    }

    .quick-info-wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .quick-info-card {
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 15px;
        align-items: center;
        min-height: auto;
        padding: 17px 16px;
        border-radius: 16px;
    }


        /* -------------------------
       MOBILE ICON
       ------------------------- */

        .quick-info-card .quick-info-icon {
            grid-column: 1;
            grid-row: 1 / span 2;
            width: 50px;
            height: 50px;
            margin: 0;
            border-radius: 13px;
            font-size: 19px;
        }


        /* -------------------------
       MOBILE HEADING
       ------------------------- */

        .quick-info-card h3 {
            grid-column: 2;
            grid-row: 1;
            margin: 0 0 4px;
            font-size: 16px;
            line-height: 1.25;
        }


        /* -------------------------
       MOBILE DESCRIPTION
       ------------------------- */

        .quick-info-card p {
            grid-column: 2;
            grid-row: 2;
            margin: 0;
            font-size: 12px;
            line-height: 1.45;
        }


        /* -------------------------
       MOBILE HOVER
       ------------------------- */

        .quick-info-card:hover {
            transform: translateY(-3px);
        }
}

/* =========================================================
   ABOUT CITY CARE SECTION
   ========================================================= */

.home-about-section {
    padding: 90px 0;
    background: #ffffff;
}


    /* SMALL SECTION LABEL */

    .home-about-section .section-subtitle {
        display: inline-block;
        margin-bottom: 14px;
        color: #0f9d9a;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
        line-height: 1;
        text-transform: uppercase;
    }


        /* SMALL DECORATIVE LINE */

        .home-about-section .section-subtitle::after {
            content: "";
            display: block;
            width: 38px;
            height: 2px;
            margin-top: 8px;
            border-radius: 10px;
            background: #0f9d9a;
        }


    /* MAIN HEADING */

    .home-about-section .home-section-content h2 {
        margin: 0 0 20px;
        color: #10233f;
        font-size: clamp(32px, 4vw, 46px);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.8px;
    }


        /* COMPASSION HIGHLIGHT */

        .home-about-section .home-section-content h2 span {
            color: #0f9d9a;
        }


    /* DESCRIPTION */

    .home-about-section .home-section-content > p {
        margin-bottom: 25px;
        color: #5f6f82;
        font-size: 15px;
        line-height: 1.8;
    }


    /* =========================================================
   ABOUT POINTS
   ========================================================= */

    .home-about-section .about-points {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 20px;
        margin-bottom: 28px;
    }

        .home-about-section .about-points > div {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #334155;
            font-size: 14px;
            font-weight: 600;
        }

        .home-about-section .about-points i {
            flex-shrink: 0;
            color: #0f9d9a;
            font-size: 17px;
        }


    /* =========================================================
   ABOUT BUTTON
   ========================================================= */

    .home-about-section .home-primary-btn {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 13px 21px;
        border-radius: 9px;
        color: #ffffff;
        background: #0d6efd;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18);
        transition: 0.25s ease;
    }

        .home-about-section .home-primary-btn:hover {
            color: #ffffff;
            background: #0957c7;
            transform: translateY(-2px);
        }


    /* =========================================================
   ABOUT IMAGE
   ========================================================= */

    .home-about-section .home-about-image {
        position: relative;
    }

        .home-about-section .home-about-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 18px 45px rgba(20, 50, 80, 0.13);
        }


    /* EXPERIENCE BOX */

    .home-about-section .about-experience-box {
        position: absolute;
        right: -20px;
        bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 18px;
        border-radius: 14px;
        color: #ffffff;
        background: linear-gradient( 135deg, #0f9d9a, #087f7c );
        box-shadow: 0 12px 30px rgba(15, 157, 154, 0.25);
    }

        .home-about-section .about-experience-box > i {
            font-size: 25px;
        }

        .home-about-section .about-experience-box strong,
        .home-about-section .about-experience-box span {
            display: block;
        }

        .home-about-section .about-experience-box strong {
            font-size: 16px;
        }

        .home-about-section .about-experience-box span {
            margin-top: 2px;
            color: rgba(255,255,255,0.82);
            font-size: 12px;
        }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .home-about-section {
        padding: 65px 0;
    }

        .home-about-section .home-section-content h2 {
            font-size: 34px;
        }

        .home-about-section .about-points {
            grid-template-columns: 1fr;
        }

        .home-about-section .about-experience-box {
            right: 15px;
            bottom: 15px;
        }
}



/* =========================================================
   DEPARTMENTS & SERVICES
   ========================================================= */

.home-departments-section {
    padding: 90px 0;
    background: #f5f9fd;
}


    /* =========================================================
   SECTION HEADING
   ========================================================= */

    .home-departments-section .section-heading {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 38px;
    }

    .home-departments-section .section-subtitle {
        display: inline-block;
        margin-bottom: 10px;
        color: #0f9d9a;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

        .home-departments-section .section-subtitle::after {
            content: "";
            display: block;
            width: 38px;
            height: 2px;
            margin-top: 8px;
            border-radius: 10px;
            background: #0f9d9a;
        }

    .home-departments-section .section-heading h2 {
        margin: 0;
        color: #10233f;
        font-size: clamp(30px, 3.5vw, 42px);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.7px;
    }


    /* VIEW ALL */

    .home-departments-section .section-view-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 17px;
        border: 1px solid #d9e5f0;
        border-radius: 8px;
        color: #0d6efd;
        background: #ffffff;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        transition: 0.25s ease;
    }

        .home-departments-section .section-view-link:hover {
            color: #ffffff;
            background: #0d6efd;
            border-color: #0d6efd;
            transform: translateY(-2px);
        }


/* =========================================================
   DEPARTMENT CARD
   ========================================================= */

.home-department-card {
    position: relative;
    height: 100%;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #e2eaf2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(25, 60, 100, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .home-department-card:hover {
        transform: translateY(-7px);
        border-color: rgba(15, 157, 154, 0.25);
        box-shadow: 0 18px 40px rgba(25, 60, 100, 0.13);
    }


/* =========================================================
   TOP ROW
   ========================================================= */

.department-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}


/* =========================================================
   DEPARTMENT ICON
   ========================================================= */

.home-department-card .department-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: linear-gradient( 135deg, #e8f8f7, #d9f2f1 );
    color: #0f9d9a;
    font-size: 27px;
    overflow: hidden;
}

.home-department-card .department-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}


/* =========================================================
   NUMBER
   ========================================================= */

.department-number {
    color: #c8d5e3;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.home-department-card h3 {
    margin: 0 0 11px;
    color: #10233f;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}


/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.home-department-card p {
    display: -webkit-box;
    margin: 0 0 22px;
    overflow: hidden;
    color: #65758a;
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* =========================================================
   EXPLORE LINK
   ========================================================= */

.home-department-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: 0.25s ease;
}

    .home-department-card > a i {
        transition: transform 0.25s ease;
    }

    .home-department-card > a:hover {
        color: #0f9d9a;
    }

        .home-department-card > a:hover i {
            transform: translate(3px, -3px);
        }


/* =========================================================
   DECORATIVE BACKGROUND
   ========================================================= */

.home-department-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -75px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.035);
    pointer-events: none;
    transition: 0.3s ease;
}

.home-department-card:hover::after {
    transform: scale(1.3);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-home-state {
    padding: 45px 20px;
    border: 1px dashed #cfdbe7;
    border-radius: 16px;
    text-align: center;
    background: #ffffff;
}

    .empty-home-state i {
        display: block;
        margin-bottom: 10px;
        color: #0f9d9a;
        font-size: 35px;
    }

    .empty-home-state p {
        margin: 0;
        color: #64748b;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .home-departments-section {
        padding: 65px 0;
    }

        .home-departments-section .section-heading {
            align-items: flex-start;
            flex-direction: column;
            gap: 18px;
        }

    .home-department-card {
        padding: 23px;
    }

        .home-department-card .department-icon {
            width: 58px;
            height: 58px;
            font-size: 23px;
        }

    .department-number {
        font-size: 25px;
    }
}


/* =========================================================
   11. WHY CHOOSE US
   ========================================================= */


.home-why-section {
    position: relative;
    padding: 95px 0;
    background: linear-gradient( 135deg, #eef7ff 0%, #f7fbff 52%, #eefaf9 100% );
    overflow: hidden;
}


    /* =========================================================
   LEFT CONTENT
   ========================================================= */

    .home-why-section .section-subtitle {
        display: inline-block;
        margin-bottom: 13px;
        color: #0f9d9a;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

        .home-why-section .section-subtitle::after {
            content: "";
            display: block;
            width: 38px;
            height: 2px;
            margin-top: 8px;
            border-radius: 10px;
            background: #0f9d9a;
        }


    /* MAIN HEADING */

    .home-why-section h2 {
        max-width: 480px;
        margin: 0 0 20px;
        color: #10233f;
        font-size: clamp(32px, 4vw, 46px);
        font-weight: 800;
        line-height: 1.13;
        letter-spacing: -0.8px;
    }

        .home-why-section h2 span {
            color: #0f9d9a;
        }


    /* DESCRIPTION */

    .home-why-section > .container > .row > .col-lg-5 > p {
        max-width: 500px;
        margin: 0 0 28px;
        color: #617286;
        font-size: 15px;
        line-height: 1.8;
    }


    /* =========================================================
   LEARN MORE BUTTON
   ========================================================= */

    .home-why-section .home-outline-btn {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 12px 20px;
        border: 1px solid #0d6efd;
        border-radius: 9px;
        color: #0d6efd;
        background: #ffffff;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 7px 20px rgba(13, 110, 253, 0.08);
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

        .home-why-section .home-outline-btn:hover {
            color: #ffffff;
            background: #0d6efd;
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(13, 110, 253, 0.18);
        }

        .home-why-section .home-outline-btn i {
            transition: transform 0.25s ease;
        }

        .home-why-section .home-outline-btn:hover i {
            transform: translateX(4px);
        }


    /* =========================================================
   FEATURE GRID
   ========================================================= */

    .home-why-section .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }


    /* =========================================================
   FEATURE CARD
   ========================================================= */

    .home-why-section .why-feature-card {
        position: relative;
        min-height: 205px;
        padding: 26px 24px;
        overflow: hidden;
        border: 1px solid rgba(215, 227, 239, 0.9);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 10px 28px rgba(30, 65, 100, 0.07);
        backdrop-filter: blur(8px);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

        .home-why-section .why-feature-card:hover {
            transform: translateY(-7px);
            border-color: rgba(15, 157, 154, 0.28);
            box-shadow: 0 18px 38px rgba(30, 65, 100, 0.13);
        }


    /* =========================================================
   ICON
   ========================================================= */

    .home-why-section .why-feature-icon {
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 19px;
        border-radius: 15px;
        color: #0f9d9a;
        background: #e6f8f7;
        font-size: 22px;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .home-why-section .why-feature-card:hover .why-feature-icon {
        color: #ffffff;
        background: #0f9d9a;
        transform: scale(1.05);
    }


    /* =========================================================
   CARD HEADING
   ========================================================= */

    .home-why-section .why-feature-card h3 {
        margin: 0 0 9px;
        color: #10233f;
        font-size: 18px;
        font-weight: 750;
        line-height: 1.3;
    }


    /* =========================================================
   CARD TEXT
   ========================================================= */

    .home-why-section .why-feature-card p {
        margin: 0;
        color: #69798c;
        font-size: 13px;
        line-height: 1.65;
    }


    /* =========================================================
   DECORATIVE CIRCLE
   ========================================================= */

    .home-why-section .why-feature-card::after {
        content: "";
        position: absolute;
        width: 115px;
        height: 115px;
        right: -55px;
        bottom: -55px;
        border-radius: 50%;
        background: rgba(15, 157, 154, 0.045);
        pointer-events: none;
        transition: transform 0.3s ease;
    }

    .home-why-section .why-feature-card:hover::after {
        transform: scale(1.25);
    }


/* =========================================================
   LARGE SCREEN BALANCE
   ========================================================= */

@media (min-width: 1200px) {

    .home-why-section .why-grid {
        padding-left: 20px;
    }

    .home-why-section .why-feature-card {
        min-height: 215px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .home-why-section {
        padding: 75px 0;
    }

        .home-why-section .why-grid {
            padding-left: 0;
        }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .home-why-section {
        padding: 60px 0;
    }

        .home-why-section h2 {
            font-size: 34px;
        }

        .home-why-section .why-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .home-why-section .why-feature-card {
            min-height: auto;
            padding: 23px 21px;
        }
}

/* =========================================================
   12. DOCTORS
   ========================================================= */

.home-doctors-section {
    padding: 100px 0;
    background: var(--light);
}

.doctor-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .doctor-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow-md);
    }

.doctor-image-wrap {
    position: relative;
    height: 285px;
    overflow: hidden;
    background: #edf3f9;
}

    .doctor-image-wrap img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.5s ease;
    }

.doctor-card:hover .doctor-image-wrap img {
    transform: scale(1.04);
}

.doctor-card .card-body {
    padding: 22px;
    text-align: center;
}

.doctor-card h5 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 750;
}

.doctor-specialization {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.doctor-card p {
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.doctor-card .btn {
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   13. TESTIMONIALS
   ========================================================= */

.home-testimonials-section {
    padding: 100px 0;
    background: linear-gradient( 180deg, #ffffff, #f6fbff );
}

.testimonial-card {
    height: 100%;
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

.testimonial-quote {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 13px;
    color: var(--primary);
    background: var(--light-blue);
    font-size: 19px;
}

.testimonial-card .review {
    margin-bottom: 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}

.testimonial-card .patient-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 750;
}

    .testimonial-card .patient-name::before {
        content: "";
        width: 28px;
        height: 2px;
        border-radius: 10px;
        background: var(--secondary);
    }


/* =========================================================
   14. EMERGENCY SECTION
   ========================================================= */

.home-emergency-section {
    padding: 75px 0;
    background: linear-gradient( 135deg, #09294d, #0a4773 );
    color: var(--white);
}

.emergency-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.emergency-icon {
    flex: 0 0 auto;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 28px;
}

.emergency-content h3 {
    margin: 0 0 5px;
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
}

.emergency-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.emergency-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 9px;
    color: var(--white);
    background: var(--secondary);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(15, 157, 154, 0.20);
    transition: transform 0.25s ease, background 0.25s ease;
}

    .emergency-number:hover {
        color: var(--white);
        background: var(--secondary-dark);
        transform: translateY(-2px);
    }


/* =========================================================
   15. CTA SECTION
   ========================================================= */

.home-cta-section {
    padding: 90px 0;
    background: var(--light);
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 65px 50px;
    border-radius: var(--radius-lg);
    background: linear-gradient( 135deg, var(--primary-deep), var(--primary-dark) );
    box-shadow: var(--shadow-lg);
    text-align: center;
}

    .cta-box::before {
        content: "";
        position: absolute;
        width: 250px;
        height: 250px;
        right: -80px;
        top: -110px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
    }

    .cta-box::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        left: -70px;
        bottom: -90px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
    }

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    margin-bottom: 13px;
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
}

.cta-box p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 0 23px;
    border-radius: 9px;
    color: var(--dark);
    background: var(--white);
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .cta-btn:hover {
        color: var(--dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }


/* =========================================================
   16. EMPTY CONTENT
   ========================================================= */

.empty-content {
    padding: 50px 20px;
    border: 1px dashed #ccd9e7;
    border-radius: var(--radius-md);
    color: var(--muted);
    background: #fafcff;
    text-align: center;
}

    .empty-content i {
        display: block;
        margin-bottom: 12px;
        color: #9aabc0;
        font-size: 35px;
    }


/* =========================================================
   17. SOCIAL FLOATING BUTTON
   ========================================================= */

.social-floating {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.social-toggle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient( 135deg, var(--primary), var(--primary-deep) );
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
    cursor: pointer;
    font-size: 19px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .social-toggle:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(13, 110, 253, 0.30);
    }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.social-floating.active .social-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: #172f50;
    box-shadow: var(--shadow-sm);
    font-size: 16px;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .social-links a:hover {
        color: var(--white);
        background: var(--primary);
        transform: translateY(-2px);
    }


/* =========================================================
   18. FOOTER
   ========================================================= */

.hospital-footer {
    color: rgba(255, 255, 255, 0.70);
    background: linear-gradient( 180deg, #0b1d34, #08182b );
}

    .hospital-footer .footer-main {
        padding: 75px 0 50px;
    }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
}

    .footer-brand img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 11px;
        border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-brand span {
        color: var(--white);
        font-size: 18px;
        font-weight: 800;
    }

.footer-about {
    max-width: 380px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.8;
}

.footer-heading {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 14px;
    font-weight: 750;
}

.hospital-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hospital-footer li {
    margin-bottom: 10px;
}

    .hospital-footer li a {
        color: rgba(255, 255, 255, 0.62);
        font-size: 12px;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

        .hospital-footer li a:hover {
            padding-left: 4px;
            color: var(--white);
        }

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 13px;
}

    .footer-contact-item i {
        flex: 0 0 auto;
        margin-top: 4px;
        color: var(--secondary);
        font-size: 14px;
    }

    .footer-contact-item span,
    .footer-contact-item a {
        color: rgba(255, 255, 255, 0.65);
        font-size: 12px;
        line-height: 1.6;
    }

        .footer-contact-item a:hover {
            color: var(--white);
        }


/* FOOTER SOCIAL */

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: rgba(255, 255, 255, 0.75);
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 14px;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

        .footer-social a:hover {
            color: var(--white);
            background: var(--primary);
            transform: translateY(-2px);
        }


/* FOOTER BOTTOM */

.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    .footer-bottom p {
        margin: 0;
        color: rgba(255, 255, 255, 0.48);
        font-size: 11px;
    }

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

    .footer-bottom-links a {
        color: rgba(255, 255, 255, 0.48);
        font-size: 11px;
        transition: color 0.2s ease;
    }

        .footer-bottom-links a:hover {
            color: var(--white);
        }


/* =========================================================
   19. GENERAL BUTTONS
   ========================================================= */

.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    border-color: var(--primary);
    background-color: var(--primary);
}

    .btn-primary:hover {
        border-color: var(--primary-dark);
        background-color: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 7px 18px rgba(13, 110, 253, 0.18);
    }


/* =========================================================
   20. FORM ELEMENTS
   ========================================================= */

.form-control,
.form-select {
    min-height: 46px;
    border: 1px solid #dbe5ef;
    border-radius: 9px;
    color: var(--dark);
    background-color: var(--white);
    font-size: 13px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: rgba(13, 110, 253, 0.55);
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
    }

textarea.form-control {
    min-height: 120px;
}

.form-label {
    margin-bottom: 7px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   21. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #eef3f8;
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #b7c5d5;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #8fa3ba;
    }


/* =========================================================
   22. TABLET RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {

    .hospital-navbar .nav-link {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }

    .navbar-appointment-btn {
        padding-left: 13px;
        padding-right: 13px;
    }

    .appointment-nav-item {
        margin-left: 4px;
    }

    #hospitalCarousel .hero-slider-image,
    .hero-slider-image {
        height: 550px;
    }

    .hero-fallback {
        min-height: 550px;
    }

    .quick-info-card {
        padding: 20px 18px;
    }
}


/* =========================================================
   23. TABLET / MOBILE NAVBAR
   ========================================================= */

@media (max-width: 991.98px) {

    .hospital-topbar {
        display: none;
    }

    .hospital-navbar {
        min-height: 74px;
        padding: 10px 0;
    }

    .hospital-logo {
        width: 48px;
        height: 48px;
    }

    .hospital-brand {
        margin-right: 5px;
    }

    .hospital-brand-text span {
        font-size: 17px;
    }

    .hospital-brand-text small {
        font-size: 7px;
        letter-spacing: 1.4px;
    }

    .hospital-navbar .navbar-collapse {
        margin-top: 10px;
        padding: 8px 0 12px;
        border-top: 1px solid var(--border);
    }

    .hospital-navbar .navbar-nav {
        gap: 0;
    }

    .hospital-navbar .nav-link {
        min-height: auto;
        padding: 12px 5px;
        font-size: 14px;
        border-bottom: 1px solid #edf2f7;
    }

        .hospital-navbar .nav-link::after {
            display: none;
        }

    .hospital-navbar .dropdown-menu {
        min-width: 100%;
        margin-top: 0;
        padding: 5px 0 5px 12px;
        border: none;
        border-radius: 0;
        background: #f7fbff;
        box-shadow: none;
    }

    .hospital-navbar .dropdown-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .appointment-nav-item {
        margin: 9px 0 0;
    }

    .navbar-appointment-btn {
        width: 100%;
        min-height: 44px;
    }


    /* HERO */

    #hospitalCarousel .hero-slider-image,
    .hero-slider-image {
        height: 520px;
        object-position: center center;
    }

    .hero-fallback {
        min-height: 520px;
    }

    .hero-overlay {
        background: linear-gradient( 90deg, rgba(4, 27, 59, 0.86), rgba(4, 27, 59, 0.48) );
    }

    .hero-content-inner {
        max-width: 650px;
        padding: 0 15px;
    }

    #hospitalCarousel .carousel-control-prev,
    #hospitalCarousel .carousel-control-next {
        opacity: 1;
    }


    /* QUICK INFO */

    .quick-info-section {
        margin-top: -30px;
    }


    /* ABOUT */

    .home-about-section {
        padding: 80px 0;
    }

    .home-about-image-wrap {
        padding-right: 0;
        margin-bottom: 40px;
    }

        .home-about-image-wrap img {
            height: 390px;
        }

    .home-about-content {
        padding-left: 0;
    }


    /* COMMON */

    .section-padding {
        padding: 80px 0;
    }

    .home-departments-section,
    .home-why-section,
    .home-doctors-section,
    .home-testimonials-section {
        padding: 80px 0;
    }
}


/* =========================================================
   24. MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    html {
        font-size: 14px;
    }

    .hospital-navbar {
        min-height: 68px;
    }

    .hospital-logo {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .hospital-brand-text span {
        font-size: 15px;
    }

    .hospital-brand-text small {
        display: none;
    }


    /* HERO */

    #hospitalCarousel .hero-slider-image,
    .hero-slider-image {
        height: 470px;
        object-position: center center;
    }

    .hero-fallback {
        min-height: 470px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content-inner {
        width: 100%;
        padding: 0 18px;
    }

    .hero-content h1 {
        margin-bottom: 14px;
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .hero-content p {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-badge {
        margin-bottom: 14px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 280px;
    }

    .hero-primary-btn,
    .hero-secondary-btn {
        width: 100%;
        min-height: 44px;
    }


    /* SLIDER */

    #hospitalCarousel .carousel-indicators {
        margin-bottom: 15px;
    }

    #hospitalCarousel .carousel-control-prev,
    #hospitalCarousel .carousel-control-next {
        width: 12%;
    }

    #hospitalCarousel .carousel-control-prev-icon,
    #hospitalCarousel .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }


    /* QUICK INFO */

    .quick-info-section {
        margin-top: -25px;
        padding: 0 10px 20px;
    }

    .quick-info-card {
        padding: 19px;
        gap: 13px;
    }

    .quick-info-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 19px;
    }


    /* SECTION */

    .section-padding {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

        .section-heading h2,
        .section-title {
            font-size: 30px;
        }

        .section-heading p,
        .section-subtitle {
            font-size: 13px;
        }


    /* ABOUT */

    .home-about-section {
        padding: 70px 0;
    }

    .home-about-image-wrap {
        margin-bottom: 35px;
    }

        .home-about-image-wrap img {
            height: 300px;
            border-radius: 18px;
        }

        .home-about-image-wrap::before {
            width: 80px;
            height: 80px;
            top: 18px;
            left: -10px;
        }


    /* DEPARTMENT */

    .home-departments-section {
        padding: 70px 0;
    }

    .department-icon {
        width: 68px;
        height: 68px;
        border-radius: 17px;
        font-size: 27px;
    }


    /* DOCTORS */

    .home-doctors-section {
        padding: 70px 0;
    }

    .doctor-image-wrap {
        height: 260px;
    }


    /* TESTIMONIAL */

    .home-testimonials-section {
        padding: 70px 0;
    }

    .testimonial-card {
        padding: 24px;
    }


    /* EMERGENCY */

    .home-emergency-section {
        padding: 55px 0;
    }

    .emergency-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .emergency-content {
        align-items: flex-start;
    }

    .emergency-icon {
        width: 55px;
        height: 55px;
        border-radius: 15px;
        font-size: 23px;
    }

    .emergency-content h3 {
        font-size: 21px;
    }

    .emergency-number {
        width: 100%;
    }


    /* CTA */

    .home-cta-section {
        padding: 65px 0;
    }

    .cta-box {
        padding: 45px 22px;
        border-radius: 20px;
    }


    /* SOCIAL */

    .social-floating {
        right: 14px;
        bottom: 18px;
    }

    .social-toggle {
        width: 46px;
        height: 46px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }


    /* FOOTER */

    .hospital-footer .footer-main {
        padding: 55px 0 35px;
    }

    .hospital-footer .row {
        padding-top: 0 !important;
        padding-bottom: 15px !important;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 25px;
    }
}


/* =========================================================
   25. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .hospital-logo {
        width: 41px;
        height: 41px;
    }

    .hospital-brand-text span {
        font-size: 14px;
    }

    .hospital-navbar .navbar-toggler {
        width: 42px;
        height: 40px;
    }


    /* SLIDER */

    #hospitalCarousel .hero-slider-image,
    .hero-slider-image {
        height: 450px;
        object-position: center center;
    }

    .hero-fallback {
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 13px;
    }


    /* SECTION */

    .section-title {
        font-size: 28px;
    }

    .section-heading h2 {
        font-size: 28px;
    }


    /* DOCTOR */

    .doctor-image-wrap {
        height: 240px;
    }
}


/* =========================================================
   26. EXTRA LARGE SCREENS
   ========================================================= */

@media (min-width: 1400px) {

    .hospital-hero,
    .home-hero {
        max-height: 650px;
    }

    #hospitalCarousel .hero-slider-image,
    .hero-slider-image {
        height: 620px;
    }

    .hero-fallback {
        min-height: 620px;
    }

    .hero-content-inner {
        max-width: 760px;
    }
}


/* =========================================================
   27. ACCESSIBILITY / FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.25);
    outline-offset: 2px;
}


/* =========================================================
   28. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
