/* ===================================================
   🌿 BACKGROUND TRANSPARAN UNTUK SEMUA SECTION
   =================================================== */
section,
.hero-section,
.learning-section,
.materi-section {
    background: transparent !important;
}

/* ===================================================
   🌿 STYLE MODERN DENGAN WARNA HIJAU SEGAR
   =================================================== */

/* Card & Result */
.card {
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 100, 80, 0.1);
    background-color: #ffffff;
}

#loading {
    transition: opacity 0.5s ease;
}

#result-section {
    border-left: 5px solid #1db954;
    background: #ffffff;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

#detect-btn,
#reset-btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 25px;
    background: linear-gradient(90deg, #00b36b, #1db954);
    color: #fff;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

#detect-btn:hover,
#reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 179, 107, 0.3);
}

#disease-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #007f5f;
}

footer {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    background-color: #e9f5ee;
}

/* ===================================================
   🌿 GLOBAL & NAVBAR (FIXED)
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f8faf9;
    color: #333;
}

/* ================================
   NAVBAR
================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #006b3c, #38ef7d);
    padding: 15px 30px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* LOGO */
.logo {
    font-size: 1.3rem;
    font-weight: 700;
}

/* LINK NAVIGATION */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffeb7b;
}

/* ================================
   HAMBURGER BUTTON
================================ */
.menu-toggle {
    width: 32px;
    height: 26px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2500;
}

.menu-toggle span {
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 4px;
    transition: 0.35s ease;
}

/* EFFECT: berubah menjadi X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ================================
   RESPONSIVE SIDEBAR MENU
================================ */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -260px;
        top: 0;
        height: 100vh;
        width: 210px;
        flex-direction: column;
        padding: 80px 25px;
        background: #006b3c;
        gap: 20px;
        transition: 0.35s ease;
        opacity: 0;
    }

    .nav-links.show {
        right: 0;
        opacity: 1;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }

    /* OVERLAY BACKGROUND */
    body.menu-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.35);
        z-index: 1500;
    }
}


/* ===================================================
   🌿 HERO SECTION
   =================================================== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 100px;
    flex-wrap: wrap;
    gap: 40px;
    background: linear-gradient(120deg, #e8fdf1, #f9fff9);
}

.hero-text {
    flex: 1;
    min-width: 350px;
}

.hero-text h1 {
    font-size: 3rem;
    color: #006b3c;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #009e60, #32cd89);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #00b36b, #00e676);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    min-width: 350px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 128, 0, 0.15));
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 24px;
    }
}

/* ===================================================
   🌿 LEARNING SECTION
   =================================================== */
.learning-section {
    padding: 80px 100px;
    background: #f0fdf4;
    text-align: center;
}

.learning-section h2 {
    font-size: 2.4rem;
    color: #006b3c;
    font-weight: 700;
    margin-bottom: 50px;
}

.learning-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.learning-card {
    width: 80%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 45px;
    box-shadow: 0 5px 15px rgba(0, 128, 0, 0.1);
    border-top: 6px solid #00b36b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.learning-card h3 {
    font-size: 1.5rem;
    color: #007a4d;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.learning-card p,
.learning-card ol li {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.08em;
}

.learning-card img {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 15px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 128, 0, 0.1);
}

.learning-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 179, 107, 0.25);
    border-top: 6px solid #00e676;
}

/* ===================================================
   📱 RESPONSIVE FIX: HALAMAN PEMBELAJARAN
   =================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .learning-section {
    padding: 60px 60px;
  }

  .learning-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .learning-card {
    width: 90%;
    padding: 25px 35px;
  }

  .learning-card h3 {
    font-size: 1.4rem;
  }

  .learning-card p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .learning-card img {
    max-width: 90%;
  }
}

/* HP (max-width: 768px) */
@media (max-width: 768px) {
  .learning-section {
    padding: 40px 20px;
    text-align: left;
  }

  .learning-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
  }

  .learning-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .learning-card {
    width: 100%;
    padding: 20px 20px;
    border-radius: 12px;
  }

  .learning-card h3 {
    font-size: 1.25rem;
    text-align: center;
  }

  .learning-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .learning-card ol {
    margin-left: 1rem;
  }


  .learning-card img {
    max-width: 100%;
    border-radius: 10px;
  }
}

/* HP kecil (max-width: 480px) */
@media (max-width: 480px) {
  .learning-section {
    padding: 30px 15px;
  }

  .learning-section h2 {
    font-size: 1.6rem;
  }

  .learning-card {
    padding: 18px 15px;
    box-shadow: 0 3px 8px rgba(0, 128, 0, 0.15);
  }

  .learning-card h3 {
    font-size: 1.15rem;
  }

  .learning-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .learning-card img {
    max-width: 100%;
    margin-top: 10px;
  }
}


/* 🌿 ==== GAYA GAMBAR PADA HALAMAN MATERI ==== */

/* Wadah utama gambar */
.gambar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  position: relative;
}

/* Tampilan umum gambar */
.gambar-materi {
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  background-color: #fff;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Jika hanya satu gambar */
.gambar-materi.single {
  width: 70%;
  max-width: 650px;
  border: 3px solid #f3f3f3;
}

/* Jika gambar lebih dari satu */
.gambar-materi.multiple {
  width: 40%;
  max-width: 300px;
  border: 2px solid #f5f5f5;
}

/* Efek hover */
.gambar-materi:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Efek klik */
.gambar-materi:active {
  transform: scale(0.97);
}

/* Gaya untuk teks isi materi */
.materi-content p {
  line-height: 1.7;
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* Heading dalam konten materi */
.materi-content h3,
.materi-content h4 {
  color: #005a5a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Area materi */
.materi-content {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.5s ease;
}

/* Animasi muncul halus */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsif di HP */
@media (max-width: 768px) {
  .gambar-materi.single,
  .gambar-materi.multiple {
    width: 100%;
    max-width: 100%;
  }

  .gambar-container {
    gap: 10px;
  }
}


.gambar-materi.single {
  width: 55%;
  max-width: 500px;
}
@media (max-width: 768px) {
  .gambar-materi.single,
  .gambar-materi.multiple {
    width: 100%;
    max-width: 100%;
  }
}











/* ===================================================
   🌿 MATERI SECTION
   =================================================== */
.materi-section {
    padding: 80px 100px;
    background: linear-gradient(180deg, #f8fff9, #e6f9ee);
    text-align: center;
}
.isi-paragraf {
  text-indent: 2em;        /* menjorok ke dalam */
  margin-bottom: .5em;      /* jarak antar paragraf */
  text-align: justify;     /* teks rata kiri kanan */
  line-height: 1.7;        /* spasi antarbaris */
  margin-left: 1em; 
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .isi-paragraf {
    text-indent: 1.5em;
    font-size: 0.95rem;
    line-height: 1.6;
  }
}


.materi-section h2 {
    font-size: 2.4rem;
    color: #006b3c;
    font-weight: 700;
    margin-bottom: 50px;
}

.materi-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.materi-card {
    flex: 1 1 calc(50% - 30px);
    min-width: 300px;
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 25px 50px 25px;
    box-shadow: 0 5px 15px rgba(0, 128, 0, 0.1);
    border-top: 6px solid #00b36b;
    position: relative;
    transition: all 0.4s ease;
}

.materi-card h3 {
    font-size: 1.5rem;
    color: #007a4d;
    margin-bottom: 15px;
    font-weight: 700;
}

.materi-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

.btn-learn {
    display: inline-block;
    background: linear-gradient(90deg, #009e60, #32cd89);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 128, 0, 0.15);
}

.btn-learn:hover {
    background: linear-gradient(90deg, #00b36b, #00e676);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 179, 107, 0.3);
}

.materi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 179, 107, 0.25);
    border-top: 6px solid #00e676;
}

@media (max-width: 900px) {
    .materi-container {
        flex-direction: column;
        align-items: center;
    }

    .materi-card {
        width: 100%;
        max-width: 500px;
        flex: 1 1 100%;
    }
}

/* ===================================================
   🌿 MATERI DETAIL
   =================================================== */
.materi-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 25px;
    padding: 50px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.1);
    border-left: 6px solid #00b36b;
    animation: fadeIn 0.6s ease-in-out;
}

.materi-img {
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 128, 0, 0.15);
    margin-bottom: 15px;
}

.submateri {
    width: 100%;
    max-width: 800px;
    background: #f8fff9;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 128, 0, 0.08);
    text-align: justify;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.submateri:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 179, 107, 0.2);
}

.submateri h4 {
    color: #007a4d;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.submateri p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.submateri-img {
    display: block;
    max-width: 500px;
    width: 100%;
    margin: 15px auto;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 128, 0, 0.15);
    transition: transform 0.3s ease;
}

.btn-back {
    background: linear-gradient(90deg, #009e60, #32cd89);
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    margin-top: 25px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 128, 0, 0.2);
}

.btn-back:hover {
    background: linear-gradient(90deg, #00b36b, #00e676);
    transform: translateY(-2px);
}

/* ===================================================
   ⚙️ MEKANISME LIST
   =================================================== */
.mekanisme-list-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #e6f9ee;
    border-radius: 12px;
    border: 1px solid #c8e6c9;
    box-shadow: 0 2px 4px rgba(0, 107, 60, 0.05);
}

.mekanisme-list-container h5 {
    font-size: 1.05rem;
    color: #006b3c;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 2px solid #a5d6a7;
    padding-bottom: 5px;
}

.mekanisme-ol {
    padding-left: 20px;
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

/* ===================================================
   🔗 REFERENSI GOOGLE SCHOLAR
   =================================================== */
.referensi-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0fdf4;
    border-left: 5px solid #007a4d;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.referensi-container h4 {
    color: #006b3c;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.referensi-container p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.scholar-link {
    display: inline-block;
    color: #1a0dab;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
}

.scholar-link:hover {
    color: #007a4d;
}

.referensi-container ul {
    list-style: none;
    padding-left: 0;
}

.referensi-container ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.referensi-container ul li::before {
    content: "🔗";
    position: absolute;
    left: 0;
    color: #006b3c;
    font-size: 1.1rem;
}
/* ======================= */
/* Video YouTube */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================================
   📱 RESPONSIVE FIX UNTUK HALAMAN MATERI
   =================================================== */

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
  .materi-section {
    padding: 60px 60px;
  }

  .materi-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
  }

  .materi-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .materi-card {
    flex: 1 1 45%;
    max-width: 45%;
    padding: 25px 30px;
    box-sizing: border-box;
  }

  .materi-card h3 {
    font-size: 1.3rem;
  }

  .materi-card p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* HP (<=768px) */
@media (max-width: 768px) {
  .materi-section {
    padding: 40px 20px;
  }

  .materi-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .materi-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .materi-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    text-align: left;
    border-radius: 12px;
  }

  .materi-card h3 {
    font-size: 1.25rem;
    text-align: center;
  }

  .materi-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .btn-learn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 0.95rem;
  }

  /* Detail materi */
  .materi-detail {
    padding: 30px 20px;
  }

  .materi-img,
  .submateri-img {
    max-width: 100%;
    height: auto;
  }

  .submateri {
    padding: 15px;
    font-size: 0.95rem;
  }

  .submateri h4 {
    font-size: 1.05rem;
  }

  .referensi-container {
    padding: 15px;
  }

  .referensi-container h4 {
    font-size: 1.1rem;
  }

  .referensi-container p,
  .referensi-container ul li {
    font-size: 0.9rem;
  }
}

/* HP kecil (<=480px) */
@media (max-width: 480px) {
  .materi-section {
    padding: 30px 15px;
  }

  .materi-section h2 {
    font-size: 1.6rem;
  }

  .materi-card {
    padding: 18px 15px;
    box-shadow: 0 3px 8px rgba(0, 128, 0, 0.15);
  }

  .materi-card h3 {
    font-size: 1.15rem;
  }

  .materi-card p {
    font-size: 0.9rem;
  }

  .btn-learn {
    padding: 10px;
    font-size: 0.9rem;
  }

  .materi-img,
  .submateri-img {
    max-width: 100%;
    border-radius: 10px;
  }

  .submateri {
    padding: 12px;
  }

  .submateri h4 {
    font-size: 1rem;
  }

  .submateri p {
    font-size: 0.9rem;
  }

  .referensi-container {
    padding: 12px;
  }
}









/* ===================================================
   ✨ ANIMASI & KUIS
   =================================================== */
.animate-fade {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f0fff4 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.quiz-container {
    max-width: 750px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 128, 64, 0.15);
    padding: 50px 40px;
    text-align: center;
    animation: fadeIn 0.6s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quiz-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 179, 107, 0.25);
}

.quiz-container h2 {
    color: #007a4d;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.quiz-container p {
    color: #444;
    font-size: 1.15rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Tombol Kuis */
.btn-quiz {
    display: inline-block;
    background: linear-gradient(90deg, #00b36b, #1db954);
    color: #fff;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 179, 107, 0.25);
}

.btn-quiz:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #00e676, #00b36b);
    box-shadow: 0 8px 18px rgba(0, 179, 107, 0.35);
}

/* Panduan */
.quiz-info {
    margin-top: 45px;
    text-align: left;
    background: #f5fff9;
    padding: 25px 30px;
    border-left: 6px solid #00b36b;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 128, 0, 0.05);
}

.quiz-info h3 {
    color: #007a4d;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.quiz-info ul {
    padding-left: 20px;
    list-style: disc;
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===================================================
   📱 RESPONSIVE DESIGN
   =================================================== */
@media (max-width: 992px) {
    .quiz-container {
        max-width: 600px;
        padding: 40px 30px;
    }

    .quiz-container h2 {
        font-size: 1.9rem;
    }

    .quiz-container p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 35px 25px;
        border-radius: 18px;
    }

    .quiz-container h2 {
        font-size: 1.7rem;
    }

    .quiz-container p {
        font-size: 1rem;
    }

    .btn-quiz {
        font-size: 1rem;
        padding: 12px 28px;
    }

    .quiz-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .quiz-section {
        padding: 60px 10px;
    }

    .quiz-container {
        padding: 25px 18px;
        box-shadow: 0 4px 15px rgba(0, 128, 64, 0.15);
    }

    .quiz-container h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .quiz-container p {
        font-size: 0.95rem;
    }

    .btn-quiz {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    .quiz-info {
        padding: 18px;
        font-size: 0.9rem;
    }

    .quiz-info h3 {
        font-size: 1.1rem;
    }

    .quiz-info ul {
        line-height: 1.6;
    }
}


/* Contoh Gambar yang Diterima */
.example{
    margin-left: 1rem;
}
.example-img {
    max-width: 200px;   
    height: auto;      
    border-radius: 12px; 
    border: 2.5px dashed #2d5236;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    transition: transform 0.3s; 
    margin-left: 1rem;

}

.example-img:hover {
    transform: scale(1.05); /* Efek zoom saat hover */
}

/* Container contoh gambar supaya rata tengah */
.example-box {
    display: inline-block;
    text-align: center;
}




/* Container Section */
.profile-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
  font-family: 'Arial', sans-serif;
  padding: 40px 20px;
}

.profile-section .container {
  max-width: 1200px;
  width: 100%;
}

.profile-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* ==========================
   PROFIL SECTION - GREEN GLOW
   ========================== */

/* Teks Profil */
.profile-text {
  flex: 1;
  max-width: 600px;
}

.profile-text .welcome {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #555;
  margin-bottom: 10px;
}

.profile-text h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #111;
}

.profile-text .name {
  color: #2ecc71; /* hijau lembut */
}

.profile-text h2 {
  font-size: 1.5rem;
  color: #333;
  margin: 5px 0 15px 0;
}

.profile-text .description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

/* Social Links */
.social-links a {
  display: inline-block;
  margin-right: 15px;
  padding: 10px 18px;
  background-color: #fff;
  color: #111;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  font-weight: 500;
}

.social-links a i {
  margin-right: 8px;
  color: #2ecc71;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(46, 204, 113, 0.4);
  background-color: #2ecc71;
  color: #fff;
}

.social-links a:hover i {
  color: #fff;
}

/* Foto Profil dengan efek green glow */
.profile-image {
  position: relative;
  flex: 1;
  max-width: 280px;
  text-align: center;
}

/* Latar belakang hijau bercahaya */
.profile-image::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 30px;
  background: radial-gradient(circle at center,
    rgba(46, 204, 113, 0.4) 0%,
    rgba(0, 200, 83, 0.25) 40%,
    transparent 80%);
  filter: blur(45px);
  z-index: -1;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Saat hover, glow makin kuat */
.profile-image:hover::before {
  opacity: 1;
  filter: blur(60px);
}

/* Gambar profil */
.profile-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 15px;
  box-shadow:
    0 12px 28px rgba(0,0,0,0.3),
    0 0 45px rgba(46,204,113,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efek hover */
.profile-image img:hover {
  transform: scale(1.04);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.35),
    0 0 70px rgba(46,204,113,0.45);
}

/* Responsif */
@media (max-width: 900px) {
  .profile-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .profile-text h1 {
    font-size: 2rem;
  }

  .profile-text h2 {
    font-size: 1.2rem;
  }
}
