* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #00b2a9;
    position: relative;
    z-index: 100;
}

.logo img {
    height: 50px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Menambahkan efek transisi */
}

.logo img:hover {
    transform: scale(1.05); /* Efek zoom saat dihover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Bayangan lebih dalam saat dihover */
}


.login a {
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #01532D;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.login a:hover {
    text-decoration: none;
    background-color: #01532D;
    color: #00b2a9;
}

/* Navbar Style */
.navbar {
    background-color: #00b2a9;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: background-color 0.3s ease;
    position: sticky; /* Menambahkan sticky */
    top: 0; /* Pastikan navbar tetap di atas */
    z-index: 9999; /* Agar navbar selalu di atas konten */
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* Logo membesar saat di-hover */
.navbar .logo:hover {
    transform: scale(1.05);
}

.navbar ul {
    list-style-type: none;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 10;
}

/* Item menu membesar saat di-hover */
.navbar ul li:hover {
    transform: translateY(-5px);
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

/* Efek garis bawah saat di-hover */
.navbar ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #01532D;
    position: absolute;
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar ul li a:hover::after {
    transform: scaleX(1);
}

/* Dropdown Styles */
.navbar ul li .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #00b2a9;
    top: 100%;
    left: 0;
    min-width: 160px;
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar ul li:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.navbar ul li .dropdown-menu li {
    margin: 0;
    padding: 10px 20px;
}

.navbar ul li .dropdown-menu li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.navbar ul li .dropdown-menu li a:hover {
    background-color: #008a7a;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
}

/* Menu Tersembunyi Secara Default */
#menu {
    display: none;
}

#menu.active {
    display: block;
}

.dropdown-menu {
    display: none;
}

.dropdown-menu.active {
    display: block;
}

/* Responsive Style untuk layar kecil */
@media (max-width: 480px) {
    .navbar ul {
        display: none; /* Sembunyikan menu utama di layar kecil */
        flex-direction: column; /* Atur item menu dalam kolom */
        width: 100%; /* Menu memenuhi lebar layar */
        background-color: #00b2a9;
        padding: 20px;
    }

    #menu.active {
        display: flex; /* Tampilkan menu utama ketika class 'active' ditambahkan */
    }

    .navbar ul li {
        margin: 10px 0; /* Margin vertikal antar item */
    }

    /* Tampilkan hamburger icon di layar kecil */
    .hamburger {
        display: block;
    }
}

/* Responsive Styles */
@media (max-width: 480px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #00b2a9;
        z-index: 1;
    }

    .navbar ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .navbar ul li {
        text-align: center;
        margin: 10px 0;
    }

    /* Responsive Dropdown for Mobile */
    .navbar ul li .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1; /* Menjadikan tampak pada mobile */
        transform: translateY(0); /* Posisi normal */
    }

    .navbar ul li.active .dropdown-menu {
        display: block;
    }
}

@media (min-width: 769px) {
    #menu {
        display: flex; /* Tampilkan menu secara default di layar besar */
    }
    .dropdown-menu {
        display: none; /* Tampilkan hanya saat hover di layar besar */
    }
    .navbar ul li:hover .dropdown-menu {
        display: block; /* Tampilkan dropdown saat hover */
    }
}

/* Style untuk tombol login di layar kecil */
@media (min-width: 769px) {
    .login {
         display: flex; /* Menyembunyikan tombol login */
    }
}

/* Menu Item */
/* Default styling untuk menu */
.project-menu {
    display: flex;
    flex-wrap: wrap; /* Memungkinkan item menu membungkus ke baris berikutnya */
    justify-content: center; /* Pusatkan elemen menu */
    padding: 0;
    list-style: none;
    margin: 0;
}

.project-menu li {
    margin: 5px 10px; /* Memberikan jarak antar elemen */
}

.project-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.project-menu a.active,
.project-menu a:hover {
    text-decoration: none;
    background-color: #00B2A9;
    color: #fff;
    border-color: #00B2A9;
}

/* Responsif untuk perangkat dengan lebar maksimum 768px */
@media (max-width: 768px) {
    .project-menu li {
        flex: 1 1 45%; /* Atur setiap item menu menjadi lebar sekitar 45% */
        text-align: center; /* Pusatkan teks di dalam item menu */
    }
}


/* Pengaturan tampilan gambar */
.card-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

/* Efek hover pada kartu */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tombol pada kartu */
.card button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #00b2a9;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: #008a7a;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 40px 20px;
    color: #333;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px; /* Mengurangi jarak antar kolom */
    padding-top: 20px;
}

.footer-logo {
    flex: 1;
    text-align: center;
    margin-right: 50px; /* Menambah jarak dari kolom lainnya */
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-about,
.footer-services{
    flex: 0.8; /* Mengurangi lebar kedua kolom */
    margin-left: 0; /* Hapus margin kiri untuk lebih merapat */
}
.footer-contact {
    flex: 1; /* Membuatnya lebih rapat ke .footer-services */
    margin-left: -20px; /* Menggeser lebih dekat ke kolom layanan */
}

.footer h3 {
    color: #006400;
    font-size: 1.2rem;
    margin-bottom: 5px; /* Mengurangi jarak antara judul dan daftar */
}

.footer ul {
    list-style-type: none; /* Menghilangkan lingkaran/bullet points */
    padding-left: 0; /* Menghilangkan padding default pada ul */
}

.footer ul li {
    margin-bottom: 3px; /* Mengurangi jarak antar item list */
}

.footer ul li a {
    color: #333;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 5px; /* Mengurangi jarak antar paragraf */
}

.footer-contact a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom {
    background-color: #00b2a9;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom span {
    margin-left: 20px;
    flex: 1;
    text-align: left;
}

.footer-bottom ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: right;
    gap: 20px;
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

.footer-bottom ul li {
    display: inline;
}

.footer-bottom ul li a {
    color: white;
    text-decoration: none;
}

.footer-bottom ul li a:hover {
    text-decoration: underline;
}

.footer-bottom .copyright {
    flex: 1;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom p, .footer-bottom ul, .footer-bottom .copyright {
        text-align: center;
        flex: unset;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-about, .footer-services, .footer-contact {
        margin-bottom: 20px;
        margin-left: 0; /* Menghapus jarak pada layar kecil */
    }

    .footer-logo {
        margin-right: 0; /* Menghapus jarak pada layar kecil */
    }
    
    header {
        flex-direction: column;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .icon-section {
        flex-direction: column;
    }
}

.progress-container {
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    height: 15px;
    width: 100%;
}

.progress-bar {
    background-color: #00B2A9;
    height: 100%;
    border-radius: 10px;
    width: 50%; /* This can be dynamic based on the percentage of collected funds */
}

.hijau-toska {
    background-color: #00B2A9;
}

.icon-img {
    max-width: 80px; /* Atur ukuran maksimal gambar */
    height: auto; /* Jaga proporsi gambar */
}

.pilar-program {
    background-color: #fff; /* Background sesuai tema */
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.pilar-program h2 {
    font-size: 2.5rem;
    color: #FFC107; /* Warna judul */
    margin-bottom: 40px;
}

.pilar-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.pilar-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Memastikan konten tersusun dari atas ke bawah */
    height: 300px; /* Pastikan tinggi tetap */
    flex-basis: 18%;
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden; /* Tambahkan jika ingin memotong konten berlebih */
}


.pilar-item:hover {
    transform: translateY(-10px);
}

.pilar-item i {
    margin-bottom: 10px;
    color: #00B2A9;
    font-size: 3rem;
}

.pilar-item h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: #333;
}

.pilar-item p {
    flex-grow: 1; /* Membuat deskripsi mengisi ruang kosong */
    font-size: 0.9rem;
    color: #666;
}

.pilar-item a {
    margin-top: auto; /* Menjaga tombol di bagian bawah */
}

@media (max-width: 768px) {
    .pilar-item {
        flex-basis: 45%;
    }
}

@media (max-width: 480px) {
    .pilar-item {
        flex-basis: 100%;
    }
}


/* Slider CSS*/

.slick-prev:before, .slick-next:before {
    color: #00B2A9;
}

.card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.card-image {
    height: 200px;
    background-position: center;
    background-size: cover;
}

.progress-container {
    background-color: #e9ecef;
    border-radius: 5px;
    height: 10px; /* Tinggi dari kontainer progress bar */
    position: relative;
    width: 100%; /* Lebar penuh */
}

.progress-bar {
    background-color: #00B2A9; /* Warna progress bar */
    height: 100%; /* Tinggi progress bar sama dengan kontainer */
    border-radius: 5px; /* Sudut melengkung */
    transition: width 0.3s; /* Animasi saat lebar berubah */
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;                  /* Tempatkan di tengah vertikal */
    transform: translateY(-50%);
    z-index: 1;                /* Pastikan tombol berada di atas konten slider */
    background-color: transparent; /* Hilangkan latar belakang */
    border: none;
    cursor: pointer;
}

.slick-prev {
    left: 10px;                /* Jarak dari kiri */
}

.slick-next {
    right: 10px;               /* Jarak dari kanan */
}

.slick-prev:before, .slick-next:before {
    font-size: 24px;           /* Ukuran ikon panah */
    color: #00B2A9;           /* Warna panah */
}

.slick-dots {
    position: absolute;        /* Pastikan dots berada di posisi absolut */
    bottom: 10px;              /* Jarak dari bagian bawah slider */
    left: 50%;                 /* Tempatkan dots di tengah horizontal */
    transform: translateX(-50%); /* Geser ke tengah */
    display: flex;             /* Pastikan dots disusun horizontal */
    justify-content: center;   /* Pusatkan dots secara horizontal */
    list-style: none;          /* Hilangkan bullet default */
    padding: 0;
    margin: 0;
    gap: 5px;                  /* Tambahkan jarak antar dots */
}

.slick-dots li button {
    width: 10px;               /* Ukuran tombol dot */
    height: 10px;              /* Ukuran tombol dot */
    border-radius: 50%;        /* Bentuk lingkaran */
    background: #e9ecef;       /* Warna default dots */
    border: none;              /* Hilangkan border */
    cursor: pointer;           /* Ubah cursor menjadi pointer */
    transition: background 0.3s ease; /* Animasi saat aktif */
}

.slick-dots li.slick-active button {
    background: #00B2A9;       /* Warna tombol aktif */
}


/* CSS untuk styling ikon media sosial */
.social-icons {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.social-icons li {
    display: inline-block;
}
.social-icons a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #0077b5; /* Warna hover (contoh LinkedIn) */
}
.statistik {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.statistik h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.statistik-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.statistik-item {
    flex-basis: 22%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.statistik-item:hover {
    transform: translateY(-10px);
}

.statistik-item i {
    font-size: 2.5rem;
    color: #00B2A9;
    margin-bottom: 10px;
}

.statistik-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.statistik-item p {
    font-size: 1.5rem;
    color: #666;
    font-weight: bold;
}

@media (max-width: 768px) {
    .statistik-item {
        flex-basis: 45%;
    }
}

@media (max-width: 480px) {
    .statistik-item {
        flex-basis: 100%;
    }
}

/* Section Banner */
.banner {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.banner-left {
    flex: 1;
    max-width: 600px;
}

.banner-right {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.banner-right h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #00B2A9;
}

.banner-right p {
    font-size: 1rem;
    color: #555;
    margin: 20px 0;
}

.banner-right .btn {
    background-color: #00B2A9;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
}

/* Carousel Customization */
.carousel-inner img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.tombol-program {
    background-color: #33CFC4; 
    border: 2px solid #33CFC4;
    transition: background-color 0.3s ease, color 0.3s ease;
    
}
.tombol-program:hover {
    background-color: #008F87; 
    border-color: #008F87; 
    color: #fff;
}
.banner {
    padding: 50px 20px;
    background-size: cover; /* Gambar menutupi seluruh section */
    background-position: center; /* Gambar terpusat */
    background-repeat: no-repeat; /* Tidak mengulangi gambar */
    color: #fff; /* Teks putih untuk kontras */
    border-radius: 10px; /* Opsional, untuk estetika */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opsional, menambahkan bayangan */
    }
.banner-container { 
    padding: 30px 15px; 
} 
.video-wrapper iframe { 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
} 
/* Gaya untuk tombol program */
.btn.tombol-program {
    color: #fff; /* Warna teks putih */
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    background-color: #33CFC4; /* Warna hijau toska muda */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Gaya untuk tombol program saat hover */
.btn.tombol-program:hover {
    background-color: #008F87; /* Warna hijau toska gelap saat hover */
    color: #fff; /* Tetap warna putih saat hover */
}

/* Gaya untuk ajakan-title */
.ajakan-title {
    font-size: 2.1rem;
    color: #008F87; /* Warna hijau toska */
    text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff;  /*Menambahkan garis samping putih */
    position: relative;
    font-weight:bold;
}

/* Gaya untuk ajakan-text */
.ajakan-text {
    color:#000;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight:bold;
}

/* Responsif untuk ukuran layar kecil */
@media (max-width: 768px) {
    .ajakan-title {
        font-size: 1.5rem;
        font-weight:bold;
    }
    
    .ajakan-text {
        font-size: 1rem;
        color:#000;
        font-weight:bold;
    }
    
    .btn.tombol-program {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
