@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");
body {
    font-family: "Poppins", sans-serif;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.stripe {
    height: 5px;
    width: 40px;
    background-color: #d87300;
    margin-right: 5px;
}

.sub-judul {
    color: #d87300;
    font-size: 28px;
}
/* Custom CSS for Fasilitas Cards */
.fasilitas-card {
    border: 3px solid #d87300; /* Orange border color around the entire card */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Default shadow */
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer; /* Make the card clickable */
}

.fasilitas-card:hover {
    box-shadow: 0 6px 12px rgba(216, 115, 0, 0.5); /* Orange shadow on hover */
    transform: translateY(-5px); /* Add lift effect on hover */
    border-color: #d87300; /* Ensure the border stays orange on hover */
}

/* Change text color of the description on click */
.fasilitas-card.clicked .card-text {
    color: #d87300; /* Change the text color to orange when clicked */
}

.fasilitas-card img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.card-body {
    padding: 20px;
    transition: background-color 0.3s ease;
}

/* Change background color on hover */
.fasilitas-card:hover .card-body {
    background-color: rgba(216, 115, 0, 0.1); /* Light orange background on hover */
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 1rem;
    color: #555;
    text-align: justify;
    transition: color 0.3s ease; /* Add smooth color transition */
}

/* Make the section title stand out */
#fasilitas .sub-judul {
    font-size: 2rem;
    color: #333;
    text-align: center;
}

/* Adjust margins for small screens */
@media (max-width: 768px) {
    .fasilitas-card {
        margin-bottom: 30px;
    }
}

/* button */
.btn-success {
    background-color: #d87300;
    border-radius: 20px;
    border-color: rgb(207, 119, 4);
    padding: 8px 25px;
    color: white;
}

.btn-custom {
    background-color: #d87300;
    border-color: #d87300;
    color: white;
}

.btn-custom:hover {
    background-color: #b46200;
    border-color: #b46200;
}

.btn-success:hover {
    background-color: #d87300;
    border-color: #d87300;
}
.btn-danger {
    background-color: #ca0000;
    border-radius: 20px;
    border-color: #b60000;
    padding: 8px 25px;
    color: white;
}

.btn-danger:hover {
    background-color: #ca0000;
    border-color: #b60000;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    border-radius: 20px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-outline-success {
    color: #ffb52a;
    border-color: #ffb52a;
    border-radius: 20px;
}

.btn-outline-success:hover {
    background-color: #ffb52a;
    color: #fff;
}

.btn-success {
    --bs-btn-active-bg: #ffc107; 
    --bs-btn-active-border-color: #e0a800; 
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2); 
}

.btn-success {
    --bs-btn-hover-bg: #ffcc00;
    --bs-btn-hover-border-color: #ffb300;
}

/* Navbar */
.nav-item .nav-link {
    font-size: 16px;
    padding: 8px 10px;
}

.active-orange {
  font-weight: bold;
  color: #d87300 !important;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.dropdown-menu {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    min-width: 200px;
}

.dropdown-item {
    color: #000;
    padding: 10px 15px;
}

.dropdown-item:hover {
    background-color: #d87300;
    color: #fff;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 90px;
}

/* Border Section */
#border {
    padding: 30px 15px;
    background-color: #f9f9f9;
}

.border-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.border-item:hover {
    background-color: #fffeed;
    /* border-color: #ebf396; */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.border-item img {
    height: 80px;
    margin-bottom: 15px;
}

.border-item h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Sejarah */
.fixed-image {
    width: 100%;
    max-width: 500px; 
    height: 300px;    
    object-fit: cover;
    border-radius: 10px;
}

table img {
    border-radius: 5px;
    object-fit: cover;
    height: 70px;
    width: 100px;
}


/* Ajukan Donasi */
#ajukandonasi {
    padding: 50px 15px;
    background-color: #fff;
}

.img-banner {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

/* Program Donasi */
#program .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

#program .card:hover {
    transform: translateY(-5px);
}

.img-container {
    width: 100%;
    height: 400px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    padding: 6%;
}

.img-donasi {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Galeri */
.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3; /* atau ganti jadi 1 / 1 kalau mau kotak */
    overflow: hidden;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.galeri-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-item {
        width: 70%;
        height: 180px;
    }
}

/* Custom CSS for Poster */
.poster-card {
    max-width: 500px;  /* Set max width for the card */
    margin: 0 auto;  /* Center the card */
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.poster-card img {
    width: 100%;
    object-fit: contain;
}

/* Adjusting margins for navbar visibility */
.donasi-section {
    margin-top: 120px; /* Ensure space for navbar */
}

/* Card Styling for Donation Programs */
.card {
    border-radius: 15px;
    padding: 20px;
    background-color: #ffffff;
    border: none;
}

.btn-outline-secondary {
    border-radius: 20px;
}

/* Footer */
#footer {
    background-color: #e3e3e3;
    padding: 30px 15px;
}

#footer h5 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

#footer p {
    font-size: 14px;
    color: #555;
}

#footer a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

#footer a:hover {
    color: #004803;
}

/* Responsivitas */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }

    .img-banner {
        max-width: 100%;
    }

    .img-donasi {
        height: 250px;
    }

    .galeri-img {
        height: 180px;
    }

    #hero {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 300px;
        margin-top: 60px;
    }

    #border .row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .border-item {
        padding: 15px;
    }

    .border-item img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .nav-item .nav-link {
        font-size: 14px;
    }

    .btn-success {
        font-size: 14px;
        padding: 8px 20px;
    }

    .btn-danger {
        font-size: 14px;
        padding: 8px 20px;
    }

    .gallery-item {
        padding: 8px;
    }

    .galeri-img {
        height: 150px;
    }

    .img-container {
        padding: 2%;
        height: auto;
    }

    .img-donasi {
        height: auto;
        max-height: 250px;
    }
    /* CSS untuk Logo Bank */
.logo-bank {
    width: 60px;             /* Tentukan lebar gambar logo */
    height: 60px;            /* Tentukan tinggi gambar logo */
    object-fit: contain;     /* Agar gambar tetap proporsional dan tidak terdistorsi */
    margin-bottom: 15px;     /* Memberikan jarak antara gambar dan teks */
}

/* Optional: Pembungkus untuk memastikan logo berada di tengah */
.logo-bank-wrapper {
    display: flex;
    justify-content: center; /* Untuk memastikan logo berada di tengah */
    align-items: center;     /* Untuk memastikan logo terpusat secara vertikal */
    padding: 10px;           /* Memberikan ruang sekitar logo */
}

    }


    .card-body {
        padding-top: 10px;
    }

    .card-title,
    .card-text {
        margin-top: 10px;
    }

    #hero {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin-top: 30px;
    }

    #border {
        padding: 15px 5px;
        margin-top: -30px;
    }

    /* #border .row {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    } */

    .border-item {
        padding: 8px;
    }

    .border-item img {
        height: 50px;
    }
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  z-index: 1000;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}
