/* Integrated Form Design */
.application-form {
    padding: 6rem 0;
    background: #f8fafc;
}

/* Header Spacing */
@keyframes highlightPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        color: var(--primary-color);
    }

    100% {
        transform: scale(1);
        color: var(--primary-dark);
    }
}

.application-form h2 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 800;
    animation: highlightPulse 2s infinite ease-in-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.application-form p {
    margin-bottom: 3rem;
    /* Increased from default to give breath */
    color: #4a5568;
    font-size: 1.1rem;
}

.volunteer-form {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.form-step h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 2rem;
    /* Increased spacing before the inputs */
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-top: 1rem;
    /* Added top margin for step title */
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: transparent;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
    color: #1a202c;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
    outline: none;
}

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

.input-group {
    margin-bottom: 1.5rem;
    /* Ensure spacing between individual inputs */
}

/* Specific styling for the header h2 and p to match the request of "breath" */
.container h2+p {
    margin-bottom: 4rem !important;
    /* Force more space between subtitle and form start */
}