/* =========================================
    IMPOR FONT & VARIABEL CSS UNTUK NHC
    ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap');

:root {
    --primary-brown: #6B4F4B;
    --primary-brown-dark: #543C38;
    --accent-gold: #C6A969;
    --dark-color: #2c3e50;
    --light-gray: #f9f9f9;
    --text-dark: #34495E;
    --text-muted: #7f8c8d;
    --white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s ease;
}

/* =========================================
    RESET & GAYA DASAR
    ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--light-gray);
}

/* =========================================
    HERO SECTION (CAROUSEL BACKGROUND)
    ========================================= */
.hero {
    position: relative;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    /* Hapus baris background-image dari sini */
    overflow: hidden; /* Tambahkan ini */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.cta-button {
    background-color: var(--accent-gold);
    color: var(--dark-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-speed);
    box-shadow: 0 5px 15px rgba(198, 169, 105, 0.4);
}

.cta-button:hover {
    background-color: #e0c58a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 169, 105, 0.5);
}

/* KODE BARU UNTUK CAROUSEL DITAMBAHKAN DI SINI */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .prev,
.carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.carousel .prev {
    left: 20px;
}

.carousel .next {
    right: 20px;
}

.carousel .prev:hover,
.carousel .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* =========================================
    SECTIONS: BENEFITS, KEUNGGULAN (PROGRAM)
    ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card .icon-wrapper {
    background-color: var(--primary-brown);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: 0 5px 15px rgba(107, 79, 75, 0.4);
}

.about-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary-brown);
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
    PERSYARATAN SECTION (ALUR)
    ========================================= */
.alur {
    background-color: var(--primary-brown);
    color: var(--white);
    text-align: center;
}

.alur h2 {
    color: var(--white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: left;
}

.alur .step {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    border-top: 3px solid var(--accent-gold);
}

.alur .circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.alur .step h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.alur .step ul {
    list-style: none;
    padding-left: 0;
}

.alur .step ul li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.alur .step ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
}

/* =========================================
    CTA & FOOTER SECTION
    ========================================= */
.cta-section {
    background-color: var(--light-gray);
}

.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 25px 0;
}

/* =========================================
    RESPONSIVE DESIGN
    ========================================= */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero {
        height: 80vh;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}

/* =========================================
    CSS TAMBAHAN UNTUK SECTION PROGRAM
    ========================================= */
.program-section {
    padding: 80px 0;
}

.filter-buttons-wrapper .filter-btn {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 10px 25px;
    margin: 0 5px 10px;
    cursor: pointer;
    transition: var(--transition-speed);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-buttons-wrapper .filter-btn:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.filter-buttons-wrapper .filter-btn.active {
    background-color: var(--primary-brown);
    color: var(--white);
    border-color: var(--primary-brown);
    box-shadow: 0 4px 10px rgba(107, 79, 75, 0.3);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.program-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
}

.program-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.program-card:hover .program-card-img {
    transform: scale(1.05);
}

.program-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.program-features {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.program-features li {
    margin-bottom: 5px;
}

.program-features .fa-check-circle {
    color: var(--primary-brown);
}

.program-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-gold);
    margin-top: auto;
    margin-bottom: 15px;
}

.btn-program {
    text-decoration: none;
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    background-color: var(--primary-brown);
    color: var(--white);
    transition: var(--transition-speed);
}

.btn-program:hover {
    background-color: var(--primary-brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* =========================================
   HOOK SECTION STYLE (WARNA COKELAT)
   ========================================= */
.hook-section {
    background-color: var(--primary-brown); /* Latar belakang cokelat gelap dari tema Anda */
    color: var(--white);
    padding: 100px 0;
}

.hook-grid {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 60px;
    align-items: center;
}

.hook-image {
    /* Bingkai warna emas yang elegan */
    border: 8px solid var(--accent-gold);
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--primary-brown-dark); /* Latar dalam bingkai sedikit lebih gelap */
}

.hook-image img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

.hook-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

.hook-text .highlight-box {
    /* Teks highlight menggunakan warna emas */
    color: var(--accent-gold);
}

.hook-text .highlight-underline {
    /* Garis bawah menggunakan warna emas */
    border-bottom: 5px solid var(--accent-gold);
    padding-bottom: 5px;
}

.hook-text .hook-promise {
    font-size: 2.5rem;
}

.hook-text .hook-cta {
    font-size: 3.5rem;
    display: inline-block;
    border: 4px solid var(--accent-gold);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    line-height: 142px;
    text-align: center;
    margin-top: 20px;
    transition: var(--transition-speed);
}

.hook-text .hook-cta:hover {
    background-color: var(--accent-gold);
    color: var(--primary-brown-dark); /* Teks menjadi cokelat gelap saat di-hover */
    transform: scale(1.05);
}

/* Penyesuaian untuk Mobile */
@media (max-width: 992px) {
    .hook-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hook-image {
        max-width: 350px;
        margin: 0 auto 40px auto;
    }
    .hook-text p {
        font-size: 2.2rem;
    }
    .hook-text .hook-promise {
        font-size: 2rem;
    }
    .hook-text .hook-cta {
        font-size: 2.8rem;
        width: 120px;
        height: 120px;
        line-height: 112px;
    }
}

.wave-divider {
    width: 100%;
    height: 150px;
    overflow: hidden;
    line-height: 0;
    background:var(--white); /* Bagian bawah putih */
    margin-top: -1px; /* Hilangkan celah garis putih */
    margin-bottom: -1px; /* Hilangkan celah garis putih */
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wave-divider .shape-fill {
    fill:var(--primary-brown);/* Warna atas gelombang */
}
