/* ============================================
   Hero Section Styling
============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
}

/* Background Video/Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 40, 80, 0.55);
    backdrop-filter: blur(2px);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-md);
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    animation: slideInDown 1.5s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    color: #f3f3f3;
    animation: fadeInUp 1.8s ease;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 2.2s ease;
}

/* Optional Animated Globe / SDG Icon */
.hero-visuals {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 3;
}

.globe-animate {
    width: 60px;
    height: 60px;
    opacity: 0.9;
    animation: spinGlobe 18s linear infinite;
}

/* -----------------------------
   Animations
----------------------------- */
@keyframes spinGlobe {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* -----------------------------
   Responsive Design
----------------------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .globe-animate {
        width: 70px;
        height: 70px;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
