/* =========================================
   0. LOAD FONT LOKAL (.TTF)
   ========================================= */

/* 1. Open Sans (Format WOFF2 - Biarkan jika file ini woff2) */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 2. Montserrat - BOLD (Format TTF) */
@font-face {
    font-family: 'Montserrat';
    /* Pastikan nama file SESUAI PERSIS dengan nama file .ttf di folder Anda */
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype'); 
    font-weight: 700;       /* 700 untuk Bold */
    font-style: normal;
    font-display: swap;
}

/* 3. Montserrat - REGULAR (Format TTF - Opsional jika ada text biasa pakai Montserrat) */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;       /* 400 untuk Regular */
    font-style: normal;
    font-display: swap;
}



/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #0056b3;       /* Biru Utama */
    --primary-dark: #003d80;  /* Biru Gelap (Hover) */
    --accent: #d32f2f;        /* Merah Peringatan */
    --navy-dark: #020621;     /* Footer Background */
    --light-blue: #e3f2fd;    /* Highlight Background */
    --yellow-gold: #f1c40f;   /* Aksen Footer */
    
    --text-dark: #333333;
    --text-light: #666666;
    --text-gray: #b0bec5;     /* Text Footer Pudar */
    --white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif; 
    --font-body: 'Open Sans', sans-serif;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

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

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    /* Background Image (Ganti path lokal jika ada) */
    background-image: url('../../assets/img/hero_01.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 48, 107, 0.8); /* Overlay Biru Gelap */
}



.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* =========================================
   4. GENERAL SECTIONS
   ========================================= */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* =========================================
   SECTION TATA CARA (DESIGN SESUAI GAMBAR)
   ========================================= */

.how-to-report-section {
    /* Background Gradient: Teal ke Biru Gelap */
    background: linear-gradient(135deg, #0f5b7a 0%, #034c7c 100%);
    padding: 80px 0 100px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Judul Section khusus warna Putih */
.section-title-white {
    text-align: center;
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 700;
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Kolom */
    gap: 40px;
    align-items: flex-start;
}

.step-item {
    display: flex;
    flex-direction: column;
}

/* Angka Besar (01, 02, 03) */
.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Kotak Putih Panjang */
.step-card-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-height: 100px;
    transition: transform 0.3s ease;
}

.step-card-box:hover {
    transform: translateY(-5px);
}

/* Icon Panah/Gambar */
.step-icon-frame {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #034c7c; /* Border biru untuk icon */
    border-radius: 8px;
    flex-shrink: 0;
}

.step-icon-frame i {
    font-size: 1.5rem;
    color: #034c7c;
}

/* Teks Judul di dalam kotak */
.step-card-text {
    color: #034c7c;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
}

/* Deskripsi di bawah kotak */
.step-description {
    color: #e0f7fa; /* Putih agak biru muda */
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

/* RESPONSIVE: Tablet & HP */
@media (max-width: 992px) {
    .steps-wrapper {
        grid-template-columns: 1fr; /* Jadi 1 kolom ke bawah */
        gap: 50px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .step-number {
        font-size: 3rem;
    }
}

/* =========================================
   6. KRITERIA & UNSUR
   ========================================= */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.split-content {
    flex: 1 1 400px;
}

.sub-title {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li i {
    color: #28a745;
}

/* =========================================
   7. JAMINAN KERAHASIAAN (FIX ALIGNMENT)
   ========================================= */

#jaminan {
    position: relative;
    /* Background Image */
    background-image: url('../img/hero_01.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax Effect */
    
    /* FIX RATA TENGAH (FLEXBOX) */
    display: flex;                /* Mengaktifkan Flexbox */
    flex-direction: column;       /* Susunan vertikal (atas ke bawah) */
    justify-content: center;      /* Rata tengah secara Vertikal */
    align-items: center;          /* Rata tengah secara Horizontal */
    text-align: center;           /* Rata tengah untuk teks di dalamnya */
    
    padding: 120px 0;             /* Padding atas bawah agar lega */
    min-height: 400px;            /* Tinggi minimal agar parallax terasa */
    color: var(--white);
    width: 100%;
}

/* Overlay Gelap */
#jaminan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 4, 22, 0.85); /* Overlay Gelap Transparan */
    z-index: 1;
}

/* Container Konten */
#jaminan .container {
    position: relative;
    z-index: 2;
    width: 90%;          /* Pastikan lebar container tidak melebihi layar */
    max-width: 900px;    /* Batasi lebar teks agar enak dibaca */
    margin: 0 auto;      /* Center block element */
}

/* Styling Elemen di Dalamnya */
#jaminan .big-icon {
    font-size: 4rem;
    color: var(--yellow-gold);
    margin-bottom: 1.5rem;
    display: inline-block; /* Penting agar icon mau di-center */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

#jaminan h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

#jaminan p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    line-height: 1.8;
}

#jaminan strong {
    color: var(--yellow-gold);
    font-weight: 700;
}

#jaminan .note {
    display: block;
    margin-top: 2rem;
    color: #90a4ae;
    font-style: italic;
    opacity: 0.8;
}


/* =========================================
   8. FAQ (ACCORDION - FIXED SPACING)
   ========================================= */

/* =========================================
   8. FAQ (ACCORDION)
   ========================================= */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.accordion-header:hover, .accordion-header.active {
    color: var(--primary);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: var(--text-light);
}



/* =========================================
   9. FORMULIR SECTION (NEW - DOTS BG)
   ========================================= */
.bg-pattern {
    background-color: #f8fafd;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    position: relative;
}

.form-card {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 50, 100, 0.08);
    text-align: center;
    border-top: 4px solid var(--primary);
    position: relative;
    z-index: 2;
}

.form-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.form-icon-wrapper i {
    font-size: 40px;
    color: var(--primary);
}

.card-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 10px;
}

.btn-form {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-form:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-form i {
    margin-right: 8px;
}

.form-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* =========================================
   10. FOOTER (NEW - DARK NAVY LAYOUT)
   ========================================= */
.main-footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding-top: 60px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Col 1: Identity */
.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.f-logo {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 600;
}

.logo-text .highlight {
    color: #aebfd6;
    letter-spacing: 1px;
}

/* Deskripsi Footer (Updated) */
.footer-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 25px;
    max-width: 90%;
    font-weight: 400;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: var(--white);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* Headings & Lists */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yellow-gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--yellow-gold);
    display: inline-block;
    width: 100%;
}

.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-info-list i {
    color: #8fa1b8;
    margin-top: 5px;
}

/* Table Hours */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.hours-table td {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.text-right { text-align: right; }
.text-red { color: #ff4d4d; font-weight: 700; }
.closed-row td { color: #aebfd6; }

/* Visitor Counter */
.visitor-box {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    font-weight: 600;
    color: var(--yellow-gold);
}

.visitor-box i { margin-right: 8px; }

/* Copyright */
.footer-bottom {
    background-color: #010416;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #8fa1b8;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   11. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Mobile Menu belum aktif */
    
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    
    .footer-grid {
        grid-template-columns: 1fr; /* Stack 1 kolom */
        gap: 40px;
    }
    
    .footer-desc { max-width: 100%; }
    .footer-heading { width: auto; padding-right: 20px; }
}

@media (max-width: 576px) {
    .form-card { padding: 30px 20px; }
    .btn-form { width: 100%; }
}