/* ========================================================
    1. DASAR & RESET UTAMA
   ======================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Arial, sans-serif; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    overflow-x: hidden; 
    line-height: 1.6; 
    color: #333; 
}

.container { 
    max-width: 1200px; 
    margin: auto; 
    padding: 0 20px; 
}

.section { 
    padding: 80px 0; 
    text-align: center; 
}

.divider { 
    width: 50px; 
    height: 3px; 
    background: #00aaff; 
    margin: 15px auto; 
}


/* ========================================================
    2. HEADER NAVIGATION & DROPDOWN (RAPI & PROPORSI)
   ======================================================== */
.header { 
    background: #fff; 
    padding: 0 5%; 
    position: fixed; 
    width: 100%; 
    height: 90px;            /* Tinggi Header dikunci di 90px */
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); 
    display: flex;
    align-items: center;
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

/* Ukuran Logo Header Dibuat Pas (55px) Supaya Ada Sela Atas-Bawah */
.logo img,
.navbar .logo img {
    height: 90px !important;       
    max-height: 90px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain !important;
    display: block !important;
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    align-items: center;
}

.nav-menu li { 
    margin-left: 25px; 
    position: relative; 
}

.nav-menu a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 500; 
    font-size: 14px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #00aaff;
}

.dropdown-content { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff; 
    min-width: 150px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    list-style: none; 
    padding: 10px 0; 
    border-radius: 6px;
}

.dropdown:hover .dropdown-content { 
    display: block; 
}

.dropdown-content a { 
    padding: 10px 20px; 
    display: block; 
    text-decoration: none; 
    color: #333; 
    font-size: 14px; 
}

.dropdown-content a:hover {
    background: #f8f9fa;
}


/* ========================================================
    3. HERO SECTION (BANNER VIDEO)
   ======================================================== */
.hero { 
    position: relative; 
    height: 100vh; 
    min-height: 600px;
    margin-top: 90px;         /* Memberi jarak di bawah fixed header agar video terlihat */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    text-align: center; 
    overflow: hidden; 
}

.video-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -2; 
}

.video-container video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    z-index: -1; 
}

.hero-content h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
}

.btn-main { 
    padding: 15px 40px; 
    background: #00aaff; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: bold; 
    display: inline-block;
    transition: background 0.2s;
}

.btn-main:hover {
    background: #0088cc;
}


/* ========================================================
    4. BERANDA - COMPONENT BLOCK LAYOUT
   ======================================================== */
/* --- Beranda: About Section --- */
.about-flex { display: flex; align-items: center; gap: 50px; text-align: left; }
.about-text, .about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 10px; }

/* --- Beranda: Auto Slider Produk --- */
.auto-slider-box { width: 100%; overflow: hidden; padding: 40px 0; }
.auto-slider-track { display: flex; gap: 30px; width: max-content; animation: moveProduk 25s linear infinite; }
.auto-slider-track:hover { animation-play-state: paused; }
.product-card { width: 350px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); text-align: left; }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.card-info { padding: 20px; }

@keyframes moveProduk {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Beranda: Services --- */
.services { background: #f9f9f9; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 40px; }
.card { background: #fff; padding: 40px 20px; border-radius: 10px; border-bottom: 4px solid #004a99; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* --- Beranda: Auto Marquee Customer (Foto Logo Rapi) --- */
.marquee-box { 
    width: 100%; 
    overflow: hidden; 
    background: #f8f9fa; 
    padding: 25px 0; 
}

.marquee-track { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    width: max-content; 
    animation: moveCustomer 20s linear infinite; 
}

.marquee-track:hover {
    animation-play-state: paused;
}

.customer-item { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 60px;
}

/* Pengaturan Gambar Logo Pelanggan (Warna Asli) */
.customer-item img {
    max-height: 80px !important;
    max-width: 130px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;      /* Mengembalikan warna asli gambar */
    opacity: 1 !important;        /* Membuat gambar terang maksimal */
    transition: transform 0.3s ease;
}

/* Efek Pembesar Mungil Saat Dikursor */
.customer-item img:hover {
    transform: scale(1.08);
}

@keyframes moveCustomer {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Beranda: Lokasi Map --- */
.lokasi { background: #f9f9f9; }
.map-container { margin-top: 30px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.map-container iframe { width: 100%; height: 450px; border: none; }


/* ========================================================
    5. HALAMAN UTAMA: TENTANG KAMI (ABOUT.PHP)
   ======================================================== */
.about-main-wrapper {
    text-align: left;
    max-width: 1100px;
    margin: auto;
    padding: 20px 0;
}

.about-history-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
.about-history-text { flex: 1.2; }
.about-history-video { flex: 1; min-width: 300px; }

.about-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #000;
}

.visimisi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.visimisi-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-left: 5px solid #00aaff;
}

.visimisi-card h3 { 
    color: #002855; 
    margin-bottom: 15px; 
    font-size: 1.4rem; 
}

.visimisi-card ul { padding-left: 20px; }
.visimisi-card ul li { margin-bottom: 8px; color: #555; }

.values-section { margin-bottom: 70px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.value-item-box {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 12px;
    border-bottom: 3px solid #e9ecef;
    transition: transform 0.2s;
}

.value-item-box:hover { 
    transform: translateY(-3px); 
    background: #fff; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.value-item-box strong { 
    display: block; 
    font-size: 1.1rem; 
    color: #002855; 
    margin-bottom: 8px; 
}

.value-item-box p { 
    font-size: 0.9rem; 
    color: #666; 
    line-height: 1.5; 
}

.badges-section { text-align: center; margin-bottom: 60px; }
.badges-section h3 { margin-bottom: 10px; font-size: 1.6rem; color: #002855; }
.badges-section p { color: #777; max-width: 700px; margin: 0 auto 30px auto; font-size: 0.95rem; }

.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.badge-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 90px;
}

.badge-card img { max-width: 100%; max-height: 100%; object-fit: contain; }


/* ========================================================
    6. MODERNISE SERVICES GRID CARD STYLE
   ======================================================== */
.services-modern-section {
    background: #f8f9fa; 
    border-radius: 20px; 
    padding: 60px 20px; 
    margin-top: 40px; 
    margin-bottom: 40px;
}

.services-modern-header {
    text-align: center; 
    margin-bottom: 50px;
}

.services-modern-header h2 {
    font-size: 2.2rem; 
    font-weight: 700; 
    color: #111; 
    margin-bottom: 10px;
}

.services-modern-header p {
    color: #666; 
    font-size: 1rem; 
    max-width: 600px; 
    margin: auto;
}

.services-modern-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    margin-top: 30px;
}

.service-modern-card {
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 20px; 
    border-top: 6px solid #004a99; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    align-items: center;
}

.service-icon-wrapper {
    width: 60px; 
    height: 60px; 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 25px; 
    font-size: 1.6rem;
}

.service-icon-orange { background: #fff4e6; color: #ff922b; }
.service-icon-blue   { background: #e7f5ff; color: #228be6; }
.service-icon-green  { background: #ebfbee; color: #40c057; }

.service-modern-card h3 {
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #111; 
    margin-bottom: 20px; 
    line-height: 1.4;
}

.service-modern-card p {
    color: #666; 
    font-size: 0.95rem; 
    line-height: 1.7; 
    text-align: left; 
    margin-bottom: 30px;
}

.btn-service-customize {
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 12px 30px; 
    background: #000; 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 0.9rem; 
    border-radius: 30px; 
    transition: background 0.2s, transform 0.2s;
}

.btn-service-customize:hover {
    background: #222;
    transform: translateY(-2px);
}

.btn-service-customize span {
    font-size: 0.8rem;
}


/* ========================================================
    7. HALAMAN DETAIL ARTIKEL (ARTIKEL.PHP)
   ======================================================== */
.artikel-wrapper { display: flex; flex-direction: row; gap: 40px; align-items: flex-start; margin-top: 40px; text-align: left; }
.artikel-main { flex: 2.5; }
.artikel-sidebar { flex: 1; position: sticky; top: 100px; }
.artikel-img-utama { width: 100% !important; max-height: 480px; object-fit: cover; border-radius: 15px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.artikel-title { font-size: 2.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 15px; color: #111; }
.artikel-sidebar-item { display: flex; gap: 15px; text-decoration: none; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; align-items: center; }
.artikel-sidebar-img { width: 100px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.artikel-sidebar-text h4 { font-size: 0.95rem; color: #333; line-height: 1.3; margin: 0; }


/* ========================================================
    8. CALL TO ACTION (CTA) & WHATSAPP FLOATING
   ======================================================== */
.cta { 
    background: #004a99; 
    color: #fff; 
    padding: 80px 0; 
    text-align: center; 
}

.btn-cta { 
    display: inline-block; 
    padding: 15px 40px; 
    background: #25D366; 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 50px; 
    margin-top: 20px; 
}

.whatsapp-sticky-floating {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    z-index: 999999 !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
    animation: denyutWhatsApp 2s infinite !important;
    text-decoration: none !important;
}

.whatsapp-sticky-icon { 
    width: 32px !important; 
    height: 32px !important; 
    display: block !important; 
}

.whatsapp-sticky-floating:hover { 
    transform: scale(1.1) !important; 
    background-color: #20ba5a !important; 
}

@keyframes denyutWhatsApp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ========================================================
    9. FOOTER GRID (KUNCI BEBAS TUMPANG TINDIH)
   ======================================================== */
.footer {
    background: #f8f9fa; 
    color: #333;
    padding: 60px 0 30px 0;
    font-size: 0.95rem;
    border-top: 1px solid #e9ecef;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 2.5fr 1fr 2.2fr;
    gap: 30px;
    padding-bottom: 40px;
    text-align: left;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Ukuran Logo Footer Dikunci Pas (45px) Agar Deskripsi Rapi */
.footer-col.col-brand .logo img {
    height: 45px !important;
    width: auto !important;
    margin-bottom: 12px;
    object-fit: contain !important;
}

.footer-col h4 {
    color: #002855; 
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.brand-desc {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #00aaff;
}

.solutions-grid {
    display: flex;
    gap: 20px;
}

.solutions-grid ul {
    flex: 1;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 4px 6px 4px 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.newsletter-form input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    color: #333;
}

.newsletter-form button {
    background: #ffb443; 
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: #ffa012;
    transform: scale(1.05);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: #edf2f7;
    color: #002855;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: #002855;
    color: #fff;
}

.footer-bottom-wrapper {
    border-top: 1px solid #e9ecef;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-left a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom-left a:hover {
    color: #00aaff;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.lang-selector .arrow {
    font-size: 0.7rem;
    color: #888;
}


/* ==========================================================
    10. GABUNGAN MEDIA QUERIES RESPONSIF LAYAR
   ========================================================== */
@media screen and (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .artikel-wrapper { flex-direction: column; }
    .artikel-sidebar { width: 100%; position: static; }
}

@media screen and (max-width: 768px) {
    .header { height: 75px; }
    .hero { margin-top: 75px; }
    .logo img, .navbar .logo img { height: 45px !important; }

    .map-container iframe { height: 300px; }
    
    .about-history-block { flex-direction: column; }
    .visimisi-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .solutions-grid { flex-direction: column; gap: 0; }
    .footer-bottom-wrapper { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 12px; }

    .whatsapp-sticky-floating { bottom: 20px !important; right: 20px !important; width: 55px !important; height: 55px !important; }
    .whatsapp-sticky-icon { width: 28px !important; height: 28px !important; }
}

/* ========================================================
   FORM MINTA PENAWARAN HARGA (DIRECT WHATSAPP)
   ======================================================== */
.contact-section-wrapper {
    padding: 80px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.contact-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #002855;
    margin-bottom: 40px;
}

.contact-card-form {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: left;
}

.contact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-card-header h3 {
    font-size: 1.4rem;
    color: #002855;
    font-weight: 700;
}

.badge-response-time {
    background: #e6fcf5;
    color: #0ca678;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group-item.full-width {
    grid-column: span 2;
}

.form-group-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group-item label span.required {
    color: #e03131;
}

.form-group-item input,
.form-group-item select,
.form-group-item textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
    background: #fff;
    color: #333;
}

.form-group-item input:focus,
.form-group-item select:focus,
.form-group-item textarea:focus {
    border-color: #00aaff;
}

.form-group-item textarea {
    resize: vertical;
    min-height: 100px;
}

.form-action-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.btn-send-wa {
    background: #ffb443;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-send-wa:hover {
    background: #ffa012;
    transform: translateY(-2px);
}

.form-legal-disclaimer {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .form-grid-2col {
        grid-template-columns: 1fr;
    }
    .form-group-item.full-width {
        grid-column: span 1;
    }
    .contact-card-form {
        padding: 25px 20px; 
    }
    .form-action-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-send-wa {
        width: 100%;
    }
}