/* General Styles for Contact Form */
.send-email-contact-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.send-email-form-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.send-email-form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Form Inputs */
#sendEmailForm input[type="text"],
#sendEmailForm input[type="email"],
#sendEmailForm select,
#sendEmailForm textarea {
    width: 100%;
    padding: 12px;
    margin: 4px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    color: #555;
}

#sendEmailForm textarea {
    resize: vertical;
}

#sendEmailForm button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 15px;
}

#sendEmailForm button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Popup Styles */
.send-email-popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.send-email-popup-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 8px;
}

.send-email-close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.send-email-close-button:hover {
    color: #000;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .send-email-form-container {
        padding: 20px;
    }
    
    .send-email-popup-content {
        width: 90%;
    }
}
