:root {
    --primary: #1a3e8f;
    --red: #dc3545;
    --green: #198754;
    --primary-dark: #122d6b;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --hero-bg-start: #dce8ff;
    --hero-bg-end: #eef4ff;
    --footer-bg: #1a3e8f;
    --white: #ffffff;
    --text-dark: #1e2a45;
    --text-muted: #5b6e8a;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text-dark);
    margin: 0;
}

/* ══════════════════════════════════════════
       PAGE HEADER BREADCRUMB BAR
    ══════════════════════════════════════════ */
.page-header {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    padding: 28px 0 24px;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.page-header::before {
    content: "";
    position: absolute;
    left: 40%;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}
.page-header-title {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 800;
    color: white;
    margin: 0 0 6px;
}

.page-header-sd {
    background: linear-gradient(90deg, var(--red) 0%, var(--accent) 100%);
    padding: 28px 0 24px;
    position: relative;
    overflow: hidden;
}
.page-header-sd::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.page-header-sd::before {
    content: "";
    position: absolute;
    left: 40%;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}
.page-header-sd-title {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 800;
    color: white;
    margin: 0 0 6px;
}

.page-header-tk {
    background: linear-gradient(90deg, var(--green) 0%, var(--accent) 100%);
    padding: 28px 0 24px;
    position: relative;
    overflow: hidden;
}
.page-header-tk::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.page-header-tk::before {
    content: "";
    position: absolute;
    left: 40%;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}
.page-header-tk-title {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 800;
    color: white;
    margin: 0 0 6px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.83rem;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: white;
}
.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(26, 62, 143, 0.1);
    padding: 0 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.brand-logo {
    width: 40px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.brand-text .title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
    line-height: 1.1;
    display: block;
}
.brand-text .sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

/* Nav links */
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 1.1rem 0.75rem !important;
    transition: color 0.2s;
    white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
}
.navbar-nav .nav-link i {
    margin-right: 4px;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(26, 62, 143, 0.13);
    padding: 8px 0;
    min-width: 210px;
    animation: fadeDropdown 0.18s ease;
}
@keyframes fadeDropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown-item {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dropdown-item:hover {
    background: #eef4ff;
    color: var(--accent);
}
.dropdown-item i {
    color: var(--accent);
    font-size: 1rem;
}
.dropdown-divider {
    margin: 4px 0;
}

/* Auth buttons */
.btn-nav-register {
    background: var(--accent);
    color: var(--white) !important;
    border-radius: 8px;
    padding: 8px 18px !important;
    font-weight: 700;
    font-size: 0.86rem;
    border: 2px solid var(--accent);
    transition:
        background 0.2s,
        transform 0.15s;
}
.btn-nav-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}
.btn-nav-login {
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 8px;
    padding: 8px 18px !important;
    font-weight: 700;
    font-size: 0.86rem;
    border: 2px solid var(--primary);
    transition:
        background 0.2s,
        transform 0.15s;
}
.btn-nav-login:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hamburger */
.navbar-toggler {
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 5px 9px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232563eb' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile auth buttons — always visible & prominent */
.mobile-auth-bar {
    display: none;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    box-shadow: 0 -2px 12px rgba(26, 62, 143, 0.08);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1049;
}
.mobile-auth-bar .btn {
    flex: 1;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px;
    font-size: 0.95rem;
}
.mobile-auth-bar .btn-register {
    background: var(--accent);
    color: white;
    border: none;
}
.mobile-auth-bar .btn-login {
    background: var(--primary);
    color: white;
    border: none;
}

@media (max-width: 991.98px) {
    .mobile-auth-bar {
        display: flex;
    }
    /* Hide auth buttons in collapsed nav on mobile */
    .nav-auth-desktop {
        display: none;
    }
    body {
        padding-bottom: 72px;
    }

    .navbar-collapse {
        background: white;
        border-radius: 0 0 12px 12px;
        padding: 8px 16px 16px;
        box-shadow: 0 8px 24px rgba(26, 62, 143, 0.1);
    }
    .navbar-nav .nav-link {
        padding: 0.7rem 0.5rem !important;
        border-bottom: 1px solid #f0f4ff;
    }
    .dropdown-menu {
        box-shadow: none;
        background: #f6f9ff;
        border-radius: 8px;
        margin: 4px 0;
    }
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
    background: linear-gradient(
        135deg,
        var(--hero-bg-start) 0%,
        var(--hero-bg-end) 100%
    );
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 1.6rem;
}

.jalur-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 480px;
}

.feature-card {
    background: var(--white);
    border: 2px solid #d0e2ff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--primary);
    cursor: default;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}
.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}
.feature-card i {
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* Hero image */
.hero-img-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}
.hero-illustration {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 12px 32px rgba(26, 62, 143, 0.15));
    animation: floatUp 0.8s ease both;
}
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero left animation */
.hero-content {
    animation: slideRight 0.7s ease both;
}
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 40px 0 0;
        min-height: unset;
    }
    .hero-img-wrap {
        justify-content: center;
        margin-top: 24px;
    }
    .hero-illustration {
        max-width: 280px;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 52px 0 32px;
}

.footer-brand-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: white;
    margin-bottom: 0.3rem;
}
.footer-brand-desc {
    font-size: 0.83rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 1rem;
    margin-right: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.footer-socials a:hover {
    background: var(--accent);
}

.footer-heading {
    font-weight: 700;
    font-size: 0.92rem;
    color: #7eb3ff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}
.footer-links a i {
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.8);
}
.footer-contact-item i {
    color: #7eb3ff;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 32px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ─── MISC ────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .feature-card {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    .footer {
        padding: 40px 0 24px;
    }
}

/* Student Image */
/* Container utama untuk area gambar */
.student-image {
    display: flex;
    justify-content: center; /* Mengetengahkan kedua karakter */
    align-items: flex-end;
    overflow: visible; /* Memastikan gambar tidak terpotong */
    padding-top: 5px;
}

/* Container yang membungkus kedua gambar */
.students {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: flex-end;
    width: 100%; /* Gunakan 100% dari kolom bootstrap */
}

/* Pengaturan masing-masing karakter */
.student {
    position: relative; /* Ubah dari absolute ke relative agar berdampingan */
    width: 250px; /* Sesuaikan ukuran karakter di sini */
    transition: transform 0.3s ease;
    margin: 0 -20px; /* Memberikan efek sedikit bertumpuk jika mau, atau set 0 */
}

.student img {
    width: 100%;
    height: auto;
    display: block;
}

.student-boy {
    z-index: 2;
}

.student-girl {
    z-index: 1;
    /* Jika ingin posisi cewe agak ke belakang/kanan sedikit */
}

.student:hover {
    transform: translateY(-15px);
    z-index: 10; /* Biar saat dihover dia paling depan */
}

/* Responsif untuk layar kecil/HP */
@media (max-width: 768px) {
    .student {
        width: 150px; /* Ukuran lebih kecil di HP */
    }
}
