﻿/* =========================================================
   HUDCO CARES
   ========================================================= */

.hudco-cares-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
}


/* =========================================================
   HERO
   ========================================================= */

.hudco-cares-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 70px 8%;
    overflow: hidden;
    background: linear-gradient( 110deg, #0e1a2b 0%, #182a43 58%, #880000 100% );
    color: #fff;
}

    .hudco-cares-hero::after {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 50%;
        right: 8%;
        top: -120px;
    }

.hudco-cares-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hudco-cares-eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 18px;
    opacity: .8;
}

.hudco-cares-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 600;
    line-height: 1.05;
}

.hudco-cares-hero p {
    margin-top: 18px;
    font-size: 21px;
    font-weight: 300;
    opacity: .9;
}

.hudco-cares-hero-shape {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
}

.care-circle {
    width: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    font-size: 24px;
    letter-spacing: 5px;
}


/* =========================================================
   COMMON SECTION
   ========================================================= */

.hudco-cares-overview,
.hudco-cares-events,
.hudco-cares-hospitals {
    max-width: 1380px;
    margin: auto;
    padding: 90px 6%;
}

.hudco-section-heading {
    max-width: 800px;
    margin-bottom: 45px;
}

    .hudco-section-heading > span {
        display: block;
        color: #880000;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .hudco-section-heading h2 {
        margin: 0;
        color: #0e1a2b;
        font-size: 38px;
        font-weight: 600;
    }

    .hudco-section-heading p {
        margin-top: 15px;
        color: #666;
        font-size: 16px;
        line-height: 1.7;
    }


/* =========================================================
   OVERVIEW
   ========================================================= */

.hudco-cares-overview {
    padding-bottom: 70px;
}

.hudco-cares-overview-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.hudco-cares-overview-highlight {
    position: relative;
    padding: 35px;
    border-left: 4px solid #880000;
    background: #f8f8f8;
}

.overview-mark {
    display: block;
    color: #880000;
    font-size: 55px;
    line-height: .5;
}

.hudco-cares-overview-highlight p {
    margin: 20px 0 0;
    color: #0e1a2b;
    font-size: 21px;
    line-height: 1.65;
    font-weight: 500;
}

.hudco-cares-overview-text p {
    margin: 0 0 20px;
    color: #444;
    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   EVENTS
   ========================================================= */

.hudco-cares-events {
    background: #f7f7f7;
    max-width: none;
    padding-left: max(6%, calc((100vw - 1380px) / 2));
    padding-right: max(6%, calc((100vw - 1380px) / 2));
}

.hudco-care-event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* CARD */

.hudco-care-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .hudco-care-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(0,0,0,.12);
    }


/* IMAGE */

.hudco-care-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .hudco-care-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }

.hudco-care-card:hover
.hudco-care-card-image img {
    transform: scale(1.05);
}

.hudco-care-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9e9e9;
    color: #880000;
    font-size: 18px;
    letter-spacing: 2px;
}


/* DATE */

.hudco-care-card-date {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 7px 12px;
    background: rgba(14,26,43,.9);
    color: #fff;
    font-size: 12px;
}


/* CONTENT */

.hudco-care-card-content {
    padding: 25px;
}

.hudco-care-location {
    display: block;
    margin-bottom: 8px;
    color: #880000;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hudco-care-card-content h3 {
    margin: 0 0 12px;
    color: #0e1a2b;
    font-size: 21px;
    line-height: 1.35;
}

.hudco-care-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}


/* LINK */

.hudco-care-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #880000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

    .hudco-care-card-link span {
        transition: transform .25s ease;
    }

.hudco-care-card:hover
.hudco-care-card-link span {
    transform: translateX(5px);
}


/* =========================================================
   HOSPITALS
   ========================================================= */

.hudco-cares-hospitals {
    padding-top: 90px;
}

.hudco-hospitals-placeholder {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    background: #fff;
}

.hospital-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #880000;
    color: #fff;
    font-size: 35px;
}

.hudco-hospitals-placeholder h3 {
    margin: 0 0 7px;
    color: #0e1a2b;
    font-size: 21px;
}

.hudco-hospitals-placeholder p {
    margin: 0;
    color: #666;
}

.hospital-view-button {
    margin-left: auto;
    padding: 12px 20px;
    border: 1px solid #880000;
    border-radius: 5px;
    background: transparent;
    color: #880000;
    font-weight: 600;
    cursor: pointer;
}

    .hospital-view-button span {
        margin-left: 8px;
    }

/* =========================================================
   EMPANELLED HOSPITALS
   ========================================================= */

.hudco-cares-hospitals {
    background: #fff;
}


/* Intro */

.hudco-hospitals-wrapper {
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.hudco-hospitals-intro {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 32px;
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}

.hospital-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #880000;
    color: #fff;
    font-size: 30px;
    font-weight: 300;
}

.hudco-hospitals-intro h3 {
    margin: 0 0 6px;
    color: #0e1a2b;
    font-size: 20px;
    font-weight: 600;
}

.hudco-hospitals-intro p {
    margin: 0;
    color: #666;
    font-size: 14px;
}


/* Hospital links */

.hudco-hospital-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 25px;
    gap: 12px;
}

.hudco-hospital-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 55px;
    padding: 0 18px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    color: #0e1a2b;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}

    .hudco-hospital-item:hover {
        background: #f8f1f1;
        border-color: #880000;
        color: #880000;
        transform: translateY(-2px);
    }

.hospital-location {
    font-size: 15px;
    font-weight: 500;
}

.hospital-arrow {
    color: #880000;
    font-size: 18px;
    transition: transform .25s ease;
}

.hudco-hospital-item:hover
.hospital-arrow {
    transform: translate(3px, -3px);
}


/* Responsive */

@media (max-width: 1000px) {

    .hudco-hospital-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .hudco-hospitals-intro {
        padding: 22px;
    }

    .hudco-hospital-list {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .hudco-cares-hero {
        padding: 60px 6%;
    }

    .hudco-cares-hero-shape {
        right: 5%;
    }

    .hudco-cares-overview-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hudco-care-event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .hudco-cares-hero {
        min-height: 320px;
    }

    .hudco-cares-hero-shape {
        opacity: .2;
        right: -40px;
    }

    .hudco-cares-overview,
    .hudco-cares-events,
    .hudco-cares-hospitals {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hudco-section-heading h2 {
        font-size: 30px;
    }

    .hudco-care-event-grid {
        grid-template-columns: 1fr;
    }

    .hudco-hospitals-placeholder {
        flex-wrap: wrap;
    }

    .hospital-view-button {
        width: 100%;
        margin-left: 0;
    }
}
