@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

:root {
    --red: #E32322;
    --yellow: #F2E314;
    --green: #267341;
    --blue: #4F859D;
    --black: #111111;
    --white: #FFFFFF;
    --light-bg: #F4F7F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--black);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}
.logo .p { color: var(--red); }
.logo .u { color: var(--yellow); }
.logo .r { color: var(--green); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-links li { margin-left: 30px; }
.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--blue); }

.btn-primary {
    background: var(--green);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
}
.btn-primary:hover { background: #1e5a33; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(79, 133, 157, 0.8)), url('https://images.unsplash.com/photo-1586528116311-ad8ed7c83a7f?q=80&w=2070&auto=format&fit=crop') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; }

/* Widget (Cek Resi & Tarif) */
.widget-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.widget-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
}
.tab-btn.active {
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
}

.widget-form { display: none; gap: 10px; }
.active-form { display: flex; }

.widget-form input {
    flex: 1;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-action {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}
.btn-action:hover { background: #b81c1b; }

.hasil-box {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4f8;
    color: var(--blue);
    border-radius: 5px;
    display: none;
    text-align: left;
}

/* Services */
.services { padding: 80px 5%; text-align: center; }
.services h2 { font-size: 2.5rem; margin-bottom: 50px; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.service-card:hover { transform: translateY(-10px); }
.service-card i { margin-bottom: 20px; }

.red-border { border-top: 5px solid var(--red); }
.red-border i { color: var(--red); }
.yellow-border { border-top: 5px solid var(--yellow); }
.yellow-border i { color: var(--yellow); }
.green-border { border-top: 5px solid var(--green); }
.green-border i { color: var(--green); }

/* Footer */
footer { background: var(--black); color: var(--white); padding: 50px 5% 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px;}
.footer-info p { margin: 10px 0; }
.footer-info i { margin-right: 10px; color: var(--yellow); }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }