/* Import Font Modern Profesional */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0b4ca1; /* Biru Profesional BPSDMD */
    --primary-hover: #083877;
    --secondary-color: #1e293b; /* Slate Dark */
    --bg-light: #f8fafc; /* Abu-abu super lembut */
    --text-main: #334155;
    --text-muted: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* ==================== NAVBAR TERBARU ==================== */
header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 4px;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: url('latarbelakang.jpeg') no-repeat center center/cover;
    height: 60vh;
    min-height: 450px;
    position: relative;
}

.overlay {
    background: linear-gradient(135deg, rgba(11, 76, 161, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Tombol Premium */
.hero-btn {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-outline {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-outline.blue {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline.blue:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-submit-wbs {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-wbs:hover {
    background-color: var(--primary-hover);
}

/* ==================== STATISTIK CARD ==================== */
.statistik {
    max-width: 1100px;
    margin: -50px auto 50px auto;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.card-stat {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    text-align: center;
    border-bottom: 4px solid #e2e8f0;
    transition: transform 0.3s;
}

.card-stat:hover {
    transform: translateY(-5px);
}

.card-stat:nth-child(1) { border-bottom-color: var(--primary-color); }
.card-stat:nth-child(2) { border-bottom-color: var(--warning); }
.card-stat:nth-child(3) { border-bottom-color: var(--success); }
.card-stat:nth-child(4) { border-bottom-color: var(--danger); }

.card-stat i {
    font-size: 24px;
    margin-bottom: 12px;
}

.card-stat:nth-child(1) i { color: var(--primary-color); }
.card-stat:nth-child(2) i { color: var(--warning); }
.card-stat:nth-child(3) i { color: var(--success); }
.card-stat:nth-child(4) i { color: var(--danger); }

.card-stat h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.card-stat p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==================== CONTAINER FORM & LACAK (PREMIUM BOX) ==================== */
.wbs-box-container {
    max-width: 580px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.wbs-box-container h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.wbs-box-container p.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Form inputs */
.wbs-form-group {
    text-align: left;
    margin-bottom: 20px;
}

.wbs-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.wbs-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14.5px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    color: var(--text-main);
    transition: all 0.2s;
}

.wbs-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 76, 161, 0.1);
}

.wbs-input::placeholder {
    color: #94a3b8;
}

/* Hasil Pelacakan Abu-abu Modern */
.tracking-result-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin-top: 25px;
    text-align: left;
}

.tracking-result-box p {
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
    color: var(--text-main);
}

.tracking-result-box p:last-of-type {
    border-bottom: none;
}

/* ==================== FOOTER ==================== */
.wbs-footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 60px 0 0 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-img-logo {
    height: 45px;
    width: auto;
}

.footer-logo-block h3 {
    font-size: 18px;
    font-weight: 700;
}

.footer-logo-block p {
    font-size: 12px;
    color: #94a3b8;
}

.footer-address, .footer-contact {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    color: #ffffff;
    background: #334155;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-socials a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 6px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.supported-by-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 20px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 10px;
}

.supported-by-container p {
    color: #cbd5e1;
    margin: 0;
    font-size: 14px;
}

.logo-support {
    max-height: 50px;
    width: auto;
}

.footer-bottom {
    background: #020617;
    text-align: center;
    padding: 25px 20px;
    font-size: 13px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

.slogan-wbk {
    color: #34d399 !important;
    font-weight: 600;
    margin-top: 4px;
}