/**
* --------------------------------------------------------
* Template Name: Custom CSS - Banshu Plastic's Web Profile
* Updated: Nov 20 2025 with Bootstrap v5.3.3
* Author: Rizki Puji Lestari (IT)
* --------------------------------------------------------
*/

/* LOADING BAR */
#loading-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background-color: transparent;
}

#loading-bar {
    height: 100%;
    width: 0%;
    background-color: #ee6c20;
    transition: width 0.5s ease-out; /* Untuk animasi halus */
}

/* Class untuk menyembunyikan garis */
.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}



#preloader {
    /* Pastikan menutupi seluruh layar */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gunakan z-index tinggi agar berada di atas semua elemen */
    z-index: 9999;
    /* Warna latar belakang (misalnya putih atau transparan) */
    background-color: #ffffff; 
    /* Gunakan flexbox untuk menempatkan GIF di tengah */
    display: flex; 
    justify-content: center;
    align-items: center;
}

.loader-container {
    text-align: center;
}

.loader-gif {
    /* Sesuaikan ukuran GIF */
    width: 80px; 
    height: 80px; 
}

.hero-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    color: white;
}

.hero-subtitle {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: white;
}

.font-yellow {
    color: #ccc459;
}

.font-orange {
    color: #ee6c20;
}

.font-blue {
    color: #2b1870;
}

.font-gray {
    color: #f6f5f7;
}

.bg-orange {
    background-color: #ee6c20;
    border: 1px solid #ee6c20;
}

.bg-blue-violet {
    background-color: #f5f5ff;
}

.bg-blue-ocean {
    background-color: #024a9b;
}

.bg-blue {
    background-color: #2b1870;
}

.bg-gray {
    background-color: #f6f5f7;
}

.btn-get-quote {
  color: #fff;
  background: #ee6c20;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.ql-align-left {
    text-align: left;
}
.ql-align-center {
    text-align: center;
}
.ql-align-right {
    text-align: right;
}
.ql-align-justify {
    text-align: justify;
}


/* IMAGE OVERLAY NEW */
.full-image-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}
.full-image-content {
    background-color: #ffffff; /* Memberi kontras untuk logo hitam */
    padding: 20px;            /* Memberi ruang agar logo tidak mepet ke tepi putih */
    border-radius: 8px;
    object-fit: contain;      /* Memastikan logo tidak terdistorsi */
    box-sizing: border-box; /* Sangat penting agar padding tidak merusak layout */

    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.close-overlay {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}
.close-overlay:hover {
    color: #bbb;
    text-decoration: none;
}


.footer-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.zoom-image {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden; 
    cursor: pointer;
}

.zoom-image:hover {
    transform: scale(1.25); 
    z-index: 10;
}


.zoom-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden; 
    cursor: pointer;
}

.zoom-card:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
    z-index: 10;
}

.template {
    color: aliceblue;
}
.template a {
    color: aliceblue;
    text-decoration: none;
}

/* Custom CSS untuk blockquote yang dihasilkan CKEditor */
blockquote {
    font-size: 1.25rem;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-left: 0.25rem solid #ced4da;
    margin-bottom: 0; 
}

/* Styling untuk footer kutipan di dalam blockquote */
blockquote footer {
    display: block;
    margin-top: 1rem;
    font-size: 0.875em;
    color: #6c757d; /* text-muted */
}

.bordered-quote {
    max-width: 800px; 
    border-left: 5px solid #2b1870 !important;
}

.animated-underline {
    position: relative; /* Penting untuk memposisikan pseudo-element */
    text-decoration: none;
    color: inherit; /* Pertahankan warna teks asli */
    cursor: pointer;
}

.animated-underline::after {
    content: ''; /* Wajib */
    position: absolute;
    width: 100%;
    height: 2px; /* Tebal garis */
    bottom: 0;
    left: 0;
    background-color: currentColor; /* Gunakan warna teks saat ini */
    
    /* Awal: Garis tersembunyi/tidak terlihat */
    transform: scaleX(0); 
    transform-origin: bottom right; 
    
    /* Transisi: Agar animasi muncul perlahan */
    transition: transform 0.3s ease-out;
}

.animated-underline:hover::after {
    /* Akhir: Garis terlihat penuh */
    transform: scaleX(1); 
    transform-origin: bottom left; /* Garis muncul dari kiri ke kanan */
}

/* Custom Dropdown Language */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    /* Style button agar terlihat seperti kotak pilihan */
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 20px; /* Ukuran bendera */
    height: auto;
    margin-right: 8px;
}

.dropdown-menu {
    display: none; /* Sembunyikan secara default */
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    background-color: white;
    border: 1px solid #ccc;
    min-width: 150px;
    z-index: 1000;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-menu.show {
    display: block; /* Tampilkan ketika di-klik */
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.nav-item.active a {
    color: #ffc107 !important; /* Ubah warna teks menjadi hitam/gelap agar kontras */
}

/* CONTAINER NAVBAR SUBMENU */
.mega-menu-wrapper {
    /* Perbaikan agar rata kiri penuh */
    position: absolute; 
    left: 0;
    width: 100vw; 
    margin-left: calc(50% - 50vw); 
    min-height: 20rem;   
    top: 100%;    
    background-color: #2a126e;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 999;    
    display: none; 
    /* Gunakan class 'active' untuk menampilkan, lihat di JavaScript */
}

.mega-menu-wrapper.active {
    display: block;
}

.menu-legend {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    color:#ccc459; 
    font-weight:bolder;
    margin-bottom: 3rem;
}

/* 2. KONTEN DI DALAM (4 Kolom) */
.mega-menu-content-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column {
    flex: 1 1 23%; /* Flex: grow shrink basis. Mengatur basis 23% untuk 4 kolom */
    padding: 0 15px; 
    color: white;
}

/* 3. STYLING ITEM MENU */
.mega-menu-column a {
    text-decoration: none;
    display: block;
    color: white;
    padding: 10px 0;
}

.menu-title {
    display: block; 
    font-weight: bold; 
    font-size: 1.1em;
    margin-bottom: 5px;
}

.menu-subtitle {
    display: block;
    font-size: 0.85em; 
    color: rgba(255, 255, 255, 0.8);
}

/* Container Utama Slider */
.slider-container {
    position: relative; /* Penting untuk menempatkan tombol relatif terhadap container */
    max-width: 100%; /* Lebar maksimum slider */
    margin: 40px auto; /* Pusatkan slider */
    padding: 0 50px; /* Beri ruang untuk tombol navigasi */
    text-align: center;
}

/* Judul (Opsional) */
.slider-container h2 {
    margin-bottom: 20px;
    font-family: sans-serif;
    color: #333399; /* Warna biru pada gambar */
}

/* Wrapper yang Menyembunyikan Item di Luar Tampilan */
.slider-wrapper {
    overflow: hidden; /* **PENTING** - Menyembunyikan item yang tidak terlihat */
}

/* Track untuk Menggeser Item */
.slider-track {
    display: flex; /* Mengatur item secara horizontal */
    transition: transform 0.5s ease-in-out; /* Animasi geser */
}

/* Setiap Item (Slide) */
.slide-item {
    min-width: calc(100% / 4); /* Menampilkan 4 item per tampilan (untuk desktop) */
    box-sizing: border-box;
    padding: 10px;
    flex-shrink: 0; /* Mencegah item menyusut */
    /* Styling card agar mirip gambar */
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

/* Styling Gambar di Dalam Item */
.slide-item img, .slide-item video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 150px; /* Contoh tinggi */
    object-fit: cover;
    border-radius: 4px;
}

/* Tombol Navigasi */
.nav-button {
    position: absolute;
    top: 50%; /* Pusatkan secara vertikal */
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 40px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
}

.prev-button {
    left: 0;
}

.next-button {
    right: 0;
}

/* Media Query untuk Responsivitas (Misalnya, Tampilkan 2 Item di Tablet) */
@media (max-width: 768px) {
    .slide-item {
        min-width: calc(100% / 2); /* Menampilkan 2 item */
    }
}

/* Media Query untuk Mobile */
@media (max-width: 480px) {
    .slide-item {
        min-width: 100%; /* Menampilkan 1 item */
    }
    .slider-container {
        padding: 0 30px;
    }
}

/* IMAGE SLIDER SLICK */

.img-placeholder-carousel {
    height: 150px;
    width: 100%;
    object-fit: cover;
    background-color: #fff;
    border-radius: 8px;
    padding: 0px;
}

.card-wrapper {
    padding: 10px;
}

.slick-prev, .slick-next {
    z-index: 10;
    padding: 16px;
    border-radius: 50%;
    display: flex !important; /* Agar icon tepat di tengah */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Posisikan tombol */
.slick-prev { left: 15px !important; }
.slick-next { right: 15px !important; }

/* Atur tampilan Icon Bootstrap di dalam tombol */
.slick-prev i, .slick-next i {
    color: #000 !important;
    font-size: 25px;       /* Ukuran Icon */
    font-weight: bold !important;
    -webkit-text-stroke: 1.2px #bababa;
    display: block;
    line-height: 1;
}

/* Hilangkan panah bawaan slick yang mengganggu */
.slick-prev:before, .slick-next:before {
    display: none !important;
}

.slick-prev:hover, .slick-next:hover {
    background: #f5f5ff !important;
}

.slick-prev i:hover, .slick-next i:hover {
    color: #000 !important;
    -webkit-text-stroke: 1.2px #000;
}

/* Opsional: Sembunyikan dots jika menurut Anda terlalu ramai */
.slick-dots {
    bottom: -40px;
}


/* IMAGE SLIDER */
/* Container Utama Slider */
.img-slider-container {
    position: relative; 
    max-width: 1200px; 
    margin: 40px auto; 
    padding: 0 50px; 
}

/* Wrapper yang Menyembunyikan Item di Luar Tampilan */
.img-slider-wrapper {
    overflow: hidden; 
}

/* Track untuk Menggeser Item */
.img-slider-track {
    display: flex; 
    transition: transform 0.5s ease-in-out; 
}

/* Setiap Item (Slide) */
.img-slide-item {
    min-width: calc(100% / 5); /* Tepat 5 kolom untuk layar lebar */
    box-sizing: border-box;
    flex-shrink: 0; 
    margin: 0 10px; 
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* Wrapper Gambar */
.img-image-wrapper-original {
    width: 100%;
    padding-top: 75%; /* Rasio 4:3 */
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.img-image-wrapper-original img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.img-image-wrapper {
    padding: 20px; 
    position: relative; 
    overflow: hidden;    
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-image-wrapper img {
    position: relative;
}


/* Media Queries untuk Responsivitas */
@media (max-width: 1280px) {
    .img-slide-item { min-width: calc(100% / 4); } 
}
@media (max-width: 1024px) {
    .img-slide-item { min-width: calc(100% / 3); } 
}
@media (max-width: 768px) {
    .img-slide-item { min-width: calc(100% / 2); } 
}
@media (max-width: 480px) {
    .img-slide-item { min-width: 100%; } 
    .img-slider-container { padding: 0 30px; }
}

/* Whatsapp Float Button */
.button-float{
    position:fixed;
    width:50px;
    height:45px;
    bottom:70px;
    right:15px;
    /* background-color:#25d366; */
    background-color: lightskyblue;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    box-shadow: 2px 2px 3px #aaa;
    z-index:100;
}
.icon-float{
    margin-top:16px;
}


/* Style Hardcoded Card */
.expertise-card {
    background-color: #f9faff; /* Latar biru sangat muda */
    border: 1px solid #d1d1d1;
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px); /* Efek melayang saat kursor di atasnya */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.expertise-card h5 {
    color: #0d47a1; /* Biru gelap untuk sub-judul */
    font-weight: 700;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-see-expertise {
    background-color: #e67e42; /* Oranye sesuai gambar */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-see-expertise:hover {
    background-color: #d36a2e;
    color: white;
}


/* Efek Hover hanya untuk Card */
.zoom-card-only {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backface-visibility: hidden; /* Mencegah guncangan visual saat animasi */
    cursor: pointer;
}

.zoom-card-only:hover {
    transform: translateY(-5px); /* Card naik sedikit ke atas */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important; /* Bayangan lebih dalam */
    z-index: 5;
}

/* Memastikan image tetap stabil */
.zoom-card-only:hover img {
    transform: scale(1); /* Memaksa gambar tetap di ukuran aslinya */
}
