/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette - Bankable & Trustworthy */
    --primary: #003366;       /* Biru Tua (Identitas Bank/Korporat) */
    --primary-dark: #002244;  /* Biru Sangat Tua untuk Hover */
    --accent: #FFD700;        /* Emas (Simbol Maturity/Sukses) */
    --accent-hover: #e6c200;
    
    /* Typography & Backgrounds */
    --text-dark: #2c3e50;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8f9fa;      /* Abu-abu sangat muda untuk selingan section */
    
    /* UI Elements */
    --shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 51, 102, 0.15);
    --radius: 12px;           /* Sudut membulat modern */
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth; /* Efek scroll halus saat klik menu */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; /* Mencegah scroll menyamping di HP */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Helper Classes */
.text-center { text-align: center; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

/* =========================================
   2. NAVBAR (Putih Permanen & Logo Image)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white); /* Background Putih Permanen */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Bayangan halus */
    padding: 15px 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

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

/* Logo Image Styling */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 35px; /* Ukuran Logo Proporsional */
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}

.logo img:hover {
    opacity: 0.8;
}

/* Menu Links */
.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary); /* Teks Biru Tua */
    position: relative;
}

/* Efek Garis Bawah saat Hover */
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Tombol Kontak di Navbar */
.btn-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
    color: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-nav::after { display: none; } /* Hilangkan garis bawah untuk tombol */

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

.close-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary);
    position: absolute;
    top: 25px;
    right: 25px;
}

/* =========================================
   3. HERO SECTION (RATA KIRI)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Horizontal mulai dari Kiri */
    /* Ganti URL di bawah dengan gambar background pilihanmu */
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: var(--white);
    margin-top: var(--nav-height); /* Mencegah tertutup navbar */
}

.hero .container {
    width: 100%; /* INI YANG KURANG SEBELUMNYA */
    display: flex; /* Aktifkan flex di dalam container */
    justify-content: flex-start; /* Paksa isi container ke kiri */
    position: relative;
    z-index: 2;
}

/* Overlay Gelap agar tulisan terbaca */
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 34, 68, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px; /* Batasi lebar teks */
    text-align: left; /* Rata Kiri */
    margin-left: 0;
}

.badge-hero {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start; /* Tombol rata kiri */
}

.hero-stats {
    margin-top: 60px;
    display: flex;
    gap: 50px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    justify-content: flex-start; /* Stats rata kiri */
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 700;
    line-height: 1;
}

.stat-box p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* =========================================
   4. BUTTONS & COMPONENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Section Header Styles */
.sub-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* =========================================
   5. ABOUT SECTION
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #eef4fc;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.feature-card:hover .icon-circle {
    background: var(--primary);
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

/* =========================================
   6. 6 PILAR SOP SECTION
   ========================================= */
.pilar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pilar-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.4s;
    border-top: 4px solid transparent;
}

.pilar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent);
}

.pilar-card.highlight {
    border-top-color: var(--primary);
    transform: scale(1.02);
    z-index: 2;
}

.pilar-card.highlight:hover {
    transform: scale(1.02) translateY(-10px);
}

.card-header {
    padding: 25px;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary);
}

.header-text h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.weight-badge {
    font-size: 0.75rem;
    background: #eef4fc;
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.card-body {
    padding: 25px;
}

.card-body p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.sop-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.sop-list li i {
    color: #27ae60; /* Warna Hijau Centang */
    margin-top: 5px;
    font-size: 0.8rem;
}

/* =========================================
   7. MATURITY INDEX (TIMELINE)
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px #e0e0e0;
    background: #fff;
    z-index: 1;
}

.timeline-dot.red { background: #e74c3c; box-shadow: 0 0 0 3px #fab1a0; }
.timeline-dot.orange { background: #e67e22; box-shadow: 0 0 0 3px #f39c12; }
.timeline-dot.yellow { background: #f1c40f; box-shadow: 0 0 0 3px #f9e79f; }
.timeline-dot.blue { background: #3498db; box-shadow: 0 0 0 3px #a9cce3; }
.timeline-dot.green { background: #27ae60; box-shadow: 0 0 0 3px #a3e4d7; }

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #e0e0e0;
    transition: 0.3s;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.active-level .timeline-content {
    border-left-color: #3498db;
    background: #f0f8ff;
}

.level-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.level-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    text-transform: uppercase;
}

.level-badge.red { background: #e74c3c; }
.level-badge.orange { background: #e67e22; }
.level-badge.yellow { background: #f1c40f; color: #333; }
.level-badge.blue { background: #3498db; }
.level-badge.green { background: #27ae60; }

.score {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

/* =========================================
   8. CTA & FOOTER
   ========================================= */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #001a33 100%);
    color: white;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-container p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-large {
    padding: 16px 50px;
    font-size: 1.1rem;
}

/* Footer Styling */
footer {
    background: #001a33;
    color: #b3cce6;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 700;
}

.footer-logo span { color: var(--accent); }

.footer-info p {
    margin-bottom: 25px;
    line-height: 1.8;
    max-width: 350px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-menu h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablet & HP */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile Only */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .hamburger, .close-menu { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di kanan */
        width: 85%;
        height: 100vh;
        background: var(--white); /* Background Putih */
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    .nav-menu.active { right: 0; }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 25px;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: var(--primary); /* Warna Teks di Mobile */
    }
    
    /* Hero Adjustments - Mobile Center */
    .hero { margin-top: 60px; text-align: center; justify-content: center; }
    .hero-content { 
        text-align: center; 
        max-width: 100%; 
        padding: 0 15px; 
    }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 30px; }
    .hero h1 { font-size: 2.2rem; }

    /* Grid Adjustments */
    .features-grid, .footer-grid, .pilar-grid {
        grid-template-columns: 1fr; /* Satu kolom ke bawah */
    }

    /* Timeline Adjustments */
    .timeline::before { left: 10px; }
    .timeline-item { padding-left: 45px; }
    .timeline-dot { left: 2px; width: 16px; height: 16px; }
    
    /* Logo on Mobile */
    .logo img { height: 30px; }
}