/* ==========================================================================
   Hero Section (Home Page)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

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

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(110, 152, 199, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 152, 199, 0.2) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(21, 59, 104, 0.4) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 10s ease-in-out infinite reverse;
}

/* Hero SVG Decorations */
.hero-swirl,
.hero-blob {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-swirl-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation: swirl-rotate 20s linear infinite;
    opacity: 0.8;
}

.hero-swirl-2 {
    width: 400px;
    height: 400px;
    bottom: 5%;
    left: -5%;
    animation: swirl-rotate 30s linear infinite reverse;
    opacity: 0.6;
}

.hero-swirl-3 {
    width: 100%;
    max-width: 600px;
    height: auto;
    bottom: 20%;
    right: 10%;
    animation: wave-float 8s ease-in-out infinite;
    opacity: 0.5;
}

.hero-blob-1 {
    width: 350px;
    height: 350px;
    top: 30%;
    left: 15%;
    opacity: 0.6;
}

@keyframes swirl-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wave-float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--border-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

.hero-badge i {
    color: #061328;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--color-text-dark);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-dark-secondary);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-dark-muted);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: linear-gradient(to top, var(--color-accent-glow), transparent);
    filter: blur(40px);
    pointer-events: none;
}

.hero-image-carousel {
    background: var(--color-white);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
}

.hero-image-carousel .hero-carousel-viewport {
    position: relative;
}

.hero-image-carousel .hero-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-image-carousel .hero-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    background: var(--color-light);
    aspect-ratio: 8 / 9;
}

.hero-image-carousel .hero-carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

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

/* Hero Light Theme Overrides */
.hero .btn-link {
    color: var(--color-text-dark-secondary);
    text-decoration: underline;
}

.hero .btn-link:hover {
    color: var(--color-primary);
}

.hero .stat-label {
    color: var(--color-text-dark-muted);
}

.hero .stat-divider {
    background: rgba(0,0,0,0.1);
}

.hero .hero-badge {
    background: rgba(21, 59, 104, 0.05);
    border-color: rgba(21, 59, 104, 0.1);
}

.hero .scroll-indicator {
    color: var(--color-text-dark-muted);
}

.hero .hero-grid {
    background-image: 
        linear-gradient(rgba(21, 59, 104, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 59, 104, 0.03) 1px, transparent 1px);
}

/* ==========================================================================
   Page Hero (Internal Pages)
   ========================================================================== */

.page-hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

.page-hero-small {
    padding: 160px 0 80px;
}

.page-hero-content {
    max-width: 700px;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.page-hero-description {
    font-size: 1.25rem;
    color: var(--color-text-dark-secondary);
}

/* Page Hero Badge - light theme styling */
.page-hero .hero-badge {
    background: var(--border-subtle);
    border: 1px solid var(--border-accent);
    color: var(--color-accent);
}

/* Page Hero with Logo - Reusable */
.page-hero.has-logo .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-logo-container {
    display: none;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Doctor Hero
   ========================================================================== */

.doctor-hero {
    position: relative;
}

.doctor-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doctor-hero-image-container {
    display: none;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Announcement Banner
   ========================================================================== */

.announcement-banner {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Announcement Type Variants */
.announcement-info {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.announcement-warning {
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.announcement-danger {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.announcement-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-content p {
    margin: 0;
    font-size: 0.9375rem;
}
