#investment {
    padding-top: 30px;
}

.container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}


.investment {
    overflow-y: hidden;
}

.investment-link {
    text-decoration: none;
    color: inherit;
}

.investment-link:hover {
    text-decoration: none;
    color: inherit;
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-wrapper {
    position: relative;
    width: 255px;


    margin-bottom: 50px;
}

.search-input {
    width: 255px;
    height: 38px;
    border-radius: 25px;
    padding-right: 30px;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    /* Adjust icon color as needed */
}

.card-custom {
    width: 100%;
    max-width: 370px;
    /* Batasi lebar card */
    display: flex;
    flex-direction: column;
    /* Menyusun konten card secara vertikal */
    justify-content: space-between;
    /* Distribusi ruang antara elemen card */
    border-radius: 20px;
    padding: 20px;
    position: relative;
    margin: 0 auto;
    /* Agar card berada di tengah */
    flex-direction: column;
    overflow-y: hidden;
    transition: box-shadow 0.3s ease;
    /* Animasi untuk transisi bayangan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Bayangan default */
}

.card-custom:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Bayangan saat card di-hover */
}



/* Media query untuk layar kecil (mobile) */
@media (max-width: 767px) {
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
   
    .nav-tabs {
        border-radius: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
    

    .section-header .section-title {
        font-size: 30px !important;
        color: #272727;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin: 0 0 20px;
    }

    .card-custom {
        max-width: 100%;
        margin-bottom: 20px;
        /* Jarak antara card pada tampilan mobile */
    }

    .carousel-content {
        text-align: center;
        /* Membuat konten carousel di tengah pada layar kecil */
    }
   
}

/* Media query untuk layar menengah (tablet) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
}

/* CSS khusus untuk layar yang lebih besar */
@media (min-width: 992x) and (max-width: 1200px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;

    }

}


/* CSS khusus untuk layar yang lebih besar */
@media (min-width: 1400px) {
    .container {
        padding-left: 80px;
        padding-right: 80px;
    }
    .section-header .section-title {
        font-size: 33px;
        color: #272727;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin: 0 0 20px;
    }

}



.card-img-top {
    height: 233px;
    width: 326px;
    margin-top: 30px;
    object-fit: cover;
}

.btn-top-right {
    position: absolute;
    /* Menjadikan posisi absolut */
    top: 10px;
    /* Jarak dari atas */
    right: 10px;
    /* Jarak dari kanan */
    z-index: 1;
    /* Membuat tombol muncul di atas gambar */
    background-color: #3366ff;
    /* Warna latar belakang tombol */
    color: #fff;
    /* Warna teks tombol */
    border: none;
    /* Menghilangkan border tombol */
    padding: 4px 12px;
    /* Padding tombol */
    border-radius: 50px;
    /* Membuat sudut tombol membulat */
    cursor: pointer;
    /* Mengubah kursor saat mengarahkan ke tombol */
}



.stamp-label {
    position: absolute;
    top: 50%; /* Menempatkan di tengah secara vertikal */
    left: 50%; /* Menempatkan di tengah secara horizontal */
    transform: translate(-50%, -50%); /* Mengatur agar benar-benar di tengah */
    color: white; /* Warna putih untuk teks */
    font-size: 34px; /* Ukuran font besar */
    font-weight: bold; /* Membuat teks tebal */
    text-shadow: 
        -3px -3px 0 #000,  
        3px -3px 0 #000,
        -3px 3px 0 #000,
        3px 3px 0 #000,
        -3px 0px 0 #000,  
        3px 0px 0 #000,
        0px -3px 0 #000,
        0px 3px 0 #000; /* Efek bayangan hitam lebih tebal */
    text-align: center;
    z-index: 1;
    pointer-events: none; /* Agar tidak menghalangi interaksi dengan elemen di bawahnya */
}

.logo-img {
    max-width: 250px; /* Atur lebar maksimum gambar */
  }

  @media (max-width: 768px) {
    .logo-img {
      max-width: 200px; /* Atur ukuran gambar lebih kecil untuk layar mobile */
    }
  }


.btn-danger {
    background-color: red;
    color: white;
    border: none;
}

.btn-success {
    background-color: green;
    color: white;
    border: none;
}

.progress-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    /* Adjust this value based on your design */
}

.progress-label {
    position: absolute;
    left: 0;
    font-size: 0.9em;
    /* Adjust font size as needed */
    margin-bottom: 10px;
    /* Add margin for spacing */

}

.fund-amount {
    position: absolute;
    right: 0;
    font-size: 0.9em;
    /* Adjust font size as needed */
    margin-bottom: 10px;
    /* Add margin for spacing */


}


/* Jika layar lebih kecil dari 341px, fund-amount turun ke bawah */
@media screen and (max-width: 341px) {
    .progress-container {
        flex-wrap: wrap; /* Memungkinkan turun ke bawah */
        justify-content: center; /* Agar tetap rapi */
        text-align: center;
    }

    .progress-label {
        width: 100%; /* Tetap di atas */
        text-align: center;
        
    }

    .fund-amount {
        width: 100%; /* Turun ke bawah */
        text-align: center;
        margin-top: 15px; /* Beri jarak dengan progress-label */
    }
}


.progress {
    height: 20px;
    margin-top: 10px;
    width: 100%;
    margin-bottom: 10px;
    /* Add margin-bottom to create space below the progress bar */
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #093361, #5D7796);
}


.content-container {
    display: flex;
    align-items: center;
}


.card-body {
    margin-left: -20px;
    /* Atur margin kiri sesuai kebutuhan */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.btn-custom {
    border-radius: 30px;
    display: inline-block;
    padding: 8px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #ff0101de;
    border: none;
    cursor: pointer;
}

.btn-custom:focus {
    outline: none;
    /* Menghilangkan outline saat tombol mendapatkan fokus */
}

.btn-custom:hover {
    background: #b11b1b;
    text-decoration: none;
    color: #ffffff;

}

.pagination-container {
    display: flex;
    margin-top: 20px;
    justify-content: center;
}

.pagination-container button {
    margin-left: 5px;
    margin-right: 5px;
    color: black;
    font-weight: bold;
    margin-top: -8px;

}

.pagination-container button:hover {
    color: #be1414;
}

/* Style untuk gambar agar responsif */
img {
    max-width: 100%;
    height: auto;
}

.row {
  
    justify-content: center;
}

/* Tampilan responsive home agar tidak scrolling vertical */
body {
    overflow-x: hidden !important;
}

.container {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* CSS umum untuk logo */
.navbar-brand img {
    width: 100%;
    /* Ukuran default logo */
    transition: width 0.3s;
    /* Animasi transisi ukuran logo */
    max-width: 150px;
    /* Ukuran maksimal logo */
    height: auto;
    /* Memastikan proporsi gambar tetap */

}

.crousel-content {
    text-align: left;
}

/* CSS khusus untuk tampilan mobile */
@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 150px;
        /* Ukuran logo yang lebih kecil untuk tampilan mobile */
    }
}

/* CSS khusus untuk layar yang lebih besar */
@media (min-width: 1200px) {
    .navbar-brand img {
        max-width: 150px;
        /* Ukuran logo yang lebih besar untuk tampilan desktop besar */
    }
    .section-header .section-title {
        font-size: 30px;
        color: #272727;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin: 0 0 20px;
    }
    
}

/* CSS khusus untuk layar yang lebih besar */
@media (min-width: 1400px) {
    .navbar-brand img {
        max-width: 200px;
        /* Ukuran logo yang lebih besar untuk tampilan desktop besar */
    }
    .section-header .section-title {
        font-size: 30px;
        color: #272727;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin: 0 0 20px;
    }
    
}











.section-header .section-title:before {
    content: "";
    position: absolute;
    width: 140px;
    bottom: 0;
    left: 50%;
    margin-left: -70px;
    height: 1px;
    background: #ebebeb;
}

.section-header .section-title:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -11px;
    left: 50%;
    margin-left: -12px;
    border: 5px solid #fff;
    border-radius: 20px;
    background: #be1414;
}

@media (min-width: 576px) {
    .rounded-nav {
      border-radius: 50rem !important;
    }
  }
  
  @media (min-width: 576px) {
    .rounded-nav .nav-link {
      border-radius: 50rem !important;
    }
  }

.custom-nav-tabs {
    
    background-color: rgba(223, 0, 36, 0.47); /* Warna latar belakang yang diinginkan */
}

.custom-nav-link {
    color: #000; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 44px;
}

.custom-nav-link:hover {
    color: #fff; /* Warna teks yang diinginkan */
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    color: #000;
    border-color: #ddd;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.text-center img:first-child {
    margin-bottom: 10px; /* Atur jarak antara gambar logo dan gambar crowdfunding */
}



.custom-pagination-btn {
    border-radius: 5px;
    margin: 5px;
    padding: 0.5rem 1rem;
    background-color: #ffff;
    color: black;
    border: 1px solid #0000001A;
}

.custom-pagination-btn:hover {
    background-color: rgba(223, 0, 36, 0.7);
    border-color: rgba(223, 0, 36, 0.7);
    color: #ffff;
}

.custom-pagination-btn.active {
    background-color: rgba(223, 0, 36, 1);
    border-color: rgba(223, 0, 36, 1);
    color: #ffff;
}

/* Desktop: Tampilkan tombol lengkap */
@media screen and (min-width: 769px) {
    .desktop-only {
        display: inline-block;
    }

    .mobile-only {
        display: none;
    }
}

/* Mobile: Sembunyikan "Pertama", "Terakhir", "Sebelumnya", "Selanjutnya" tapi tetap tampilkan nomor halaman */
@media screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .custom-pagination-btn {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
    }

    .mobile-only {
        display: inline-block;
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
    }
}