/* ==========================================================================
   Lusaka Eye Hospital - Surgical Showcase Stage Hero Section
   Design Language: Portal (Slate 50, Blue 600, Clean Cards, Inter Typography)
   Mobile-First, Retina-Crisp 1024x1024 Surgeon Photography with Live Badges
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 3rem 0 3.5rem 0;
    overflow: hidden;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 640px;
        padding: 4.5rem 0 4.5rem 0;
        display: flex;
        align-items: center;
    }
}

/* Ambient Medical Radial Glow & Pattern Backdrop */
.hero-ambient-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-ambient-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, rgba(2, 132, 199, 0.05) 45%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
}

.hero-ambient-glow-left {
    position: absolute;
    top: 20%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.hero-dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.15px, transparent 1.15px);
    background-size: 24px 24px;
    opacity: 0.55;
    mask-image: radial-gradient(circle at 60% 50%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 60% 50%, black 40%, transparent 85%);
}

/* 2-Column Hero Grid */
.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.12fr 0.88fr;
        gap: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-container {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4.5rem;
    }
}

/* Left Column: Typography & CTAs */
.hero-content-col {
    display: flex;
    flex-direction: column;
}

.hero-kicker {
    font-size: 0.775rem;
    font-weight: 700;
    color: #0284c7;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.1);
}

.hero-kicker i {
    font-size: 0.95rem;
    color: #0284c7;
}

.hero-title {
    font-size: clamp(2.25rem, 4.2vw, 3.35rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.035em;
    line-height: 1.16;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

/* Primary CTA with Shimmer Sweep */
.btn-hero-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
    border: none;
    color: #ffffff;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-22deg);
}

.btn-hero-cta:hover::after {
    left: 150%;
    transition: left 0.85s ease-in-out;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(2, 132, 199, 0.45);
    color: #ffffff;
}

.btn-hero-secondary {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-hero-secondary:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #0284c7;
    transform: translateY(-1px);
}

/* Hero Feature Pillars */
.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    transition: transform 0.2s ease;
}

.hero-feature-item:hover {
    transform: translateY(-1px);
    color: #0284c7;
}

.hero-feature-item i {
    color: #0284c7;
    font-size: 1.15rem;
}

/* ==========================================================================
   Right Column: The Surgical Showcase Stage
   Renders the authentic 1024x1024 photograph at Retina density without clipping
   ========================================================================== */

.hero-stage-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-stage-wrapper {
    position: relative;
    width: 100%;
    max-width: 490px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .hero-stage-wrapper {
        max-width: 520px;
    }
}

/* Ambient Optical Rings Background Effect */
.hero-optical-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.hero-optical-rings svg {
    width: 100%;
    height: 100%;
    animation: ringsSlowRotate 60s linear infinite;
}

@keyframes ringsSlowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* The High-Resolution Surgical Photo Card */
.hero-photo-card {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 25px 50px -12px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(14, 165, 233, 0.15),
        0 8px 20px -4px rgba(2, 132, 199, 0.12);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 30px 65px -15px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(14, 165, 233, 0.25),
        0 12px 28px -6px rgba(2, 132, 199, 0.18);
}

.hero-stage-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #0b1528;
}

.hero-stage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo-card:hover .hero-stage-img {
    transform: scale(1.025);
}

/* Subtle Gradient Scrim at bottom of card */
.hero-card-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(11, 21, 40, 0.08) 0%,
        transparent 35%,
        rgba(11, 21, 40, 0.15) 70%,
        rgba(11, 21, 40, 0.6) 100%
    );
}

/* Live Surgical Suite Floating Pill (Top-Left) */
.badge-live-theater {
    position: absolute;
    top: 1.15rem;
    left: 1.15rem;
    z-index: 5;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    padding: 0.4rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: liveStatusPulse 2s infinite;
}

@keyframes liveStatusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Consultant Surgeon Overlapping Floating Card (Bottom-Right) */
.badge-surgeon-credential {
    position: absolute;
    bottom: -1.25rem;
    right: -1rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 
        0 18px 36px -6px rgba(15, 23, 42, 0.16),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    max-width: 320px;
    animation: badgeFloatGentle 5s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.badge-surgeon-credential:hover {
    transform: translateY(-4px) !important;
}

@keyframes badgeFloatGentle {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

.badge-seal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 1px solid #7dd3fc;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.badge-text-meta {
    display: flex;
    flex-direction: column;
}

.badge-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.badge-role {
    font-size: 0.725rem;
    color: #0284c7;
    font-weight: 600;
    margin-top: 0.15rem;
}

.badge-stat {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.1rem;
}

/* Responsiveness for Mobile & Tablet */
@media (max-width: 991px) {
    .hero-container {
        gap: 2.5rem;
    }

    .hero-content-col {
        text-align: left;
    }

    .hero-stage-wrapper {
        max-width: 440px;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .badge-surgeon-credential {
        bottom: -0.75rem;
        right: 0;
        left: auto;
        padding: 0.75rem 1rem;
        max-width: 290px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 2rem 0 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-cta,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-stage-wrapper {
        max-width: 100%;
    }

    .badge-live-theater {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.35rem 0.75rem;
        font-size: 0.725rem;
    }

    .badge-surgeon-credential {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        max-width: 100%;
        width: 100%;
        animation: none;
    }
}
