.contact-card {
    background-color: #f9fafb;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    display: flex;
}

.contact-page-card-title {
    color: #1f2023;
    letter-spacing: -2.1px;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 48px;
    font-weight: 600;
    line-height: 120%;
}

.contact-card-container {
    margin-bottom: 100px;
    display: flex;
    align-items: stretch;
    gap: 20px;

}

@media (max-width: 690px) {

    .contact-card-container {
        flex-direction: column;

    }
}

.contact-card-header {
    margin-bottom: 30px;
}


/* Contact form */
.contact-form-card {
    background-color: var(--primary-color);
    border-radius: 12px;
    width: 35%;
    padding: 60px 40px;
}

.contact-form-wrapper {
    display: flex;
    row-gap: 30px;
    margin-bottom: 100px;
}


.contact-form {
    padding-left: 60px;
    flex: 1;
}

.contact-form-input {
    width: 100%;
    border: 1px solid var(--primary-color);
    background-color: var(--white);
    border-radius: 10px;
    height: auto;
    padding: 16px 18px;
    font-size: 16px;
    transition: all .2s;
}

textarea.contact-form-input {
    height: 126px;
    resize: vertical;
    margin-bottom: 30px;
}

.contact-form-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: 40px;

}

.contact-card-img{
    background-color: #dddfff;
    color: var(--white);
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    font-family: "Fa solid 900", sans-serif;
    font-size: 30px;
    display: flex;
    padding: 10px;
}

.email-icon-wrapper{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

@media (max-width: 900px) {

    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form-card {
        width: 100%;
    }

    .contact-form {
        padding-left: 0;

    }
}

@media (max-width: 600px) {
    .contact-form-input-wrapper {

        flex-direction: column;
       }

    }

.contact-form-input-wrapper {
    display: flex;
    gap: 10px; /* Space between the two input groups */
    margin-bottom: 15px;
    margin-top: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1; /* Ensure both inputs take equal width */
}

.contact-form-input {
    width: 100%; /* Make input fields full width within each input-group */
}

.text-danger {
    color: #ff4d4f; /* Warning color */
    font-size: 14px;
    margin-top: 5px;
}
