.contact-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    text-align: center;
}

body.dark-mode .contact-container {
    background-color: rgba(46, 46, 46, 0.8);
}

.contact-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    /* Remove bullet points */
    padding: 0;
    margin-bottom: 20px;
}

.contact-info li {
    margin: 10px 0;
}

.contact-info a {
    color: #333333;
    /* Set text color to dark grey for light mode */
    text-decoration: underline;
    /* Keep the underline */
}

.contact-info a:hover {
    text-decoration: underline;
    /* Ensure underline remains on hover */
}

body.dark-mode .contact-info a {
    color: #ffffff;
    /* Set text color to white for dark mode */
    text-decoration: underline;
    /* Keep the underline */
}

body.dark-mode .contact-info a:hover {
    text-decoration: underline;
    /* Ensure underline remains on hover */
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 90%;
    /* Set width to 90% */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #2e2e2e;
    /* Dark grey background for dark mode */
    color: #ffffff;
    /* White text for dark mode */
}

.submit-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #007bff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #0056b3;
}