/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
}

/* ================= HEADER ================= */
.header {
    background-color: #3b1dc1;
    color: white;
    padding: 30px 0;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= JUDUL ================= */
h1 {
    margin-bottom: 6px;
}

h2 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #1e3a8a;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #c7d2fe;
    margin-top: 6px;
    border-radius: 2px;
}

/* ================= SUBTITLE ================= */
.subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 10px;
}

/* ================= BADGE ================= */
.meeting-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.4px;
}

/* ================= SECTION (GLOBAL) ================= */
section {
    background-color: white;
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ================= SECTION TYPE ================= */
.section-materi {
    border-left: 5px solid #2563eb;
}

.section-modul {
    border-left: 5px solid #16a34a;
}

.section-test {
    border-left: 5px solid #f59e0b;
}

/* ================= LIST ================= */
section ul {
    margin-top: 10px;
    padding-left: 18px;
}

section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ================= MODUL CARD ================= */
.modul-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modul-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.modul-card h3 {
    margin-bottom: 6px;
    color: #1e3a8a;
}

/* ================= BUTTON ================= */
button,
.btn {
    display: inline-block;
    padding: 8px 14px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover,
.btn:hover {
    background-color: #163172;
}

/* ================= TEXTAREA ================= */
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 14px;
}

.section-test small {
    display: block;
    margin-top: 8px;
    color: #666;
}

/* ================= DAFTAR PERTEMUAN (INDEX) ================= */
.pertemuan-list {
    list-style: none;
    margin-top: 15px;
}

.pertemuan-list li {
    margin-bottom: 12px;
}

.pertemuan-list a {
    display: block;
    padding: 14px 16px;
    background-color: white;
    text-decoration: none;
    color: #1e3a8a;
    border-radius: 8px;
    border: 1px solid transparent;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.pertemuan-list a:hover {
    background-color: #eef2ff;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-color: #c7d2fe;
}

.pertemuan-list a:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ================= FOOTER ================= */
footer {
    margin-top: 30px;
    padding: 15px 0;
    background-color: #1e3a8a;
    color: white;
    text-align: center;
}

/* ================= ANIMASI MASUK ================= */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 18px;
    }
}
/* ================= HERO HEADER ================= */
.hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 50px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* TEXT AREA */
.hero-text h1 {
    font-size: 36px;
    margin: 10px 0;
}

.subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 12px;
}

.dosen {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* BADGE */
.badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* ================= PROFIL CARD ================= */
.profil-card {
    background-color: white;
    color: #1e3a8a;
    padding: 14px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.profil-card strong {
    display: block;
    font-size: 14px;
}

.profil-card span {
    font-size: 12px;
    color: #555;
}

/* AVATAR */
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .profil-card {
        align-self: flex-end;
    }

    .hero-text h1 {
        font-size: 28px;
    }
}