/* =================================================
   STYLE for MINI BOOTCAMP GLOBAL VARIABLES & RESET
================================================= */
:root {
    --color-primary: #820AE5;
    --color-primary-light: #a94793;
    --color-primary-lighter: #c88bbc;
    --color-text-digibos: #1E0633;
    --color-dark: #333333;
    --color-yellow: #FFD700;
    --color-secondary: #e5007e;
    --color-secondary-light: #ea5a9a;
}

body, html {
    overflow-x: hidden !important;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.mb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }

/* GLOBAL MEDIA QUERIES (TABLET & MOBILE UTILITIES) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Optimasi Padding Kiri & Kanan di Tablet */
    .mb-container { padding: 0 50px !important; }
}


/* ==========================================
   1. HERO SECTION (REVISI NEURO-UI)
========================================== */
.mb-hero {
    background: linear-gradient(90deg, #18012b 0%, var(--color-primary) 50%, rgba(130, 10, 229, 0.6) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.mb-hero-bg-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(234, 90, 154, 0.15), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(255, 215, 0, 0.08), transparent 25%),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    z-index: 1; pointer-events: none;
}

.mb-container { position: relative; z-index: 2; }
.mb-hero-content { display: flex; align-items: center; gap: 50px; }
.mb-hero-left { flex: 1; color: #fff; }

.mb-h1-reveal {
    color: #fff; font-size: 3.5rem; font-weight: 900; margin-bottom: 15px;
    line-height: 1.2; clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.mb-highlight-yellow { color: var(--color-yellow); }
.mb-h2-fade { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; color: #f0f0f0; line-height: 1.4; }
.mb-highlight-stabilo {
    background: linear-gradient(120deg, rgba(234, 90, 154, 0.6) 0%, rgba(234, 90, 154, 0.6) 100%);
    background-repeat: no-repeat; background-size: 100% 35%; background-position: 0 90%; padding: 0 4px;
}

.mb-hero-desc { font-size: 1rem; line-height: 1.6; margin-bottom: 30px; opacity: 0.9; max-width: 90%; }
.mb-hero-buttons { display: flex; gap: 15px; }
.mb-fomo-text { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); margin-top: 12px; font-weight: 600; letter-spacing: 0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

.mb-btn-yellow, .mb-btn-outline { padding: 15px 30px; border-radius: 8px; font-weight: 800; text-decoration: none; transition: all 0.3s ease; }
.mb-btn-yellow { background: var(--color-yellow); color: var(--color-text-digibos); }
.mb-btn-yellow:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3); }
.mb-btn-outline { background: rgba(130, 10, 229, 0.4); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.mb-btn-outline:hover { background: #fff; color: var(--color-primary); transform: translateY(-3px); }

.mb-hero-right { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.mb-hero-glass-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 15px; position: relative; width: 100%; z-index: 2;
}
.mb-hero-img-main { width: 100%; border-radius: 8px; object-fit: contain; display: block; transform: scale(1.03); }

/* Badges */
.float-badge {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 18px 8px 10px; border-radius: 50px;
    color: #fff; font-size: 0.85rem; font-weight: 800; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 3; animation: floatingBadge 4s infinite ease-in-out alternate; white-space: nowrap;
}
.float-badge img { width: 28px; height: 28px; object-fit: contain; }
.badge-1 { top: -25px; left: -25px; animation-delay: 0s;} 
.badge-2 { top: 35%; right: -40px; animation-delay: 0.8s;} 
.badge-3 { bottom: 105px; left: -45px; animation-delay: 1.2s;} 
.badge-4 { bottom: -25px; right: -15px; animation-delay: 1.6s;} 
.badge-5 { top: -15px; right: 40px; animation-delay: 0.4s;} 
@keyframes floatingBadge { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }

/* Zoom Badge */
.mb-zoom-center-badge {
    position: absolute; top: -20%; left: 50%; transform: translate(-50%, -50%);
    background: #ffffff; padding: 12px 25px; border-radius: 50px; display: flex; align-items: center; gap: 12px;
    z-index: 10; color: var(--color-text-digibos); font-weight: 900; font-size: 1rem; border: 2px solid #2D8CFF;
    animation: centerZoomPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.mb-zoom-center-badge img { width: 48px; height: auto; object-fit: contain; }
@keyframes centerZoomPulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 140, 255, 0.8); transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.06); }
    70% { box-shadow: 0 0 0 25px rgba(45, 140, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 140, 255, 0); transform: translate(-50%, -50%) scale(1); }
}

/* --- HERO: TABLET OPTIMIZATION --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .mb-hero-content { gap: 30px; } /* Sesuaikan celah akibat padding global container */
    .mb-h1-reveal { font-size: 2.8rem; }
    .mb-h2-fade { font-size: 1.5rem; }
    .mb-hero-desc { font-size: 0.95rem; max-width: 100%; }
    .mb-btn-yellow, .mb-btn-outline { padding: 12px 24px; font-size: 0.9rem; }
    .float-badge { font-size: 0.75rem; padding: 6px 14px 6px 8px; }
    .float-badge img { width: 24px; height: 24px; }
    .mb-zoom-center-badge { font-size: 0.85rem; padding: 10px 20px; }
    .mb-zoom-center-badge img { width: 38px; }
}

/* --- HERO: MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .mb-hero-content { flex-direction: column; text-align: center; }
    .mb-hero-left, .mb-hero-right { width: 100%; }
    .mb-h1-reveal { font-size: 2.2rem; }
    .mb-hero-buttons { flex-direction: column; }
    .mb-hero-glass-card { width: 100%; margin-top: 25px; }
    .float-badge { padding: 5px 12px 5px 6px; font-size: 0.7rem; gap: 5px;}
    .float-badge img { width: 20px; height: 20px; }
    .badge-1 { top: -15px; left: -5px; }
    .badge-2 { top: 35%; right: -15px; }
    .badge-3 { bottom: 80px; left: -10px; }
    .badge-4 { bottom: -15px; right: 0px; }
    .badge-5 { display: none; }
    .mb-zoom-center-badge { padding: 6px 12px; font-size: 0.6rem; gap: 8px; }
    .mb-zoom-center-badge img { width: 28px; }
}


/* ==========================================
   2. WHY US SECTION
========================================== */
.mb-whyus {
    background: #ffffff; padding: 100px 0; border-radius: 50px 50px 0 0; margin-top: -40px; position: relative; z-index: 10;
}
.mb-section-title { color: var(--color-text-digibos); font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
.mb-section-subtitle { color: #666; font-size: 1.1rem; max-width: 700px; margin: 0 auto 50px auto; }
.mb-whyus-grid { display: flex; align-items: center; gap: 40px; }
.mb-whyus-left { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.mb-whyus-card {
    background: #fff; padding: 25px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 2px solid transparent; transition: all 0.3s; text-align: left;
}
.mb-whyus-card:hover { border-color: var(--color-primary); transform: translateY(-5px); }
.wu-icon { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 15px; }
.mb-whyus-card h3 { font-size: 1.1rem; color: var(--color-text-digibos); font-weight: 800; margin-bottom: 10px; }
.mb-whyus-card p { font-size: 0.7rem; color: #555; line-height: 1.5; }

.mb-whyus-right { flex: 1; display: flex; justify-content: center; gap: 20px; }
.wu-img-wrapper { width: 200px; height: 280px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.wu-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.wu-img-offset { margin-top: 50px; }

/* --- WHY US: TABLET OPTIMIZATION --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .mb-section-title { font-size: 2rem; }
    .mb-section-subtitle { font-size: 0.95rem; }
    /* Ubah arah flex ke kolom agar grid kiri mendapatkan ruang maksimal */
    .mb-whyus-grid { flex-direction: column; gap: 40px; } 
    .mb-whyus-left { grid-template-columns: repeat(2, 1fr); width: 100%; }
    .mb-whyus-right { width: 100%; margin-top: 20px; }
    .wu-img-wrapper { width: 180px; height: 250px; }
}

/* --- WHY US: MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .mb-whyus { border-radius: 30px 30px 0 0; padding: 60px 0; }
    .mb-section-title { font-size: 1.8rem; }
    .mb-whyus-grid { flex-direction: column; }
    .mb-whyus-left { grid-template-columns: 1fr; }
    .mb-whyus-right { flex-wrap: wrap; }
    .mb-whyus-right .gsap-float-1, .mb-whyus-right .gsap-float-3 { display: none;}
    .wu-img-offset { margin-top: 0; }
}


/* ==========================================
   3. PROGRAM SECTION (SLIDER & CARDS)
========================================== */
.mb-program { background: #f9f9f9; padding: 80px 0; }
.mb-program .mb-section-title { margin-bottom: 50px; }

.slider-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.slider-dots { display: none; } /* Hanya muncul di mobile */

.mb-prog-card {
    background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative; overflow: hidden; z-index: 1; border: 1px solid var(--color-primary);
    display: flex; flex-direction: column; height: 100%;
}

.mb-prog-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--color-yellow), var(--color-primary));
    animation: rotateSumbu 3s linear infinite; opacity: 0; z-index: -2; transition: opacity 0.3s;
}
.mb-prog-card::after {
    content: ''; position: absolute; inset: 3px; background: #fff; border-radius: 9px; z-index: -1;
}
.mb-prog-card:hover::before { opacity: 1; }
@keyframes rotateSumbu { 100% { transform: rotate(360deg); } }

.prog-img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.prog-title { font-size: 1.3rem; font-weight: 800; color: var(--color-text-digibos); margin-bottom: 10px; }
.prog-periode { font-size: 0.85rem; color: #777; margin: 0; }
.prog-date { font-weight: 700; color: var(--color-primary); margin-bottom: 15px; }

.prog-accordion { margin-bottom: 20px; flex-grow: 1; }
.prog-toggle-btn {
    width: 100%; background: #f0f4fb; border: none; padding: 12px; text-align: left;
    font-weight: 700; color: var(--color-text-digibos); border-radius: 8px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.prog-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.prog-accordion-body.active { max-height: 250px; }
.prog-accordion-body ul { list-style: none; padding: 10px 5px; margin: 0; }
.prog-accordion-body li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; margin-bottom: 8px;}
.check-icon { background: #e6ffed; color: #28a745; width: 18px; height: 18px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 10px;}

.mb-btn-prog {
    display: block; text-align: center; background: var(--color-primary); color: #fff;
    padding: 12px; border-radius: 8px; font-weight: 800; text-decoration: none; margin-top: auto; transition: 0.3s;
}
.mb-btn-prog:hover { background: var(--color-text-digibos); color: var(--color-yellow); }

.mb-btn-prog_wait {
    display: block; text-align: center; background: #c88bbc; color: var(--color-text-digibos);
    padding: 12px; border-radius: 8px; font-weight: 800; text-decoration: none; margin-top: auto; transition: 0.3s;
}
.mb-btn-prog_wait:hover { background: var(--color-text-digibos); color: var(--color-yellow); }

/* --- PROGRAM: TABLET OPTIMIZATION --- */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 3 kolom akan terlalu sempit, jadikan 2 kolom merata */
    .slider-wrapper { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .prog-img { height: 180px; }
    .prog-title { font-size: 1.15rem; }
    .prog-toggle-btn { font-size: 0.95rem; }
    .prog-accordion-body li { font-size: 0.85rem; }
}

/* --- PROGRAM: MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .mb-program { padding: 60px 0; }
    .mobile-slider-container { overflow: hidden !important; position: relative; max-width: 100vw; padding-bottom: 30px; }
    .slider-wrapper { display: flex !important; flex-wrap: nowrap; gap: 0 !important; display: block; } /* Matikan grid */
    .slider-slide { flex: 0 0 100% !important; width: 100%; box-sizing: border-box; padding: 0 10px; }
    .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; }
    .mb-dot { width: 10px; height: 10px; background: #ddd; border-radius: 50%; transition: 0.3s ease; }
    .mb-dot.active { width: 25px; border-radius: 5px; background: var(--color-primary); }
}


/* ==========================================
   4. FAQ SECTION
========================================== */
.mb-faq { padding: 80px 0; background: #fff; }
.mb-faq-grid { display: flex; gap: 30px; max-width: 900px; margin: 0 auto; }
.faq-column { flex: 1; display: flex; flex-direction: column; gap: 15px; }

.faq-card { border: 1px solid #eaeaea; border-radius: 10px; overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: #fff; padding: 18px 20px; font-weight: 800;
    font-size: 1rem; color: var(--color-text-digibos); border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: 0.3s;
}
.faq-q:hover { background: #fcfcfc; color: var(--color-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #fafafa; }
.faq-a p { padding: 0 20px 20px 20px; color: #555; font-size: 0.95rem; margin: 0; line-height: 1.6;}
.faq-card.active .faq-a { max-height: 200px; }
.faq-card.active .faq-icon { transform: rotate(45deg); color: var(--color-secondary); }

/* --- FAQ: TABLET OPTIMIZATION --- */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Jadikan 1 kolom ke bawah karena layar mulai sempit */
    .mb-faq-grid { flex-direction: column; gap: 15px; }
    .faq-q { font-size: 0.95rem; padding: 15px; }
    .faq-a p { font-size: 0.9rem; }
}

/* --- FAQ: MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .mb-faq { padding: 60px 0; }
    .mb-faq-grid { flex-direction: column; gap: 15px;}
}