.img-logo {
    height: 320px;
    transition: all 0.4s ease;
}

.video-background {
    position: relative;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    color: white;
    text-align: start;
}

.content {
    z-index: 1;
    padding: 2rem;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 30vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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

.section-impact {
    background: var(--bs-primary);
    padding: 1.5rem;
    border-radius: 1.5rem;
    /* border-bottom-right-radius: 2rem; */
    transition: all 0.5s ease;
}

.card:hover .section-impact {
    background: var(--bs-primary) !important;
}
.section-impact h3 {
    font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

.section-impact p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: all 0.5s ease;
}

.card:hover .section-impact p {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}

/* Responsiveness */

@media (max-width: 768px) {
    .video-section {
        height: 60vw;
    }
}

@media (max-width: 768px) {
    .overlay h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .overlay p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .video-section {
        height: 80vw;
    }
}

@media (max-width: 576px) {
    .overlay h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .overlay p {
        font-size: 1rem;
    }
}

/* Custom CSS untuk tombol carousel */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(
        193,
        18,
        31,
        0.5
    ) !important; /* Warna #c1121f dengan transparansi */
    backdrop-filter: blur(5px); /* Efek glass */
    -webkit-backdrop-filter: blur(5px); /* Untuk browser WebKit */
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(193, 18, 31, 0.7);
}

/* Mengatur ukuran dan warna ikon */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 100%, 100%;
}

/* Untuk layar kecil (mobile) */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}
