/**
 * Bathinda Cancer Care - Premium Stylesheet
 * Color Palette:
 * Deep Maroon: #7A1605
 * Bright Orange: #FF6B2C
 * Soft Peach: #F2C9A3
 * Deep Teal: #367372
 * Soft Aqua: #A9DDE3
 * White: #FFFFFF
 * Dark Text: #1F2933
 * Warm Cream: #FDF8F4
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    --deep-maroon: #7A1605;
    --bright-orange: #FF6B2C;
    --soft-peach: #F2C9A3;
    --deep-teal: #367372;
    --soft-aqua: #A9DDE3;
    --white: #FFFFFF;
    --dark-text: #1F2933;
    --warm-cream: #FDF8F4;
    --light-text: #F2F2F2;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(122,22,5,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==================== AOS VISIBILITY FALLBACK ==================== */
/* Ensure AOS elements never stay permanently invisible */
@keyframes aos-show-fallback {
    to { opacity: 1; transform: none; }
}
[data-aos] {
    animation: aos-show-fallback 0s 1.2s forwards;
}
[data-aos].aos-animate {
    animation: none;
}

/* ==================== CSS ENTRANCE ANIMATIONS (no JS needed) ==================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.service-card-col {
    animation: fadeUp 0.6s ease-out both;
}

.cancer-card-col {
    animation: fadeUp 0.55s ease-out both;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background: var(--warm-cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--deep-maroon);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--deep-maroon);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1100;
}

.top-bar .top-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.top-bar .top-link:hover {
    color: var(--soft-peach);
}

.top-bar .top-link i {
    font-size: 12px;
    color: var(--bright-orange);
}

.btn-emergency {
    background: var(--bright-orange);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-emergency:hover {
    background: #e55a1f;
    color: var(--white);
    transform: translateY(-1px);
}

/* ==================== MAIN HEADER ==================== */
.main-header {
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(122, 22, 5, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.main-header .navbar {
    padding: 0;
    height: 70px;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-maroon);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    color: var(--deep-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.navbar-nav {
    gap: 4px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--bright-orange);
    background: rgba(255, 107, 44, 0.06);
}

.dropdown-toggle::after {
    font-size: 10px;
    margin-left: 6px;
}

/* Mega Menu */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px 0;
    margin-top: 0 !important;
    background: var(--white);
}

.mega-title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bright-orange);
    margin-bottom: 16px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.mega-link:hover {
    background: rgba(122, 22, 5, 0.04);
    color: var(--deep-maroon);
}

.mega-link i {
    color: var(--deep-teal);
    font-size: 16px;
}

.mega-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 240px;
}

.mega-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mega-preview:hover img {
    transform: scale(1.05);
}

.mega-preview-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
}

.mega-preview-text h6 {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.mega-preview-text p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
}

.btn-view-all {
    background: var(--deep-maroon);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
}

.btn-view-all:hover {
    background: var(--bright-orange);
    color: var(--white);
}

/* Header CTAs */
.header-cta .btn {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.btn-outline-primary {
    border: 1.5px solid var(--deep-maroon);
    color: var(--deep-maroon);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--deep-maroon);
    color: var(--white);
    border-color: var(--deep-maroon);
}

.btn-primary {
    background: var(--deep-maroon);
    border: 1.5px solid var(--deep-maroon);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--bright-orange);
    border-color: var(--bright-orange);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #2a0a05 0%, #7A1605 50%, #9a2008 100%);
}

.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-canvas canvas {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(42, 10, 5, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px 12vh;
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 130px);
    font-weight: 700;
    color: var(--white);
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 30px rgba(0,0,0,0.15);
    margin-bottom: 24px;
}

.hero-title .char {
    display: inline-block;
    will-change: transform, opacity;
    transform-origin: center bottom;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    max-width: 480px;
    margin-bottom: 16px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta .btn-book {
    background: var(--deep-maroon);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--deep-maroon);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta .btn-book:hover {
    background: var(--bright-orange);
    border-color: var(--bright-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,44,0.3);
}

.hero-cta .btn-call {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta .btn-call:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* Hero Right Side - Floating Elements */
.hero-floating {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadge 6s ease-in-out infinite;
    min-width: 220px;
}

.hero-badge:nth-child(2) { animation-delay: -1.5s; }
.hero-badge:nth-child(3) { animation-delay: -3s; }
.hero-badge:nth-child(4) { animation-delay: -4.5s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge-icon {
    width: 44px;
    height: 44px;
    background: var(--bright-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.hero-badge-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.hero-badge-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.75;
    margin-top: 2px;
}

/* Hero Curved Bottom */
.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-curve svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
    background: var(--deep-maroon);
    padding: 40px 0;
    position: relative;
    z-index: 5;
}

.stat-item {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--soft-peach);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ==================== SECTION LABELS ==================== */
.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--bright-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    color: var(--deep-maroon);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--deep-teal);
    font-weight: 500;
    margin-bottom: 24px;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(to top, rgba(122,22,5,0.8), transparent);
    color: var(--white);
}

.about-image-overlay h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 4px;
}

.about-image-overlay p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(31,41,51,0.8);
    margin-bottom: 16px;
}

.btn-outline-maroon {
    border: 1.5px solid var(--deep-maroon);
    color: var(--deep-maroon);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-maroon:hover {
    background: var(--deep-maroon);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: 120px 0;
    background: var(--warm-cream);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: rgba(255,107,44,0.06);
    transition: height 0.4s ease;
    z-index: 0;
}

.service-card:hover .card-overlay {
    height: 100%;
}

.service-card .card-content {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--soft-aqua);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--deep-teal);
    font-size: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--deep-teal);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h4 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: rgba(31,41,51,0.7);
    line-height: 1.7;
}

/* ==================== CANCER TYPES ==================== */
.cancer-types-section {
    padding: 120px 0;
    background: var(--white);
}

.cancer-type-card {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: linear-gradient(135deg, var(--soft-peach) 0%, #f5e0cc 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cancer-type-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(122,22,5,0.55) 100%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.cancer-type-card:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(122,22,5,0.28);
}

.cancer-type-card:hover::before {
    opacity: 0;
}

/* Default state — icon + title shown over image */
.cancer-card-default {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: opacity 0.35s ease;
}

.cancer-type-card:hover .cancer-card-default {
    opacity: 0;
}

.cancer-card-default .cancer-icon {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.cancer-card-default h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    line-height: 1.3;
}

/* Hover overlay */
.cancer-type-card .cancer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(122,22,5,0.90) 0%, rgba(255,107,44,0.88) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.cancer-type-card:hover .cancer-overlay {
    opacity: 1;
}

.cancer-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.cancer-type-card:hover .cancer-overlay-inner {
    transform: translateY(0);
}

.cancer-overlay-inner i {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
    opacity: 0.9;
}

.cancer-overlay-inner h4 {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.cancer-overlay-inner p {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
}

.cancer-type-card .cancer-overlay .btn-learn {
    padding: 7px 18px;
    background: var(--white);
    color: var(--deep-maroon);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease;
}

.cancer-type-card:hover .cancer-overlay .btn-learn:hover {
    background: var(--soft-peach);
    color: var(--deep-maroon);
}

/* ==================== MID-PAGE CTA SECTION ==================== */
.mid-cta-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0503 0%, #3d0e08 50%, #7A1605 100%);
}

.mid-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url('../images/grid-texture.jpg');
    background-size: cover;
    background-position: center;
}

.mid-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.mid-cta-content h2 {
    color: var(--white);
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.mid-cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    line-height: 1.7;
}

/* ==================== WHY CHOOSE US ==================== */
.why-section {
    padding: 120px 0;
    background: var(--warm-cream);
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--soft-aqua);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-teal);
    font-size: 24px;
    flex-shrink: 0;
}

.why-card h4 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: rgba(31,41,51,0.7);
    line-height: 1.7;
    margin: 0;
}

/* ==================== PATIENT OUTCOMES SLIDER ==================== */
.outcomes-section {
    padding: 120px 0;
    background: var(--white);
}

.ba-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    z-index: 1;
    width: 50%;
    overflow: hidden;
}

.ba-before img {
    width: 200%;
    max-width: none;
}

.ba-after {
    z-index: 0;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--white);
    z-index: 2;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    gap: 4px;
}

.ba-handle-circle i {
    color: var(--deep-maroon);
    font-size: 14px;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 3;
}

.ba-label-before {
    left: 20px;
}

.ba-label-after {
    right: 20px;
}

/* Trust Stats */
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.trust-stat-item {
    text-align: center;
}

.trust-stat-item h3 {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--deep-maroon);
    font-weight: 700;
    line-height: 1;
}

.trust-stat-item p {
    font-size: 14px;
    color: var(--dark-text);
    margin-top: 8px;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--warm-cream);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 72px;
    color: var(--soft-peach);
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    color: rgba(31,41,51,0.85);
    margin-bottom: 24px;
}

.testimonial-author h5 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--deep-maroon);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 13px;
    color: rgba(31,41,51,0.6);
    margin: 0;
}

.testimonial-rating {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ==================== BLOG SECTION ==================== */
.blog-section {
    padding: 120px 0;
    background: var(--white);
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 28px;
}

.blog-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--bright-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.blog-content h4 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 14px;
    color: rgba(31,41,51,0.7);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-readmore {
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-maroon);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-readmore:hover {
    color: var(--bright-orange);
    gap: 10px;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 120px 0;
    background: var(--warm-cream);
}

.accordion-item {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    padding: 24px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    background: var(--white);
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--deep-maroon);
}

.accordion-button::after {
    background-image: none;
    content: '\f4fe';
    font-family: 'bootstrap-icons';
    font-size: 24px;
    color: var(--deep-teal);
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
    transform: rotate(45deg);
    color: var(--bright-orange);
}

.accordion-body {
    padding: 0 32px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(31,41,51,0.8);
}

/* ==================== CONTACT/APPOINTMENT SECTION ==================== */
.contact-section {
    background: var(--deep-maroon);
    padding: 120px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--warm-cream);
    border-radius: 0 0 50% 50%;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section p {
    color: rgba(255,255,255,0.85);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.contact-info-list li i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-peach);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-list li a {
    color: rgba(255,255,255,0.9);
}

.contact-info-list li a:hover {
    color: var(--soft-peach);
}

/* Appointment Form */
.appointment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.appointment-card h3 {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 28px;
}

.form-control {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--deep-maroon);
    box-shadow: 0 0 0 3px rgba(122,22,5,0.08);
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.btn-submit {
    background: var(--bright-orange);
    color: var(--white);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    border: none;
    width: 100%;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--deep-maroon);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122,22,5,0.2);
}

/* ==================== FOOTER ==================== */
.main-footer {
    position: relative;
    background: var(--deep-maroon);
    color: var(--white);
}

.footer-waves {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
}

.footer-waves svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    padding: 80px 0 40px;
}

.footer-brand .logo-main {
    color: var(--white);
}

.footer-brand .logo-sub {
    color: var(--soft-aqua);
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin: 20px 0;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--bright-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--soft-peach);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--bright-orange);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--soft-peach);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,0.75);
}

.footer-contact a:hover {
    color: var(--bright-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 48px;
    padding-top: 24px;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ==================== FLOATING CTA ==================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: floatPulse 2s ease-in-out infinite;
}

.float-call {
    background: var(--deep-maroon);
}

.float-whatsapp {
    background: #25D366;
}

.float-appointment {
    background: var(--bright-orange);
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--deep-maroon);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bright-orange);
    transform: translateY(-4px);
}

/* ==================== PAGE BANNER ==================== */
.page-banner {
    background: linear-gradient(135deg, #2a0a05 0%, #7A1605 50%, #9a2008 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/grid-texture.jpg') center/cover;
    opacity: 0.08;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 12px;
}

.page-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.breadcrumb {
    background: rgba(255,255,255,0.1);
    padding: 10px 24px;
    border-radius: 30px;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item a:hover {
    color: var(--soft-peach);
}

.breadcrumb-item.active {
    color: var(--soft-peach);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ==================== CONTENT PAGES ==================== */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 24px;
    margin: 32px 0 16px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(31,41,51,0.8);
    margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(31,41,51,0.8);
    margin-bottom: 8px;
}

.content-section img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

/* ==================== DOCTOR PAGE ==================== */
.doctor-hero {
    background: linear-gradient(135deg, #2a0a05 0%, #7A1605 50%, #9a2008 100%);
    padding: 140px 0 80px;
    position: relative;
}

.doctor-profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.doctor-profile-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.qualification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--soft-aqua);
    color: var(--deep-teal);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin: 4px;
}

/* ==================== REELS SECTION ==================== */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.reel-card {
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reel-card:hover img {
    transform: scale(1.05);
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reel-card:hover .reel-overlay {
    opacity: 1;
}

.reel-play-btn {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-maroon);
    font-size: 24px;
    transition: var(--transition);
}

.reel-play-btn:hover {
    transform: scale(1.1);
    background: var(--white);
}

.reel-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* ==================== MEDIA GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h5 {
    color: var(--white);
    font-size: 16px;
    margin: 0;
}

/* ==================== ADMIN LOGIN ==================== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a0a05 0%, #7A1605 100%);
}

.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
}

.admin-login-card .logo-main {
    font-size: 28px;
    text-align: center;
    display: block;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 0 24px 8vh;
    }
    
    .hero-title {
        font-size: clamp(42px, 10vw, 80px);
    }
    
    .hero-floating {
        display: none;
    }
    
    .trust-stats {
        gap: 30px;
    }
    
    .mega-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .header-cta {
        display: none !important;
    }
    
    .section-title {
        font-size: clamp(28px, 6vw, 40px);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 0 20px 6vh;
        text-align: center;
    }
    
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 16px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-section,
    .services-section,
    .cancer-types-section,
    .why-section,
    .outcomes-section,
    .testimonials-section,
    .blog-section,
    .faq-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .appointment-card {
        padding: 32px 24px;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255,107,44,0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255,107,44,0.4);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ==================== ALERTS ==================== */
.alert {
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* ==================== UTILITIES ==================== */
.bg-warm-cream { background: var(--warm-cream); }
.bg-white { background: var(--white); }
.bg-maroon { background: var(--deep-maroon); }
.text-maroon { color: var(--deep-maroon); }
.text-orange { color: var(--bright-orange); }
.text-teal { color: var(--deep-teal); }

.py-120 { padding-top: 120px; padding-bottom: 120px; }

@media (max-width: 767.98px) {
    .py-120 { padding-top: 80px; padding-bottom: 80px; }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--warm-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--deep-maroon);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-orange);
}

/* ==================== CANCER DETAIL PAGES ==================== */
.cancer-detail-content h2 {
    color: var(--deep-maroon);
    font-size: 1.6rem;
    font-weight: 700;
    border-left: 4px solid var(--bright-orange);
    padding-left: 16px;
}
.cancer-detail-content h3 {
    color: var(--deep-teal);
    font-size: 1.2rem;
    font-weight: 600;
}
.cancer-detail-content ul li,
.cancer-detail-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.cancer-detail-content .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    border-left: 3px solid var(--bright-orange);
    padding-left: 16px;
    background: var(--warm-cream);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}
.cancer-detail-content .accordion-button:not(.collapsed) {
    background: var(--deep-maroon);
    color: #fff;
}
.cancer-detail-content .accordion-button:focus {
    box-shadow: none;
    outline: none;
}

/* ==================== RELATED CANCER TYPES SECTION ==================== */
.related-cancers-section {
    padding: 80px 0;
    background: var(--warm-cream);
}

.related-cancer-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}
.related-cancer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(122,22,5,0.18);
}

.related-cancer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-cancer-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
    position: relative;
    overflow: hidden;
}
.related-cancer-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(122,22,5,0.6) 100%);
    transition: opacity 0.3s ease;
}
.related-cancer-card:hover .related-cancer-img::after {
    opacity: 0.8;
}
.related-cancer-img--placeholder {
    background: linear-gradient(135deg, #7A1605, #c0391b);
}

.related-cancer-body {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.related-cancer-body h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-maroon);
}
.related-cancer-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bright-orange);
    white-space: nowrap;
    transition: gap 0.2s;
}
.related-cancer-card:hover .related-cancer-link i {
    transform: translateX(4px);
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-outline-maroon {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--deep-maroon);
    color: var(--deep-maroon);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline-maroon:hover {
    background: var(--deep-maroon);
    color: #fff;
}
