/* =========================
FILE : materi-style.css
========================= */


/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
BODY + BACKGROUND
Ganti background sendiri
========================= */
body {
    font-family: Arial, sans-serif;
    color: #222;

    /* Background utama */
    background-image: url("background1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =========================
SECTION UTAMA
========================= */
.materi-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px 50px 60px;
    background: transparent;
}


/* =========================
NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}


/* =========================
LOGO AREA
========================= */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box img {
    width: 65px;
    height: auto;
}

.logo-text h3 {
    color: #288fd7;
    font-size: 22px;
    line-height: 1.2;
}


/* =========================
MENU AREA
========================= */
.menu-area {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-active,
.btn-outline {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-outline {
    border: 2px solid #288fd7;
    background: white;
    color: #288fd7;
}

.btn-active {
    background: #288fd7;
    color: white;
    border: 2px solid #288fd7;
}

.btn-icon {
    width: 18px;
    height: 18px;
}


/* =========================
JUDUL HALAMAN
========================= */
.title-section {
    display: flex;
    align-items: center; /* sejajarkan tengah */
    gap: 15px; /* jarak gambar & teks */
    margin-left: 10px;
    margin-bottom: 10px;
}

.title-section h1 {
    font-size: 62px;
    color: #288fd7;
}

.materi1-icon{
    width: 80px;
    margin-bottom: 35px;
}



/* 🔹 CARD PDF */
.card {
    width: 60%;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px; /* lebih tegas */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* 🔹 FOOTER */
footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
}





/* =========================
BUTTON KEMBALI
========================= */
.back-button-section {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-back {
    background: #084671;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
}
.btn-WA {
    background: #ffffff;
    color: black;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
    border: 4;
    border-color: black;
}

.btn-WA:hover {
    background: lightgrey;
    transform: translateY(-2px);
}
.nav-icon {
    width: 18px;
    height: 18px;
}

.btngreen {
    background: #6cc24a;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
}

.back-icon {
    width: 18px;
    height: 18px;
}


/* =========================
HOVER EFFECT
========================= */

.btn-outline:hover {
    background: #288fd7;
    color: white;
    transform: translateY(-2px);
}

.btn-outline:hover .btn-icon {
    filter: brightness(0) invert(1);
}

.btn-active:hover,
.btn-start:hover {
    background: #1f7fc2;
    transform: translateY(-2px);
}

.btn-back:hover {
    background: #063553;
    transform: translateY(-2px);
}

.btngreen:hover {
    background: #5BAE3F;
    transform: translateY(-2px);
}

.materi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(0,0,0,0.18);
}