/* ============================================
   SPINE CARE THERAPEUTIC HEALING - DESIGN SYSTEM
   Premium Medical-Wellness Landing Page
   ============================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-teal: #0D7377;
    --primary-teal-dark: #095456;
    --primary-teal-light: #14919B;

    /* Accent Colors */
    --accent-gold: #C9A227;
    --accent-gold-light: #E8C547;
    --accent-gold-dark: #A68519;

    /* Neutral Colors */
    --white: #FFFFFF;
    --ivory: #FAFAF8;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-dark: #1A1A2E;
    --text-medium: #4A4A5A;
    --text-light: #6B6B7B;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0D7377 0%, #14919B 50%, #1AA7B4 100%);
    --gradient-gold: linear-gradient(135deg, #C9A227 0%, #E8C547 100%);
    --gradient-calm: linear-gradient(180deg, #FAFAF8 0%, #F0F7F7 100%);
    --gradient-section: linear-gradient(180deg, #F0F7F7 0%, #FFFFFF 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(13, 115, 119, 0.08);
    --shadow-md: 0 4px 20px rgba(13, 115, 119, 0.12);
    --shadow-lg: 0 8px 40px rgba(13, 115, 119, 0.16);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.text-gold {
    color: var(--accent-gold);
}

.text-teal {
    color: var(--primary-teal);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-gold);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-medium);
    text-transform: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 22px 50px;
    font-size: 1.2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a5c5f 0%, #0D7377 25%, #14919B 50%, #1AA7B4 75%, #20b2aa 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

/* Professional Medical/Spine Background Image */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(13, 115, 119, 0.75) 0%, rgba(20, 145, 155, 0.7) 100%),
        url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=1920&q=80") center center / cover no-repeat;
    background-blend-mode: overlay;
}




/* Spine Visual Background */
.hero-spine-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(232, 197, 71, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Floating Particles Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(232, 197, 71, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 40% 40%, rgba(232, 197, 71, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 25%);
    animation: floatParticles 20s ease-in-out infinite;
}

@keyframes floatParticles {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
        opacity: 0.8;
    }
}

/* Medical Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

/* Spine Illustration */
.hero-spine-illustration {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 600px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.spine-svg {
    width: 100%;
    height: 100%;
}

.vertebra {
    animation: vertebraGlow 3s ease-in-out infinite;
}

.vertebra.v1 {
    animation-delay: 0s;
}

.vertebra.v2 {
    animation-delay: 0.2s;
}

.vertebra.v3 {
    animation-delay: 0.4s;
}

.vertebra.v4 {
    animation-delay: 0.6s;
}

.vertebra.v5 {
    animation-delay: 0.8s;
}

.vertebra.v6 {
    animation-delay: 1s;
}

.vertebra.v7 {
    animation-delay: 1.2s;
}

.vertebra.v8 {
    animation-delay: 1.4s;
}

@keyframes vertebraGlow {

    0%,
    100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 2px rgba(232, 197, 71, 0.3));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(232, 197, 71, 0.5));
    }
}

/* Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Left Content */
.hero-left {
    color: var(--white);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 25, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-badge.gold {
    background: var(--gradient-gold);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-price {
    background: rgba(10, 25, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 25px 35px;
    display: inline-block;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-price .duration {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.hero-price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    text-shadow: 0 2px 10px rgba(232, 197, 71, 0.3);
}

.hero-price .offer {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 12px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

/* Price Label with Original Price and Discount Badge */
.hero-price .price-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hero-price .original-price {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    font-weight: 500;
}

.hero-price .discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    animation: discountPulse 2s ease-in-out infinite;
}

@keyframes discountPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    }
}

/* Developer Credit in Footer */
.footer-bottom .developer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.footer-bottom .developer-credit strong {
    color: var(--accent-gold-light);
    font-weight: 600;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
    }
}

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

.hero-cta .btn-primary.pulse-glow {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    }

    50% {
        box-shadow: 0 6px 35px rgba(201, 162, 39, 0.7);
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(10, 25, 30, 0.8);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold-light);
}

/* Right Side - Doctor Card */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-doctor-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 30px;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(13, 115, 119, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.doctor-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.doctor-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.doctor-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.doctor-verified {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.doctor-content {
    text-align: center;
}

.doctor-content h3 {
    font-size: 1.3rem;
    color: var(--primary-teal);
    margin-bottom: 5px;
    font-weight: 700;
}

.doctor-content .doctor-title {
    font-size: 0.9rem;
    color: var(--accent-gold-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.doctor-content .doctor-bio {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.doctor-stats-mini {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.08) 0%, rgba(20, 145, 155, 0.05) 100%);
    border-radius: var(--radius-md);
}

.doctor-stats-mini .stat {
    text-align: center;
}

.doctor-stats-mini .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.doctor-stats-mini .label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.credential {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.credential svg {
    width: 12px;
    height: 12px;
}

/* Trust Badges below doctor card */
.hero-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(5px);
}

.trust-item svg {
    color: var(--accent-gold-light);
    flex-shrink: 0;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 2;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-doctor-card,
    .hero-doctor-card-vertical {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-trust-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-spine-illustration {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Better Mobile Background Positioning */
    .hero-bg-overlay {
        background-position: 75% center !important;
        /* Shift to see subjects better */
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        width: 90%;
        /* Strict width */
        max-width: 500px;
        margin-left: auto;
        /* Center it */
        margin-right: auto;
    }

    .hero-price {
        padding: 20px 25px;
    }

    .hero-price .amount {
        font-size: 2.5rem;
    }

    .hero-features {
        gap: 10px;
    }

    .hero-feature {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .hero-doctor-card {
        padding: 20px;
    }

    .doctor-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .doctor-content h3 {
        font-size: 1.1rem;
    }

    .doctor-stats-mini {
        gap: 15px;
        padding: 12px;
    }

    .doctor-stats-mini .number {
        font-size: 1.2rem;
    }

    /* Hero Doctor Card Mobile Sizing */
    .hero-doctor-card-vertical {
        padding: 30px 20px 40px;
        /* Added bottom padding for socials */
        overflow: visible;
        width: 90%;
        /* Strict width to show borders */
        max-width: 400px;
        /* Prevent too wide */
        margin-left: auto;
        margin-right: auto;
    }

    .doctor-info-vertical h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        /* Liquid scaling */
        line-height: 1.2;
    }

    .doctor-image-hero {
        width: 220px;
        /* Sweet spot size */
        height: 220px;
        max-width: 100%;
        /* Safety */
        margin: 0 auto 30px;
        /* Space below */
        border-radius: 50%;
        position: relative;
    }

    .doctor-image-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        /* Prevent Head Cutoff */
        border-radius: 50%;
    }

    .doctor-verified-large {
        font-size: 0.75rem;
        padding: 6px 12px;
        width: max-content;
        max-width: 130%;
        white-space: normal;
        /* Allow wrapping securely */
        text-align: center;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Ensure Tags Wrap */
    .qualifications-grid {
        justify-content: center;
        gap: 8px;
    }

    .qual-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* ===== DOCTOR SOCIAL MEDIA STATS ===== */
.doctor-social-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    /* Allow wrap for small screens */
    padding-bottom: 5px;
}

.social-stat-item {
    display: flex;
    flex-direction: column;
    /* Icon Top, Number Bottom */
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    min-width: 90px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.social-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.social-stat-item.youtube .social-icon-wrapper {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.social-stat-item.instagram .social-icon-wrapper {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
}

.social-stat-item.facebook .social-icon-wrapper {
    background: linear-gradient(135deg, #1877F2 0%, #0D65D9 100%);
}

.social-icon-wrapper {
    width: 48px;
    /* Slightly larger for visual balance */
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.social-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.social-stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center text */
    text-align: center;
}

.social-stat-count {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    line-height: 1.2;
}

.social-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive for social stats */
@media (max-width: 768px) {
    .doctor-social-stats {
        gap: 10px;
    }

    .social-stat-item {
        padding: 10px 12px;
    }

    .social-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .social-icon-wrapper svg {
        width: 16px;
        height: 16px;
    }

    .social-stat-count {
        font-size: 1rem;
    }
}

/* ===== DOCTOR AUTHORITY SECTION ===== */
.doctor-section {
    background: var(--gradient-calm);
    position: relative;
}

.doctor-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    position: relative;
}

.doctor-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.doctor-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.doctor-info h3 {
    color: var(--primary-teal);
    font-size: 2rem;
    margin-bottom: 10px;
}

.doctor-title {
    font-size: 1.2rem;
    color: var(--accent-gold-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.doctor-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.doctor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.doctor-stat {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.doctor-stat .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    display: block;
}

.doctor-stat .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.doctor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.doctor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.doctor-badge svg {
    width: 20px;
    height: 20px;
}

/* ===== EDUCATION CARDS SECTION ===== */
.education-section {
    background: var(--white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.education-card {
    background: var(--gradient-calm);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.education-card:hover::before {
    transform: scaleX(1);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-md);
}

.education-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.education-card h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.education-card p {
    font-size: 1rem;
    color: var(--text-medium);
}

/* ===== MODULES SECTION ===== */
.modules-section {
    background: var(--gradient-section);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.module-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    position: relative;
}

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

.module-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.module-icon {
    width: 60px;
    height: 60px;
    margin: 15px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-icon svg {
    width: 50px;
    height: 50px;
    color: var(--primary-teal);
}

.module-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.module-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: var(--white);
}

.testimonials-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
}

.testimonial-info h5 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-result {
    display: inline-block;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 15px;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.trust-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--gradient-calm);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.trust-icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.trust-card h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
    background: var(--gradient-calm);
    position: relative;
}

.payment-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.payment-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.payment-header {
    margin-bottom: 40px;
}

.payment-header h2 {
    margin-bottom: 15px;
}

.payment-header p {
    font-size: 1.1rem;
}

.payment-details {
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    color: var(--white);
}

.payment-price {
    margin-bottom: 25px;
}

.payment-price .label {
    font-size: 1rem;
    opacity: 0.9;
}

.payment-price .amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-gold-light);
}

.payment-price .period {
    font-size: 1.2rem;
    opacity: 0.9;
}

.payment-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.payment-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold-light);
}

.payment-offer {
    display: inline-block;
    background: #ff4757;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.payment-form {
    margin-bottom: 30px;
}

#payment-button {
    width: 100%;
    padding: 22px;
    font-size: 1.3rem;
}

.payment-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.payment-secure svg {
    width: 20px;
    height: 20px;
    color: #10B981;
}

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.community-link {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    border-radius: var(--radius-md);
    color: var(--white);
}

.community-link.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.community-link h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.community-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: #10B981;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.community-link a:hover {
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-links h4 {
    color: var(--accent-gold);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

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

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-medium);
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.floating-btn.scroll-top {
    background: var(--primary-teal);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
}

.floating-btn.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn svg {
    width: 28px;
    height: 28px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .doctor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .doctor-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .doctor-stats {
        justify-content: center;
    }

    .doctor-badges {
        justify-content: center;
    }

    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    html {
        font-size: 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-price {
        padding: 25px 35px;
    }

    .hero-price .amount {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-card {
        padding: 40px 25px;
    }

    .payment-details {
        padding: 30px 20px;
    }

    .payment-price .amount {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-price {
        padding: 20px 25px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .btn-large {
        padding: 18px 35px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .doctor-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    position: relative;
    z-index: 100;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
}

.announcement-icon {
    font-size: 1.2rem;
}

.announcement-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.announcement-text strong {
    color: var(--accent-gold-light);
}

.announcement-cta {
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

/* ===== HERO ENHANCEMENTS ===== */
.hero-spine-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("https://images.unsplash.com/photo-1559757175-5700dde675bc?w=1920&q=80") center/cover no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.hero-badge.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border: none;
}

/* Price Label Enhancements */
.hero-price .price-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hero-price .original-price {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    font-size: 1.2rem;
}

.hero-price .discount-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== LARGE DOCTOR CARD ===== */
.hero-doctor-card-large {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-xl);
    padding: 35px;
    position: relative;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 15px 40px rgba(13, 115, 119, 0.25);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(201, 162, 39, 0.3);
    overflow: hidden;
}

.doctor-profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.doctor-image-large {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.doctor-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.doctor-verified-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.doctor-verified-badge svg {
    width: 14px;
    height: 14px;
}

.doctor-intro {
    flex: 1;
}

.doctor-label {
    display: inline-block;
    background: rgba(13, 115, 119, 0.1);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-intro h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.doctor-designation {
    font-size: 0.9rem;
    color: var(--primary-teal);
    font-weight: 500;
}

/* Doctor Stats Large */
.doctor-stats-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.05) 0%, rgba(13, 115, 119, 0.1) 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

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

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Doctor Bio Section */
.doctor-bio-section {
    margin-bottom: 20px;
}

.doctor-bio-section p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.doctor-bio-section strong {
    color: var(--primary-teal);
}

/* Doctor Credentials Large */
.doctor-credentials-large {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.credential-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 115, 119, 0.08);
    color: var(--primary-teal);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(13, 115, 119, 0.15);
    transition: all 0.3s ease;
}

.credential-tag:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
}

.credential-tag svg {
    width: 14px;
    height: 14px;
}

/* Trust Seals */
.hero-trust-seals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.trust-seal {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.trust-seal svg {
    width: 28px;
    height: 28px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.seal-text {
    display: flex;
    flex-direction: column;
}

.seal-text strong {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.seal-text span {
    font-size: 0.75rem;
    color: var(--text-medium);
}

/* ===== TRANSFORMATION SECTION ===== */
.transformation-section {
    background: var(--gradient-calm);
    padding: 100px 0;
}

.transformation-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.transform-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    width: 350px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.transform-card.before-card {
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.transform-card.after-card {
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.transform-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.transform-label.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.label-icon {
    font-size: 1.3rem;
}

.spine-visual {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.spine-visual .visual-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.spine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-diagram {
    width: 80px;
    height: 160px;
}

/* Pain Point Animation */
.pain-point {
    animation: pulsePain 1.5s ease-in-out infinite;
}

@keyframes pulsePain {

    0%,
    100% {
        opacity: 0.7;
        r: inherit;
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #ff4757);
    }
}

/* Health Point Animation */
.health-point {
    animation: glowHealth 2s ease-in-out infinite;
}

@keyframes glowHealth {

    0%,
    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 4px #10B981);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 12px #10B981);
    }
}

.transform-details h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.symptom-list,
.result-list {
    list-style: none;
}

.symptom-list li,
.result-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-medium);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.symptom-icon {
    color: #ff4757;
    font-size: 1rem;
}

.result-icon {
    color: #10B981;
    font-size: 1rem;
}

/* Transform Arrow */
.transform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.arrow-duration {
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-gold);
}

.arrow-content svg {
    color: var(--primary-teal);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

.arrow-text {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.transformation-cta {
    text-align: center;
}

.transformation-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-medium);
}

/* ===== VIDEO TESTIMONIALS SECTION ===== */
.video-testimonials-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 0;
}

.video-testimonials-section .section-header h2 {
    color: var(--white);
}

.video-testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.video-thumbnail {
    position: relative;
    display: block;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.6);
}

.play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-title {
    padding: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

/* Social Proof Banner */
.social-proof-banner {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 35px 50px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.proof-item svg {
    color: var(--accent-gold);
}

.proof-item div {
    display: flex;
    flex-direction: column;
}

.proof-item strong {
    font-size: 1rem;
    color: var(--white);
}

.proof-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Video CTA */
.video-testimonials-cta {
    text-align: center;
}

.video-testimonials-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 1200px) {
    .video-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-right {
        order: -1;
    }

    .hero-doctor-card-large {
        max-width: 500px;
        margin: 0 auto;
    }

    .transformation-showcase {
        flex-direction: column;
    }

    .transform-arrow {
        transform: rotate(90deg);
    }

    .video-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-proof-banner {
        gap: 30px;
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        gap: 10px;
    }

    .doctor-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .doctor-stats-large {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-trust-seals {
        grid-template-columns: 1fr;
    }

    .transform-card {
        width: 100%;
        max-width: 350px;
    }

    .video-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .social-proof-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .proof-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .video-testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .video-card {
        border-radius: var(--radius-md);
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .video-title {
        padding: 10px;
        font-size: 0.8rem;
    }

    .doctor-stats-large {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .doctor-credentials-large {
        justify-content: center;
    }
}

/* ===== VERTICAL DOCTOR CARD (LARGE IMAGE ON TOP) ===== */
.hero-doctor-card-vertical {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 15px 40px rgba(13, 115, 119, 0.3);
    border: 3px solid rgba(201, 162, 39, 0.4);
}

/* Large Doctor Image on Top */
.doctor-image-hero {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.doctor-image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.hero-doctor-card-vertical:hover .doctor-image-hero img {
    transform: scale(1.03);
}

.doctor-verified-large {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.doctor-verified-large svg {
    width: 18px;
    height: 18px;
}

/* Doctor Info Section Below Image */
.doctor-info-vertical {
    padding: 30px;
    text-align: center;
}

.doctor-info-vertical .doctor-label {
    display: inline-block;
    background: rgba(13, 115, 119, 0.1);
    color: var(--primary-teal);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-info-vertical h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.doctor-info-vertical .doctor-designation {
    font-size: 0.95rem;
    color: var(--primary-teal);
    font-weight: 500;
    margin-bottom: 15px;
}

.doctor-info-vertical .doctor-bio-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.doctor-info-vertical .doctor-bio-text strong {
    color: var(--primary-teal);
}

/* Horizontal Stats */
.doctor-stats-horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.05) 0%, rgba(13, 115, 119, 0.1) 100%);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.stat-box {
    text-align: center;
    padding: 0 15px;
}

.stat-box:not(:last-child) {
    border-right: 1px solid rgba(13, 115, 119, 0.2);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.stat-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Doctor Badge Row */
.doctor-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.doctor-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 115, 119, 0.08);
    color: var(--primary-teal);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(13, 115, 119, 0.15);
    transition: all 0.3s ease;
}

.doctor-badge-item:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
}

.doctor-badge-item svg {
    width: 14px;
    height: 14px;
}

/* Responsive for Vertical Card */
@media (max-width: 992px) {
    .doctor-image-hero {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .hero-doctor-card-vertical {
        max-width: 400px;
        margin: 0 auto;
    }

    .doctor-image-hero {
        height: 250px;
    }

    .doctor-info-vertical {
        padding: 25px 20px;
    }

    .doctor-stats-horizontal {
        flex-direction: row;
        gap: 10px;
    }

    .stat-box {
        padding: 0 10px;
    }

    .stat-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .doctor-image-hero {
        height: 220px;
    }

    .doctor-info-vertical h3 {
        font-size: 1.25rem;
    }

    .doctor-verified-large {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .stat-box:not(:last-child) {
        border-right: none;
    }
}

/* ===== QUALIFICATIONS GRID ===== */
.doctor-title-main {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.qualifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.qual-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(13, 115, 119, 0.2) 100%);
    color: var(--primary-teal);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(13, 115, 119, 0.2);
    transition: all 0.3s ease;
}

.qual-tag:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

.doctor-about-box {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0.15) 100%);
    border-left: 4px solid var(--accent-gold);
    padding: 15px 18px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 20px;
}

.doctor-about-box p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.doctor-about-box strong {
    color: var(--primary-teal);
}

/* ===== REAL PROOFS SECTION ===== */
.real-proofs-section {
    background: linear-gradient(180deg, #f0f7f7 0%, #fafaf8 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

/* Diagonal Background */
.diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    transform: skewY(-3deg);
    transform-origin: top left;
}

/* Floating Spine Elements */
.floating-spine-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.spine-float {
    position: absolute;
    opacity: 0.6;
    animation: floatSpine 6s ease-in-out infinite;
}

.spine-float.spine-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.spine-float.spine-2 {
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

@keyframes floatSpine {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.bento-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Large Featured Card */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 0;
}

.featured-proof .proof-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-proof .proof-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-proof:hover .proof-media img {
    transform: scale(1.05);
}

.media-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.proof-content {
    padding: 25px;
}

.proof-tag {
    display: inline-block;
    background: rgba(13, 115, 119, 0.1);
    color: var(--primary-teal);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.proof-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.proof-content p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.proof-stats {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.proof-stats strong {
    color: var(--text-dark);
}

/* Tall Stats Card */
.bento-tall {
    grid-row: span 2;
}

.stats-showcase {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.03) 0%, rgba(13, 115, 119, 0.08) 100%);
}

.stats-visual {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.circular-stat {
    position: relative;
    width: 140px;
    height: 140px;
}

.circular-stat svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring {
    animation: drawCircle 2s ease-out forwards;
}

@keyframes drawCircle {
    from {
        stroke-dashoffset: 283;
    }

    to {
        stroke-dashoffset: 25;
    }
}

.stat-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.big-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.stat-text {
    font-size: 0.75rem;
    color: var(--text-medium);
    text-transform: uppercase;
}

.stats-list {
    padding: 15px 0;
}

.stat-row {
    margin-bottom: 15px;
}

.stat-row .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: 6px;
}

.progress-bar {
    height: 8px;
    background: rgba(13, 115, 119, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 4px;
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

/* Certificate Card */
.certificate-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, rgba(201, 162, 39, 0.15) 100%);
    border: 2px solid rgba(201, 162, 39, 0.3);
}

.cert-icon {
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.certificate-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.certificate-card p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0;
}

/* Quote Card */
.quote-card {
    background: var(--gradient-hero);
    color: white;
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.quote-card p {
    font-size: 1rem;
    color: white;
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.quote-author strong {
    display: block;
    font-size: 0.9rem;
}

.quote-author span {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* 3D Spine Card */
.spine-3d-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border: none;
}

.spine-3d-container {
    padding: 20px 0;
}

.spine-3d-svg {
    width: 100px;
    height: 170px;
}

.vertebra-3d {
    animation: pulseVert 2s ease-in-out infinite;
}

.vertebra-3d.v1 {
    animation-delay: 0s;
}

.vertebra-3d.v2 {
    animation-delay: 0.15s;
}

.vertebra-3d.v3 {
    animation-delay: 0.3s;
}

.vertebra-3d.v4 {
    animation-delay: 0.45s;
}

.vertebra-3d.v5 {
    animation-delay: 0.6s;
}

.vertebra-3d.v6 {
    animation-delay: 0.75s;
}

@keyframes pulseVert {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.spine-3d-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

.glow-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px #10B981, 0 0 10px #10B981;
    }

    50% {
        box-shadow: 0 0 10px #10B981, 0 0 20px #10B981, 0 0 30px #10B981;
    }
}

/* Counter Cards */
.counter-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 5px;
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-card.accent {
    background: var(--gradient-gold);
}

.counter-card.accent .counter-number {
    color: var(--text-dark);
}

.counter-card.accent .counter-label {
    color: var(--text-dark);
    opacity: 0.8;
}

/* Proofs CTA */
.proofs-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.cta-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Responsive Bento Grid */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-large {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .diagonal-bg {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bento-large,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .qualifications-grid {
        gap: 6px;
    }

    .qual-tag {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .floating-spine-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .real-proofs-section {
        padding: 80px 0;
    }

    .bento-card {
        padding: 20px;
    }

    .counter-number {
        font-size: 1.6rem;
    }

    .big-number {
        font-size: 1.6rem;
    }

    .circular-stat {
        width: 120px;
        height: 120px;
    }
}

/* ===== SPINE VISUAL ELEMENTS ===== */

/* Section Background Image */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.section-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
}

.education-section {
    position: relative;
}

.education-section .container {
    position: relative;
    z-index: 1;
}

/* Spine Visual Banner */
.spine-visual-banner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.05) 0%, rgba(13, 115, 119, 0.1) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(13, 115, 119, 0.15);
}

.spine-banner-image {
    position: relative;
    overflow: hidden;
}

.spine-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.spine-banner-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spine-banner-content h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.spine-banner-content p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.condition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.condition-tag {
    display: inline-block;
    background: var(--primary-teal);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.condition-tag:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
}

/* Spine Healing Showcase - Image Strip */
.spine-healing-showcase {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    padding: 30px 0;
    margin-bottom: 0;
    overflow: hidden;
}

.healing-image-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.healing-img {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.healing-img:hover {
    transform: translateY(-8px) scale(1.02);
}

.healing-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.img-label {
    display: block;
    background: white;
    color: var(--text-dark);
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .spine-visual-banner {
        grid-template-columns: 1fr;
    }

    .spine-banner-image img {
        min-height: 200px;
    }

    .spine-banner-content {
        padding: 30px;
    }

    .healing-image-strip {
        gap: 20px;
    }

    .healing-img {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .spine-visual-banner {
        margin-bottom: 30px;
    }

    .spine-banner-content h3 {
        font-size: 1.3rem;
    }

    .healing-image-strip {
        flex-wrap: wrap;
        gap: 15px;
    }

    .healing-img {
        width: calc(50% - 10px);
    }

    .healing-img img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .condition-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .healing-img {
        width: 100%;
    }

    .img-label {
        padding: 10px;
        font-size: 0.8rem;
    }
}

/* ===== PATIENT SUCCESS STORIES SECTION ===== */
.patient-stories-section {
    background: linear-gradient(180deg, #fafbfc 0%, #f0f4f5 100%);
    padding: 100px 0;
}

.patient-stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

/* Featured Patient Story Card */
.patient-story-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 350px 1fr;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-image-side {
    position: relative;
    overflow: hidden;
}

.story-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.patient-badge {
    position: absolute;
    top: 20px;
    left: 20px;
}

.healed-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.healed-badge.small {
    position: absolute;
    bottom: -5px;
    right: -5px;
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-content-side {
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.patient-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.patient-location {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.condition-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #DC2626;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Pain Journey - Before/After */
.pain-journey {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
    flex: 1;
    margin-bottom: 25px;
}

.journey-phase {
    padding: 20px;
    border-radius: var(--radius-md);
}

.journey-phase.before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-left: 4px solid #EF4444;
}

.journey-phase.after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-left: 4px solid #10B981;
}

.phase-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.journey-phase.before .phase-label {
    color: #DC2626;
}

.journey-phase.after .phase-label {
    color: #059669;
}

.journey-phase p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.journey-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-teal);
    font-weight: bold;
}

.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.healing-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.healing-duration svg {
    color: var(--primary-teal);
}

.verified-stamp {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Compact Story Cards */
.patient-story-card:not(.featured) {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.patient-story-card:not(.featured):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.story-compact {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.patient-photo {
    position: relative;
    flex-shrink: 0;
}

.patient-photo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-teal);
}

.story-details h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.story-details .patient-location {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.condition-tag {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.story-quote {
    margin-bottom: 15px;
}

.story-quote p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.healing-time {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.verified {
    color: #10B981;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Trust Indicators Bar */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: white;
    padding: 30px 50px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

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

.trust-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 5px;
}

.trust-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
}

/* Stories CTA */
.stories-cta {
    text-align: center;
}

.stories-cta .cta-text {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* Responsive Patient Stories */
@media (max-width: 1100px) {
    .patient-story-card.featured {
        grid-template-columns: 300px 1fr;
    }

    .pain-journey {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .journey-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
}

@media (max-width: 992px) {
    .patient-stories-grid {
        grid-template-columns: 1fr;
    }

    .patient-story-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .story-image-side img {
        min-height: 280px;
        max-height: 350px;
    }

    .trust-indicators {
        flex-wrap: wrap;
        gap: 25px;
        padding: 25px;
    }

    .trust-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .patient-stories-section {
        padding: 70px 0;
    }

    .story-content-side {
        padding: 25px;
    }

    .patient-info h3 {
        font-size: 1.3rem;
    }

    .trust-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .story-header {
        flex-direction: column;
        gap: 10px;
    }

    .journey-phase {
        padding: 15px;
    }

    .journey-phase p {
        font-size: 0.9rem;
    }

    .story-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .trust-indicators {
        gap: 20px;
    }

    .trust-item {
        flex: 1 1 40%;
    }
}

/* ===== UNIQUE SPLIT LAYOUT - PATIENT STORIES ===== */
.patient-stories-unique {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #f8fafa;
}

.wave-pattern-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 320px;
    z-index: 0;
}

.wave-pattern-bg svg {
    width: 100%;
    height: 100%;
}

.stories-split-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 100vh;
}

/* Left Panel - Image & Stats */
.stories-image-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.panel-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(13, 115, 119, 0.85) 0%,
            rgba(13, 115, 119, 0.95) 50%,
            rgba(13, 115, 119, 0.98) 100%);
}

.panel-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.panel-stats-floating {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.floating-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 25px;
    text-align: center;
}

.floating-stat.gold {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.3) 0%, rgba(201, 162, 39, 0.2) 100%);
    border-color: rgba(201, 162, 39, 0.4);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-txt {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 5px;
}

.panel-title .small-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.panel-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.panel-title h2 span {
    color: var(--accent-gold);
}

.panel-title p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.trust-badges-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-badge-item svg {
    opacity: 0.8;
}

/* Right Panel - Timeline Stories */
.stories-timeline-panel {
    position: relative;
    padding: 80px 60px 80px 80px;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 100px;
    bottom: 100px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-teal) 0%, rgba(13, 115, 119, 0.2) 100%);
    border-radius: 3px;
}

.timeline-story {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--primary-teal);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(13, 115, 119, 0.2);
}

.timeline-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.timeline-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.healed-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.card-header h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.location {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.condition-pill {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #DC2626;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.before-after-quotes {
    flex: 1;
    margin-bottom: 20px;
}

.quote-block {
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.quote-block.before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-left: 3px solid #EF4444;
}

.quote-block.after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-left: 3px solid #10B981;
}

.quote-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.quote-block.before .quote-label {
    color: #DC2626;
}

.quote-block.after .quote-label {
    color: #059669;
}

.quote-block p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.duration {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.verified-badge {
    color: #10B981;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Timeline CTA */
.timeline-cta {
    margin-top: 40px;
    padding-left: 50px;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-content .btn {
    background: white;
    color: var(--primary-teal);
}

.cta-content .btn:hover {
    background: var(--accent-gold);
    color: white;
}

.payment-feature {
    color: var(--text-dark);
    /* Ensure text is visible on light background */
    font-weight: 500;
}

/* Responsive Split Layout */
@media (max-width: 1200px) {
    .stories-split-layout {
        grid-template-columns: 350px 1fr;
    }

    .panel-title h2 {
        font-size: 2rem;
    }

    .timeline-card {
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 992px) {
    .stories-split-layout {
        grid-template-columns: 1fr;
    }

    .stories-image-panel {
        position: relative;
        height: auto;
        min-height: 500px;
    }

    .panel-content {
        padding: 60px 40px;
        text-align: center;
        align-items: center;
    }

    .panel-stats-floating {
        justify-content: center;
    }

    .trust-badges-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stories-timeline-panel {
        padding: 60px 40px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-story {
        padding-left: 40px;
    }

    .timeline-dot {
        left: -24px;
    }
}

@media (max-width: 768px) {
    .stories-image-panel {
        min-height: 400px;
    }

    .panel-title h2 {
        font-size: 1.8rem;
    }

    .timeline-card {
        grid-template-columns: 1fr;
    }

    .card-image img {
        min-height: 200px;
        max-height: 250px;
    }

    .stories-timeline-panel {
        padding: 40px 20px;
    }

    .timeline-line {
        display: none;
    }

    .timeline-story {
        padding-left: 0;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-cta {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .panel-content {
        padding: 40px 25px;
    }

    .floating-stat {
        padding: 15px 20px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .card-content {
        padding: 20px;
    }

    .card-header {
        flex-direction: column;
    }

    .cta-content {
        padding: 30px 20px;
    }
}

/* ===== UNIQUE MASONRY MODULES SECTION ===== */
.modules-unique-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.modules-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.modules-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modules-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(13, 115, 119, 0.92) 0%,
            rgba(10, 90, 95, 0.95) 50%,
            rgba(8, 70, 75, 0.98) 100%);
}

.modules-unique-section .container {
    position: relative;
    z-index: 1;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Masonry Grid */
.modules-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    margin-bottom: 50px;
}

/* Module Image Cards */
.module-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.module-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.module-image-card.large {
    grid-column: span 2;
    grid-row: span 1;
}

.module-image-card.tall {
    grid-row: span 2;
}

.module-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.module-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.module-image-card:hover .module-bg-img img {
    transform: scale(1.1);
}

.module-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.7) 70%,
            rgba(0, 0, 0, 0.85) 100%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.module-num {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
}

.module-overlay-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.module-overlay-content p {
    font-size: 0.9rem;
    opacity: 1;
    /* Increased opacity */
    color: #ffffff !important;
    /* Force white */
    font-weight: 500;
    /* Bolder text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    /* Shadow for contrast */
    line-height: 1.5;
    margin: 0;
}

.module-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.module-features span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}

/* Modules Summary Stats */
.modules-summary {
    display: flex;
    justify-content: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 30px 50px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.summary-icon {
    font-size: 1.8rem;
}

.summary-text {
    font-size: 0.95rem;
}

.summary-text strong {
    display: block;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

/* Responsive Masonry Modules */
@media (max-width: 1100px) {
    .modules-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

    .module-image-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .modules-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .module-image-card.tall {
        grid-row: span 2;
    }

    .modules-summary {
        flex-wrap: wrap;
        gap: 25px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .modules-unique-section {
        padding: 80px 0;
    }

    .modules-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .module-image-card.large,
    .module-image-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .module-overlay-content h3 {
        font-size: 1.2rem;
    }

    .modules-summary {
        gap: 20px;
    }

    .summary-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .modules-masonry {
        grid-auto-rows: 180px;
        gap: 15px;
    }

    .module-overlay-content {
        padding: 20px;
    }

    .module-num {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .modules-summary {
        padding: 20px;
    }

    .summary-text strong {
        font-size: 1.1rem;
    }

    .summary-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   DOCTOR GALLERY - HORIZONTAL SCROLL CAROUSEL
   ============================================ */

.doctor-gallery-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FAFAF8 0%, #F0F7F7 100%);
    overflow: hidden;
}

.doctor-gallery-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.text-gold {
    color: var(--accent-gold);
}

/* Gallery Scroll Wrapper - Full Width */
.gallery-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

/* Gradient Fades on Edges */
.gallery-scroll-wrapper::before,
.gallery-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.gallery-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(250, 250, 248, 1) 0%, rgba(250, 250, 248, 0) 100%);
}

.gallery-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(250, 250, 248, 1) 0%, rgba(250, 250, 248, 0) 100%);
}

/* Gallery Track - Auto Scroll */
.gallery-track {
    display: flex;
    gap: 20px;
    animation: scrollGallery 40s linear infinite;
    width: max-content;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Gallery Item - Uniform Size */
.gallery-item {
    flex-shrink: 0;
    width: 320px;
    height: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    background: linear-gradient(135deg, #f0f7f7 0%, #e8f4f5 100%);
}

/* Remove large variant - all cards same size */
.gallery-item.large {
    width: 320px;
    height: 240px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
    background: linear-gradient(135deg, #f8fafa 0%, #f0f5f5 100%);
}

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


/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

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

.gallery-category {
    display: inline-block;
    background: var(--primary-teal);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Gallery Stats */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.gallery-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.gallery-stat .stat-icon {
    font-size: 2rem;
}

.gallery-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.gallery-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .doctor-gallery-section {
        padding: 60px 0;
    }

    .gallery-item,
    .gallery-item.large {
        width: 260px;
        height: 195px;
    }

    .gallery-stats {
        gap: 20px;
        padding: 20px;
    }

    .gallery-stat .stat-value {
        font-size: 1.5rem;
    }

    .gallery-stat .stat-label {
        font-size: 0.8rem;
    }

    .gallery-scroll-wrapper::before,
    .gallery-scroll-wrapper::after {
        width: 50px;
    }
}

@media (max-width: 480px) {

    .gallery-item,
    .gallery-item.large {
        width: 200px;
        height: 150px;
    }


    .gallery-stats {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-stat {
        flex-direction: row;
        gap: 10px;
    }

    .gallery-stat .stat-icon {
        font-size: 1.5rem;
    }

    .gallery-stat .stat-value {
        font-size: 1.3rem;
    }
}

/* ============================================
   HERO SOCIAL ICONS
   ============================================ */

.hero-social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 50px;
    transition: all var(--transition-medium);
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.social-icon svg {
    transition: transform var(--transition-medium);
}

.social-icon:hover svg {
    transform: scale(1.15);
}

.social-icon.youtube {
    background: rgba(255, 0, 0, 0.9);
    color: white;
}

.social-icon.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-3px);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    color: white;
    transform: translateY(-3px);
}

.social-icon.facebook {
    background: rgba(24, 119, 242, 0.9);
    color: white;
}

.social-icon.facebook:hover {
    background: #1877F2;
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   PRICING COMPARISON SECTION
   ============================================ */

.pricing-comparison-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8F0 0%, #FFFBF5 100%);
}

.pricing-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pricing-card.others {
    border: 2px solid #FFE4E4;
}

.pricing-card.ours {
    border: 3px solid var(--primary-teal);
    transform: scale(1.02);
}

.pricing-card.ours::before {
    content: '✨ BEST VALUE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-gold);
    color: white;
    padding: 8px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.pricing-card.others .pricing-header h3 {
    color: var(--text-medium);
}

.pricing-card.ours .pricing-header h3 {
    color: var(--primary-teal);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0 5px;
}

.pricing-card.others .pricing-amount {
    color: #DC2626;
    text-decoration: line-through;
    text-decoration-color: #DC2626;
}

.pricing-card.ours .pricing-amount {
    color: var(--primary-teal);
}

.pricing-duration {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-card.others .pricing-features li {
    color: var(--text-light);
}

.pricing-card.others .pricing-features li::before {
    content: '✗';
    color: #DC2626;
    font-weight: bold;
}

.pricing-card.ours .pricing-features li::before {
    content: '✓';
    color: #10B981;
    font-weight: bold;
}

.pricing-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    box-shadow: var(--shadow-gold);
}

.pricing-cta {
    text-align: center;
    margin-top: 30px;
}

.pricing-card.others .pricing-cta .btn {
    background: var(--medium-gray);
    color: var(--text-light);
    cursor: not-allowed;
}

.savings-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 15px;
    display: inline-block;
}

@media (max-width: 900px) {
    .pricing-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-vs {
        order: 2;
    }

    .pricing-card.ours {
        order: 1;
        transform: none;
    }

    .pricing-card.others {
        order: 3;
    }
}

/* ============================================
   STORIES CAROUSEL
   ============================================ */

.stories-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 60px;
}

.stories-carousel-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.stories-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-story-card {
    flex-shrink: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}

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

.story-image-wrapper .healed-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.story-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.patient-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.patient-details h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.patient-details .location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.patient-details .condition-pill {
    display: inline-block;
    background: #FEF3C7;
    color: #B45309;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.before-after-box {
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.before-after-box .phase {
    flex: 1;
    padding: 15px;
    border-radius: var(--radius-md);
}

.before-after-box .phase.before {
    background: #FEE2E2;
}

.before-after-box .phase.after {
    background: #D1FAE5;
}

.before-after-box .label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.before-after-box .phase.before .label {
    color: #DC2626;
}

.before-after-box .phase.after .label {
    color: #059669;
}

.before-after-box .phase p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-style: italic;
}

.before-after-box .phase-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-teal);
    font-weight: bold;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--medium-gray);
}

.story-meta span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.story-meta .verified {
    background: var(--primary-teal);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    z-index: 10;
    color: var(--primary-teal);
}

.carousel-nav:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.carousel-dots .dot.active {
    background: var(--primary-teal);
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: var(--primary-teal);
    opacity: 0.7;
}

/* Responsive Carousel */
@media (max-width: 900px) {
    .stories-carousel-container {
        padding: 20px 50px;
    }

    .carousel-story-card {
        grid-template-columns: 1fr;
    }

    .story-image-wrapper {
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .stories-carousel-container {
        padding: 20px 40px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .before-after-box {
        flex-direction: column;
    }

    .before-after-box .phase-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }

    .story-content {
        padding: 20px;
    }

    .patient-details h4 {
        font-size: 1.25rem;
    }
}

/* ===== PAYMENT SUCCESS MODAL ===== */
.payment-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.success-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--accent-gold);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.success-modal-content h2 {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.success-modal-content>p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 25px;
}

.payment-details {
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(20, 145, 155, 0.05) 100%);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.payment-details span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.payment-details strong {
    color: var(--primary-teal);
    font-family: monospace;
    font-size: 0.85rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.success-actions .whatsapp-join {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.success-actions .whatsapp-join:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.success-actions .close-modal {
    background: transparent;
    border: 2px solid var(--medium-gray);
    color: var(--text-medium);
}

.success-actions .close-modal:hover {
    background: var(--light-gray);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.success-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--medium-gray);
}

/* Loading Spinner for buttons */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Payment Modal */
@media (max-width: 600px) {
    .success-modal-content {
        padding: 35px 25px;
    }

    .success-icon {
        font-size: 60px;
    }

    .success-modal-content h2 {
        font-size: 1.5rem;
    }

    .success-actions .btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE GRID FIXES FOR OVERLAPS ===== */
@media (max-width: 1024px) {
    .modules-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modules-masonry {
        display: flex;
        /* Switch to flex column for better height control */
        flex-direction: column;
        gap: 20px;
    }

    .module-image-card {
        min-height: 350px;
        /* Give enough space for content */
        height: auto;
    }

    .module-image-card.large,
    .module-image-card.tall {
        grid-column: auto;
        grid-row: auto;
        min-height: 350px;
    }

    /* Ensure content doesn't hit the top badge */
    .module-overlay-content {
        padding-top: 60px;
    }
}

/* ===== FOOTER ALIGNMENT FIX ===== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Global Fix for Doctor Image Cutoff */
.doctor-image-hero img {
    object-position: top center;
}

/* ===== DOCTOR CARD RESPONSIVE FIXES ===== */
/* ===== PATIENT FORM MODAL STYLES ===== */
.form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.form-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-gold);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 1rem;
    color: var(--text-medium);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary-teal);
    outline: none;
    box-shadow: 0 0 0 4px rgba(13, 115, 119, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
    min-height: 24px;
}

.form-status.error {
    color: #e74c3c;
}

.form-status.success {
    color: #27ae60;
}

/* Spinner for button */
.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}