/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(130px + var(--spacing-xl)) 0 var(--spacing-xl);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 2;
}

.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 64, 175, 0.8);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-btn:hover {
    background: #1e40af;
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-btn.prev {
    left: 20px;
}

.hero-carousel-btn.next {
    right: 20px;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-carousel-dots .hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-carousel-dots .hero-dot.active {
    background: #1e40af;
    transform: scale(1.3);
    border-color: #1e40af;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    color: var(--highlight);
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-gray);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(74, 95, 255, 0.85) 0%, rgba(107, 127, 255, 0.75) 50%, rgba(74, 95, 255, 0.85) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(107, 127, 255, 0.75) 0%, rgba(74, 95, 255, 0.85) 50%, rgba(107, 127, 255, 0.75) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(74, 95, 255, 0.85) 0%, rgba(107, 127, 255, 0.75) 50%, rgba(74, 95, 255, 0.85) 100%);
    }
}
