/* =========================================
   3. COMPONENTS (Reusable UI)
   ========================================= */

/* --- Buttons --- */
.btn-hero-primary {
    background-color: var(--gold); color: #fff; padding: 12px 35px;
    border-radius: 50px; font-weight: 700; font-size: 1.1rem; box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4);
}
.btn-hero-primary:hover { background-color: #fff; color: var(--primary); transform: translateY(-3px); }

.btn-outline {
    border: 2px solid rgba(255,255,255,0.6); color: #fff; padding: 12px 35px;
    border-radius: 50px; font-weight: 700; backdrop-filter: blur(5px); font-size: 1.1rem;
}
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--primary); transform: translateY(-3px); }

/* --- Cards (Standard) --- */
.card, a.program-card {
    background: #fff; padding: 45px 35px; border-radius: var(--radius-md);
    text-align: center; transition: var(--transition); 
    border: 2px solid rgba(0,0,0,0.08); 
    position: relative; overflow: hidden; box-shadow: var(--shadow-subtle); display: block;
}
.card::before, a.program-card::before { display: none; }
.card:hover, a.program-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.card-icon, .prog-icon {
    width: 90px; height: 90px; background: rgba(33, 93, 62, 0.05); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 30px; font-size: 2.5rem; transition: var(--transition);
}
.card:hover .card-icon, a.program-card:hover .prog-icon { background: var(--primary); color: #fff; transform: rotateY(180deg); }
.card h3, a.program-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--text-heading); font-weight: 800; }
a.program-card:hover h3 { color: #5d4037; }
.card p, a.program-card p { font-size: 1.1rem; color: #555; line-height: 1.7; font-weight: 500; text-align: center; }

/* --- Custom List (Ceklis) --- */
.custom-list { list-style: none; padding: 0; }
.custom-list li {
    position: relative; padding-inline-start: 35px; padding-inline-end: 0; 
    margin-bottom: 15px; font-size: 1.25rem; color: #000;
}
.custom-list li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset-inline-start: 0; top: 8px; color: var(--gold); font-size: 1rem;
}

/* --- Accordion --- */
.accordion { max-width: 900px; margin: 0 auto; }
.ac-item { 
    margin-bottom: 15px; border-radius: var(--radius-md); overflow: hidden; 
    box-shadow: var(--shadow-subtle); border: 1px solid rgba(0,0,0,0.05); background: #fff;
}
.ac-btn {
    width: 100%; text-align: start; background: #fff; padding: 20px 30px;
    border: none; outline: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--f-body); font-size: 1.25rem; font-weight: 700; color: var(--text-heading); transition: 0.3s;
}
.ac-btn:hover { background: #f8fcf9; color: var(--primary); padding-inline-start: 10px; }
.ac-btn.active { background: var(--primary); color: #fff; }
.ac-btn i { transition: 0.3s; font-size: 1rem; }
.ac-btn.active i { transform: rotate(180deg); color: var(--gold); }
.ac-panel { background: #fff; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; border-top: 1px solid rgba(0,0,0,0.05); }
.ac-content { padding: 30px; text-align: center; }

/* --- Tabs --- */
.tabs-container { text-align: center; margin-bottom: 40px; margin-top: -30px; position: relative; z-index: 10; }
.tabs-wrapper {
    display: inline-flex; background: #fff; padding: 8px; border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); border: 1px solid #eee;
    flex-wrap: wrap; justify-content: center; gap: 5px;
}
.tab-btn {
    background: transparent; border: none; padding: 12px 30px; border-radius: 40px;
    font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; color: #555;
    cursor: pointer; transition: 0.3s;
}
.tab-btn:hover { color: var(--primary); background: #f4f6f5; }
.tab-btn.active { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(33, 93, 62, 0.3); }
.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }

/* --- Info & Alert --- */
.info-box, .alert-box { 
    background: #fff8e1; border: 1px solid #ffe082; color: #5d4037; 
    padding: 20px; border-radius: 8px; margin: 0 auto 30px; max-width: 850px; 
    text-align: center; font-weight: 600; font-size: 1.1rem; 
}
.alert-box { border-right: 5px solid var(--gold); display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow-subtle); text-align: start; }
html[dir="ltr"] .alert-box { border-right: none; border-left: 5px solid var(--gold); }
.alert-box i { font-size: 2.5rem; color: var(--gold); }
.alert-box h3 { margin: 0 0 5px 0; color: var(--primary); font-size: 1.5rem; }
.alert-box p { margin: 0; font-size: 1.2rem; color: #000; font-weight: 500; }

/* =========================================
   VIDEO COMPONENT (Responsive Embed)
   ========================================= */
/* =========================================
   VIDEO COMPONENT (Revisi: Aspect Ratio Modern)
   ========================================= */
.video-wrapper {
    position: relative;
    width: 100%;
    
    /* 1. BATAS UKURAN (Laptop) */
    /* Ubah angka ini untuk membesarkan/mengecilkan video di laptop */
    max-width: 850px; 
    
    /* 2. KUNCI RASIO (PENTING) */
    /* Ini memaksa video selalu 16:9, tidak akan gepeng/lonjong */
    aspect-ratio: 16 / 9; 
    
    /* 3. RESET TEKNIK LAMA (Wajib ada untuk fix bug vertikal) */
    height: auto !important;
    padding-bottom: 0 !important;
    
    /* 4. TATA LETAK & GAYA */
    margin: 0 auto; /* Rata tengah */
    background: #000;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 4px solid #fff;
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}