/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');
html {
    scroll-behavior: smooth; /* Ini kunci animasi scroll halus */
    scroll-padding-top: 100px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Mencegah elemen melebar saat diberi padding */
}
.container {
    max-width: 1200px;      /* Lebar maksimal konten tengah */
    margin: 0 auto;         /* Menengahkan container */
    padding: 40px 24px;     /* 80px atas-bawah, 24px KIRI-KANAN (kunci agar tidak mentok) */
    width: 100%;            /* Memastikan container mengambil lebar penuh sebelum max-width */
}
:root {
    --bg: #f8f8f8;
    --surface: #ffffff;
    --black:  #020202;
    --grey: #666666;
    --accent: #005D98;
    --radius: 24px; /* Sudut tumpul khas Gen Z */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; background-color: var(--bg); 
    color: var(--black); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .btn { font-family: 'Outfit', sans-serif; }
img { max-width: 100%; display: block; } /* Reset image */

/* --- NAVBAR FLOATING --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    width: 90%; max-width: 1200px; margin: 20px auto;
    padding: 12px 25px; 
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(5px);
    border: 3px solid rgba( 102, 167, 173); border-radius: 100px;
    position: sticky; top: 20px; z-index: 100;
}
/* Style khusus untuk Logo Gambar */
.logo a {
    display: flex;             /* Wajib: Agar gambar & teks sejajar */
    align-items: center;       /* Wajib: Agar teks pas di tengah tinggi logo */
    gap: 12px;                 /* Jarak antara logo dan tulisan */
    text-decoration: none;     /* Hilangkan garis bawah link */
    color: #005D98;       /* Warna teks hitam */
}

.logo img {
    height: 70px;              /* Tinggi logo (sesuaikan jika perlu) */
    width: auto;
}

.logo span {
    font-family: 'Outfit', sans-serif; /* Font tebal modern */
    font-weight: 700;          /* Ketebalan huruf */
    font-size: 1.1rem;         /* Ukuran huruf */
    letter-spacing: -0.5px;    /* Sedikit dirapatkan biar keren */
    line-height: 1;            /* Jarak antar baris dirapatkan */
}

/* Opsional: Efek Hover pada teks */
.logo a:hover span {
    color: var(--accent); /* Berubah biru saat disentuh */
    transition: 0.3s;
}

.nav-links a { margin-left: 2rem; text-decoration: none; color: var(--grey); font-weight: 500; font-size: 0.9rem; transition: 0.2s; }
.nav-links a:hover { color: var(--black); }

.menu-toggle {
    /* display: none; Sembunyikan di desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    border-radius: 10px;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
    padding: 120px 24px 60px; 
    width: 100%;
    text-align: center;
}
/* Background Blob Effect */
.blob {
    position: absolute; top: -200px; width: 600px; height: 600px;
    background: linear-gradient(180deg, #dbeafe 0%, #e0e7ff 100%);
    filter: blur(100px); z-index: -1; border-radius: 50%; opacity: 0.7;
}
.hero-text-content { max-width: 800px; margin: 0 auto 3rem; }
.hero h1 {
    font-size: 4.5rem; line-height: 1.1; letter-spacing: -2px; margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #66A7AD, #020202);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--grey); max-width: 600px; margin: 0 auto 2rem; }
.btn-black {
    background: var(--black); color: white; padding: 16px 40px; border-radius: 100px;
    text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block;
}
.btn-black:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* HERO IMAGE BANNER */
.hero-banner {
    width: 100%; max-width: 1300px; height: 450px;
    border-radius: var(--radius); overflow: hidden;
    position: relative;
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }

.about-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem; align-items: center;
}
.about-image img { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; }

/* --- WHY CHOOSE US --- */
.why-section {
    background-color: #f8f8f8;
    padding: 100px 0; 
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    padding: 40px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #66A7AD;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Menengahkan konten */
    text-align: center;   /* Menengahkan teks */
}

.why-card:hover {
    border-color: var(--black);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px #66A7AD;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--surface);
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 25px;
    transition: 0.3s;
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: #fff;
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.6;
}

/* --- SLIDER CORE --- */
.swiper {
    width: 25%;
    padding-top: 60px !important;
    padding-bottom: 80px !important;
    overflow: visible !important; /* Agar kartu yang membesar tidak terpotong */
}

.swiper-wrapper {
    align-items: center; /* Kartu samping sejajar tengah secara vertikal */
}

.swiper-slide {
    width: 320px; /* Lebar kartu saat di samping */
    height: auto;
    border-radius: var(--radius);
    border: 1px solid #66A7AD;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3; /* Sangat transparan untuk yang di samping */
    transform: scale(0.8); /* Lebih kecil untuk yang di samping */
    filter: grayscale(100%); /* Efek Gen Z: Hitam putih saat tidak fokus */
}

/* KARTU TENGAH (FOKUS) */
.swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1.15) !important; /* Paling besar di tengah */
    z-index: 99;
    filter: grayscale(0%); /* Berwarna saat di tengah */
}

/* Pastikan kartu di dalam slide rapi */
.swiper-slide .card {
    padding: 16px ;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid #66A7AD;
    height: 100%;
    margin: 0; 
    text-align: center;
}

/* Navigasi Bulat Minimalis */
/*.swiper-button-next, .swiper-button-prev {
    background: white;
    width: 45px; height: 45px;
    border-radius: 50%;
    color: black !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1rem; font-weight: 800; }*/

/* Pagination Modern */
.swiper-pagination-bullet-active {
    background: var(--black) !important;
    width: 25px !important;
    border-radius: 25px !important;
}

/* SAAT MOUSE LEWAT (HOVER) PADA KARTU */
.card:hover {
    background: var(--accent); /* Latar jadi biru */
    color: white;             /* Teks jadi Putih */
    border-color: var(--black);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
    transform: translateY(-10px) scale(1.02); /* Naik sedikit & membesar */
}

/* Atur warna elemen di dalam kartu saat hover */
.card:hover h3 { color: white; }
.card:hover p { color: #a1a1aa; } /* Teks paragraf jadi abu terang */

/* Tag kecil saat hover */
.card:hover .tag {
    background: rgba(255,255,255,0.2); /* Tag jadi transparan */
    color: white;
    box-shadow: none;
}
/* Style untuk gambar thumbnail di dalam card */
.card-image-thumb {
    width: 100%; 
    height: 160px; 
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px; 
    overflow: hidden;
    margin-bottom: 1.5rem; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.card-image-thumb img { width: 100%; height: 100%; object-fit: cover; }


.card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.card p { color: var(--grey); font-size: 0.95rem; line-height: 1.6; }
.tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    background: #66A7AD; color: var(--black); padding: 5px 10px; border-radius: 20px; margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-wrapper {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 3rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item i { 
    font-size: 1.2rem; background: white; width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}

/* --- SOCIAL MEDIA ICONS STYLE --- */

.social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05); /* Garis pemisah tipis */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon-box {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--black);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.02);
}

/* Efek Hover */
.social-icon-box:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px); /* Melayang sedikit ke atas */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Khusus Warna Brand saat Hover (Opsional) */
.social-icon-box:hover .ri-instagram-line {
    color: white; 
}
.social-icon-box:hover .ri-linkedin-box-line {
    color: white;
}
.social-icon-box:hover .ri-tiktok-line {
    color: #ffffff; 
}
/* FORM STYLE */
.form-group { margin-bottom: 1.5rem; }
.form-input {
    width: 100%; padding: 15px 25px;
    border: 1px solid #e5e7eb; border-radius: 100px; 
    background: white; font-family: 'Inter', sans-serif;
    outline: none; transition: 0.3s;
}
textarea.form-input { border-radius: 25px; resize: vertical; } /* Textarea sudutnya beda dikit */

.form-input:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

/* FOOTER */
footer { padding: 1rem 5%; border-top: 1px solid black; margin-top: 1rem; text-align: center; }
footer h2 { font-size: 2rem; margin-bottom: 1rem; }

/* .nav-links { overflow: hidden; background-color: #333; }
.nav-links a { float: left; display: block; color: white; padding: 14px 16px; text-decoration: none; }
.nav-links a.icon { display: none; } */

/* --- FLOATING WHATSAPP --- */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999; /* Sangat tinggi agar di atas semua elemen */
    transition: all 0.3s ease;
}

.wa-float i {
    font-size: 1.6rem;
}

.wa-float:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

/* MOBILE */

@media (max-width: 786px) {

    /* 1. Container & Spacing */
    .container {
        padding: 60px 20px; /* Jarak atas-bawah lebih rapat di HP */
    }

    /* 2. Navbar Mobile */
    nav {
        width: 90%;
        padding: 10px 15px;
    }
    .nav-links {
        display: none; /* Sembunyikan link menu di HP agar tidak berantakan */
    }
    .logo span {
        font-size: 0.9rem;
    }

    /* 3. Hero Section Mobile */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 50px;
    }
    .hero h1 {
        font-size: 2.8rem; /* Ukuran teks judul dikecilkan agar tidak kepotong */
        letter-spacing: -1px;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* 4. Swiper Slider Mobile */
    .swiper {
        width: 100%; /* Slider memenuhi lebar layar HP */
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }
    .swiper-slide {
        width: 280px; /* Perkecil ukuran kartu agar kartu samping tetap terlihat sedikit */
    }
    .swiper-slide-active {
        transform: scale(1.05) !important; /* Scale di HP jangan terlalu besar */
    }
    .card {
        padding: 1.5rem;
    }

    /* 5. Why Choose Us Mobile */
    .why-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom tumpuk */
        gap: 20px;
    }
    .why-card {
        padding: 30px 20px;
    }

    /* 6. About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom tumpuk */
        gap: 40px;
    }
    .about-text {
        order: 1; /* Teks di atas */
    }
    .about-image {
        order: 2; /* Gambar di bawah */
    }
    .about-text h2 {
        font-size: 2rem;
    }

    /* 7. Contact Section Mobile  */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Jadi 1 kolom tumpuk */
        padding: 40px 20px;
        gap: 50px;              /* Jarak antar form dan info */
    }

    .contact-info {
        text-align: left;
        border-top: 5px solid rgba(0,0,0,0.05); /* Tambah garis pembatas tipis */
        padding-top: 40px;
    }

    /* Rapikan item kontak agar center di mobile */
    .contact-item {
        justify-content: left;
        margin-bottom: 20px;
    }

    .social-icons {
        justify-content: left;
    }

    .wa-float {
        bottom: 20px;
        right: 20px;
        padding: 15px; /* Jadi bulat */
        border-radius: 50%;
    }
    
    .wa-text {
        display: none; /* Sembunyikan tulisan di HP */
    }

    .wa-float i {
        font-size: 1.8rem;
    }

    .active {
        background: #005D98; color: white; padding: 8px 20px; border-radius: 50px;
    }
}
