:root {
    --green-soft: #ACE69E;   /* Hijau pastel muda */
    --green-base: #89C27B;   /* Hijau pastel utama */
    --green-dark: #5F9A54;   /* Hijau gelap untuk shadow */
}


.navbar-custom {
    background-color: var(--green-base) !important;
    box-shadow: 0 4px 12px rgba(95,154,84,0.15);
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

/* Efek hover untuk card */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

/* Saat dihover, card akan pop up */
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Supaya gambar di dalam card juga ikut smooth */
.card img {
    transition: transform 0.3s ease;
}

/* Gambar sedikit zoom saat hover */
.card:hover img {
    transform: scale(1.05);
}

.about-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

/* 🔹 Hover effect: warna hijau gelap + teks putih */
.about-card:hover {
    background-color: #1b4332; /* dark green */
    color: #fff;
    transform: scale(1.02);
}

/* 🔹 Ubah warna teks di hover */
.about-card:hover h4 {
    color: #d8f3dc; /* soft green */
}

.about-card:hover p {
    color: #f1f1f1;
}

.navbar-custom .nav-link:hover {
    color: #f4fff2 !important;
    text-shadow: 0px 0px 6px rgba(255,255,255,0.3);
}

/* 🌿 Footer dibuat lebih soft (bukan hitam banget) */
footer.bg-dark {
    background-color: var(--green-dark) !important;
    box-shadow: 0 -4px 12px rgba(95,154,84,0.15);
}

/* 🌿 Card styling versi TBCare pastel */
.belajar-card {
    background: #ffffff;
    border: 1px solid rgba(95,154,84,0.15);
    box-shadow: 0 4px 12px rgba(95,154,84,0.12);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.belajar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(95,154,84,0.22);
}

/* 🌿 Shadow halus hijau di komponen besar */
.section-container {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(95,154,84,0.12);
}

/* 🌿 Display title style */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 25px;
}

/* 🌿 Tombol collapse untuk "Mitos vs Fakta" */
.btn-mitos {
    background-color: var(--green-base);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 10px 16px;
    transition: 0.3s;
}

.btn-mitos:hover {
    background-color: var(--green-dark);
    box-shadow: 0 4px 12px rgba(95,154,84,0.22);
}

/* Info container (dark green rounded) */
.info-container {
  background: linear-gradient(180deg, var(--green-dark), rgba(45,120,80,0.95));
  color: #fff;
  border-radius: 16px;
  padding: 24px;
}

/* slightly transparent white for descriptive text */
.text-white-80 { color: rgba(255,255,255,0.92); }

/* small image wrapper */
.img-wrap img { max-height: 220px; object-fit: cover; }

/* scrollable mini-cards for gejala (if you later add) */
.scroll-card-container {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 6px;
}

/* mini card used in gejala section */
.mini-card {
  min-width: 200px;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  background:#fff;
  border: 1px solid rgba(95,154,84,0.08);
  box-shadow: 0 6px 18px rgba(95,154,84,0.08);
}

/* prevention / treatment small cards */
.prevent-card {
  width: 150px;
  background: #fff;
  border: 1px solid rgba(95,154,84,0.06);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.prevent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(95,154,84,0.14);
}

/* belajar-card reuse (consistent look used earlier) */
.belajar-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(95,154,84,0.06);
  box-shadow: 0 6px 18px rgba(95,154,84,0.06);
}

/* Chatbot floating button */
.chatbot-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--green-base);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 22px;
  box-shadow: 0 8px 22px rgba(95,154,84,0.18);
  z-index: 1100;
}

/* small utilities */
.text-muted { color: rgba(0,0,0,0.6) !important; }


#map {
    border: 2px solid #ace69e;
}
.list-group-item:hover {
    background: #f5fff3;
}
.btn-outline-success {
    border-color: #89C27B;
}
.btn-outline-success:hover {
    background: #89C27B;
    color: white;
}

/* Auth Container Styling */
.auth-container {
    width: 420px;
    background: #ffffff;
    border: 2px solid #89C27B;
    border-radius: 18px;
}

.toggle-btn {
    width: 50%;
    padding: 10px;
    border: none;
    background: #f5ffef;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-btn.active {
    border-bottom: 3px solid #89C27B;
    color: #1b4332;
}

.toggle-btn:hover {
    background: #e9ffe3;
}

.form-control {
    border: 1.5px solid #89C27B;
}

.form-control:focus {
    border-color: #1b4332;
    box-shadow: 0 0 6px rgba(137, 194, 123, 0.4);
}

.switch-link {
    cursor: pointer;
    font-weight: 600;
}
.switch-link:hover {
    text-decoration: underline;
}

