/* ==========================================================================
   CSS HALAMAN DONASI RESPONSIF & BEBAS OVERFLOW
   ========================================================================== */

/* Hero Donasi */
.donasi-hero {
    background: linear-gradient(to bottom, rgba(13, 92, 58, 0.541), rgba(8, 59, 37, 0.849)), 
                url('../../berkas/SQT 1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.donasi-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.donasi-hero p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
/* Styling Logo di Navbar Header */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px; /* Jarak antara gambar logo dan teks */
}
.nav-logo {
    height: 45px; /* Tinggi logo di navbar */
    width: auto;
}
.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0D5C3A;
    font-family: 'Cinzel', serif;
}
.logo span i {
    color: #D95D39;
    font-style: normal;
}
/* Layout Container */
.donasi-main-container {
    padding: 3rem 1rem;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.section-title, .form-title {
    color: #0D5C3A;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Grid Program Donasi */
.donasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    width: 100%;
}

.donasi-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.donasi-card-img {
    position: relative;
    height: 180px;
}

.donasi-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-kategori {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0D5C3A;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.donasi-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.donasi-card-body h3 {
    font-size: 1.15rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.donasi-card-body p {
    font-size: 0.88rem;
    color: #64748B;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

/* Progress Bar */
.progress-bar-container {
    background: #E2E8F0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    background: #D95D39;
    height: 100%;
    border-radius: 4px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #64748B;
    margin-bottom: 1.2rem;
}

/* Form Donasi Wrapper */
.donasi-form-wrapper {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.donasi-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0D5C3A;
    box-shadow: 0 0 0 3px rgba(13, 92, 58, 0.1);
}

/* Tombol Pilih Nominal */
.nominal-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.6rem;
}

.btn-nominal {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    color: #0D5C3A;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-nominal:hover, .btn-nominal:focus {
    background: #0D5C3A;
    color: #ffffff;
    border-color: #0D5C3A;
}

/* Helper Buttons */
.btn-primary-sqt {
    background: #0D5C3A;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.btn-primary-sqt:hover {
    background: #D95D39;
}

.btn-block {
    width: 100%;
}

.btn-submit-donasi {
    grid-column: 1 / -1;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ==========================================================================
   PENYESUAIAN MOBILE (HP)
   ========================================================================== */
@media (max-width: 750px) {
    .donasi-hero h1 {
        font-size: 1.6rem;
    }

    .donasi-hero p {
        font-size: 0.88rem;
    }

    .donasi-main-container {
        padding: 1.5rem 0.8rem;
    }

    .donasi-grid {
        grid-template-columns: 1fr; /* 1 kolom penuh di mobile */
    }

    .donasi-form-wrapper {
        padding: 1.25rem;
    }

    .donasi-form {
        grid-template-columns: 1fr; /* Form 1 kolom penuh */
    }

    .nominal-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo span { 
        font-size: 1.1rem; 
    }
    
    .nav-logo { 
        height: 35px; 
    }
}
/* ==========================================================================
   STYLING FOOTER & SOCIAL MEDIA ICONS
   ========================================================================== */
.footer {
    background-color: #083B25; /* Warna hijau gelap khas SQT */
    color: #ffffff;
    padding: 3.5rem 0 1.5rem 0;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-about h3,
.footer-links h3,
.footer-socials h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-family: 'Cinzel', serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-socials h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #D95D39; /* Garis aksen oranye */
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #D95D39;
    padding-left: 5px;
}

/* Container Ikon Sosial Media */
.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #D95D39;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(217, 93, 57, 0.4);
}

/* Footer Bottom (Copyright) */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
}
/* ==========================================================================
   ANIMASI SCROLL REVEAL (HALAMAN DONASI)
   ========================================================================== */
.donasi-card,
.donasi-form-wrapper,
.section-title {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.donasi-card.reveal-active,
.donasi-form-wrapper.reveal-active,
.section-title.reveal-active {
    opacity: 1;
    transform: translateY(0);
}
/* Penyesuaian Responsif Layar Kecil */
@media (max-width: 750px) {
    .footer {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-icons {
        justify-content: flex-start;
    }
}