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

:root {
    --primary-orange: #E67E22; /* Oranye utama yang energik */
    --primary-orange-dark: #D35400; /* Oranye lebih gelap untuk hover */
    --dark-blue: #2C3E50; /* Biru gelap untuk footer dan teks kontras */
    --light-gray: #f9f9f9; /* Latar belakang section yang lembut */
    --text-dark: #34495E; /* Warna teks utama */
    --text-muted: #7f8c8d; /* Warna teks sekunder */
    --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-blue);
}

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

section {
    padding: 80px 0;
}

/* =========================================
   NAVBAR (Asumsi gaya dasar)
   ========================================= */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero .carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

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

.hero .slide.active {
    opacity: 1;
}

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

.hero .prev, .hero .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-speed);
}

.hero .prev { left: 20px; }
.hero .next { right: 20px; }

.hero .prev:hover, .hero .next:hover {
    background: var(--primary-orange);
}

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

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-text h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--primary-orange);
    color: var(--white);
    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(230, 126, 34, 0.4);
}

.cta-button:hover {
    background-color: var(--primary-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.5);
}


/* =========================================
   PROGRAM SECTION (DIPERBAIKI & DIPERCANTIK)
   ========================================= */
.program-section {
    /* Latar belakang gradien yang lembut */
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-muted { color: var(--text-muted); }

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

.filter-buttons-wrapper .filter-btn.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.filter-buttons-wrapper .filter-btn:not(.active):hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Jarak ditambah sedikit untuk efek glow */
}

.program-item.online { display: none; }

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden; /* Penting untuk efek zoom gambar */
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative; /* Diperlukan untuk aksen garis */
    border-top: 3px solid transparent; /* Placeholder untuk transisi */
}

/* Aksen Garis Oranye di atas kartu */
.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-orange);
    transition: width 0.4s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    /* Efek Glow Oranye ditambahkan */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 25px rgba(230, 126, 34, 0.2);
}

/* Membuat garis memanjang saat di-hover */
.program-card:hover::before {
    width: 100%;
}

.program-card-image-wrapper {
    position: relative;
    height: 180px;
}

.program-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease; /* Transisi untuk efek zoom */
}

/* Efek Gambar Zoom saat di-hover */
.program-card:hover .program-card-img {
    transform: scale(1.05);
}


.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-orange) !important;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

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

.program-card .card-text.small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.program-card .card-text i {
    color: var(--primary-orange);
    margin-right: 5px;
}

.program-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-top: 10px;
    margin-bottom: 15px;
}

.program-card .btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition-speed);
    margin-top: auto;
    position: relative; /* Diperlukan untuk ikon panah */
    overflow: hidden;
}

/* Efek Ikon Panah pada Tombol */
.program-card .btn::after {
    font-family: "Font Awesome 6 Free";
    content: "\f061"; /* Kode ikon panah kanan */
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

.program-card .btn:hover {
    padding-right: 40px; /* Beri ruang untuk panah */
}

.program-card .btn:hover::after {
    opacity: 1;
    right: 15px;
}


.program-card .btn-primary {
    background-color: var(--dark-blue);
    color: var(--white);
}

.program-card .btn-primary:hover {
    background-color: #3e5771;
}

.program-card .btn-danger {
    background-color: var(--primary-orange);
    color: var(--white);
}
.program-card .btn-danger:hover {
    background-color: var(--primary-orange-dark);
}


/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    text-align: center;
}
.about h2 { font-size: 2.5rem; margin-bottom: 15px; }
.about .highlight { color: var(--primary-orange); }

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

.about-card {
    padding: 30px;
}

.about-card .icon-wrapper {
    background-color: var(--primary-orange);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}
.about-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}
.about-card p {
    color: var(--text-muted);
}

/* =========================================
   WAVE DIVIDER
   ========================================= */
.wave-divider {
    line-height: 0;
}

.wave-divider svg {
    display: block;
}

.wave-divider .shape-fill {
    fill: var(--primary-orange-dark);
}

/* =========================================
   ALUR PENDAFTARAN SECTION
   ========================================= */
.alur {
    background-color: var(--primary-orange-dark);
    color: var(--white);
    text-align: center;
}
.alur h2, .alur p {
    color: var(--white);
}
.alur h2 { font-size: 2.5rem; margin-bottom: 15px; }
.alur p { max-width: 600px; margin-left: auto; margin-right: auto; }

.alur-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.alur-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.alur .step {
    text-align: center;
    width: 18%;
    position: relative;
    z-index: 2;
}

.alur .circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    border: 5px solid var(--primary-orange-dark);
}

.alur .step h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.alur .step p {
    font-size: 0.9rem;
    opacity: 0.9;
}


/* =========================================
   FOOTER SECTION
   ========================================= */
.footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col i {
    margin-right: 10px;
    color: var(--primary-orange);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition-speed);
}
.footer-col ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-speed);
}
.social-links a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 3rem; }
    .hero-text h2 { font-size: 1.5rem; }
    .alur-timeline { flex-wrap: wrap; justify-content: center; }
    .alur-timeline::before { display: none; }
    .alur .step { width: 45%; margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero { height: 80vh; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text h2 { font-size: 1.2rem; }
    .cta-button { padding: 12px 28px; }

    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-card .icon-wrapper { margin-left: auto; margin-right: auto;}
    
    .alur-timeline { flex-direction: column; align-items: center; }
    .alur .step { width: 80%; }
    .alur-timeline .step:not(:last-child) { margin-bottom: 40px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-col { margin-bottom: 20px; }
}