/* Palet Warna disesuaikan dengan LOGO */
:root {
    --color-primary: #003366; /* Biru Dongker / Navy */
    --color-secondary: #F5C400; /* Kuning / Emas dari Logo (Aksen) */
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-bg-light: #f4f4f4;
    --color-bg-secondary: #e6f7ff; /* Biru sangat muda */
}

/* Base Styling */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg-light);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.section-title {
    font-size: 2em;
    font-weight: 900;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}

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

/* HEADER & LOGO */
#main-header {
    background-color: var(--color-text-light);
    border-bottom: 4px solid var(--color-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    height: 60px; /* Ukuran logo */
    width: auto;
}

.wa-admin-desktop {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1em;
}

.wa-admin-desktop i {
    font-size: 24px;
    margin-right: 8px;
    color: #25D366; /* WhatsApp Green */
}

.wa-admin-mobile {
    display: none; /* Sembunyikan di desktop */
}

/* CTA BUTTONS */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.primary-cta {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-size: 1.2em;
    margin-top: 20px;
}

.primary-cta:hover {
    background-color: #ffda6a;
}

.final-cta-button {
    background-color: #25D366; /* WhatsApp Green */
    color: var(--color-text-light);
    font-size: 1.5em;
    padding: 20px 40px;
    margin: 30px 0;
}

.final-cta-button:hover {
    background-color: #128C7E;
}

.submit-button {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-size: 1.1em;
    width: 100%;
}

.submit-button:hover {
    background-color: #004c99;
}

/* 1. HERO SECTION */
#hero {
    background-color: var(--color-primary);
    padding: 40px 0 60px;
    color: var(--color-text-light);
}

#hero .container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.hero-image {
    min-height: 380px;
    flex: 1.2;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hero-text {
    flex: 1;
}

#hero h1 {
    font-size: 3.5em;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

#hero h2 {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 0;
    color: var(--color-text-light);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

/* 2. PROBLEM */
#problem {
    padding: 50px 0;
    background-color: var(--color-text-light);
}

.problem-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.problem-list ul li {
    background-color: #ffda6a; /* Aksen Kuning lebih muda */
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-secondary);
}

.callout-problem {
    text-align: center;
    font-size: 1.3em;
    font-style: italic;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 30px;
    padding: 15px;
    border-left: 5px solid var(--color-secondary);
    background-color: #fff9e6;
}

/* 3. SOLUSI & KEUNGGULAN */
#advantages {
    background-color: var(--color-bg-secondary); 
    padding: 50px 0;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-item {
    background-color: var(--color-text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-primary);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.advantage-item h4 {
    color: var(--color-primary);
    font-size: 1.2em;
    margin-top: 0;
    font-weight: 800;
}

/* 4. PILIHAN MODE LAYANAN */
#layanan {
    padding: 50px 0;
}

.layanan-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.layanan-card {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.layanan-card h4 {
    color: var(--color-secondary);
    font-size: 1.5em;
    margin-top: 0;
}

/* 5. PILIHAN PROGRAM EFEKTIF */
#program {
    padding: 50px 0;
    background-color: var(--color-bg-light);
}

.program-table-container {
    overflow-x: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#program table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-text-light);
    min-width: 600px;
}

#program th, #program td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#program thead th {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-weight: 700;
    text-transform: uppercase;
}

#program tbody tr:hover {
    background-color: #f0f0f0;
}

#program tbody tr td:first-child {
    font-weight: 600;
    color: var(--color-primary);
}


/* 6. JAMINAN & BUKTI (TESTIMONI) */
#testimonials {
    padding: 60px 0;
    background-color: #fff;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: var(--color-bg-secondary);
    padding: 30px;
    border-radius: 10px;
    max-width: 45%;
    min-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--color-secondary);
}

.testi-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.quote {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.source {
    font-weight: 700;
    color: var(--color-primary);
}

/* 7. FINAL CTA */
#cta-final {
    padding: 60px 0;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
}

.cta-subtitle {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

.penawaran-list p {
    font-size: 1.2em;
    margin: 10px 0;
    font-weight: 500;
}

.admin-contact {
    margin-top: 20px;
    font-size: 1.1em;
    color: var(--color-text-light);
}

/* FORMULIR SIMULASI */
.simple-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    margin: 40px auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.simple-form h4 {
    color: var(--color-primary);
    text-align: center;
    margin-top: 0;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.simple-form input[type="text"],
.simple-form input[type="tel"],
.simple-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

/* FOOTER */
footer {
    background-color: #111;
    color: #999;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}


/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8em;
    }

    /* HEADER */
    .wa-admin-desktop {
        display: none;
    }
    
    /* HERO */
    #hero .container {
        flex-direction: column-reverse; /* Pindah gambar ke bawah */
        text-align: center;
    }

    .hero-image {
        min-height: 250px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    #hero h1 {
        font-size: 2.5em;
    }

    #hero h2 {
        font-size: 1.2em;
    }
    
    /* WA BUTTON MELAYANG */
    .wa-admin-mobile {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #25D366;
        color: white;
        padding: 15px 20px;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        text-decoration: none;
        font-weight: 600;
        z-index: 1000;
        font-size: 1.1em;
    }

    .wa-admin-mobile i {
        margin-right: 5px;
        font-size: 1.5em;
    }
    
    /* TESTIMONIAL */
    .testimonial-card {
        max-width: 100%;
        min-width: unset;
    }
    
    /* CTA FINAL */
    .final-cta-button {
        font-size: 1.2em;
        padding: 15px 25px;
    }

    /* PROGRAM TABLE */
    #program table {
        display: block;
        overflow-x: auto;
    }

    /* LAYANAN CARD */
    .layanan-card {
        min-width: 100%;
    }
}
