

.text-justify {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Efek Pleksus Background */
#plexus-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Pastikan berada di belakang konten lain */
    background: #FFFFFF; /* Latar belakang putih */
}

/* Ubah juga warna body */
body {
    background-color: #FFFFFF; /* Latar belakang utama body menjadi putih */
    color: #333333; /* Warna teks default agar tetap terbaca */
}

/* Custom GNS Loader */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary); /* Menggunakan warna biru dari tema */
}

.loader span {
    animation: loader-pulse 1.5s infinite ease-in-out;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes loader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* <!-- Tambahkan CSS ini ke file style2.css Anda atau di dalam tag di head --> */

    /* Tombol WhatsApp di dalam Card Kontak */
    .contact-whatsapp-btn {
        display: inline-block;
        background-color: #25D366; /* Warna hijau WhatsApp */
        color: #fff;
        padding: 8px 15px;
        border-radius: 50px; /* Bentuk pil */
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        margin-top: 15px; /* Jarak dari konten di atasnya */
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .contact-whatsapp-btn:hover {
        background-color: #128C7E; /* Warna hijau lebih gelap saat hover */
        color: #fff;
        transform: scale(1.05); /* Sedikit membesar saat disentuh mouse */
    }

    /* ====================================================== */
    /* CSS BARU UNTUK KARTU ALAMAT YANG LEBIH BAIK */
    /* ====================================================== */
    .contact-card-v4 {
        /* background-color: #f8f9fa; Latar belakang abu-abu muda */
        border-radius: 20px; /* Sudut yang lebih rounded */
        padding: 2rem 1.5rem; /* Padding internal yang lebih besar */
        border: 2px solid #e9ecef;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-card-v4:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .icon-box-v4 {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.5rem auto; /* Otomatis ke tengah dan beri jarak bawah */
        background: linear-gradient(135deg, var(--primary), #00c6ff);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: #fff;
        flex-shrink: 0; /* Mencegah ikon mengecil */
    }

    .contact-card-v4 .card-content {
        flex-grow: 1; /* Mendorong tombol WhatsApp ke bawah */
    }

    .contact-card-v4 .card-title {
        font-weight: 700;
        font-size: 1.2rem;
        color: #343a40;
    }

    .contact-card-v4 .card-address {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #6c757d;
    }
    
    .contact-card-v4 .card-phone {
        font-weight: 600;
        color: #343a40;
    }

        /* ====================================================== */
    /* CSS UNTUK FORMULIR KONTAK */
    /* ====================================================== */
    .contact-form-container {
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        overflow: hidden; /* Penting untuk menjaga sudut rounded */
    }

    .form-image-side {
        background-image: url('https://placehold.co/600x700/06A3DA/FFFFFF?text=Hubungi+Kami');
        background-size: cover;
        background-position: center;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .form-input-side {
        padding: 3rem;
    }

    .form-group-icon {
        position: relative;
    }

    .form-control-icon {
        padding-left: 3rem !important; /* Beri ruang untuk ikon */
        border-radius: 10px !important;
    }

    .input-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #adb5bd;
    }
    
    .form-control:focus + .input-icon {
        color: var(--primary);
    }
    
    .btn-submit-contact {
        border-radius: 10px;
        padding: 15px;
        font-weight: 700;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }

        /* ====================================================== */
    /* CSS UNTUK LOGO SVG */
    /* ====================================================== */
    .bouncing-logo-container {
        width: 180px;
        height: 180px;
    }

    .bouncing-logo {
        width: 100%;
        height: 100%;
        animation: bounce 2.5s infinite ease-in-out;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-25px);
        }
    }

/* INI ADALAH KODE TAMBAHAN UNTUK MEMPERBAIKI SUDUT BAWAH */
.promo-banner .owl-carousel .owl-stage-outer {
    border-radius: 1.5vw; /* Pastikan nilainya SAMA */
}

        /* === CSS untuk Banner Promo dengan Rasio Aspek Tetap === */
.promo-carousel .item {
    /* Properti Kunci: Menjaga rasio aspek 2:1 (lebar dua kali tinggi) */
    aspect-ratio: 2 / 1; 

    /* Memberi warna latar jika gambar gagal dimuat */
    /* background-color: #f0f0f0;  */
}

.promo-carousel .item img {
    /* Membuat gambar mengisi penuh container-nya */
    width: 100%;
    height: 100%;

    /* Gambar akan menutupi area tanpa merusak rasio (tidak penyok) */
    object-fit: cover; 
}

/* Tombol Slider */
/* Tombol Slider Modern */
.custom-prev,
.custom-next {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #007bff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-prev svg,
.custom-next svg {
  width: 24px;
  height: 24px;
  stroke: #007bff;
  transition: stroke 0.3s ease;
}

.custom-prev:hover,
.custom-next:hover {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.custom-prev:hover svg,
.custom-next:hover svg {
  stroke: #fff;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 30px;
  box-sizing: border-box;
}

/* Dots Indicator Stylish */
/* .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px;
  background: rgba(200,200,200,0.6);
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.owl-dot.active span {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0,123,255,0.6);
} */

.logo-pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

 body {
    /*background: #000; /* biar keliatan jelas */
    /* color: #fff; */
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
  }

/*
 * KODE EFEK BINTANG (SPARKLE)
 * Ini adalah kode CSS untuk animasi bintang mengikuti kursor.
 */

/* Mengatur tampilan dasar bintang */
.spark {
    position: fixed; /* Posisi tetap di layar */
    width: 8px; /* Ukuran bintang */
    height: 8px;
    border-radius: 50%; /* Membuat bentuk bulat */
    pointer-events: none; /* Mengabaikan interaksi mouse */
    background: #fff;
    box-shadow: 0 0 8px #0ff, 0 0 15px #0ff; /* Efek neon / cahaya */
    z-index: 9999;
}

/* Keyframes untuk animasi pudar dan menghilang */
@keyframes sparkle-fade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0) translateY(-20px); /* Memudar dan sedikit naik */
        opacity: 0;
    }
}
  
/* === Geometric Pricing Section Gnet-Martabe === */
/* Martabe */
.geo-pricing-card-martabe {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.geo-pricing-card-martabe:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.geo-pricing-card-martabe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #FFA500, #FF6F00); /* Blue Gradient */
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 0;
}

.geo-pricing-card-martabe.featured::before {
    height: 170px;
}

/* Gnet */
.geo-pricing-card-gnet {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.geo-pricing-card-gnet:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.geo-pricing-card-gnet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #06A3DA, #00c6ff); /* Blue Gradient */
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 0;
}

.geo-pricing-card-gnet.featured::before {
    height: 170px;
}

.geo-card-header, .geo-card-body, .geo-card-footer {
    position: relative;
    z-index: 1;
}

.geo-card-header {
    margin-bottom: 20px;
}

.card-title {
    font-weight: 700;
    color: #1a2a46;
    margin-bottom: 5px;
}

.card-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Gnet */
.price-circle-gnet {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: #06A3DA;
    color: white;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(6, 163, 218, 0.4);
    transition: transform 0.3s ease;
}

.price-circle-orange-gnet {
    background: linear-gradient(45deg, #00c6ff, #06A3DA); /* Orange Gradient */
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.5);
}


/*Martabe*/
.price-circle-martabe {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: #FF6F00;
    color: white;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(6, 163, 218, 0.4);
    transition: transform 0.3s ease;
}

.price-circle-orange-martabe {
    background: linear-gradient(45deg, #FF8C00, #b1652b); /* Orange Gradient */
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.5);
}

.geo-pricing-card:hover .price-circle {
    transform: scale(1.05);
}

.price-circle small {
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 300;
    opacity: 0.9;
}

.price-tag {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin: 5px 0;
}

.geo-card-body ul li {
    padding: 6px 0;
}

.popular-ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    right: -10px;
}
.popular-ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 10px 0;
    background-color: #FF6F00;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    text-transform: uppercase;
    text-align: center;
    right: -25px;
    top: 30px;
    transform: rotate(45deg);
}

.btn-orange-gradient {
    background: linear-gradient(45deg, #FF8C00, #FF6F00);
    border: none;
    color: white;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-orange-gradient:hover {
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
}

/* CSS Kustom untuk Bagian Area Jangkauan */

/* Gaya Dasar Body */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #fff;
}

/* Kontainer Utama Section */
.area-jangkauan-section {
    padding: 80px 0;
    /* background-color: #f8f9fa; Warna latar belakang abu-abu muda */
    overflow: hidden; /* Mencegah glow meluber keluar section */
}

/* Custom Flip Box Styling with 3D Text Effect */
.flip-box {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1500px; 
}

.flip-box .flip-box-inner {
    transition: transform 0.8s, box-shadow 0.4s ease;
    transform: scale(0.95);
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg) scale(1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    /* --- EFEK 3D TEKS --- : Ini Wajib agar elemen di dalamnya bisa diposisikan 3D */
    transform-style: preserve-3d;
}

.flip-box-front {
    color: white;
}

.flip-box-back {
    background-color: #f2f4f7;
    color: rgb(10, 10, 10);
    transform: rotateY(180deg);
}

/* --- Gaya Konten dengan Efek 3D --- */
.flip-box-icon {
    font-size: 70px;
    margin-bottom: 20px;
    opacity: 0.8;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    /* --- EFEK 3D TEKS --- : Ikon 'mengambang' paling depan */
    transform: translateZ(90px); 
}

.flip-box-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    /* --- EFEK 3D TEKS --- : Judul 'mengambang' di tengah */
    transform: translateZ(90px); 
}

.flip-box-speed {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 10px 0;
    /* --- EFEK 3D TEKS --- : Kecepatan 'mengambang' sedikit di belakang judul */
    transform: translateZ(90px);
}
.flip-box-speed strong {
    font-weight: 700;
}

.flip-box-hint {
    margin-top: 30px;
    font-weight: 500;
    opacity: 0.7;
    font-style: italic;
    /* --- EFEK 3D TEKS --- : Hint 'mengambang' paling dekat dengan latar */
    transform: translateZ(90px); 
}

.flip-box-price {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    /* --- EFEK 3D TEKS --- : Harga 'mengambang' paling depan di belakang kartu */
    transform: translateZ(90px); 
}
.flip-box-price small {
    font-size: 1rem;
    font-weight: 400;
}

.flip-box-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    width: 80%;
    /* --- EFEK 3D TEKS --- : Daftar fitur juga 'mengambang' */
    transform: translateZ(90px);
}
.flip-box-features li {
    padding: 5px 0;
    font-weight: 500;
}
.flip-box-features li i {
    margin-right: 10px;
    color: #06A3DA;
}


/* Custom Product Card Styling Package */
.product-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.product-header {
    color: #ffffff;
    padding: 35px 20px;
}

.product-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.product-price {
    padding: 30px 20px;
}

.product-price small {
    font-size: 1rem;
    color: #6c757d;
}

.product-price h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #061429;
    margin: 5px 0;
}

.product-price span {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.product-features {
    padding: 0 30px;
    flex-grow: 1; /* Makes sure the footer stays at the bottom */
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.product-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}
.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    font-size: 1.1rem;
    margin-right: 15px;
}

.product-footer {
    padding: 30px;
}

.btn-order {
    color: #ffffff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-order:hover {
    color: #ffffff;
    transform: scale(1.05);
}

/* --- Blue Theme for G-NET --- */
.product-card-blue .product-header {
    background: linear-gradient(45deg, #06A3DA, #007bff);
}
.product-card-blue .product-icon {
    background-color: rgba(255, 255, 255, 0.15);
}
.product-card-blue .product-features li i {
    color: #06A3DA;
}
.product-card-blue .btn-order {
    background-color: #06A3DA;
    box-shadow: 0 5px 15px rgba(6, 163, 218, 0.4);
}
.product-card-blue .btn-order:hover {
    box-shadow: 0 8px 25px rgba(6, 163, 218, 0.5);
}


/* --- Orange Theme for Martabe --- */
.product-card-orange .product-header {
    background: linear-gradient(45deg, #FFA500, #FF6F00);
}
.product-card-orange .product-icon {
    background-color: rgba(255, 255, 255, 0.15);
}
.product-card-orange .product-features li i {
    color: #FF6F00;
}
.product-card-orange .btn-order {
    background-color: #FF6F00;
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
}
.product-card-orange .btn-order:hover {
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.5);
}


/* --- Tombol & Warna dengan Efek 3D Facts --- */
.btn-primary-flip {
    background-color: #06A3DA;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    /* --- EFEK 3D TEKS --- : Tombol 'mengambang' paling dekat dengan latar */
    transform: translateZ(90px); 
}
.btn-primary-flip:hover {
    color: white;
    /* --- EFEK 3D TEKS --- : Menggabungkan semua efek transform saat hover */
    transform: translateZ(90px) scale(1.05) translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-orange { background-color: #FF6F00; }
.btn-violet { background-color: #6A1B9A; }


/* --- Gradien Latar Belakang --- */
.bg-gradient-blue {
    background: linear-gradient(135deg, #06A3DA, #007bff);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #FFA500, #FF6F00);
}

.bg-gradient-violet {
    background: linear-gradient(135deg, #8E24AA, #5E35B1);
}

/*
========================================
Styling untuk Facts Section dengan Efek Slide
========================================
*/
.stat-card {
    background-color: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    position: relative; /* Wajib untuk posisi pseudo-element */
    overflow: hidden;   /* Wajib agar slide tidak keluar dari kartu */
    z-index: 1;
}

/* --- Efek Slide Warna --- */
.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0; /* Awalnya tinggi 0 (tersembunyi) */
    border-radius: 15px;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transisi untuk slide */
    z-index: -1;
}

/* --- Warna untuk Slide --- */
.stat-card.slide-blue::before {
    background: linear-gradient(135deg, #06A3DA, #007bff);
}

.stat-card.slide-orange::before {
    background: linear-gradient(135deg, #FFA500, #FF6F00);
}

/* --- Efek saat Hover --- */
.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.stat-card:hover::before {
    height: 100%; /* Saat hover, tinggi menjadi 100% (slide ke atas) */
}

/* --- Wrapper untuk Ikon & Konten agar tetap di atas slide --- */
.stat-icon-wrapper, .stat-content {
    position: relative;
    z-index: 2;
}

.stat-icon-wrapper {
    font-size: 50px;
    margin-bottom: 25px;
    display: inline-block;
    color: #061429; /* Warna ikon awal */
    transition: color 0.4s ease;
}

.stat-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #061429; /* Warna angka awal */
    transition: color 0.4s ease;
}

.stat-content h5 {
    color: #6c757d; /* Warna teks awal */
    font-size: 1.1rem;
    transition: color 0.4s ease;
}

/* --- Perubahan Warna Teks & Ikon saat Hover --- */
.stat-card:hover .stat-icon-wrapper,
.stat-card:hover .stat-content h1,
.stat-card:hover .stat-content h5 {
    color: #ffffff; /* Semua menjadi putih agar terbaca di atas slide warna */
}

/* ===========================================================================
// LIVE CHAT BOT STYLES
// =========================================================================== */
:root {
    --primary: #06A3DA; /* Variabel untuk warna utama */
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle-btn {
    background: linear-gradient(135deg, var(--primary), #00c6ff);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    animation: pulse-shadow 2s infinite;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    /* Ganti height tetap menjadi max-height */
    max-height: 450px; 
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease;
    opacity: 0;
}

.chat-window.open {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), #00c6ff);
    color: #fff;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    cursor: pointer;
}
.chat-header .bot-icon {
    margin-right: 10px;
    color: #fff;
}

/* Styling untuk kontainer tombol minimize dan close */
.chat-controls {
    display: flex;
    gap: 5px;
    margin-left: auto;
}
.chat-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}
.chat-controls button:hover {
    color: #f0f0f0;
}

.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f0f4f8;
    display: flex;
    flex-direction: column;
}

.chat-footer {
    display: flex;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}
.chat-footer input {
    flex-grow: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    transition: border-color 0.3s;
}
.chat-footer input:focus {
    border-color: var(--primary);
}
.chat-footer button {
    background-color: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.2s ease-in-out;
}
.chat-footer button:hover {
    transform: scale(1.1);
}

/* ===========================================================================
// PERBAIKAN: TATA LETAK CHAT BUBBLE
// =========================================================================== */
.user-message-bubble,
.bot-message-bubble {
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
}

/* Gelembung pesan bot (di kiri) */
.bot-message-bubble {
    align-self: flex-start; /* Posisikan ke kiri */
    flex-direction: row; /* Teks dulu, lalu ikon */
}
.bot-message-bubble .bot-icon {
    order: 1; /* Ikon berada setelah gelembung pesan */
    margin-left: 10px;
    color: #06A3DA;
    font-size: 1.5rem;
}
.bot-message-bubble .bot-message {
    order: 0;
    background: linear-gradient(135deg, #06A3DA, #00c6ff);
    color: #fff;
    padding: 12px 18px;
    border-radius: 20px 20px 20px 5px;
    max-width: 80%;
    word-wrap: break-word;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Gelembung pesan user */
.user-message-bubble {
 align-self: flex-end; /* Posisikan ke kanan (gelembung tetap di kanan) */
 flex-direction: row; /* Teks dulu, lalu ikon */
 justify-content: flex-end; /* Pusatkan konten ke kanan */
}
.user-message-bubble .user-icon {
 order: 1; /* Ikon berada setelah gelembung pesan */
 margin-left: 10px;
 color: #ff9933;
 font-size: 1.5rem;
}
.user-message-bubble .user-message {
 order: 0;
 background: linear-gradient(135deg, #ff9933, #ffcc00);
 color: #fff;
 padding: 12px 18px;
 border-radius: 20px 20px 5px 20px;
 max-width: 80%;
 word-wrap: break-word;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Animasi dan efek lainnya */
.bot-message-bubble .loading {
    padding: 12px 18px;
    width: 60px;
    height: auto;
    border-radius: 20px 20px 20px 5px;
    background: linear-gradient(135deg, #06A3DA, #00c6ff);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 3px;
    animation: typing-dots 1.2s infinite;
}
.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes typing-dots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes pulse-shadow {
    0% {
        box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(0, 198, 255, 0.8);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    }
}

/* Gaya saat jendela diminimalkan */
.chat-window.minimized {
    height: 48px;
    overflow: hidden;
}
.chat-window.minimized .chat-body,
.chat-window.minimized .chat-footer {
    display: none;
}

/* ===========================================================================
// ANIMASI UNTUK GELEMBUNG CHAT
// =========================================================================== */
@keyframes bubble-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Terapkan animasi pada gelembung pesan bot dan pengguna */
.bot-message-bubble,
.user-message-bubble {
    animation: bubble-fade-in 0.5s ease-out;
}

/* CSS untuk Kolase Gambar Blog */
.blog-collage .col-md-4 img,
.blog-collage .col-md-8 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar mengisi area tanpa gepeng */
}




