/* ============================================================
   GOD PAUL FOUNDATION
   EBENEZER MEDICAL CENTRE PAGE
   ============================================================ */


/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.ebenezer-page {
    width: 100%;

    overflow: hidden;

    background:
        #eaf4ee;
}


/* ============================================================
   HERO
   ============================================================ */

.hospital-hero {
    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        #123925;
}


.hospital-hero-bg {
    position: absolute;

    inset: 0;

    z-index: 1;
}


.hospital-hero-bg img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform:
        scale(1.02);
}


.hospital-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(8, 42, 25, 0.96) 0%,
            rgba(16, 69, 43, 0.87) 40%,
            rgba(13, 60, 41, 0.56) 70%,
            rgba(0, 0, 0, 0.27) 100%
        );
}


.hospital-hero-pattern {
    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    opacity: 0.14;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );

    background-size:
        65px 65px;
}


.hospital-hero-container {
    position: relative;

    z-index: 5;
}


.hospital-hero-content {
    max-width: 850px;

    padding:
        90px 0;
}


/* ============================================================
   HOSPITAL BRAND
   ============================================================ */

.hospital-brand-row {
    display: flex;

    align-items: center;

    gap: 26px;

    margin-bottom: 25px;
}


.hospital-brand-logo {
    width: 125px;
    height: 125px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        8px;

    border:
        1px solid
        rgba(255, 255, 255, 0.26);

    border-radius: 19px;

    background:
        rgba(255, 255, 255, 0.94);

    box-shadow:
        0 18px 42px
        rgba(0, 0, 0, 0.22);
}


.hospital-brand-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.hospital-brand-copy {
    min-width: 0;
}


.hospital-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color:
        #b7eace;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 2.3px;

    text-transform: uppercase;
}


.hospital-hero h1 {
    position: relative;

    margin:
        0;

    padding-bottom: 17px;

    color:
        #ffffff;

    font-size:
        clamp(
            2.7rem,
            5.5vw,
            4.7rem
        );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.hospital-hero h1::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 87px;
    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );
}


.hospital-hero-description {
    max-width: 720px;

    margin:
        0 0 30px;

    color:
        rgba(255, 255, 255, 0.92);

    font-size: 1.03rem;

    line-height: 1.82;
}


/* ============================================================
   HERO META
   ============================================================ */

.hospital-hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}


.hospital-hero-meta > div {
    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        10px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.19);

    border-radius: 40px;

    background:
        rgba(255, 255, 255, 0.09);

    backdrop-filter:
        blur(8px);

    color:
        rgba(255, 255, 255, 0.92);

    font-size: 0.8rem;
}


.hospital-hero-meta i {
    color:
        #8de0b0;
}


/* ============================================================
   SHARED LABEL
   ============================================================ */

.section-label {
    display: inline-block;

    margin-bottom: 10px;

    color:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.73rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.hospital-intro {
    padding:
        80px 0;

    background:
        linear-gradient(
            135deg,
            #dcefe4 0%,
            #eaf6ee 52%,
            #e5f3f8 100%
        );
}


.hospital-intro-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    align-items: center;

    gap: 70px;
}


.hospital-intro-heading h2 {
    margin: 0;

    color:
        #1e5337;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.25;

    letter-spacing: -0.7px;
}


.hospital-intro-copy {
    padding:
        29px 32px;

    border-left:
        5px solid
        var(--primary-green);

    border-radius:
        0 15px 15px 0;

    background:
        rgba(255, 255, 255, 0.58);

    box-shadow:
        0 12px 32px
        rgba(31, 79, 49, 0.06);
}


.hospital-intro-copy p {
    margin:
        0 0 15px;

    color:
        #3f604c;

    font-size: 0.95rem;

    line-height: 1.83;
}


.hospital-intro-copy p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   GALLERY SECTION
   ============================================================ */

.hospital-gallery-section {
    padding:
        95px 0 105px;

    background:
        linear-gradient(
            180deg,
            #e5f1ea 0%,
            #daeaf1 100%
        );
}


.gallery-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 38px;
}


.gallery-heading-brand {
    display: flex;

    align-items: center;

    gap: 18px;
}


.gallery-heading-brand img {
    width: 76px;
    height: 76px;

    flex-shrink: 0;

    padding:
        5px;

    object-fit: contain;

    border:
        1px solid
        rgba(60, 179, 113, 0.12);

    border-radius: 13px;

    background:
        #ffffff;

    box-shadow:
        0 9px 24px
        rgba(30, 75, 48, 0.11);
}


.gallery-heading h2 {
    margin: 0;

    color:
        #1c5136;

    font-size:
        clamp(
            2rem,
            4vw,
            2.9rem
        );
}


.gallery-heading > p {
    max-width: 430px;

    margin: 0;

    color:
        #567064;

    font-size: 0.9rem;

    line-height: 1.7;

    text-align: right;
}


/* ============================================================
   CAROUSEL
   ============================================================ */

.hospital-carousel {
    position: relative;

    width: 100%;
    height: 590px;

    overflow: hidden;

    border-radius: 24px;

    background:
        #183d2a;

    box-shadow:
        0 28px 65px
        rgba(25, 65, 43, 0.18);

    isolation: isolate;
}


.hospital-carousel-track {
    position: relative;

    width: 100%;
    height: 100%;
}


.hospital-slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transform:
        scale(1.04);

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease,
        transform 6s ease;
}


.hospital-slide.active {
    opacity: 1;
    visibility: visible;

    transform:
        scale(1);

    z-index: 2;
}


.hospital-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hospital-slide-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 45, 27, 0.91) 0%,
            rgba(8, 45, 27, 0.17) 53%,
            transparent 100%
        );
}


/* ============================================================
   CAROUSEL CAPTION
   ============================================================ */

.hospital-slide-caption {
    position: absolute;

    left: 42px;
    bottom: 42px;

    max-width: 620px;

    z-index: 4;
}


.hospital-slide-caption span {
    display: block;

    margin-bottom: 6px;

    color:
        #9de4bb;

    font-size: 0.74rem;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.hospital-slide-caption strong {
    display: block;

    color:
        #ffffff;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(
            1.35rem,
            3vw,
            2.1rem
        );

    line-height: 1.35;
}


/* ============================================================
   CAROUSEL ARROWS
   ============================================================ */

.hospital-carousel-arrow {
    position: absolute;

    top: 50%;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 20;

    transform:
        translateY(-50%);

    border:
        1px solid
        rgba(255, 255, 255, 0.30);

    border-radius: 50%;

    color:
        #ffffff;

    background:
        rgba(8, 48, 29, 0.40);

    backdrop-filter:
        blur(8px);

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}


.hospital-carousel-prev {
    left: 24px;
}


.hospital-carousel-next {
    right: 24px;
}


.hospital-carousel-arrow:hover {
    background:
        var(--primary-green);

    border-color:
        var(--primary-green);

    transform:
        translateY(-50%)
        scale(1.08);
}


/* ============================================================
   INDICATORS
   ============================================================ */

.hospital-carousel-indicators {
    position: absolute;

    right: 37px;
    bottom: 43px;

    display: flex;

    align-items: center;

    gap: 8px;

    z-index: 20;
}


.hospital-indicator {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.50);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}


.hospital-indicator.active {
    width: 29px;

    background:
        var(--primary-green);
}


/* ============================================================
   COUNTER
   ============================================================ */

.hospital-carousel-counter {
    position: absolute;

    top: 28px;
    right: 30px;

    display: flex;

    align-items: center;

    gap: 9px;

    z-index: 20;

    padding:
        9px 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 30px;

    background:
        rgba(8, 48, 29, 0.36);

    backdrop-filter:
        blur(8px);

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 0.72rem;

    font-weight: 600;
}


#hospitalCurrentSlide {
    color:
        #ffffff;

    font-size: 0.86rem;
}


.counter-divider {
    width: 20px;
    height: 1px;

    background:
        rgba(255, 255, 255, 0.45);
}


/* ============================================================
   HEALTHCARE FOCUS
   ============================================================ */

.hospital-focus-section {
    padding:
        100px 0;

    background:
        linear-gradient(
            135deg,
            #dcefe4 0%,
            #e8f4ec 50%,
            #e3f1f6 100%
        );
}


.hospital-focus-heading {
    max-width: 730px;

    margin:
        0 0 45px;
}


.hospital-focus-heading h2 {
    margin:
        0 0 14px;

    color:
        #1e5337;

    font-size:
        clamp(
            2rem,
            4vw,
            2.9rem
        );
}


.hospital-focus-heading p {
    margin: 0;

    color:
        #526d5e;

    font-size: 0.94rem;

    line-height: 1.8;
}


/* ============================================================
   FOCUS GRID
   ============================================================ */

.hospital-focus-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}


.hospital-focus-card {
    position: relative;

    min-height: 315px;

    padding:
        30px 27px;

    overflow: hidden;

    border:
        1px solid
        rgba(60, 179, 113, 0.15);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f7fcf8 0%,
            #e5f3ea 100%
        );

    box-shadow:
        0 13px 34px
        rgba(29, 76, 48, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.hospital-focus-card:nth-child(even) {
    background:
        linear-gradient(
            145deg,
            #f4fbfe,
            #e4f2f8
        );
}


.hospital-focus-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 23px 48px
        rgba(29, 76, 48, 0.13);
}


.focus-icon {
    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 14px;

    color:
        #ffffff;

    background:
        var(--primary-green);

    font-size: 1.2rem;
}


.hospital-focus-card:nth-child(even)
.focus-icon {

    background:
        var(--dark-blue);
}


.focus-number {
    position: absolute;

    top: 22px;
    right: 22px;

    color:
        rgba(46, 139, 87, 0.09);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 3rem;

    font-weight: 700;
}


.hospital-focus-card:nth-child(even)
.focus-number {

    color:
        rgba(93, 173, 226, 0.12);
}


.hospital-focus-card h3 {
    margin:
        0 0 15px;

    color:
        #286c4a;

    font-size: 1.08rem;

    line-height: 1.45;
}


.hospital-focus-card:nth-child(even) h3 {
    color:
        #397b9d;
}


.hospital-focus-card p {
    margin: 0;

    color:
        #51695b;

    font-size: 0.88rem;

    line-height: 1.75;
}


/* ============================================================
   COMMUNITY SECTION
   ============================================================ */

.hospital-community {
    padding:
        100px 0;

    background:
        linear-gradient(
            135deg,
            #dfefe5 0%,
            #dcecf2 100%
        );
}


.hospital-community-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 65px;
}


/* ============================================================
   COMMUNITY IMAGE
   ============================================================ */

.hospital-community-image {
    position: relative;

    min-height: 470px;

    overflow: hidden;

    border-radius: 22px;

    box-shadow:
        0 25px 58px
        rgba(25, 70, 44, 0.15);
}


.hospital-community-image img {
    width: 100%;
    height: 470px;

    object-fit: cover;
}


.community-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(13, 65, 40, 0.63),
            transparent 56%
        );
}


.community-image-badge {
    position: absolute;

    left: 24px;
    bottom: 24px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        13px 17px;

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    border-radius: 12px;

    background:
        rgba(14, 63, 40, 0.65);

    backdrop-filter:
        blur(7px);

    color:
        #ffffff;

    font-size: 0.82rem;

    font-weight: 600;
}


.community-image-badge i {
    color:
        #91deb0;
}


/* ============================================================
   COMMUNITY CONTENT
   ============================================================ */

.hospital-community-content h2 {
    margin:
        0 0 23px;

    color:
        #1f5438;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.24;
}


.hospital-community-content > p {
    margin:
        0 0 17px;

    color:
        #466454;

    font-size: 0.95rem;

    line-height: 1.82;
}


/* ============================================================
   COMMUNITY POINTS
   ============================================================ */

.community-points {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 28px;
}


.community-points > div {
    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        14px 15px;

    border:
        1px solid
        rgba(60, 179, 113, 0.15);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.52);

    color:
        #326348;

    font-size: 0.82rem;

    font-weight: 600;
}


.community-points i {
    color:
        var(--primary-green);
}


/* ============================================================
   INFO STRIP
   ============================================================ */

.hospital-info-strip {
    padding:
        60px 0;

    background:
        linear-gradient(
            90deg,
            #cbe6d5,
            #d5eaf1
        );
}


.hospital-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.hospital-info-item {
    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 100px;

    padding:
        20px 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.55);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.52);
}


.hospital-info-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    color:
        #ffffff;

    background:
        var(--primary-green);
}


.hospital-info-item:nth-child(even)
.hospital-info-icon {

    background:
        var(--dark-blue);
}


.hospital-info-item span {
    display: block;

    margin-bottom: 3px;

    color:
        #62796b;

    font-size: 0.7rem;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}


.hospital-info-item strong {
    display: block;

    color:
        #285b3e;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.88rem;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .hospital-focus-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 992px) {

    .hospital-hero {
        min-height: 500px;
    }


    .hospital-intro-grid,
    .hospital-community-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .hospital-carousel {
        height: 500px;
    }


    .gallery-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 16px;
    }


    .gallery-heading > p {
        text-align: left;
    }


    .hospital-info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .hospital-info-item:last-child {
        grid-column:
            1 / -1;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .hospital-hero {
        min-height: 480px;
    }


    .hospital-hero-content {
        padding:
            65px 0;
    }


    .hospital-brand-row {
        align-items: flex-start;

        gap: 17px;
    }


    .hospital-brand-logo {
        width: 92px;
        height: 92px;

        border-radius: 14px;
    }


    .hospital-hero h1 {
        font-size: 2.5rem;
    }


    .hospital-hero-description {
        font-size: 0.94rem;
    }


    .hospital-intro,
    .hospital-gallery-section,
    .hospital-focus-section,
    .hospital-community {

        padding:
            70px 0;
    }


    .hospital-intro-copy {
        padding:
            24px 22px;
    }


    .gallery-heading-brand img {
        width: 62px;
        height: 62px;
    }


    .hospital-carousel {
        height: 430px;

        border-radius: 18px;
    }


    .hospital-carousel-arrow {
        width: 44px;
        height: 44px;
    }


    .hospital-carousel-prev {
        left: 14px;
    }


    .hospital-carousel-next {
        right: 14px;
    }


    .hospital-slide-caption {
        left: 25px;
        right: 25px;
        bottom: 72px;
    }


    .hospital-carousel-indicators {
        left: 25px;
        right: auto;
        bottom: 29px;
    }


    .hospital-carousel-counter {
        top: 17px;
        right: 17px;
    }


    .hospital-focus-grid {
        grid-template-columns: 1fr;
    }


    .hospital-focus-card {
        min-height: auto;
    }


    .hospital-community-image,
    .hospital-community-image img {

        min-height: 340px;
        height: 340px;
    }


    .hospital-info-grid {
        grid-template-columns: 1fr;
    }


    .hospital-info-item:last-child {
        grid-column: auto;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .hospital-hero {
        min-height: 500px;
    }


    .hospital-brand-row {
        flex-direction: column;

        gap: 15px;
    }


    .hospital-brand-logo {
        width: 82px;
        height: 82px;
    }


    .hospital-hero h1 {
        font-size: 2.1rem;
    }


    .hospital-hero-meta {
        align-items: flex-start;

        flex-direction: column;
    }


    .gallery-heading-brand {
        align-items: flex-start;
    }


    .gallery-heading-brand img {
        width: 56px;
        height: 56px;
    }


    .hospital-carousel {
        height: 360px;
    }


    .hospital-carousel-arrow {
        width: 40px;
        height: 40px;
    }


    .hospital-slide-caption {
        left: 19px;
        right: 19px;
    }


    .hospital-slide-caption strong {
        font-size: 1.15rem;
    }


    .hospital-carousel-indicators {
        left: 19px;
    }


    .community-points {
        grid-template-columns: 1fr;
    }


    .hospital-community-image,
    .hospital-community-image img {

        min-height: 280px;
        height: 280px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .hospital-slide,
    .hospital-focus-card,
    .hospital-carousel-arrow {

        transition:
            none !important;
    }

}