/* Font Family */
.font-primary {
font-family: 'Poppins', sans-serif;
}
.font-anton {
font-family: 'Anton', sans-serif;
}
.font-antonio {
font-family: 'Antonio', sans-serif;
}

/* Rotation */
.rotate-5 {
transform: rotate(5deg);
}
.rotate-2 {
transform: rotate(2deg);
}
.rotate-min {
transform: rotate(-2deg);
}

/* Custom Colors */
.bg-custom{
    background-color: #f8f5eb;
}
.bg-primary-custom {
background-color: #128f8b;
}
.bg-nav-left-custom {
background-color: #ff3131;
}
.bg-nav-bg-custom {
background-color: #152039;
}
.bg-transparent-color-custom {
background-color: rgba(255, 255, 255, 0);
}
.bg-white-transparent-custom {
background-color: rgba(255, 255, 255, 0.5);
}
.bg-white-transparent-3-custom {
background-color: rgba(255, 255, 255, 0.3);
}
.bg-primary-transparent-custom {
background-color: rgba(18, 143, 139, 0.7);
}
.bg-yellow-cstm-custom {
background-color: #ff9b25;
}
.text-yellow-cstm-custom {
-webkit-text-fill-color: #febd02;
}
.bg-yellow-white-custom {
background-color: #febd02;
}
.yellow-white-gradient {
background: linear-gradient(to bottom,  #ff9b25, #febd02);
}
.bg-primary-grad-custom {
background: linear-gradient(to right, #00cfc9, #157c7c);
}
/* rounded  default*/
.rounded-card {
border-radius: 30px;
}
/* navbar */
.navbar-brand.d-lg-none {
display: flex;
justify-content: start;
align-items: start;
height: 100%; /* Pastikan ketinggian sesuai dengan navbar */
}
.navbar-brand.d-lg-none img {
max-height: 100px;
padding-top: 0;
}
.navbar-gradient {
background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0)); /* Gradasi dari putih ke transparan */
}
@media (min-width: 991.98px) {
.facts {
    position: relative;
    margin-top: -95px;
    z-index: 1;
}
}
.nav-link:hover {
    background-color: grey;
    transition: background-color 0.3s ease;
}
#navbar {
transition: background-color 0.3s ease;
}

#navbar.scrolled {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.carousel-item {
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 1200px) {
    .badge-latepost {
        margin-top: 30px;
        margin-left: 100px;
        width: 250px;
        height: fit-content;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .badge-latepost {
        margin-top: 30px;
        margin-left: 50px;
        width: 250px;
        height: fit-content;
    }
}

@media (max-width: 768px) {
    .badge-latepost {
        margin-top: 30px;
        width: 100%;
        height: fit-content;
    }
}

@media (min-width: 1200px) {
    .card-latepost {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .card-latepost {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .card-latepost {
        width: 100%;
    }
}
.card-konten-latepost {
    border: none;
}

.card-img-latepost {
    border-radius: 10px;
    width: 120px;
    height: 100px;
}

.card-h5-late-post {
    font-weight: bold;
    margin-bottom: 0;
}

.card-p-latepost {
    color: #6c757d;
    margin-bottom: 0;
}
@media (min-width: 1200px) {
    .row .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .row .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .row .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
/* end latepost */
/* berita slider */
.konten-utama {
    background-color: #febd02;
    width: 100%;
    max-width: 1920px;
    padding: 0;
    margin-top: -5px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.berita{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* max-width: 1920px; */
    background: #febd02;
}
.card-wrapper-berita{
    max-width: 1100px;
    /* margin: 0 40px 35px; */
    margin-left: 50px;
    margin-right: 50px;
    padding: 20px 10px;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-list-berita .card-item-berita{
    list-style: none;
    /* margin: auto; */
}
.cont-kabar{
    user-select: none;
    /* width: 350px; */
    margin: 15px;
    display: block;
    background: white;
    border-radius: 18px;
    text-decoration: none;
    /* border: 2px solid transparent; */
    box-shadow: 0 10px 10px rgb(0, 0, 0, 0.05);
}
@media (min-width: 1200px) {
    .card-list-berita .card-item-berita .card-link-berita {
        width: 300px;
    }
}
/* Untuk layar medium */
@media (min-width: 768px) and (max-width: 1199px) {
    .card-list-berita .card-item-berita .card-link-berita {
        width: 250px;
    }
}
/* Untuk layar kecil */
@media (max-width: 767px) {
    .card-list-berita .card-item-berita .card-link-berita {
        width: 200px;
        margin: auto;
    }
}
.card-list-berita .card-link-berita .card-image-berita {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
}
.card-list-berita .card-link-berita .card-judul-berita{
    color: black;
    margin: 12px;
    /* padding: 2px 2px; */
    font-size: 18px;
    font-weight: 700;
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-list-berita .card-link-berita .card-konten-berita {
    color: black;
    font-size: 12px;
    text-align: start;
    border: none;
    margin: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-list-berita .card-link-berita .card-button-berita {
    background-color: #ff9b25;
    color: white;
    font-size: 14px;
    width: 80px;
    border-radius: 18px;
    border: none;
    margin: 8px;
    text-align: center;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}
.card-list-berita .card-link-berita .date-update {
    color: grey;
    font-size: 14px;
    text-align: justify;
    border-radius: 18px;
    border: none;
    margin: 14px;
    margin-top: -3px;
    padding-bottom: 8px;
}
.swiper-button-prev, .swiper-button-next {
    height: 50px;
    width: 50px;
    /* opacity: ; */
    background: #ffffff;
    color: black;
    border-radius: 50%;
    text-align: center;
    justify-content: center;
    
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
}
.card-wrapper-berita .swiper-pagination-bullet-active {
    opacity: 1;
    
}

/* end berita */
/* footer */
.container-footer {
    max-width: 1100px;
    /* margin: 0 40px 35px; */
    margin-left: 50px;
    margin-right: 50px;
    padding: 20px 10px;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-footer {
    width: 100%;

}
/* end footer */
/* customer */
.customer-btn {
position: fixed;
bottom: 0; /* Jarak dari bawah */
right: 20px;  /* Jarak dari kanan */
border: none;
cursor: pointer;
transition: transform 0.3s ease;
z-index: 20;
overflow: hidden;
}
.customer-btn:hover {
transform: scale(1.1);
}
.whatsapp-btn {
position: fixed;
bottom: 20px; /* Jarak dari bawah */
right: 20px;  /* Jarak dari kanan */
background-color: #25D366;
color: white;
border: none;
border-radius: 50%;
padding: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: transform 0.3s ease;
z-index: 20;
width: 50px;
height: 50px;
}

/* Ikon WhatsApp */
.whatsapp-btn i {
    font-size: 28px;
}

/* Efek hover untuk tombol */
.whatsapp-btn:hover {
    transform: scale(1.1);
}
/* end customer */
@media only screen and (max-width: 768px) {
    .nav-list li {
        width: 100%; /* Lebar penuh */
        margin-bottom: 5px; /* Tambah margin antar li */
    }
}

@media (min-width: 1200px) {
    .content-utama {
        margin-top: 2%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .content-utama {
        margin-top: 1%;
    }
}

@media (max-width: 768px) {
    .content-utama {
        margin-top: 10%;
    }
}
.swiper-container {
    width: 80%;
    height: auto;
    margin: 20px auto;
}

.swiper-slide img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.swiper-button-next, .swiper-button-prev {
    background-color: white;
    border-radius: 50px;
    color: black;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.1);
}


.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px;
    padding: 8px;
}


.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}
#navbar-kategori {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
}
#navbar-kategori::-webkit-scrollbar {
    display: none;
}