/* Wrapper utama untuk memastikan footer berada di bawah */
.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Memastikan wrapper mengambil setidaknya 100% dari tinggi layar */
}

/* Konten bisa berkembang tapi tetap memberi ruang untuk footer */
.content {
    flex-grow: 1; /* Konten akan mengisi ruang yang tersisa */
}
.article-text {
    color: #0C2C5A;
}
/* Footer */
footer {
    background-color: #0C2C5A;
    color: #fff;
}

footer a {
    color: #ffc107;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}



.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    z-index: 10;
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    background-size: 100% 100%;
}

@media (max-width: 768px) {
    .carousel-control-prev {
        left: 0; /* atau max -15px */
    }

    .carousel-control-next {
        right: 0; /* atau max -15px */
    }
    .card {
        height: fit-content;
    }
}

.card-hover-zoom {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 3px 8px rgba(200, 200, 200, 0.3);
}

.card-hover-zoom:hover {
    transform: scale(1.2);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(150, 150, 150, 0.3);
}

.carousel-inner,
.carousel-item {
    overflow: visible !important;
}
/* Custom Pagination Styles */
.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    border-radius: 50%;
    padding: 10px 15px;
    color: #212529; /* Default text color */
    background-color: transparent;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    border-color: #b5b5b5;
}

/* Active page with custom color */
.pagination .page-item.active .page-link {
    background-color: #0C2C5A; /* Active page background color */
    border-color: #0C2C5A; /* Border color to match the active page background */
    color: #fff; /* White text for contrast */
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    pointer-events: none;
}
