/* =====================================================
   LPPSP - Custom CSS
   Warna: Biru Tua (#0d2b5e), Putih (#ffffff), Aksen (#1a6fc4)
   Font: Inter
   ===================================================== */

/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Variables ─────────────────────────────────────── */
:root {
    --primary: #0d2b5e;
    --primary-light: #1a4a9e;
    --accent: #1a6fc4;
    --accent-light: #e8f0fb;
    --gold: #f5a623;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --bg-light: #f7f9fc;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(13,43,94,.10);
    --shadow-lg: 0 12px 40px rgba(13,43,94,.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: .3s ease;
}

/* ─── Container ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── Main Content (offset fixed navbar) ────────────── */
main { padding-top: 96px; }

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13,43,94,0.97);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.navbar-brand { display: flex; align-items: center; gap: 16px; }
.navbar-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}
.brand-text { color: var(--white); display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.brand-text strong { display: block; font-size: 1.4rem; letter-spacing: .5px; font-weight: 800; line-height: 1.1; }
.brand-text small { font-size: .8rem; opacity: .9; font-weight: 500; white-space: normal; line-height: 1.3; max-width: 220px; }

.navbar-menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-link {
    color: rgba(255,255,255,.85);
    padding: 8px 12px;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.nav-link.nav-btn:hover,
.nav-link.nav-btn.active { background: rgba(255,255,255,0.15); color: var(--white); }

.navbar-toggle {
    display: none;
    background: transparent; border: 2px solid rgba(255,255,255,.4);
    color: white; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 1.1rem;
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d2b5e 0%, #1a4a9e 50%, #1a6fc4 100%);
    display: flex; align-items: center; padding-top: 80px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; position: relative; }
.hero-content { color: var(--white); }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white; padding: 6px 18px; border-radius: 50px; font-size: .8rem;
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: #f5a623; }
.hero-desc { font-size: 1.1rem; opacity: .85; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--accent-light); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-danger { background: #e53e3e; color: white; border-color: #e53e3e; }
.btn-sm { padding: 8px 20px; font-size: .85rem; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center; color: white;
}
.hero-card-icon { font-size: 4rem; margin-bottom: 16px; opacity: .9; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-item span { font-size: .8rem; opacity: .8; }

/* ─── Section Commons ────────────────────────────────── */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
    display: inline-block; background: var(--accent-light); color: var(--accent);
    padding: 5px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600;
    letter-spacing: .5px; margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 16px auto; }

/* ─── Cards ─────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-badge {
    display: inline-block; background: var(--accent-light); color: var(--accent);
    padding: 3px 12px; border-radius: 50px; font-size: .75rem; font-weight: 600; margin-bottom: 10px;
}
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.card-text { color: var(--text-light); font-size: .92rem; line-height: 1.6; }
.card-meta { font-size: .8rem; color: var(--text-light); margin-top: 12px; }

/* ─── Grid Layouts ──────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ─── Layanan Cards ─────────────────────────────────── */
.layanan-card {
    background: var(--white); border-radius: var(--radius); padding: 36px 28px;
    box-shadow: var(--shadow); text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}
.layanan-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.layanan-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 20px;
}
.layanan-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.layanan-card p { color: var(--text-light); font-size: .9rem; line-height: 1.7; }

/* ─── Testimoni Cards ───────────────────────────────── */
.testimoni-card {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); border-left: 4px solid var(--accent);
    transition: var(--transition);
}
.testimoni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimoni-stars { color: var(--gold); font-size: .9rem; margin-bottom: 14px; }
.testimoni-isi { color: var(--text); font-style: italic; line-height: 1.8; margin-bottom: 20px; font-size: .95rem; }
.testimoni-author { display: flex; align-items: center; gap: 14px; }
.testimoni-foto { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-light); }
.testimoni-foto-placeholder { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.testimoni-name { font-weight: 700; color: var(--primary); font-size: .95rem; }
.testimoni-pos { font-size: .8rem; color: var(--text-light); }

/* ─── Klien Mitra ───────────────────────────────────── */
.klien-tab-wrapper { margin-bottom: 40px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tab-btn {
    padding: 10px 24px; border-radius: 50px; border: 2px solid var(--border);
    background: var(--white); color: var(--text); font-weight: 500; cursor: pointer;
    transition: var(--transition); font-family: inherit; font-size: .9rem;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.klien-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.klien-card {
    background: var(--white); border-radius: var(--radius); padding: 24px 16px;
    box-shadow: var(--shadow); text-align: center;
    transition: var(--transition); border: 1px solid var(--border);
}
.klien-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.klien-logo { height: 60px; object-fit: contain; margin: 0 auto 12px; }
.klien-nama { font-size: .82rem; font-weight: 600; color: var(--primary); }

/* ─── Sambutan ──────────────────────────────────────── */
.sambutan-wrapper { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.sambutan-foto { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.sambutan-foto img { width: 100%; }
.sambutan-content blockquote { font-size: 1.1rem; font-style: italic; line-height: 1.9; color: var(--text); border-left: 4px solid var(--accent); padding-left: 24px; margin-bottom: 24px; }
.sambutan-name { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.sambutan-jabatan { color: var(--text-light); font-size: .9rem; }

/* ─── Contact Section ───────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 48px; height: 48px; background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }

/* ─── Form Styles ───────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .9rem; color: var(--primary); margin-bottom: 8px; }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: .95rem;
    transition: border-color var(--transition);
    background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-error { color: #e53e3e; font-size: .82rem; margin-top: 5px; }

/* ─── Alert ─────────────────────────────────────────── */
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ─── Page Banner ───────────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4a9e 100%);
    padding: 110px 0 20px; text-align: center; color: white;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 0; }
.page-banner p { display: none; }
.breadcrumb { display: none; }

/* ─── Maps ──────────────────────────────────────────── */
.maps-embed { width: 100%; height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.maps-embed iframe { width: 100%; height: 100%; border: 0; }

/* ─── Pagination ────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-link { padding: 10px 16px; border-radius: 8px; border: 2px solid var(--border); color: var(--primary); font-weight: 500; transition: var(--transition); }
.pagination .page-link:hover, .pagination .page-item.active .page-link { background: var(--primary); color: white; border-color: var(--primary); }

/* ─── Keunggulan ────────────────────────────────────── */
.keunggulan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.keunggulan-item { text-align: center; padding: 28px 20px; }
.keunggulan-num { font-size: 2.8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.keunggulan-label { font-size: .9rem; color: var(--text-light); font-weight: 500; }

/* ─── Footer ─────────────────────────────────────────── */
.footer { background: var(--primary); color: rgba(255,255,255,.85); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.footer-brand { font-size: 1.6rem; font-weight: 800; color: white; margin-bottom: 14px; }
.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
}
.footer-desc { font-size: .9rem; line-height: 1.7; opacity: .8; margin-bottom: 20px; }
.footer h4 { color: white; font-weight: 700; margin-bottom: 18px; font-size: 1.1rem; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; font-size: .9rem; opacity: .9; }
.footer-contact li i { margin-top: 4px; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.footer-map-container iframe { width: 100% !important; height: 100% !important; border: 0 !important; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: white; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { background: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .85rem; opacity: .65; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .sambutan-wrapper { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .keunggulan-grid { grid-template-columns: repeat(2, 1fr); }
    .pre-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .navbar-menu {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--primary); padding: 16px; gap: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,.2);
    }
    .navbar-menu.open { display: flex; }
    .navbar-toggle { display: block; }
}

@media (max-width: 768px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .keunggulan-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 60px 0; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .page-banner { padding: 90px 0 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .keunggulan-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .keunggulan-num { font-size: 2.2rem; }
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 40px; }
    .btn { padding: 12px 24px; font-size: 0.88rem; }
    .navbar-logo { height: 50px; }
    .brand-text strong { font-size: 1.2rem; }
    .brand-text small { font-size: 0.72rem; max-width: 160px; }
    .footer { padding: 48px 0 16px; }
    .footer-grid { gap: 24px; }
    .social-links a { width: 34px; height: 34px; }
}

@media (max-width: 375px) {
    .container { padding: 0 10px; }
    .keunggulan-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .klien-grid { grid-template-columns: repeat(2, 1fr); }
}
