/* 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: center;
align-items: center;
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 !important;
    transition: background-color 0.3s ease;
}
#navbar {
transition: background-color 0.3s ease;
}

#navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Untuk scroll pada navigasi collapse */
.navbar-nav .nav-item {
    margin: 0.2rem 0;
}
/* end navbar */
/* carousel */
.header-carousel {
position: relative;
z-index: 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;
}
/* end carousel */
/* menu list */
/* ---- grid ---- */

.grid {
  max-width: 1200px;
  margin: 0 auto;
  box-shadow:0px 0px 2px #888;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
  width:20px;
}

.grid-item {
  margin:5px;
}

.one-to-one   { width: 150px; height: 150px; }
.one-to-two   { width: 150px; height: 300px; }
.two-to-one   { width: 300px; height: 150px; }
.two-to-three { width: 150px; height: 225px; }
.three-to-two { width: 225px; height: 150px; }
.three-to-five{ width: 150px; height: 250px; }
.five-to-three{ width: 250px; height: 150px; }
.four-to-five { width: 150px; height: 187.5px; }
.five-to-four { width: 187.5px; height: 150px; }
.five-to-eight{ width: 150px; height: 240px; }
.eight-to-five{ width: 240px; height: 150px; }
/* Untuk layar besar */
@media (min-width: 1200px) {
    .custom-btn-menu {
        width: 18%; /* Ukuran untuk layar besar */
        height: 200px;
        font-size: 1.2vw;
    }
}
/* Untuk layar medium */
@media (min-width: 768px) and (max-width: 1199px) {
    .custom-btn-menu {
        width: 30%; /* Ukuran untuk layar medium */
        height: 150px;
        font-size: 1.5vw;
    }
}
/* Untuk layar kecil */
@media (max-width: 767px) {
    .custom-btn-menu {
        width: 25%; /* Ukuran untuk layar kecil */
        height: 75px;
        font-size: 2.5vw;
    }
}
/* Style umum untuk tombol */
.custom-btn-menu {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(18, 143, 139, 0.7);;
    color: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px;
}
.hover-menu {
    background-color: #128f8b !important;
    transition: background-color 0.3s ease;
}
/* end menu list */
/* Backgorund Curva */
@media (min-width: 992px) {
    .content-section {
        margin-top: 50px; /* Sesuaikan margin untuk layar besar */
        
    }
    .kabar{
        margin-top: 50px; /* Sesuaikan margin untuk layar besar */
        margin-bottom: 0;
    }
}
/* Margin untuk layar kecil (sm dan md) */
@media (max-width: 991px) {
    .content-section {
        margin-top: 50px; /* Sesuaikan margin untuk layar kecil */
    }
    .kabar{
        margin-top: -20px; /* Sesuaikan margin untuk layar kecil */
        margin-bottom: 0;
    }
}

/* Styling untuk container kurva atas dan bawah */
.container-kurva-atas,
.container-kurva-bawah {
    width: 100%;
    height: auto;
    max-width: 1920px;
    display: block;
    margin: 0 auto;
    position: relative;
}
.container-kurva-atas {
    z-index: 1;
    overflow: hidden;
}
.container-kurva-bawah {
    z-index: 1;
    overflow: hidden;
}
/* Untuk layar besar (min-width: 1200px) */
@media (min-width: 1200px){
    .container-kurva-atas {
        /* margin-top: -350px; */
        margin-top: -20%;
        /* margin-bottom: -650px; */
    }
}

/* Untuk layar sedang (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .container-kurva-atas {
        margin-top: -20%;
        /* margin-bottom: -500px; */
    }
}
/* Untuk layar kecil (max-width: 768px) */
@media (max-width: 768px) {
    .container-kurva-atas {
        margin-top: -20%;
        /* margin-bottom: -100px; */
    }
}
/* Untuk layar besar (min-width: 1200px) */
@media (min-width: 1200px){
    .container-kurva-bawah {
        margin-top: -40%;
        /* margin-bottom: -650px; */
    }
}

/* Untuk layar sedang (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .container-kurva-bawah {
        margin-top: -40%;
        /* margin-bottom: -500px; */
    }
}

/* Untuk layar kecil (max-width: 768px) */
@media (max-width: 768px) {
    .container-kurva-bawah {
        margin-top: -40%;
        /* margin-bottom: -200px; */
    }
}
.kurva-atas,
.kurva-bawah {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 1920px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}
/* konten utama */
.konten-utama {
    background-color: #128f8b;
    width: 100%;
    max-width: 1920px;
    padding: 0;
    margin-top: -5px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -50%;
}
.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; */
}
.card-list-berita .card-item-berita .card-link-berita{
    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;
    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 */
/* end konten utama */

/* latepost */
/* Untuk layar besar (min-width: 1200px) */
/* Badge styling */
@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 */
/* testimoni */
.testimoni{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* max-width: 1920px; */
    background: #128f8b;
    /* border-radius: 35px; */
}
.card-wrapper-testimoni{
    max-width: 1400px;
    margin-left: 70px;
    margin-right: 70px;
    padding: 20px 10px;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rounded-card-testimoni {
    border-radius: 18px;
    /* width: 300px; */
    height: 420px;
    text-align: justify;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}
@media (min-width: 1200px) {
    .rounded-card-testimoni {
        width: 300px;
    }
}
/* Untuk layar medium */
@media (min-width: 768px) and (max-width: 1199px) {
    .rounded-card-testimoni {
        width: 250px;
    }
}
/* Untuk layar kecil */
@media (max-width: 767px) {
    .rounded-card-testimoni {
        width: 220px;
    }
}
.shadow-custom {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image-custom {
    height: 120px;
    width: 120px;
    padding: 0;
    margin-top: 50px;
    /* margin-bottom: 20px; */
    object-fit: cover;
    border-radius: 500%;
}
.card-text-testimoni{
    font-size: 16px;
    text-align: center;
    border: none;
    margin: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: -5;
}
.nama-testimoni{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 8px;
    margin-top: -5px;
}
.posisi-testimoni{
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 8px;
    font-weight: 100;
    font-style: italic;
    text-align: center;
}
/* end testimoni */
/* Follow Us */
@media (min-width: 992px){
    .sosmed{
        margin-top: 150px;
        margin-bottom: 0;
    }
}
@media (max-width: 991px) {
    .sosmed{
        margin-top: 100px;
        margin-bottom: 0;
    }
}
@media (max-width: 767px) {
    .sosmed {
        margin-top: 200px;
        margin-bottom: 0;
    }
}
/* End Follow Us */
/* konten sosmed */
.follow-us{
    position: relative;
    z-index: 10;
}
@media (min-width: 992px){}
    .follow-us{
        margin-top: 150px;
        margin-bottom: 0;
    }
@media (max-width: 991px) {
    .follow-us{
        margin-top: 300px;
        margin-bottom: 0;
    }
}
@media (max-width: 767px) {
    .follow-us {
        margin-top: 100px;
        margin-bottom: -100px;
        font-size: small;
    }
}
@media (min-width: 768px) {
    .card-sosmed {
        width: 100%;
    }
}

@media (min-width: 384px) and (max-width: 768px) {
    .card-sosmed {
        width: 100%;
    }
}

@media (max-width: 384px) {
    .card-sosmed {
        width: 100%;
    }
}
.card-konten-sosmed {
    border: none;
    align-items: center;
    justify-content: center;
                    
}

.card-img-sosmed {
    border-radius: 10px;
}

.card-h5-sosmed {
    font-weight: bold;
    margin-bottom: 5px;
}

.card-p-sosmed {
    color: #6c757d;
    margin-bottom: 0;
}
/* end konten sosmed */
/* mitra */
.mitra{
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-wrapper-mitra{
    max-width: 1400px;
    margin-left: 70px;
    margin-right: 70px;
    padding: 20px 10px;
    overflow: hidden;
    display: flex;
    border: none;
}
.rounded-card-mitra {
    align-items: center;
    justify-content: center;
    border: none;
    width: 100%;
    height: auto;
}

.rounded-card-mitra img {
    width: auto;
    height: 100px;
}

/* end mitra */
/* 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%;

}

@media (min-width: 1200px) {
    .alamat {
        width: 300px;
        height: auto;
    }
}
/* Untuk layar medium */
@media (min-width: 768px) and (max-width: 1199px) {
    .alamat {
        width: 250px;
        height: auto;
    }
}
/* Untuk layar kecil */
@media (max-width: 767px) {
    .alamat {
        width: 220px;
        height: auto;
    }
}
/* end footer */
/* pop up */
#popup {
display: none; /* Hide by default */
position: fixed;
margin-top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 15;
}

/* Pop-up box */
.popup-content {
    margin-top: 5%;
    position: relative;
    /* width: 100%; */
    /* max-height: 500px;
    width: auto; */
    background: none;
    border-radius: 10px;
    text-align: center;
    box-shadow: #000000;
    overflow: hidden;
}
@media (min-width: 1200px) {
    .popup-content {
        width: auto;
        height: 450px;
        margin-left: 10px;
        margin-right: 10px;
    }
}
/* Untuk layar medium */
@media (min-width: 768px) and (max-width: 1199px) {
    .popup-content {
        width: auto;
        height: 300px;
        margin-left: 10px;
        margin-right: 10px;
    }
}
/* Untuk layar kecil */
@media (max-width: 767px) {
    .popup-content {
        width: auto;
        height: 300px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Close button */
.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff5c5c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}
/* end Pop Up */
/* 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 */