/* ================= VARIABLES ================= */
:root {
    --primary: #003366;
    --primary-dark: #002244;
    --accent: #8b5cf6;
    --accent-light: #f3e8ff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    margin-top: 0;
}

/* ================= HERO MINI ================= */
.hero-mini {
    position: relative;
    background: linear-gradient(135deg, rgba(0,30,60,0.95), rgba(0,51,102,0.85)),
                url('../../imgs/don1.png') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 0 8rem 0;
    text-align: center;
}

.hero-mini h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-mini p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: auto; }

.custom-shape-divider-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%;
    overflow: hidden; line-height: 0; transform: rotate(180deg);
}
.custom-shape-divider-bottom svg {
    position: relative; display: block; width: calc(100% + 1.3px); height: 60px;
}
.custom-shape-divider-bottom .shape-fill { fill: var(--bg-light); }

/* ================= LAYOUT ================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.donation-wrapper {
    display: flex; flex-wrap: wrap; gap: 3rem; padding: 4rem 0;
}

.col-left { flex: 1; min-width: 300px; }
.col-right { flex: 0 0 450px; }

@media (max-width: 992px) {
    .col-right { flex: 1; width: 100%; }
    .donation-wrapper { flex-direction: column-reverse; }
}

/* ================= IMPACT CARDS (ICONS FIXED) ================= */
.impact-section h2 { color: var(--primary); font-size: 2rem; margin-bottom: 2rem; }

.impact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; margin-bottom: 3rem;
}

.impact-card {
    background: white; padding: 1.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0;
    display: flex; align-items: flex-start; gap: 1rem;
}

.impact-icon-wrapper {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: #f0f7ff; /* Light blue bg */
    color: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}

.impact-icon-wrapper svg {
    width: 24px; height: 24px;
}

.impact-content h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.3rem; }
.impact-content p { font-size: 0.9rem; color: var(--text-light); margin: 0; line-height: 1.4; }

/* ================= TESTIMONIALS ================= */
.testimonial {
    background: white; padding: 2rem; border-radius: var(--radius);
    border-left: 4px solid var(--accent); margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.testimonial p { font-style: italic; color: #475569; font-size: 0.95rem; }
.testimonial-footer { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
.avatar-circle {
    width: 40px; height: 40px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 0.9rem;
}

/* ================= DONATION FORM ================= */
.donation-card {
    background: white; padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border-top: 6px solid var(--primary);
    position: sticky; top: 2rem;
}

.form-title { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.secure-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: #10b981; font-weight: 600;
    background: #ecfdf5; padding: 0.2rem 0.6rem; border-radius: 4px;
}

.form-group { margin-bottom: 1.5rem; }
.label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-main); }

/* Frequency Switch */
.freq-switch { display: flex; background: #f1f5f9; padding: 4px; border-radius: 8px; }
.freq-option { flex: 1; }
.freq-option input { display: none; }
.freq-option label {
    display: block; text-align: center; padding: 0.6rem;
    border-radius: 6px; cursor: pointer; font-weight: 500; font-size: 0.9rem;
    transition: all 0.2s; color: var(--text-light);
}
.freq-option input:checked + label {
    background: white; color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); font-weight: 700;
}

/* Amount Grid */
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.amount-option input { display: none; }
.amount-option label {
    display: flex; align-items: center; justify-content: center;
    padding: 0.8rem 0; border: 2px solid #e2e8f0;
    border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--text-main);
    transition: all 0.2s;
}
.amount-option input:checked + label {
    border-color: var(--primary); background-color: #f0f9ff; color: var(--primary);
}
.amount-option input:hover + label { border-color: #cbd5e1; }

.custom-input {
    width: 100%; padding: 0.8rem; border: 2px solid #e2e8f0;
    border-radius: 8px; font-family: inherit; margin-top: 0.8rem;
    box-sizing: border-box;
}
.custom-input:focus { outline: none; border-color: var(--primary); }

/* Tax Box */
.tax-box {
    background: linear-gradient(135deg, #fdfbf7, #fff9e6);
    border: 1px solid var(--accent); border-radius: 8px; padding: 1rem; margin: 1.5rem 0;
}
.tax-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; font-size: 0.9rem; }
.tax-highlight {
    border-top: 1px solid rgba(0,0,0,0.1); padding-top: 0.5rem; margin-top: 0.5rem;
    font-weight: 700; color: var(--primary); font-size: 1.1rem;
}
.tax-save { color: #10b981; font-weight: 600; }

.btn-submit {
    width: 100%; padding: 1rem; border: none;
    background: linear-gradient(to right, var(--accent), #eecda3);
    color: var(--primary-dark); font-weight: 800; font-size: 1.1rem;
    border-radius: 50px; cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s; font-family: 'Outfit', sans-serif;
}
.btn-submit:hover { transform: translateY(-2px); }

.checkbox-group { margin-top: 1rem; font-size: 0.85rem; color: var(--text-light); }
.checkbox-item { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; align-items: flex-start; }
