/* index.css */

body { 
    font-family: 'Poppins', sans-serif; 
}

/* Merapatkan Jarak Section & Judul */
.section-padding { 
    padding: 60px 0; 
}

.mb-4, .mb-5 { 
    margin-bottom: 1.5rem !important; 
}

/* KOTAK GEDUNG SEKOLAH */
.img-about {
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    object-fit: cover;
}

/* CARD KEUNGGULAN & ANIMASI */
.feature-box {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: var(--bs-body-bg);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Kondisi Awal Animasi (Hidden) */
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class saat kartu masuk layar (dipicu JS) */
.feature-box.show {
    opacity: 1;
    transform: scale(1);
}

/* Efek Hover */
.feature-box.show:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: var(--bs-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    line-height: 1;
}

.feature-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* --- STYLE BARU UNTUK ALUR PENDAFTARAN --- */
.step-card {
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    border-left: 4px solid var(--bs-primary);
    height: 100%;
    transition: 0.3s;
}
.step-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}
.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-primary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    line-height: 1.5;
}

/* --- PENGATURAN DARK MODE (WARNA UNGU TERONG) --- */
[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .bg-section,
[data-bs-theme="dark"] .bg-light, /* Override class bg-light bootstrap */
[data-bs-theme="dark"] section {
    background-color: #504087 !important; /* Request: Ungu Terong */
    color: #ffffff;
}

/* Kartu di Dark Mode (Agar kontras dengan background ungu) */
[data-bs-theme="dark"] .feature-box,
[data-bs-theme="dark"] .access-card {
    background-color: rgba(0, 0, 0, 0.25) !important; /* Semi-transparan gelap agar tulisan terbaca */
    border-color: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .step-card {
    background: rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .text-muted {
    color: #e0e0e0 !important; /* Text sedikit lebih terang di background ungu */
}

/* Navbar Custom Styling */
.navbar-custom {
    background: rgba(var(--bs-body-bg-rgb), 0.8);
    backdrop-filter: blur(10px);
}

/* --- TOMBOL CUSTOM UNGU --- */
.btn-outline-purple {
    color: #6610f2;
    border-color: #6610f2;
}
.btn-outline-purple:hover {
    background-color: #6610f2;
    color: white;
    border-color: #6610f2;
}

/* Fix warna tombol di dark mode agar terlihat di ungu */
[data-bs-theme="dark"] .btn-outline-purple {
    color: #fff;
    border-color: #fff;
}
[data-bs-theme="dark"] .btn-outline-purple:hover {
    background-color: #fff;
    color: #504087;
}