body {
  background-color: #f2f2f2; /* abu abu lembut */
}

/* Background Section Home */
#home {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('assets/3.png') fixed; /* ganti sesuai nama file kamu */
  background-size: cover;
  background-position: relative;
  background-repeat: no-repeat;
}


/* Styling teks biar mirip desain Canva */
#home .content-container {
  z-index: 2;
}

#home h4 {
  font-size: 30px;
  font-weight: 700;
}

#home .main-title {
  font-size: 70px;
  font-weight: 900;
  letter-spacing: 2px;
}

#home .sub-title {
  font-size: 40px;
  font-weight: 800;
  margin-top: 10px;
}


/* Biar teks tetap terbaca */
#home::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Navbar transparan + lebih lebar */
.custom-navbar {
  background: rgba(11, 111, 58, 0.5) !important; /* full transparan */
  padding: 20px 0; /* bikin lebih tinggi / lebar */
  backdrop-filter: blur(0px); /* optional: bisa bikin blur*/
  box-shadow: none; /* hilangin bayangan */
  margin-left: 70px;
  margin-right: 70px;
  border-radius: 10px;
  margin-top: 10px;
}

.custom-navbar::after {
  content: "";
  position: fixed;
  bottom: 10px;        /* BIAR ADA SISA NAVBAR DI BAWAH GARIS */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;          /* garis lebih pendek → aesthetic */
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
}

/* Biar link warna tetap putih */
.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: white !important;
  font-weight: 600;
}

/* Hover biar elegan */
.custom-navbar .nav-link:hover {
  color: #dcdcdc !important;
}

/* Justify text in about section */
.about-text {
  text-align: justify;
}

/* custom.css */
section {
  background-color: #e8e8e8;
  border-radius: 15px;
  overflow: hidden;
}

.program-card {
  transition: transform 0.3s;
  background: rgba(0,0,0,0) !important;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0px 0px rgba(0,0,0,0) !important;
}

.btn-donate-up {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(11, 111, 58, 0.5); 
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-donate-up:hover {
  background-color: #00b856;
  color: white;
  border: white 1px solid;
}

/* Tombol DONATE NOW */
.btn-donate {
  background-color: #00d66b;
  color: white; 
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-donate:hover {
  background-color: #00b856;
  color: white;
  border: slategrey 2px solid;
}


/* OUR PARTNER SECTION – Background + Overlay */
.partner-section {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)),
              url('assets/3.png') center/cover no-repeat fixed;
  min-height: 90vh;
  position: relative;
  border-radius: 0px;
}

/* Supaya logo tetap putih & glowing */
.partner-logo {
  max-height: 110px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
  transition: all 0.3s ease;
}
.partner-logo:hover {
  transform: translateY(-10px) scale(1.1)
}

/* Khusus layout 8 + 7 */
.col-lg-1_5 { flex: 0 0 11.5%; max-width: 11.5%; }           /* 8 logo atas */
.offset-lg-0_5 { margin-left: 6%; }                         /* geser baris bawah biar pas tengah */

/* Responsif mobile */
/* ================================================================== */
/*                     RESPONSIVE – SUDAH DIBERSIHKAN                 */
/* ================================================================== */

/* 1. Tablet & Mobile Umum (max-width: 992px) */
@media (max-width: 992px) {
  .col-lg-1_5 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
  .offset-lg-0_5 {
    margin-left: 0 !important;
  }
    .head-text-image {
    width: 100% !important;
    max-width: 200px !important;
    margin-left: 0 !important;
  }
}

/* 2. Tablet Portrait & Landscape kecil (max-width: 768px) */
@media (max-width: 768px) {
  /* Navbar */
  .custom-navbar {
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding: 12px 0 !important;
    margin-top: 8px;
    border-radius: 8px;
  }
  .custom-navbar img {
    width: 140px !important;
  }
  .custom-navbar .nav-link {
    font-size: 14px;
    padding: 8px 12px !important;
  }
  .btn-donate-up {
    font-size: 13px;
    padding: 6px 14px !important;
  }

  /* Home Section – headline */
  #home .content-container img {
    height: auto !important;
    max-height: 320px;
    width: 90%;
  }

  /* About Section */
  .about-section img {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 380px;
    display: block;
    margin: 0 auto 20px auto !important;
  }
  .about-text {
    font-size: 14px;
    text-align: center !important;
    padding: 0 20px;
  }
  .btn-success {
    display: block;
    margin: 20px auto !important;
  }

  /* Section Donasi – judul & card */
  .text-secondary.fs-5,
  h1.fw-bold {
    text-align: center !important;
  }
  /* 4 card jadi 2 kolom di 768px */
  .row-cols-lg-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .program-card img {
    height: 110px !important;
  }
  .card-text {
    font-size: 11.5px !important;
  }
  .btn-donate {
    font-size: 12px;
    padding: 7px 16px !important;
  }

  /* Partner Section – 4 logo per baris */
  .partner-section .row > div {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    margin-bottom: 35px;
  }
  .partner-logo {
    max-height: 80px !important;
  }
  .partner-title {
    font-size: 2.3rem !important;
  }

  /* Hilangkan horizontal scroll */
  .container,
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  body {
    overflow-x: hidden;
  }
}

/* 3. Mobile Kecil (max-width: 576px) */
@media (max-width: 576px) {
  .custom-navbar img {
    width: 120px !important;
  }
  #home .content-container img {
    max-height: 240px;
  }

  /* Program card jadi 1 kolom */
  .row-cols-lg-4 > .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }

  /* Partner jadi 3 per baris */
  .partner-section .row > div {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
  .partner-logo {
    max-height: 70px !important;
  }
  .partner-title {
    font-size: 2rem !important;
  }
}

.workflow-block {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        gap: 20px;
  }

.wf-black {
        padding: 15px 20px;
        background: #000;
        color: #fff;
        min-width: 170px;
        text-align: center;
        border-radius: 12px;
        font-weight: bold;
  }

.arrow {
        font-size: 2rem;
        font-weight: bold;
        color: #0b6f3a;
  }

.wf-items {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
  }

.wf-green {
        padding: 12px 18px;
        background: #0b6f3a;
        color: white;
        border-radius: 12px;
        font-size: 0.95rem;
  }
