/* ============================================
   Helao Nafidi Private Hospital — brand overrides
   Loaded after style.css
   ============================================ */

/* Logo sizing */
#logo img {
    max-height: 58px;
    width: auto;
}

/* Solid white navigation so logo and links stay visible on every page */
#header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-top {
    background: #fff;
}

/* Home banner: white gradient over the facade render so text stays readable */
.banner-area {
    padding: 200px 0 50px;
    background-image:
        linear-gradient(90deg, rgba(249, 249, 255, 0.96) 0%, rgba(249, 249, 255, 0.82) 40%, rgba(249, 249, 255, 0.15) 100%),
        url("../images/banner-bg.jpg");
}

.banner-area .template-btn {
    margin-bottom: 0;
}

.banner-area h4 {
    color: #17877e;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Inner page banners: navy overlay over night render, white text */
.banner-area.other-page {
    padding: 160px 0 55px;
    background-image:
        linear-gradient(rgba(11, 42, 64, 0.78), rgba(11, 42, 64, 0.78)),
        url("../images/renders/render-08.jpg");
}

.banner-area.other-page h1 {
    color: #fff;
}

.banner-area.other-page a,
.banner-area.other-page span {
    color: #cfe7e4;
}

.banner-area.other-page a:hover {
    color: #4fd6c5;
}

/* Milestone cards (replaces patient testimonials) */
.single-patient.milestone {
    margin-top: 0 !important;
    border-left: 4px solid #17877e;
    padding: 30px 30px 20px 30px;
}

.single-patient.milestone h5 {
    color: #17877e;
    font-weight: 700;
}

/* Development notice ribbon */
.dev-notice {
    display: inline-block;
    background: #f8b600;
    color: #222;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
}

/* Gallery grid */
.gallery-item {
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    background: #fff;
    padding: 14px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #17877e;
    font-weight: 700;
}

/* Department grid cards (static, non-carousel) */
.department-card {
    background: #f9f9fd;
    margin-bottom: 30px;
    transition: 0.4s;
}

.department-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.department-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* Footer feed thumbnails: renders are wide, keep them tidy */
.feed img {
    object-fit: cover;
}

/* Patron message under welcome heading */
.patron-subheading {
    color: #17877e;
    font-size: 18px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    margin-bottom: 0;
}

.patron-message p {
    margin-bottom: 14px;
}

.patron-signature {
    margin-top: 20px;
    font-style: italic;
}

.patron-signature strong {
    display: block;
    font-style: normal;
    color: #222;
    margin-bottom: 4px;
}

/* Team cards: show full portrait without cropping */
.single-doctor .doctor-img {
    height: 360px;
    background: #f9f9fd;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.single-doctor .doctor-img img {
    object-fit: contain;
    object-position: top center;
    height: 100%;
    width: 100%;
}

/* Board member cards (no photo) */
.board-card {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    height: 100%;
}

.board-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.board-card-inner h3 {
    font-size: 15px !important;
    margin-bottom: 8px;
}

.board-card-inner h6 {
    color: #17877e;
    font-weight: 600;
}

/* Two-image about layout */
.about-images img {
    margin-bottom: 20px;
}

.about-images img:last-child {
    margin-bottom: 0;
}

/* Consistent section spacing site-wide */
.section-padding {
    padding: 35px 0 !important;
}

.section-padding2 {
    padding-top: 35px !important;
}

.section-padding3 {
    padding-bottom: 35px !important;
}

.section-padding4 {
    padding: 35px 0 50px !important;
}

/* Contact form: flex layout instead of floats */
.contact-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-form form .left,
.contact-form form .right {
    float: none !important;
    width: calc(50% - 12px) !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

.contact-form form .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form form .left input,
.contact-form form .right textarea {
    background: #fff;
    border: 1px solid #d5d5d5 !important;
    color: #222;
    margin-bottom: 0 !important;
}

.contact-form form .right textarea {
    height: 100%;
    min-height: 232px;
    resize: vertical;
}

.contact-form form .left input:focus,
.contact-form form .right textarea:focus {
    border-color: #17877e !important;
}

.contact-form form button {
    float: none !important;
    margin-top: 0 !important;
    border: none;
    cursor: pointer;
}

.appointment-form form button.template-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

@media (max-width: 991px) {
    .contact-form form .left,
    .contact-form form .right {
        width: 100% !important;
    }
}

/* Google map */
#mapBox {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.footer-credit-heart {
    color: #e53935;
}

/* Patron photo: rounded corners + soft dissolve into section background */
.patron-img-fade {
    position: relative;
    border-radius: 220px;
    overflow: hidden;
    background: #fff;
}

.patron-img-fade img {
    display: block;
    width: 100%;
    border-radius: 220px;
    -webkit-mask-image: radial-gradient(
        ellipse 88% 86% at 50% 44%,
        #000 22%,
        rgba(0, 0, 0, 0.75) 42%,
        rgba(0, 0, 0, 0.4) 62%,
        rgba(0, 0, 0, 0.15) 78%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 88% 86% at 50% 44%,
        #000 22%,
        rgba(0, 0, 0, 0.75) 42%,
        rgba(0, 0, 0, 0.4) 62%,
        rgba(0, 0, 0, 0.15) 78%,
        transparent 100%
    );
}
