@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

body,
html {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #ffffff;
}

[dir="rtl"] body,
[dir="rtl"] html {
    font-family: "Tajawal", serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #ffffff;
}

.lh-60{
    line-height:60px;
}

.top-bar .social a {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}

footer{
    background:linear-gradient(280deg, rgba(0, 0, 0, 0) 0%, #006543 45%, #006543 100%), 
    url('../img/footer-bg.png') no-repeat right; 
}
[dir="rtl"] footer{
    /* background-color: #006543; */
    position: relative;
}

[dir="rtl"] footer::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:linear-gradient(280deg, rgba(0, 0, 0, 0) 0%, #006543 45%, #006543 100%), 
    url('../img/footer-bg.png') no-repeat right; 
    transform: scaleX(-1);
    z-index:1;
}

[dir="rtl"] .nf-form-content .list-select-wrap>div div:after{
    left:10px;
    right:auto;
}

[dir="rtl"] .listradio-wrap .nf-field-element label{
    margin-right: 30px !important;
    margin-left: 0px !important;
}

[dir="rtl"] .listradio-wrap .nf-field-element label:after{
    right:-30px;
    left:auto
}

.listselect-container .nf-form-content .list-select-wrap>div{
    margin: 1rem 0;
}

footer .content{
    position: relative;
    z-index: 10;
}

footer .top-bar a::after {
    content: "";
    position: absolute;
    left: 0px;
    width: 2px;
    background-color: #37474F;
    top: 0;
    bottom: 0;
}

[dir="rtl"] footer .top-bar a::after{
    left: auto;
    right: 0;
}

footer .top-bar a::after{
    background-color: #ffffff;
}

footer .top-bar a{
    padding-left:20px;
    position: relative;
    padding-right: 20px;
}

footer .top-bar a:first-child{
    padding-left:0;
}

[dir="rtl"] footer .top-bar a:first-child{
    padding-left:20px;
    padding-right:0;
}

.top-bar a:first-child::after {
    display: none;
}

.hero-sec {
    background: url('../img/hero-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

[dir="rtl"] .hero-sec{
    background: none;
    background-color: #adecff;
    position: relative;
}

[dir="rtl"] .hero-sec::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    transform: scaleX(-1);
    z-index: 1;
}

[dir="rtl"] .hero-sec .content{
    position: relative;
    z-index: 2;
}

.team-top-bnr{
    position: relative;
}

/* .team-top-bnr::after{
    content:"";
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:#14162491;
    border-radius:12px;
} */

.modal{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:#160f1ac9;
    visibility:hidden;
    opacity:0;
    transition:.3s;
    z-index:100;
    overflow:auto;
}

.modal.show{
    visibility: visible;
    opacity:1;
}

.modal .modal-wrap{
    transition:.3s;
    width:0;
    position: absolute;
    /* top:50%; */
    top:50px;
    /* transform:translateY(-50%); */
    left:0;
    right:0;
    margin:0 auto;
    background-color: #FFFFFF;
    /* padding:30px 40px; */
    border-radius:20px;
}

.modal .modal-wrap .field-wrap input:not([type=submit]), .nf-form-content .field-wrap input:not([type=submit]), .nf-form-content textarea.ninja-forms-field{
    border-radius:5px !important;
    background-color: #0000000D !important;
    color: #00000099 !important;
    border: 1px solid #00000033 !important;
    font-size: 1rem;
    line-height: 1.5rem;
    padding:.5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    height:auto !important;
}

.nf-form-content input[type=submit]{
    background-color: #0091BF !important;
    border-radius: 30px !important;
    color:#ffffff !important;
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding:.75rem 0;
    width: 15rem !important;
    height:auto !important;
    margin-top: 2rem;
}

.nf-form-content input[type=radio].ninja-forms-field{
    margin:0 !important;
}

.nf-field-label label{
    position: absolute;
}

#ninja_forms_required_items, .nf-field-container{
    margin-bottom:0 !important;
}

.nf-form-fields-required{
    display:none !important;
}

.modal.show .modal-wrap{
    width:1100px;
}

.modal .close-btn{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor:pointer;
}

.modal .close-btn svg{
    width: 35px;
}

.post-content img{
    width:100% !important;
    height:auto !important;
}

.primary-menu li a{
    color:#333333;
}

.rtl.team-member-template-default .py-11 .text-left.flex{
    text-align:right;
}

@media screen and (max-width: 600px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-sec {
        background: url('../images/top-bnr-mb.webp');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50%;
        background-color: #e6ecf3;
    }
    .modal.show .modal-wrap{
        width:90%;
        padding: 5rem 15px;
    }
}