/* Pengaturan Global Detail */
.detail-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    font-family: 'Poppins', sans-serif;
    
}

/* Animasi Scroll Global */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Judul Utama */
.program-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 50px;
}

.text-yellow { color: var(--secondary); }

/* Tombol Kembali */
.back-navigation {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(5, 154, 135, 0.05);
    border: 1px solid rgba(5, 154, 135, 0.1);
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-back i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-back:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-5px);
    box-shadow: 0 10px 20px rgba(5, 154, 135, 0.15);
}

.btn-back:hover i {
    transform: translateX(-3px);
}

.btn-back:active {
    transform: scale(0.95);
}

/* Area Overview (Kiri Teks, Kanan Kotak) */
.overview-section {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.overview-text { flex: 1; }

.section-subtitle {
    font-size: 28px;
    color: #2D3192; 
    margin-bottom: 20px;
}

.overview-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.logo-img {
    max-height: 50px; 
    width: auto;
    display: block;
}

/* Kotak Peserta */
.participants-card {
    background-color: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    min-width: 320px;
    box-shadow: 0 15px 30px rgba(5, 154, 135, 0.15);
}

.participants-card h4 {
    font-size: 22px;
    margin-bottom: 20px;
}

.participants-card ul {
    list-style: none;
}

.participants-card ul li {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.participants-card ul li::before {
    content: "•";
    margin-right: 15px;
    font-size: 24px;
}

/* Area Metode Pembelajaran */
.method-section {
    text-align: center;
    margin-bottom: 80px;
}

.method-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
}

.method-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
}

.method-item:hover {
    transform: translateY(-10px);
}

.method-item .img-wrapper {
    height: 150px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.method-item img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.method-item:hover img {
    transform: scale(1.1) rotate(5deg);
}

.method-item p {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

/* Area Materi & Harga */
.info-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.materi-box {
    background-color: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(5, 154, 135, 0.15);
}

.materi-box h3, .package-box h3 { 
    font-size: 26px; 
    margin-bottom: 25px; 
}

.materi-box ul { list-style: none; }
.materi-box ul li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.materi-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Kotak Paket & Investasi */
.package-box {
    background-color: var(--secondary);
    color: white;
    padding: 40px;
    border-radius: 15px;
    flex-grow: 1; /* Biar sejajar tingginya */
}

.package-detail p {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.investment-bar {
    background-color: var(--primary); 
    color: white;
    padding: 25px;
    border-radius: 15px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 20px rgba(45, 49, 146, 0.2);
}

/* Tombol Daftar Outline Kuning */
.registration-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-register-now {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; 
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 15px;
    background: transparent;
    color: var(--secondary); 
    border: 2px solid var(--secondary); 
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    overflow: hidden;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2; 
}

.arrow-icon {
    font-size: 22px;
    transition: transform 0.4s ease;
    z-index: 2;
}

/* Efek Background Isi pas Di-hover */
.btn-register-now::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: var(--secondary);
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.btn-register-now:hover {
    color: white; 
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.2);
}

.btn-register-now:hover::before { width: 100%; }
.btn-register-now:hover .arrow-icon { transform: translate(5px, -5px); }
.btn-register-now:active { transform: scale(0.98); }

.registration-note {
    font-size: 13.5px;
    color: #666;
    font-style: italic;
    margin-left: 5px;
}

/* Responsif HP & Tablet */
@media (max-width: 992px) {
    .overview-section, .info-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .method-grid { gap: 40px; flex-wrap: wrap; }
    .participants-card { min-width: 100%; }
}

@media (max-width: 768px) {
    .detail-container { padding: 0 20px; }
    .back-navigation { margin-bottom: 20px; }
    .btn-back { padding: 8px 16px; font-size: 13px; }
    .program-title { font-size: 32px; }
    .btn-register-now { padding: 15px 25px; font-size: 18px; }
}