* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background: url('img-contactus/homeofassociation.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}













.form-container {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #f0e68c;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-column {
    flex: 1;
    min-width: 250px;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #f0e68c;
}

select, input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #f0e68c;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

textarea {
    resize: vertical;
}

small {
    color: #f0e68c;
    display: block;
    margin-bottom: 10px;
    text-align: right;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #f0e68c;
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ffd700;
}

.message-container {
    text-align: center;
    margin-bottom: 20px;
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
}

@media (max-width: 800px) {
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 20px;
    }

    .form-column {
        min-width: 100%;
    }
}
