.navbar-nav .nav-link {
    color: #58b854;
}

.btn {
    padding: 10px 20px;
}

.hidden {
    display: none !important;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
    font-size: 1.5rem;
}

.btn-close-white {
    filter: invert(1);
}

.navbar-toggler {
    z-index: 1050;
}

@media (max-width: 991px) {
    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        background-color: #525252dc;
        border-top-left-radius: 25px;
        border-bottom-left-radius: 25px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        position: absolute;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        z-index: 9999;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px;
        color: white;
    }

    .navbar-nav .btn-masuk {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 5px;
        width: 70px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px auto;
    }
}

.col-md-6 h2 {
    font-size: 40px;
}

@media (max-width: 992px) {
    .col-md-6 h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .col-md-6 h2 {
        font-size: 25px;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
    margin: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.75);
}

.carousel-inner img {
    width: 100%;
    height: auto;
    max-height: 654px;
    object-fit: cover;
}

p {
    text-align: justify;
    margin-right: 25px;
    margin-left: 25px;
    margin-top: 10%;
    text-indent: 30px;
}

h2 {
    color: #3f9132;
    font-weight: bold;
    font-size: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-filter:hover {
    background-color: #146714;
}

.produk-section {
    clear: both;
    width: 100%;
    text-align: center;
}

.produk-title {
    text-align: center;
    color: #535353;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
    width: 100%;
    text-shadow: 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.5);
}

.cards-container {
    display: none;
    justify-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 20px;
}

.cards-container.active {
    display: flex;
    flex-wrap: wrap;
}

.btn-filter {
    margin: 5px 15px 5px 15px;
    padding: 10px 20px;
    background-color: #58b854;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

.card {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 10px;
    margin: 0;
    flex: 1 1 23%;
    max-width: 23%;
}

.card img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
}

.card-body {
    padding-top: 5px;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #535353;
    margin-bottom: 10px;
    text-align: center;
}

.card-subtitle {
    font-size: 0.8rem;
    color: #999;
    text-align: left;
    margin-left: -25px;
    padding-left: -25px;
    margin-bottom: -25px;
    margin-top: 15px;
}

.card-price {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    text-align: left;
    margin-left: -25px;
    padding-left: -25px;
}

.btn-lanjutkan {
    display: inline-block;
    background-color: #f8f8f8;
    padding: 5px 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-lanjutkan:hover {
    background-color: #ddd;
}

.btn-lanjutkan span {
    font-size: 1rem;
    margin-left: 5px;
}

@media (max-width: 991px) {
    .card {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 576px) {
    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 890px) {
    .btn-filter {
        padding: 8px 10px;
        font-size: 14px;
        margin-right: 5px;
        margin-left: 5px;
    }
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #58b854;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 90px;
}

.btn-whatsapp i {
    margin-right: 8px;
}

.btn-whatsapp:hover {
    background-color: #20b858;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover .btn-whatsapp {
    background-color: #20b858;
}

@media (max-width: 991px) {
    .btn-whatsapp {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        padding: 0;
        font-size: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        margin-bottom: 50px;
    }

    .btn-whatsapp i {
        font-size: 28px;
        margin-right: 0;
    }

    .whatsapp-float {
        bottom: 100px;
        right: 10px;
    }
}
