/* =========================================
   FEATURES SECTION - GLOBAL (DESKTOP)
   ========================================= */
.features-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

/* --- Header dengan Bintang --- */
.section-header-styled {
    margin-bottom: 60px;
}

.section-header-styled h2 {
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Garis Pemanis */
.divider-star {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ccc;
}

.divider-star .line {
    width: 80px; /* Lebar garis desktop */
    height: 1px;
    background-color: #ddd;
    transition: width 0.3s; /* Animasi transisi kalau dikecilkan */
}

.divider-star i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* --- Grid Layout --- */
.features-grid {
    display: grid;
    /* Minmax 280px lebih aman untuk HP kecil daripada 300px */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px 30px; /* Vertikal 50px, Horizontal 30px */
}

/* --- Item Styling --- */
.feature-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px); /* Efek naik dikit pas hover */
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #777;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =========================================
   TABLET VIEW (Max-width: 768px)
   ========================================= */
@media screen and (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .section-header-styled {
        margin-bottom: 40px;
    }

    .section-header-styled h2 {
        font-size: 2rem;
    }

    /* Garis dipendekkan dikit */
    .divider-star .line {
        width: 60px; 
    }

    .feature-icon {
        font-size: 2.5rem; /* Ikon dikecilkan */
        margin-bottom: 15px;
    }
}

/* =========================================
   MOBILE VIEW (Max-width: 480px)
   ========================================= */
@media screen and (max-width: 480px) {
    .features-section {
        padding: 50px 0;
    }

    .section-header-styled h2 {
        font-size: 1.8rem;
    }

    /* Garis dipendekkan lagi agar muat di layar sempit */
    .divider-star .line {
        width: 40px; 
        height: 2px; /* Ditebalkan dikit biar kelihatan di HP */
    }

    .divider-star {
        gap: 10px;
    }

    .features-grid {
        gap: 40px; /* Jarak antar item vertikal dikurangi */
    }

    .feature-item {
        padding: 0 10px; /* Padding samping dirapatkan */
    }

    .feature-icon {
        font-size: 2.2rem; /* Ukuran pas di HP */
    }

    .feature-item h3 {
        font-size: 1.15rem;
    }
}