body, html {
    overflow-x: hidden;
}
/* =========================
   STANDARISASI UKURAN FONT
========================= */
body {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
}

/* Hero */
.editable-bg h1, h1 {
    font-size: 2rem; /* display-5 */
}

h2 {
    font-size: 36px; /* Sekitar 24px */
}

h3 {
    font-size: 1.35rem; /* Sekitar 20px */
}



.hero-section p,
.hero-section-kontak p,
.editable-bg p {
    font-size: 1.25rem ; /* fs-5 */
}

/* Sub-Heading */
.display-5 {
    font-size: 3rem !important;
}

/* CTA */
.cta-title {
    font-size: 2rem !important;
}

.cta-desc {
    font-size: 1rem !important;
}
/* CSS Internal Khusus Halaman Beranda  */

    .hero-desc {
        opacity: 0.9;
    }

    .hero-img {
        max-width: 70%;
    }

    .btn-red {
        background-color: #dc3545;
        color: white;
        padding: 0.8rem 2rem;
        border-radius: 20rem;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s;
        display: inline-block;
    }

    .btn-red:hover {
        background-color: #c82333;
        color: white;
    }

    .feature-box {
        background-color: #f4f6f9;
        border-radius: 1rem;
        padding: 2.5rem 2rem;
        height: 100%;
    }



.hero-section,
.hero-section-kontak {
    min-height: 100vh;
}

.editable-img {
    transition: transform 0.3s ease;
}
@media (max-width: 768px) {
    .hero-section,
    .hero-section-kontak {
        min-height: 90vh; /* Sedikit dikurangi di mobile agar tidak terlalu tinggi */
    }
}

/* Kondisi Awal: Tersembunyi di bawah, transparan, dan bertumpuk */
.phone-card {
    position: absolute;
    width: 160px; /* Ukuran HP diperkecil dari 220px */
    opacity: 0;
    transform: translateY(150px) rotate(0deg); 
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-out;
}

/* --- Kondisi Saat Animasi Berjalan --- */
.phone-spread-container.animate .phone-card {
    opacity: 1;
}

.phone-spread-container.animate .phone-center {
    transform: translateY(0) rotate(0deg);
    z-index: 3; 
}

.phone-spread-container.animate .phone-left {
    /* Jarak sebaran (translateX) diperpendek menjadi -100px */
    transform: translateX(-100px) translateY(30px) rotate(-15deg);
    z-index: 2;
}

.phone-spread-container.animate .phone-right {
    /* Jarak sebaran (translateX) diperpendek menjadi 100px */
    transform: translateX(100px) translateY(30px) rotate(15deg);
    z-index: 1; 
}

    /* --- Cara menggunakan aplikasi  --- */
    .tutor-kiri {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        transform: translate(-50%, -50%) rotate(0deg) !important;
        width: 500px !important;
        z-index: 100 !important;
    }
    /* --- Efek Fade untuk Teks Langkah --- */
    .fade-transition {
        transition: opacity 0.3s ease-in-out;
        opacity: 1;
    }

    .fade-out {
        opacity: 0;
    }
    /* --- CTA Section --- */
    .cta-wrapper { 
        background-color: #ffffff; /* Latar abu-abu terang */
        padding: 5rem 0; 
    }
    
    .cta-inner { 
        background-color: #ffffff; /* Kartu putih */
        border-radius: 1.5rem; 
        padding: 4rem 2rem; 
        box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Bayangan lembut */
        text-align: center; 
        max-width: 800px; 
        margin: 0 auto; 
    }
    
    .cta-title { 
        font-weight: 800; 
        margin-bottom: 1rem; 
        color: #212529; 
    }
    
    .cta-desc { 
        color: #6c757d; 
        margin-bottom: 2rem; 
        line-height: 1.6; 
    }

    .faq-img { max-width: 60%; }
    
    .accordion-item { 
        border-radius: 0.75rem !important; 
        border: 1px solid #eaeaea; 
        margin-bottom: 1rem; 
        overflow: hidden; 
        background-color: #fff;
    }
    
    .accordion-button { 
        font-weight: 500; 
        color: #212529; 
        padding: 1.2rem 1.5rem; 
        box-shadow: none !important;
        background-color: transparent;
    }
    
    .accordion-button:not(.collapsed) { 
        background-color: #fff; 
        color: #0b5e27; 
    }
    
    .faq-more-title { font-weight: 800; margin-top: 4rem; margin-bottom: 0.5rem; }
    
    .btn-green-solid { 
        background-color: #0b5e27; 
        color: white; 
        border: none; 
        border-radius: 0.5rem; 
        font-weight: 600; 
        padding: 0.8rem 1.5rem; 
        text-decoration: none; 
        transition: 0.3s; 
        margin: 0.5rem; 
        display: inline-block; 
    }
    
    .btn-green-solid:hover { background-color: #09471e; color: white; }

/* =========================
   ANIMASI SCROLL FITUR HERO
========================= */
.scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-top: 2rem;
}

.scroll-track {
    display: flex;
    gap: 15px;
    width: max-content;
    /* Durasi 20s, kecepatan konstan (linear), putar terus (infinite) */
    animation: scrollKiri 20s linear infinite; 
}

/* Opsional: Animasi berhenti kalau disentuh mouse */
.scroll-track:hover {
    animation-play-state: paused;
}

.fitur-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgb(255, 255, 255);
    padding: 10px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

@keyframes scrollKiri {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}


/* =========================
   HALAMAN FAQ
========================= */
/* --- Desain Tombol Cari FAQ --- */
.btn-cari-custom {
    background-color: #0b5e27 !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.btn-cari-custom:hover {
    background-color: #09471e !important; /* Warna hijau yang lebih gelap saat dihover */
    transform: scale(1.05); /* Sedikit membesar saat disentuh */
}

.fitur-card-title {
    font-size: 1.35rem; /* atau 1.1rem, sesuaikan */
    font-weight: 700;
    margin-bottom: 0.75rem;
}


.fitur-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #495057;
}

body p, 
body p.editable, 
.bento-card p {
    font-size: 1rem ; 
    line-height: 1.6;
}

/* --- Slider Responsif --- */
.slider-phone-container {
    position: relative;
    z-index: 2;
}

.slider-phone-img {
    width: 245.5px; 
    height: 500px; 
    margin-top: -40px; 
    margin-bottom: -40px; 
    cursor: pointer; 
    object-fit: cover; 
    border-radius: 35px; 
    padding: 6px; 
    background-color: #0B5D31; 
    border: 6px solid #0B5D31; 
    box-shadow: 10px 15px 30px rgba(0,0,0,0.15);
}

.slider-text-container {
    min-height: 380px;
}

/* Responsivitas Khusus Mobile */
@media (max-width: 768px) {
    /* Sembunyikan lingkaran dekorasi agar tidak overflow */
    .hero-section > div[style*="position: absolute"] {
        display: none !important;
    }

    /* Rata tengah teks hero */
    .hero-section .col-lg-6.text-white {
        text-align: center !important;
    }

    /* Penyesuaian Slider */
    .slider-phone-container {
        text-align: center;
        padding-top: 1rem;
    }

    .slider-phone-img {
        width: 200px !important;
        height: 400px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .slider-text-container {
        padding: 1.5rem !important;
        min-height: auto !important;
        text-align: center;
    }

    /* Penyesuaian titik dan tombol navigasi slider */
    .slider-nav-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center !important;
    }
    
    .slider-nav-container .d-flex {
        justify-content: center !important;
    }

    /* Animasi 3 HP di beranda */
    .phone-card {
        width: 120px !important;
    }
    
    .phone-spread-container.animate .phone-left {
        transform: translateX(-70px) translateY(30px) rotate(-15deg) !important;
    }
    
    .phone-spread-container.animate .phone-right {
        transform: translateX(70px) translateY(30px) rotate(15deg) !important;
    }
}