   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7fb;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ==============================HEADER  ==============================*/
.desktop-navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 72px;
    background: #fff;
    display: flex;
    align-items: center;
    /* justify-content: space-between; <-- HAPUS INI */
    /* padding: 0 128px; <-- HAPUS INI */
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Container sudah memiliki max-width: 1200px dari kode awal Anda */
    /* Jadi saat layar melebar, konten navbar akan berhenti di 1200px dan tetap di tengah */
}

/* Pastikan class container Anda sudah benar */
.container {
    max-width: 1200px; /* Batas maksimal lebar konten agar tidak meluber ke ujung */
    margin: 0 auto;    /* Membuat konten tetap di tengah */
    padding: 0 20px;   /* Jarak aman di layar kecil */
    width: 100%;
}

/* LOGO */
.desktop-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.desktop-logo img {
    height: 48px;
}

.logo-gemari {
    margin-top: 12px;
}

/* ===================================MENU DESKTOP=================================== */
.desktop-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.desktop-menu a {
    color: #2fb9e6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

/* ===================================DROPDOWN=================================== */
.desktop-dropdown {
    position: relative;
}

.desktop-dropdown-toggle {
    cursor: pointer;
    color: #2fb9e6;
    font-size: 16px;
    font-weight: 500;
}

.desktop-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.desktop-dropdown:hover .desktop-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    color: #2fb9e6;
}

.desktop-dropdown-menu a:hover {
    background: #f1f5f9;
}

/* ===================================BURGER=================================== */
.burger {
    display: none;
    font-size: 26px;
    color: #2fb9e6;
    cursor: pointer;
}


/* ============ MOBILE NAVBAR ============ */
.mobile-navbar {
    height: 56px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
}

.logo img {
    height: 45px;
}

/* ===================================BURGER=================================== */
.mobile-navbar .burger {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;

}

.mobile-navbar .burger span {
    height: 3px;
    background: #2fb9e6;
    border-radius: 2px;
}

/* MENU */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

/* ===================================DROPDOWN=================================== */
.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    background: #f9f9f9;
}

.dropdown-menu a {
    padding-left: 32px;
    font-size: 13px;
}

.dropdown.active .dropdown-menu {
    display: block;
}

/* DESKTOP HIDE */
@media (min-width: 768px) {

    .mobile-navbar,
    .mobile-menu {
        display: none;
    }
}

/* MOBILE HIDE DESKTOP NAV */
@media (max-width: 768px) {
    .desktop-navbar {
        display: none;
    }
}

/* ============================== HERO SECTION ============================== */
.hero-section {
    /*background-color: #1aa3d9;*/
    background-image: url('background-1.png');
    background-size: cover;      
    background-position: center;  
    background-repeat: no-repeat; 
    padding: 20px 0 50px 0; /* Padding bawah jangan terlalu besar agar form tidak terlalu jauh */
    position: relative;
    overflow: visible; /* Penting: agar form yang naik tidak terpotong */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    margin-top: -50px;
    color: #fff;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    opacity: 1;
    max-width: 650px;
}

.hero-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    /* Jika gambar memiliki background putih, gunakan mix-blend-mode atau pastikan PNG transparan */
}

/* ============================== FORM SECTION ============================== */
.form-section {
    position: relative;
    z-index: 10;
    margin-top: -120px; /* MENARIK FORM KE ATAS (Overlap) */
    margin-bottom: 100px;
}
.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: auto;
}

.form-card h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ef;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #1aa3d9;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: #1aa3d9;
    color: #fff;
    border: none;
    border-radius: 50px; /* Mengikuti desain tombol melengkung */
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #158dbb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 163, 217, 0.3);
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        flex: 1;
        margin-top: 50px;
        margin-bottom: 50px;
        color: #fff;
    }
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-image {
        flex: 0 0 auto;
        margin-top: 20px;
    }

    .hero-image img {
        /*max-width: 250px;*/
        display: none;
    }

    .form-card {
        padding: 25px;
        margin: 0 10px;
    }
}

/* =================================FAQ Section========================== */
.faq-section {
    background: #39aeb9;
    padding: 60px 50px;
    text-align: center;
    color: white;
}
.faq-container {
    max-width: 800px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Jarak antar pertanyaan */
}
.faq-item {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Jarak antara kotak pertanyaan dan kotak jawaban */
    text-align: left;
}
.faq-question {
    background: white;
    color: #333;
    padding: 11px 25px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
.faq-answer {
    background: white;
    color: #333;
    padding: 0 25px; /* Padding 0 saat tertutup */
    border-radius: 10px;
    max-height: 0; /* Tinggi 0 saat tertutup */
    overflow: hidden; /* Sembunyikan teks yang melebihi tinggi */
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.faq-answer p {
    margin: 0;
}

.faq-list li{
    margin-bottom:5px;
    font-size: 16px;
}

/* State ketika FAQ aktif (terbuka) */
.faq-item.active .faq-answer {
    padding: 20px 25px; /* Berikan padding agar lega saat terbuka */
    max-height: 200px; /* Angka ini harus lebih besar dari tinggi teks jawaban */
}


/* =======================Footer===================== */
footer {
    background: #10182b;
    color: white;
    padding: 60px 50px 20px;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
}
.footer-col p, .footer-col ul li a {
    color: #bbb;
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
}
.footer-col ul {
    list-style: none;
}
.social-icons span {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 10px;
    font-size: 12px;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
}

/* =========================================
   RESPONSIVE FOOTER (TABLET & MOBILE)
   ========================================= */

/* Layar Tablet (di bawah 992px) */
@media screen and (max-width: 992px) {
    footer {
        padding: 50px 30px 20px;
    }
    .footer-container {
        flex-wrap: wrap; /* Mengizinkan kolom turun ke baris baru jika sempit */
        gap: 40px 20px; /* Jarak atas-bawah 40px, kiri-kanan 20px */
    }
    .footer-col {
        flex: 1 1 calc(50% - 20px); /* Membagi footer menjadi 2 kolom per baris */
    }

    .footer-col img{
        width: 200px;
    }
}

/* Layar HP (di bawah 768px) */
@media screen and (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
    }
    .footer-container {
        flex-direction: column; /* Menumpuk semua kolom lurus ke bawah */
        gap: 30px;
    }
    .footer-col {
        flex: 1 1 100%; /* Memastikan setiap bagian mengambil lebar penuh layar */
    }

    .footer-col img{
        width: 200px;
    }
    
    /* Sedikit penyesuaian jarak agar rapi di HP */
    .footer-col h4 {
        margin-bottom: 12px;
        font-size: 18px; /* Sedikit dibesarkan agar menonjol di HP */
    }
    .footer-col p, .footer-col ul li a {
        font-size: 14px;
    }
    .footer-col.brand img {
        margin-bottom: 15px; /* Memberi jarak antara logo dan nama PT */
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }
    .footer-bottom p {
        font-size: 11px; /* Mengecilkan teks copyright agar tidak memakan banyak baris */
        line-height: 1.5;
    }
}

/* =========================================
   RESPONSIVE FOOTER (TABLET & MOBILE)
   ========================================= */

/* Layar Tablet (di bawah 992px) */
@media screen and (max-width: 992px) {
    footer {
        padding: 50px 30px 20px;
    }
    .footer-container {
        flex-wrap: wrap; 
        gap: 40px 20px; 
    }
    .footer-col {
        flex: 1 1 calc(50% - 20px); 
        text-align: center; /* Rata tengah untuk tablet */
    }
    .footer-col ul {
        padding: 0; /* Hilangkan jarak kiri bawaan list */
    }
    .social-icons {
        display: flex;
        justify-content: center; /* Pusatkan ikon sosial media */
    }
}

/* Layar HP (di bawah 768px) */
@media screen and (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
        text-align: center; /* Rata tengah untuk semua teks di footer */
    }
    .footer-container {
        flex-direction: column; 
        align-items: center; /* Pusatkan semua kolom ke tengah layar */
        gap: 30px;
    }
    .footer-col {
        flex: 1 1 100%; 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Pusatkan isi di dalam masing-masing kolom */
    }
    .footer-col ul {
        padding: 0; 
    }
    
    .footer-col h4 {
        margin-bottom: 12px;
        font-size: 18px; 
    }
    .footer-col p, .footer-col ul li a {
        font-size: 14px;
    }
    .footer-col.brand img {
        margin-bottom: 15px; 
    }
    
    .social-icons {
        display: flex;
        justify-content: center; 
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }
    .footer-bottom p {
        font-size: 11px; 
        line-height: 1.5;
    }
}
