* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Warna gelap transparan */
    z-index: -1;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 20vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: subtleMove 20s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

@keyframes subtleMove {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.logo-container {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.logo-icon {
    font-size: 5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.description {
    font-size: 1.1rem;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.btn-group-custom {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-group-custom .btn {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

.btn-group-custom .btn i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .btn-group-custom .btn {
        padding: 0.6rem 1.8rem;
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 4rem;
    }

    .btn-group-custom {
        flex-direction: column;
        align-items: center;
    }
}

/* Floating elements decoration */
.floating-element {
    position: absolute;
    z-index: 3;
    opacity: 0.4;
    color: white;
    animation: float 4s ease-in-out infinite;
}

.floating-1 {
    top: 15%;
    left: 10%;
    font-size: 2rem;
    animation-delay: 0s;
}

.floating-2 {
    top: 25%;
    right: 15%;
    font-size: 1.5rem;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 20%;
    left: 15%;
    font-size: 1.8rem;
    animation-delay: 2s;
}

.floating-4 {
    bottom: 30%;
    right: 10%;
    font-size: 2.2rem;
    animation-delay: 1.5s;
}

/* Footer Styles */
.footer-text {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    z-index: 3;
    font-size: 0.9rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-text p {
    margin: 0;
}