/* General Styling & Flat Design Principles */
:root {
    --primary-color: #ff8c00; /* Orange color from the logo */
    --secondary-color: #0d1e43; /* Dark blue from the logo */
    --accent-color: #ffc107; /* Kuning */
    --text-color: #333;
    --light-bg: #f8f9fa; /* Abu-abu terang */
    --white-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font bersih dan modern */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.section-padding {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

h1, h2, h3 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 600; /* Sedikit lebih tebal dari normal */
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.6em; }

p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none; /* Flat design: no borders */
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px); /* Slight lift effect */
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: #fff;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Small button for product cards */
.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Card Design */
.card {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-light); /* Flat shadow */
    text-align: left;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px); /* Subtle hover effect */
}

.card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.full-width-card {
    grid-column: 1 / -1; /* Mengambil seluruh lebar di grid */
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* Header and Navigation (Navbar) */
header {
    background-color: var(--white-bg);
    box-shadow: 0 2px 8px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo img {
    height: 55px; /* Sesuaikan ukuran logo */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links a::after { /* Underline effect on hover */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Sembunyikan secara default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hamburger Animation (for active state) */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Video Section */
.hero-video {
    position: relative;
    width: 100%;
    height: 90vh; /* Sedikit lebih kecil agar header terlihat */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay gelap lebih kuat */
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-overlay h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4); /* Shadow untuk teks */
}

.hero-overlay p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Social Links (General) */
.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 2.2em;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Process Page specific (Existing, but will be used for new section) */
.process-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Mengubah minmax agar lebih fleksibel */
    gap: 30px;
    margin-top: 40px;
    text-align: left; /* Pastikan teks di dalam kartu rata kiri */
}

.process-step-card {
    background-color: var(--white-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-light);
    overflow: hidden; /* Penting untuk gambar yang meluap */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0; /* Hapus padding dari kartu itu sendiri agar gambar bisa full-width */
    display: flex; /* Gunakan flexbox untuk konten di dalam process-card */
    flex-direction: column; /* Susun konten secara vertikal */
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.process-step-card .process-card-image { /* Pastikan ini menarget gambar di dalam step card */
    width: 100%;
    height: 200px; /* Tinggi gambar yang konsisten */
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    display: block; /* Menghilangkan ruang kosong di bawah gambar */
    border-radius: 8px 8px 0 0; /* Terapkan border-radius atas di sini */
}

.process-step-card .process-card-content { /* Konten di dalam kartu proses */
    padding: 20px 25px; /* Tambahkan padding ke konten di dalam kartu, sedikit lebih besar horizontal */
    flex-grow: 1; /* Izinkan konten untuk tumbuh dan mengisi ruang */
    display: flex; /* Menggunakan flexbox untuk ikon dan teks */
    flex-direction: row; /* Ikon dan teks bersebelahan */
    justify-content: flex-start;
    align-items: flex-start; /* Sejajarkan item ke atas */
    text-align: left;
    gap: 15px; /* Jarak antara ikon dan teks */
}

.process-step-card .process-card-icon-wrapper { /* Wrapper ikon di dalam kartu proses */
    flex-shrink: 0; /* Jangan biarkan ikon menyusut */
    /* Hapus width: 100% dan text-align: left jika ikon tidak lagi perlu wrapper terpisah */
}

.process-step-card .process-icon { /* Ikon di dalam kartu proses */
    font-size: 3em; /* Ukuran ikon lebih besar */
    color: var(--primary-color); /* Warna primer untuk ikon */
    margin-bottom: 0; /* Hapus margin bawah karena gap akan menangani */
}

.process-step-card .process-card-text-content { /* Wrapper untuk judul dan deskripsi */
    display: flex;
    flex-direction: column; /* Judul dan deskripsi bertumpuk */
    flex-grow: 1; /* Memungkinkan teks untuk mengisi sisa ruang */
    gap: 5px; /* Jarak antara judul dan deskripsi */
}

.process-step-card h3 {
    color: var(--text-color); /* Warna teks untuk judul */
    margin-top: 0;
    margin-bottom: 0; /* Mengatur margin-bottom ke 0 karena gap akan menangani jarak */
    font-size: 1.5em; /* Ukuran font judul */
    line-height: 1.4; /* Menyesuaikan tinggi baris untuk judul */
}

.process-step-card p {
    color: var(--text-color); /* Warna hitam untuk teks */
    font-size: 1em; /* Ukuran font deskripsi */
    margin-bottom: 0; /* Mengatur margin-bottom ke 0 karena gap akan menangani jarak */
    line-height: 1.6;
}


/* NEW: Process Carousel Section */
.process-carousel-wrapper {
    position: relative; /* Untuk memposisikan tombol scroll */
    max-width: 1200px; /* Batasi lebar wrapper */
    margin: 0 auto; /* Pusatkan wrapper */
    padding: 0 50px; /* Padding untuk tombol agar tidak menutupi konten */
}

.process-carousel-container {
    overflow-x: auto; /* Memungkinkan pengguliran horizontal */
    -webkit-overflow-scrolling: touch; /* Untuk pengguliran yang lebih mulus di iOS */
    padding-bottom: 20px; /* Ruang untuk scrollbar */
    margin-top: 40px;
    scroll-behavior: smooth; /* Untuk efek gulir yang halus */
    scrollbar-width: none; /* Sembunyikan scrollbar di Firefox */
    -ms-overflow-style: none;  /* Sembunyikan scrollbar di IE/Edge */
}

.process-carousel-container::-webkit-scrollbar {
    height: 8px; /* Tinggi scrollbar */
}

.process-carousel-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* Warna thumb scrollbar */
    border-radius: 10px;
}

.process-carousel-container::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1); /* Warna track scrollbar */
    border-radius: 10px;
}


.process-carousel {
    display: flex;
    gap: 30px; /* Jarak antar kartu */
    padding: 10px; /* Padding di sekitar kartu untuk visual scroll */
    min-width: fit-content; /* Memastikan konten tidak menyusut */
    scroll-snap-type: x mandatory; /* Untuk efek snap saat menggulir */
}

.process-card {
    flex: 0 0 300px; /* Jangan menyusut, jangan tumbuh, lebar dasar 300px */
    background-color: var(--white-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-light);
    overflow: hidden; /* Penting untuk gambar yang meluap */
    transition: transform 0.3s ease;
    scroll-snap-align: start; /* Untuk efek snap saat menggulir */
    padding: 0; /* Hapus padding dari kartu itu sendiri agar gambar bisa full-width */
    display: flex; /* Gunakan flexbox untuk konten di dalam process-card */
    flex-direction: column; /* Susun konten secara vertikal */
}

.process-card:hover {
    transform: translateY(-5px);
}

.process-card-image {
    width: 100%;
    height: 180px; /* Tinggi gambar yang konsisten */
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    border-radius: 8px 8px 0 0; /* Sudut membulat hanya di bagian atas */
}

/* Konten di dalam kartu proses (untuk carousel) */
.process-card-content {
    padding: 20px 25px; /* Tambahkan padding ke konten di dalam kartu, sedikit lebih besar horizontal */
    flex-grow: 1; /* Izinkan konten untuk tumbuh dan mengisi ruang */
    display: flex;
    flex-direction: row; /* Ikon dan teks bersebelahan */
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: 15px; /* Jarak antara ikon dan teks */
}

.process-card-icon-wrapper {
    flex-shrink: 0; /* Jangan biarkan ikon menyusut */
}

.process-card .process-icon { /* Ikon di dalam kartu proses (untuk carousel) */
    font-size: 3em; /* Ukuran ikon lebih besar */
    color: var(--primary-color);
    margin-bottom: 0; /* Hapus margin bawah karena gap akan menangani */
}

.process-card h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5em;
    color: var(--text-color);
    line-height: 1.4;
}

.process-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}


/* Scroll Buttons for Process Carousel */
.process-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color); /* Warna oranye */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5em;
    cursor: pointer;
    display: flex; /* Pastikan tombol menggunakan flex secara default */
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10; /* Pastikan tombol di atas carousel */
}

.process-scroll-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1); /* Sedikit membesar saat hover */
}

.process-scroll-btn.left {
    left: 0;
}

.process-scroll-btn.right {
    right: 0;
}


/* Contact Page specific */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-info-card i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1em;
}

.contact-form-card {
    text-align: left; /* Override card default text-align */
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25);
}

.contact-form textarea {
    min-height: 80px; /* Tinggi minimum textarea */
    resize: vertical;
}

/* Map Container */
.map-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.map-container iframe {
    width: 100%;
    display: block;
    border: none;
}

/* Footer */
footer {
    background-color: #222; /* Darker footer */
    color: #eee;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content p {
    margin: 0;
    font-size: 0.95em;
}

.footer-socials a {
    color: #eee;
    font-size: 1.4em;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--primary-color);
}

/* Quick Chat Feature (Modernized - Updated Positioning) */
.quick-chat-container {
    position: fixed;
    bottom: 30px; /* Atur posisi tombol di pojok kanan bawah */
    right: 30px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Pastikan item di dalamnya rata kanan */
}

.quick-chat-button {
    background-color: var(--secondary-color); /* Dark blue from the logo */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); /* Bayangan lebih dalam */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.quick-chat-button:hover {
    background-color: var(--primary-color); /* Orange color on hover */
    transform: translateY(-5px); /* Efek angkat yang lebih menonjol */
}

.chat-popup {
    /* Atur pop-up agar muncul ke atas dari tombol */
    position: absolute; /* Penting agar 'bottom' berfungsi relatif terhadap container */
    bottom: 80px; /* Jarak dari tombol chat (sekitar tinggi tombol + margin) */
    right: 0; /* Rata kanan dengan tombol */
    transform-origin: bottom right; /* Titik asal transformasi saat muncul/hilang */

    background-color: rgba(255, 255, 255, 0.95); /* Latar belakang semi-transparan */
    border-radius: 15px; /* Sudut lebih membulat */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Bayangan yang lebih halus dan besar */
    width: 350px; /* Sedikit lebih lebar */
    /* margin-bottom: 20px; <-- Hapus atau setel ke 0, karena kita menggunakan 'bottom' */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95); /* Sedikit disesuaikan untuk muncul ke atas */
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out, transform 0.4s ease-out;
    display: flex;
    flex-direction: column;
    max-height: 85vh; /* Batasi tinggi pop-up lebih banyak */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Sedikit garis tepi tipis */
}

.chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* Gradien warna logo */
    color: #fff;
    padding: 18px 25px; /* Padding lebih besar */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Untuk efek garis bawah */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25em; /* Ukuran font lebih besar */
    font-weight: 700; /* Lebih tebal */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.chat-header .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2em;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0 5px; /* Tambahkan padding agar lebih mudah diklik */
}

.chat-header .close-btn:hover {
    color: #ffe082; /* Kuning terang saat hover */
    transform: rotate(90deg); /* Efek putar saat hover */
}

.chat-body {
    padding: 25px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-body p {
    font-size: 1em;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.chat-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.chat-option-btn i {
    margin-right: 12px;
    font-size: 1.3em;
}

.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
}

.whatsapp-btn:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background-color: #dc3545;
    color: #fff;
}

.email-btn:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.livechat-btn {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
}

.livechat-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.chat-footer {
    background-color: #f0f4f7;
    padding: 12px 25px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;
    font-size: 0.85em;
    color: #777;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-track {
    background-color: transparent;
}

.chat-body form input[type="text"],
.chat-body form textarea {
    width: calc(100% - 24px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.chat-body form input[type="text"]:focus,
.chat-body form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

.chat-body form textarea {
    min-height: 80px;
    resize: vertical;
}

.chat-body form .primary-btn {
    padding: 12px 25px;
    font-size: 1.05em;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.2);
}

@media (max-width: 480px) {
    .quick-chat-container {
        bottom: 20px;
        right: 20px;
    }

    .quick-chat-button {
        width: 55px;
        height: 55px;
        font-size: 1.6em;
    }

    .chat-popup {
        width: calc(100vw - 40px);
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(20px) scale(0.95);
        transform-origin: bottom center;
        margin-bottom: 0;
        max-height: 75vh;
    }

    .chat-popup.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .chat-header {
        padding: 15px 20px;
    }

    .chat-header h3 {
        font-size: 1.1em;
    }

    .chat-header .close-btn {
        font-size: 1.6em;
    }

    .chat-body {
        padding: 20px;
    }

    .chat-option-btn {
        padding: 12px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background-color: var(--white-bg);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        height: calc(100vh - 85px);
        overflow-y: auto;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        padding: 10px 20px;
        display: block;
        width: 100%;
        font-size: 1.2em;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-overlay h1 {
        font-size: 2.2em;
    }

    .hero-overlay p {
        font-size: 1.1em;
    }

    .section-padding {
        padding: 60px 15px;
    }

    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    .card-grid, .process-flow-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .full-width-card {
        grid-column: unset;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-socials {
        margin-top: 15px;
    }

    /* Hide process scroll buttons on mobile */
    .process-scroll-btn {
        display: none;
    }
}

/* Blog Page Specific Styles */
#blog-hero {
    height: 60vh; /* Sesuaikan tinggi hero untuk halaman blog */
}

#blog-hero .hero-overlay {
    padding: 40px 30px;
}

#blog-hero h1 {
    font-size: 3em;
}

#blog-hero p {
    font-size: 1.2em;
}

/* Updated .blog-grid to be compatible with carousel structure */
/* This will only apply if blog-grid is still used for a grid layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left; /* Pastikan teks di dalam kartu rata kiri */
}

/* Ensure blog-card behaves as a flex item within a carousel */
.process-carousel .blog-card, /* Tambahkan .blog-card untuk styling umum */
.blog-card { /* Target blog-card secara umum, baik di carousel maupun grid */
    flex: 0 0 300px; /* Jangan menyusut, jangan tumbuh, lebar dasar 300px */
    background-color: var(--white-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start; /* Untuk efek snap saat menggulir */
    padding: 0; /* Hapus padding dari kartu itu sendiri */
    display: flex; /* Gunakan flexbox untuk konten di dalam blog-card */
    flex-direction: column; /* Susun konten secara vertikal */
}

.process-carousel .blog-card:hover,
.blog-card:hover { /* Tambahkan .blog-card untuk hover umum */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-card .blog-image { /* Aturan ini sudah ada, pastikan berfungsi dengan struktur baru */
    width: 100%;
    height: 200px; /* Tinggi gambar yang konsisten */
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    display: block; /* Menghilangkan ruang kosong di bawah gambar */
    border-radius: 8px 8px 0 0; /* Terapkan border-radius atas di sini */
}

.blog-card .blog-content { /* Khusus untuk kartu blog carousel dan grid */
    padding: 20px 25px; /* Tambahkan padding ke konten di dalam kartu, sedikit lebih besar horizontal */
    flex-grow: 1; /* Izinkan konten untuk tumbuh dan mengisi ruang */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ubah dari space-between menjadi flex-start */
    align-items: flex-start; /* Ubah dari center menjadi flex-start */
    text-align: left; /* Pastikan teks di dalam blog-content rata kiri */
    gap: 12px; /* Meningkatkan gap antar elemen di dalam blog-content */
}

.process-carousel .blog-card .blog-icon-wrapper { /* Gaya baru untuk wrapper ikon */
    margin-bottom: 15px;
    width: 100%; /* Pastikan mengambil lebar penuh untuk pemusatan */
}

.process-carousel .blog-card .blog-icon { /* Gaya baru untuk ikon */
    font-size: 3em; /* Ukuran ikon lebih besar */
    color: var(--primary-color); /* Warna primer untuk ikon */
}

.blog-card h3 {
    color: var(--text-color); /* Warna teks untuk judul */
    margin-top: 0;
    margin-bottom: 0; /* Mengatur margin-bottom ke 0 karena gap akan menangani jarak */
    font-size: 1.5em; /* Mengembalikan ukuran font judul ke 1.5em */
    line-height: 1.4; /* Menyesuaikan tinggi baris untuk judul */
}

.blog-card p {
    color: var(--text-color); /* Warna hitam untuk teks */
    font-size: 1em; /* Mengembalikan ukuran font deskripsi ke 1em */
    margin-bottom: 0; /* Mengatur margin-bottom ke 0 karena gap akan menangani jarak */
    line-height: 1.6;
}

.blog-card .read-more {
    text-align: left; /* Pastikan tombol rata kiri */
    width: 100%; /* Ambil lebar penuh untuk rata kiri */
    margin-top: 20px; /* Menambahkan margin atas untuk tombol agar ada jarak yang cukup */
    font-size: 0.95em; /* Sedikit mengurangi ukuran font tombol */
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* --- Single Blog Post Styles --- */
.single-blog-container {
    max-width: 800px; /* Lebar maksimum untuk konten blog */
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left; /* Konten blog rata kiri */
}

.single-blog-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.single-blog-meta {
    font-size: 0.95em;
    color: #777;
    text-align: center;
    margin-bottom: 30px;
}

.single-blog-image {
    width: 100%;
    height: auto;
    max-height: 450px; /* Batasi tinggi gambar */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.single-blog-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

/* Admin Page Specific Styles */
#admin-panel {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

#admin-panel h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.admin-menu { /* GAYA BARU UNTUK MENU ADMIN */
    display: flex;
    justify-content: center; /* Pusatkan tombol secara horizontal */
    gap: 15px; /* Jarak antar tombol */
    margin-bottom: 40px; /* Jarak antara menu dan form */
    flex-wrap: wrap; /* Izinkan tombol untuk wrap pada layar kecil */
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.admin-form input[type="text"],
.admin-form input[type="url"],
.admin-form input[type="date"],
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-form input[type="text"]:focus,
.admin-form input[type="url"]:focus,
.admin-form input[type="date"]:focus,
.admin-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25);
}

.admin-form textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-form .btn {
    width: auto; /* Tombol tidak full width */
    margin-top: 10px;
}

.admin-form .btn + .btn { /* Jarak antar tombol */
    margin-left: 10px;
}

.blog-list-admin {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.blog-list-admin h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.admin-blog-item {
    background-color: var(--white-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.admin-blog-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.admin-blog-item .blog-info {
    flex-grow: 1;
}

.admin-blog-item .blog-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    color: var(--text-color);
}

.admin-blog-item .blog-info p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.admin-blog-item .blog-actions {
    display: flex;
    gap: 10px;
}

.admin-blog-item .blog-actions .btn {
    padding: 8px 15px;
    font-size: 0.9em;
}

.admin-blog-item .blog-actions .edit-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.admin-blog-item .blog-actions .edit-btn:hover {
    background-color: #ffda6a;
}

.admin-blog-item .blog-actions .delete-btn {
    background-color: #dc3545;
    color: #fff;
}

.admin-blog-item .blog-actions .delete-btn:hover {
    background-color: #c82333;
}

/* Modal untuk konfirmasi */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1200;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h4 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.3em;
}

.modal-content p {
    margin-bottom: 25px;
    color: #555;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-actions .btn {
    padding: 10px 20px;
    font-size: 1em;
}

.modal-actions .cancel-btn {
    background-color: #6c757d;
}

.modal-actions .cancel-btn:hover {
    background-color: #5a6268;
}

/* Penyesuaian responsif untuk halaman blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Satu kolom di mobile */
        gap: 20px;
    }

    .blog-card .blog-image {
        height: 180px;
    }

    .blog-card .blog-content {
        padding: 15px;
    }

    .blog-card h3 {
        font-size: 1.2em;
    }

    .admin-blog-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-blog-item img {
        width: 100%;
        height: 150px;
    }

    .admin-blog-item .blog-actions {
        width: 100%;
        justify-content: space-around;
        margin-top: 15px;
    }

    /* Penyesuaian responsif post blog tunggal */
    .single-blog-title {
        font-size: 2em;
    }

    .single-blog-image {
        max-height: 300px;
    }

    .single-blog-content p {
        font-size: 1em;
    }
}

/* Gaya khusus untuk halaman login untuk memusatkan formulir */
body.login-page { /* Menambahkan kelas ke body untuk gaya halaman login tertentu */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--light-bg);
}
body.login-page main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.login-container {
    max-width: 400px;
    width: 100%;
    padding: 40px;
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.login-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2em;
}
.login-container .form-group {
    margin-bottom: 25px;
    text-align: left;
}
.login-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1.1em;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25);
}
.login-container .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
}
.login-container #login-error-message {
    margin-top: 15px;
    font-size: 1em;
}
.login-container .logo-login {
    margin-bottom: 30px;
}
.login-container .logo-login img {
    max-height: 80px;
}
/* Sembunyikan obrolan cepat di halaman login */
.quick-chat-container.hide-on-login {
    display: none !important;
}

/* Gaya baru untuk memusatkan tombol di dalam wadah text-align: left */
.button-center-container {
    text-align: center;
    margin-top: 20px; /* Tambahkan sedikit ruang di atas tombol */
}


/* --- BARU: Gaya Khusus Halaman Produk --- */
#products-hero {
    height: 60vh; /* Konsisten dengan hero blog */
}

#products-hero .hero-overlay {
    padding: 40px 30px;
}

#products-hero h1 {
    font-size: 3em;
}

#products-hero p {
    font-size: 1.2em;
}

.category-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Izinkan tombol untuk wrap pada layar yang lebih kecil */
}

.category-filter-buttons .btn {
    padding: 10px 20px;
    font-size: 1em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.product-card {
    background-color: var(--white-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card .product-image {
    width: 100%;
    height: 200px; /* Tinggi gambar yang konsisten */
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}

.product-card .product-content {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ini akan mendorong tombol ke bawah */
    align-items: flex-start;
    text-align: left;
    gap: 10px; /* Jarak antar elemen dalam konten produk */
}

.product-card h3 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5em;
    line-height: 1.4;
}

.product-card p {
    color: var(--text-color);
    font-size: 1em;
    margin-bottom: 0; /* Hapus margin-bottom agar flexbox dapat mengelola spasi */
    line-height: 1.6;
}

.product-card .btn {
    margin-top: auto; /* Ini akan mendorong tombol ke bagian bawah jika ada ruang */
    align-self: flex-start; /* Sejajarkan tombol ke kiri */
}

/* BARU: Gaya Halaman Detail Produk */
.product-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column; /* Susun gambar dan konten secara vertikal di layar kecil */
    align-items: center;
}

.product-detail-image {
    width: 100%;
    max-width: 600px; /* Lebar maksimum untuk gambar */
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.product-detail-content {
    width: 100%;
    /* Tidak ada lebar spesifik, biarkan mengambil ruang yang tersedia */
}

.product-detail-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center; /* Pusatkan judul di halaman detail */
}

.product-detail-category {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 20px;
    text-align: center; /* Pusatkan kategori di halaman detail */
}

.product-detail-description {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    white-space: pre-wrap; /* Pertahankan spasi dan baris baru */
}

/* Penyesuaian responsif untuk halaman produk */
@media (max-width: 768px) {
    .category-filter-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .category-filter-buttons .btn {
        width: 100%;
    }
    .product-grid {
        grid-template-columns: 1fr; /* Satu kolom di mobile */
        gap: 20px;
    }
    .product-card .product-image {
        height: 180px;
    }
    .product-card .product-content {
        padding: 15px;
    }
    .product-card h3 {
        font-size: 1.2em;
    }

    /* Responsif untuk halaman detail produk */
    .product-detail-container {
        padding: 20px;
    }
    .product-detail-title {
        font-size: 2em;
    }
    .product-detail-category {
        font-size: 1em;
    }
    .product-detail-description {
        font-size: 1em;
    }
}

/* Gaya untuk pratinjau gambar di formulir admin */
.image-preview-container {
    margin-top: 10px;
    border: 1px dashed var(--border-color);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px; /* Tinggi minimum untuk ruang visual */
    background-color: #f0f0f0;
}
.image-preview-container img {
    display: block; /* Pastikan gambar mengambil ruang */
    max-width: 100%;
    max-height: 150px;
    object-fit: contain; /* Pastikan seluruh gambar terlihat */
    border-radius: 5px;
}
