/* Navbar */

/* Navbar saat di-scroll */
.navbar.nav-color {
  background-color: rgba(28, 28, 28, 0.8) !important;/* Hitam transparan */ 
  backdrop-filter: blur(15px); /* Memberikan efek kaca blur seperti web modern */
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 0; /* Padding mengecil */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gaya untuk link yang sedang aktif */
  .navbar-nav .nav-link.active {
    color: #e67e22 !important;
    font-weight: bold;
  }
/* End Navbar */

/* Jumbotron */
.jumbotron{
  background-image: url(img/soesilo_translator_jumbotron-bg.jpg);
  background-size: cover;
  height: 730px;
  text-align: left;
  background-position: 0 190px;
  margin-top: -190px;
  position: relative;
}

.jumbotron .container {
  z-index: 1;
  position: relative;
}

.jumbotron::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  position: absolute;
  bottom: 0;
} 

.jumbotron .display-4{
  color: white !important;
  margin-top: 290px;
  margin-left: 15px !important; 
  margin-left: 15px !important;
  font-weight: 300;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  font-size: 22px;
}

.jumbotron .display-4 span{
  font-weight: 500;
}

.jumbotron hr{
  margin-left: 10px;
  margin-top: 30px;
  height: 3px;
  border: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  width: 100%;
}

.jumbotron .btn{
  margin-left: 65px;
  margin-top: 10px;
}

.btn-whatsapp{
  margin-left: 35px;
  margin-top: 20px;
  display: inline-flex !important; /* WAJIB agar tombol muncul */
  align-items: center;
  background-color: #25d366 !important; /* Warna khas WhatsApp */
  color: white !important;
  padding: 10px 20px !important;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none !important;
  border-radius: 30px; /* Membuat sudut membulat/capsule */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Efek saat kursor diarahkan ke tombol */
.btn-whatsapp:hover {
  background-color: #128c7e !important; /* Warna lebih gelap saat hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); /* Tombol sedikit terangkat */
  color: white !important;
}

/* Menambahkan ikon WhatsApp sederhana via SVG (Opsional) */
.btn-whatsapp::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
/* End Jumbotron */

/*Section*/
section{
  min-height: 1500px;
}
.services {
  min-height: auto !important;
  padding-bottom: 80px;
}

.about{
  min-height: 553px;
}

.partner{
  min-height: 1215px;
}

.layanan{
  min-height: 1350px;
}

.layanan-main{
  min-height: 1842px;
}


.certificate{
  min-height: 1900px;
}

.services .card{
  min-height: 480px !important; /* Menjaga ukuran kartu layanan tetap sama */
}

.contact{
  min-height: 450px;
}

.footer{
  min-height: 100px;
}

.value{
  min-height: 600px;
}
/*End Section*/

/* Info Panel */
.info-panel{
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  margin-top: -181px;
  background-color: white;
  padding: 25px;
}

.info-panel img {
  width: 80px;
  margin-right: 20px;
}

.info-panel h1{
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
}

.info-panel h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 5px;
}

.info-panel p{
  font-size: 14px;
  color: #acacac;
  margin-top: -5px;
}
/*About Panel*/
.about-panel{
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  margin-top: -75px;
  background-color: white;
  padding: 25px;
}
/*End About Panel*/
/* End Info Panel */

/* Utility */
.button{
  text-transform: uppercase;
  border-radius: 15px;
}
/* End Utility */

/*Workingspace*/
.workingspace{
  margin: 100px 0;
}

.workingspace h2{
  margin-top: 15px;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 300;
}

.workingspace span{
  font-weight: 600;
}

.workingspace p{
  text-align: justify;
  margin: 25px 0;
}
/*End Workingspace*/

/*aboutus*/
.aboutus{
  margin: 100px 0;
}

.aboutus img{
  border-radius: 20px;
}
.aboutus h2{
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 34px;
  font-weight: 400;
}

.aboutus span{
  font-weight: 600;
}

.aboutus p{
  text-align: justify;
  margin: 25px 0 0 0;
}
/*End about*/

/*Value*/
.value{
  margin: 65px 0 0 0;
  text-align: center;
}

.value p{
  margin: 15px 0;
}

.value h2{
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

.value h4{
  font-weight: 350;
}

.value hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
/*End Value*/

/*Layanan*/
.layanan h2{
  text-transform: uppercase;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
}

.layanan h5{
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 15px;
}

.layanan hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.layanan p{
  text-align: center;
  margin-bottom: 10px;
}

.layanan th {
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.layanan-intro{
  margin: 65px 0 55px 0;
}

.layanan-intro p{
  margin-top: 20px;
}

.certificate-intro img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 11px;
}

.certificate-intro h5{
  margin-bottom: 35px;
}

.layanan-main{
  margin: 65px 0 65px 0;
  background-color: #f3f3f3;
}

.layanan-main h2{
  margin-top: 65px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}

.layanan-main hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.layanan-main p{
  margin-bottom: 50px;
  margin-top: 35px;
  line-height: 21pt;
}


.layanan-bahasa{
  margin: 65px 0px 65px 0px;
}

.layanan-bahasa h2{
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}

.layanan-bahasa hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  margin-bottom: 43px;
}

.layanan-bahasa img{
  border-width: 3px; 
  border-style: solid;
  border-color: black;
  border-radius: 13px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.layanan-bahasa p{
  text-align: center;
  text-transform: uppercase;
  margin-top: 10px;
}

/*End Layanan*/

/*intro*/
.intro{
  margin: 65px 0 65px 0;
}
.intro h2{
  text-transform: uppercase;
  font-size: 34px;
  font-weight: 400;
}

.intro span{
  font-weight: 600;
}

.intro h3{
  font-weight: 400;
}

.intro h5{
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.intro p{
  margin: 15px 0;
  text-align: justify;
}

.intro img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 11px;
}
/*Professional*/

/*Certificate*/
.certificate{
  background-color: #f3f3f3;
}

.certificate h2{
  margin-top: 65px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}

.card img{
  cursor: pointer;
  transition: .5s ease-in-out;
}

.card:hover img{
  filter: brightness(80%);
}

.certificate h6{
  text-transform: uppercase;
  text-align: center;
}

.certificate hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.certificate p{
  margin-top: 35px;
  line-height: 21pt;
}

#exampleModalLong .modal-img{
  width: 100%;
  height: auto !important;
  max-width: 100%;
  display: block;
}
/*End Certificate*/

/* --- Perbaikan Global Modal (Taruh di atas, di luar Media Query) --- */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

/* Pastikan backdrop (layar gelap) berada di posisi z-index yang benar */
.modal-backdrop {
  z-index: 1040 !important;
}
.modal {
  z-index: 1050 !important;
}

/*Services*/
.services{
  background-image: url('img/soesilo_translator_services_bg.png' );
  background-size: cover;
  background-attachment: fixed;
}

.card-custom{
  margin-top: 65px;
  border-radius: 20px;
  border-color: burlywood;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.card-custom:hover{
  transform: scale(1.1);
}

.card-header{
  text-align: center;
  background-color: transparent;
  border-bottom: none;
  text-transform: uppercase;
  border-radius: 20px 20px 0 0 !important;
  border-color: burlywood;
  padding: 20px; /* padding bawah dibuat 0 */
}

.card-header h5{
  font-weight: 400;
  margin-bottom: 15px;
}

/* New */
/* Update Header Kartu */
.card-header {
    text-align: center;
    background-color: transparent;
    border-bottom: none; /* Menghilangkan garis bawaan bootstrap jika ada */
    padding: 20px;
}

/* Container untuk Garis dan Gambar */
.header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}



/* Style untuk Garis di Kiri dan Kanan */
.header-divider .line {
    flex-grow: 1;
    height: 1px;
    background-color: burlywood; /* Sesuaikan warna dengan tema Anda */
}

/* Memastikan Gambar tetap di tengah dan tidak bergeser */
.header-divider img {
    flex-shrink: 0;
    position: static !important; /* Memaksa posisi kembali normal */
}

.card-header-img {
    align-items: center;
    gap: 10px;
    width: 100%;
    display: flex;
    margin: 15px auto; /* Margin atas-bawah 15px, kiri-kanan auto agar center */
    position: static !important;
    left: auto !important;
    top: auto !important;
}

.line-card {
    width: 80%; /* Lebar garis */
    height: 1px;
    border: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin: 10px auto;
}

.card-title {
  margin-top: 0 !important;
  margin-bottom: 15px; /* Jarak ke teks di bawahnya */
}

  .card-body h5{
  margin-top: 5px;
  text-align: center;
  text-transform: uppercase;
}
.card-body p{
  margin: 17px 0;
  text-align: justify;

}

/* Menyesuaikan jarak judul di dalam kartu */
  .card-body h5 {
    margin-top: -8px !important;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600; /* Membuat teks judul seperti 'TERJEMAHAN TERSUMPAH' lebih tegas */
  }
  
  /* 1. Kembalikan padding kartu di halaman utama agar tidak gepeng */
  .services .card-body {
    padding-top: 0 !important;
    padding-left: 1.5rem !important; ;
    padding-right: 1.5rem !important; ;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    text-align: center;
  }
/*End Services*/

/*Client*/
.client{
  margin-top: 20px;
  width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.client_header hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.partner h2{
  margin-top: 65px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
  font-size: 30px;
}

.client2{
  margin-top: 16px;
}

.client3{
  margin-top: 9px;
}

.client4{
  margin-top: 29px;
}

.client_header h5{
  margin-top: 80px;
  margin-bottom: 14px;
  font-weight: 400;
}

.client_header h4{
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.client_header h3{
  margin-top: 80px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.client_contact h3{
  margin-top: 50px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.client_contact h4{
  font-weight: 400;
  text-align: center;
  margin-bottom: 50px;
}

.client_contact hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.email h4{
  font-weight: 400;
  text-align: center;
}
/*End Client*/

/*Artikel*/
.artikel{
  background-color: #f3f3f3;
}

.artikel h2{
  margin-top: 65px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}

.artikel hr{
  width: 400px;
  height: 1px;
  border: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.artikel .order{
  display: flex;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  background-color: white;
  padding: 15px;
  margin-top: 45px;
  align-items: center; /* Menjaga angka tetap di tengah secara vertikal */
  border-right: 2px solid #eee;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  margin-right: 25px;
}

.artikel .one{
  background: #ffffff;
  border-radius: 50% !important;
  border-style: solid solid dashed dotted;
  border-color:#000000;
  color: #000000;
  font-weight: bold;
  line-height: normal !important;
  margin-right: 25px;
  text-align: center;
  width: 60px !important;
  height: 60px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;        /* WAJIB: Mencegah angka menjadi gepeng di layar kecil */
  display: flex; 
  align-items: center;   /* Angka di tengah vertikal */
  justify-content: center; /* Angka di tengah horizontal */
}

.artikel .two{
  background: #ffffff;
  border-radius: 50% !important;
  border-style: solid solid dashed dotted;
  border-color:#000000;
  color: #000000;
  font-weight: bold;
  line-height: normal !important;
  margin-right: 15px;
  text-align: center;
  width: 60px !important;
  height: 60px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;        /* WAJIB: Mencegah angka menjadi gepeng di layar kecil */
  display: flex; 
  align-items: center;   /* Angka di tengah vertikal */
  justify-content: center; /* Angka di tengah horizontal */
}

.artikel .order.flex-row-reverse .two{
  margin-right: 0 !important;   /* Menghapus margin kanan default */
  margin-left: 25px !important;  /* Memberikan jarak di sebelah kiri angka */
}

.artikel .three{
  background: #ffffff;
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  border-style: solid solid dashed dotted;
  border-color:#000000;
  color: #000000;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin-right: 15px;
  text-align: center;
  width: 1.6em;
  margin-top: 95px;
  margin-bottom: 60px;
}

/* Perataan Teks */
.text-content {
  flex: 1; /* Mengambil sisa ruang box */
}

.text-content p {
  text-align: justify; /* Rata kanan-kiri sesuai permintaan Anda */
  margin: 0;
}

.artikel p{
  margin-top: 10px;
  text-align: justify;
}

.accordion{
  margin: 45px 0;

}
.accordion-item{
  background-color: #f3f3f3;
  border-radius: 8px;
  margin-bottom: 10px;
  margin-left: 5px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  
}

.answer{
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 10px;
  margin-left: 5px;
  text-align: justify;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.btn-link{
  text-align: justify;
  color: black;
  text-decoration: none !important;
}

[aria-expanded="false"] > .expanded, [aria-expanded="true"] > .collapsed {
  display: none;
}

.btn-link i{
  padding-right: 2px;
}
/*End Artikel*/

/*Harga Jasa*/
.harga{
  margin: 0px 0 65px 0;
}

.harga p{
  text-align: left;
}

.harga h2{
  margin-top: 65px;
}
/*End Harga Jasa*/

/*Contact*/
.contact h2{
  font-size: 34px;
  margin-top: 70px;
  text-transform: uppercase;
  font-weight: 400;
}

.contact p{
  margin: 25px 0;
  text-align: left;
}

.contact span{
  font-weight: 600;
}

.address iframe{
  width: 100%;
  max-width: 800px;
  height: 425px; 
  border: 0;
  margin: 30px auto;
  display: block;
}

/*End Contact*/

/*Footer*/
.footer{
    text-align: center;
    background-image: linear-gradient(rgb(172, 172, 172), rgb(119, 116, 116), rgb(0, 0, 0));
    background-image: #e2edff;
  }

.footer p{
  color: white;
}
/*End Footer*/

/* Pastikan modal dialog berada di tengah dan memiliki margin yang cukup di mobile */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 10px;
    display: flex;
    align-items: center;
    min-height: calc(100% - 20px);
  }
  
  .modal-content {
    overflow: hidden; /* Mencegah scrollbar ganda */
  }
}

@media (max-width: 991px) {
  .navbar {
    position: fixed !important; /* Mengubah dari absolute ke fixed agar ikut di-scroll */
    top: 0; /* Memaksa navbar ke bagian paling atas layar */
    left: 0;
    width: 100%;
    z-index: 9999 !important; /* Angka tinggi agar tidak tertutup konten lain */
    background-color: transparent !important; 
    border: none;
    padding-top: 15px; /* Memberi jarak agar tidak terlalu mepet notch HP */
    transition: background 0.3s ease; /* Transisi halus */
    padding-left: 17px !important;  /* Jarak dari kiri */
    padding-right: 15px !important; /* Jarak dari kanan */
  }

  .navbar-brand img {
    width: 220px !important;
    height: auto;
  }

/* Kondisi 1: Saat tombol hamburger diklik (menu terbuka) */
  /* Kita menargetkan navbar yang memiliki area collapse yang sedang terbuka */
  .navbar:has(.show), 
  .navbar:has(.collapsing) {
    background-color: rgba(28, 28, 28, 0.8) !important;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
  }

  /* Jika browser lama tidak mendukung :has, gunakan cara manual ini: */
  .navbar-collapse.show {
    background-color: transparent !important; /* Agar tidak tumpuk dengan navbar */
  }

  .navbar-nav {
    text-align: center;
    text-transform: uppercase;
  }

  /* Memberikan garis bawah pada setiap item menu */
  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Garis putih tipis transparan */
    width: 60%; /* Memastikan garis memanjang penuh */
    margin: 0 auto;
  }

  /* Menghilangkan garis bawah pada menu terakhir agar lebih rapi */
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  /* Mengatur jarak teks menu agar tidak menempel ke garis */
  .nav-link {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    color: #ffffff !important;
  }

  /* Mengatasi teks yang mungkin tidak terlihat */
  .navbar-brand, .nav-link {
    color: #ffffff !important;
  }

  /* Pastikan tombol hamburger muncul */
  .navbar-toggler {
    background-color: transparent;
    border-color: rgba(255,255,255,0.7) !important;
    margin-right: 15px;
  }
  
  .navbar-toggler-icon {
    filter: invert(1); /* Mengubah icon jadi putih agar terlihat di background gelap */
  }

  /* Padding saat discroll (ketika class 'scrolled' aktif) */
  .navbar.scrolled {
    padding-top: 5px !important;   /* Jarak atas mengecil */
    padding-bottom: 5px !important; /* Jarak bawah mengecil */
  }

  /* Mengecilkan logo sedikit saat discroll agar navbar lebih ramping */
  .navbar.scrolled .navbar-brand img {
    width: 200px !important;
    transition: all 0.3s ease;
  }

  /* Efek saat menu ditekan/disentuh jari */
  .nav-link:active {
    background-color: rgba(255, 255, 255, 0.1); /* Memberi kilatan cahaya saat ditekan */
    color: #e67e22 !important; /* Warna berubah jadi gold saat disentuh */
    transition: none; /* Instan tanpa delay */
  }

  .about-panel h1 {
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    font-size: 20px; /* Mengecilkan sedikit ukuran font di HP */
    white-space: nowrap; /* Memaksa teks tetap satu baris */
    overflow: hidden;
  }

  .about-panel {
    width: 90%; /* Memberikan ruang lebih luas di kiri-kanan */
    margin-left: auto;
    margin-right: auto;
  }

  .aboutus h2{
    margin-top: 25px;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 300;
  }

  .intro h2{
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 300;
  }

  .intro h3{
    font-size: 22px;
    font-weight: 300;
  }

  .layanan h2{
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 12px;
}

/* Tambahkan ini untuk memastikan modal di atas segalanya */
.modal {
  z-index: 10050 !important;
}
.modal-backdrop {
  z-index: 10040 !important;
}
/* Memperbaiki tombol close agar tidak tertutup */
.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    z-index: 1060;
}
  /* Izinkan scroll pada area modal jika gambar di-zoom */
  #exampleModalLong {
    overflow-y: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch; /* Scroll halus di iOS */
  }

  /* --- Perbaikan Khusus Mobile (Di dalam @media (max-width: 991px)) --- */
  #exampleModalLong .modal-img {
    max-width: none !important; /* Hapus batasan agar bisa meluap saat zoom */
    height: auto;
    display: block;
    margin: 0;
    max-height: none !important;
    width: 100% !important; /*Lebar awal 100% layar */
    height: auto !important;
    object-fit: contain;
  }

  /* 1. Hilangkan padding modal header & body agar gambar bisa mepet ke pinggir */
  #exampleModalLong .modal-header {
    display: flex !important; /*Pastikan header terlihat */
    justify-content: flex-end !important; /*Menggeser tombol ke pojok kanan */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; /* Garis tipis transparan agar estetik */
    position: sticky; /* Taruh tombol close di atas gambar */
    top: 0;
    z-index: 1060; /* Pastikan tombol close paling atas */
    padding: 15px 20px !important;
    background-color: rgba(0, 0, 0, 0.5); /* Background sedikit gelap di belakang garis */
    border: none; 
    flex-shrink: 0; /*Header tidak boleh mengecil */
  }
  /* Atur ulang tombol close agar pas dengan garis */
  #exampleModalLong .close {
    color: #ffffff !important; /* Ubah warna tombol close jadi putih agar terlihat */
    margin: 0 !important;
    padding: 5px !important;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 1;
    font-size: 1.5rem;
  }
  /*#exampleModalLong .close {
    color: #ffffff !important; /* Ubah warna tombol close jadi putih agar terlihat */
    /*text-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 1;
    font-size: 2.5rem;
  }*/

  #exampleModalLong .modal-body {
    flex: 1 !important; /* Mengambil sisa runag layar */ 
    overflow: auto !important; /* Kunci agar bisa scroll/zoom */
    -webkit-overflow-scrolling: touch;
    padding: 20px 10px !important; /* Padding atas agar tidak tertutup header */
    display: block !important; /* Gunakan block, bukan flex, agar scroll bekerja natural */
    text-align: center; 
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
  }

  /* 2. Paksa gambar sertifikat melebar 100% (Efek Zoom/Full Screen) */
  #show-sertifikat {
    width: 100% !important;
    height: auto !important;
    max-height: 90vh; /* Batasi tinggi agar tidak melebihi layar HP */
    object-fit: contain; /* Jaga proporsi gambar */
    display: block;
  }

  /*Paksa Modal menjadi full screen di mobile */
  #exampleModalLong .modal-dialog {
    margin: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100% !important; /* Biarkan tinggi menyesuaikan konten saat zoom */
    min-height: 100%;
  }

  #exampleModalLong .modal-content {
    background-color: rgba(28, 28, 28, 0.8) !important;/* Hitam transparan */ 
    backdrop-filter: blur(15px); /* Memberikan efek kaca blur seperti web modern */
    height: 100vh !important;
    border: none !important;
    display: flex;
    flex-direction: column !important; /* Memisahkan header dan body secara vertikal */
    border-radius: 0;
  }

  /* 2. Menyesuaikan ukuran logo agar responsif */
  .footer img[alt*="Soesilo Translator"] {
    display: block !important;
    margin-top: 20px;
    margin-bottom: 15px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important; /* Menghapus paksaan rata kiri dari HTML */
    
    /* Ukuran logo menyesuaikan lebar layar HP */
    width: 80% !important;   /* Mengambil 80% lebar layar agar ada ruang di sisi kiri-kanan */
    max-width: 280px !important; /* Batas lebar maksimal agar tidak pecah di HP besar */
    height: auto !important;     /* Menjaga proporsi logo agar tidak gepeng */
  }
}
/*Penyesuaian khusus tampilan Tablet (iPad/Tab) */
@media (min-width: 768px) and (max-width: 991px) {
  .services{
    min-height: 1260px;
  }

  .artikel{
  min-height: 1230px;
  }

  .contact{
  min-height: 365px;
  }

  .address.client_header .col-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .address iframe {
    width: 100% !important; /* Memenuhi lebar container tablet */
    max-width: 100%;
    margin-left: auto !important; /* Menghapus margin 154px dari versi desktop */
    margin-right: auto !important;
    height: 500px; /* Tinggi yang ideal untuk layar tablet */
    display: block;
  }

  /* 3. Memastikan gambar logo berada di posisi tengah */
  footer img {
    margin: 0 auto !important;
    display: block !important;
  }
}

/*Handphone Hidden Content*/
@media (min-width: 320px) and (max-width: 980px){
  .contact img{
    display: none;
  }
}

/* DEKSTOP VERSION */
@media (min-width: 992px) { 
  /* Navbar */
  .navbar{
    background-color: transparent; /* Default awal transparan */
    position: fixed; /* Membuat navbar melayang */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s; /* Durasi animasi saat mengecil */
    padding: 20px 0; /* Padding awal yang besar */
  }

  /* Mengecilkan logo saat scroll */
  .navbar.nav-color .navbar-brand img {
    height: 50px; /* Sesuaikan tinggi logo saat mengecil */
    width: auto;
    transition: all 0.5s;
  }
  .nav-link{
    text-transform: uppercase;
    margin-right: 30px;
    font-weight: 500;
    color: white !important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7); 
  }

  .navbar.nav-color .navbar-brand img {
    /*width: 210px;*/ 
    transition: 0.4s;
  }

  .navbar .nav-item.nav-link:hover {
    color: #e67e22 !important; /* Warna berubah jadi gold saat disentuh */
    text-shadow: 0 0 8px rgba(230, 126, 34, 0.5);
    transition: 0.3s;
  }

  .nav-link:hover::after {
    content: '';
    display: block;
    border-bottom: 3px solid #e67e22 !important;
    width: 50%;
    margin: auto;
    padding-bottom: 5px;
    margin-bottom: -8px;
  }

  .nav-link.active::after {
    content: '';
    display: block;
    border-bottom: 3px solid #e67e22 !important;
    width: 50%;
    margin: auto;
    padding-bottom: 5px;
    margin-bottom: -8px;
  }
  /* End Navbar */

  /* Jumbotron */
  .jumbotron {
    margin-top: -100px;
    height: 640px;
    background-position: 0 -25px;
    margin-top: 0 !important; /* Reset margin jumbotron sebelumnya */
  }

  .jumbotron .display-4{
    margin-top: 90px;
    margin-left: 120px; 
    font-size: 50px;
  }

  .jumbotron .display-4 span{
    font-weight: 600;
  }

  .jumbotron .btn{
    margin-left: 125px;
    margin-top: 10px; 
  }

  /*WhatsApp*/
  btn-whatsapp, a.btn-whatsapp {
  margin-left: 120px;
  margin-top: 20px;
  display: inline-flex !important;
  align-items: center;
  background-color: #25d366 !important; /* Warna khas WhatsApp */
  color: white;
  padding: 12px 24px;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 30px; /* Membuat sudut membulat/capsule */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  }

/* Efek saat kursor diarahkan ke tombol */
.btn-whatsapp:hover {
  background-color: #128c7e !important; /* Warna lebih gelap saat hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important; /* Tombol sedikit terangkat */
  color: white !important;
  }

/* Menambahkan ikon WhatsApp sederhana via SVG (Opsional) */
.btn-whatsapp::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  }
  /*End WhatsApp*/
  /* End Jumbotron */
  /*About Panel*/
  .info-panel{
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    margin-top: -100px;
    background-color: white;
    padding: 25px;
  }

  .about-panel{
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    margin-top: -84px;
    background-color: white;
    padding: 25px;
  }
  
  .about-panel h1{
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    font-size: 40px;
  }
  /*End About Panel*/
  /*Workingspace*/
  .workingspace h2{
    margin-top: 15px;
    text-transform: uppercase;
    font-size: 34px;
    font-weight: 400;
  }
  /*End Workingspace*/

  /*Section*/
  section{
    min-height: 553px;
  }
  
  .services {
    min-height: 620px;
  }
  .about{
    min-height: 553px;
  }
  
  .partner{
    min-height: 412px;
  }

  .certificate{
    min-height: auto !important;
    padding-bottom: 55px; /* Jarak section sertifikat ke section bawahnya */
  }

  .certificate .card-body {
  padding-top: 10px !important; /* Jarak khusus agar judul sertifikat turun */
  margin-top: 0 !important;
  text-align: center;
  }

  .certificate .card-subtitle {
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 600;
  }

  .layanan{
    min-height: 553px;
  }

  .layanan-main{
    min-height: 977px;
  }
  
  .contact{
    min-height: 423px;
  }
  
  .artikel{
    min-height: auto;
    padding-bottom: 100px;
  }

  .footer{
    min-height: 200px;
  }

  /*End Section*/

  /*Services*/
  .services{
    background-position: 0 -235px;
  }

  /* Container untuk Garis dan Gambar agar sejajar secara horizontal */
  .header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Jarak antara garis dan gambar */
    width: 100%;
    margin-top: 15px;
  }

  /* Style untuk Garis di Kiri dan Kanan Gambar */
  .header-divider .line {
    flex-grow: 1;
    height: 1px;
    background-color: burlywood; /* Sesuaikan dengan warna border kartu Anda */
  }

  /* Memastikan Gambar tetap proporsional */
  .header-divider img {
    flex-shrink: 0;
  }

  /* Menyesuaikan jarak judul di dalam kartu */
  .card-body h5 {
    margin-top: -8px !important;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600; /* Membuat teks judul seperti 'TERJEMAHAN TERSUMPAH' lebih tegas */
  }
  
  /* 1. Kembalikan padding kartu di halaman utama agar tidak gepeng */
  .services .card-body {
    padding-top: 0 !important;
    padding-left: 1.5rem !important; ;
    padding-right: 1.5rem !important; ;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    text-align: center;
  }
  
  .layanan hr{
    width: 700px;
    height: 1px;
    border: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin-bottom: 35px;
  }

  .certificate-intro h5{
    margin-bottom: 0px;
  }
  
  .card-body {
    padding-top: 1.5rem !important;
    margin-top: 0 !important;
    text-align: center;
  }

  .card-title {
    margin-top: 5px !important;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-weight: 400;
  }

  .card-body h5{
  margin-top: 5px;
  text-align: center;
  text-transform: uppercase;
  }
  
  /* Menghilangkan margin bawaan pada paragraf terakhir agar tidak mendorong tombol ke bawah */
  .card-text {
    margin-bottom: 15px; 
  }
  /*End Services*/

  /*Client*/
  .client{
    margin-top: 20px;
    width: auto;
  }

  .client_header hr{
    width: 600px;
    height: 1px;
    border: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  } 

  .partner h2{
    margin-top: 65px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    font-size: 34px;
  }

  .client1{
    margin-top: 10.6px;
  }

  .client2{
    margin-top: 7px;
  }

  .client3{
    margin-top: 6.5px;
  }

  .client4{
    margin-top: 10.5px;
  }

  .client_contact h4{
    font-weight: 400;
    text-align: center;
    margin-bottom: 70px;
  }
  /*End Client*/

  /*Artikel*/
  .artikel h2{
    margin-top: 65px;
    font-size: 34px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
  }

  .artikel hr{
    width: 300px;
    height: 1px;
    border: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0))
  }
  .artikel .one{
    background: #ffffff;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    border-style: solid solid dashed dotted;
    border-color:#000000;
    color: #000000;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em; 
    margin-top: 13px;
  }
  
  .artikel .two{
    background: #ffffff;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    border-style: solid dotted dashed solid;
    border-color:#000000;
    color: #000000;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-left: 15px;
    margin-right: 2px;
    text-align: center;
    width: 1.6em;
    margin-top: 40px; 
  }

  .artikel .three{
    background: #ffffff;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    border-style: solid solid dashed dotted;
    border-color:#000000;
    color: #000000;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
    margin-top: 43px;
    margin-bottom: 4px;
  }  
  /*End Artikel*/

  /*Certificate*/
  .certificate hr{
    width: 700px;
    height: 1px;
    border: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  }

  .certificate h2{
    text-transform: uppercase;
    font-weight: 400;
  }
  /*End Certificate*/

  /*Certificate*/
  .value hr{
    width: 700px;
    height: 1px;
    border: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  }
  /*End Certificate*/

  /*Layanan*/
  .layanan-intro{
    margin: 65px 0 65px 0;
  }

  .layanan-main hr{
      width: 700px;
      height: 1px;
      border: 0;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  }
  /*End Certificate*/

  /*Contact*/
  .contact img{
    width: 340px;
    margin-top: 50px;
    margin-left: 100px;
  }

  .address iframe{
    width: 800px;
    height: 600px;
    border: 0;
    margin-top: 60px;
    margin-left: 154px;
    margin-bottom: 20px;
  }
  /*End Contact*/
  /*Footer*/
  .footer img{
    margin-top: 55px;
  }
  .footer p{
    color: white;
    margin-top: 40px;
    font-weight: 200;
  }

  .footer span{
    font-weight: 400;
    font-size: 18px;
  }

  .footer_contact p{
    color: white;
    margin-top: 45px;
    font-weight: 400;
  }
  /*End Footer*/
}