/* Beranda Styles - Custom CSS untuk halaman beranda */

/* Animasi fade in untuk konten */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}



/* Animasi untuk hero content */
.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Animasi untuk client section */
.client-section {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hover effect untuk CTA button dengan animasi lebih smooth */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Loading animation untuk video */
.video-background {
    transition: opacity 0.5s ease-in-out;
}

/* Styles untuk card pada additional content */
.card {
    transition: all 0.3s ease;
    border: none !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.card .bi {
    transition: all 0.3s ease;
}

.card:hover .bi {
    animation: pulse 1s ease-in-out;
}

/* Responsive text adjustments */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .client-section {
        bottom: 30px;
    }
}

/* Loading state untuk video */
.video-background[loading] {
    opacity: 0;
}

/* Fallback untuk browser yang tidak support video */
.no-video .hero-section::before {
    background: linear-gradient(135deg, #20B2AA 0%, #008B8B 50%, #48D1CC 100%);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar untuk webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
