/* Base styles for the contact page */
.contactpagina {
    font-family: "Montserrat", sans-serif;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contact heading */
.contacttxt {
    color: rgb(87, 13, 72);
    font-size: 3rem;
    font-weight: bolder;
    text-align: center;
    width: 100%;
}

/* Contact description text */
.contactfilling {
    color: black;
    font-size: 1.3rem;
    text-align: center;
    width: 70%;
    margin-top: 5%;
}

/* Wrapper to center the form and contact info */
.contact-form-center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10rem; 
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto 0 auto;
    flex-wrap: wrap;
}

/* Contact form fields */
.contact-input-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30%;
}

/* Form field container */
.contact-field {
    display: flex;
    align-items: center;
    background-color: rgb(193, 142, 216);
    padding: 0.8rem;
    border-radius: 0.9rem;
    width: 100%;
}

/* Form labels */
.contact-field label {
    font-weight: bold;
    margin-right: 1rem;
}

/* Inputs and textarea */
.contact-field input,
.contact-field textarea {
    flex-grow: 1;
    box-sizing: border-box;
    border: none;
    border-radius: 0.4rem;
    background-color: rgb(193, 142, 216);
}

/* Checkbox section */
.contact-checkbox-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-top: 2rem;
}

/* Checkbox itself */
.contact-checkbox {
    margin-right: 1rem;
    transform: scale(1.2);
}

/* Checkbox label */
.contact-checkbox-label {
    font-size: 1.4rem;
    color: rgb(0, 0, 0);
}

/* Privacy links */
.contact-privacy-link {
    color: rgb(255, 156, 233);
    text-decoration: none;
}

/* Send button */
.contact-send-button {
    background-color: rgb(193, 142, 216);
    color: #fff;
    border: none;
    padding: 0.4rem 2rem;
    border-radius: 0.9rem;
    cursor: pointer;
    font-size: 1.6rem;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
    align-self: center;
}

.contact-send-button:hover {
    background-color: rgb(142, 92, 166);
}

/* Contact info section */
.contact-info {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 40%;
    font-size: 1rem;
    bottom: 15%;
    color: rgb(0, 0, 0);
}

/* Responsive styles */
@media (max-width: 768px) {
    .contactfilling {
        width: 90%;
    }

    .contact-form-center {
        flex-direction: column;
        align-items: center;
    }

    .contact-input-fields,
    .contact-info {
        width: 100%;
        margin-top: 2rem;
    }
}
