/* --- Reset & Base Styles for umkm html --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a365d;
}

.logo span {
    color: #2b6cb0;
}

.domain-text {
    color: #718096;
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Packages Section --- */
.packages {
    padding: 60px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

/* --- Card Styles --- */
.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
}

/* Highlight Paket Utama */
.card.featured {
    border: 2px solid #2b6cb0;
    position: relative;
}

.card.featured .badge {
    background-color: #2b6cb0;
}

.card-header {
    padding: 30px 25px 20px 25px;
    text-align: center;
    background-color: #fafbfd;
}

.card-header h2 {
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: #4a5568;
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 20px 25px;
    flex-grow: 1;
}

.target {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 15px;
    min-height: 60px; /* Menjaga teks sejajar */
}

hr {
    border: 0;
    border-top: 1px solid #edf2f7;
    margin-bottom: 15px;
}

.features {
    list-style: none;
}

.features li {
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #4a5568;
}

/* Icon Checklist via CSS */
.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2f855a;
    font-weight: bold;
}

.card-footer {
    padding: 25px;
    background-color: #fafbfd;
    text-align: center;
}

/* --- Button Styles --- */
.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #edf2f7;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: #e2e8f0;
}

.btn-primary {
    background-color: #2b6cb0;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2b4c7e;
}

/* --- Footer --- */
footer {
    background-color: #1a365d;
    color: #a0aec0;
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    margin-top: 40px;
}

.whatsapp-float {    
    position: fixed;    
    width: 60px;    
    height: 60px;    
    bottom: 20px;    
    right: 20px;    
    background-color: #25D366;    
    color: #fff;    
    border-radius: 50%;    
    text-align: center;    
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);    
    z-index: 9999;    
    display: flex;    
    justify-content: center;    
    align-items: center;    
    transition: transform 0.3s;
}
.whatsapp-float:hover {    
    transform: scale(1.1);
}
.whatsapp-icon {    
    width: 35px;    
    height: 35px;
}

.portfolio {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 28px;
    color: #1a365d;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 15px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Membungkus Slider */
.slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Sembunyikan Input Radio */
.slider-wrapper input[type="radio"] {
    display: none;
}

/* Track Utama Slider */
.slider-container {
    display: flex;
    width: 300%; /* Total lebar dihitung dari jumlah slide (3 x 100%) */
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Elemen Tiap Slide */
.slide-item {
    width: 33.3333%;
    position: relative;
}

.slide-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Teks Keterangan di Atas Gambar */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 54, 93, 0.95));
    color: #ffffff;
    padding: 40px 30px 30px 30px;
    text-align: left;
}

.slide-caption h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.slide-caption p {
    font-size: 14px;
    opacity: 0.85;
}

/* Area Kontrol Navigasi Lingkaran (Dots) */
.slider-dots {
    position: absolute;
    bottom: 25px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot-btn {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Logika Animasi Pergeseran Menggunakan CSS Selector */
#slide1:checked ~ .slider-container { transform: translateX(0%); }
#slide2:checked ~ .slider-container { transform: translateX(-33.3333%); }
#slide3:checked ~ .slider-container { transform: translateX(-66.6666%); }

/* Indikator Dot yang Aktif */
#slide1:checked ~ .slider-dots .dot-btn:nth-child(1),
#slide2:checked ~ .slider-dots .dot-btn:nth-child(2),
#slide3:checked ~ .slider-dots .dot-btn:nth-child(3) {
    background-color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 60px 0;
    background-color: #f7fafc; /* Latar belakang abu-abu sangat muda agar kontras dengan portfolio */
    text-align: center;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.workflow-step {
    flex: 1;
    position: relative;
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Lingkaran Angka */
.step-number {
    width: 45px;
    height: 45px;
    background-color: #1a365d; /* Menggunakan warna utama navy */
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 10px rgba(26, 54, 93, 0.3);
}

.workflow-step h3 {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.workflow-step p {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background: #f8fafc; /* Warna latar kartu abu-abu tipis agar kontras dengan latar section putih */
    padding: 30px 20px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.08);
    border-color: #1a365d; /* Mengubah warna border menjadi navy saat di-hover */
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 18px;
    color: #1a365d; /* Menggunakan warna navy utama */
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.6;
}

/* Penyesuaian Responsif untuk Mobile Layar Kecil */
@media (max-width: 480px) {
    .benefit-card {
        text-align: center; /* Mengubah teks menjadi rata tengah khusus di HP kecil */
    }
}

/* Membuat efek panah penghubung antar alur pada tampilan Desktop */
@media (min-width: 992px) {
    .workflow-step:not(:last-child)::after {
        content: "➔";
        position: absolute;
        top: 35px;
        right: -20px;
        font-size: 20px;
        color: #cbd5e0;
        z-index: 2;
    }
}

/* Responsif untuk Tampilan Handphone (Alur berubah jadi vertikal ke bawah) */
@media (max-width: 991px) {
    .workflow-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .workflow-step {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        padding: 20px;
    }
    
    /* Mengubah arah panah ke bawah untuk tampilan mobile */
    .workflow-step:not(:last-child)::after {
        content: "⬇";
        position: absolute;
        bottom: -22px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 18px;
        color: #cbd5e0;
    }
}

/* Responsif untuk Tampilan Mobile */
@media (max-width: 768px) {
    .section-title { font-size: 24px; }
    .slide-item img { height: 300px; }
    .slide-caption { padding: 30px 20px 45px 20px; }
    .slide-caption h3 { font-size: 16px; }
    .slide-caption p { font-size: 12px; }
    .slider-dots { right: 50%; transform: translateX(50%); bottom: 15px; }
}

/* --- Responsive Breakpoint --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 26px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}
