/* UNIFORM INNER PAGE HERO */

.page-hero {
    position: relative;
    padding: 88px 0 82px;
    overflow: hidden;
    min-height: 320px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 18, 54, 0.92),
        rgba(5, 38, 104, 0.78)
    );
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    max-width: 760px;
    color: #fff;
}

.page-hero-tag {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 600;
}

.page-hero-content h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    margin-bottom: 18px;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 680px;
}

.page-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.page-hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* INNER PAGE SECTIONS */

.inner-page-section {
    padding: 70px 0;
}

.inner-page-section.alt-bg {
    background: #f4f8ff;
}

.section-header-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 48px;
}

/* DEPARTMENTS */

.departments-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.department-page-card {
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 40, 90, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.department-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 40, 90, 0.12);
}

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

.department-page-body {
    padding: 24px;
}

.department-page-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e8f1ff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.department-page-body h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.department-page-body p {
    color: #5b6472;
    line-height: 1.7;
    margin-bottom: 14px;
}

.department-services {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.department-services li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #374151;
    font-size: 0.95rem;
}

.department-services li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: 700;
}

.department-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.department-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.department-card-actions a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
}

.department-card-actions .link-btn {
    color: #0d6efd;
    background: #eef4ff;
}

.department-card-actions .book-btn {
    color: #fff;
    background: #0d6efd;
}

/* DOCTORS PAGE */

.doctors-page-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.doctors-page-intro p {
    color: #5b6472;
    line-height: 1.8;
}

.doctors-info-panel {
    background: linear-gradient(135deg, #0b1f3a, #0d6efd);
    color: #fff;
    border-radius: 18px;
    padding: 28px;
}

.doctors-info-panel h3 {
    margin: 0 0 12px;
}

.doctors-info-panel ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.doctor-timing,
.doctor-fees {
    font-size: 0.92rem;
    color: #4b5563;
    margin: 10px 0;
}

.doctor-timing i {
    color: #0d6efd;
    margin-right: 6px;
}

/* Doctors page — hide price on each card (fees shown in side panel + booking modal) */
.doctors-page-grid .doctor-fees {
    display: none;
}

/* PATIENT CARE */

.patient-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.patient-care-card {
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(15, 40, 90, 0.05);
}

.patient-care-card i {
    font-size: 28px;
    color: #0d6efd;
    margin-bottom: 14px;
}

.patient-care-card h3 {
    margin: 0 0 10px;
}

.patient-care-card p,
.patient-care-card li {
    color: #5b6472;
    line-height: 1.7;
}

.patient-care-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.patient-care-card a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.patient-care-card a:hover {
    text-decoration: underline;
}

.patient-care-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.patient-step {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e5edf8;
    position: relative;
}

.patient-step span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 12px;
}

.patient-cta-band {
    margin-top: 50px;
    background: linear-gradient(135deg, #0b1f3a, #0d6efd);
    color: #fff;
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.patient-cta-band h2 {
    margin: 0 0 8px;
    color: #fff;
}

.patient-cta-band p {
    margin: 0;
    opacity: 0.92;
}

.patient-cta-band .oc-bi-hi {
    color: rgba(255, 255, 255, 0.92);
}

.patient-cta-band h2 .oc-bi-hi {
    font-size: 0.82em;
    font-weight: 600;
}

.patient-cta-band p .oc-bi-hi {
    opacity: 0.9;
}

.patient-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.patient-cta-buttons a {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.patient-cta-buttons .cta-primary {
    background: #fff;
    color: #0d6efd;
}

.patient-cta-buttons .cta-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #fff;
}

/* ONLINE CONSULTATION GUIDE (bilingual EN + HI) */

.oc-online-guide {
    background: linear-gradient(180deg, #f6faff 0%, #fff 120px);
    padding-top: 70px;
    padding-bottom: 70px;
}

.oc-bi-en,
.oc-bi-hi {
    display: block;
}

.oc-bi-hi {
    font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Poppins', sans-serif;
    color: #475569;
    font-weight: 500;
    margin-top: 0.35em;
    line-height: 1.55;
}

.section-badge .oc-bi-hi {
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.2em;
    opacity: 0.92;
}

.section-title .oc-bi-hi {
    font-size: 0.72em;
    font-weight: 700;
    color: #1e4a7a;
}

.oc-bilingual-desc {
    max-width: 720px;
}

.oc-subsection-head {
    margin-top: 48px;
}

.oc-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.oc-compare-card {
    background: #fff;
    border: 1px solid #dce9ff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(15, 40, 90, 0.06);
}

.oc-compare-online {
    border-top: 4px solid #0d6efd;
}

.oc-compare-clinic {
    border-top: 4px solid #198754;
}

.oc-compare-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.oc-compare-head i {
    font-size: 26px;
    color: #0d6efd;
    margin-top: 4px;
}

.oc-compare-clinic .oc-compare-head i {
    color: #198754;
}

.oc-compare-head h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #071b4a;
    line-height: 1.45;
}

.oc-bilingual-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.oc-bilingual-list li {
    position: relative;
    padding: 12px 0 12px 22px;
    border-bottom: 1px solid #eef2f8;
    color: #5b6472;
    line-height: 1.55;
}

.oc-bilingual-list li:last-child {
    border-bottom: none;
}

.oc-bilingual-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0d6efd;
}

.oc-compare-clinic .oc-bilingual-list li::before {
    background: #198754;
}

.oc-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.oc-step-card {
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 14px;
    padding: 22px;
}

.oc-step-card .oc-step-num {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.oc-step-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #071b4a;
}

.oc-step-card p {
    margin: 0;
    color: #5b6472;
    line-height: 1.65;
}

.oc-info-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.oc-info-panel {
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 16px;
    padding: 26px;
}

.oc-info-panel h3 {
    margin: 0 0 14px;
    font-size: 1.12rem;
    color: #071b4a;
    line-height: 1.45;
}

.oc-info-intro {
    margin: 0 0 12px;
    color: #5b6472;
    line-height: 1.7;
}

.oc-emergency-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 32px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff5f5;
    border: 1px solid #fecaca;
}

.oc-emergency-note i {
    color: #dc2626;
    font-size: 22px;
    margin-top: 2px;
}

.oc-emergency-note p {
    margin: 0;
    color: #7f1d1d;
    line-height: 1.65;
}

.oc-emergency-note .oc-bi-hi {
    color: #991b1b;
}

.oc-faq-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oc-faq-item {
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 14px;
    overflow: hidden;
}

.oc-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 48px 18px 20px;
    font-weight: 600;
    color: #071b4a;
    position: relative;
    line-height: 1.45;
}

.oc-faq-item summary::-webkit-details-marker {
    display: none;
}

.oc-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: #0d6efd;
    line-height: 1;
}

.oc-faq-item[open] summary::after {
    content: '−';
}

.oc-faq-item summary .oc-bi-hi {
    font-size: 0.92em;
    font-weight: 600;
}

.oc-faq-answer {
    padding: 0 20px 18px;
    border-top: 1px solid #eef2f8;
}

.oc-faq-answer p {
    margin: 14px 0 0;
    color: #5b6472;
    line-height: 1.75;
}

.oc-online-guide .patient-cta-band {
    margin-top: 48px;
}

.patient-cta-band .patient-cta-buttons .oc-bi-hi {
    display: block;
    font-size: 0.82em;
    margin-top: 2px;
}

.patient-cta-band .patient-cta-buttons .cta-primary .oc-bi-en,
.patient-cta-band .patient-cta-buttons .cta-primary .oc-bi-hi {
    color: #0d6efd;
}

@media (max-width: 992px) {
    .oc-compare-grid,
    .oc-info-panels {
        grid-template-columns: 1fr;
    }

    .oc-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .oc-steps-grid {
        grid-template-columns: 1fr;
    }

    .oc-online-guide .patient-cta-band {
        padding: 28px 22px;
    }
}

/* GALLERY */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-filter-btn {
    border: 1px solid #d7e3f5;
    background: #fff;
    color: #374151;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: all 0.2s ease;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #e5edf8;
    background: #eef2f8;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.gallery-item-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

/* NAV ACTIVE FIX — ensure only real .active gets highlight */
.navbar .nav-content a.active {
    color: #0d6efd;
    font-weight: 600;
}

/* LEGAL (privacy policy) */

.container-narrow {
    max-width: 820px;
}

.legal-updated {
    font-size: 0.95rem;
    color: #5c6f82;
    margin-bottom: 32px;
}

.legal-block {
    margin-bottom: 32px;
}

.legal-block h2 {
    font-size: 1.35rem;
    color: #0a2540;
    margin-bottom: 12px;
    font-weight: 700;
}

.legal-block p {
    line-height: 1.75;
    color: #334155;
    margin-bottom: 12px;
}

.legal-list {
    margin: 12px 0 0 1.25rem;
    padding: 0;
    line-height: 1.75;
    color: #334155;
}

.legal-list li {
    margin-bottom: 8px;
}

.legal-contact-list li {
    list-style: none;
    margin-left: 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.legal-contact-list i {
    color: #0d6e9e;
    margin-top: 4px;
}

.legal-block a {
    color: #0d6e9e;
    font-weight: 500;
}

.legal-footer-note {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5edf8;
    font-size: 0.9rem;
    color: #5c6f82;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .doctors-page-intro {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 72px 0 64px;
    }
}
