/* GLOBAL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #1f2933;
}

a {
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    backdrop-filter: blur(12px);
    background: linear-gradient(90deg, #1f5138, #2f855a);
}

.navbar .nav-link {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.navbar .nav-link.active {
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #ffc107;
    border-radius: 999px;
}

/* HERO */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16, 68, 47, 0.95), rgba(47, 133, 90, 0.9)),
        url('https://static.photos/nature/1600x900/forest') center/cover no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 55%);
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .badge {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
}

.hero-section .display-4 {
    line-height: 1.1;
}

.hero-highlight-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.7);
}

/* SECTION UTILS */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-title {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #6b7280;
}

.section-heading {
    font-weight: 700;
    font-size: 1.9rem;
}

/* CARDS / ICON CARDS */
.card-soft {
    border-radius: 1.25rem;
    border: none;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 163, 74, 0.08);
    color: #15803d;
}

/* TIMELINE */
.timeline {
    position: relative;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 1.1rem;
    width: 2px;
    background: linear-gradient(to bottom, #4ade80, #15803d);
    opacity: 0.6;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 1.75rem;
}

.timeline-icon {
    position: relative;
    z-index: 1;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #15803d;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(21, 128, 61, 0.4);
}

.timeline-content {
    margin-left: 1.2rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #ffffff;
}

/* PERSYARATAN CARD */
.requirements-card {
    border-radius: 1.25rem;
    border: none;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.requirements-card ul {
    padding-left: 1rem;
}

/* TAHAPAN SELEKSI ACCORDION */
.selection-section {
    background: #f9fafb;
}

.selection-section .accordion-button {
    font-weight: 600;
    background-color: #ffffff;
}

.selection-section .accordion-button:not(.collapsed) {
    background: #e6f4ec;
    color: #14532d;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.selection-section .accordion-body {
    background: #ffffff;
}

.selection-section ul {
    padding-left: 1.2rem;
}

/* FOOTER */
.footer {
    background: #0f172a;
    color: #e5e7eb;
}

.footer a {
    color: #a5b4fc;
}

.footer a:hover {
    color: #e0e7ff;
}

/* FORMS (REGISTER & LOGIN) */
.form-card {
    border-radius: 1.3rem;
    border: none;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 0.15rem rgba(34, 197, 94, 0.25);
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .hero-highlight-card {
        margin-top: 2rem;
    }

    .timeline::before {
        left: 0.9rem;
    }
}
