@font-face {
    font-family: Tajawal;
    src: url(../fonts/AAJannatLT-.ttf);
    font-weight: normal;
  }
  @font-face {
    font-family: Tajawal;
    src: url(../fonts/a-jannat-lt-bold.ttf);
    font-weight: bold;
  } 

/* Admin css */
.csf-theme-dark .csf-nav ul li .csf-active , .csf-theme-dark .csf-nav ul li a {
    color: #fff !important;
}

::selection {
    background: #21409A;
    color: #fff;
}
a:hover {
    cursor:default;
}
body {
    box-sizing: border-box;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6,p,span , a{
    font-family: 'Tajawal';
}
body a {
    text-decoration: none !important;
}
body a:visited {
    color: unset !important;
      background: unset !important;
  }

img {
     max-width: 100%; 
}

.title{
    color:#1B1464;
    font-size: 50px;
    line-height: 60px;
    font-weight: 500;
}
.subtitle {
    color:#21409A;
    font: normal normal bold 25px/55px Tajawal;
}

.description-text p {
    color: #58595B;
    font: normal normal normal 17px/27px Tajawal;
}
p.h6 {
    color: #21409A;
    font-size: 20px;
}
img.main-logo{
    width: 120px;
    margin: 15px 0;
}
/* header Menu */

.navbar-expand-lg .navbar-collapse {
    justify-content: end;
}

ul#primary-menu li {
    position: relative;
}


  
ul#adminmenu li {
    color: white !important;
}
ul#primary-menu li , ul#primary-menu li ul li {
    padding: 10px 15px;
}

ul#primary-menu li a , ul#primary-menu li ul li a{
    text-decoration: none;
    color: #58595B;
    text-align: right;
    font: normal normal medium 17px/23px Tajawal;
    letter-spacing: 0px;
    transition: 0.5s ease ;
}

ul#primary-menu li a:hover  {
    color: #21409A !important;
    transition: 0.5s ease ;
}

a.our-location {
    border: 1px solid #FFFFFF;
    border-radius: 7px;
    line-height: 45px;
    color: #fff !important;
    background: #21409A;
    padding: 2px 20px;
    margin-right: 5%;
}
a.our-location:hover  , a.our-location:hover span {
    background: #fff;
    color: #21409A !important;

}
a.our-location:hover svg {
    stroke: #21409A ;
    stroke-width: 1px;
}
a.our-location svg {
    margin-left: 6px;
}
a.our-location span {
color: #fff !important;
}

/* Sub menu */
ul.sub-menu {
    list-style: none;
    margin-right: 0;
    padding-right: 0;
    background: #fff;
    position: absolute;
    z-index: 9;
    width: 200px;
    padding: 0;
    border-radius: 0px 0px 21px 21px;
    top: 60px;
    display: none;
}
ul.sub-menu:before {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    border-bottom: 2px solid #21409A;
}
ul.sub-menu li {
    font: normal normal 600 15px/24px Tajawal;
    box-shadow: 0px 1px 0px #0000000d;
}

ul#primary-menu li:hover  ul.sub-menu{
    display: block;    
}
.bg-1 {
    width: 100%;
    height: 1000px; 
    position: absolute;
    top: 0;
    right:0;
    background-image: url("../images/bg-slider.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;

}

.bg-1::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 90px;
    background: #21409A;
    z-index: 2;
}

.bg-1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    height: 800px;
    background: #21409A;
    z-index: 1;
}
/* slider */
#main-slider {
    position: relative;
}
#main-slider h1 {
    color: #21409A;
    font: normal normal bold 40px/59px Tajawal;
    margin-top: 12%;
}

#main-slider p {
font: normal normal normal 20px/34px Tajawal;
color: #58595B;
}

a.btn.main-btn{
    background: #fff ;
    background: linear-gradient(to right, #fff 50%, #21409A 50%);
    background-position: left bottom;
    background-size: 200% 100%;
    border-radius: 7px ;
    width: 160px ;
    padding: 14px 10px 11px 10px;
    color: #21409A !important ;
    margin: 4% auto ;
    transition: 0.2s ease !important;
    font: normal normal medium 17px/23px Tajawal;
    border: 1px solid #21409A;
}

a.btn.main-btn:hover{
    color: #fff !important;
    background-position: right bottom;
}


a.btn.main-btn span{
    transition: 0.2s ease  !important;
}
a.btn.main-btn:hover span{
    padding-right: 15px;
}

#main-slider .media-items{
height: 639px;
position: relative;

}
#main-slider .item-img {
    width: 100%;
    height: 500px;
    margin: 0 auto;
}

#main-slider .item-img img{
    width: 100%;
    height: 100%;
    margin: auto;
    transition: 0.2s ease  !important;
}
#main-slider .videoSlider {
    --videoWidth: 342px;
    width: var(--videoWidth);
    height: 278px;
    background: #1B1464;
    position: absolute;
    left: calc(50% - var(--videoWidth)/2);
    bottom: 0;
    z-index: 2;
    overflow: hidden;
}
.videoIcon {
    position: absolute;
    width: 52px;
    height: 52px;
    right: calc(50% - 26px);
    bottom: calc(50% - 26px);
    border: 2px solid #fff;
    border-radius: 100%;
    cursor: pointer;
}
.rightArrow {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #fff;
    margin: 37% auto;
    display: block;
}
.popupVideo {
    visibility: hidden;
    height: 100%;
}
.show {
    visibility: visible;
}
.videoSlider img {
    opacity: 0.46;
}
.videoSlider:hover img {
    transform: rotate(3deg) scale(1.3);
    opacity: 1;

}
.videoSlider:hover span {
    border-left: 7px solid #21409A;
}
.videoSlider:hover .videoIcon {
    background: #fff;
}
#main-slider .videoSlider iframe{
    width: 100%;
    height: 100%;
}

.owl-theme .owl-nav {
    position: absolute;
    bottom: 10%;
    right: 42%;
}
.owl-theme .owl-nav [class*=owl-] {
    background: unset;
    color: #204099;
    position: relative;
}


span.rightIcon {
    position: absolute;
    right: 0;
    width: 30px;
    height: 20px;
    background-image: url(../images/arrow-left.svg);
    background-repeat: no-repeat;
    margin-right: 30px;
}

span.leftIcon {
    position: absolute;
    left: 0 ;
    width: 30px;
    height: 20px;
    background-image: url(../images/arrow-right.svg);
    background-repeat: no-repeat;
    margin-left: 30px;
}

.owl-dots  {
    position: absolute;
    left: 5%;
    bottom: 10%;
} 
.owl-theme .owl-dots .owl-dot span {
    margin: 5px 0 !important;
}
#main-slider .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span
{
    border: none !important ;
    background: #1B1464 ;
    width: 40px ;
    height: 2px !important;
}

#main-slider .owl-theme .owl-dots .owl-dot span {
    border: none !important ;
    background: #DEDEDE;
    width: 40px ;
    height: 2px !important;
}

div#counter {
    position: absolute;
    left: 2%;
    background: #21409A;
    color: #fff;
    font-size: 20px;
    bottom: 10%;
    width: 30px;
    text-align: center;
}
/* Services */
.services {
    margin-top: 5%;
}
.services .card {
    border-radius: 14px;
    opacity: 1;
    min-height: 380px;
    margin-bottom: 10px;
}

section.services .item-img {
    height: 180px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s ease-in-out ;
}

section.services .item-img::after  {
    content: "";
    transform: rotate(-5deg);
    width: 161px;
    height: 158px;
    background-image: url(../images/triangle1.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    margin-right: 23px;
    transition: .5s ease-in-out ;
}
/*
.triangle1  {
    height: 100%;
    background-image: url(../images/triangle1.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 15%;
    transition: .5s ease-in-out;
    width: 42%;
    right: 0;
}
.triangle2 {
    position: absolute;
    width: 100%;
    height: 100%;
}
.triangle2::before {
    content: "";
    width: 61px;
    height: 58px;
    background-image: url(../images/small-triangle.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 12%;
    transition: .5s ease-in-out;
}

.triangle2::after {
    content: "";
    width: 61px;
    height: 58px;
    background-image: url(../images/small-triangle.svg);
    background-repeat: no-repeat;
    position: absolute;
    left: 19%;
    top: 22%;
    transition: .5s ease-in-out;
    transform: rotate(45deg);
}

.triangle3 {
    height: 100%;
    background-image: url(../images/triangle3.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 45%;
    transition: .5s ease-in-out;
    width: 100%;
    left: 10%;
} */

section.services .item-img::before  {
    content: "";
    transform: rotate(0deg);
    width: 184px;
    height: 174px;
    background-image: url(../images/triangle2.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    margin-right: 23px;
    transition: 1s ease-in-out ;
}
section.services .item-img:hover::after {
    transform: rotate(10deg);

}

section.services .item-img:hover::before {
    transform: rotate(20deg);

}

section.services .item-img img {
    height: 35px;
    object-fit: contain;
    z-index: 2;
    position: relative;
}


/* about  */
.about {
    position: relative;
    padding-top: 5%;
    padding-bottom: 5%;
    background-image: url(../images/about-bg.png);
    background-position: top right;
}
.about h1 {
    color: #1B1464;
    font: normal normal bold 40px/59px Tajawal;
}
.about .description-text p {
    color: #58595B;
    font-size: 17px;
    line-height: 30px;    
}
/* .mask1 {
    -webkit-mask-image: url(../images/about-mask.png);
    mask-image: url(../images/about-mask.png);
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;    
  } */

.about .img-item {
    position: relative;
    width: 100%;
    margin: auto;
    transition: 0.5s ease ;
}

.about .img-item img {
    transition: 0.5s ease ;
    transform-origin:  right;
    }

.about .img-item img:hover {
    transform: scale(1.05);
}

.about h2 {
    color: #21409A;
    font-size: 30px;
    line-height: 41px;
}

/* status */
.status {
    width: 100%;
    min-height: 150px;
    background: #21409A;
    margin-top: 1%;
    padding-bottom: 4%;
    position: relative;
    background-position: center center;
    background-image: url(../images/status-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 5%;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0.88;
    z-index: 0;
}
.status .overlay {
    background-image: url(../images/status-overlay.svg);
}

.status p  {
    color:#fff;
}
.status h1 {
    color:#fff;
    font: normal normal 900 59px/87px Tajawal;
    padding-top: 7%;
}

.status .item-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-top: 20px;
    position: relative;
    column-gap: 10px;
}

.status img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    z-index: 2;
} 

.status p {
    color: #fff;
    font-size: 27px;
    font-family: 'Tajawal';
    font-weight: 100;
    position: relative;
}

/* departments */
.departments { 
    padding: 5% 0 ;
    background-position: center center;
    background-image: url(../images/departments-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.departments .card {
    transition: .3s ease-in;
}
.departments .card:hover {
    border-bottom: 1px solid #21409A;
}

.departments .item-img {
    height: 184px;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}
.departments .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease-in;
}
.departments .item-img:hover img {
    transform: scale(1.2) rotate(5deg);
}
.departments h2 {
    margin-top: 15px;
}
.departments p.description-text {
    width: 90%;
    padding-bottom: 20px;
    margin: auto;
}
.departments svg {
    transition: .5s ease-out;
}

.departments span.arrow-icon:hover svg {
    margin-right: 10px;
}

/* About-us */
.contact-us {
    background: #F9FAFB;
    padding: 7% 0;
}

.contact-us .row {
    justify-content: center;
}

.contact-us .title {
    margin-top: 10px;
}

.contact-us input::placeholder , .contact-us textarea::placeholder {
    color: #818181 !important;
    font: normal normal normal 14px/19px Tajawal !important;
    padding-right: 18px;
}
.contact-us textarea.form-control::placeholder {
    padding-top: 20px;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    border-color: #ECEEEF !important;
    line-height: 3;
    text-align: right;
    border-radius: 7px;
    padding-right: 22px !important;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit.btn-block.btn.btn-primary.btn-lg {
    background: #1B1464;
    color: #fff !important;
    margin-top: 40px;
    padding: 15px 45px;
    font-size: 17px;
    border-radius: 7px;
    transition: .5s ease;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit.btn-block.btn.btn-primary.btn-lg:hover {
    background: #21409A !important;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control , .form-control:focus {
    box-shadow: none;
    margin-bottom: 10px;
}

/* google map */
.google-maps {
    margin-bottom: -8px;
    overflow: hidden;
}
.google-maps:hover iframe {
    filter: grayscale(0.8);

}

.google-maps iframe {
    filter: grayscale(1);
}
/* Footer */
#footer {
    background: #21409A;
    background-image: url(../images/footer-bg.jpg);
    color: #fff;
    padding-top: 6%;
    padding-bottom: 1%;
    position: relative;
}
#footer .overlay {
    background: #21409A;
    background: linear-gradient(0deg, rgba(27,20,100,1) 0%, rgba(33,64,154,1) 100%);
    z-index: 0;
    opacity: 0.93;
}

#footer .container {
    position: relative;
    z-index: 2;
}

#footer a , #footer p , #footer li {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 100;
}
#footer li {
    list-style: none;
}
#footer img.footer-logo {
    width: 137px;
    margin: auto;
    display: block;
}
#footer h2.subtitle {
    color: #fff;
    font-size: 22px;
    line-height: 20px;
    padding-bottom: 15px;
    font-weight: 300;
}


#footer .btn.contact-us {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 10px 25px;
    margin: 25px auto;
    width: 60%;
    display: block;
    transition: 0.6s ease ;
}
#footer .btn.contact-us:hover {
    background: #fff;
    color: #21409A;
}

.socialmedia {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.socialmedia a {
    margin-right: 15px;
    border: 1px solid #31478A;
    border-radius: 5px;
}

.socialmedia svg{
    transform: scale(0.5);
}


#footer .copyright p {
    font-size: 13px;
}
#footer ul {
    margin: 0;
    padding: 0;
}
#footer li {
    list-style: none;
    font-size: 16px;
    line-height: 40px;
}


/****************************** inner pages */
/****************************** inner pages */

.post, .page {
    margin: 0 !important;
}
.entry-header {
    background: #21409A;
    padding: 35px 0;
    color: #fff;
    background-image: url('../images/triangle2.svg');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 25% 90%;
    position: relative;
    overflow: hidden;
}

.entry-header::after {
    background-image: url(../images/triangle2.svg);
    content: "";
    top: 0;
    right: 0;
    width: 300px;
    height: 143px;
    position: absolute;
}

.entry-header h1 , h1.entry-title{
    font-size: 26px;
    position: relative;
    line-height: 36px;
    background: #21409A;
    width: max-content;
    margin-right: 12% ;
}

.post-thumbnail img {
    height: auto;
    max-width: 100%;
    max-height: 400px;
    width: auto;
    margin: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
}


.entry-content p {
    line-height: 2;
}

footer.entry-footer {
    margin-bottom: 10px;
}
span.edit-link {
    border: 1px solid #21409A;
    padding: 10px 30px;
    border-radius: 5px;
    background: #21409A;
    color: #fff !important;
    margin-right: 5%;
}
a.post-edit-link {
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

/****************************** Media queries */
/****************************** Mobile and small screen  */


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

    ul#primary-menu li a, ul#primary-menu li ul li a {
        font-size: 16px;
    }
    img.main-logo {
        width:100px
      } 

      .title {
          font-size: 38px;
          line-height: 40px;
      }

      .subtitle {
          font-size: 20px;
          line-height: 1;
      }
      .about h1 {
        color: #1B1464;
        font: normal normal bold 30px/40px Tajawal;
    }
    .description-text p {
        font-size: 15px;
    }
    p.h6 {
        font-size: 15px;
    }

    .about h2 {
        font-size: 25px;
        line-height: 35px;
    }

    /* .triangle1::before {
        transform: scale(.8);
    } */
      #footer .copyright p{
        font-size: 12px;
        line-height: 33px;
      }

      .status p {
        font-size: 22px;
      }

      #main-slider .item-img {
        min-height: 400px;
    }
  } 

@media only screen and (max-width: 1000px) {
    .owl-theme .owl-nav {
        bottom: -20px;
    }
    .owl-dots {
        bottom: -30px;
        left: 15%;
    }
    div#counter {
        bottom: -30px;
    }
    .owl-theme .owl-nav {
        right: 10%;
    }
    span.leftIcon {
        margin-left: 10px;
    }
    span.rightIcon{
        margin-right: 10px ;
    }
    #main-slider .media-items {
        height: 345px;
    }

    /* .triangle1 {
        top: 5%;
        right: 11%;
        width:50%;
    } */
    /* .triangle3 {
        width: 25%;
    } */

}
@media only screen and (max-width: 768px) {

    .bg-1 {
        display: none;
    }
    #main-slider h1 {
        font-size: 25px;
        margin: 15px 0;
        line-height: 1.3;
        font-weight: 250;
    }

    #main-slider .item-img {
        width: 100%;
        height: 300px;
    }
    #main-slider .item-img img {
         width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #main-slider p {
        font-size: 15px;
        line-height: 22px;
    }

    a.btn.main-btn {
        width: 110px;
        padding: 6px 0px;
        font: normal normal medium 17px/23px Tajawal;
        margin: auto auto 15px;
        display: block;
    }
    
    #main-slider .videoSlider {
        --videoWidth: 250px;
        height: 200px;
    }
 
    a.our-location {
        padding: 12px 20px !important;
    }
    .subtitle {
        text-align: center;
    }
    .vision .img-item::after {
        width: 50%;
        right: 30%
    }

    /* .triangle1 {
        top: 27%;
        right: 0%;
        transform: rotate(0deg) scale(1);
    }

    .triangle2 {
        width: 88%;
    } */
      .entry-header {
          padding: 5px 0 ;
      }

      .services {
        margin-top: 10%;
    }

    .status {
        border-radius: 18px;
    }
    section.status.container .col-6:last-child {
        margin: auto;
    }

    .departments .arrow-icon {
        margin-top: 0;
    }
    footer .socialmedia a {
        margin-top: 20px;
        /* margin: 10px auto !important; */
    }

    .socialmedia svg {
        margin-bottom: 20px;
    }
    .socialmedia a::after {
        width: 39px;
        left: -17px;
        top: 0;
    }

  } 

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

    span.leftIcon , span.rightIcon{
        transform: scale(0.7);
    }

    #main-slider .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span ,
    #main-slider .owl-theme .owl-dots .owl-dot span {
        width: 25px;

    }

  /* .triangle1 {
    top: 17%;
    right: 9%;
    transform: rotate(0deg) scale(1);
} */
.status h1 {
    font: normal normal 900 45px/37px Tajawal;
    padding-top: 6%;
}

section.services .item-img::before , section.services .item-img::after {
    max-width: 100%;
    transform: rotate(0deg) scale(0.8);
}
section.services .item-img {
    margin-bottom: 0;
}



  }
