/* ==========================================================================
   HEALTH INSIGHTS SHOWCASE
========================================================================== */

.health-showcase-section {
    width: 100%;
    margin: 100px 0;
    box-sizing: border-box;
}

/* ==========================================================================
   CONTAINER
========================================================================== */

.health-showcase-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}

/* ==========================================================================
   MAIN SHOWCASE
========================================================================== */

.health-showcase {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    background: #111111;
    isolation: isolate;
}

/* ==========================================================================
   BACKGROUND IMAGE
========================================================================== */

.health-showcase-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.health-showcase-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

/* Subtle background motion */

.health-showcase:hover .health-showcase-background img {
    transform: scale(1.012);
}

/* ==========================================================================
   OVERLAY
========================================================================== */

.health-showcase-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.02) 55%,
        rgba(0, 0, 0, 0.35) 100%
    );

    pointer-events: none;
}

/* ==========================================================================
   FLOATING IMAGE CARDS
========================================================================== */

.health-showcase-card {
    position: absolute;
    z-index: 3;

    width: 200px;
    overflow: hidden;

    background: #08182a;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.health-showcase-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* Card hover */

.health-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

/* ==========================================================================
   LEFT CARD
========================================================================== */

.health-showcase-card-left {
    top: 32px;
    left: 42px;
}

/* ==========================================================================
   RIGHT CARD ONE
========================================================================== */

.health-showcase-card-right-one {
    top: 32px;
    right: 250px;
}

/* ==========================================================================
   RIGHT CARD TWO
========================================================================== */

.health-showcase-card-right-two {
    top: 32px;
    right: 42px;
}

/* ==========================================================================
   CTA AREA: HEADING ABOVE BUTTON
========================================================================== */

.health-showcase-action {
    position: absolute;
    right: 42px;
    bottom: 35px;
    z-index: 4;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;

    width: auto;
    max-width: calc(100% - 84px);
    box-sizing: border-box;
}

/* ==========================================================================
   CTA HEADING
========================================================================== */

.health-showcase-heading {
    width: 100%;
    max-width: 500px;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.3;

    text-align: right;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   BUTTON
========================================================================== */

.health-showcase-btn {
    min-height: 50px;
    padding: 14px 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    box-sizing: border-box;

    border: none;
    border-radius: 50px;

    background: #ffffff;
    color: #111111;

    text-decoration: none;
    text-align: center;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Button hover */

.health-showcase-btn:hover {
    transform: translateY(-2px);

    background: #f3f3f3;
    color: #111111;

    text-decoration: none;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

/* Keyboard accessibility */

.health-showcase-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* ==========================================================================
   BUTTON ARROW
========================================================================== */

.health-showcase-arrow {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.health-showcase-btn:hover .health-showcase-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   SMALL DESKTOP
========================================================================== */

@media (max-width: 1100px) {

    .health-showcase-card {
        width: 175px;
    }

    .health-showcase-card-left {
        left: 28px;
    }

    .health-showcase-card-right-one {
        right: 220px;
    }

    .health-showcase-card-right-two {
        right: 28px;
    }

    .health-showcase-action {
        right: 28px;
        bottom: 28px;
        max-width: calc(100% - 56px);
    }
}

/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width: 900px) {

    .health-showcase-section {
        margin: 80px 0;
    }

    .health-showcase-container {
        padding: 0 20px;
    }

    .health-showcase {
        min-height: 600px;
    }

    .health-showcase-card {
        width: 155px;
    }

    .health-showcase-card-left {
        top: 24px;
        left: 24px;
    }

    .health-showcase-card-right-one {
        top: 24px;
        right: 190px;
    }

    .health-showcase-card-right-two {
        top: 24px;
        right: 24px;
    }

    .health-showcase-action {
        right: 24px;
        bottom: 24px;
        max-width: calc(100% - 48px);
        gap: 12px;
    }

    .health-showcase-heading {
        font-size: 24px;
    }
}

/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 768px) {

    .health-showcase-section {
        margin: 60px 0;
    }

    .health-showcase-container {
        padding: 0 16px;
    }

    .health-showcase {
        min-height: 620px;
    }

    /* Background framing */

    .health-showcase-background img {
        object-position: center center;
    }

    /* Floating cards */

    .health-showcase-card {
        width: 130px;
    }

    .health-showcase-card-left {
        top: 18px;
        left: 18px;
    }

    .health-showcase-card-right-one {
        top: 18px;
        right: 18px;
    }

    .health-showcase-card-right-two {
        top: 165px;
        right: 18px;
    }

    /* CTA heading and button */

    .health-showcase-action {
        right: 18px;
        bottom: 20px;

        max-width: calc(100% - 36px);
        gap: 10px;
    }

    .health-showcase-heading {
        max-width: 100%;
        font-size: 21px;
        line-height: 1.35;
    }

    .health-showcase-btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* ==========================================================================
   SMALL MOBILE
========================================================================== */

@media (max-width: 480px) {

    .health-showcase-section {
        margin: 50px 0;
    }

    .health-showcase-container {
        padding: 0 12px;
    }

    .health-showcase {
        min-height: 560px;
    }

    /* Smaller floating cards */

    .health-showcase-card {
        width: 110px;
    }

    .health-showcase-card-left {
        top: 14px;
        left: 14px;
    }

    .health-showcase-card-right-one {
        top: 14px;
        right: 14px;
    }

    .health-showcase-card-right-two {
        top: 138px;
        right: 14px;
    }

    /* Mobile CTA */

    .health-showcase-action {
        right: 14px;
        bottom: 16px;

        max-width: calc(100% - 28px);
        gap: 8px;
    }

    .health-showcase-heading {
        font-size: 18px;
        line-height: 1.35;
    }

    .health-showcase-btn {
        min-height: 46px;
        padding: 13px 22px;
        font-size: 14px;
    }
}