.contact_main_div {
    margin: 24px 0;
    justify-content: center;
}
.contact_main_div form.contact_us {
    margin: 40px;
}

.contact_main_div .activity-img {
    width: 30%;
}

.contact_details:focus-visible {
    border: 2px solid;
    border-radius: 3px;
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.contact_details,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid;
    border-color: #d3d3d3;
    background-color: #ffffff;
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.user_detail {
    width: 100%;
}
.Form_div{
    display: flex;
    flex-direction: row;
    gap: 20%;
}
.red{
    color:rgb(216, 56, 56);
}
.submit_btn {
    width: center;
    background-color: #225086;
    color: #FBFCEE;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit_btn:hover {
    background-color: #397aca;
}

.nam_email {
    display: flex;
    gap: 24px;
}

form.contact_us {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 40px auto;
}

@media (max-width: 991px) {

    form.contact_us{
        width: 70%;
    }
}
@media (max-width: 767px) {
    
    .nam_email {
        gap: 0px;
        flex-direction: column;
    }

    .contact_main_div .activity-img {
        width: 50%;
    }

}

@media (max-width: 400px) {

    form.contact_us{
        width: 90%;
    }
}