.contact {
    background: #efedf7;
    box-shadow: 0px -35px 24px #efedf7;
    padding: 2rem 0rem;
}

.contact .cont {
    width: 90%;
    margin: 0rem auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background-color: #fff;
    border: thin solid transparent;
    border-radius: 0.8rem;
    border-top: 5px solid #383172;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    box-shadow: 0px 0px 20px -8px #383172;
}
.contact .cont .text {
    color: #383172;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0rem;
}
.contact .cont .text h3 {
    font-weight: 800;
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}
.contact .cont .text h3::before {
    content: "";
    width: 50%;
    height: 5px;
    border-radius: 2rem;
    position: absolute;
    bottom: -0.8rem;
    background: linear-gradient(90deg, #383172 6%, rgba(56, 49, 114, 0.2));
}
.contact .cont .text h3.ar::before {
    right: 0;
}
.contact .cont .text h3.en::before {
    left: 0;
}
.contact .cont .text .info {
    margin: 1rem 0rem;
    color: #000;
    padding: 0rem;
}
.contact .cont .text .info li {
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}
.contact .cont .text .info li span {
    font-size: 1.2rem;
    font-weight: 600;
}
.contact .cont .text .info li span.phone-en {
    direction: ltr;
}
.contact .cont .text .info li i {
    color: #fff;
    padding: 0.5rem;
    background-color: #383172;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
}
.contact .cont .text .social {
    margin: 1rem 0rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 0rem 0.3rem;
}
.contact .cont .text .social li a i {
    color: #383172;
    font-size: 1.5rem;
}
.contact .cont .text.ar {
    text-align: right;
}
.contact .cont .text.en {
    text-align: left;
}

.contact .cont form {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: flex-start;
    gap: 0.5rem;
    width: 48%;
}
input[type="text"],
input[type="email"],
input[type="number"] {
    text-align: right;
}
.contact .cont form h3 {
    margin-bottom: 1rem;
}
.contact .cont form ul {
    padding: 0rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0rem;
}
.contact .cont form ul li {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}
.contact .cont form ul li.active {
    color: #383172;
}
.contact .cont form ul li.active::before {
    content: "";
    width: 90%;
    height: 5px;
    border-radius: 2rem;
    position: absolute;
    bottom: -0.8rem;
    background: linear-gradient(90deg, #383172 6%, rgba(56, 49, 114, 0.2));
}
.contact .cont form label {
    width: 100%;
}
.contact .cont form label input,
.contact .cont form label textarea {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: #f3f2fa;
}
.contact .cont form .submitBtn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    border: none;
    background: #383172;
}

.contact .cont form .submitBtn:hover {
    background: linear-gradient(283deg, #383172 37%, rgba(4, 49, 114, 0.2));
}

@media (max-width: 787px) {
    .contact .cont .text {
        width: 100%;
        text-align: center;
    }
    .contact .cont form {
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 94%;
        margin: 0rem auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contact .cont .text {
        width: 100%;
        text-align: center;
    }
    .contact .cont form {
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 94%;
        margin: 0rem auto;
    }
}
