* {
    font-family: 'Poppins', sans-serif;
}

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

/* Custom hover animation for links */
footer a {
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* about page */

 .fade-in {
        animation: fadeIn 1s ease-in;
    }

    @keyframes fadeIn {
        0% { opacity: 0; transform: translateY(20px); }
        100% { opacity: 1; transform: translateY(0); }
    }

 /* Optional: Custom hover effect for cards */
 .group {
     transform: translateY(0);
     transition: all 0.3s ease;
 }

 .group:hover {
     transform: translateY(-5px);
 }

 /* Custom Swiper Styles */
.swiper {
    width: 100%;
    height: 600px;
    border-radius: 24px;
}

/* Perbaikan style untuk navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none; /* Hide default arrows */
}

.swiper:hover .swiper-button-prev,
.swiper:hover .swiper-button-next {
    opacity: 1;
}

.swiper-button-prev {
    left: 20px !important;
}

.swiper-button-next {
    right: 20px !important;
}

/* Reset default Swiper pagination styles */
.swiper-pagination-bullet {
    background: none !important;
    opacity: 1 !important;
    margin: 0 !important;
}

/* Modern Lines Style */
.swiper .swiper-pagination {
    bottom: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

.swiper .swiper-pagination-bullet {
    width: 24px !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.swiper .swiper-pagination-bullet-active {
    background: #FF5722 !important;
}

.swiper .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #FF5722;
    animation: progressBar 5s linear;
}

@keyframes progressBar {
    0% { width: 0; }
    100% { width: 100%; }
}

 /* Optional: Add hover effect for images */
 .team-image::after {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .group:hover .team-image::after {
     opacity: 1;
 }

 /* project style */
  /* Filter Button Styles */
 .filter-btn {
     background-color: #f3f4f6;
     border: 1px solid transparent;
 }

 .filter-btn.active {
     background-color: #FF5722;
     color: white;
 }

 .filter-btn:hover:not(.active) {
     border-color: #FF5722;
     color: #FF5722;
 }

 /* Optional: Add animation for cards */
 .project-card {
     opacity: 0;
     transform: translateY(20px);
     transition: all 0.3s ease;
     animation: fadeInUp 0.6s forwards;
 }

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


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

.project-card {
transition: opacity 0.3s ease;
}

.project-image.loaded {
animation: fadeIn 0.5s ease;
}


/* Add to your CSS file */
.video-card::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.video-card:hover::after {
opacity: 1;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.video-lightbox {
animation: fadeIn 0.3s ease;
}

/* Optional: Add loading animation */
.video-loading {
position: relative;
}

.video-loading::before {
content: '';
position: absolute;
inset: 0;
background: rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
animation: pulse 1.5s infinite;
}

@keyframes pulse {
0% { opacity: 0.5; }
50% { opacity: 0.8; }
100% { opacity: 0.5; }
}
