/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fa; /* Warna latar belakang yang lembut */
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: #2C3E50;
}

header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #0043c8; /* Warna biru muda */
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 18px;
    color: #4e4e4e;
    margin-bottom: 40px;
}

/* Header Carousel */
.carousel-inner img {
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-control-prev, .carousel-control-next {
    color: #2980b9;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1);
}

/* Navigation Tabs */
.nav-tabs {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2980b9;
    border: none;
    background-color: transparent;
    transition: color 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #005e8b;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #2980b9;
    border-radius: 8px 8px 0 0;
}

/* Tab Content */
.tab-pane {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    color: #555;
}

.table th, .table td {
    vertical-align: middle;
}

.table th {
    background-color: #2980b9;
    color: white;
}

.table td {
    font-size: 14px;
}

/* Donation Progress Circle */
.circle-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.circle-background, .circle-progress {
    fill: none;
    stroke-width: 20;
}

.circle-background {
    stroke: #e1e1e1;
}

.circle-progress {
    stroke: #2ecc71;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease-in-out;
}

.circle-text {
    position: absolute;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

/* Button Style */
button {
    font-family: 'Poppins', sans-serif;
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1e6c8d;
}

/* Social Media Links */
.text-center a {
    font-size: 24px;
    color: #2980b9;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.text-center a:hover {
    color: #1e6c8d;
}

/* Sticky Position for Donation Section */
.col-md-4 {
    position: sticky;
    top: 20px; /* Adjust this value to control the sticky distance from the top */
    height: fit-content;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }

    header p {
        font-size: 16px;
    }

    .carousel-inner img {
        max-height: 350px;
    }

    .circle-container {
        width: 200px;
        height: 200px;
    }

    .circle-text {
        font-size: 28px;
    }

    .nav-tabs {
        flex-direction: column;
    }

    .nav-tabs .nav-item {
        margin-bottom: 10px;
    }

    .nav-tabs .nav-link {
        font-size: 14px;
    }

    .table {
        font-size: 14px;
    }

    button {
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 14px;
    }

    .carousel-inner img {
        max-height: 250px;
    }

    .circle-container {
        width: 180px;
        height: 180px;
    }

    .circle-text {
        font-size: 24px;
    }

    button {
        padding: 14px;
        font-size: 16px;
    }
}

/* Footer Styling */
footer {
    background-color: #2980b9;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
    font-size: 14px;
    border-radius: 0 0 10px 10px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #1e6c8d;
}

/* Fixed Button for Mobile */
@media (max-width: 576px) {
    .fixed-donasi {
        position: fixed;
        bottom: 20px; /* Jarak dari bawah layar */
        left: 50%;
        transform: translateX(-50%); /* Memastikan tombol terpusat */
        width: 90%; /* Lebar tombol */
        z-index: 10; /* Agar tombol tetap di atas konten lainnya */
        transition: bottom 0.3s ease-in-out;
    }

    /* Tambahan: Berikan padding tambahan pada kontainer agar tidak tertutupi tombol */
    .container {
        padding-bottom: 80px; /* Sesuaikan dengan tinggi tombol */
    }
}

/* Donatur Section Styles */
.donatur-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Mengurangi jarak antar card */
}

/* Donatur Card */
.donatur-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px; /* Mengurangi padding untuk mengurangi jarak */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donatur-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px; /* Mengurangi jarak bawah */
}

.donatur-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0; /* Menghilangkan margin */
}

.donatur-date {
    font-size: 0.9rem;
    color: #888;
    margin: 0; /* Menghilangkan margin */
}

.donatur-card-body {
    margin-top: 5px; /* Mengurangi jarak antara body dan header */
}

.donatur-donation {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28a745;
    margin: 0; /* Menghilangkan margin */
}

.donatur-prayer {
    font-size: 1rem;
    color: #555;
    margin-top: 5px;
    margin-bottom: 0; /* Menghilangkan margin bawah */
}

/* Styling untuk social media container */
.custom-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

