/* Common Hero Section Animations */
@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes charFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Common Hero Section Styles */
.hero-section {
    position: relative;
    background-color: var(--navy);
    color: var(--white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 150%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% -50%, rgba(255, 215, 0, 0.35) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.2s forwards;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
}

.floating-shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--gold);
}

.floating-shape.square {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    transform: rotate(45deg);
}

.floating-shape.top-left {
    top: 10%;
    left: 5%;
}

.floating-shape.top-right {
    top: 15%;
    right: 5%;
    animation-delay: 1s;
}

.floating-shape.bottom-left {
    bottom: 10%;
    left: 8%;
    animation-delay: 2s;
}

.floating-shape.bottom-right {
    bottom: 15%;
    right: 8%;
    animation-delay: 3s;
}

/* Character Animation */
.char {
    display: inline-block;
    animation: charFloat 3s ease-in-out infinite;
}

/* Stats Animation */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white-50);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.2s forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .floating-shape {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}