/* Volunteer Page Styles */

.volunteer-hero {
    background: linear-gradient(rgba(172, 172, 252, 0.85), rgba(26, 26, 46, 0.85)), url('../assets/images/volunteer-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.volunteer-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volunteer-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.volunteer-form-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.volunteer-form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.volunteer-form h2 {
    color: #4361ee;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.volunteer-form p {
    color: #131212;
    margin-bottom: 25px;
}

.volunteer-form .form-group {
    margin-bottom: 25px;
}

.volunteer-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1919;
}

.volunteer-form input[type="text"],
.volunteer-form input[type="email"],
.volunteer-form input[type="tel"],
.volunteer-form select,
.volunteer-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.volunteer-form input[type="text"]:focus,
.volunteer-form input[type="email"]:focus,
.volunteer-form input[type="tel"]:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

.volunteer-form textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.btn-volunteer {
    background: #4361ee;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-volunteer:hover {
    background: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.volunteer-benefits {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.volunteer-benefits h3 {
    color: #4361ee;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.volunteer-benefits ul {
    list-style: none;
}

.volunteer-benefits li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.volunteer-benefits i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #4361ee;
}

.error {
    color: #ef233c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .volunteer-hero {
        padding: 100px 0 60px;
    }
    .volunteer-hero h1 {
        font-size: 2.2rem;
    }
    .volunteer-form-container,
    .volunteer-benefits {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
    }
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}