/* ============================================
   Volunteer Page Styles
   ============================================ */

.volunteer-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003d7a 100%);
    color: white;
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.volunteer-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 var(--space-md);
    position: relative;
    z-index: 1;
}

.volunteer-hero .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.volunteer-registration {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--space-md);
    margin-bottom: var(--space-2xl);
    display: flex;
    gap: var(--space-md);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.success-message h3 {
    margin: 0 0 var(--space-sm);
    font-size: 1.5rem;
}

.success-message p {
    margin: var(--space-xs) 0;
    opacity: 0.95;
}

/* Form Wrapper */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--space-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #004494 100%);
    color: white;
    padding: var(--space-2xl);
    text-align: center;
}

.form-header h2 {
    margin: 0 0 var(--space-sm);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.form-header p {
    margin: 0;
    opacity: 0.9;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Form Body */
.volunteer-form {
    padding: var(--space-2xl);
}

.form-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 2px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--primary-blue);
    margin: 0 0 var(--space-lg);
    font-weight: 600;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-blue), #0066cc);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
}

.required {
    color: #dc2626;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--space-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 165, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border: 2px solid #e5e7eb;
    border-radius: var(--space-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 82, 165, 0.03);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked~span {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Error Messages */
.error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: block;
}

/* Form Actions */
.form-actions {
    margin-top: var(--space-2xl);
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-2xl);
    background: linear-gradient(135deg, var(--accent-gold), #c4941f);
    color: white;
    border: none;
    border-radius: var(--space-3xl);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: #6b7280;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Info */
.contact-info {
    max-width: 800px;
    margin: var(--space-2xl) auto 0;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--space-md);
    border: 2px solid #e5e7eb;
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin: 0 0 var(--space-sm);
}

.contact-info>p {
    color: #6b7280;
    margin: 0 0 var(--space-md);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: #374151;
    font-weight: 500;
}

.contact-item svg {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .volunteer-form {
        padding: var(--space-lg);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
        gap: var(--space-md);
    }
}