/* =============================================================
   PADMA GENERAL HOSPITAL — CUSTOM STYLESHEET
   Used together with Bootstrap 5.3 (loaded before this file).

   TABLE OF CONTENTS
   01. Design Tokens (colors, fonts, shadows)
   02. Base
   03. Buttons
   04. Top Bar
   05. Header / Navbar
   06. Section Heading
   07. Home Hero Slider
   08. Quick Action Strip
   09. About Block
   10. Department Cards
   11. Doctor Cards + Profile Modal
   12. Service Cards
   13. Equipment Cards
   14. Why Choose Us
   15. Stats Band
   16. Gallery + Lightbox
   17. News Cards
   18. Emergency CTA Band
   19. Inner Page Banner
   20. Forms (Appointment / Contact)
   21. Schedule Table
   22. FAQ
   23. Footer
   24. Floating Buttons + Mobile Action Bar
   25. Reveal Animation
   26. Smooth Hover Effects
   27. Responsive
   ============================================================= */


/* ===================== 01. DESIGN TOKENS — START ===================== */
:root {
    /* Brand colors (taken from the hospital logo and banner) */
    --pgh-blue: #0b3f94;
    --pgh-blue-dark: #072a66;
    --pgh-blue-soft: #edf3ff;
    --pgh-green: #078a52;
    --pgh-green-dark: #056b40;
    --pgh-green-soft: #e8f7ef;
    --pgh-red: #d8182c;
    --pgh-red-dark: #ae0f20;

    --pgh-ink: #14213d;
    --pgh-text: #4a5568;
    --pgh-line: #e3e9f3;
    --pgh-bg-soft: #f6f9fd;
    --pgh-white: #ffffff;

    --pgh-gradient: linear-gradient(120deg, var(--pgh-green) 0%, var(--pgh-blue) 70%);

    --pgh-radius: 16px;
    --pgh-radius-sm: 10px;
    --pgh-shadow: 0 8px 28px rgba(11, 63, 148, .08);
    --pgh-shadow-lg: 0 18px 48px rgba(11, 63, 148, .18);

    --pgh-font: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;

    /* Override Bootstrap defaults */
    --bs-primary: #0b3f94;
    --bs-primary-rgb: 11, 63, 148;
    --bs-success: #078a52;
    --bs-success-rgb: 7, 138, 82;
    --bs-danger: #d8182c;
    --bs-danger-rgb: 216, 24, 44;
    --bs-body-font-family: var(--pgh-font);
    --bs-body-color: #4a5568;
    --bs-link-color-rgb: 11, 63, 148;
}
/* ===================== 01. DESIGN TOKENS — END ===================== */


/* ===================== 02. BASE — START ===================== */
html { scroll-behavior: smooth; }

body {
    font-family: var(--pgh-font);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--pgh-text);
    background: var(--pgh-white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pgh-ink);
    font-weight: 700;
    line-height: 1.35;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.section { padding: 84px 0; }
.section-soft { background: var(--pgh-bg-soft); }

/* Offset for anchor links so the sticky header does not cover the title */
[id] { scroll-margin-top: 100px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--pgh-blue);
    color: #fff;
    padding: 10px 18px;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(7, 138, 82, .6); outline-offset: 2px; }
/* ===================== 02. BASE — END ===================== */


/* ===================== 03. BUTTONS — START ===================== */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: .6rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .35rem 1rem; }
.btn-lg { padding: .75rem 1.9rem; font-size: 1.0625rem; }

.btn-primary {
    --bs-btn-bg: var(--pgh-blue);
    --bs-btn-border-color: var(--pgh-blue);
    --bs-btn-hover-bg: var(--pgh-blue-dark);
    --bs-btn-hover-border-color: var(--pgh-blue-dark);
    --bs-btn-active-bg: var(--pgh-blue-dark);
    --bs-btn-active-border-color: var(--pgh-blue-dark);
}
.btn-success {
    --bs-btn-bg: var(--pgh-green);
    --bs-btn-border-color: var(--pgh-green);
    --bs-btn-hover-bg: var(--pgh-green-dark);
    --bs-btn-hover-border-color: var(--pgh-green-dark);
    --bs-btn-active-bg: var(--pgh-green-dark);
    --bs-btn-active-border-color: var(--pgh-green-dark);
}
.btn-danger {
    --bs-btn-bg: var(--pgh-red);
    --bs-btn-border-color: var(--pgh-red);
    --bs-btn-hover-bg: var(--pgh-red-dark);
    --bs-btn-hover-border-color: var(--pgh-red-dark);
    --bs-btn-active-bg: var(--pgh-red-dark);
    --bs-btn-active-border-color: var(--pgh-red-dark);
}
.btn-outline-primary {
    --bs-btn-color: var(--pgh-blue);
    --bs-btn-border-color: var(--pgh-blue);
    --bs-btn-hover-bg: var(--pgh-blue);
    --bs-btn-hover-border-color: var(--pgh-blue);
    --bs-btn-active-bg: var(--pgh-blue);
    --bs-btn-active-border-color: var(--pgh-blue);
}
/* ===================== 03. BUTTONS — END ===================== */


/* ===================== 04. TOP BAR — START ===================== */
.topbar {
    background: var(--pgh-blue-dark);
    color: #dbe6ff;
    font-size: .9rem;
    padding: 7px 0;
}
.topbar a { color: #dbe6ff; }
.topbar a:hover { color: #fff; }
.topbar i { color: #5fe0a4; margin-right: 6px; }
.topbar-badge {
    background: var(--pgh-red);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 1px 14px;
}
/* ===================== 04. TOP BAR — END ===================== */


/* ===================== 05. HEADER / NAVBAR — START ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--pgh-white);
    border-bottom: 1px solid var(--pgh-line);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--pgh-shadow); }

.brand { display: flex; align-items: center; gap: 10px; padding: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { color: var(--pgh-blue); font-weight: 700; font-size: 1.35rem; }
.brand-sub {
    color: var(--pgh-green);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-header .nav-link {
    color: var(--pgh-ink);
    font-weight: 600;
    padding: .5rem .7rem;
    position: relative;
}
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: 2px;
    height: 3px;
    border-radius: 3px;
    background: var(--pgh-gradient);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--pgh-blue); }
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler { border: 1px solid var(--pgh-line); border-radius: var(--pgh-radius-sm); }
/* ===================== 05. HEADER / NAVBAR — END ===================== */


/* ===================== 06. SECTION HEADING — START ===================== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head.is-left { text-align: left; margin-left: 0; }

.eyebrow {
    display: inline-block;
    color: var(--pgh-green);
    background: var(--pgh-green-soft);
    font-weight: 600;
    font-size: .9rem;
    border-radius: 50px;
    padding: 3px 16px;
    margin-bottom: 12px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.section-title span { color: var(--pgh-blue); }
.section-text { margin-bottom: 0; }
/* ===================== 06. SECTION HEADING — END ===================== */


/* ===================== 07. HOME HERO SLIDER — START ===================== */
.hero { background: var(--pgh-blue-dark); }

.hero-slide {
    min-height: 580px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 70px 0 110px;
}
/* Each slide: dark brand overlay on top of a real hospital photo */
.hero-slide-1 {
    background-image:
        linear-gradient(95deg, rgba(5, 30, 78, .95) 0%, rgba(7, 42, 102, .82) 48%, rgba(7, 138, 82, .25) 100%),
        url("../images/gallery/reception-blue.webp");
}
.hero-slide-2 {
    background-image:
        linear-gradient(95deg, rgba(4, 62, 40, .95) 0%, rgba(6, 90, 66, .82) 48%, rgba(11, 63, 148, .25) 100%),
        url("../images/gallery/team-green.webp");
}
.hero-slide-3 {
    background-image:
        linear-gradient(95deg, rgba(5, 30, 78, .95) 0%, rgba(7, 42, 102, .82) 48%, rgba(216, 24, 44, .2) 100%),
        url("../images/gallery/greeting-ceremony.webp");
}

.hero-content { color: #fff; max-width: 680px; }
.hero-content h1,
.hero-content h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero-content p { font-size: 1.15rem; color: #e4ecff; margin-bottom: 28px; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    padding: 4px 18px;
    margin-bottom: 18px;
    font-weight: 500;
}
.hero-tag i { color: #5fe0a4; }

.hero .carousel-indicators { bottom: 62px; }
.hero .carousel-indicators [data-bs-target] {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    /* invisible borders make the small bar easy to tap */
    border: 0 solid transparent;
    border-width: 12px 0;
    box-sizing: content-box;
    background-clip: padding-box;
}
.hero .carousel-control-prev,
.hero .carousel-control-next { width: 6%; }
/* ===================== 07. HOME HERO SLIDER — END ===================== */


/* ===================== 08. QUICK ACTION STRIP — START ===================== */
.quick-strip { position: relative; z-index: 5; margin-top: -56px; }

.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    height: 100%;
    background: var(--pgh-white);
    border-radius: var(--pgh-radius);
    border-bottom: 4px solid var(--pgh-green);
    box-shadow: var(--pgh-shadow-lg);
    padding: 22px 14px;
    color: var(--pgh-ink);
    font-weight: 600;
    transition: transform .25s ease;
}
.quick-card:hover { transform: translateY(-6px); color: var(--pgh-blue); }
.quick-card i { font-size: 2rem; color: var(--pgh-blue); line-height: 1; }
.quick-card small { color: var(--pgh-text); font-weight: 400; line-height: 1.4; }
.quick-card.is-emergency { border-bottom-color: var(--pgh-red); }
.quick-card.is-emergency i { color: var(--pgh-red); }
/* ===================== 08. QUICK ACTION STRIP — END ===================== */


/* ===================== 09. ABOUT BLOCK — START ===================== */
.about-media { position: relative; padding: 0 0 48px 0; }
.about-media .about-main {
    width: 82%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--pgh-radius);
    box-shadow: var(--pgh-shadow);
}
.about-media .about-float {
    height: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 8px solid #fff;
    border-radius: var(--pgh-radius);
    box-shadow: var(--pgh-shadow-lg);
}
.about-badge {
    position: absolute;
    top: 28px;
    right: 6%;
    background: var(--pgh-gradient);
    color: #fff;
    border-radius: var(--pgh-radius);
    padding: 14px 22px;
    text-align: center;
    box-shadow: var(--pgh-shadow-lg);
}
.about-badge strong { display: block; font-size: 1.8rem; line-height: 1.2; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-list li::before {
    font-family: "bootstrap-icons";
    content: "\f26a"; /* bi-check-circle-fill */
    position: absolute;
    left: 0;
    color: var(--pgh-green);
}

.value-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-top: 4px solid var(--pgh-blue);
    border-radius: var(--pgh-radius);
    padding: 30px;
}
.value-card i { font-size: 2.2rem; color: var(--pgh-green); }

.rounded-photo {
    border-radius: var(--pgh-radius);
    box-shadow: var(--pgh-shadow);
    width: 100%;
    height: auto;
}
/* ===================== 09. ABOUT BLOCK — END ===================== */


/* ===================== 10. DEPARTMENT CARDS — START ===================== */
.dept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius);
    padding: 26px 16px;
    color: var(--pgh-text);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dept-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pgh-shadow-lg);
    border-color: transparent;
    color: var(--pgh-text);
}
.dept-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pgh-blue-soft);
    color: var(--pgh-blue);
    font-size: 2rem;
    margin-bottom: 14px;
    transition: background .25s ease, color .25s ease;
}
.dept-icon { position: relative; isolation: isolate; }
.dept-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: var(--pgh-gradient);
    opacity: 0;
    transition: opacity .45s ease;
}
.dept-card:hover .dept-icon { color: #fff; }
.dept-card:hover .dept-icon::before { opacity: 1; }
.dept-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.dept-card .dept-en {
    font-size: .8rem;
    font-weight: 600;
    color: var(--pgh-green);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.dept-card p { font-size: .95rem; margin: 10px 0 14px; }
.dept-card .dept-link { margin-top: auto; font-weight: 600; color: var(--pgh-blue); font-size: .95rem; }
/* ===================== 10. DEPARTMENT CARDS — END ===================== */


/* ===================== 11. DOCTOR CARDS + PROFILE MODAL — START ===================== */
/* Compact profile card: photo on the left, information on the right */
.doctor-card {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "photo info"
        "photo footer";
    column-gap: 20px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-radius: 18px;
    padding: 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--pgh-shadow-lg); border-color: #c9d8f3; }

.doctor-photo {
    grid-area: photo;
    position: relative;
    min-height: 200px;
    width: 100%;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    border-radius: 14px;
    background: var(--pgh-blue-soft);
    overflow: hidden;
}
.doctor-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .45s ease;
}
.doctor-card:hover .doctor-photo img { transform: scale(1.05); }

/* Zoom badge: tells visitors the photo can be opened */
.doctor-zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(7, 42, 102, .82);
    color: #fff;
    font-size: .95rem;
    transition: background .25s ease, transform .25s ease;
}
.doctor-photo:hover .doctor-zoom,
.doctor-photo:focus-visible .doctor-zoom { background: var(--pgh-green); transform: scale(1.1); }

.doctor-info { grid-area: info; padding-top: 2px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.doctor-tag {
    background: var(--pgh-green-soft);
    color: var(--pgh-green-dark);
    border-radius: 50px;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 1px 10px;
}
.doctor-info h3 { font-size: 1.15rem; margin-bottom: 2px; }
.doctor-specialty { color: var(--pgh-blue); font-size: .9rem; font-weight: 600; line-height: 1.5; margin-bottom: 2px; }
.doctor-degree { font-size: .82rem; line-height: 1.5; margin-bottom: 0; }
/* Long text is cut to two lines; the full text is in the profile popup */
.doctor-info .doctor-specialty,
.doctor-info .doctor-degree {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.doctor-footer { grid-area: footer; display: flex; flex-direction: column; justify-content: flex-end; }
.doctor-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0; }
.doctor-chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pgh-bg-soft);
    border: 1px solid var(--pgh-line);
    border-radius: 8px;
    color: var(--pgh-ink);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 2px 9px;
}
.doctor-chips i { color: var(--pgh-green); }

.doctor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px dashed var(--pgh-line);
    padding-top: 10px;
}
.doctor-actions .btn { font-size: .86rem; }
.doctor-more { color: var(--pgh-blue); font-weight: 600; text-decoration: none; padding-left: 0; padding-right: 0; }
.doctor-more:hover { color: var(--pgh-green); }

/* Time box used inside the profile popup */
.doctor-time {
    display: flex;
    gap: 10px;
    background: var(--pgh-blue-soft);
    color: var(--pgh-blue-dark);
    border-radius: var(--pgh-radius-sm);
    padding: 9px 12px;
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.55;
}

.profile-modal .modal-content { border: 0; border-radius: var(--pgh-radius); overflow: hidden; }
.profile-modal .modal-header { background: var(--pgh-gradient); }
.profile-modal .modal-title { color: #fff; }
.profile-poster { width: 100%; border-radius: var(--pgh-radius-sm); border: 1px solid var(--pgh-line); }
/* ===================== 11. DOCTOR CARDS + PROFILE MODAL — END ===================== */


/* ===================== 12. SERVICE CARDS — START ===================== */
.service-card {
    height: 100%;
    background: #fff;
    border-radius: var(--pgh-radius);
    border: 1px solid var(--pgh-line);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--pgh-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--pgh-shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card > i {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--pgh-green-soft);
    color: var(--pgh-green);
    font-size: 1.7rem;
    margin-bottom: 16px;
}
.service-card h3 { font-size: 1.2rem; }
.service-card p:last-child { margin-bottom: 0; }
.service-card.is-emergency > i { background: #fdeaec; color: var(--pgh-red); }
/* ===================== 12. SERVICE CARDS — END ===================== */


/* ===================== 13. EQUIPMENT CARDS — START ===================== */
.equip-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius);
    text-align: center;
    padding: 18px 12px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--pgh-shadow-lg); border-color: var(--pgh-blue); }
.equip-card img { width: 100%; height: 100px; object-fit: contain; margin-bottom: 12px; }
.equip-card h3 { font-size: 1rem; margin-bottom: 2px; }
.equip-card span { font-size: .9rem; display: block; line-height: 1.45; }
/* ===================== 13. EQUIPMENT CARDS — END ===================== */


/* ===================== 14. WHY CHOOSE US — START ===================== */
.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--pgh-radius);
    box-shadow: var(--pgh-shadow);
    padding: 20px;
    height: 100%;
}
.why-item i {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pgh-gradient);
    color: #fff;
    font-size: 1.4rem;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 2px; }
.why-item p { margin: 0; font-size: .96rem; }
/* ===================== 14. WHY CHOOSE US — END ===================== */


/* ===================== 15. STATS BAND — START ===================== */
.stats-band { background: var(--pgh-gradient); color: #fff; padding: 48px 0; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.25; }
.stat span { opacity: .92; }
/* ===================== 15. STATS BAND — END ===================== */


/* ===================== 16. GALLERY + LIGHTBOX — START ===================== */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-btn {
    border: 1px solid var(--pgh-line);
    background: #fff;
    color: var(--pgh-ink);
    border-radius: 50px;
    font-weight: 600;
    padding: 6px 20px;
    transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--pgh-blue); color: var(--pgh-blue); }
.filter-btn.active { background: var(--pgh-blue); border-color: var(--pgh-blue); color: #fff; }

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--pgh-blue-soft);
    border-radius: var(--pgh-radius);
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 16px 12px;
    background: linear-gradient(transparent, rgba(5, 30, 78, .9));
    color: #fff;
    font-weight: 600;
    text-align: left;
    line-height: 1.45;
}

.video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 240px;
    text-align: center;
    padding: 30px;
    border-radius: var(--pgh-radius);
    background: var(--pgh-gradient);
    color: #fff;
}
.video-card i { font-size: 3.6rem; line-height: 1; }
.video-card h3 { color: #fff; font-size: 1.2rem; }
/* ----- Lightbox : START ----- */
.lbx-lock { overflow: hidden; }

.lbx {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    color: #fff;
    background: rgba(4, 14, 38, 0);
    transition: background-color .3s ease, backdrop-filter .3s ease;
}
.lbx[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); }
.lbx::backdrop { background: transparent; }
.lbx.is-visible { background: rgba(4, 14, 38, .93); backdrop-filter: blur(10px); }

/* Bars slide in from the top and bottom */
.lbx-top,
.lbx-bottom { position: relative; z-index: 2; opacity: 0; transition: opacity .3s ease, transform .35s ease; }
.lbx-top { transform: translateY(-18px); }
.lbx-bottom { transform: translateY(18px); }
.lbx.is-visible .lbx-top,
.lbx.is-visible .lbx-bottom { opacity: 1; transform: none; }

.lbx-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
}
.lbx-heading { min-width: 0; }
.lbx-title { margin: 0; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbx-count { font-size: .85rem; color: #9fc0ff; }

.lbx-tools {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50px;
    padding: 4px;
}
.lbx-btn {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
    transition: background .2s ease, transform .2s ease;
}
.lbx-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.lbx-btn:active:not(:disabled) { transform: scale(.92); }
.lbx-btn:disabled { opacity: .35; }
.lbx-btn[hidden] { display: none; }
.lbx-percent { min-width: 62px; font-size: .88rem; font-weight: 600; }
.lbx-close:hover:not(:disabled) { background: var(--pgh-red); }

.lbx-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    touch-action: none;          /* gestures are handled by JavaScript */
    user-select: none;
}
.lbx-img {
    max-width: calc(100% - 150px);
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    cursor: zoom-in;
    will-change: transform;
}
.lbx-img.is-smooth { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.lbx-stage.is-zoomed .lbx-img { cursor: grab; }
.lbx-stage.is-dragging .lbx-img { cursor: grabbing; }
.lbx-stage.is-loading .lbx-img,
.lbx-stage.is-error .lbx-img { visibility: hidden; }

.lbx-spinner {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 4px solid rgba(255, 255, 255, .18);
    border-top-color: #2fcb86;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}
.lbx-stage.is-loading .lbx-spinner { opacity: 1; animation: lbx-spin .8s linear infinite; }
@keyframes lbx-spin { to { transform: rotate(360deg); } }

.lbx-error { display: none; position: absolute; margin: 0; }
.lbx-stage.is-error .lbx-error { display: block; }

.lbx-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(7, 42, 102, .7);
    color: #fff;
    font-size: 1.35rem;
    transition: background .2s ease, transform .2s ease;
}
.lbx-nav:hover { background: var(--pgh-green); transform: scale(1.1); }
.lbx-prev { left: 14px; }
.lbx-next { right: 14px; }
.lbx.is-single .lbx-nav { display: none; }

.lbx-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 12px 14px; }
.lbx-action[hidden] { display: none; }
.lbx-hint { margin: 0; font-size: .82rem; color: #aebfe6; text-align: center; line-height: 1.5; }

.lbx-thumbs { position: relative; display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lbx-thumbs:empty { display: none; }
.lbx-thumb {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    opacity: .5;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.lbx-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lbx-thumb:hover { opacity: .85; }
.lbx-thumb.is-active { opacity: 1; border-color: #2fcb86; transform: translateY(-3px); }

@media (max-width: 767.98px) {
    .lbx-top { padding: 8px 10px; gap: 6px; }
    .lbx-title { font-size: .95rem; }
    .lbx-btn { min-width: 42px; height: 42px; }
    .lbx-percent { min-width: 50px; font-size: .8rem; }
    .lbx-img { max-width: calc(100% - 16px); }
    .lbx-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 1.05rem; }
    .lbx-prev { left: 6px; }
    .lbx-next { right: 6px; }
    .lbx-thumb { width: 48px; height: 48px; }
}
@media (max-width: 479.98px) {
    .lbx-top { flex-wrap: wrap; }
    .lbx-heading { width: 100%; }
    .lbx-tools { margin-left: auto; }
}
/* Short screens (phone held sideways): give the photo the space */
@media (max-height: 520px) {
    .lbx-hint,
    .lbx-thumbs { display: none; }
    .lbx-top { flex-wrap: nowrap; padding-top: 6px; padding-bottom: 6px; }
    .lbx-heading { width: auto; }
}
/* ----- Lightbox : END ----- */
/* ===================== 16. GALLERY + LIGHTBOX — END ===================== */


/* ===================== 17. NEWS CARDS — START ===================== */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius);
    padding: 28px;
}
.news-date { color: var(--pgh-green); font-weight: 600; font-size: .92rem; }
.news-card h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.news-card .news-link { margin-top: auto; font-weight: 600; }
/* ===================== 17. NEWS CARDS — END ===================== */


/* ===================== 18. EMERGENCY CTA BAND — START ===================== */
.cta-band {
    background: linear-gradient(110deg, var(--pgh-red-dark), var(--pgh-red));
    color: #fff;
    padding: 44px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-band .btn-light { color: var(--pgh-red-dark); }
/* ===================== 18. EMERGENCY CTA BAND — END ===================== */


/* ===================== 19. INNER PAGE BANNER — START ===================== */
.page-banner {
    background:
        linear-gradient(100deg, rgba(7, 42, 102, .94), rgba(7, 138, 82, .82)),
        url("../images/gallery/reception-color.webp") center / cover;
    color: #fff;
    text-align: center;
    padding: 70px 0;
}
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 8px; }
.page-banner .breadcrumb { justify-content: center; margin: 0; }
.page-banner .breadcrumb a { color: #fff; }
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item.active,
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #bfe9d4; }
/* ===================== 19. INNER PAGE BANNER — END ===================== */


/* ===================== 20. FORMS — START ===================== */
.form-panel {
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius);
    box-shadow: var(--pgh-shadow);
    padding: clamp(22px, 4vw, 38px);
}
.form-label { font-weight: 600; color: var(--pgh-ink); }
.form-control,
.form-select { border-radius: var(--pgh-radius-sm); padding: .65rem .9rem; border-color: var(--pgh-line); }
.form-control:focus,
.form-select:focus { border-color: var(--pgh-blue); box-shadow: 0 0 0 .2rem rgba(11, 63, 148, .15); }

.search-box { position: relative; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--pgh-blue); }
.search-box input { padding-left: 42px; }

.request-summary {
    white-space: pre-line;
    background: var(--pgh-green-soft);
    border: 1px dashed var(--pgh-green);
    border-radius: var(--pgh-radius-sm);
    color: var(--pgh-ink);
    padding: 16px;
}

.info-panel {
    background: var(--pgh-gradient);
    color: #fff;
    border-radius: var(--pgh-radius);
    padding: 30px;
}
.info-panel h2, .info-panel h3 { color: #fff; font-size: 1.3rem; }
.info-panel a { color: #fff; font-weight: 600; }

.contact-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius);
    padding: 30px 20px;
}
.contact-card i { font-size: 2.2rem; color: var(--pgh-green); }
.contact-card h2 { font-size: 1.2rem; margin: 10px 0 6px; }
.contact-card a { display: block; font-weight: 600; }

.map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: var(--pgh-radius);
    box-shadow: var(--pgh-shadow);
}
/* ===================== 20. FORMS — END ===================== */


/* ===================== 21. SCHEDULE TABLE — START ===================== */
.schedule-wrap {
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius);
    overflow: hidden;
    background: #fff;
}
.schedule-table { margin: 0; min-width: 720px; }
.schedule-table thead th { background: var(--pgh-blue); color: #fff; padding: 14px 16px; white-space: nowrap; }
.schedule-table tbody td,
.schedule-table tbody th { padding: 13px 16px; vertical-align: middle; }
.schedule-table tbody th { color: var(--pgh-ink); }
/* ===================== 21. SCHEDULE TABLE — END ===================== */


/* ===================== 22. FAQ — START ===================== */
.faq .accordion-item {
    border: 1px solid var(--pgh-line);
    border-radius: var(--pgh-radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}
.faq .accordion-button { font-weight: 600; color: var(--pgh-ink); }
.faq .accordion-button:not(.collapsed) { background: var(--pgh-blue-soft); color: var(--pgh-blue); box-shadow: none; }
/* ===================== 22. FAQ — END ===================== */


/* ===================== 23. FOOTER — START ===================== */
.site-footer { background: #061d47; color: #b9c8ea; padding-top: 60px; font-size: .98rem; }
.site-footer h2 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.site-footer h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: #2fcb86;
    margin-top: 8px;
}
.site-footer a { color: #b9c8ea; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; border-radius: var(--pgh-radius); padding: 12px; width: 150px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: #2fcb86; }
.social-link {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    margin-right: 8px;
}
.social-link:hover { background: var(--pgh-green); border-color: var(--pgh-green); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding: 18px 0; font-size: .9rem; }
/* ===================== 23. FOOTER — END ===================== */


/* ===================== 24. FLOATING BUTTONS + MOBILE BAR — START ===================== */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1020;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--pgh-blue);
    color: #fff;
    box-shadow: var(--pgh-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.mobile-bar { display: none; }
/* ===================== 24. FLOATING BUTTONS + MOBILE BAR — END ===================== */


/* ===================== 25. REVEAL ANIMATION — START ===================== */
/* The "js-reveal" class is added by JavaScript, so content stays visible without JS */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}
/* ===================== 25. REVEAL ANIMATION — END ===================== */


/* ===================== 26. SMOOTH HOVER EFFECTS — START ===================== */
:root {
    --pgh-ease: cubic-bezier(.22, .61, .36, 1);       /* soft slow-down */
    --pgh-spring: cubic-bezier(.34, 1.56, .64, 1);    /* small bounce for icons */
    --pgh-speed: .4s;                                 /* change to make all hovers faster / slower */
}

/* --- Same smooth timing for buttons, links and cards --- */
.btn,
.filter-btn,
.social-link,
.back-to-top,
.quick-card,
.dept-card,
.doctor-card,
.service-card,
.equip-card,
.why-item,
.value-card,
.contact-card,
.news-card,
.video-card {
    transition:
        transform var(--pgh-speed) var(--pgh-ease),
        box-shadow var(--pgh-speed) var(--pgh-ease),
        background-color var(--pgh-speed) var(--pgh-ease),
        border-color var(--pgh-speed) var(--pgh-ease),
        color var(--pgh-speed) var(--pgh-ease),
        opacity var(--pgh-speed) var(--pgh-ease),
        visibility var(--pgh-speed) var(--pgh-ease);
}
.site-header .nav-link,
.footer-links a,
.topbar a { transition: color var(--pgh-speed) var(--pgh-ease), transform var(--pgh-speed) var(--pgh-ease); }
.site-header .nav-link::after { transition: transform var(--pgh-speed) var(--pgh-ease); }

/* --- Icons move with a gentle bounce --- */
.btn i,
.quick-card i,
.service-card > i,
.why-item i,
.value-card i,
.contact-card i,
.video-card i,
.social-link i,
.back-to-top i,
.dept-icon i,
.dept-link i,
.news-link i,
.footer-contact i,
.lbx-btn i,
.lbx-nav i,
.brand img {
    display: inline-block;
    transition:
        transform .5s var(--pgh-spring),
        background-color var(--pgh-speed) var(--pgh-ease),
        color var(--pgh-speed) var(--pgh-ease);
}
.service-card > i,
.why-item i { display: grid; }

/* --- Light sweep across solid buttons --- */
.btn { position: relative; overflow: hidden; }
.btn-primary::after,
.btn-success::after,
.btn-danger::after,
.btn-light::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -75%;
    width: 50%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.btn:active { transform: scale(.96); transition-duration: .12s; }

/* Hover effects: only for mouse users, so nothing "sticks" on touch screens */
@media (hover: hover) and (pointer: fine) {

    /* --- Buttons --- */
    .btn:hover:not(:active) { transform: translateY(-3px); }
    .btn-primary:hover { box-shadow: 0 10px 22px rgba(11, 63, 148, .32); }
    .btn-success:hover { box-shadow: 0 10px 22px rgba(7, 138, 82, .32); }
    .btn-danger:hover { box-shadow: 0 10px 22px rgba(216, 24, 44, .32); }
    .btn-light:hover,
    .btn-outline-light:hover,
    .btn-outline-primary:hover { box-shadow: 0 10px 22px rgba(4, 20, 56, .18); }
    .btn-link:hover { box-shadow: none; }

    .btn-primary:hover::after,
    .btn-success:hover::after,
    .btn-danger:hover::after,
    .btn-light:hover::after { left: 130%; transition: left .75s var(--pgh-ease); }

    .btn:hover i { transform: scale(1.18) rotate(-8deg); }
    .btn:hover .bi-arrow-right,
    .btn:hover .bi-chevron-right,
    .dept-card:hover .dept-link i,
    .news-link:hover i { transform: translateX(6px); }

    .filter-btn:hover { transform: translateY(-3px); box-shadow: var(--pgh-shadow); }

    /* --- Card icons --- */
    .quick-card:hover i { transform: translateY(-4px) scale(1.18); }
    .dept-card:hover .dept-icon i { transform: scale(1.15) rotate(-8deg); }
    .service-card:hover > i { transform: rotate(-8deg) scale(1.1); background: var(--pgh-green); color: #fff; }
    .service-card.is-emergency:hover > i { background: var(--pgh-red); color: #fff; }
    .why-item:hover i { transform: rotate(360deg) scale(1.08); }
    .value-card:hover i,
    .contact-card:hover > i { transform: translateY(-5px) scale(1.15); }
    .video-card:hover i { transform: scale(1.2); }

    .why-item:hover,
    .value-card:hover,
    .contact-card:hover,
    .news-card:hover { transform: translateY(-6px); box-shadow: var(--pgh-shadow-lg); }
    .video-card:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--pgh-shadow-lg); }

    /* --- Header, footer and floating buttons --- */
    .brand:hover img { transform: scale(1.1) rotate(-4deg); }
    .footer-links:not(.footer-contact) a:hover { transform: translateX(6px); display: inline-block; }
    .social-link:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(7, 138, 82, .4); }
    .social-link:hover i { transform: scale(1.2) rotate(-10deg); }
    .back-to-top.is-visible:hover { transform: translateY(-4px); background: var(--pgh-green); }
    .back-to-top:hover i { transform: translateY(-4px); }

    /* --- Lightbox buttons --- */
    .lbx-btn:hover:not(:disabled) i { transform: scale(1.2); }
    .lbx-close:hover:not(:disabled) i { transform: rotate(90deg); }
    .lbx-prev:hover i { transform: translateX(-3px); }
    .lbx-next:hover i { transform: translateX(3px); }
}

/* display:inline-block must be set before hover, otherwise the link jumps */
.footer-links:not(.footer-contact) a { display: inline-block; }
/* ===================== 26. SMOOTH HOVER EFFECTS — END ===================== */


/* ===================== 27. RESPONSIVE — START ===================== */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { padding: 12px 0; max-height: calc(100vh - 90px); overflow-y: auto; }
    .site-header .nav-link { padding: .6rem 0; }
    .site-header .nav-link::after { left: 0; right: auto; width: 40px; }
}

@media (max-width: 767.98px) {
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
    .hero-slide { min-height: 520px; padding: 48px 0 120px; }
    .hero .carousel-control-prev,
    .hero .carousel-control-next { display: none; }
    .quick-card { padding: 16px 10px; font-size: .95rem; }
    .quick-card small { display: none; }

    /* Fixed call / appointment bar on phones */
    body { padding-bottom: 62px; }
    .mobile-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1035;
        background: #fff;
        box-shadow: 0 -4px 18px rgba(11, 63, 148, .16);
    }
    .mobile-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 62px;
        color: var(--pgh-blue);
        font-weight: 600;
        font-size: .85rem;
        line-height: 1.4;
    }
    .mobile-bar i { font-size: 1.25rem; }
    .mobile-bar a.is-call { background: var(--pgh-red); color: #fff; }
    .back-to-top { bottom: 76px; right: 14px; }
}

/* Touch screens: every tap target is at least about 44px high */
@media (max-width: 767.98px) {
    .btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .navbar-toggler { min-width: 46px; min-height: 44px; }
    .footer-links:not(.footer-contact) li { margin-bottom: 0; }
    .footer-links a { display: inline-block; padding: 8px 0; }
    .page-banner .breadcrumb a,
    .contact-card a,
    .contact-card a.d-inline,
    .info-panel a,
    .news-card .news-link { display: inline-block; padding: 8px 0; }
    .contact-card a { display: block; }                 /* one phone number per line */
    .contact-card a.d-inline { display: inline-block !important; }
    /* keep footer icons level with the padded phone / e-mail links */
    .footer-contact li:nth-child(2) i,
    .footer-contact li:nth-child(3) i { padding-top: 8px; }
    .social-link { width: 46px; height: 46px; }
    .filter-btn { min-height: 44px; }
    .site-header .nav-link { padding: .7rem 0; }
    .doctor-tag { font-size: .8rem; }
    .doctor-chips li { font-size: .82rem; }
}

/* Phones: photo beside the name, schedule and buttons below */
@media (max-width: 575.98px) {
    .doctor-card {
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas:
            "photo info"
            "footer footer";
        column-gap: 14px;
        padding: 12px;
    }
    .doctor-photo { min-height: 124px; align-self: start; height: 124px; }
    .doctor-info h3 { font-size: 1.05rem; }
}

@media (max-width: 399.98px) {
    .brand img { width: 42px; height: 42px; }
    .brand { gap: 6px; margin-right: 0; }
    .brand-name { font-size: .98rem; white-space: nowrap; }
    .navbar-toggler { padding: 2px 6px; }
    .brand-sub { font-size: .66rem; letter-spacing: .02em; }
}

@media print {
    .topbar, .site-header, .site-footer, .mobile-bar, .back-to-top, .cta-band { display: none !important; }
}
/* ===================== 27. RESPONSIVE — END ===================== */
