/* ============================================== */
/* === 1. KONFIGURASI DASAR & VARIABEL (Awwwards Grade) === */
/* ============================================== */
:root {
    /* Skema Warna Utama */
    --primary-color: #1a5c6d;  /* Deep Teal */
    --secondary-color: #f7931e;  /* Amber */
    --text-dark: #1f2833;/* Heading & Konten Utama (Dipertahankan) */
    --text-muted: #5a6268; /* Teks Sekunder (Dipertahankan) */
    --bg-main: #ffffff; /* Background utama putih bersih (Dipertahankan) */
    --bg-light: #f3f5f8; /* DIUPGRADE: Abu-abu sangat lembut */
    --border-color: #e3e8ee; /* DIUPGRADE: Garis tepi yang sangat halus */
    
    /* Tipografi */
    --font-arabic: 'Noto Kufi Arabic', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Shadows Multi-Layer (Untuk kedalaman yang realistis) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03), 0 0 1px rgba(0, 0, 0, 0.05); /* Upgrade */
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.04); /* Upgrade */
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05); /* Upgrade Maksimal */
    
    /* Radius Konsisten */
    --radius-md: 12px; /* Upgrade */
    --radius-lg: 20px; /* Upgrade */
    --radius-pill: 40px; /* Upgrade */
    
    /* Kurva Transisi Global */
    --transition-curve: cubic-bezier(0.25, 0.8, 0.5, 1); /* New: Kurva Transisi Halus */
}
/* ============================================== */
/* === 4.6. SPESIFIK: HALAMAN REGISTRASI/DAFTAR AKUN === */
/* ============================================== */

.register-form-container {
    max-width: 550px; 
    margin: 80px auto; 
    padding: 50px; 
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); 
    text-align: center;
}

.register-form-container h2 {
    font-size: 2.5rem; 
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 35px; 
    text-align: left;
}

.register-form-container .form-group {
    margin-bottom: 20px; 
}

.register-form-container label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1rem;
}

.register-form-container input[type="text"],
.register-form-container input[type="email"],
.register-form-container input[type="password"] {
    width: 100%;
    padding: 14px 20px; 
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md); 
    transition: all 0.3s var(--transition-curve);
    font-size: 1rem;
    background-color: var(--bg-light); 
}

.register-form-container input:focus {
    border-color: var(--secondary-color); 
    box-shadow: 0 0 0 4px rgba(247, 147, 30, 0.15); 
    background-color: var(--bg-main); 
    outline: none;
}

/* Tombol Daftar Sekarang (btn-register) */
.btn-register {
    display: block;
    width: 100%; 
    padding: 18px 0; 
    margin-top: 35px;
    background-color: var(--primary-color); 
    color: var(--bg-main);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s var(--transition-curve); 
    box-shadow: 0 10px 30px rgba(26, 92, 109, 0.4); 
}

.btn-register:hover {
    background-color: #154a5a;
    transform: translateY(-6px); 
    box-shadow: 0 20px 50px rgba(26, 92, 109, 0.6);
}

/* Teks 'Sudah punya akun? Masuk Sekarang' */
.login-link {
    margin-top: 25px;
    font-size: 1rem;
    color: var(--text-dark);
}

.login-link a {
    color: var(--secondary-color); 
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
/* Pastikan class .login-form-container ADA di CSS Anda */
.login-form-container {
    max-width: 450px;
    margin: 100px auto;
    padding: 40px;
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); 
    text-align: center;
}

/* Styling Judul dan Input di Halaman Login */
.login-form-container h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark); /* Menggunakan text-dark karena judul terlihat gelap */
    margin-bottom: 40px; 
    text-align: left;
}

.login-form-container label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.login-form-container input[type="text"],
.login-form-container input[type="password"] {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--transition-curve);
    font-size: 1rem;
    background-color: var(--bg-light); 
}

/* Styling Tombol Login */
.login-form-container .btn-login {
    width: 100%; /* Tombol penuh */
    padding: 18px 0; 
    margin-top: 30px;
    background-color: var(--primary-color); /* Warna Teal sesuai gambar */
    box-shadow: 0 10px 30px rgba(26, 92, 109, 0.4); 
    /* Mengambil style dari .btn-primary */
    border-radius: var(--radius-pill);
    font-size: 1.2rem;
    font-weight: 700;
}
/* ============================================== */
/* === 4.6. SPESIFIK: HALAMAN REGISTRASI/DAFTAR AKUN === */
/* ============================================== */

/* Kontainer Utama Halaman Registrasi */
.register-form-container {
    /* Menggunakan Max-width yang sedikit lebih besar karena input lebih banyak */
    max-width: 550px; 
    margin: 80px auto; 
    padding: 50px; /* Padding lebih lega */
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    /* Memberikan kedalaman yang sama dengan halaman login */
    box-shadow: var(--shadow-lg); 
    text-align: center;
}

/* Judul Daftar Akun Arab Academy */
.register-form-container h2 {
    font-size: 2.5rem; /* Sedikit lebih kecil dari Login H1, tapi tetap tegas */
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 35px; /* Jarak yang bagus dari formulir */
    text-align: left;
}

/* Grup Formulir */
.register-form-container .form-group {
    margin-bottom: 20px; /* Jarak antar grup input yang rapi */
}

/* Label Formulir */
.register-form-container label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Input Formulir (Nama Lengkap, Username, Email, Password, Konfirmasi) */
.register-form-container input[type="text"],
.register-form-container input[type="email"],
.register-form-container input[type="password"] {
    width: 100%;
    padding: 14px 20px; 
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md); 
    transition: all 0.3s var(--transition-curve);
    font-size: 1rem;
    background-color: var(--bg-light); 
}

.register-form-container input:focus {
    border-color: var(--secondary-color); /* Fokus warna Amber */
    box-shadow: 0 0 0 4px rgba(247, 147, 30, 0.15); 
    background-color: var(--bg-main); 
    outline: none;
}

/* Tombol Daftar Sekarang */
/* Diambil dari styling .btn-primary, tapi menggunakan class unik .btn-register */
.btn-register {
    display: block;
    width: 100%; /* Tombol penuh */
    padding: 18px 0; 
    margin-top: 35px;
    background-color: var(--primary-color); /* Deep Teal */
    color: var(--bg-main);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s var(--transition-curve); 
    /* Shadow Glowing */
    box-shadow: 0 10px 30px rgba(26, 92, 109, 0.4); 
}

.btn-register:hover {
    background-color: #154a5a;
    transform: translateY(-6px); /* Efek angkat super dramatis */
    box-shadow: 0 20px 50px rgba(26, 92, 109, 0.6);
}

/* Teks 'Belum punya akun? Daftar Sekarang' di bawah formulir */
.login-link {
    margin-top: 25px;
    font-size: 1rem;
    color: var(--text-dark);
}

.login-link a {
    color: var(--secondary-color); /* Warna Aksen untuk Link Login */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.login-form-container .btn-login:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(26, 92, 109, 0.6);
}

/* Link Daftar Sekarang */
.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.7; /* Line height lebih nyaman */
    color: var(--text-dark);
    background-color: var(--bg-main);
    padding-top: 90px; /* UPGRADE: Ruang lebih besar */
    transition: background-color 0.4s var(--transition-curve);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* UPGRADE: Padding samping lebih lega */
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.1; /* Lebih rapat dan tegas */
    margin-bottom: 0.6em;
    font-weight: 900; /* UPGRADE: Lebih tebal */
}

/* Pesan Status */
.success-msg, .error-msg {
    padding: 18px; /* UPGRADE: Lebih tebal */
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-weight: 600;
    border: 1px solid;
    box-shadow: var(--shadow-sm);
    opacity: 0.95; /* Sedikit transparan */
}
.success-msg {
    background-color: #d4edda; 
    color: #155724; 
    border-color: #c3e6cb;
}
.error-msg {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* ============================================== */
/* === 2. HEADER & NAVIGASI (FLOATING GLASS ELEGANCE) === */
/* ============================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px; /* UPGRADE: Padding lebih besar */
    background-color: rgba(255, 255, 255, 0.95); /* UPGRADE: Semi-transparan */
    backdrop-filter: blur(8px); /* NEW: Efek Glassmorphism */
    box-shadow: var(--shadow-md); 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100; /* UPGRADE: Z-index tertinggi */
}

.logo a {
    font-size: 2.2rem; /* UPGRADE: Lebih besar */
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-arabic);
}

.nav-links {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin-right: 30px; /* UPGRADE: Margin lebih lega */
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 12px 20px; /* UPGRADE: Padding lebih lega */
    font-weight: 500;
    position: relative;
    transition: color 0.3s var(--transition-curve); /* UPGRADE: Transisi halus */
}

/* Garis bawah animatif yang lebih tebal */
.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; 
    display: block;
    margin-top: 5px;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%);
    background: var(--secondary-color);
    transition: width 0.35s var(--transition-curve); /* UPGRADE: Transisi halus */
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a:hover:after {
    width: 100%;
    background: var(--primary-color);
}

/* Login/Logout Styling */
.welcome-msg {
    margin-right: 25px; /* UPGRADE: Jarak lebih lega */
    font-weight: 700;
    color: var(--primary-color);
}

.btn-login, .btn-logout {
    text-decoration: none;
    padding: 12px 25px; /* UPGRADE: Padding lebih besar */
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.3s var(--transition-curve); /* UPGRADE: Transisi halus */
    color: var(--bg-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* UPGRADE: Shadow elegan */
}
.btn-login {
    background-color: var(--secondary-color);
}
.btn-login:hover {
    background-color: #e67e22;
    transform: translateY(-2px); /* UPGRADE: Efek angkat lebih jelas */
    box-shadow: 0 8px 15px rgba(247, 147, 30, 0.5); /* UPGRADE: Shadow glowing */
}
.btn-logout {
    background-color: #e74c3c; 
}
.btn-logout:hover {
    transform: translateY(-2px);
}

/* ============================================== */
/* === 3. TOMBOL UTAMA (HYPER-GLOW CTA - FIX Z-INDEX) === */
/* ============================================== */
.btn-primary {
    display: inline-block;
    padding: 18px 50px; /* UPGRADE: Ukuran Maksimal */
    background-color: var(--primary-color);
    color: var(--bg-main);
    text-decoration: none;
    border-radius: var(--radius-pill); 
    font-size: 1.2rem; /* UPGRADE: Font lebih besar */
    font-weight: 700;
    margin-top: 35px; /* UPGRADE: Jarak yang optimal */
    transition: all 0.4s var(--transition-curve); /* UPGRADE: Transisi halus */
    border: none;
    cursor: pointer;
    /* Shadow 3D yang dalam dan glowing */
    box-shadow: 0 10px 30px rgba(26, 92, 109, 0.4); 
    
    /* FIX Z-INDEX (Dipertahankan) */
    z-index: 50; 
    position: relative;
}

.btn-primary:hover {
    background-color: #154a5a;
    transform: translateY(-6px); /* UPGRADE: Efek angkat super dramatis */
    /* Bayangan hover (lebih besar dan menyebar) */
    box-shadow: 0 20px 50px rgba(26, 92, 109, 0.6);
}


/* ============================================== */
/* === 4. HERO SECTION & PAGE CONTENT (SPACING & DEPTH) === */
/* ============================================== */
.hero-section {
    background-color: var(--bg-light); 
    padding: 150px 40px; /* UPGRADE: Padding Vertikal Maksimal */
    text-align: center;
    margin-bottom: 70px; /* UPGRADE: Jarak yang jelas */
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); 
}

.small-hero {
    padding: 100px 40px; /* UPGRADE */
    margin-bottom: 50px; /* UPGRADE */
}

.hero-section h1 {
    font-size: 4.8rem; /* UPGRADE: Ukuran super besar */
    color: var(--primary-color);
    font-family: var(--font-arabic);
    letter-spacing: 0.1rem; /* NEW: Spasi huruf Arab */
}

.small-hero h1 {
    font-size: 3.5rem; /* UPGRADE */
}

.hero-section h2 {
    font-size: 2.5rem; /* UPGRADE: Lebih besar */
    margin-top: 15px; /* UPGRADE */
    font-weight: 300; 
    color: var(--text-muted);
}

.hero-section p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 20px auto 0; /* UPGRADE */
    font-size: 1.2rem; /* UPGRADE: Lebih mudah dibaca */
}

.page-content {
    padding: 50px 30px; /* UPGRADE */
    text-align: center;
    z-index: 10;
    position: relative;
}

/* Judul Section "Kenapa Arab-Academy?" (HYPER-SPACING) - Diperbaiki Jarak */
.page-content h2:first-of-type {
    margin-bottom: 90px; /* UPGRADE: Jarak Super Jelas dari kotak di bawahnya */
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================== */
/* === 5. KARTU MODUL (ELEVATED & DYNAMIC) === */
/* ============================================== */

/* 5.1 Kontainer Modul 3 Kolom */
.module-explanation-list {
    gap: 40px; /* UPGRADE: Jarak antar kartu lebih lebar */
    padding: 0 30px;
}

/* 5.2 Style Kartu (explanation-box digunakan sebagai kartu) */
.explanation-box {
    padding: 40px; /* UPGRADE: Padding lebih tebal */
    border-radius: var(--radius-lg); 
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow-sm); 
    transition: all 0.4s var(--transition-curve); /* UPGRADE: Transisi halus */
    min-height: 350px; /* UPGRADE: Lebih tinggi lagi */
}

/* KARTU HOVER MAXIMAL - EFEK LIGHTING DAN TRANSLASI */
.explanation-box:hover {
    transform: translateY(-12px); /* UPGRADE: Efek Angkat Maksimal */
    /* Shadow yang lebih dalam dengan aksen warna */
    box-shadow: 0 20px 45px rgba(26, 92, 109, 0.2), 
                0 5px 10px rgba(0, 0, 0, 0.05); 
    border-color: var(--primary-color); 
}

/* Judul Arab (h3) */
.explanation-box h3 {
    font-family: var(--font-arabic);
    font-size: 2.2rem; /* UPGRADE: Lebih besar */
    color: var(--primary-color); 
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Subjudul (h4) */
.explanation-box h4 {
    font-size: 1.15rem; /* UPGRADE */
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 15px;
}

/* Deskripsi */
.explanation-box p {
    color: var(--text-muted);
    margin-bottom: 25px; /* UPGRADE */
    flex-grow: 1; 
}

/* Tombol CTA Kecil (Glow Aksen) */
.btn-module-cta-small {
    padding: 12px 30px; /* UPGRADE */
    border-radius: var(--radius-pill); 
    font-size: 1rem; /* UPGRADE */
    transition: all 0.4s var(--transition-curve); /* UPGRADE: Transisi halus */
    margin-top: 20px; /* UPGRADE */
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.4); 
}

.btn-module-cta-small:hover {
    background-color: #e67e22; 
    transform: translateY(-3px); /* UPGRADE */
    box-shadow: 0 10px 25px rgba(247, 147, 30, 0.6);
}

/* ============================================== */
/* === 6. SEKSI PENJELASAN (NAHWU/SHOROF) === */
/* ============================================== */
.explanation-section {
    background-color: var(--bg-light);
    padding: 80px 30px; /* UPGRADE */
    margin-top: 80px; /* UPGRADE */
    text-align: center;
}

.explanation-section .explanation-box {
    width: 48%; /* Dipertahankan */
    margin: 1%;
    padding: 40px; /* UPGRADE */
    box-shadow: var(--shadow-sm); 
    transition: box-shadow 0.4s var(--transition-curve); /* UPGRADE */
}
.explanation-section .explanation-box:hover {
    box-shadow: var(--shadow-md); 
    transform: none;
}

.explanation-section .explanation-box h3 {
    color: var(--secondary-color);
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 15px; /* UPGRADE */
    margin-bottom: 25px; /* UPGRADE */
    font-family: var(--font-body); 
    font-size: 1.8rem; /* UPGRADE */
    font-weight: 700;
}

.arabic-example {
    font-size: 1.4rem; /* UPGRADE */
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0; /* UPGRADE */
    text-align: right;
    line-height: 2.2; /* UPGRADE */
}

/* ============================================== */
/* === 7. FORMULIR KONTAK (ULTRA CLEAN & SHARP) === */
/* ============================================== */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 50px; /* UPGRADE: Jarak antar kolom lebih lebar */
    align-items: stretch;
    text-align: left;
}

.contact-form-wrapper {
    flex: 2; 
    background-color: var(--bg-light);
    padding: 50px; /* UPGRADE */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-details-wrapper {
    flex: 1; 
    padding: 50px; /* UPGRADE */
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3, .contact-details-wrapper h3 {
    color: var(--primary-color);
    border-bottom: 5px solid var(--secondary-color); /* UPGRADE: Garis tebal */
    padding-bottom: 20px; /* UPGRADE */
    margin-bottom: 50px; /* UPGRADE */
    font-size: 2.2rem; /* UPGRADE */
    font-weight: 800;
}

/* Styling Formulir */
.main-contact-form .form-group {
    margin-bottom: 30px; /* UPGRADE */
}

.main-contact-form label {
    font-weight: 700;
    margin-bottom: 12px; /* UPGRADE */
    font-size: 1rem; /* UPGRADE */
}

.main-contact-form input[type="text"],
.main-contact-form input[type="email"],
.main-contact-form textarea {
    width: 100%;
    padding: 18px; /* UPGRADE: Padding input yang tebal */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md); /* UPGRADE */
    transition: all 0.3s var(--transition-curve); /* UPGRADE */
    font-size: 1.05rem; /* UPGRADE */
    background-color: var(--bg-main);
}

.main-contact-form input:focus,
.main-contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 6px rgba(247, 147, 30, 0.15); /* UPGRADE: Efek focus glow yang lembut */
    outline: none;
    background-color: #fff;
}

/* Styling Detail Kontak */
.detail-item {
    margin-bottom: 35px; /* UPGRADE */
}
.detail-item h4 {
    font-size: 1.4rem; /* UPGRADE */
    color: var(--primary-color);
    margin-bottom: 5px;
}
.detail-item i {
    font-size: 1.4rem; /* UPGRADE */
    margin-right: 15px; /* UPGRADE */
    color: var(--secondary-color); 
}
.detail-item p {
    color: var(--text-muted);
    margin-left: 35px; /* UPGRADE */
}

.social-links {
    margin-top: 50px; /* UPGRADE */
    border-top: 1px solid var(--border-color);
    padding-top: 30px; /* UPGRADE */
    text-align: center;
}

.social-links a {
    font-size: 2rem; /* UPGRADE */
    margin: 0 15px; /* UPGRADE */
    transition: transform 0.3s var(--transition-curve), color 0.3s var(--transition-curve);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.1); /* UPGRADE: Animasi lebih dinamis */
}

/* ============================================== */
/* === 8. FOOTER & ANIMASI === */
/* ============================================== */
.main-footer {
    background-color: var(--text-dark); 
    color: #e9ecef; /* UPGRADE: Warna teks lebih cerah */
    padding: 50px 0; /* UPGRADE */
    margin-top: 150px; /* UPGRADE */
    font-size: 1rem; /* UPGRADE */
}

.animated-on-scroll {
    opacity: 0;
    transform: translateY(40px); 
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1); /* UPGRADE: Animasi lebih lambat dan halus */
}

/* ============================================== */
/* === 9. RESPONSIVE DESIGN (HYPER-ADAPTIVE) === */
/* ============================================== */
@media (max-width: 992px) {
    /* Tablet */
    .module-explanation-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-container {
        flex-direction: column;
    }

    .contact-form-wrapper, .contact-details-wrapper {
        flex: auto;
        width: 100%;
        padding: 40px;
    }

    .explanation-section .explanation-box {
        width: 96%;
        margin: 10px auto;
    }
}

@media (max-width: 600px) {
    /* Mobile */
    body {
        padding-top: 130px; /* UPGRADE */
    }
    
    .main-header {
        padding: 15px 20px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .main-nav ul {
        margin-right: 0;
        padding-top: 10px;
    }
    .main-nav ul li a {
        padding: 8px 12px;
    }

    .hero-section {
        padding: 70px 20px; /* UPGRADE */
    }
    .hero-section h1 {
        font-size: 3.5rem; /* UPGRADE */
    }
    .small-hero h1 {
        font-size: 2.8rem;
    }

    .page-content h2:first-of-type {
        margin-bottom: 50px; /* UPGRADE */
    }
    
    .module-explanation-list {
        grid-template-columns: 1fr;
    }
    
    .explanation-box {
        min-height: auto;
    }
}