/* =========================================
   GLOBAL & RESET
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, sans-serif; 
}
body { 
    background-color: #f4f7f6; 
    color: #333; 
    line-height: 1.6; 
    overflow-x: hidden; 
}
a { 
    text-decoration: none; 
    color: inherit; 
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

/* =========================================
   HEADER STICKY & TOPBAR
   ========================================= */
.sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.topbar-section { 
    padding: 8px 0; 
    font-size: 12px; 
    background-color: #222; 
    color: #fff; 
}
.topbar-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.topbar-left { 
    display: flex; 
    align-items: center; 
}
.topbar-left a { 
    color: #ccc; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    transition: color 0.3s; 
}
.topbar-left a:hover { color: #f39c12; }
.separator { 
    height: 12px; 
    width: 1px; 
    background-color: rgba(255, 255, 255, 0.3); 
    margin: 0 15px; 
}
.topbar-right a { 
    color: #ccc; 
    margin-left: 15px; 
    font-size: 14px; 
    transition: color 0.3s; 
}
.topbar-right a:hover { color: #f39c12; }

/* Navbar (Menu) */
.navbar { padding: 10px 0; }
.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo img { max-height: 50px; }
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    margin: 0; 
    padding: 0; 
}
.nav-links > li > a { 
    color: #333; 
    font-size: 14px; 
    font-weight: 500; 
    transition: color 0.3s; 
    padding: 10px 0; 
}
.nav-links > li > a:hover, 
.nav-links > li > a.active { color: #0033a0; }

/* Tombol Contact Us */
.nav-links a.btn-contact { 
    background-color: #1d00ad; 
    color: #fff !important; 
    padding: 8px 20px; 
    border-radius: 4px; 
    font-weight: 600; 
}
.nav-links a.btn-contact:hover { background-color: #e67e22; }

/* Sub Menu Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0;
    background: #fff; 
    min-width: 250px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none; 
    padding: 10px 0; 
    z-index: 1000; 
    border-top: 3px solid #0033a0;
}
.has-dropdown:hover > .dropdown { display: block; }
.dropdown li { position: relative; padding: 0 20px; }
.dropdown li a { 
    color: #333 !important; 
    display: block; 
    padding: 10px 0; 
    font-size: 13px; 
    border-bottom: 1px solid #f1f1f1; 
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: #0033a0 !important; padding-left: 5px; }
.dropdown-arrow { float: right; margin-top: 4px; }
.sub-dropdown {
    display: none; 
    position: absolute; 
    left: 100%; 
    top: -3px;
    background: #fff; 
    min-width: 240px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none; 
    padding: 10px 0; 
    border-top: 3px solid #0033a0;
}
.has-sub-dropdown:hover > .sub-dropdown { display: block; }

/* =========================================
   BANNER SLIDER, OVERLAY, & DOTS
   ========================================= */
.hero-slider {
    position: relative; 
    width: 100%; 
    height: 550px; 
    overflow: hidden; 
    background: #000;
}
.slide {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out;
}
.slide.active { opacity: 1; z-index: 1; }
.slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}
.slide-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}
.slide-content {
    position: absolute; 
    top: 50%; 
    left: 8%; 
    transform: translateY(-50%);
    color: #fff; 
    z-index: 3; 
    max-width: 650px;
}
.slide-subtitle {
    display: flex; 
    align-items: center; 
    font-size: 18px; 
    margin-bottom: 10px; 
    font-weight: 500;
}
.slide-subtitle .line {
    width: 40px; 
    height: 3px; 
    background: #0033a0; 
    margin-right: 15px;
}
.slide-title {
    font-size: 52px; 
    font-weight: 700; 
    line-height: 1.1; 
    margin-bottom: 20px;
}
.slide-desc {
    font-size: 16px; 
    line-height: 1.6; 
    color: #eaeaea;
}
.slide-desc strong { 
    font-size: 18px; 
    color: #fff; 
    display: block; 
    margin-bottom: 5px; 
}
.slider-dots {
    position: absolute; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%);
    display: flex; 
    gap: 12px; 
    z-index: 10;
}
.dot {
    width: 14px; 
    height: 14px; 
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer; 
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.dot:hover { background-color: rgba(255, 255, 255, 0.8); }
.dot.active { 
    background-color: #fff; 
    border: 2px solid #0033a0; 
    transform: scale(1.2); 
}

/* =========================================
   ABOUT US SECTION
   ========================================= */
.about-section {
    display: flex; 
    gap: 50px; 
    align-items: center; 
    padding: 60px 15px 40px;
}
.about-text { flex: 1; }
.about-image { 
    flex: 1; 
    position: relative; 
    z-index: 1; 
    margin-top: 20px;
}
.about-subtitle {
    display: flex; 
    align-items: center; 
    font-size: 12px; 
    color: #666; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
    font-weight: 600;
}
.about-subtitle .line { 
    width: 40px; 
    height: 1px; 
    background: #666; 
    margin-right: 15px; 
}
.about-title { 
    color: #0033a0; 
    font-size: 32px; 
    margin-bottom: 25px; 
}
.about-text p { 
    margin-bottom: 15px; 
    text-align: justify; 
    color: #666; 
    font-size: 14px; 
}
.about-image::before {
    display: none; 
}
.about-image img {
    width: 100%; 
    display: block; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    display: flex;
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cta-left {
    flex: 6;
    background-color: #0033a0;
    color: #fff;
    padding: 40px;
    border-right: 4px solid #d4af37;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-left h3 { font-size: 24px; margin-bottom: 5px; font-weight: 600; }
.cta-left p { font-size: 14px; color: #e0e0e0; }
.cta-right {
    flex: 4;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.btn-cta {
    background-color: #0033a0;
    color: #fff !important;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-cta:hover { background-color: #002277; }

/* =========================================
   CHOOSE US SECTION
   ========================================= */
.choose-us-section { padding: 20px 15px 20px; }
.choose-us-header { margin-bottom: 40px; }
.choose-us-header h2 {
    font-size: 32px;
    color: #0033a0;
    border-left: 4px solid #0033a0;
    padding-left: 15px;
    margin-bottom: 15px;
}
.choose-us-header p { font-size: 14px; color: #666; }
.choose-us-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.choose-us-image {
    flex: 1.2;
    min-width: 300px;
}
.choose-us-image img {
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.choose-us-features {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.feature-card {
    background: #fff;
    padding: 25px 20px;
    border-left: 3px solid #0033a0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.feature-card h4 { font-size: 16px; color: #111; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* =========================================
   OUR CLIENTS SECTION
   ========================================= */
.client-section {
    padding: 20px 15px 60px;
    text-align: center;
    background-color: #ffffff;
}
.client-banner {
    background: #ffffff;
    padding: 20px 0;
    margin-top: 20px;
}
.client-banner img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: inline-block;
}

/* =========================================
   KONTEN GRID (CARD UTAMA)
   ========================================= */
.section-title { 
    text-align: center; 
    font-size: 28px; 
    margin-bottom: 40px; 
    text-transform: uppercase; 
    color: #222; 
}
.section-title span { 
    border-bottom: 3px solid #f39c12; 
    padding-bottom: 5px; 
}
.uniform-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.card { 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    transition: transform 0.3s; 
}
.card:hover { transform: translateY(-5px); }
.card img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
}
.card-body { padding: 20px; }
.card-title { 
    font-size: 18px; 
    margin-bottom: 10px; 
    color: #0033a0; 
}
.card-excerpt { 
    font-size: 14px; 
    color: #666; 
    margin-bottom: 15px; 
}
.card-btn { 
    display: inline-block; 
    color: #f39c12; 
    font-weight: 600; 
}

/* Label Overlay Khusus Our Project */
.project-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(245, 245, 245, 0.95);
    color: #333;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.project-category.blue-label {
    background: #0033a0;
    color: #fff;
}
.project-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 60px 15px 0;
    font-size: 14px;
    line-height: 1.8;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #0033a0;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.footer-social a {
    color: #fff;
    background: #333;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.footer-social a:hover { background: #0033a0; }
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { display: flex; gap: 12px; margin-bottom: 15px; }
.footer-contact-list li i { color: #0033a0; margin-top: 6px; }
.footer-projects { list-style: none; padding: 0; }
.footer-projects li {
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.footer-projects li:last-child { border-bottom: none; }
.footer-projects p { font-size: 12px; color: #999; margin-bottom: 5px; }
.footer-projects a {
    color: #ccc;
    transition: 0.3s;
    line-height: 1.4;
    display: block;
}
.footer-projects a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.wa-float {
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 30px; 
    right: 30px;
    background-color: #25d366; 
    color: #FFF; 
    border-radius: 50px; 
    text-align: center; 
    font-size: 32px; 
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); 
    z-index: 1000; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* =========================================
   RESPONSIVE (MEDIA QUERIES) LENGKAP
   ========================================= */
@media (max-width: 768px) {
    .hero-slider { height: 400px; }
    .slide-title { font-size: 32px; }
    .slide-content { left: 5%; right: 5%; }
    
    .about-section { flex-direction: column; padding: 40px 15px; }
    
    .cta-section { flex-direction: column; }
    .cta-left { 
        border-right: none; 
        border-bottom: 4px solid #d4af37; 
        text-align: center; 
    }
    
    .choose-us-content { flex-direction: column; }
    .choose-us-features { grid-template-columns: 1fr; }
}

/* Modifikasi Page Header (Banner About Us) */
        .page-header {
            position: relative;
            background: url('https://demipuma.co.id/uploads/22032023053401banner-3.png') center/cover no-repeat;
            height: 350px; /* Dibuat sedikit lebih tinggi agar lega */
            display: flex;
            align-items: center;
        }
        .page-header-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            /* Gradasi gelap dari kiri ke kanan (Sama dengan index) */
            background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 1;
        }
        .page-header .container {
            position: relative;
            z-index: 2;
        }
        .page-header h1 { 
            font-size: 48px; 
            font-weight: 700; 
            color: #fff; 
            margin-top: 5px; 
        }
        .page-header p { 
            font-size: 16px; 
            color: #fff; 
            font-weight: 500; 
            display: flex; 
            align-items: center; 
        }
        /* Garis aksen biru sebelum teks */
        .page-header p .line { 
            width: 40px; 
            height: 3px; 
            background: #0033a0; 
            margin-right: 15px; 
            display: inline-block;
        }
        
        /* =========================================
   RESPONSIVE KHUSUS HEADER & MENU (Tablet & HP)
   ========================================= */
@media (max-width: 991px) {
    
    /* 1. Perbaikan Topbar (Kontak WA & Email) */
    .topbar-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 8px 0;
    }
    .topbar-left {
        flex-direction: column; /* Susun WA dan Email ke bawah */
        gap: 8px;
    }
    .topbar-left .separator {
        display: none; /* Hilangkan garis vertikal pemisah */
    }
    .topbar-right {
        margin-top: 5px;
        display: flex;
        justify-content: center;
    }

    /* 2. Perbaikan Navbar (Logo & Menu) */
    .nav-container {
        flex-direction: column; /* Logo di atas, Menu di bawah */
        padding: 15px 0 10px;
    }
    .logo {
        margin-bottom: 15px; /* Jarak antara logo dan menu */
    }
    .nav-links {
        flex-wrap: wrap; /* Izinkan teks menu turun ke baris baru jika layar sempit */
        justify-content: center;
        gap: 15px 20px; /* Jarak antar menu (atas-bawah 15px, kiri-kanan 20px) */
        width: 100%;
    }
    
    /* 3. Penyesuaian Sub-menu (Dropdown) di Layar Kecil */
    .dropdown {
        left: 50%;
        transform: translateX(-50%); /* Menengahkan dropdown box */
        text-align: center;
    }
}

/* Penyesuaian khusus untuk HP layar sangat kecil */
@media (max-width: 480px) {
    .nav-links {
        gap: 10px 12px;
    }
    .nav-links > li > a {
        font-size: 13px; /* Perkecil sedikit huruf menu di HP */
    }
    .nav-links a.btn-contact {
        padding: 6px 12px;
        font-size: 12px;
    }
}