/* ==========================================================================
   ONCOCARE CMS
   Advanced Responsive Medical / Oncology Website Stylesheet
   Version: 2.1 (optimized — duplicates merged, premium UI consolidated)
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-dark: #020617;

    --accent: #0d9488;
    --accent-hover: #0f766e;
    --accent-dark: #115e59;
    --accent-light: #ccfbf1;
    --accent-soft: #f0fdfa;

    /* Secondary */
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --purple: #7c3aed;
    --purple-light: #f5f3ff;
    --green: #16a34a;
    --green-light: #f0fdf4;
    --red: #dc2626;
    --red-light: #fef2f2;
    --amber: #d97706;
    --amber-light: #fffbeb;

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-alt: #f1f5f9;
    --bg-soft: #f8fafc;
    --bg-dark: #0f172a;

    /* Typography */
    --text-main: #334155;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Borders */
    --border: #e2e8f0;
    --border-light: #eef2f7;
    --border-dark: #cbd5e1;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-sm:
        0 2px 6px rgba(15, 23, 42, .05),
        0 1px 2px rgba(15, 23, 42, .04);

    --shadow-md:
        0 8px 20px rgba(15, 23, 42, .07),
        0 2px 6px rgba(15, 23, 42, .04);

    --shadow-lg:
        0 18px 45px rgba(15, 23, 42, .10),
        0 5px 15px rgba(15, 23, 42, .05);

    --shadow-xl:
        0 30px 70px rgba(15, 23, 42, .14),
        0 10px 25px rgba(15, 23, 42, .07);

    --shadow-accent:
        0 15px 35px rgba(13, 148, 136, .20);

    /* Layout */
    --container: 1240px;
    --container-wide: 1440px;
    --header-height: 78px;

    /* Motion */
    --transition-fast: 160ms ease;
    --transition: 260ms ease;
    --transition-slow: 420ms ease;

    /* Z-index */
    --z-dropdown: 1100;
    --z-header: 1200;
    --z-overlay: 1300;
    --z-modal: 1400;
    --z-toast: 1500;
}


/* ==========================================================================
   02. RESET / BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--bg-body);
    color: var(--text-main);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    margin: 0 0 1rem;
}

p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    color: var(--text-heading);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.15rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
}

h4 {
    font-size: 1.15rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: .95rem;
}

strong {
    font-weight: 700;
}

small {
    font-size: .875rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        opacity var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

::selection {
    background: var(--accent);
    color: #fff;
}


/* ==========================================================================
   04. ACCESSIBILITY
   ========================================================================== */

:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid rgba(13, 148, 136, .35);
    outline-offset: 3px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ==========================================================================
   05. GLOBAL LAYOUT
   ========================================================================== */

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.container-wide {
    width: min(100% - 32px, var(--container-wide));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-alt {
    background: var(--bg-surface);
}

.section-soft {
    background:
        radial-gradient(
            circle at top right,
            rgba(13, 148, 136, .07),
            transparent 35%
        ),
        var(--bg-surface);
}

.section-dark {
    background: var(--primary);
    color: rgba(255,255,255,.82);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}


/* ==========================================================================
   06. SECTION HEADER
   ========================================================================== */

.section-header {
    max-width: 850px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-header h2 {
    margin-bottom: .9rem;
}

.section-header p,
.section-subtitle {
    max-width: 720px;
    margin-inline: auto;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
    border-radius: var(--radius-pill);
}


/* ==========================================================================
   07. TOPBAR
   ========================================================================== */

.topbar {
    position: relative;
    background:
        linear-gradient(
            100deg,
            var(--primary-dark),
            var(--primary-light)
        );
    color: rgba(255,255,255,.82);
    font-size: .84rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 32px;
}

.topbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar-links a {
    color: rgba(255,255,255,.75);
}

.topbar-links a:hover {
    color: #fff;
}

.topbar-contact {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}


/* ==========================================================================
   08. HEADER
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(226,232,240,.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header .container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.logo:hover {
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.logo img {
    width: auto;
    max-height: 48px;
    object-fit: contain;
}

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
}

.nav-desktop a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-size: .91rem;
    font-weight: 650;
}

.nav-desktop a::after {
    content: "";
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-pill);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--primary);
    font-size: 1.35rem;
    align-items: center;
    justify-content: center;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}


/* ==========================================================================
   09. BUTTONS
   ========================================================================== */

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .72rem 1.3rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--accent),
        var(--accent-hover)
    );
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 18px rgba(13,148,136,.18);
}

.btn-primary:hover {
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--accent-hover),
        var(--accent-dark)
    );
    border-color: var(--accent-hover);
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--border-dark);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background: var(--bg-surface);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.55);
    color: #fff;
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

.btn-lg {
    min-height: 54px;
    padding: .9rem 1.7rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.btn-sm {
    min-height: 38px;
    padding: .55rem .9rem;
    font-size: .82rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 44px;
    min-width: 44px;
    padding: 0;
}


/* ==========================================================================
   10. HERO
   ========================================================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(5rem, 9vw, 8rem) 0;
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(13,148,136,.25),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--primary-dark) 0%,
            #172554 52%,
            #0f3d42 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .35;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );
    background-size: 45px 45px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: -220px;
    z-index: -1;
    background: rgba(13,148,136,.14);
    border-radius: 50%;
    filter: blur(20px);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.5rem);
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 1.4rem;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.3rem);
    line-height: 1.08;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero p {
    max-width: 700px;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    box-shadow: 0 10px 25px -5px rgba(0,0,0,.2);
}

.hero-icon-badge {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.hero-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.5);
    backdrop-filter: blur(14px);
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0,0,0,.22)
    );
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}


/* Centered hero variant (pages without a hero image) */
.hero.hero-centered .container {
    display: block !important;
    grid-template-columns: none !important;
    text-align: center;
    max-width: 820px;
}

.hero-centered-content {
    max-width: 100%;
    margin: 0 auto;
}

.hero.hero-centered h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero.hero-centered p {
    color: rgba(255,255,255,.85);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 700px;
}

.hero.hero-centered .hero-badge {
    margin-bottom: 1.5rem;
}


/* ==========================================================================
   11. HERO SLIDER
   ========================================================================== */

.hero-slider {
    position: relative;
    height: min(82vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: var(--primary);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-color: var(--primary);
    background-position: center;
    background-size: cover;
    transition:
        opacity 800ms ease,
        visibility 800ms ease;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2,6,23,.88) 0%,
            rgba(2,6,23,.62) 48%,
            rgba(2,6,23,.18) 100%
        );
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.25rem;
    padding: .5rem .9rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-pill);
    background: rgba(13,148,136,.82);
    color: #fff;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    line-height: 1.08;
}

.hero-content p {
    max-width: 680px;
    margin-bottom: 1.8rem;
    color: rgba(255,255,255,.86);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.8rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .6rem;
    transform: translateX(-50%);
}

.dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.38);
    cursor: pointer;
    transition:
        width var(--transition),
        background-color var(--transition);
}

.dot.active {
    width: 30px;
    background: #fff;
}


/* ==========================================================================
   12. STATS
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat-item {
    padding: 2rem 1.25rem;
    text-align: center;
}

.stat-value {
    display: block;
    margin-bottom: .4rem;
    color: var(--accent);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.04em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

.stats-bar {
    position: relative;
    overflow: hidden;
    padding: 2.8rem 0;
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );
    color: #fff;
}

.stats-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .15;
    background:
        radial-gradient(
            circle at 20% 50%,
            var(--accent),
            transparent 30%
        );
}

.stats-bar .stats-grid {
    position: relative;
    z-index: 1;
}

.stats-bar .stat-item {
    border-right: 1px solid rgba(255,255,255,.10);
}

.stats-bar .stat-item:last-child {
    border-right: 0;
}

.stats-bar .stat-value {
    color: #5eead4;
}

.stats-bar .stat-label {
    color: rgba(255,255,255,.72);
}


/* ==========================================================================
   13. CARD SYSTEM
   ========================================================================== */

.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(13,148,136,.25);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(13,148,136,.12);
    border-radius: var(--radius-md);
    background: var(--accent-light);
    color: var(--accent);
    font-size: 1.8rem;
}

.icon-card {
    height: 100%;
    padding: 2.3rem 1.8rem;
    text-align: center;
}

.icon-card .card-icon {
    margin-inline: auto;
}

.icon-card h3,
.icon-card h4 {
    margin-bottom: .65rem;
}

.icon-card p {
    color: var(--text-muted);
}

.mini-card {
    height: 100%;
    padding: 1.35rem !important;
    background: var(--bg-surface);
    border-color: var(--border-light);
}

.mini-card h4 {
    margin-bottom: .45rem;
}

.mini-card p {
    color: var(--text-muted);
    font-size: .9rem;
}


/* ==========================================================================
   14. GRID SYSTEM
   ========================================================================== */

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.align-center {
    align-items: center;
}


/* ==========================================================================
   15. TREATMENTS
   ========================================================================== */

.treatment-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.treatment-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.treatment-card:hover .card-img-top {
    transform: scale(1.045);
}

.treatment-card .card-body {
    flex: 1;
    padding: 1.6rem;
}

.treatment-card h3,
.treatment-card h4 {
    margin-bottom: .55rem;
}

.treatment-card p {
    margin-top: .45rem;
    color: var(--text-muted);
    font-size: .93rem;
}

.treatment-card .btn {
    margin-top: 1rem;
}

/* Treatment split layout: "How it works" content + sticky note aside */
.treatment-split-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.treatment-split-content {
    padding-right: 2rem;
}

.treatment-split-content .rich-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #475569;
}

.treatment-split-aside {
    position: sticky;
    top: 100px;
}


/* ==========================================================================
   16. CANCER TYPES
   ========================================================================== */

.cancer-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 1.2rem;
}

.cancer-card,
.cancer-type-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background-color var(--transition);
}

.cancer-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cancer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #2dd4bf);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.cancer-card:hover::before {
    transform: scaleX(1);
}

.cancer-card span {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    background: var(--accent-light);
    font-size: 1.8rem;
    transition: transform .3s ease;
}

.cancer-card:hover span {
    transform: scale(1.1) rotate(-5deg);
}

.cancer-card:hover,
.cancer-type-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13,148,136,.45);
    box-shadow: var(--shadow-lg);
}

.cancer-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1.7rem 1rem;
    text-align: center;
    color: inherit;
}

.cancer-type-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent),
        #2dd4bf
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.cancer-type-card:hover::before {
    transform: scaleX(1);
}

.cancer-type-card .cancer-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 1.9rem;
    transition: transform var(--transition);
}

.cancer-type-card:hover .cancer-icon {
    transform: scale(1.08) rotate(-3deg);
}

.cancer-type-card h4 {
    margin-bottom: 0;
    color: var(--text-heading);
    font-size: 1rem;
}

.cancer-type-more {
    background: linear-gradient(
        145deg,
        var(--accent-soft),
        #fff
    );
    border-color: rgba(13,148,136,.3);
}

.cancer-type-more h4 {
    color: var(--accent);
}

/* Related cancer types — icon-card variant used on treatment pages */
.related-cancers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.related-cancer-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,.05);
}

.related-cancer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13,148,136,.4);
    box-shadow: 0 15px 30px -10px rgba(13,148,136,.1);
}

.related-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform .3s ease;
}

.related-cancer-card:hover .related-card-icon {
    transform: scale(1.08) rotate(-3deg);
    background: var(--accent);
    color: #fff;
}

.related-card-content h3 {
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: .5rem;
    line-height: 1.3;
}

.related-card-content p {
    font-size: .9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}


/* ==========================================================================
   17. TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(290px, 1fr)
    );
    gap: 1.5rem;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.8rem;
}

.quote-icon {
    margin-bottom: -.3rem;
    color: var(--accent);
    opacity: .25;
    font-size: 3.2rem;
    line-height: 1;
}

.testimonial-text {
    flex: 1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13,148,136,.14);
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 800;
}

.author-role {
    color: var(--text-muted);
    font-size: .82rem;
}


/* ==========================================================================
   18. CTA
   ========================================================================== */

.cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(45,212,191,.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--primary-dark),
            #164e63
        );
    color: #fff;
}

.cta-section::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: -180px;
    bottom: -240px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(13,148,136,.14);
    filter: blur(15px);
}

.cta-section h2 {
    color: #fff;
}

.cta-subtitle {
    max-width: 650px;
    margin: 1rem auto 2rem;
    color: rgba(255,255,255,.82);
}


/* ==========================================================================
   19. BREADCRUMB
   ========================================================================== */

.breadcrumb {
    padding: .95rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .86rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 .35rem;
    color: var(--text-light);
}


/* ==========================================================================
   20. FORMS
   ========================================================================== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    color: var(--text-heading);
    font-size: .88rem;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: .75rem .95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    background: #fff;
    color: var(--text-main);
    font-family: inherit;
    font-size: .95rem;
    line-height: 1.5;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background-color var(--transition);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:hover {
    border-color: var(--border-dark);
}

.form-control:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(13,148,136,.10);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--accent);
}


/* ==========================================================================
   21. MEDIA / IMAGE HELPERS
   ========================================================================== */

.img-rounded {
    width: 100%;
    border-radius: var(--radius-lg);
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
}

.media-frame img,
.media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-responsive {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000;
}

.video-responsive iframe,
.video-responsive video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================================
   22. VIDEO / YOUTUBE
   ========================================================================== */

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.video-card video,
.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

.youtube-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    background: #000;
}

.youtube-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================================
   23. FOOTER
   ========================================================================== */

.footer {
    position: relative;
    padding: 5rem 0 2rem;
    background:
        linear-gradient(
            145deg,
            #020617,
            #0f172a
        );
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(240px, 2fr)
        repeat(2, minmax(150px, 1fr))
        minmax(220px, 1.4fr);
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer h4 {
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: 1rem;
}

.footer p {
    color: rgba(255,255,255,.62);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: .65rem;
}

.footer-links a {
    position: relative;
    display: inline-block;
    color: rgba(255,255,255,.65);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.48);
    font-size: .8rem;
}

.medical-disclaimer {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,.08);
    border-left: 5px solid var(--accent);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.56);
    font-size: .9rem;
    line-height: 1.7;
}


/* ==========================================================================
   24. MOBILE BOTTOM BAR
   ========================================================================== */

.mobile-bottom-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1250;
    padding: .55rem;
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 25px rgba(15,23,42,.10);
    backdrop-filter: blur(14px);
}

.mobile-bottom-bar .container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .45rem;
}

.mobile-bottom-bar .btn {
    min-height: 50px;
    padding: .45rem .25rem;
    border-radius: var(--radius-sm);
    flex-direction: column;
    gap: .15rem;
    font-size: .73rem;
}

.mobile-bottom-bar .btn-primary {
    color: #fff;
}


/* ==========================================================================
   25. BADGES / LABELS
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .25rem .65rem;
    border-radius: var(--radius-pill);
    background: var(--bg-surface-alt);
    color: var(--text-main);
    font-size: .75rem;
    font-weight: 700;
}

.badge-accent {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.badge-success {
    background: var(--green-light);
    color: var(--green);
}

.badge-warning {
    background: var(--amber-light);
    color: var(--amber);
}

.badge-danger {
    background: var(--red-light);
    color: var(--red);
}


/* ==========================================================================
   26. ALERTS
   ========================================================================== */

.alert {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-surface);
    box-shadow: 0 12px 30px -10px rgba(15,23,42,.08);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.alert:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -10px rgba(15,23,42,.12);
}

.alert h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: rgba(22,163,74,.2);
    color: #166534;
}

.alert-danger {
    border-color: rgba(220,38,38,.18);
    background: var(--red-light);
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border-color: rgba(217,119,6,.2);
    color: #92400e;
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-color: rgba(37,99,235,.2);
    color: #1e40af;
}


/* ==========================================================================
   27. TABLE
   ========================================================================== */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.table th {
    color: var(--text-heading);
    background: var(--bg-surface);
    font-size: .82rem;
    font-weight: 750;
}

.table tbody tr {
    transition: background-color var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--accent-soft);
}


/* ==========================================================================
   28. PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-main);
    font-size: .85rem;
    font-weight: 650;
}

.pagination a:hover,
.pagination .active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}


/* ==========================================================================
   29. FAQ
   ========================================================================== */

.faq-list {
    display: grid;
    gap: .8rem;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,.05);
    transition: all .3s ease;
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 15px 30px -10px rgba(13,148,136,.15);
}

.faq-item summary {
    position: relative;
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 400;
    transition: all .3s ease;
}

.faq-item[open] summary::after {
    content: "−";
    background: var(--accent);
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    margin-top: -.5rem;
    padding-top: 1.5rem;
}


/* ==========================================================================
   30. BLOG
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(280px, 1fr)
    );
    gap: 1.5rem;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-surface);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.4rem;
}

.blog-card-title {
    margin-bottom: .55rem;
    font-size: 1.15rem;
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: .9rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
    margin-bottom: .8rem;
    color: var(--text-light);
    font-size: .78rem;
}


/* ==========================================================================
   31. CONTENT / ARTICLE
   ========================================================================== */

.prose,
.cancer-content-wrapper {
    max-width: 820px;
    margin-inline: auto;
    color: var(--text-main);
}

.prose h2 {
    margin-top: 2.5rem;
}

.prose h3 {
    margin-top: 2rem;
}

.prose p {
    margin-bottom: 1.15rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.25rem 1.4rem;
}

.prose li {
    margin-bottom: .5rem;
}

.prose img {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
}

.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--accent-soft);
    color: var(--text-heading);
}

/* Rich CMS body content — medical-standard readability */
.rich-content {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #475569;
}

.rich-content h2,
.rich-content h3 {
    color: var(--primary);
    font-weight: 750;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.rich-content h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--accent);
    border-radius: 4px;
    margin-right: .75rem;
    vertical-align: middle;
}

.rich-content p {
    margin-bottom: 1.25rem;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1.5rem 1.5rem;
}

.rich-content ul li {
    position: relative;
    margin-bottom: .75rem;
    padding-left: .5rem;
    list-style: none;
}

.rich-content ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: .5rem;
}


/* ==========================================================================
   32. DOCTOR / PROFILE
   ========================================================================== */

.doctor-card {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.doctor-card-image {
    min-height: 420px;
    background: var(--bg-surface);
}

.doctor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card-content {
    padding: clamp(2rem, 5vw, 4rem);
}

.doctor-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}


/* ==========================================================================
   33. GALLERY
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}


/* ==========================================================================
   34. ICON / SOCIAL BUTTONS
   ========================================================================== */

.social-links {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.75);
}

.social-link:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}


/* ==========================================================================
   35. UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-accent {
    color: var(--accent) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-white {
    color: #fff !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: .5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: .5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: .5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mx-auto {
    margin-inline: auto;
}

.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: .5rem !important;
}

.p-2 {
    padding: 1rem !important;
}

.p-3 {
    padding: 1.5rem !important;
}

.p-4 {
    padding: 2rem !important;
}

.shadow-none {
    box-shadow: none !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded {
    border-radius: var(--radius-md) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

.overflow-hidden {
    overflow: hidden !important;
}


/* ==========================================================================
   36. CMS / DYNAMIC PAGE BUILDER HELPERS
   ========================================================================== */

.page-section {
    position: relative;
}

.section-content {
    position: relative;
    z-index: 1;
}

.section-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.7rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .05rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-size: .7rem;
    font-weight: 900;
}

.two-column-content {
    columns: 2;
    column-gap: 3rem;
}

.full-width-image {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

/* Dynamic CMS icon-card grid (e.g. "How we help", service highlights) */
.cms-cards-grid {
    display: grid;
    gap: 2rem;
}

.cms-cards-grid.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cms-cards-grid.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cms-cards-grid.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cms-icon-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}

.cms-icon-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #2dd4bf);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.cms-icon-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13,148,136,.3);
    box-shadow: 0 20px 40px -10px rgba(15,23,42,.1);
}

.cms-icon-card:hover::before {
    transform: scaleX(1);
}

.cms-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-light), #fff);
    border: 1px solid rgba(13,148,136,.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent);
    transition: all .4s ease;
}

.cms-icon-card:hover .cms-icon-wrapper {
    background: var(--accent);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 10px 20px -5px rgba(13,148,136,.3);
}

.cms-icon-card h3 {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    color: var(--primary);
}

.cms-icon-card p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ==========================================================================
   37. LOADING STATES
   ========================================================================== */

.skeleton {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: var(--radius-sm);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.6),
            transparent
        );
    animation: skeleton-loading 1.4s infinite;
}

@keyframes skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}


/* ==========================================================================
   38. SCROLL / BACK TO TOP
   ========================================================================== */

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1000;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}


/* ==========================================================================
   39. MODAL
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2,6,23,.72);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-dialog {
    width: min(100%, 700px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-xl);
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 1.25rem 1.5rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .7rem;
    border-top: 1px solid var(--border);
}


/* ==========================================================================
   40. TREATMENTS LISTING PAGE
   ========================================================================== */

.treatments-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.treatment-list-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 6px -4px rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}

.treatment-list-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #2dd4bf);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.treatment-list-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13,148,136,.3);
    box-shadow: 0 20px 40px -10px rgba(15,23,42,.1);
}

.treatment-list-card:hover::before {
    transform: scaleX(1);
}

.treatment-list-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-light), #fff);
    border: 1px solid rgba(13,148,136,.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    transition: all .4s ease;
}

.treatment-list-card:hover .treatment-list-icon {
    background: var(--accent);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(13,148,136,.3);
}

.treatment-list-card h3 {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    color: var(--primary);
}

.treatment-list-card p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: .9rem;
    transition: gap .3s ease;
}

.learn-more-link .arrow-icon {
    transition: transform .3s ease;
}

.treatment-list-card:hover .learn-more-link {
    gap: 1rem;
}

.treatment-list-card:hover .learn-more-link .arrow-icon {
    transform: translateX(4px);
}

.empty-state-box {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border-dark);
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.empty-state-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: .5rem;
}

.empty-state-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}


/* ==========================================================================
   41. HOMEPAGE ABOUT / DOCTOR SECTION
   ========================================================================== */

.home-about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 5rem;
    align-items: center;
}

.home-about-text {
    text-align: left;
    padding-right: 2rem;
}

.home-about-text h2 {
    margin-top: .5rem;
    margin-bottom: 1.5rem;
}

.home-about-text p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.home-about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.1);
}

.home-mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.home-mini-cards .mini-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,.05);
    transition: all .3s ease;
}

.home-mini-cards .mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.08);
    border-color: rgba(13,148,136,.3);
}

.home-mini-cards .mini-card h4 {
    margin-bottom: .5rem;
    font-size: 1.25rem;
}

.home-mini-cards .mini-card p {
    font-size: .9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}


/* ==========================================================================
   42. RESPONSIVE — LARGE TABLET
   ========================================================================== */

@media (max-width: 1200px) {

    .container,
    .container-wide {
        width: min(100% - 30px, var(--container));
    }

    .nav-desktop {
        gap: 0;
    }

    .nav-desktop a {
        padding-inline: .55rem;
        font-size: .86rem;
    }

    .hero .container {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr
            1fr
            1fr;
    }
}


/* ==========================================================================
   43. RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1024px) {

    :root {
        --header-height: 72px;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .header-actions .btn {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content,
    .hero p {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        min-height: 360px;
        max-width: 700px;
        width: 100%;
        margin-inline: auto;
    }

    .hero-image img {
        min-height: 360px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid,
    .stats-bar .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-bar .stat-item:nth-child(2) {
        border-right: 0;
    }

    .doctor-card {
        grid-template-columns: 1fr;
    }

    .doctor-card-image {
        min-height: 360px;
        max-height: 500px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .two-column-content {
        columns: 1;
    }

    .treatment-split-layout {
        gap: 3rem;
    }

    .related-cancers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cms-cards-grid.grid-cols-4,
    .cms-cards-grid.grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-about-text {
        padding-right: 0;
    }

    .home-about-image {
        order: -1;
    }
}


/* ==========================================================================
   44. RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    html {
        font-size: 15px;
    }

    body {
        padding-bottom: 66px;
    }

    .container,
    .container-wide {
        width: calc(100% - 28px);
    }

    .topbar {
        padding: .4rem 0;
    }

    .topbar .container {
        justify-content: center;
        text-align: center;
    }

    .topbar-links {
        display: none;
    }

    .header {
        min-height: 68px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        max-height: 40px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-sm {
        padding: 2.5rem 0;
    }

    .section-lg {
        padding: 4.5rem 0;
    }

    .section-header {
        margin-bottom: 2.2rem;
    }

    .section-header p,
    .section-subtitle {
        font-size: .95rem;
    }

    .hero {
        padding: 4.5rem 0;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: .96rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-image {
        min-height: 300px;
        border-radius: var(--radius-lg);
    }

    .hero-image img {
        min-height: 300px;
    }

    .hero.hero-centered {
        padding: 4rem 0;
    }

    .hero.hero-centered h1 {
        font-size: 2rem;
    }

    .hero.hero-centered p {
        font-size: 1rem;
    }

    .hero-slider {
        height: 64vh;
        min-height: 390px;
        max-height: 540px;
    }

    .slide::before {
        background:
            linear-gradient(
                90deg,
                rgba(2,6,23,.84),
                rgba(2,6,23,.45)
            );
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .hero-content p {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 1.3rem;
        font-size: .92rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .hero-badge {
        margin-bottom: .8rem;
        padding: .38rem .7rem;
        font-size: .68rem;
    }

    .slider-dots {
        bottom: 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .stats-bar {
        padding: 2rem 0;
    }

    .stats-grid,
    .stats-bar .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .7rem;
    }

    .stat-item {
        padding: 1.2rem .6rem;
    }

    .stats-bar .stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .stats-bar .stat-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: .78rem;
    }

    .card {
        padding: 1.5rem;
    }

    .icon-card {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .cancer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .cancer-card {
        padding: 1.5rem;
    }

    .cancer-type-card {
        min-height: 145px;
        padding: 1rem .6rem;
    }

    .cancer-type-card .cancer-icon {
        width: 46px;
        height: 46px;
        margin-bottom: .65rem;
        font-size: 1.55rem;
    }

    .cancer-type-card h4 {
        font-size: .86rem;
    }

    .treatment-card .card-img-top {
        height: 175px;
    }

    .treatment-card .card-body {
        padding: 1.2rem;
    }

    .treatment-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .treatment-split-content {
        padding-right: 0;
    }

    .treatment-split-aside {
        position: static;
    }

    .related-cancers-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.3rem;
    }

    .testimonial-text {
        font-size: .9rem;
    }

    .rich-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .rich-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .alert {
        padding: 1.5rem;
    }

    .faq-item summary {
        padding: 1.25rem 3.5rem 1.25rem 1.25rem;
        font-size: 1rem;
    }

    .faq-item summary::after {
        right: 1rem;
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }

    .treatments-listing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .treatment-list-card {
        padding: 2rem 1.5rem;
    }

    .cms-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .cms-icon-card {
        padding: 2rem 1.5rem;
    }

    .home-mini-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .mobile-bottom-bar {
        display: block;
    }

    .mobile-bottom-bar + * {
        margin-bottom: 0;
    }

    .btn {
        min-height: 46px;
    }

    .btn-lg {
        min-height: 50px;
    }

    .doctor-card-content {
        padding: 1.5rem;
    }

    .doctor-card-image {
        min-height: 300px;
    }

    .modal-dialog {
        border-radius: var(--radius-lg);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}


/* ==========================================================================
   45. RESPONSIVE — SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

    html {
        font-size: 14px;
    }

    .container,
    .container-wide {
        width: calc(100% - 22px);
    }

    .topbar {
        font-size: .72rem;
    }

    .header {
        min-height: 64px;
    }

    .logo {
        font-size: 1.08rem;
    }

    .logo img {
        max-width: 145px;
        max-height: 36px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }

    .section {
        padding: 2.8rem 0;
    }

    .section-header {
        margin-bottom: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .hero {
        padding: 3.4rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: .9rem;
    }

    .hero-slider {
        height: 58vh;
        min-height: 350px;
        max-height: 430px;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    .hero-content p {
        font-size: .86rem;
        -webkit-line-clamp: 2;
    }

    .hero-actions {
        gap: .55rem;
    }

    .hero-actions .btn {
        min-height: 43px;
        padding: .55rem .8rem;
        font-size: .84rem;
    }

    .slider-dots {
        bottom: .8rem;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 22px;
    }

    .stats-bar {
        padding: 1.5rem 0;
    }

    .stats-bar .stats-grid {
        gap: .3rem;
    }

    .stat-item {
        padding: 1rem .25rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: .7rem;
        line-height: 1.3;
    }

    .card {
        padding: 1.15rem;
    }

    .cancer-grid {
        gap: .55rem;
    }

    .cancer-type-card {
        min-height: 125px;
        padding: .75rem .35rem;
    }

    .cancer-type-card .cancer-icon {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .cancer-type-card h4 {
        font-size: .78rem;
        line-height: 1.25;
    }

    .treatment-card .card-img-top {
        height: 145px;
    }

    .treatment-card .card-body {
        padding: 1rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: .8rem;
    }

    .mobile-bottom-bar {
        padding: .4rem;
    }

    .mobile-bottom-bar .container {
        width: 100%;
        gap: .3rem;
    }

    .mobile-bottom-bar .btn {
        min-height: 48px;
        font-size: .67rem;
    }

    .back-to-top {
        right: .75rem;
        bottom: 4.8rem;
    }
}


/* ==========================================================================
   46. LANDSCAPE MOBILE
   ========================================================================== */

@media (max-height: 500px) and (orientation: landscape) {

    .hero-slider {
        height: 100vh;
        min-height: 420px;
        max-height: none;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        margin-bottom: 1rem;
    }
}


/* ==========================================================================
   47. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================================
   48. PRINT
   ========================================================================== */

@media print {

    *,
    *::before,
    *::after {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    body {
        padding: 0 !important;
    }

    .topbar,
    .header,
    .mobile-bottom-bar,
    .back-to-top,
    .no-print,
    .slider-dots,
    .btn {
        display: none !important;
    }

    .hero,
    .hero-slider,
    .cta-section,
    .footer {
        color: #000 !important;
        background: #fff !important;
    }

    a {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: .75em;
    }

    img {
        max-width: 100% !important;
    }
}
/* ==========================================================================
   CANCER DETAIL PAGE - PREMIUM UI & LAYOUT
   ========================================================================== */

/* 1. Premium Hero Section */
.cancer-hero {
    background: radial-gradient(circle at 80% 20%, rgba(13,148,136,.25), transparent 32%), linear-gradient(135deg, var(--primary-dark) 0%, #172554 52%, #0f3d42 100%);
    padding: 6rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cancer-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}
.cancer-hero-text h1 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}
.cancer-hero-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}
.cancer-hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
    border: 4px solid rgba(255,255,255,0.1);
}
.cancer-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

/* 2. Main Content & Sidebar Split Layout */
.cancer-detail-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem; /* Proper wide gap on Desktop */
    align-items: start;
}

/* 3. Left Content Styling */
.cancer-content-wrapper .content-block {
    margin-top: 4rem;
}
.cancer-content-wrapper h2 {
    margin-bottom: 1.5rem;
}
.cancer-content-wrapper .rich-content {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #475569;
}
.cancer-content-wrapper .rich-content ul li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    list-style: none;
}
.cancer-content-wrapper .rich-content ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 4. Right Sticky Sidebar */
.cancer-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.05);
}
.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.info-block {
    margin-bottom: 1.5rem;
}
.info-block strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    font-weight: 700;
}
.info-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* 5. Risk List Styling */
.risk-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.risk-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.risk-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1.4;
}

/* 6. Related List Styling */
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-list li {
    margin-bottom: 0.75rem;
}
.related-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s ease;
}
.related-list a span {
    color: var(--accent);
    transition: transform 0.3s ease;
}
.related-list a:hover {
    color: var(--accent);
}
.related-list a:hover span {
    transform: translateX(4px);
}

/* 7. Responsive Fixes (Mobile Slim UI) */
@media (max-width: 1024px) {
    .cancer-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cancer-hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .cancer-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .cancer-detail-layout {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .cancer-hero {
        padding: 4rem 0;
    }
    .cancer-hero-image {
        display: none; /* Hide image on small mobile to save space & keep it slim */
    }
    
    .cancer-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .cancer-sidebar {
        position: static; /* No sticky on mobile */
    }
    
    .cancer-content-wrapper .content-block {
        margin-top: 2.5rem;
    }
}
/* ==========================================================================
   CANCER LISTING PAGE - PREMIUM UI
   ========================================================================== */

/* 1. Centered Hero (If not already added from treatment page) */
.hero.hero-centered .container {
    display: block !important;
    grid-template-columns: none !important;
    text-align: center;
    max-width: 820px;
}
.hero-centered-content { max-width: 100%; margin: 0 auto; }
.hero.hero-centered h1 { color: #fff; margin-bottom: 1.5rem; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.hero.hero-centered p { color: rgba(255,255,255,0.85); font-size: 1.2rem; line-height: 1.7; margin: 0 auto; max-width: 700px; }
.hero.hero-centered .hero-badge { margin-bottom: 1.5rem; }

/* 2. Cancer Listing Grid - Auto Fit Layout */
.cancers-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

/* 3. Premium Horizontal Card */
.cancer-list-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Left Side Accent Line on Hover */
.cancer-list-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.cancer-list-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.1);
}
.cancer-list-card:hover::before { transform: scaleY(1); transform-origin: top; }

/* 4. Icon Styling */
.cancer-list-icon {
    width: 60px; height: 60px;
    min-width: 60px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.3s ease;
}
.cancer-list-card:hover .cancer-list-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

/* 5. Body Content Styling */
.cancer-list-body { flex: 1; }
.cancer-list-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--primary); }
.cancer-list-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }

/* 6. Learn More Link Styling */
.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}
.learn-more-link .arrow-icon { transition: transform 0.3s ease; }
.cancer-list-card:hover .learn-more-link { gap: 1rem; }
.cancer-list-card:hover .learn-more-link .arrow-icon { transform: translateX(4px); }

/* 7. Empty State Box */
.empty-state-box {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border-dark);
    max-width: 600px;
    margin: 0 auto;
}
.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.empty-state-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.empty-state-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* 8. Responsive Fixes */
@media (max-width: 768px) {
    .cancers-listing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cancer-list-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    .cancer-list-icon {
        width: 50px; height: 50px; min-width: 50px;
        font-size: 1.5rem;
    }
}
/* ==========================================================================
   GALLERY LISTING PAGE - PREMIUM UI
   ========================================================================== */

/* 1. Gallery Grid */
.gallery-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* 2. Album Card */
.gallery-album-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.gallery-album-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

/* 3. Image Wrapper & Overlay */
.album-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-surface);
}
.album-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-album-card:hover .album-image-wrapper img {
    transform: scale(1.08);
}

.album-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--bg-surface), #fff);
}

/* 4. Overlay on Hover */
.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-album-card:hover .album-overlay {
    opacity: 1;
}
.album-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}
.gallery-album-card:hover .album-overlay span {
    transform: translateY(0);
}

/* 5. Album Info Text */
.album-info {
    padding: 1.5rem;
}
.album-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.album-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dot-separator {
    color: var(--border-dark);
}

/* 6. Responsive Fixes */
@media (max-width: 768px) {
    .gallery-listing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .album-image-wrapper {
        aspect-ratio: 16 / 9;
    }
}
/* ==========================================================================
   ALBUM DETAIL PAGE - PREMIUM UI & LIGHTBOX
   ========================================================================== */

/* 1. Album Images Grid */
.album-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* 2. Individual Image Item */
.album-image-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-surface);
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}
.album-image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.15);
}
.album-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.album-image-item:hover img {
    transform: scale(1.08);
}

/* 3. Image Caption Overlay */
.album-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.album-image-item:hover .album-image-caption {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Premium Lightbox (Pop-up) */
.premium-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}
.lightbox-close:hover {
    background: #fff;
    color: var(--primary);
    transform: rotate(90deg);
}

/* 5. Responsive Fixes */
@media (max-width: 768px) {
    .album-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .lightbox-content img {
        max-height: 70vh;
    }
}
@media (max-width: 480px) {
    .album-images-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   VIDEO GALLERY PAGE - PREMIUM UI
   ========================================================================== */

/* 1. Video Grid Layout */
.video-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* 2. Video Card Styling */
.video-list-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-list-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

/* 3. Thumbnail & Play Button */
.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-surface);
}
.video-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.video-list-card:hover .video-thumbnail-wrapper img {
    transform: scale(1.08);
}

.video-play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.video-play-button svg {
    width: 28px; height: 28px;
    color: var(--accent);
    margin-left: 4px; /* Centering the play icon visually */
}
.video-list-card:hover .video-play-button {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.15);
}
.video-list-card:hover .video-play-button svg {
    color: #ffffff;
}

/* 4. Video Duration Badge */
.video-duration-badge {
    position: absolute;
    bottom: 1rem; right: 1rem;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* 5. Video Card Body */
.video-card-body {
    padding: 1.5rem;
}
.video-category {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.video-card-body h3 {
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.4;
    margin: 0;
}

/* 6. Premium Video Lightbox (Popup) */
.premium-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.video-lightbox-content {
    width: 100%;
    max-width: 900px;
    animation: zoomIn 0.3s ease;
}

.video-frame-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.video-frame-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.premium-video-lightbox .lightbox-close {
    position: absolute;
    top: 2rem; right: 2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.premium-video-lightbox .lightbox-close:hover {
    background: #fff;
    color: var(--primary);
    transform: rotate(90deg);
}

/* 7. Responsive Fixes */
@media (max-width: 768px) {
    .video-listing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .premium-video-lightbox {
        padding: 1rem;
    }
    .premium-video-lightbox .lightbox-close {
        top: 1rem; right: 1rem;
        width: 40px; height: 40px;
        font-size: 1.5rem;
    }
}