

/* Section styling */
.about-area {
    background-color: #f8f9fa;
    padding: 80px 0 100px;
}

/* Container and content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Carousel container */
.carousel {
    position: relative;
    margin-top: 3rem;
    padding: 0 60px;
}

/* Image container styling */
.carousel-image-container {
    padding: 20px;
}

/* Image group styling */
.image-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* Spacing between images */
    margin: 0 auto;
}

.image-group img {
    width: calc(33.333% - 14px); /* For 3 images */
    height: auto; /* Mengubah dari fixed height menjadi auto */
    max-height: 500px; /* Menambahkan max-height sebagai batasan */
    object-fit: contain; /* Mengubah dari cover menjadi contain */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Control buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Hover effects */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(228, 60, 200, 0.8);
}

/* Indicators */
.carousel-indicators {
    position: relative;
    margin-top: 20px;
    margin-bottom: 0;
    bottom: auto;
}

.carousel-indicators button {
    width: 15px;  
    height: 15px; 
    border-radius: 50%;
    background-color: #121619; /* Warna abu-abu muda untuk indikator tidak aktif */
    margin: 0 8px;   
    border: none;
    opacity: 1; /* Pastikan opacity penuh */
    transition: all 0.3s ease; /* Animasi halus saat pergantian */
}

.carousel-indicators button.active {
    background-color: #EB3656; /* Warna biru untuk indikator aktif */
    width: 30px;    
    height: 15px;   
    border-radius: 10px;
}

/* Efek hover pada indikator */
.carousel-indicators button:hover {
    background-color: #cc2f2f; /* Warna saat hover di indikator tidak aktif */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel {
        padding: 0 30px;
    }
    
    .image-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-group img {
        width: 100%;
        max-height: 400px;
    }
}


.image-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

/* Container untuk efek hover */
.image-group img {
    width: calc(33.333% - 14px);
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease; /* Transisi halus untuk semua perubahan */
    cursor: pointer; /* Menunjukkan bahwa image bisa diinteraksi */
}

/* Efek hover pada gambar */
.image-group img:hover {
    transform: scale(1.05); /* Perbesar gambar sebesar 5% */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Bayangan lebih besar */
    z-index: 10; /* Memastikan gambar yang di-hover muncul di atas yang lain */
}

/* Efek saat scroll */
.carousel-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animasi fade in saat scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Class untuk trigger animasi */
.animate-on-scroll {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-group img {
        width: 100%;
        max-height: 400px;
    }
    
    .image-group img:hover {
        transform: scale(1.03); /* Efek zoom lebih kecil di mobile */
    }
}

.image-scroll-container {
    display: flex; /* Menggunakan flexbox untuk menyusun gambar dalam satu baris */
    overflow-x: auto; /* Mengizinkan scroll horizontal */
    padding: 10px 0; /* Ruang di atas dan bawah */
}

.image-scroll-container .row {
    display: flex; /* Menggunakan flexbox untuk baris */
    flex-wrap: nowrap; /* Mencegah pembungkusan ke baris baru */
}

.custom-card {
    border: 1px solid #ddd; /* Border untuk card */
    border-radius: 8px; /* Sudut membulat */
    overflow: hidden; /* Menghindari konten melampaui batas */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Bayangan */
    transition: transform 0.3s; /* Efek transisi saat hover */
    margin-right: 10px; /* Ruang antar card */
}

.custom-card img {
    width: 100%; /* Memastikan gambar memenuhi lebar card */
    height : auto; /* Mempertahankan rasio aspek gambar */
}

.custom-card:hover {
    transform: scale(1.05); /* Efek zoom saat hover */
}

.custom-card figcaption {
    padding: 10px; /* Ruang di dalam caption */
    text-align: center; /* Pusatkan teks */
    font-size: 14px; /* Ukuran font */
    color: #333; /* Warna teks */
    background-color: #f9f9f9; /* Latar belakang caption */
}



/*custom*/