/* ===== style.css (FINAL - responsive + slideshow + logo) ===== */

/* ===== Base / Reset ===== */

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Regular.woff2') format('woff2'),
       url('/assets/fonts/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Untuk weight lainnya: 300, 500, 600, 700, 800 */

*,
*:before,
*:after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: #0b3d1c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== Global Section Sizing ===== */
section, .section {
  width: 100%;
  padding: clamp(40px, 6vw, 100px) clamp(5%, 8vw, 10%);
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* ===== Navbar ===== */
.custom-navbar {
  background-color: transparent;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  padding: 18px 0;
}
.custom-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px 0;
}

/* ===== Navbar Text ===== */
.navbar .nav-link,
.navbar-brand .logo-text {
  color: #518551 !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* ===== Page Body ===== */
body {
  padding-top: 80px;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.logo-text {
  font-size: 18px;
  margin-left: 8px;
}

/* ===== SLIDESHOW BANNER ===== */
.banner-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 80vh;
  background-color: #f4f8f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.banner-slides .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}
.banner-slides .slide.active {
  opacity: 1;
  z-index: 1;
}
.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 1100px;
}
.tagline-line-1 {
  font-size: clamp(22px, 5vw, 48px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 8px;
  text-wrap: balance;
}
.tagline-line-2 {
  font-size: clamp(14px, 2.1vw, 18px);
  color: #ffffff;
  max-width: 920px;
  margin: 0 auto;
}

/* ===== Banner Responsive ===== */
@media (max-width: 768px) {
  .banner-slider { min-height: 60vh; padding-top: 20px; padding-bottom: 20px; }
  .banner-content { padding-top: 8px; }
}

/* ===== About Section ===== */
.section {
  padding-top: 100px;
  padding-bottom: 80px;
}
.section-heading {
  margin-bottom: 40px;
}
.section-heading h6 {
  color: #2b6041;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #234a34;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* ===== About Layout ===== */
.about-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.left-text-content {
  flex: 1 1 55%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.left-text-content p {
  color: #234a34;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 16px;
}

/* Animasi muncul saat scroll */
.left-text-content {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.left-text-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.left-text-content:hover p {
  color: #2b6041;
  transform: translateY(-3px);
  transition: all 0.4s ease;
}

/* ===== Gambar Kanan ===== */
.right-img {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
  height: 100%;
}
.about-img img,
.extra-image img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.about-img img:hover,
.extra-image img:hover {
  transform: scale(1.02);
}

/* ===== About Responsive ===== */
@media (max-width: 992px) {
  .about-row {
    flex-direction: column;
    align-items: center;
  }
  .left-text-content {
    text-align: justify;
    justify-content: flex-start;
  }
  .right-img {
    align-items: center;
    margin-top: 30px;
    width: 100%;
    height: auto;
  }
  .about-img img,
  .extra-image img {
    max-width: 90%;
    aspect-ratio: auto;
  }
}
@media (max-width: 576px) {
  .section { padding-top: 70px; }
  .section-heading h2 { font-size: 26px; }
  .left-text-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ===== WHY + BENEFIT with Floating Cards ===== */
.why-benefit {
  background-color: #fff;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(80px, 8vw, 120px);
  position: relative;
}
.why-benefit h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #064d2a;
  margin-bottom: 7%;
}

/* Gambar utama benefit */
.benefit-image {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}
.benefit-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Kartu mengapung */
.cards-floating {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% - 37%);
  width: 100%;
  max-width: 960px;
}
.benefit-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  flex: 1 1 240px;
  max-width: 280px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.benefit-card h4 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: #0b3d1c;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: clamp(13px, 1.7vw, 15px);
  color: #234a34;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .cards-floating {
    position: static;
    transform: none;
    margin-top: 20px;
  }
  .benefit-card {
    max-width: 90%;
  }
}

/* Utility kecil */
.italic { font-style: italic; color: #3a5a3c; }

/* ===== Responsive Breakpoints ===== */
@media (max-width: 991.98px) {
  .banner-slider { min-height: 55vh; }
  .about-img img { max-width: 420px; margin: 18px auto 0; display:block; }
  .custom-navbar .logo-text { display: none; }
}
@media (max-width: 768px) {
  .banner-slider { min-height: 50vh; }
  .card-image img { height: 180px; }
  .custom-navbar .navbar-brand img { height: 34px; }
  .custom-navbar .nav-link { padding: 10px 8px; }
}
@media (max-width: 480px) {
  .banner-slider { min-height: 48vh; padding-top: 30px; padding-bottom: 30px; }
  .tagline-line-1 { font-size: clamp(18px, 6.5vw, 26px); }
  .tagline-line-2 { font-size: clamp(12px, 3.5vw, 14px); }
  .about-row { flex-direction: column-reverse; text-align: center; }
  .custom-navbar .navbar-brand img { height: 30px; }
  .custom-navbar .logo-text { display: none; }
}

/* ===== Accessibility Fallback ===== */
.banner-bg, .card-image img, .about-img img {
  background-color: #e9f3ea;
}

/* Small helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ===== PRODUCTS GRID ===== */
.products-section {
  padding: 60px 0;
  text-align: center;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card h4 {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #333;
}

/* ===== Leaf Benefits ===== */
.leaf-benefits-section {
  padding: 60px 0;
  background: #ffffff;
  text-align: center;
}
.leaf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.leaf-benefit-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}
.leaf-benefit-card:hover {
  transform: translateY(-5px);
}
.leaf-benefit-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.leaf-benefit-card h4 {
  margin-top: 15px;
  color: #333;
  font-size: 1.1rem;
}
.leaf-benefit-card p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 8px;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  max-width: 1100px;
  margin: 80px auto;
  padding: 50px 40px;
  background: linear-gradient(135deg, #f4f8f4 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.contact-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0b3d1c;
  margin-bottom: 10px;
}
.contact-header p {
  color: #3e6c4b;
  font-size: 15px;
  margin-bottom: 40px;
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-form {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-map {
  flex: 1 1 48%;
}
.contact-form label {
  font-weight: 600;
  color: #205b38;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.6px solid #c7dccd;
  border-radius: 8px;
  background-color: #fdfdfd;
  font-size: 15px;
  transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0b3d1c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 61, 28, 0.15);
}
.contact-form button {
  background-color: #0b3d1c;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background-color: #14592c;
  transform: translateY(-2px);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }
  .contact-form,
  .contact-map {
    flex: 1 1 100%;
  }
  .contact-map iframe {
    min-height: 300px;
  }
}

/* ===== PRODUCTS SECTION EXTRA ===== */
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-info {
  padding: 15px;
}
.product-info h5 {
  font-size: 18px;
  font-weight: 600;
}
.product-info p {
  font-size: 14px;
  color: #222;
}

/* ===== FOOTER (CLEAN VERSION ) ===== */
.footer-dark {
  padding: 50px 0;
  color: #f0f9ff;
  background-color: #222;
  font-family: 'Poppins', sans-serif;
}

.footer-dark h3 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 16px;
}

.footer-dark ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.footer-dark ul li {
  margin-bottom: 10px;
}

.footer-dark ul a {
  color: #d3d3d3;
  text-decoration: none;
  transition: 0.3s;
}

.footer-dark ul a:hover {
  color: #fff;
}

/* ===== Company Info (Logo handled by HTML) ===== */
.footer-dark .footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-dark .footer-logo img {
  width: 70px;
  height: auto;
  border-radius: 8px;
}

.footer-dark .item.text h3 {
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-dark .item.text p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Social Media ===== */
.footer-dark .item.social {
  text-align: center;
  margin-top: 30px;
}

.footer-dark .item.social > a {
  font-size: 18px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 6px;
  color: #fff;
  background-color: #333;
  transition: all 0.3s ease;
}

.footer-dark .item.social > a:hover {
  background-color: #28a745;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Copyright ===== */
.footer-dark .copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
  margin-top: 20px;
  border-top: 1px solid #444;
}

/* ===== Responsive Footer ===== */
@media (max-width: 768px) {
  .footer-dark .item:not(.social) {
    text-align: center;
    margin-bottom: 25px;
  }
  .footer-dark .footer-logo {
    justify-content: center;
    text-align: center;
  }
  .footer-dark .footer-logo img {
    width: 60px;
  }
  .footer-dark .item.social {
    margin-top: 15px;
  }
}



/* ===== Navbar Scroll Style ===== */
.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.custom-navbar.scrolled {
  background-color: rgba(11, 61, 28, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Navbar Links ===== */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #0b3d1c;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 6px;
  padding: 8px 14px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: #ffffff;
  background-color: rgba(11, 61, 28, 0.9);
  text-decoration: none;
}
.custom-navbar.scrolled .nav-link {
  color: #ffffff;
}
.custom-navbar.scrolled .nav-link:hover {
  color: #0b3d1c;
  background-color: #ffffff;
}

/* ===== Navbar Toggle (Mobile) ===== */
.navbar-toggler {
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
  padding: 6px 8px;
  transition: transform 0.2s ease;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler:hover {
  transform: scale(1.08);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230b3d1c' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.85)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.5em;
  height: 1.5em;
}
.custom-navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.95)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===== Mobile Navbar ===== */
@media (max-width: 992px) {
  .navbar-toggler {
    position: relative;
    z-index: 1050;
    margin-right: 10px;
  }
  .custom-navbar {
    background-color: rgba(255, 255, 255, 0.98);
  }
  .navbar-nav .nav-link {
    color: #0b3d1c;
  }
  .navbar-nav .nav-link:hover {
    background-color: #0b3d1c;
    color: #ffffff;
  }
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s ease;
  }
}

/* ===== PRODUCT PAGE FINAL FIX ===== */
#mainImage {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: opacity 0.3s ease;
}
.thumb img {
  width: 90px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.thumb.active img {
  border-color: #0b3d1c;
  transform: scale(1.05);
}
.thumb img:hover {
  transform: scale(1.05);
  border-color: #3b873e;
}
.slide-btn {
  background: rgba(0, 0, 0, 0.5) !important;
  border: none;
  color: white !important;
  font-size: 22px;
  line-height: 1;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.slide-btn:hover {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* Gallery Grid */
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
@media (max-width: 992px) {
  #mainImage {
    height: 320px;
  }
}
@media (max-width: 576px) {
  #mainImage {
    height: 240px;
  }
}

/* ===== PRODUCT INFO COLORS ===== */
#productTitle {
  color: #0b3d1c !important; /* hijau tua khas website */
}

#productInfo h2 {
  color: #3e6c4b !important; /* hijau lembut untuk subjudul */
}

/* ========================================================= */
/* ===== COLOR SYSTEM UPDATE: GREEN HARMONY THEME (FINAL) ==== */
/* ========================================================= */
/* Palet utama:
   - Hijau tua utama: #0b3d1c
   - Hijau lembut sekunder: #3e6c4b
   - Aksen hover cerah: #2b6041
   - Netral terang: #f4f8f2
*/

/* ===== Link dan Icon Umum ===== */
a {
  color: #0b3d1c;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: #2b6041;
  text-decoration: none;
}
i {
  color: #3e6c4b;
  transition: color 0.3s ease, transform 0.3s ease;
}
i:hover {
  color: #2b6041;
  transform: scale(1.1);
}

/* ===== Tombol Umum (untuk semua button agar seragam) ===== */
button,
.btn {
  background-color: #0b3d1c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}
button:hover,
.btn:hover {
  background-color: #2b6041;
  transform: translateY(-2px);
}
button:active,
.btn:active {
  background-color: #14592c;
  transform: scale(0.98);
}

/* ===== Tombol Outline (jika ada varian btn-outline) ===== */
.btn-outline {
  background-color: transparent;
  color: #0b3d1c;
  border: 2px solid #0b3d1c;
}
.btn-outline:hover {
  background-color: #0b3d1c;
  color: #fff;
}

/* ===== Ikon Sosial (footer atau header) ===== */
/* Dikembalikan ke versi asli agar ikon tetap terlihat jelas */
.footer-dark .item.social > a {
  background-color: inherit;
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}
.footer-dark .item.social > a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Form Input Focus ===== */
input:focus,
textarea:focus,
select:focus {
  border-color: #2b6041 !important;
  box-shadow: 0 0 0 3px rgba(43, 96, 65, 0.2);
}

/* ===== Tombol di Form Kontak ===== */
.contact-form button {
  background-color: #0b3d1c;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background-color: #2b6041;
  transform: translateY(-2px);
}

/* ===== NAVBAR HOVER (warna menyatu & teks putih) ===== */
.navbar-nav .nav-link {
  position: relative;
  color: #0b3d1c;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: #fff;
  background-color: #2b6041;
  box-shadow: 0 3px 6px rgba(43, 96, 65, 0.25);
  transform: translateY(-2px);
}

/* Garis bawah halus saat hover */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  width: 60%;
}

/* ===== Footer Link Hover ===== */
.footer-dark ul a {
  color: #d3d3d3;
}
.footer-dark ul a:hover {
  color: #a8e6a1; /* hijau muda lembut */
}

/* ===== Highlight untuk Judul Produk ===== */
#productTitle {
  color: #0b3d1c !important;
}
#productInfo h2 {
  color: #3e6c4b !important;
}

/* ===== Tambahan Warna Hover Gambar Produk ===== */
.product-card:hover {
  box-shadow: 0 8px 18px rgba(43, 96, 65, 0.25);
}

/* ===== Scrollbar Custom (opsional tapi elegan) ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #2b6041;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #14592c;
}

/* ===== Responsif tambahan (opsional) ===== */
@media (max-width: 768px) {
  .navbar-nav .nav-link {
    padding: 8px 14px;
  }
}

/* ===== SCROLL TO TOP BUTTON (NORMAL COLOR) ===== */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #333;        /* warna netral gelap */
  color: #fff;                   /* panah putih */
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 50px;             /* memastikan panah di tengah vertikal */
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

/* Hover effect — sedikit lebih terang */
#scrollTopBtn:hover {
  background-color: #555;
  transform: scale(1.1);
}

/* Disembunyikan secara default */
#scrollTopBtn.hidden {
  display: none;
}


