/* ===== PAGE BANNER (reuse from gallery) ===== */
.page-banner {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--primary-dark) 100%);
    padding: 140px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    animation: heroGlow 8s infinite ease-in-out alternate;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    animation: heroGlow 10s infinite ease-in-out alternate-reverse;
}

.page-banner h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.page-banner p {
    font-size: 17px;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-custom li a:hover {
    color: var(--accent-light);
}

.breadcrumb-custom li.active {
    color: var(--accent-light);
    font-size: 14px;
    font-weight: 600;
}

.breadcrumb-custom li.active::before {
    content: '›';
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    margin-right: 0;
}


/* ===== THEATRE CARDS ===== */
.theatre-main {
    padding: 80px 0 60px;
}

.th-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.th-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.th-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.th-card:hover::before {
    opacity: 1;
}

.th-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.th-card:hover .th-card-icon {
    transform: scale(1.1);
}

.th-card-icon.major {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
    color: #6366f1;
}

.th-card-icon.minor {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--primary);
}

.th-card-icon.emergency {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.12));
    color: #ef4444;
}

.th-card h5 {
    font-weight: 700;
    font-size: 18px;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.th-card h5::after {
    display: none;
}

.th-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.th-card-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.th-card-meta span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.03);
}

.th-card-meta span i {
    font-size: 10px;
    color: var(--primary);
}

/* ===== SPECIALTIES STRIP ===== */
.specialties-strip {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-top: 40px;
    box-shadow: var(--shadow-soft);
}

.strip-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(6, 182, 212, 0.04));
    color: var(--primary);
    border: 1px solid rgba(13, 148, 136, 0.1);
    transition: all 0.3s ease;
}

.spec-tag:hover {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(6, 182, 212, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

/* ===== ENDOSCOPY DARK SECTION ===== */
.endo-dark-section {
    padding: 80px 0;
}

/* ===== MACHINE CARD (Olympus X1) ===== */
.machine-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.machine-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    transform: translateY(-6px);
}

.machine-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.machine-header {
    padding: 32px 32px 0;
}

.machine-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.brand-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-model {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.machine-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.machine-body {
    padding: 28px 28px 32px;
}

.machine-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 12px;
    border-radius: 14px;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.machine-feature:last-child {
    border-bottom: none;
}

.machine-feature:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mf-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--accent-light);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.machine-feature:hover .mf-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.25), rgba(6, 182, 212, 0.2));
}

.machine-feature h6 {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin: 0 0 4px;
}

.machine-feature p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* ===== ENDO INFO CARDS (Dark) ===== */
.endo-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
}

.endo-info-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.endo-info-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.endo-info-header i {
    font-size: 18px;
    color: var(--accent-light);
}

.endo-info-header h5 {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    margin: 0;
}

.endo-info-header h5::after {
    display: none;
}

.endo-info-body {
    padding: 16px 20px;
}

/* Procedure Items */
.proc-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 10px;
    border-radius: 12px;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.proc-item:last-child {
    border-bottom: none;
}

.proc-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.proc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.proc-dot.upper {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

.proc-dot.lower {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.proc-dot.ercp {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.proc-dot.bronch {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.proc-dot.cysto {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.proc-item h6 {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin: 0 0 3px;
}

.proc-item p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* Schedule Rows */
.sch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sch-row:last-of-type {
    border-bottom: none;
}

.sch-day {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.sch-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-light);
}

.sch-time.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Endo Contact Row */
.endo-contact-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.endo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.endo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.4);
    color: #fff;
}

.endo-btn.outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}

.endo-btn.outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.endo-btn i {
    font-size: 12px;
}

/* ===== PRE-PROCEDURE CARDS ===== */
.prep-section {
    padding: 80px 0;
}

.prep-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
}

.prep-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.prep-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: transform 0.3s ease;
}

.prep-card:hover .prep-icon {
    transform: scale(1.15);
}

.prep-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.prep-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.prep-icon.amber {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.prep-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.prep-icon.rose {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.prep-card h6 {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.prep-card p {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .theatre-main {
        padding: 60px 0 50px;
    }

    .th-card {
        padding: 28px 22px;
    }

    .specialties-strip {
        padding: 22px 20px;
    }

    .machine-header {
        padding: 28px 24px 0;
    }

    .brand-model {
        font-size: 26px;
    }

    .machine-body {
        padding: 22px 20px 28px;
    }

    .machine-feature {
        padding: 14px 8px;
        gap: 12px;
    }

    .endo-contact-row {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .th-card {
        padding: 24px 18px;
    }

    .th-card-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 16px;
    }

    .th-card h5 {
        font-size: 16px;
    }

    .th-card p {
        font-size: 13px;
    }

    .specialties-strip {
        padding: 20px 16px;
        margin-top: 30px;
    }

    .spec-tag {
        padding: 5px 12px;
        font-size: 12px;
    }

    .machine-header {
        padding: 24px 20px 0;
    }

    .brand-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .brand-model {
        font-size: 24px;
    }

    .machine-tagline {
        font-size: 13px;
    }

    .machine-body {
        padding: 20px 16px 24px;
    }

    .mf-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 10px;
    }

    .machine-feature {
        padding: 12px 6px;
        gap: 12px;
    }

    .machine-feature h6 {
        font-size: 13px;
    }

    .machine-feature p {
        font-size: 12px;
    }

    .endo-info-header {
        padding: 16px 18px;
    }

    .endo-info-header h5 {
        font-size: 15px;
    }

    .endo-info-body {
        padding: 12px 14px;
    }

    .proc-item {
        padding: 12px 8px;
        gap: 10px;
    }

    .proc-item h6 {
        font-size: 13px;
    }

    .proc-item p {
        font-size: 11px;
    }

    .sch-row {
        padding: 12px 8px;
    }

    .sch-day {
        font-size: 13px;
    }

    .sch-time {
        font-size: 13px;
    }

    .endo-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .prep-card {
        padding: 22px 12px;
    }

    .prep-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .prep-card h6 {
        font-size: 12px;
    }

    .prep-card p {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .th-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .th-card-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 14px;
    }

    .th-card h5 {
        font-size: 15px;
    }

    .th-card-meta span {
        font-size: 11px;
        padding: 4px 10px;
    }

    .specialties-strip {
        border-radius: 18px;
    }

    .strip-title {
        font-size: 11px;
    }

    .spec-tag {
        padding: 4px 10px;
        font-size: 11px;
    }

    .machine-card {
        border-radius: 18px;
    }

    .machine-badge {
        top: 14px;
        right: 14px;
        font-size: 9px;
        padding: 3px 10px;
    }

    .machine-header {
        padding: 22px 18px 0;
    }

    .brand-label {
        font-size: 11px;
    }

    .brand-model {
        font-size: 22px;
    }

    .machine-tagline {
        font-size: 12px;
    }

    .machine-body {
        padding: 18px 14px 22px;
    }

    .mf-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 8px;
    }

    .machine-feature h6 {
        font-size: 12px;
    }

    .machine-feature p {
        font-size: 11px;
    }

    .endo-info-card {
        border-radius: 18px;
    }

    .proc-dot {
        width: 8px;
        height: 8px;
        margin-top: 5px;
    }

    .prep-card {
        border-radius: 14px;
        padding: 18px 10px;
    }

    .prep-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .prep-card h6 {
        font-size: 11px;
    }

    .prep-card p {
        font-size: 10px;
    }
}



.about-section {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy), var(--primary-dark));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 40px;
}

.about-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(13, 148, 136, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.about-feature h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}



.page-banner h1 {
    font-size: 2rem !important;
}