p {
    font-family: Helvetica;
    font-size: 18px;
}
.main-nav{
    background-color: #c2c2c2ec;
}
.main-nav .navbar-nav a.nav-link {
    color: #000000;
    font-weight: 600;
}
.main-nav .navbar-nav .nav-link.active,.main-nav .navbar-nav .nav-link:hover{
    color: #008aca;
}

.navbar-logo {
    height: 50px;
    margin-left: 20px;
    object-fit: contain;
}

label {
    font-family: sans-serif;
    font-size: 1rem;
    padding-right: 10px;
}
select {
    font-size: 0.9rem;
    padding: 2px 5px;
}

h2.main-judul::after {
    margin: auto;
    margin-top: 20px;
    display: block;
    border-bottom: 10px#ffc300;
    border-radius: 2px;
    width: 100px;
    content: "";
}
.main-grey {
        background-color: #eaeaea;
        padding-top: 20px;
        padding-bottom: 40px;
}
.main-atas-judul {
    color: #999;
    font-size: 22px;
    font-weight: 600;
}
.main-atas-judul-kanan {
    color: #999;
    font-size: 22px;
    font-weight: 600;
}
.text-justify p {
    text-align: justify;
}

/* .main-biru{
    color: #fff;
    padding-top: 50px; 
    } */
.main-biru {
    background-color: transparent;
    padding-top: 50px; 
    position: relative;
    background: none;
    overflow: hidden;
}

.main-biru::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(81, 178, 203, 0.2)), url('/pic/sawah-2.jpg'); */
    background-image: url('/pic/sawah-2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

/* Konten tetap di atas background */
.main-biru > * {
    position: relative;
    z-index: 1;
}

/* untuk kolaborasi */
/* #main-kolaborasi img{
    max-height: 50px;
    max-width: 150px;
}
#main-kolaborasi a{
    display: inline-block;
    word-spacing: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
} */

.img-fluid {
    max-width: 100%;
    width: 60%;
    height: auto;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .image-style {
        width: 100%;
        height: auto;
    }
    .text-center img {
        margin-bottom: 20px;
    }
}

.image-style {
    max-width: 100%;
    width: 700px;
    height: 400px;
    border-radius: 30px;
}

.custom-carousel-wrapper {
    width: 100%;
    max-width: 1000px; /* Lebar carousel */
    height: 600px;      /* Tinggi carousel */
    margin: auto;       /* Opsional: agar carousel di tengah halaman */
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative; /* Diperlukan untuk memposisikan caption */
    border-radius: 10px;
    overflow: hidden;
  }

  .custom-carousel-wrapper .carousel,
  .custom-carousel-wrapper .carousel-inner,
  .custom-carousel-wrapper .carousel-item {
    height: 100%; /* Membuat semua elemen mengisi tinggi wrapper */
  }

  .custom-carousel-wrapper .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar menutupi area tanpa distorsi */
  }
  
  /* 2. Mengatur agar caption dan tombol berada di tengah */
  .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex; /* Menggunakan flexbox untuk centering */
    flex-direction: column;
    justify-content: flex-end; /* Center vertikal */
    align-items: center;     /* Center horizontal */
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2); /* Latar belakang gelap transparan agar teks mudah dibaca */
    color: white; /* Mengubah warna teks default agar kontras dengan gambar */
  }

  .custom-carousel-container {
    max-width: 1250px;      /* Lebar yang diinginkan */
    max-height: 600px;          /* Tinggi yang diinginkan */
    margin: auto;           /* Opsional: agar carousel di tengah halaman */
    margin-top: 20px;
    border-radius: 1.5rem;  /* Membuat sudut membulat */
    overflow: hidden;       /* Penting! Agar gambar di dalamnya mengikuti sudut rounded */
}

/* Kode tambahan untuk memastikan gambar mengisi area dengan benar */
.custom-carousel-container .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Membuat gambar menutupi area tanpa distorsi */
}

.modal-custom-size {
    max-width: 1000px; /* Lebar modal */
    width: 100%;
}

.modal-custom-size .modal-content {
    height: 600px; /* Tinggi modal */
}

.modal-custom-size .modal-body {
    overflow-y: auto; /* Membuat konten bisa di-scroll jika lebih panjang */
}
.main-footer {
    color: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/pic/patern-1.jpg");
    display: flex;
    align-items: center;
}
.img-footer {
    position: relative;
    margin-left: 30px;
    width: 50%;
    height: 90%;
}

