/* --- Page Header --- */
.involve-header {
    background: linear-gradient(rgba(87, 46, 125, 0.85), rgba(255, 255, 255, 0.85)), url('pics/Mithila International Centre/background.png');
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin: 0;
}

.involve-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* --- Donation Card Section --- */
.donate-card {
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(87, 46, 125, 0.1); /* Purple shadow */
    border-top: 6px solid #572e7d; /* Deep Purple Accent */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: -50px; /* Overlap effect */
    border: 1px solid #f0e6ff;
}

.donate-icon {
    font-size: 4rem;
    color: #572e7d;
    margin-bottom: 20px;
}

.donate-card h2 {
    font-size: 2.5rem;
    color: #572e7d;
    margin-bottom: 20px;
}

.donate-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-large-donate {
    display: inline-block;
    background: #572e7d; /* Deep Purple */
    color: white;
    font-size: 1.2rem;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(87, 46, 125, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-large-donate:hover {
    background: #3b1b5e;
    transform: translateY(-3px);
}

.donate-note {
    background: #f0e6ff; /* Light purple bg */
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #4a148c;
    border: 1px solid #d1c4e9;
}

/* --- Volunteer Section --- */
.volunteer-section {
    background: #fcfaff; /* Very light purple/white */
    padding-top: 40px; 
    padding-bottom: 80px;
}

.volunteer-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.volunteer-header h2 {
    font-size: 2.5rem;
    color: #572e7d;
    margin-bottom: 15px;
}

.volunteer-header .divider {
    width: 60px;
    height: 4px;
    background: #572e7d;
    margin: 15px auto 20px;
}

/* --- Form Styling --- */
.volunteer-form {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(87, 46, 125, 0.05);
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border: 1px solid #f0e6ff;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2; 
}

.form-group label {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9f9f9;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #572e7d;
    background: white;
}

.btn-submit {
    grid-column: span 2;
    background: #572e7d;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #3b1b5e;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .involve-header { height: 40vh; min-height: 250px; }
    .involve-header h1 { font-size: 2.2rem; }

    .donate-card {
        top: 0; 
        padding: 40px 20px; 
        margin-bottom: 40px;
    }

    .donate-card h2 { font-size: 2rem; }
    .donate-text { font-size: 1rem; }
    .btn-large-donate { width: 100%; padding: 15px; }

    .volunteer-form {
        grid-template-columns: 1fr; 
        padding: 30px 20px;
        gap: 20px;
    }

    .form-group.full-width { grid-column: span 1; }
    .btn-submit { grid-column: span 1; }

    .volunteer-header h2 { font-size: 2rem; }
}