/* =====================================================================
   ভিতরের পাতার স্টাইল (আমাদের সম্পর্কে ...): ব্যানার, শিরোনাম, ফুটার (টিল রঙ)
   হোম পেজ ও সাধারণ অংশের স্টাইল: hospital-home.css
   ===================================================================== */
.hp-body.hp-body-white {
    background: #fff;
}

/* ---------- ব্যানার ---------- */
.hp-banner {
    position: relative;
    overflow: hidden;
    min-height: 147px;
    background: linear-gradient(90deg, #006383 0%, #015a74 55%, #01627f 100%);
    color: #fff;
}

.hp-banner-image {
    position: absolute;
    right: max(0px, calc((100% - 1240px) / 2));
    top: 0;
    height: 100%;
    width: auto;
    max-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70px);
    mask-image: linear-gradient(90deg, transparent 0, #000 70px);
}

/* নিচের সাদা ঢেউ */
.hp-banner::after {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -1px;
    height: 26px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -3px 0 rgba(120, 200, 60, 0.35);
}

.hp-banner-inner {
    position: relative;
    z-index: 2;
    padding-top: 22px;
    padding-bottom: 38px;
}

.hp-banner-title {
    padding-left: 28px;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.25;
}

.hp-banner-text {
    padding-left: 28px;
    margin: 2px 0 10px;
    font-size: 16.5px;
    font-weight: 500;
}

.hp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 28px;
    font-size: 15px;
    font-weight: 500;
}

.hp-breadcrumb i {
    font-size: 14px;
}

/* ---------- শিরোনামের ধরন ---------- */
.hp-block-title {
    margin-bottom: 10px;
    color: #0f2f78;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

/* সবুজ দুই দাগের আইকন */
.hp-title-bars::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 20px;
    margin-right: 10px;
    vertical-align: -3px;
    background: linear-gradient(90deg, var(--hp-green-light) 0 4px, transparent 4px 8px, var(--hp-green-light) 8px 12px);
    border-radius: 2px;
}

.hp-title-icon-block .hp-title-icon {
    font-size: 22px;
    margin-right: 6px;
}

/* ---------- পরিচিতি ---------- */
.hp-about-intro {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 6px;
}

.hp-about-intro-image {
    width: 100%;
    border-radius: var(--hp-card-radius, 14px);
    box-shadow: 0 6px 18px rgba(24, 66, 130, 0.18);
}

.hp-about-title {
    color: #123d8e;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-about-tagline {
    margin: 2px 0 8px;
    color: var(--hp-green);
    font-size: 17px;
    font-weight: 800;
}

.hp-about-text {
    color: #1d2b45;
    font-size: 15.5px;
    line-height: 1.75;
    text-align: justify;
}

/* ---------- মিশন / ভিশন / মূল্যবোধ ---------- */
.hp-mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.hp-mvv-card {
    padding: 14px 20px 16px;
    border: 1px solid #e0ebf4;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.10);
}

.hp-mvv-mission {
    background: linear-gradient(180deg, #f0fcee, #ffffff);
}

.hp-mvv-vision {
    background: linear-gradient(180deg, #eaf8fe, #ffffff);
}

.hp-mvv-values {
    background: linear-gradient(180deg, #f4effe, #ffffff);
}

.hp-mvv-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    color: #0f2f78;
    font-size: 22px;
    font-weight: 800;
}

.hp-mvv-title i {
    font-size: 30px;
}

.hp-mvv-mission .hp-mvv-title i { color: var(--hp-green); }
.hp-mvv-vision .hp-mvv-title i { color: #1a62d6; }
.hp-mvv-values .hp-mvv-title i { color: #7a3fd4; }

.hp-mvv-text {
    padding-left: 38px;
    color: #1d2b45;
    font-size: 16px;
    line-height: 1.7;
}

.hp-check-list li {
    color: #1d2b45;
    font-size: 15px;
    line-height: 1.55;
}

.hp-check-list i,
.hp-promise-list i {
    margin-right: 8px;
    color: var(--hp-green);
}

.hp-mvv-values .hp-check-list {
    padding-left: 4px;
}

/* ---------- এক নজরে + অবকাঠামো + যাত্রা ---------- */
.hp-about-mid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 30px;
    margin-top: 26px;
    align-items: start;
}

.hp-stat-list {
    padding: 4px 14px;
    background: #fff;
    border: 1px solid #e3edf6;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.10);
}

.hp-stat-list li {
    display: flex;
    align-items: center;
    min-height: 37px;
    border-bottom: 1px solid #e5edf5;
}

.hp-stat-list li:last-child {
    border-bottom: 0;
}

.hp-stat-icon {
    flex: 0 0 40px;
    color: var(--hp-green);
    font-size: 18px;
    text-align: center;
}

.hp-stat-name {
    flex: 1;
    padding-left: 8px;
    color: #1d2b45;
    font-size: 15px;
    font-weight: 600;
}

.hp-stat-value {
    flex: 0 0 70px;
    color: var(--hp-navy);
    font-size: 16px;
    font-weight: 800;
}

.hp-about-right {
    padding-left: 24px;
    border-left: 1px solid #e5edf5;
}

.hp-facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hp-facility-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0ebf4;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 66, 130, 0.10);
}

.hp-facility-card img {
    width: 100%;
    height: 106px;
    object-fit: cover;
}

.hp-facility-name {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    color: var(--hp-navy);
    font-size: 13px;
    font-weight: 700;
}

.hp-facility-name i {
    color: var(--hp-green);
    font-size: 15px;
}

.hp-journey {
    margin-top: 16px;
}

.hp-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 6px;
}

.hp-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    top: 14px;
    height: 2px;
    background: linear-gradient(90deg, var(--hp-green-light), #8ad02a, var(--hp-green-light));
    opacity: 0.7;
}

.hp-timeline-item {
    position: relative;
}

.hp-timeline-dot {
    position: relative;
    z-index: 1;
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto 6px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--hp-green-light);
    box-shadow: 0 0 0 1px var(--hp-green-light);
}

.hp-timeline-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100px;
    padding: 6px 8px 8px;
    background: linear-gradient(180deg, #effaec, #ffffff);
    border: 1px solid #daeed6;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(24, 66, 130, 0.08);
    text-align: center;
}

.hp-timeline-year {
    color: var(--hp-navy);
    font-size: 17px;
    line-height: 1.3;
}

.hp-timeline-title {
    color: var(--hp-green);
    font-size: 15px;
    line-height: 1.3;
}

.hp-timeline-text {
    margin-top: 2px;
    color: #1d2b45;
    font-size: 13px;
    line-height: 1.4;
}

/* ---------- পরিচালকের বক্তব্য + প্রতিশ্রুতি ---------- */
.hp-about-end {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 18px;
    padding-bottom: 36px;
}

.hp-director {
    display: flex;
    gap: 10px;
}

.hp-director-photo {
    flex: 0 0 178px;
    width: 178px;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
}

.hp-director-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px 14px 12px;
    background: #fff;
    border: 1px solid #e0ebf4;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(24, 66, 130, 0.10);
}

.hp-quote-mark {
    color: var(--hp-green);
    font-size: 20px;
}

.hp-director-quote {
    margin: 2px 0 8px;
    color: #1d2b45;
    font-size: 14px;
    line-height: 1.6;
}

.hp-director-name {
    color: #123d8e;
    font-size: 16px;
}

.hp-director-role {
    color: #3a4a64;
    font-size: 13px;
    line-height: 1.4;
}

.hp-promise {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 6px 190px 6px 18px;
    background: #fff;
    border: 1px solid #e0ebf4;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(24, 66, 130, 0.10);
}

.hp-promise-list li {
    padding: 3px 0;
    border-bottom: 1px solid #edf2f8;
    color: var(--hp-navy);
    font-size: 14.5px;
    font-weight: 600;
}

.hp-promise-list li:last-child {
    border-bottom: 0;
}

.hp-promise-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px);
}

/* ---------- ভিতরের পাতার ফুটার: সবুজ ঢেউ + টিল রঙ ---------- */
.hp-footer.hp-footer-inner {
    padding-top: 0;
    background: linear-gradient(180deg, #033a50 0%, #013249 100%);
}

.hp-footer-wave {
    position: relative;
    height: 44px;
    overflow: hidden;
    background: linear-gradient(90deg, #8ad02a, #18a24a 40%, var(--hp-green));
}

.hp-footer-wave::before {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    top: -34px;
    height: 60px;
    background: #fff;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.hp-footer-wave::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -34px;
    height: 60px;
    background: #033a50;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hp-footer-inner .hp-footer-grid {
    grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr 1.5fr;
    padding-top: 18px;
}

.hp-footer-inner .hp-logo-light .hp-logo-name {
    font-size: 16px;
}

.hp-footer-inner .hp-footer-col + .hp-footer-col {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hp-footer-inner .hp-footer-bottom {
    background: #002d45;
}

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 992px) {
    .hp-about-intro,
    .hp-mvv,
    .hp-about-mid,
    .hp-about-end {
        grid-template-columns: 1fr;
    }

    .hp-about-right {
        padding-left: 0;
        border-left: 0;
    }

    .hp-banner-image {
        opacity: 0.4;
    }

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

    .hp-footer-inner .hp-footer-col + .hp-footer-col {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .hp-banner-title {
        padding-left: 0;
        font-size: 36px;
    }

    .hp-banner-text,
    .hp-breadcrumb {
        padding-left: 0;
    }

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

    .hp-timeline::before {
        display: none;
    }

    .hp-promise {
        padding-right: 20px;
    }

    .hp-promise-image {
        display: none;
    }
}

@media (max-width: 576px) {
    .hp-footer-inner .hp-footer-grid {
        grid-template-columns: 1fr;
    }

    .hp-facility-grid,
    .hp-timeline {
        grid-template-columns: 1fr;
    }

    .hp-director {
        flex-direction: column;
    }

    .hp-director-photo {
        flex-basis: auto;
        width: 100%;
        height: 220px;
    }

    .hp-about-title {
        font-size: 26px;
    }
}

/* ---------- অ্যাপয়েন্টমেন্ট আহ্বান (যোগাযোগ + চিকিৎসক পাতায়) ---------- */
.hp-contact-cta-wrap {
    margin-top: 22px;
    padding-bottom: 34px;
}

.hp-contact-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 106px;
    padding: 12px 215px 12px 18px;
    overflow: hidden;
    background: linear-gradient(90deg, #ebf6fd, #f7fbfe);
    border: 1px solid #dce9f5;
    border-radius: var(--hp-card-radius, 14px);
    box-shadow: 0 5px 18px rgba(24, 66, 130, 0.10);
}

.hp-cta-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1aa650, var(--hp-green-dark));
    color: #fff;
    font-size: 32px;
}

.hp-cta-content {
    flex: 1;
}

.hp-cta-title {
    color: #123d8e;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-cta-text {
    color: #1d2b45;
    font-size: 14.5px;
}

.hp-cta-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70px);
    mask-image: linear-gradient(90deg, transparent 0, #000 70px);
}

@media (max-width: 992px) {
    .hp-contact-cta {
        flex-wrap: wrap;
        padding-right: 18px;
    }

    .hp-cta-image {
        display: none;
    }
}

@media (max-width: 576px) {
    .hp-cta-title {
        font-size: 22px;
    }
}
