/* --- IMPORT FONT MODERN --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- VARIABEL WARNA & TRANSAKSI --- */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-body: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVBAR (GLASSMORPHISM) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 100%; 
    width: 100%;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.logo-icon {
    background: #2563eb; 
    color: #ffffff;      
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.logo h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.logo span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-right: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.daftar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.nav-link.daftar:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--white);
}

/* --- MAIN CONTENT & BANNER --- */
.main-content {
    padding-top: 0; /* Agar banner menempel langsung ke atas di bawah navbar */
    min-height: 100vh;
}

.page-header-banner {
    background: linear-gradient(to right, #466be5, #0004ff); /* Biru persis Homepage */
    padding: 140px 20px 80px; /* Padding atas besar agar tulisan aman dari navbar */
    text-align: center;
    margin: 0; /* Margin 0 agar mentok kiri kanan */
    width: 100%; /* Lebar penuh layar */
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff; /* Teks putih */
    margin-bottom: 16px;
}

.page-subtitle {
    color: #e5e7eb; /* Teks abu-abu terang */
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* --- SECTION CARD GLOBAL --- */
.info-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.section-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.section-card:hover {
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-body);
}

.section-title i {
    color: var(--primary);
}

/* --- JADWAL SECTION --- */
.jadwal-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.jadwal-item {
    background: var(--bg-body);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.jadwal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.jadwal-item i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.jadwal-item h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.jadwal-item p {
    font-weight: 600;
    color: var(--text-main);
}

.jadwal-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Warna Khusus Jadwal */
.jadwal-item.hijau { border-left-color: #10b981; }
.jadwal-item.hijau i { color: #10b981; }

.jadwal-item.biru { border-left-color: #3b82f6; }
.jadwal-item.biru i { color: #3b82f6; }

.jadwal-item.ungu { border-left-color: #8b5cf6; }
.jadwal-item.ungu i { color: #8b5cf6; }

.jadwal-item.kuning { border-left-color: #f59e0b; }
.jadwal-item.kuning i { color: #f59e0b; }

/* --- SYARAT SECTION --- */
.syarat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.syarat-grid h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.syarat-grid ul {
    list-style: none;
}

.syarat-grid ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.syarat-grid ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10b981;
}

/* --- JURUSAN SECTION --- */
.jurusan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.jurusan-card {
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-body);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.jurusan-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.jurusan-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.jurusan-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.jurusan-card:hover p, .jurusan-card:hover h3 {
    color: var(--white);
}

/* --- JALUR PENDAFTARAN --- */
.jalur-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.jalur-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: left;
    height: 100%;
}

.jalur-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.jalur-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.jalur-card ul {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
    display: inline-block;
}

.jalur-card ul li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.jalur-card span {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: auto; 
}

/* --- BANTUAN BOX (ALUR KILAT PENDAFTARAN) --- */
.bantuan-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: var(--white);
    max-width: 1000px;
    margin: 60px auto;
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
    text-align: center;
}

.bantuan-box h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--white);
}

.bantuan-flex-container {
    display: flex !important;
    flex-direction: row !important; 
    justify-content: space-between !important; 
    align-items: flex-start !important;       
    gap: 50px !important;
}

.bantuan-kolom {
    flex: 1 !important;
    text-align: left !important; 
}

.bantuan-kolom h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bantuan-kolom p {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 6px 0 0 0;
    padding-left: 32px; 
}

/* --- TOMBOL DAFTAR (CTA) --- */
.cta-daftar {
    text-align: center;
    margin-bottom: 80px;
}

#btnDaftar {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.6);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

#btnDaftar:hover {
    background: var(--primary-hover);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

/* --- FOOTER --- */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h2, .footer-col h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.menu-btn {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.menu-btn:hover {
    color: var(--primary);
    padding-left: 5px;
}

.menu-btn.highlight {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* --- KEYFRAMES ANIMATION --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from { 
        opacity: 0; 
        transform: translateY(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeUp {
    from { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* --- RESPONSIVE DESIGN FOR HP --- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-card {
        padding: 24px;
    }
    
    .bantuan-flex-container {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .bantuan-box {
        padding: 35px 25px;
        margin: 30px 20px;
    }

    .bantuan-kolom p {
        padding-left: 0; 
    }
}