/* contact section styling */
.contact {
    color: #414141;
    background: #f9f9f9;
}
.contact .max-width {
    /* Your styles here */
}
.contact .title {
    /* Your styles here */
}
.contact .title::after {
    content: "get in touch";
    background: #fff;
}
.contact .contact-content {
    /* Your styles here */
}
.contact .contact-content .column {
    width: calc(50% - 30px);
}

/* Styles for the left column */
.contact .contact-content .column.left {
    /* Your styles here */
}
.contact .contact-content .left .text,
.contact .contact-content .right .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 45px;
    color: #414141;

    /* font-size: 20px;
    font-weight: 600;
    margin-bottom: 35px;
	margin-left: 48px;
    color: #414141; */
}
.contact .contact-content .left .icons {
    margin: 10px 0;
}
.contact .contact-content .left .icons .row {
    display: flex;
    height: 65px;
    align-items: center;
}
.contact .contact-content .left .icons i {
    font-size: 25px;
    color: rgb(209, 17, 104);
}
.contact .contact-content .left .icons .info {
    margin-left: 30px;
}
.contact .contact-content .left .icons .info .head {
    font-weight: 500;
}

/* Styles for the right column */
.contact .contact-content .column.right {
    /* Your styles here */
}
.contact .contact-content .right form .fields {
    display: flex;
}
.contact .contact-content .right form .field,
.contact .contact-content .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .contact-content .right form .field select,
.contact .contact-content .right form .field input,
.contact .contact-content .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.contact .contact-content .right form .field.textarea {
    height: auto; /* überschreibt die 45px */
}

.contact .contact-content .right form .field.textarea textarea#message {
    min-height: 220px; /* gewünschte Größe */
    height: 220px; /* optional: fix */
    resize: vertical; /* User darf größer ziehen */
    padding-top: 10px;
    box-sizing: border-box;
}

.contact .contact-content .right form .field select:focus,
.contact .contact-content .right form .field input:focus,
.contact .contact-content .right form .textarea textarea:focus {
    border-color: #b3b3b3;
}
.contact .contact-content .right form .textarea textarea {
    padding-top: 10px;
    resize: none;
}

/* Consent and buttons for both columns */
.contact .contact-content .consent {
    color: #414141;
}
.contact .contact-content .button {
    height: 47px;
    width: 170px;
}
.contact .contact-content .button input,
.contact .contact-content .button button {
    width: 100%;
    height: 100%;
    border: 2px solid rgb(209, 17, 104);
    background: rgb(209, 17, 104);
    color: #fff;
    outline: none;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact .contact-content .button input:hover,
.contact .contact-content .button button:hover {
    color: rgb(209, 17, 104);
    background: none;
}

/* Desktop: Name + Email stay in one row but with a small gap */
@media (min-width: 948px) {
    .contact .contact-content .right form .fields {
        display: flex;
        gap: 12px; /* ✅ spacing between Name and Email */
        align-items: stretch;
    }

    /* Ensure both fields share the row evenly */
    .contact .contact-content .right form .fields .field {
        flex: 1 1 0;
        margin-bottom: 0; /* avoid extra spacing inside the row */
    }
}

/* Desktop: Name + Email stay in one row but with a small gap */
@media (min-width: 948px) {
    .contact .contact-content .right form .fields {
        display: flex;
        gap: 12px; /* ✅ spacing between Name and Email */
        align-items: stretch;
    }

    /* Ensure both fields share the row evenly */
    .contact .contact-content .right form .fields .field {
        flex: 1 1 0;
        margin-bottom: 0; /* avoid extra spacing inside the row */
    }
}

/* Desktop: center the whole contact form block */
@media (min-width: 948px) {
    /* Center the column that contains the form */
    .contact .contact-content .column.right {
        margin: 0 auto; /* ✅ centers the block */
        width: 100%; /* allow centering logic */
        max-width: 620px; /* ✅ controls form width on big screens */
    }

    /* Ensure the form itself fills the centered column nicely */
    #contactForm {
        width: 100%;
    }
}

/* Desktop: keep Name+Email in one row WITH gap,
   but restore spacing BELOW that row before the message field */
@media (min-width: 948px) {
    /* keep the side-by-side gap */
    .contact .contact-content .right form .fields {
        gap: 12px;
        margin-bottom: 15px; /* ✅ spacing to message field */
    }

    /* keep the two fields aligned, but don't kill spacing from the row */
    .contact .contact-content .right form .fields .field {
        flex: 1 1 0;
        margin-bottom: 0; /* still fine because row provides spacing */
    }
}


/* Mobile: stack columns and make them full width */
@media (max-width: 947px) {
    .contact .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact .contact-content .column {
        width: 100%;
        max-width: 100%;
    }

    .contact .contact-content .column.right {
        margin: 0 auto;
    }
}

