*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#eef2f7;
    color:#222;
}

/* =========================
   NAVBAR GLOBAL
========================= */
.navbar{
    background:#2f5daa;
    padding:20px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:white;
    font-size:28px;
    font-weight:bold;
}

.menu{
    display:flex;
    align-items:center;
    gap:25px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.btn-login{
    background:white;
    color:#2f5daa !important;
    padding:10px 20px;
    border-radius:20px;
}

/* =========================
   HERO
========================= */
.hero{
    background:url('../img/bg.jpg') center/cover no-repeat;
    height:520px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,30,100,0.55);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    text-align:center;
}

.hero h1{
    font-size:54px;
    margin-bottom:15px;
}

/* =========================
   PAKET HOMEPAGE
========================= */
.paket-section{
    padding:80px 8%;
    text-align:center;
}

.paket-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.paket-card{
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.speed{
    font-size:32px;
    font-weight:bold;
    margin:15px 0;
}

.harga{
    font-size:24px;
    color:#2f5daa;
    font-weight:bold;
    margin-bottom:20px;
}

.btn-daftar{
    display:inline-block;
    background:#2f5daa;
    color:white;
    padding:12px 25px;
    border-radius:10px;
    text-decoration:none;
}

/* =========================
   FORM HOMEPAGE
========================= */
.form-section{
    padding:70px 20px;
}

.form-section h2{
    text-align:center;
    font-size:36px;
    margin-bottom:25px;
    color:#222;
}

.form-card{
    background:white;
    max-width:700px;
    margin:auto;
    padding:35px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* INPUT + SELECT + TEXTAREA DISAMAKAN */
.form-card input,
.form-card select,
.form-card textarea{
    width:100%;
    padding:16px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    box-sizing:border-box;
    background:white;
    font-family:Arial,sans-serif;
}

/* biar dropdown modern */
.form-card select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    cursor:pointer;
}

.form-card textarea{
    min-height:120px;
    resize:vertical;
}

.form-card button{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.btn-lokasi{
    background:#28a745 !important;
    margin-bottom:15px;
    color:white;
}

.btn-submit{
    background:#2f5daa !important;
    color:white;
}

/* =========================
   INFO HOMEPAGE
========================= */
.info-section{
    max-width:1000px;
    margin:40px auto;
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* =========================
   LOGIN MODAL
========================= */
.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

.modal-content{
    background:white;
    width:400px;
    padding:35px;
    border-radius:18px;
    position:relative;
}

.modal-content h2{
    margin-bottom:20px;
}

.modal-content input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

.modal-content button{
    width:100%;
    padding:14px;
    background:#2f5daa;
    color:white;
    border:none;
    border-radius:10px;
}

.close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   ADMIN GLOBAL
========================= */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.admin-section{
    padding:60px 0;
}

.section-title{
    font-size:42px;
    margin-bottom:10px;
}

.admin-subtitle{
    font-size:18px;
    margin-bottom:35px;
    color:#666;
}

.admin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.admin-card{
    display:block;
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    text-decoration:none;
    color:#222;
    transition:0.3s;
}

.admin-card:hover{
    transform:translateY(-5px);
}

.admin-card h3{
    margin-bottom:15px;
    color:#2f5daa;
}

/* =========================
   HALAMAN TAMBAH PAKET
========================= */
.wrapper{
    display:flex;
    gap:30px;
    padding:40px 50px;
    align-items:flex-start;
}

.card{
    background:white;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    padding:30px;
}

.paket-form-card{
    width:38%;
    min-width:450px;
}

.paket-table-card{
    width:62%;
}

.paket-form-card h2,
.paket-table-card h2{
    color:#2f5daa;
    margin-bottom:20px;
}

.paket-form-card input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
}

.paket-form-card button{
    width:100%;
    background:#2f5daa;
    color:white;
    border:none;
    padding:14px;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
}

.input-group{
    position:relative;
    width:100%;
    margin-bottom:15px;
}

.input-group input{
    width:100%;
    padding:14px 80px 14px 14px;
    margin:0;
}

.input-group span{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    color:#666;
    font-weight:bold;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th,
table td{
    padding:14px;
    border-bottom:1px solid #ddd;
    text-align:left;
}

.btn-edit{
    background:orange;
    color:white;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
    margin-right:8px;
}

.btn-hapus{
    background:red;
    color:white;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
}

/* =========================
   TOMBOL KEMBALI
========================= */
.page-action{
    width:90%;
    max-width:1200px;
    margin:25px auto -10px auto;
    display:flex;
    justify-content:flex-end;
}

.page-back-btn{
    background:#6c757d;
    color:white;
    text-decoration:none;
    padding:12px 20px;
    border-radius:10px;
    font-weight:bold;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    transition:0.3s;
}

.page-back-btn:hover{
    background:#5a6268;
}

/* ===== HALAMAN SETTING SAMAKAN DENGAN TAMBAH PAKET ===== */
.setting-content {
    padding: 40px 50px;
    width: 100%;
}

.setting-top-action {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.setting-btn-kembali {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.setting-btn-kembali:hover {
    background: #5a6268;
}

.setting-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.setting-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 30px;
}

.setting-form-card {
    width: 38%;
    min-width: 450px;
}

.setting-table-card {
    width: 62%;
}

.setting-card h2 {
    color: #2f5daa;
    margin-bottom: 20px;
    font-size: 22px;
}

.setting-form-group {
    margin-bottom: 18px;
}

.setting-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #222;
}

.setting-form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    resize: vertical;
    min-height: 110px;
    box-sizing: border-box;
}

.setting-btn-simpan {
    width: 100%;
    background: #2f5daa;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.setting-btn-simpan:hover {
    background: #244b8c;
}

.setting-table {
    width: 100%;
    border-collapse: collapse;
}

.setting-table th,
.setting-table td {
    word-break: break-word;
    white-space: normal;
    max-width: 250px;
}

.setting-btn-edit {
    background: orange;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 8px;
    font-size: 14px;
}

.setting-btn-hapus {
    background: red;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.setting-table td {
    word-break: break-word;
    white-space: normal;
    max-width: 250px;
}

/* ===== FIX DROPDOWN PAKET ===== */
.paket-select{
    width:100% !important;
    padding:16px !important;
    margin-bottom:18px !important;
    border:1px solid #ddd !important;
    border-radius:12px !important;
    font-size:16px !important;
    box-sizing:border-box !important;
    background:white !important;
    font-family:Arial,sans-serif !important;
    display:block !important;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
}

.setting-form-group textarea[name="faq"]{
    min-height: 140px;
}

/* =========================
   FAQ SECTION FRONT PAGE
========================= */
.faq-section{
    padding: 70px 20px;
    background: #f8f9fb;
}

.faq-section h2{
    text-align: center;
    font-size: 38px;
    color: #2d5daa;
    margin-bottom: 30px;
    font-weight: bold;
}

.faq-box{
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    line-height: 1.8;
    font-size: 18px;
    color: #333;
}

/* FIX BUTTON EDIT HAPUS */
.setting-table td:last-child{
    white-space: nowrap;
    width: 140px;
}

.setting-btn-edit,
.setting-btn-hapus{
    display: inline-block;
    margin-bottom: 0;
}

.btn-login{
    background:white;
    color:#2f5daa !important;
    padding:10px 20px;
    border-radius:20px;
}

/* =========================
   MOBILE RESPONSIVE FRONT PAGE
========================= */
@media (max-width: 768px){

    body{
        overflow-x:hidden;
    }

    .navbar{
        flex-direction:column;
        gap:12px;
        padding:15px 20px;
    }

    .logo{
        font-size:24px;
        text-align:center;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .menu a{
        font-size:14px;
    }

    .btn-login{
        padding:8px 14px;
        font-size:14px;
    }

    .hero{
        height:340px;
        padding:20px;
    }

    .hero h1{
        font-size:34px;
        line-height:1.2;
    }

    .hero-content p{
        font-size:15px;
    }

    .paket-section{
        padding:50px 20px;
    }

    .paket-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .paket-card{
        padding:25px;
    }

    .form-section{
        padding:50px 20px;
    }

    .form-card{
        width:100%;
        padding:25px;
    }

    .faq-section{
        padding:50px 20px;
    }

    .faq-box{
        padding:20px;
        font-size:16px;
    }

    .modal-content{
        width:90%;
        padding:25px;
    }
}