/* RESET & DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    /* MENGGUNAKAN PALET VERSI PERTAMA (Navy & Orange) */
    --primary-color: #0b2545; 
    --secondary-color: #f77f00; 
    --text-color: #333;
    --heading-text-color: #0b2545; 
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1.5px;
}
.logo span { color: var(--secondary-color); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-links li { margin-left: 28px; }
.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--secondary-color); }

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
}
.btn-nav:hover { background-color: #e07200; }

/* --- DROPDOWN ALAT (MEGA MENU) --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 380px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 25px;
    z-index: 1000;
    left: 0;
    top: 150%;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    top: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    color: var(--text-color) !important;
    padding: 8px 0;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.menu-item:hover { color: var(--secondary-color) !important; }

.menu-group { margin: 18px 0; }

.group-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1rem;
}

/* SVG ICON STYLING */
.icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    color: var(--primary-color);
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 40px; 
}

.pill {
    border: 1px solid #d1d5db;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem !important;
    color: var(--text-color) !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: 0.3s;
    background: transparent;
}

.pill:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color) !important;
    background-color: var(--light-bg);
}
/* --------------------------------- */

.hamburger { display: none; cursor: pointer; }
.bar {
    display: block; width: 25px; height: 3px; margin: 5px auto;
    transition: all 0.3s; background-color: var(--primary-color);
}

/* HERO */
.hero {
    background: linear-gradient(rgba(11, 37, 69, 0.85), rgba(11, 37, 69, 0.95)), url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 100vh;
    display: flex; align-items: center; text-align: center; color: var(--white);
    padding-top: 70px;
}
.hero-content h1 { font-size: 3.4rem; margin-bottom: 25px; font-weight: 700; }
.hero-content p { font-size: 1.15rem; margin-bottom: 35px; max-width: 750px; margin-inline: auto; opacity: 0.95; }

/* UTILITY BUTTONS */
.btn {
    display: inline-block; padding: 14px 35px; text-decoration: none;
    font-weight: 600; border-radius: 6px; transition: 0.3s ease; cursor: pointer; border: none; text-align: center;
}
.btn-full { width: 100%; }
.btn-primary { background-color: var(--secondary-color); color: var(--white); margin-right: 18px; }
.btn-primary:hover { background-color: #e07200; }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }
.hero .btn-outline { border-color: var(--white); color: var(--white); }
.hero .btn-outline:hover { background-color: var(--white); color: var(--primary-color); }

/* GLOBAL SECTION HEADER */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; color: var(--heading-text-color); margin-bottom: 12px; }
.section-header p { color: #666; font-size: 1.1rem; }

/* TENTANG KAMI */
.about { padding: 100px 0; background-color: var(--light-bg); }
.about-wrapper { display: flex; flex-direction: column; gap: 40px; }
.about-text h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.5rem; }
.about-text p { margin-bottom: 15px; text-align: justify; }

.about-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 20px; }
.feature-box { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-top: 4px solid var(--secondary-color); }
.feature-box h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 15px; }
.feature-box ul { list-style: none; padding-left: 0; }
.feature-box ul li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.feature-box ul li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-color); font-weight: bold; }

/* LAYANAN & PRODUK */
.services { padding: 100px 0; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; margin-bottom: 60px; }
.service-card { background: var(--white); padding: 50px 35px; border-radius: 10px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.service-card .icon { margin-bottom: 20px; display: inline-block; }
.service-card h3 { color: var(--heading-text-color); margin-bottom: 15px; font-size: 1.3rem; }

/* PRICING SECTION */
.pricing-section { margin-top: 80px; }
.pricing-title { text-align: center; color: var(--primary-color); font-size: 1.8rem; margin-bottom: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pricing-card { background: var(--white); padding: 40px 30px; border-radius: 10px; text-align: center; border: 1px solid var(--border-color); position: relative; display: flex; flex-direction: column; }
.pricing-card.popular { border: 2px solid var(--secondary-color); transform: scale(1.03); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.pricing-card .badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--secondary-color); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.pricing-card h4 { font-size: 1.2rem; color: var(--text-color); margin-bottom: 15px; }
.pricing-card .price { font-size: 3rem; font-weight: 700; color: var(--primary-color); margin-bottom: 25px; line-height: 1; }
.pricing-card .price span { font-size: 1rem; color: #777; font-weight: 400; }
.pricing-card ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.pricing-card ul li { padding: 12px 0; border-bottom: 1px solid var(--light-bg); color: #555; font-size: 0.95rem; }
.pricing-card ul li:last-child { border-bottom: none; }

/* DEDICATED BANNER */
.dedicated-banner { background: var(--primary-color); border-radius: 10px; padding: 40px; margin-top: 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: var(--white); }
.dedicated-content h3 { font-size: 1.6rem; margin-bottom: 10px; }
.dedicated-content p { color: #d1d5db; max-width: 600px; }

/* KONTAK SECTION */
.contact { padding: 100px 0; background-color: var(--light-bg); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-icon { font-size: 1.5rem; display: flex; align-items: flex-start; }
.info-item h4 { color: var(--primary-color); margin-bottom: 5px; font-size: 1.1rem; }
.info-item p { color: #555; }
.map-container { margin-top: 20px; }

.contact-form-container { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.contact-form-container h3 { color: var(--primary-color); margin-bottom: 25px; font-size: 1.5rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-color); font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #d1d5db; border-radius: 6px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; outline: none; transition: border 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--secondary-color); }

/* FOOTER LENGKAP */
.footer {
    background-color: var(--primary-color);
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;   /* TAMBAHKAN INI: paksa semua kolom rata dari atas */
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;    /* rata kiri */
    justify-content: flex-start; /* rata atas */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}
.footer-info h3 span {
    color: var(--secondary-color);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a365d;
    padding-top: 20px;
    font-size: 14px;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .dedicated-banner { flex-direction: column; text-align: center; }
}

@media(max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed; left: -100%; top: 70px; flex-direction: column;
        background-color: var(--white); width: 100%; text-align: left;
        transition: 0.3s; box-shadow: 0 10px 10px rgba(0,0,0,0.05); padding-bottom: 20px;
        overflow-y: auto; max-height: calc(100vh - 70px);
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 20px 30px; }
    
    .dropdown-menu {
        position: relative; box-shadow: none; border: none;
        min-width: 100%; padding: 10px 0 0 20px; top: 0;
        display: none; background: transparent;
    }
    .dropdown:active .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block;
    }
    
    .hero-content h1 { font-size: 2.3rem; }
    .pricing-card.popular { transform: scale(1); }
    .btn-primary { margin-right: 0; margin-bottom: 15px; }
    .hero-buttons .btn { display: block; width: 100%; }
}

/* --- SETTING LOGO GAMBAR --- */
.logo-img {
    height: 150px; 
    width: auto;
    display: block;
    margin: -45px 0; 
}

.footer-logo-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.footer-logo {
    width: 200px;      /* diperkecil dari 220px */
    height: auto;
    display: block;
}

/* --- PENYESUAIAN IKON KONTAK FOOTER --- */
.contact-item {
    display: flex;
    align-items: flex-start; /* Supaya ikon sejajar dengan baris pertama teks jika teks panjang */
    gap: 12px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-item svg {
    flex-shrink: 0; /* Mencegah ikon menyusut saat layarnya kecil */
    margin-top: 2px;
    color: var(--secondary-color); /* Warna ikon orange menyesuaikan tema */
}

/* ================= HALAMAN LEGALITAS (FAQ, REFUND, T&C) ================= */
.legal-page { padding: 120px 0 80px; background-color: var(--light-bg); min-height: 80vh; }
.legal-container { max-width: 800px; margin: auto; background: var(--white); padding: 50px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.legal-container h1 { color: var(--primary-color); margin-bottom: 10px; font-size: 2.2rem; }
.legal-container .last-updated { color: #888; font-size: 0.9rem; margin-bottom: 30px; display: block; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.legal-container h3 { color: var(--primary-color); margin-top: 30px; margin-bottom: 15px; font-size: 1.3rem; }
.legal-container p { color: #555; margin-bottom: 15px; text-align: justify; line-height: 1.8; }
.legal-container ul { padding-left: 20px; color: #555; margin-bottom: 15px; line-height: 1.8; }
.legal-container li { margin-bottom: 10px; }

@media(max-width: 768px) {
    .legal-container { padding: 30px 20px; width: 90%; }
    .legal-container h1 { font-size: 1.8rem; }
}