/* Responsive and Accessible Form Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.form-section {
    flex: 1 1 500px;
}

.membership-cards {
    flex: 1 1 300px;
    display: grid;
    gap: 1rem;
}

.membership-card {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.membership-card:nth-child(1) { animation-delay: 0.2s; }
.membership-card:nth-child(2) { animation-delay: 0.4s; }
.membership-card:nth-child(3) { animation-delay: 0.6s; }
.membership-card:nth-child(4) { animation-delay: 0.8s; }

form {
    display: grid;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}