* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* HEADER */
.about-header {
    background: #e0e0e0;
    text-align: center;
    padding: 100px 20px;
}

/* Judul = hero-title */
.about-header h1 {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Subjudul = hero-subtitle */
.about-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #333;
}

/* Navbar */
.navbar-custom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 40px !important;
    border: 1px solid #ddd !important;
    border-radius: 50px !important;
    margin: 20px auto !important;
    width: 90% !important;
    background-color: white !important;
    height: 72px !important;
}

/* Logo */
.brand-img {
    height: 45px !important;
    width: auto !important;
}

/* Nav Links */
.nav-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px !important;
    list-style: none !important;
    height: 100% !important;
    transform: translateY(2px) !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.nav-links li a {
    text-decoration: none !important;
    color: #333 !important;
    font-size: 17px !important;
    font-weight: 700 !important; /* ganti 600 jadi 700 */
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    transition: 0.3s ease !important;
}


.nav-links li a:hover {
    color: #8b0000 !important;
    transform: translateY(-2px) !important;
}

/* Nav Auth */
.nav-auth {
    display: flex !important;
    align-items: center !important;
}

.btn-nav {
    border-radius: 20px !important;
    border: 1px solid #333 !important;
    background: #fff !important;
    padding: 6px 16px !important;
    margin-left: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    color: #333 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: 0.3s !important;
}

.btn-nav:hover {
    background: #333 !important;
    color: #fff !important;
}

.about-header {
    background-image: url("LearningMBG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.img-box {
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

#learning-materials h4 {
    font-weight: 600;
}

.carousel img {
    height: 380px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 10px;
    padding: 10px;
}

audio {
    margin-top: 15px;
}

/* Menambahkan jarak antara teks deskripsi dan kartu di bawahnya */
.learning-section p {
    margin-bottom: 40px !important; /* Ubah angka ini sesuai keinginan (makin besar makin jauh) */
}

.interactive-media {
    margin-top: 60px !important; /* jarak dari section sebelumnya */
}

.interactive-media {
    padding-top: 50px;
}

.section-title {
    margin-bottom: 0.5rem !important; /* mengoverride mb-3 Bootstrap */
}

/* Kurangi jarak antara judul section dan kolom konten */
#learning-materials h4 {
    margin-bottom: 0.5rem; /* default mb-3 = 1rem, sekarang lebih rapat */
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 10%;
    border-top: 1px solid #eee;
    background: #fff;
}

.footer-brand {
    width: 35%;
}

.footer-brand p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.link-column h5 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: bold;
}

.link-column a {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: 0.2s;
}

.link-column a:hover {
    text-decoration: underline;
    color: #000;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}