﻿/* ==========================================================================
   Section 1: Hero Header & Meta Styling
   ========================================================================== */

.topic-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 246, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-hero-bg-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(99, 102, 241, 0.03) 60%, transparent 80%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

/* Category & Status Pills */
.category-pill {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.clinical-status-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.read-time-pill {
    background: #f1f5f9;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Pulse Badge for Emergency Conditions */
.emergency-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse-ring 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
    to {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

/* Typography Gradient */
.topic-hero-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topic-hero-description {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #475569;
}

/* Buttons */
.btn-primary-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary-gradient:hover {
        background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px -5px rgba(37, 99, 235, 0.4) !important;
    }

.btn-light-glass {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

    .btn-light-glass:hover {
        background: #ffffff;
        color: #0284c7;
        border-color: #cbd5e1;
        transform: translateY(-2px);
    }

/* Image Wrapper Effects */
.hero-image-wrapper {
    position: relative;
    max-width: 340px;
}

.hero-image-backdrop {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
    border-radius: 1.25rem;
    opacity: 0.15;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.hero-image-wrapper:hover .hero-image-backdrop {
    opacity: 0.3;
}

.hero-thumbnail {
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover .hero-thumbnail {
    transform: scale(1.02);
}

.hero-badge-overlay {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    z-index: 2;
}


/* ==========================================================================
   Section 2: Premium Visual Divider Styling
   ========================================================================== */

.medical-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0) 0%, rgba(226, 232, 240, 0.8) 20%, rgba(14, 165, 233, 0.3) 50%, rgba(226, 232, 240, 0.8) 80%, rgba(226, 232, 240, 0) 100%);
    z-index: 0;
}

.divider-badge {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-color: #cbd5e1 !important;
}


/* ==========================================================================
   Outer Topic Section & Container Padding
   ========================================================================== */

.disease-topic-section {
    position: relative;
    background-color: #f8fafc;
    background-image: radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.03) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.03) 0px, transparent 50%);
    min-height: 100vh;
}

/* Custom max-width and generous padding for optimal reading width */
.container-topic-custom {
    max-width: 1180px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 992px) {
    .container-topic-custom {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Account for fixed navigation bar height */
.disease-topic-section {
    position: relative;
    background-color: #f8fafc;
    background-image: radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.03) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.03) 0px, transparent 50%);
    min-height: 100vh;
    padding-top: calc(80px + 2rem) !important; /* Adjust 80px to match your navbar height */
}


/* ==========================================================================
   Portal Header Banner
   ========================================================================== */

.portal-header-wrapper {
    position: relative;
    z-index: 2;
}

.portal-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #0f172a 0%, #0284c7 50%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-subtitle-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #6366f1);
    border-radius: 10px;
}

.tracking-wide {
    letter-spacing: 0.08em;
}

.tracking-wider {
    letter-spacing: 0.12em;
}

/* ==========================================================================
   Section 3: Ultra-Premium Emergency Banner Styling
   ========================================================================== */

.emergency-hero-card {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.98) 0%, rgba(254, 226, 226, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 20px 35px -15px rgba(220, 38, 38, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.1);
}

.emergency-ambient-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* Pulsing Badge */
.emergency-badge-pulse {
    display: inline-flex;
    align-items: center;
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pulse-beacon-red {
    width: 8px;
    height: 8px;
    background-color: #dc2626;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    animation: beacon-ping 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes beacon-ping {
    to {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.emergency-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.emergency-description {
    color: #334155;
    line-height: 1.65;
}

/* Action Step Cards */
.action-steps-card {
    background: #ffffff !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.08) !important;
}

.action-step-item {
    background: #fef2f2;
    border: 1px solid rgba(254, 202, 202, 0.6);
    transition: transform 0.2s ease, background 0.2s ease;
}

    .action-step-item:hover {
        background: #fee2e2;
        transform: translateX(4px);
    }

.step-number-badge {
    width: 24px;
    height: 24px;
    background: #dc2626;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.fs-8 {
    font-size: 0.7rem;
}



/* ==========================================================================
   Section 4: Ultra-Premium Overview Sections (Matches Section 3 Padding)
   ========================================================================== */

.overview-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .overview-hero-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 25px 45px -12px rgba(14, 165, 233, 0.1), 0 0 0 1px rgba(14, 165, 233, 0.25) !important;
    }

.overview-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #0284c7 0%, #6366f1 100%);
}

.overview-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* Image Container */
.overview-image-wrapper {
    min-height: 240px;
    background: #f1f5f9;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.overview-module-img {
    transition: transform 0.5s ease;
}

.overview-hero-card:hover .overview-module-img {
    transform: scale(1.04);
}

.overview-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.overview-image-badge {
    z-index: 2;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Icon & Title */
.overview-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 16px -4px rgba(14, 165, 233, 0.12);
    font-size: 1.35rem;
}

.overview-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Dynamic HTML Content */
.overview-rich-content {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.85;
}

    .overview-rich-content p {
        margin-bottom: 1.25rem;
    }

        .overview-rich-content p:last-child {
            margin-bottom: 0;
        }

    .overview-rich-content ul {
        list-style: none !important;
        padding-left: 0 !important;
        margin-bottom: 1.5rem;
    }

        .overview-rich-content ul li {
            position: relative;
            padding-left: 1.75rem;
            margin-bottom: 0.6rem;
        }

            .overview-rich-content ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                top: 2px;
                width: 20px;
                height: 20px;
                background: rgba(14, 165, 233, 0.1);
                color: #0284c7;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.75rem;
                font-weight: 800;
            }

.fs-8 {
    font-size: 0.7rem;
}

/* ==========================================================================
   Section 5: Ultra-Premium Symptoms & Indications Styling
   ========================================================================== */

.symptoms-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .symptoms-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(14, 165, 233, 0.1), 0 0 0 1px rgba(14, 165, 233, 0.25) !important;
    }

.symptoms-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #0284c7 0%, #3b82f6 100%);
}

.symptoms-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.symptoms-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 16px -4px rgba(14, 165, 233, 0.12);
    font-size: 1.35rem;
}

.symptoms-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Symptom Inner Cards */
.symptom-group-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .symptom-group-card:hover {
        transform: translateY(-2px);
        border-color: rgba(14, 165, 233, 0.4) !important;
        box-shadow: 0 12px 24px -6px rgba(14, 165, 233, 0.08) !important;
    }

.system-dot-indicator {
    width: 8px;
    height: 8px;
    background-color: #0284c7;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.symptom-item {
    line-height: 1.5;
    color: #334155;
}

.tracking-wide {
    letter-spacing: 0.08em;
}

.fs-7 {
    font-size: 0.75rem;
}

.fs-8 {
    font-size: 0.7rem;
}


/* ==========================================================================
   Section 6: Ultra-Premium Treatment Phases Styling
   ========================================================================== */

.treatment-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .treatment-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(14, 165, 233, 0.1), 0 0 0 1px rgba(14, 165, 233, 0.25) !important;
    }

.treatment-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #0284c7 0%, #6366f1 100%);
}

.treatment-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.treatment-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 16px -4px rgba(14, 165, 233, 0.12);
    font-size: 1.35rem;
}

.treatment-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Phase Inner Cards */
.treatment-phase-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .treatment-phase-card:hover {
        transform: translateY(-3px);
        border-color: rgba(14, 165, 233, 0.4) !important;
        box-shadow: 0 14px 28px -8px rgba(14, 165, 233, 0.12) !important;
    }

.phase-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7 0%, #6366f1 100%);
    opacity: 0.8;
}

.phase-number-badge {
    background: rgba(14, 165, 233, 0.08);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-uppercase: uppercase;
    letter-spacing: 0.05em;
}

.phase-icon-circle {
    font-size: 1.25rem;
    opacity: 0.7;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.treatment-phase-card:hover .phase-icon-circle {
    opacity: 1;
    transform: translateX(3px);
}

.fs-8 {
    font-size: 0.7rem;
}

/* ==========================================================================
   Section 7: Ultra-Premium Everyday Tips & Guidelines Styling
   ========================================================================== */

.tips-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 252, 232, 0.4) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .tips-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(234, 179, 8, 0.12), 0 0 0 1px rgba(234, 179, 8, 0.25) !important;
    }

.tips-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #eab308 0%, #f59e0b 100%);
}

.tips-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.tips-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(234, 179, 8, 0.25);
    box-shadow: 0 8px 16px -4px rgba(234, 179, 8, 0.15);
    font-size: 1.35rem;
}

.tips-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Image Container */
.tips-image-wrapper {
    min-height: 220px;
    background: #fefce8;
    border: 1px solid rgba(254, 240, 138, 0.8);
}

.tips-module-img {
    transition: transform 0.5s ease;
}

.tips-hero-card:hover .tips-module-img {
    transform: scale(1.04);
}

.tips-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.tips-image-badge {
    z-index: 2;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Tip Inner Cards */
.tip-item-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .tip-item-card:hover {
        transform: translateY(-2px);
        border-color: rgba(234, 179, 8, 0.4) !important;
        box-shadow: 0 10px 20px -6px rgba(234, 179, 8, 0.1) !important;
    }

.tip-text {
    color: #334155;
}

.fs-8 {
    font-size: 0.7rem;
}


/* ==========================================================================
   Section 8: Ultra-Premium Brethezy Care Plan Highlights Styling
   ========================================================================== */

.careplan-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.5) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .careplan-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(14, 165, 233, 0.25) !important;
    }

.careplan-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #0284c7 0%, #2563eb 100%);
}

.careplan-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.careplan-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(14, 165, 233, 0.25);
    box-shadow: 0 8px 16px -4px rgba(14, 165, 233, 0.15);
    font-size: 1.35rem;
}

.careplan-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Image Container */
.careplan-image-wrapper {
    min-height: 240px;
    background: #f0f9ff;
    border: 1px solid rgba(186, 230, 253, 0.8);
}

.careplan-module-img {
    transition: transform 0.5s ease;
}

.careplan-hero-card:hover .careplan-module-img {
    transform: scale(1.04);
}

.careplan-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.careplan-image-badge {
    z-index: 2;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Care Plan Item Cards */
.careplan-item-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .careplan-item-card:hover {
        transform: translateX(4px);
        border-color: rgba(14, 165, 233, 0.4) !important;
        box-shadow: 0 10px 20px -6px rgba(14, 165, 233, 0.1) !important;
    }

.careplan-item-number {
    font-size: 0.8rem;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.careplan-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.careplan-item-text {
    color: #334155;
}

.p-md-3-5 {
    padding: 0.9rem 1.25rem !important;
}

.fs-8 {
    font-size: 0.7rem;
}


/* ==========================================================================
   Section: Ultra-Premium Video Resources Styling
   ========================================================================== */

.video-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 242, 242, 0.3) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .video-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(239, 68, 68, 0.12), 0 0 0 1px rgba(239, 68, 68, 0.25) !important;
    }

.video-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.video-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.video-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 8px 16px -4px rgba(239, 68, 68, 0.15);
    font-size: 1.35rem;
}

.video-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Video Inner Cards */
.video-item-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .video-item-card:hover {
        transform: translateY(-3px);
        border-color: rgba(239, 68, 68, 0.4) !important;
        box-shadow: 0 14px 28px -8px rgba(239, 68, 68, 0.12) !important;
    }

.video-play-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lh-snug {
    line-height: 1.35;
}

.fs-8 {
    font-size: 0.7rem;
}

/* ==========================================================================
   FAQs Section: Ultra-Premium Glassmorphic Styling (100% Full Width)
   ========================================================================== */

.faq-hero-card {
    width: 100% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(24px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .faq-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(14, 165, 233, 0.25) !important;
    }

.faq-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #0284c7 0%, #6366f1 100%);
}

.faq-ambient-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.09) 0%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
    z-index: 0;
}

.faq-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(14, 165, 233, 0.25);
    box-shadow: 0 8px 18px -4px rgba(14, 165, 233, 0.15);
    font-size: 1.35rem;
}

.faq-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Accordion Outer Fixes & Bootstrap Overrides */
.custom-faq-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-btn-padding-x: 0;
    width: 100% !important;
}

.faq-item-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

    .faq-item-card:hover {
        border-color: rgba(14, 165, 233, 0.4) !important;
        box-shadow: 0 12px 24px -8px rgba(14, 165, 233, 0.1) !important;
        transform: translateY(-1px);
    }

/* Accordion Button & Panel Styling */
.custom-faq-accordion .accordion-button {
    background-color: #ffffff;
    color: #0f172a;
    border-radius: 1rem !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .custom-faq-accordion .accordion-button:not(.collapsed) {
        background-color: #f8fafc;
        color: #0284c7;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .custom-faq-accordion .accordion-button::after {
        margin-left: auto;
        flex-shrink: 0;
    }

/* Badges */
.faq-q-badge {
    width: 30px;
    height: 30px;
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.faq-a-badge {
    width: 30px;
    height: 30px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.bg-slate-50-subtle {
    background-color: #f8fafc;
}

.faq-answer-content {
    color: #334155;
    line-height: 1.7;
}

.fs-8 {
    font-size: 0.7rem;
}


/* ==========================================================================
   Section: Ultra-Premium Downloadable Resources Styling
   ========================================================================== */

.download-hero-card {
    width: 100% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 242, 242, 0.25) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .download-hero-card:hover {
        box-shadow: 0 25px 45px -12px rgba(239, 68, 68, 0.12), 0 0 0 1px rgba(239, 68, 68, 0.25) !important;
    }

.download-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
}

.download-ambient-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.download-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 8px 16px -4px rgba(239, 68, 68, 0.15);
    font-size: 1.35rem;
}

.download-section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* PDF Card Row Items */
.pdf-download-card {
    border-color: #e2e8f0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

    .pdf-download-card:hover {
        border-color: rgba(239, 68, 68, 0.4) !important;
        box-shadow: 0 12px 24px -6px rgba(239, 68, 68, 0.12) !important;
        transform: translateY(-2px);
        background-color: #ffffff !important;
    }

.pdf-file-icon-badge {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.pdf-action-btn {
    transition: all 0.2s ease;
}

.pdf-download-card:hover .pdf-action-btn {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.fs-7 {
    font-size: 0.8rem;
}

.fs-8 {
    font-size: 0.7rem;
}

.bg-slate-100 {
    background-color: #f1f5f9;
}

.text-slate-600 {
    color: #475569;
}


/* ==========================================================================
   Section: Ultra-Premium Medical References Styling
   ========================================================================== */

.references-hero-card {
    width: 100% !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.25rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    transition: box-shadow 0.25s ease;
}

    .references-hero-card:hover {
        box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.08) !important;
    }

.references-card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
}

.references-icon-wrapper {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    box-shadow: 0 4px 10px -2px rgba(100, 116, 139, 0.1);
    font-size: 1.15rem;
}

.references-section-title {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

/* Reference Item Row */
.reference-item-row {
    border-color: #f1f5f9 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .reference-item-row:hover {
        background-color: #f8fafc !important;
        border-color: #cbd5e1 !important;
    }

.reference-number-badge {
    font-size: 0.75rem;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.reference-text {
    font-size: 0.825rem;
    color: #475569;
}

.border-slate-200-subtle {
    border-color: #e2e8f0 !important;
}

.fs-7 {
    font-size: 0.825rem;
}

.fs-8 {
    font-size: 0.7rem;
}

/* YouTube Play Button Styling */
.yt-play-btn {
    pointer-events: none;
    transition: transform 0.2s ease;
}

.yt-play-icon {
    width: 68px;
    height: 48px;
    background-color: rgba(33, 33, 33, 0.8); /* Semi-transparent dark background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

/* Circular Play Button Styling */
.yt-circle-play-btn {
    pointer-events: none;
    transition: transform 0.2s ease;
}

.yt-circle-play-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.65); /* Semi-transparent dark background */
    border: 2px solid #ffffff; /* Crisp white outline */
    border-radius: 50%; /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}


.yt-circle-play-btn {
    pointer-events: none;
    transition: transform 0.2s ease;
}

.yt-circle-bg {
    fill: rgba(0, 0, 0, 0.65);
    stroke: #ffffff;
    stroke-width: 2.5;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

/* Hover Effect: Turns YouTube Red */
.video-card:hover .yt-circle-bg {
    fill: #ff0000;
    stroke: #ff0000;
}

.video-card:hover .yt-circle-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}