body {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    color: white;
    background-color: #000;
    /* Ensures consistency in background color */
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.background-image {
    width: 100%;
    height: 50vh;
    background: url('../../images/contactusbgs.png') no-repeat center center/cover;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.contact-form-container {
    background-color: #000;
    /* Consistent with body background */
    width: 100%;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    /* Centering the form */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    outline: none;
    background-color: #222;
    color: white;
    font-size: 1rem;
}

.contact-form textarea {
    resize: none;
    height: 150px;
}

.contact-form button {
    padding: 1rem;
    border: none;
    background-color: white;
    color: black;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

.contact-form button:hover {
    background-color: goldenrod;
    color: white;
}

.social-media {
    margin-top: 2rem;
}

.social-media p {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .background-image h1 {
        font-size: 2rem;
        /* Adjusted for better visibility on smaller screens */
    }

    .contact-form-container {
        padding: 1rem;
        /* Reduced padding for smaller screens */
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        /* Smaller padding for inputs and textarea */
        font-size: 0.9rem;
        /* Smaller font size for better fit */
    }

    .contact-form button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .social-icons img {
        width: 25px;
        /* Smaller social icons */
        height: 25px;
    }
}