/* ==========================================================
   Custom Oncology & Medical Styling Enhancements
   Dr. Chinmayee Agrawal Oncology CMS
   ========================================================== */

:root {
    --onco-primary: #127278;
    --onco-primary-dark: #0c5054;
    --onco-secondary: #0f172a;
    --onco-accent: #e07a5f;
    --onco-light: #f8fafc;
    --onco-border: #e2e8f0;
}

/* Header & Logo */
.site-logo {
    display: flex;
    align-items: center;
    color: #1e293b;
}

.site-logo img {
    border-radius: 6px;
}

.menu-list>li.active>a {
    color: var(--onco-primary) !important;
    font-weight: 600;
}

.menu-list>li>ul {
    min-width: 270px;
    max-height: 75vh;
    overflow-y: auto;
}

.menu-list>li>ul::-webkit-scrollbar {
    width: 5px;
}

.menu-list>li>ul::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Doctor Hero Image */
.hero-img {
    position: relative;
    text-align: center;
}

.hero-img .doctor-portrait-hero {
    max-height: 580px;
    width: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(18, 114, 120, 0.25);
    background: #ffffff;
}

.hero-sub-heading span {
    background: rgba(18, 114, 120, 0.1);
    color: #0c5054;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-block;
}

/* Timeline & Credentials Tabs */
.timeline-tabs {
    margin-bottom: 35px;
}

.timeline-tabs .tab-btn {
    border: none;
    background: #f1f5f9;
    color: #475569;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    margin: 4px 6px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.timeline-tabs .tab-btn.active,
.timeline-tabs .tab-btn:hover {
    background: var(--onco-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 114, 120, 0.3);
}

.timeline-item .timeline-period {
    display: inline-block;
    background: #e6f4f5;
    color: #0c5054;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* Service Cards */
.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #edf2f7;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(18, 114, 120, 0.15);
    border-color: #cbd5e1;
}

.service-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-card p {
    flex-grow: 1;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Academic Tables & Badges */
.table-credential th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid #e2e8f0;
}

.badge-specialty {
    background: #e2f1f2;
    color: #0c5054;
    font-weight: 500;
    border: 1px solid #c2e2e4;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin: 3px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.badge-specialty:hover {
    background: var(--onco-primary);
    color: #ffffff;
    border-color: var(--onco-primary);
}

/* Flash Messages */
.flash-messages-wrap .alert {
    border-radius: 10px;
    font-weight: 500;
}

/* Blog Thumbnail */
.blog-card .blog-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Hospital Badges */
.hospital-badge-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.hospital-badge-card:hover {
    box-shadow: 0 10px 25px rgba(18, 114, 120, 0.1);
    border-color: #b8dedf;
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--onco-primary);
    border-color: var(--onco-primary);
}

.pagination .page-link {
    color: var(--onco-primary);
}

/* ==========================================================
   Types of Cancer We Treat - Dynamic Showcase
   ========================================================== */
.cancer-types-section {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 50%, #f8fafc 100%);
}

.cancer-type-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 114, 120, 0.14);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cancer-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 38px -10px rgba(18, 114, 120, 0.22);
    border-color: rgba(18, 114, 120, 0.38);
}

.cancer-type-img-wrap,
.service-card-img {
    position: relative;
    aspect-ratio: 1200 / 896;
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

.cancer-type-img-wrap img,
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cancer-type-card:hover .cancer-type-img-wrap img,
.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.cancer-type-floating-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(18, 114, 120, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cancer-type-icon-pill {
    position: absolute;
    bottom: 22px;
    right: 20px;
    z-index: 3;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: var(--onco-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(18, 114, 120, 0.2);
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.cancer-type-card:hover .cancer-type-icon-pill {
    background: var(--onco-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(6deg);
}

.cancer-type-body {
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cancer-type-body .cancer-type-subtitle {
    color: var(--onco-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.cancer-type-body .cancer-type-title {
    font-size: 1.35rem;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 12px;
}

.cancer-type-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.cancer-treatment-tag {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    display: inline-block;
    transition: background 0.2s ease;
}

.cancer-type-card:hover .cancer-treatment-tag {
    background: #e6f4f5;
    color: #0c5054;
    border-color: #c2e2e4;
}

.cancer-modal-header {
    background: linear-gradient(135deg, #0c5054 0%, #127278 100%);
    color: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* ==========================================================
   Page Header Styling (Modern Oncology Gradient & Depth)
   Fixes washed-out white theme with a deep, prestigious medical banner
   ========================================================== */
.page-header {
    position: relative;
    padding: 72px 0 68px;
    background:
        radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(14, 116, 144, 0.28) 0%, transparent 50%),
        linear-gradient(135deg, #071927 0%, #0c333d 50%, #0e4c58 100%);
    color: #ffffff !important;
    overflow: hidden;
    border-bottom: 3px solid rgba(20, 184, 166, 0.35) !important;
    box-shadow: inset 0 -12px 28px -12px rgba(0, 0, 0, 0.6);
}

/* Subtle decorative ambient micro-mesh overlay */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

/* Ambient glowing accent line at the bottom */
.page-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2dd4bf, transparent);
    z-index: 2;
    opacity: 0.9;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-header-inner {
    position: relative;
    padding: 0 !important;
    text-align: center;
}

/* Glassmorphism Badge / Pill */
.page-header .badge,
.page-header .page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #5eead4 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 7px 18px !important;
    border-radius: 999px !important;
    margin-bottom: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s ease;
}

.page-header .badge i,
.page-header .page-header-badge i {
    color: #2dd4bf !important;
}

/* Page Header Title */
.page-header h1,
.page-header .display-5,
.page-header .display-6,
.page-header .h2,
.page-header .page-header-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.page-header h1.display-5,
.page-header .display-5 {
    font-size: clamp(2rem, 3.8vw, 2.75rem) !important;
}

.page-header h1.display-6,
.page-header .display-6 {
    font-size: clamp(1.85rem, 3.2vw, 2.4rem) !important;
}

.page-header h1.h2,
.page-header .h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
}

/* Page Header Subtitle */
.page-header p,
.page-header .lead,
.page-header .page-header-subtitle {
    color: #d1e5e8 !important;
    font-size: 1.05rem !important;
    line-height: 1.65;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.page-header p.small {
    font-size: 0.95rem !important;
}

/* Breadcrumbs with Frosted Glass Capsule */
.page-header .thm-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 20px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    margin-bottom: 0;
    list-style: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.page-header .thm-breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
    color: #94a3b8 !important;
    margin: 0;
    padding: 0;
}

.page-header .thm-breadcrumb li a {
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.page-header .thm-breadcrumb li a:hover {
    color: #5eead4 !important;
    text-decoration: none;
}

.page-header .thm-breadcrumb li.active,
.page-header .thm-breadcrumb li.text-primary,
.page-header .thm-breadcrumb li:last-child {
    color: #5eead4 !important;
    font-weight: 600;
}

.page-header .thm-breadcrumb .breadcrumb-separator,
.page-header .thm-breadcrumb li.text-muted:not(:last-child):not(:first-child) {
    color: rgba(255, 255, 255, 0.35) !important;
    margin: 0 6px;
    font-size: 0.75rem;
}

/* Blog Details Meta */
.page-header .blog-meta {
    color: #c7d9db !important;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    font-size: 0.88rem;
    background: rgba(0, 0, 0, 0.22);
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

.page-header .blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e2e8f0 !important;
}

.page-header .blog-meta i {
    color: #2dd4bf !important;
}

@media (max-width: 767px) {
    .page-header {
        padding: 50px 0 44px;
    }

    .page-header .thm-breadcrumb {
        padding: 5px 14px;
        font-size: 0.78rem;
    }
}

/* ==========================================================
   Hero 3D Cancer Care Slider Enhancements
   ========================================================== */
.hero-slider {
    border-radius: 20px;
    box-shadow: 0 20px 45px -10px rgba(18, 114, 120, 0.28) !important;
}

.hero-slider .hero-slide img {
    height: 480px;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 5s ease;
}

.hero-slider .hero-slide:hover img {
    transform: scale(1.03);
}

.hero-slider .hero-slide-caption {
    background: linear-gradient(to top, rgba(7, 25, 39, 0.92) 0%, rgba(12, 51, 61, 0.72) 65%, transparent 100%) !important;
    padding: 26px !important;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.hero-slider .hero-slide-caption .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #5eead4 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-slider .hero-slide-caption h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slider .slick-prev,
.hero-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(120, 215, 223, 0.88);
    border: none;
    color: var(--onco-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-slider .slick-prev {
    left: 14px;
}

.hero-slider .slick-next {
    right: 14px;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
    background: var(--onco-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.hero-slider .slick-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 6px;
    z-index: 8;
}

.hero-slider .slick-dots li button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    transition: all 0.3s ease;
}

.hero-slider .slick-dots li.slick-active button {
    width: 24px;
    border-radius: 8px;
    background: #2dd4bf;
}