@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR GLOBAL */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #1e1e2f;
    color: white;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.navbar a:hover {
    color: #00bcd4;
}

/* ===================== */
/* SLIDER FIX TOTAL */
/* ===================== */
.slider {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

/* TRACK */
.slide-track {
    display: flex;
    width: 200%; /* 🔥 wajib */
    animation: slideBanner 20s linear infinite;
}

/* GAMBAR */
.slide-track img {
    width: 50%; /* 🔥 bukan 100% */
    height: 220px;
    object-fit: cover;
}

/* ANIMASI */
@keyframes slideBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =====================
   WELCOME SECTION
   ===================== */
.welcome-section {
    background: linear-gradient(135deg, #1e1e2f 0%, #2d2b55 50%, #1e1e2f 100%);
    padding: 60px 80px;
    text-align: center;
}

.welcome-inner {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-tag {
    font-size: 13px;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.welcome-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 20px;
}

.welcome-highlight {
    color: #00bcd4;
}

.welcome-desc {
    font-size: 15px;
    color: #c4c4d4;
    line-height: 1.85;
    margin: 0 0 32px;
}

.welcome-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.welcome-pills span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0e0f0;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.welcome-pills span:hover {
    background: rgba(0, 188, 212, 0.2);
    border-color: #00bcd4;
    color: #00bcd4;
}

/* =====================
   HERO SECTION
   ===================== */
.hero-modern {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 80px;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fff8f0 100%);
    overflow: hidden;
}

.hero-img {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.hero-text {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-badge {
    display: inline-block;
    background: #ede9ff;
    color: #5a4fcf;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0;
}

.hero-text h1 .highlight {
    color: #5a4fcf;
}

.hero-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.hero-stats {
    display: flex;
    gap: 28px;
    padding: 18px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat strong {
    font-size: 26px;
    color: #5a4fcf;
    font-weight: 800;
    line-height: 1;
}

.stat span {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-weight: 500;
}

.btn-utama {
    display: inline-block;
    background: linear-gradient(135deg, #5a4fcf, #7c6fe0);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(90, 79, 207, 0.3);
}

.btn-utama:hover {
    background: linear-gradient(135deg, #463bb5, #5a4fcf);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(90, 79, 207, 0.4);
}

/* =====================
   FITUR / KEUNGGULAN
   ===================== */
.fitur-section {
    padding: 70px 80px 80px;
    background: #ffffff;
    text-align: center;
    margin-top: 10px;
}

.fitur-title {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.fitur-subtitle {
    font-size: 15px;
    color: #999;
    margin: 0 0 50px;
}

.fitur {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    flex-wrap: nowrap;
}

.fitur-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    background: #f8f7ff;
    border-radius: 18px;
    padding: 40px 24px 32px;
    border: 1px solid #ede9ff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fitur-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(90, 79, 207, 0.14);
}

.fitur-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ede9ff, #ddd6fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 16px rgba(90, 79, 207, 0.15);
}

.fitur-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.fitur-item h3 {
    font-size: 17px;
    color: #1a1a2e;
    margin: 0 0 10px;
    font-weight: 700;
}

.fitur-item p {
    font-size: 14px;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* =====================
   SEARCH (tidak diubah)
   ===================== */
.search-box {
    text-align: center;
    margin: 20px;
}

.search-box input {
    padding: 10px;
    width: 300px;
}

/* BUTTON CARI */
#btnCari {
    margin-top: 10px;
    padding: 8px 20px;

    background: #4f46e5;
    color: white;

    border: none;
    border-radius: 20px;
    cursor: pointer;

    display: none; /* AWALNYA HILANG */
}

/* MUNCUL SAAT AKTIF */
#btnCari.show {
    display: inline-block;
}