﻿/* Shekhar Hospital - Urology Department UI */
:root {
    --navy: #073b82;
    --blue: #0866c9;
    --light-blue: #eaf4ff;
    --pale: #f4f8ff;
    --red: #ed1c2b;
    --text: #102b50;
    --muted: #667b98;
    --border: #d8e8fb;
    --shadow: 0 8px 24px rgba(16, 75, 145, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
}

a {
    text-decoration: none;
}

.department-page {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 26px 34px 42px;
}

/* Hero banner */
.hero-banner {
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 34px 5.5%;
    border-radius: 16px;
    background: radial-gradient(circle at 75% 45%, rgba(255,255,255,.95) 0 10%, transparent 33%), linear-gradient(112deg, #e8f6ff 0%, #c7e9ff 52%, #eaf6ff 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
}

    .hero-banner::after {
        content: "";
        position: absolute;
        width: 58%;
        height: 145%;
        right: -8%;
        top: -23%;
        border-radius: 50% 0 0 50%;
        border-left: 20px solid rgba(0,107,196,.18);
        background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(5,112,199,.14));
        transform: rotate(-8deg);
    }

.hero-copy {
    position: relative;
    z-index: 2;
    width: 53%;
}

.eyebrow {
    font-size: 19px;
    font-weight: 800;
    color: #123b6b;
}

.hero-copy h1 {
    margin: 0;
    color: #0874d8;
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
}

.hero-copy > p {
    margin: 14px 0 22px;
    padding-left: 13px;
    border-left: 4px solid var(--red);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

    .hero-tags span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #0a4f9b;
        font-size: 12px;
        font-weight: 700;
    }

    .hero-tags i {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #0872d2;
        color: #fff;
        font-size: 14px;
    }

.hero-visual {
    position: relative;
    z-index: 1;
    width: 43%;
    height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kidney-art {
    position: relative;
    width: 245px;
    height: 220px;
    display: grid;
    place-items: center;
    border-radius: 48% 52% 45% 55%;
    background: radial-gradient(circle, #fff 0 20%, #a8dcff 52%, rgba(255,255,255,.05) 72%);
    color: #0c67b9;
}

    .kidney-art > i {
        font-size: 120px;
        color: #0b65b5;
        filter: drop-shadow(0 8px 12px rgba(0,65,130,.2));
    }

.kidney-symbol {
    position: absolute;
    top: 27px;
    color: #e94b68;
    font-size: 65px;
    text-shadow: 0 3px 12px #fff;
}

.hero-hospital {
    position: absolute;
    right: 0;
    top: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    background: rgba(255,255,255,.88);
    border-radius: 10px;
}

.hospital-mark {
    width: 36px;
    height: 36px;
    border: 2px solid #b6c5d8;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--red);
}

.hero-hospital strong, .hero-hospital span, .hero-hospital small {
    display: block;
}

.hero-hospital strong {
    color: #e51c2a;
    font-family: Georgia, serif;
    font-size: 19px;
    letter-spacing: 1px;
}

.hero-hospital span {
    color: #e51c2a;
    font-size: 10px;
    letter-spacing: 4px;
}

.hero-hospital small {
    color: #6c7785;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 9px;
}

/* Main columns */
.content-layout {
    display: grid;
    grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
    gap: 34px;
    margin-top: 28px;
    align-items: start;
}

.doctors-column {
    min-width: 0;
}

.doctors-panel, .facilities-grid, .opd-panel, .appointment-panel, .trust-strip {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.doctors-panel {
    padding: 14px;
    background: #f7faff;
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.doctors-heading {
    margin: -1px -1px 14px;
    padding: 13px 16px;
    color: #fff;
    border-radius: 14px 14px 9px 9px;
    background: linear-gradient(100deg, #0871d3, #063779);
}

.heading-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,.17);
    font-size: 22px;
}

.panel-heading h2 {
    margin: 0;
    font-size: 22px;
}

.heading-line {
    display: block;
    width: 55px;
    height: 2px;
    margin-top: 6px;
    background: rgba(255,255,255,.75);
}

.doctor-card {
    display: grid;
    grid-template-columns: 39% 1fr;
    gap: 14px;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #e0edfc;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(25,87,155,.07);
}

.doctor-photo {
    min-height: 190px;
    overflow: hidden;
    border-radius: 12px;
    background: #d9ecff;
    position:relative;
}
    .doctor-photo:before {
        content: "";
        background-image: url(../img/myimages/bgdoctor.png);
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
    }

    .doctor-photo img {
        width: 100%;
        height: 100%;
        min-height: 190px;
        object-fit: cover;
        object-position: center top;
        display: block;
        position: relative;
        height: 190px;
    }

.doctor-info {
    min-width: 0;
    padding: 6px 0;
}

    .doctor-info h3 {
        margin: 2px 0 4px;
        color: #102f5b;
        font-size: 17px;
        line-height: 1.25;
    }

.speciality {
    color: #0868c7;
    font-weight: 700;
    font-size: 14px;
    padding: 5px 18px;
}

.qualification {
    margin: 7px 0 12px;
    color: #253d5d;
    font-size: 13px;
    font-weight: 600;
}

.doctor-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    color: #354d6b;
    font-size: 14px;
    line-height: 1.35;
}

    .doctor-meta i {
        width: 14px;
        color: #0866c9;
        font-size: 13px;
    }

.small-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 7px;
    padding: 9px 13px;
    color: #fff;
    background: #06458f;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
}

    .small-book-btn:hover {
        background: var(--red);
        transform: translateY(-1px);
    }

.priority-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px;
    border-radius: 13px;
    background: linear-gradient(110deg, #d9efff, #f2f9ff);
    color: #0754a5;
}

    .priority-strip span {
        font-size: 39px;
    }

    .priority-strip strong {
        font-size: 19px;
        line-height: 1.2;
    }

.side-promo {
    display: block;
    margin-top: 22px;
    padding: 18px;
    min-height: 190px;
    text-align: center;
    border-radius: 13px;
    color: #fff;
    background: radial-gradient(circle at 70% 20%, #f75a60, transparent 32%), linear-gradient(135deg, #a9000b, #e21b27 55%, #8c0008);
    box-shadow: var(--shadow);
}

.promo-top {
    display: block;
    padding-bottom: 12px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.side-promo strong {
    display: block;
    font-size: 25px;
    line-height: 1.2;
}

.promo-bottom {
    display: inline-block;
    margin-top: 17px;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 25px;
    font-weight: 700;
}

/* Facilities */
.department-content {
    min-width: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0 20px;
}

.title-accent {
    width: 6px;
    height: 36px;
    border-radius: 5px;
    background: var(--red);
}

.section-title h2 {
    margin: 0;
    color: #10376a;
    font-size: 27px;
    letter-spacing: -.5px;
}

.section-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.view-link {
    margin-left: auto;
    white-space: nowrap;
    color: #0758a8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

    .view-link i {
        margin-left: 6px;
    }

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.facility-card {
    min-height: 142px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    text-align: center;
    border: 1px solid #d5e7fb;
    border-radius: 15px;
    background: linear-gradient(145deg, #f8fbff, #edf5ff);
    transition: .2s;
}
    .facility-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .facility-card:hover {
        transform: translateY(-4px);
        border-color: #80b8f0;
        box-shadow: 0 8px 18px rgba(10,91,170,.12);
    }

    .facility-card i {
        margin-bottom: 12px;
        color: #0756a8;
        font-size: 39px;
    }

    .facility-card h3 {
        margin: 0;
        color: #000000;
        font-size: 16px;
        line-height: 1.45;
    }

/* OPD and appointment */
.schedule-book-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
    margin-top: 20px;
}

.opd-panel, .appointment-panel {
    padding: 17px;
}

.opd-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
}

    .opd-heading > i {
        color: #0757a9;
        font-size: 39px;
    }

    .opd-heading h2 {
        margin: 0;
        color: #10376a;
        font-size: 24px;
    }

    .opd-heading p {
        margin: 3px 0 0;
        color: var(--muted);
        font-size: 13px;
    }

.timing-cards {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 12px;
}

.timing-card {
    min-height: 105px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    color: #fff;
}

    .timing-card > i {
        margin-top: 2px;
        font-size: 25px;
    }

    .timing-card strong, .timing-card span {
        display: block;
    }

    .timing-card strong {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .timing-card span {
        margin-top: 4px;
        font-size: 12px;
    }

.timing-open {
    background: linear-gradient(135deg, #0756a9, #063779);
}

.timing-closed {
    align-items: center;
    background: linear-gradient(135deg, #ed2631, #bd0713);
}

    .timing-closed div {
        text-align: center;
        flex: 1;
    }

.appointment-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, #fff, #eff6ff);
}

.main-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 84px;
    padding: 12px;
    color: #fff;
    border: 3px solid #ffb6b6;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff4249, #d4000c);
    box-shadow: 0 6px 16px rgba(211,0,12,.2);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    transition: .2s;
}

    .main-book-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(211,0,12,.25);
    }

    .main-book-btn i {
        font-size: 30px;
    }

.appointment-panel p {
    margin: 13px 0 8px;
    color: #294563;
    font-size: 12px;
    font-weight: 600;
}

.appointment-panel small {
    color: #0758a8;
    font-weight: 700;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 20px;
    padding: 20px 10px;
    background: linear-gradient(110deg, #f8fbff, #edf5ff);
}

    .trust-strip div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 90px;
        text-align: center;
        border-right: 1px solid #b7cde7;
    }

        .trust-strip div:last-child {
            border: 0;
        }

    .trust-strip i {
        color: #0756a8;
        font-size: 34px;
    }

    .trust-strip strong {
        color: #173c6b;
        font-size: 13px;
        line-height: 1.35;
    }

/* Responsive */
@media (max-width: 1100px) {
    .department-page {
        padding: 22px;
    }

    .content-layout {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 22px;
    }

    .doctor-card {
        grid-template-columns: 36% 1fr;
        gap: 10px;
    }

    .doctor-info h3 {
        font-size: 15px;
    }

    .doctor-meta {
        font-size: 10px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facility-card {
        min-height: 120px;
    }

    .schedule-book-row {
        grid-template-columns: 1fr;
    }

    .appointment-panel {
        display: grid;
        grid-template-columns: minmax(180px, 1fr) 1fr;
        gap: 8px 16px;
    }

        .appointment-panel p {
            margin: 0;
            text-align: left;
        }

        .appointment-panel small {
            text-align: left;
        }
}

@media (max-width: 760px) {
    .department-page {
        padding: 14px;
    }

    .hero-banner {
        min-height: 260px;
        padding: 25px 22px;
    }

    .hero-copy {
        width: 70%;
    }

        .hero-copy h1 {
            font-size: 55px;
        }

        .hero-copy > p {
            font-size: 15px;
        }

    .hero-visual {
        position: absolute;
        right: -10%;
        width: 48%;
        opacity: .62;
    }

    .kidney-art {
        width: 180px;
        height: 180px;
    }

        .kidney-art > i {
            font-size: 90px;
        }

    .kidney-symbol {
        font-size: 48px;
    }

    .hero-hospital {
        display: none;
    }

    .hero-tags {
        max-width: 300px;
        gap: 8px;
    }

        .hero-tags span {
            font-size: 10px;
        }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 20px;
    }

    .doctors-column {
        order: 1;
    }

    .department-content {
        order: 2;
    }

    .doctors-panel {
        padding: 12px;
    }

    .doctor-card {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .doctor-photo, .doctor-photo img {
        min-height: 175px;
    }

    .side-promo {
        display: none;
    }

    .section-title {
        margin-top: 0;
    }

        .section-title h2 {
            font-size: 23px;
        }
}

@media (max-width: 520px) {
    .hero-banner {
        min-height: 235px;
        padding: 22px 17px;
    }

    .hero-copy {
        width: 100%;
    }

        .hero-copy h1 {
            font-size: 48px;
        }

    .eyebrow {
        font-size: 14px;
    }

    .hero-copy > p {
        font-size: 13px;
        margin: 10px 0 15px;
    }

    .hero-visual {
        right: -20%;
        opacity: .28;
    }

    .hero-tags {
        max-width: 270px;
    }

        .hero-tags span {
            font-size: 9px;
        }

        .hero-tags i {
            width: 24px;
            height: 24px;
            font-size: 11px;
        }

    .doctor-card {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .doctor-photo, .doctor-photo img {
        min-height: 158px;
    }

    .doctor-info h3 {
        font-size: 14px;
    }

    .speciality {
        font-size: 12px;
    }

    .qualification {
        margin: 5px 0 8px;
        font-size: 11px;
    }

    .doctor-meta {
        gap: 5px;
        margin: 6px 0;
        font-size: 9px;
    }

    .small-book-btn {
        padding: 8px 10px;
        font-size: 9px;
    }

    .priority-strip strong {
        font-size: 16px;
    }

    .section-title {
        gap: 10px;
        flex-wrap: wrap;
    }

        .section-title h2 {
            font-size: 21px;
        }

        .section-title p {
            font-size: 11px;
        }

    .view-link {
        width: 100%;
        margin: 3px 0 0 16px;
    }

    .facilities-grid {
        gap: 8px;
        padding: 10px;
    }

    .facility-card {
        min-height: 108px;
        padding: 10px 5px;
    }

        .facility-card i {
            font-size: 29px;
            margin-bottom: 8px;
        }

        .facility-card h3 {
            font-size: 10px;
        }

    .opd-panel, .appointment-panel {
        padding: 13px;
    }

    .opd-heading h2 {
        font-size: 21px;
    }

    .timing-cards {
        grid-template-columns: 1fr;
    }

    .timing-card {
        min-height: 85px;
        padding: 13px;
    }

    .appointment-panel {
        display: flex;
    }

    .main-book-btn {
        min-height: 70px;
        max-width: 260px;
    }

    .appointment-panel p {
        margin: 8px 0 4px;
        text-align: center;
    }

    .appointment-panel small {
        text-align: center;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 0;
        padding: 14px 5px;
    }

        .trust-strip div:nth-child(2) {
            border-right: 0;
        }

        .trust-strip div {
            min-height: 78px;
        }

        .trust-strip i {
            font-size: 27px;
        }

        .trust-strip strong {
            font-size: 11px;
        }
}
