/* Custom Properties */
:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --accent: #38bdf8;
    --white: #ffffff;
    --gray: #f8fafc;
    --text-main: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo span { color: var(--primary); }


/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    margin-top: 60px;
}

.hero-overlay {
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    display: flex;
    align-items: center;
}

.hero-text { color: var(--white); max-width: 700px; }
.hero-text h2 { font-size: 3.5rem; line-height: 1.2; margin: 15px 0; }
.badge { background: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; }

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-right: 15px;
    transition: 0.3s;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4); }

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -60px;
    position: relative;
    text-align: center;
}

.stat-item h3 { font-size: 2rem; color: var(--primary); }

/* Services Section */
.services { padding: 100px 0; background: var(--gray); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--secondary); }

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 50px 30px; /* Padding atas-bawah ditambah agar lebih lega */
    border-radius: 20px; /* Sudut sedikit lebih lembut */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animasi lebih bouncy */
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.card-icon {
    display: flex;
    justify-content: center; 
    align-items: center;    
    margin-bottom: 30px; 
    
    /* UKURAN DISESUAIKAN: Menggunakan persentase atau ukuran tetap yang lebih besar */
    height: 160px;           /* Naik dari 120px ke 160px agar lebih menonjol */
    width: 100%;             /* Mengikuti lebar card agar seimbang */
    max-width: 200px;        /* Batas maksimal agar tidak terlalu raksasa */
    
    background: var(--gray); 
    border-radius: 20px;     
    padding: 20px;           
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;    /* Gambar tetap pada proporsinya */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); /* Memberi dimensi pada gambar ikon */
    transition: transform 0.3s ease;
}

/* EFEK HOVER YANG LEBIH PRO */
.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary);
}

.card:hover .card-icon {
    background: #eef2ff; /* Warna biru sangat muda saat hover */
}

.card:hover .card-icon-img {
    transform: scale(1.1); /* Gambar ikon sedikit membesar saat hover */
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 30px;
    /* padding: 15px 25px; */
    border-radius: 50px;
    display: flex;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s;
    gap: 10px;
}

.whatsapp-float:hover { transform: scale(1.1); }

footer {
    background: #1a1a1a; /* Warna gelap elegan */
    color: #f4f4f4;
    padding: 60px 0 20px;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    color: var(--primary); /* Warna biru identitas IT */
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    flex: 1;
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #333;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #777;
}

.social-media {
    width: 50px;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .newsletter-form {
        max-width: 300px;
        margin: 10px auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero-text h2 { font-size: 2.5rem; }
    header nav { display: none; } /* Idealnya pakai menu burger di HP */
}
/* Pembungkus Brand (Logo + Teks) */
.brand-wrapper {
    display: flex;
    align-items: center; /* Membuat logo dan teks sejajar di tengah secara vertikal */
    text-decoration: none;
    gap: 15px; /* Memberi jarak antara gambar logo dan teks */
}

/* Pengaturan Gambar Logo */
.logo-img {
    height: 50px; /* Atur tinggi agar pas dengan navbar */
    width: auto;  /* Lebar otomatis mengikuti proporsi gambar */
    border-radius: 4px; /* Opsional: membuat sudut logo sedikit tumpul */
    display: block;
}

/* Pengaturan Teks Logo */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    line-height: 1;
}

.logo-text span {
    color: var(--primary);
}

/* Responsif: Perkecil logo di layar HP */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
}

/* Pengaturan Global SVG Icon di style.css */
.icon-svg {
    height: 60px; /* Atur tinggi icon */
    width: auto;
    color: var(--primary); /* Memberikan warna biru (dari variabel --primary) */
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* Opsional: Ubah warna icon saat kartu di-hover */
.card:hover .icon-svg {
    color: var(--accent); /* Warna biru muda saat di-hover */
}

/* --- RESPONSIVE MENU CSS --- */

/* Sembunyikan toggle secara default di desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    transition: 0.3s;
}

/* Pengaturan Layar HP (Mobile) */
/* --- TAMPILAN DESKTOP (Default) --- */
.nav-menu {
    display: block;
}

/* Gunakan > agar hanya ul utama yang menjadi flex */
.nav-menu > ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative; /* Penting sebagai patokan posisi submenu */
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
    display: block;
}

.nav-menu ul li a:hover {
    color: var(--primary);
}

/* --- CSS UNTUK SUBMENU (DROPDOWN) --- */

/* 1. Sembunyikan submenu secara total */
.nav-menu ul li ul {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

/* 2. Pastikan isi submenu berjejer ke bawah (kolom) */
.nav-menu ul li ul li {
    width: 100%;
}

.nav-menu ul li ul li a {
    padding: 10px 20px;
    font-size: 14px;
}

/* 3. TAMPILKAN hanya saat menu utama di-hover */
.nav-menu ul li:hover > ul {
    display: block;
}

.menu-toggle {
    display: none; /* Sembunyikan hamburger di desktop */
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* --- TAMPILAN MOBILE (Layar di bawah 768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Hamburger muncul */
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: -110%; /* Tarik sedikit lebih jauh ke atas */
        width: 100%;
        height: 100vh;
        background: white;
        display: flex; 
        flex-direction: column;
        justify-content: flex-start; /* Mulai dari atas agar tidak terpotong */
        align-items: center;
        padding-top: 100px; /* Ruang untuk tombol close */
        transition: 0.5s ease-in-out;
        z-index: 1001;
        opacity: 0;
        overflow-y: auto; /* Penting agar menu panjang bisa di-scroll */
    }

    .nav-menu.active {
        top: 0;
        opacity: 1;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px; /* Kurangi gap utama dari 20px ke 10px atau 5px */
    }

   .nav-menu ul li ul {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu ul li ul.show-submenu {
        display: flex;
        opacity: 1;
    }

    .nav-menu ul li ul.show-submenu {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #f9f9f9;
        gap: 0; /* Hilangkan gap di dalam submenu */
        margin-top: 5px; /* Jarak kecil antara menu utama dan awal dropdown */
    }

    .nav-menu ul li ul.show-submenu li a {
        padding: 10px 0; /* Rapatkan padding tulisan di dalam dropdown */
        font-size: 14px;
        border-bottom: 1px solid #eee; /* Opsional: garis tipis antar submenu */
    }

    /* Animasi Hamburger jadi X */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

.button-wrapper {
    display: flex;
    justify-content: center; /* Memastikan tombol di tengah secara horizontal */
    width: 100%;
}

.btn-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color:var(--primary); /* Ganti dengan warna brand Anda */
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px; /* Membuat tombol agak lonjong (pill shape) */
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-more:hover {
    background-color: var(--primary); /* Warna saat kursor di atas tombol */
    text-decoration: none;
}

.contact { padding: 100px 0; background: var(--gray); }

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 32px;
    color: #333;
}

.contact-header p {
    color: #666;
}

/* Flexbox Layout */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

/* Info Styling */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item .icon {
    font-size: 24px;
    margin-right: 15px;
    background: #e7f1ff;
    padding: 10px;
    border-radius: 50%;
}

.info-item h4 {
    margin: 0 0 5px 0;
    color: var(--primary);
}

.info-item p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(0,123,255,0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #0056b3;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

.certification { padding: 100px 0; background: var(--gray); }

.cert-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.cert-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border-top: 5px solid var(--primary);
}

.cert-status {
    background: #e7f3ff;
    color: var(--primary);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-detail {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-detail:hover {
    background: var(--primary);
    color: white;
}

/* Container Utama */
.cert-process {
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 15px;
    margin-top: 50px;
}

/* Wrapper untuk menyejajarkan langkah-langkah */
.process-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

/* Garis penghubung antar langkah (hanya tampil di layar besar) */
.process-wrapper::before {
    content: "";
    position: absolute;
    top: 25px; /* Menyesuaikan posisi tengah lingkaran */
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

/* Box per langkah */
.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2; /* Agar berada di atas garis penghubung */
}

/* Lingkaran Angka */
.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 18px;
    border: 4px solid #fff; /* Memberi efek pemisah dari garis */
    box-shadow: 0 4px 10px rgba(0,123,255,0.2);
}

/* Judul Langkah */
.step h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* Deskripsi Langkah */
.step p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    padding: 0 10px;
}

/* --- RESPONSIVE (Untuk Tampilan HP) --- */
@media (max-width: 768px) {
    .process-wrapper {
        flex-direction: column; /* Berubah jadi ke bawah */
        gap: 40px;
    }

    .process-wrapper::before {
        display: none; /* Sembunyikan garis horizontal */
    }

    .step {
        display: flex;
        text-align: left;
        align-items: center;
        width: 100%;
    }

    .step-num {
        margin: 0 20px 0 0; /* Pindah margin ke kanan angka */
        flex-shrink: 0;
    }

    .step h4 {
        margin-bottom: 5px;
    }
}

.lsp-collaboration {
    padding: 60px 0;
    background-color: #f0f7ff; /* Biru sangat muda untuk membedakan section */
    border-radius: 20px;
    margin: 40px 0;
}

.lsp-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.lsp-text {
    flex: 2;
}

.lsp-text h2 {
    color: #333;
    margin: 15px 0;
    font-size: 28px;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.lsp-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.lsp-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: #0056b3;
}

.lsp-logo-area {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.partner-logo {
    max-width: 120px;
    height: auto;
    transition: 0.3s;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .lsp-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .lsp-list li {
        text-align: left;
        display: inline-block;
        margin: 5px 10px;
    }
}

.rental { padding: 100px 0; background: var(--gray); }

/* Hero Rental */
.rental-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/img/rental-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.rental-hero h1 { font-size: 3rem; margin-bottom: 20px; }

/* Features Area */
.rental-features {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: -20px; /* Membuat kotak mengambang ke atas hero */
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-item { text-align: center; flex: 1; }
.feature-item .icon { font-size: 40px; display: block; margin-bottom: 10px; }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover { transform: translateY(-10px); }

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info { padding: 20px; }
.product-info h3 { margin-bottom: 10px; color: #333; }
.product-info p { color: #666; font-size: 14px; margin-bottom: 15px; }

.price {
    display: block;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

.btn-rent {
    display: block;
    text-align: center;
    background: #333;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-rent:hover { background: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .rental-features { flex-direction: column; margin-top: 20px; }
    .rental-hero h1 { font-size: 2rem; }
}

.rental-gallery {
    padding: 60px 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 123, 255, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    transition: bottom 0.3s ease;
    font-weight: bold;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr; /* 2 kolom di HP */
    }
}

/* Hero Style */
.about-page { padding: 100px 0; background: var(--gray); }

/* Intro Section */
.about-intro {
    display: flex;
    gap: 50px;
    margin: 60px 0;
    align-items: center;
}

.intro-content { flex: 2; }
.intro-stats { 
    flex: 1; 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
}

.stat-box {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary);
}

.stat-box h3 { color: var(--primary); font-size: 28px; margin: 0; }

/* Visi Misi */
.vission-mission {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.vm-card {
    flex: 1;
    background: #333;
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.vm-card h3 { color: var(--primary); margin-top: 0; }
.vm-card ul { padding-left: 20px; }
.vm-card li { margin-bottom: 10px; line-height: 1.6; }

/* Team Style */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    width: 250px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid #e7f1ff;
}

/* Responsive */
@media (max-width: 768px) {
    .about-intro, .vission-mission {
        flex-direction: column;
    }
}

/* Styling Modal */
/* Styling Modal Utama */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    padding: 20px; /* Jarak aman agar modal tidak mepet layar HP */
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto; /* Jarak dari atas dikurangi agar muat lebih banyak */
    border-radius: 12px;
    width: 95%; /* Lebar hampir penuh di layar kecil */
    max-width: 800px; /* Ukuran lebar ditingkatkan agar lebih lega */
    max-height: 90vh; /* Tinggi maksimal 90% dari layar */
    display: flex; /* Menggunakan flexbox agar body bisa mengisi sisa ruang */
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease-out;
    overflow: hidden; /* Mencegah scrollbar muncul di container utama */
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px 30px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Header tidak akan mengecil */
}

.close-modal {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Bagian Scroll Modal */
.modal-body {
    padding: 30px;
    overflow-y: auto; /* Mengaktifkan scroll vertikal */
    flex-grow: 1; /* Mengambil sisa ruang yang tersedia */
    line-height: 1.8;
    color: #444;
}

.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    text-align: right;
    border-top: 1px solid #eee;
    flex-shrink: 0; /* Footer tidak akan mengecil */
}

/* Kustomisasi Scrollbar (Opsional agar lebih cantik) */
.modal-body::-webkit-scrollbar {
    width: 8px;
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.btn-daftar {
    background: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
}

/* List di dalam modal */
.modal-body ul {
    padding-left: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .modal-footer {
        text-align: center; /* Posisikan ke tengah di mobile */
        padding: 15px;
    }

    .btn-daftar {
        display: block;    /* Ubah dari inline-block ke block */
        width: 100%;       /* Tombol jadi lebar penuh */
        padding: 15px 0;   /* Beri ruang klik yang lebih lega */
        font-size: 16px;   /* Ukuran teks sedikit diperbesar */
        box-sizing: border-box; /* Pastikan padding tidak merusak lebar 100% */
    }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0.7;
}

.partner-logos img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%); /* Membuat logo jadi abu-abu */
    transition: all 0.4s ease;
    cursor: pointer;
}

.partner-logos img:hover {
    filter: grayscale(0%); /* Logo kembali berwarna saat di-hover */
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .partner-logos {
        gap: 20px;
    }
    .partner-logos img {
        max-width: 100px; /* Ukuran lebih kecil di HP */
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Jarak antar kartu */
    margin-top: 40px;
    padding: 10px 0; /* Jarak atas bawah sedikit */
}

/* 3. Penyesuaian khusus Mobile */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr; /* Paksa 1 kolom di HP */
        gap: 20px; /* Jarak antar kartu vertikal */
        padding: 0 10px; /* Tambahan padding di dalam grid jika perlu */
    }
    
    .testi-card {
        margin: 0 auto;
        width: 100%; /* Pastikan kartu tidak meluber */
        box-sizing: border-box; /* Padding kartu tidak menambah lebar */
    }
}

.testi-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
    position: relative;
    transition: transform 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Ikon Petik Dekoratif */
.testi-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.testi-card p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testi-card h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.testi-card span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .testi-card {
        padding: 30px 20px;
    }
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    border-radius: 20px;
    margin: 80px 0; /* Jarak atas bawah agar tidak menempel section lain */
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.btn-cta-white {
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid white;
}

.btn-cta-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Penyesuaian Mobile */
@media (max-width: 768px) {
    .cta-banner {
        padding: 40px 20px;
        margin: 40px 10px; /* Beri sedikit margin kiri kanan di HP */
    }
    .cta-banner h2 {
        font-size: 1.8rem;
    }
    .btn-cta-white {
        width: 100%; /* Tombol lebar penuh di HP agar mudah di-klik */
        box-sizing: border-box;
    }
}

.btn-cta-blue {
    background: #007bff; /* Warna biru utama */
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px; /* Membuat bentuk pill/oval yang modern */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Efek saat kursor diarahkan (Hover) */
.btn-cta-blue:hover {
    background: #0056b3; /* Biru lebih gelap */
    transform: translateY(-3px); /* Efek melayang ke atas */
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Efek saat tombol diklik (Active) */
.btn-cta-blue:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* Penyesuaian untuk Mobile */
@media (max-width: 768px) {
    .btn-cta-blue {
        width: 100%; /* Lebar penuh di HP agar mudah ditekan */
        padding: 15px 20px;
        box-sizing: border-box;
    }
}

.ai-assessment { margin: 80px auto; }
.assessment-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    text-align: center;
    border: 2px solid #eef2f7;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

#progress {
    width: 0%;
    height: 100%;
    background: #007bff;
    transition: 0.3s;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.option-btn {
    padding: 15px;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.option-btn:hover {
    background: #007bff;
    color: white;
}

.result-card {
    background: #f8faff;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 5px solid #007bff;
}

.btn-retry {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .options-grid { grid-template-columns: 1fr; }
    .assessment-box { padding: 30px 20px; }
}

/* Launcher */
#ai-chat-launcher {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,123,255,0.4);
    z-index: 3000;
    transition: 0.3s;
}

.chat-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff3b30;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Chat Window */
#ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 3000;
    overflow: hidden;
    transition: 0.3s transform ease, 0.3s opacity ease;
}

.chat-hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.chat-header {
    background: #007bff;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 10px;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 80% ;
    font-size: 14px;
}

.ai-msg { background: white; border: 1px solid #ddd; align-self: flex-start; }
.user-msg { background: #007bff; color: white; align-self: flex-end; margin-left: auto; }

.chat-options button {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 5px;
    border: 1px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}


.close-chat {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;

    /* Menghilangkan efek default button */
    border: none;
    outline: none;
    appearance: none;
    padding: 0;
    box-shadow: none;
    
    /* Memastikan tidak ada perubahan warna saat diklik (tap) di mobile */
    -webkit-tap-highlight-color: transparent;
}

/* Menghilangkan border biru/hitam saat elemen difokuskan (tab) */
.close-chat:focus {
    outline: none;
    box-shadow: none;
}

.chat-options button:hover { background: #007bff; color: white; }

.chat-footer { padding: 10px; display: flex; border-top: 1px solid #eee; }
.chat-footer input { flex: 1; border: none; padding: 10px; outline: none; }

@media (max-width: 480px) {
    #ai-chat-window { width: 90%; right: 5%; bottom: 90px; }
}

/* Container Submenu */
.mega-menu-card {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 600px; /* Sesuaikan lebar */
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Munculkan saat Hover */
.nav-item:hover .mega-menu-card {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Layout Grid Card */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 15px;
}

/* Style Per Card */
.menu-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    border: 1px solid transparent;
    transition: 0.2s;
}

.menu-card:hover {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
    transform: translateY(-3px);
}

.card-info h4 {
    margin: 0;
    font-size: 16px;
    color: #007bff;
}

.card-info p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.nav-item.dropdown {
    position: relative; /* Wajib ada */
}

@media (min-width: 769px) {
    .nav-item:hover .mega-menu-card {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* Responsif Mobile */
@media (max-width: 768px) {
    /* Reset Container Submenu */
    .nav-item:hover .mega-menu-card {
        display: none; /* Matikan hover agar tidak berkedip/hilang */
    }

    /* Reset posisi submenu agar tepat di bawah menu utama */
    .mega-menu-card {
        position: relative !important; /* Mendorong konten bawah, bukan melayang */
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        pointer-events: auto !important; 
        
        /* Default: Sembunyi */
        display: none; 
        visibility: visible; /* Penting agar saat muncul tidak hilang */
        opacity: 1;
        
        /* Style List Biasa */
        background: #f9f9f9;
        padding: 10px 20px;
        border-left: 3px solid #007bff;
        box-shadow: none;
    }

    /* Munculkan saat class aktif dipicu JS */
    .mega-menu-card.is-active {
        display: block !important;
    }

    /* Buat link submenu menjadi list biasa */
    .menu-card {
        display: block;
        padding: 8px 0;
        text-decoration: none;
        color: #555;
    }

    /* Reset Grid menjadi List */
    .card-grid {
        display: block; /* Matikan Grid */
    }

    /* Ubah Card menjadi List Item Biasa */
    

    .card-info p {
        display: none; /* Sembunyikan deskripsi panjang di mobile */
    }

    .card-info h4 {
        font-size: 15px;
        font-weight: 500;
        color: #444;
    }

    /* Class Aktif (Saat di-klik via JS) */
    .mega-menu-card.is-open {
        display: block !important;
    }
}

.stat-item h3 {
    display: inline-block;
    font-size: 32px;
    margin: 0;
}
.stat-item span {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary); /* Atau warna biru pilihan Anda */
}
.detail-container { max-width: 1000px; margin: 90px auto; padding: 20px; display: flex; gap: 40px; flex-wrap: wrap; }
.detail-image { flex: 1; min-width: 300px; }
.detail-image img { width: 100%; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.detail-content { flex: 1.5; min-width: 300px; }
.detail-content h1 { color: #003366; margin-bottom: 20px; }
.price-tag { font-size: 24px; font-weight: bold; color: #333; margin: 20px 0; }
.features-list { list-style: none; padding: 0; margin: 20px 0; }
.features-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.features-list li::before { content: '✔'; position: absolute; left: 0; color: #003366; }
.btn-order { display: inline-block; background: #003366; color: white; padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-order:hover { background: #000; }