.container-contact .card-contact {
    border-radius: 32px;
    border: 1px solid var(--Neutral-100, #FAFAFA);
    background: var(--Neutral-White, #FFF);
    box-shadow: 0px 16px 40px 0px rgba(64, 64, 64, 0.08);


}
.contact {
    color: var(--Primary-500, #14489C);
    font-size: 47px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.form-control {
    padding: 8px 8px;
    border-radius: 12px;
    border: 1px solid var(--Neutral-300, #F2F2F2);
}
.main-contact h6 {
    color: var(--Neutral-White, #FFF);
    font-size: calc(10px + 1vw);
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 30px */
}
.contact-content {
    color: var(--Neutral-600, #999);
    text-align: center;
    font-size: clamp(16px, 2vw + 1rem, 28px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 30px;
}
.input-icon {
    position: relative;
}
    .input-icon input,
    .input-icon textarea {
        padding-left: 2.5rem; 
    }

.input-icon-svg {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.container-contact {
    padding-top: 11px;
    padding-bottom: 17px;
}
    .container-contact .card-contact h4 {
        color: var(--Primary-500, #0C2A5A);
        font-size: calc(1vw + 1rem);
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        padding-top: 15px;
        padding-bottom: 9px;
    }


    .container-contact .form-control:hover {
        border-color: #0C2A5A;
    }

        .container-contact .form-control:focus {
            box-shadow: none;
            border-color: #ced4da;
        }

.form-control:focus {
    border-color: #0C2A5A !important;
}
.container-contact .SendButton {
    border-radius: 12px;
    background: var(--Primary-500, #0C2A5A);
    color: var(--Neutral-White, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 10px 64px;
    margin-top: 32px;
    margin-bottom: 40px;
}
.container-contact .contact-image h3 {
    font-size: clamp(1.5rem, 4vw,2rem);
    padding-top: 32px;
    padding-bottom: 11px;
}
.container-contact .contact-image h5 {
    color: var(--Neutral-600, #999);
    font-size: calc(1.2vw + 0.5rem); /* Responsive font size using calc() */
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    padding-bottom: 10px;
    text-align: center;
}

.container-contact .contact-image p {
    color: var(--Neutral-600, #999);
    font-size: clamp(0.875rem, 2vw, 1rem); /* Example values, adjust as needed */
    font-style: normal;
    font-weight: 500;
    line-height: 180%;
}
html[lang="en"].container-contact .contact-image h3 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

html[lang="ar"].container-contact .contact-image h3 {
    font-size: clamp(2.5rem, 4vw, 3rem);
}
@media screen and (min-width : 340px) and (max-width:740px) {
    .container-contact {
        padding-top: 10px;
        padding-bottom: 10px;
    }
        .container-contact .card-contact {
 
            padding-left: 15px;
            padding-right: 15px;
            padding-top: 1px;
        }

    .container-contact .card-contact h4 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .container-contact .contact-image p {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }
}

@media screen and (min-width : 768px) {
    .container-contact .card-contact h4 {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

    .container-contact .contact-image p {
        font-size: clamp(0.875rem, 2vw, 1.25rem);
    }
}

@media screen and (min-width : 992px) {
    .container-contact .card-contact h4 {
        font-size: clamp(2.25rem, 2.5vw, 3.5rem);
    }

    .container-contact .contact-image p {
        font-size: clamp(0.875rem, 1.5vw, 1.5rem);
    }
}

@media screen and (min-width : 1200px) {
    .container-contact .card-contact h4 {
        font-size: clamp(2.5rem, 2vw, 4rem);
    }

  
    .container-contact .contact-image p {
        font-size: clamp(0.875rem, 1vw, 1.75rem);
    }
}
/* For Handle Contact Form Error */
.container-contact .text-danger {
    color: #dc3545; /* Red color for errors */
    font-size: 0.875rem; /* Smaller font size for better readability */
    margin-top: 0.25rem; /* Adds some space between the input and the error message */
    display: block; /* Ensures the span takes up the full width available */
}

    /* Optional: Add a custom style to make the validation message bold */
    .container-contact .text-danger.my-2 {
        font-weight: 600;
    }

/* Styling for the validation span specifically when used with the Notes textarea */
.container-contact  .form-group textarea + .text-danger {
    margin-top: 0.5rem; /* More space above validation message under the textarea */
}

/* Add some extra styling for better UI feedback on error */
input.is-invalid, textarea.is-invalid {
    border-color: #dc3545; /* Red border to indicate an error */
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); /* Subtle red glow */
}

    input.is-invalid:focus, textarea.is-invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); /* Stronger red glow on focus */
    }


