@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/tajawal/Tajawal-Regular.eot');
    src: url('../fonts/tajawal/Tajawal-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/tajawal/Tajawal-Regular.woff2') format('woff2'),
    url('../fonts/tajawal/Tajawal-Regular.woff') format('woff'),
    url('../fonts/tajawal/Tajawal-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Madani';
    src: url('../fonts/Madani Arabic Regular.ttf');
}

/******************************/
:root {
    --main: #1174A9;
    --sec: #77B043;
    --btn: #536056BA;
    --black: #000000;
    --white: #ffffff;
}

/******************************/
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

.wrap {
    overflow: hidden;
}

html[dir="ltr"] body {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] body {
    direction: rtl !important;
    text-align: right !important;
}

body {
    font-family: 'Madani', serif !important;
    color: var(--black);
    background: var(--white) !important;
    font-size: 16px;
}

p:last-of-type {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: bold;
}

button,
li,
a {
    transition: all 0.5s ease-in-out;
}

a {
    display: inline-block;
}

a,
a:focus,
a:hover {
    text-decoration: none;
}

ul, ol {
    margin-bottom: 0;
}

button:focus {
    outline: 0;
}

li,
input[type=submit],
a {
    transition: all 0.5s linear;
}

img, iframe, video {
    max-width: 100%;
}

ul {
    list-style: none;
    padding: 0;
}

.no-padding {
    padding: 0 !important;
}

.form-group, form {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .form-group,
html[dir="ltr"] form {
    direction: ltr;
    text-align: left;
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--main);
}

.main-btn {
    width: 140px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    text-align: center;
    border-radius: 35px;
    color: var(--white);
    background: var(--btn);
    border: 1px solid var(--btn);
    position: relative;
    overflow: hidden;
    transition: all .35s ease-in-out;
}

.main-btn:hover {
    color: var(--white);
    background: var(--sec);
    border: 1px solid var(--sec);
}

.main-title {
    font-weight: bold;
    font-size: 34px;
    color: var(--main);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .main-tit {
        font-size: 36px;
    }
}

@media (max-width: 500px) {
    .main-tit {
        font-size: 24px;
    }
}

/******************************/
/******************************/
header {
    background: var(--white);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.main-logo {
    position: relative;
    z-index: 2;
}

/*language && search */

.language .dropdown {
    margin: 0 !important;
}

.search-language {
    display: flex;
    align-items: center;
}

#search-header .search-form {
    position: relative;
    height: 40px;
}

#search-header input[type="search"] {
    font-size: 14px;
    color: var(--main);
    font-weight: 300;
    outline: none;
    line-height: normal;
    width: 100%;
    height: 40px;
    padding-inline-start: 10px;
    border-radius: 35px;
    border: 1px solid var(--main);;
}

.search-icon {
    position: absolute;
    top: 30%;
    left: 20px;
    transform: translate(0, -50%);
}
html[dir="ltr"] .search-icon{
    left: unset;
    right: 20px;

}
.search-icon:before {
    font-family: "Font Awesome 6 Free", serif;
    content: "\f002";
    font-weight: 900;
    display: inline-block;
    font-size: 14px;
    padding-top: 20px;
    color: var(--main);
}

.lang {
    color: var(--main);
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    transition: all .35s ease-in-out;
}

.language {
    margin-inline-start: 10px;
    color: var(--main);
}

.language-drop {
    background: transparent;
    color: var(--black);
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    transition: all .35s ease-in-out;
}

.language-drop::before {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.language-drop::after {
    content: none !important;
}

.language .dropdown-menu.show {
    text-align: center;
}

/*nav*/
.header-nav {
    background: var(--main);
    padding: 20px 0;
}
@media (min-width: 992px) {


    .main-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 0;
        position: relative;
    }

    .nav-list > .menu-item {
        position: relative;
    }

    html[dir="ltr"] .nav-list > .menu-item:not(:last-of-type) {
        margin-inline-end: 5px;
    }

    html[dir="rtl"] .nav-list > .menu-item:not(:last-of-type) {
        margin-inline-start: 5px;
    }

    .nav-list > .menu-item > a {
        display: block;
        color: var(--black);
        background: var(--white);
        padding: 5px 10px;
        font-size: 14px;
        position: relative;
        text-align: start;
        transition: all 0.5s ease-in-out;
    }
    html[dir="ltr"] .nav-list > .menu-item > a{
        padding: 5px 5px;
        font-size: 13px;
    }

    .nav-list > .menu-item:nth-of-type(odd) {
        border: 1px solid var(--white);
        padding: 4px;
        border-radius:   0;
    }

    .nav-list > .menu-item:nth-of-type(odd) a {
        border-radius: 10px 10px 10px 0;
    }

    .nav-list > .menu-item:nth-of-type(even) {
        border: 1px solid var(--white);
        padding: 4px;
        border-radius: 0 ;
    }

    .nav-list > .menu-item:nth-of-type(even) a {
        border-radius: 0 10px 0 10px;
    }

    .nav-list > .menu-item-has-children > a:after {
        display: inline-block;
        content: "\f0d7";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-inline-start: 10px;
        color: var(--sec);
        background: transparent;
        transition: all .35s ease-in-out;
    }

    .nav-list > .menu-item:hover > a:before,
    .nav-list > .menu-item.active a:before {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .nav-list > .menu-item-has-children:hover a:after {
        transform: rotateX(-180deg);
        color: var(--black);
    }

    html[dir="rtl"].sub-menu {
        left: 0;
    }

    html[dir="ltr"].sub-menu {
        right: 0;
    }

    .sub-menu {
        position: absolute;
        top: 100%;
        z-index: 4;
        min-width: 350px;
        background-color: rgba(255, 255, 255, 1);
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform-origin: 0 0 0;
        transform: scaleY(0);
        box-shadow: 0 3px 6px rgba(0, 0, 0, .1);
        transition: all 0.2s ease-in-out;
    }

    .sub-menu li {
        position: relative;
        padding: 0 20px;
    }

    .sub-menu li:not(:last-of-type) a {
        margin-bottom: 10px;
    }

    .sub-menu li a {
        display: block;
        width: 100%;
        position: relative;
        color: var(--black);
        padding-bottom: 10px;
        transition: all 0.5s ease-in-out;
    }


    html[dir="rtl"] .nav-list .sub-menu > li.menu-item-has-children > a:after {
        left: 0;
        content: "\f324";
    }

    html[dir="ltr"] .nav-list .sub-menu > li.menu-item-has-children > a:after {
        right: 0;
        content: "\f323";
    }

    .nav-list .sub-menu > li.menu-item-has-children > a:after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--black);
        position: absolute;
        transition: all 0.5s ease-in-out;
    }

    .sub-menu li a:hover {
        color: var(--sec);
    }

    .nav-list .sub-menu > li.menu-item-has-children:hover > a:after {
        color: var(--sec);
    }

    .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        top: 100%;
        transform: scaleY(1);
    }

    html[dir="rtl"] .sub-menu .menu-item-has-children .sub-menu {
        right: 100%;
    }

    html[dir="ltr"] .sub-menu .menu-item-has-children .sub-menu {
        left: 100%;
    }

    .sub-menu .menu-item-has-children .sub-menu {
        top: 0 !important;
    }

    html[dir="rtl"] .sub-menu .menu-item-has-children:hover > .sub-menu {
        right: 100%;
    }

    html[dir="ltr"] .sub-menu .menu-item-has-children:hover > .sub-menu {
        left: 100%;
    }


    html[dir="rtl"] .nav-list > .menu-item-has-children > .sub-menu a:before {
        content: "\f100";
    }

    html[dir="ltr"] .nav-list > .menu-item-has-children > .sub-menu a:before {
        content: "\f101";
    }

    .nav-list > .menu-item-has-children > .sub-menu a:before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: inline-block;
        margin-inline-end: 10px;
        color: var(--black);
        font-size: 14px;
        transition: all .35s ease-in-out;
    }

    .nav-list > .menu-item-has-children > .sub-menu a:hover:before {
        color: var(--sec);
    }

    .nav-btn,
    .mobile-nav-list,
    .dd-trigger {
        display: none;
    }
}

@media (max-width: 992px) {

    /*nav*/
    .header-nav {
         padding: 0;
    }
    .nav-list {
        display: none;
    }

    .dd-trigger {
        display: inline-block;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .head-logo {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }

    .menu-icons a:not(:last-of-type) {
        margin-inline-end: 10px;
    }

    .nav-list > li.menu-item-has-children > a:after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--white);
        position: absolute;
        transition: all 0.5s ease-in-out;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        color: var(--white);
        background-color: var(--sec);
        margin-inline-end: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease-in-out;
    }


    html[dir="ltr"] .mobile-nav-list {
        left: 0;
        transform: translateX(-100%);
    }

    html[dir="rtl"] .mobile-nav-list {
        transform: translateX(100%);
        right: 0;
    }

    .mobile-nav-list {
        width: 300px;
        height: 100%;
        padding: 15px;
        background-color: rgba(255, 255, 255, 1);
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        z-index: 999;
        box-shadow: 0 0 5px rgba(0, 0, 0, .2);
        overflow-y: scroll;
        transition: all .5s linear;

    }

    .mobile-nav-list .menu-item {
        position: relative;
        border-bottom: 1px solid var(--sec);
    }

    .mobile-nav-list .menu-item:not(:last-of-type) a {
    }

    .mobile-nav-list .menu-item > a {
        display: block;
        color: var(--black);
        padding: 15px;
    }

    .mobile-nav-list .menu-item.menu-item-has-children > a {
        width: calc(100% - 34px);
        display: inline-block;
    }

    .mobile-nav-list .menu-item > a:hover,
    .mobile-nav-list .menu-item.active > a {
        color: var(--sec);
    }

    html[dir="ltr"] .mobile-nav-list .menu-item.menu-item-has-children i {
        border-left: 1px solid var(--black);
    }

    html[dir="rtl"] .mobile-nav-list .menu-item.menu-item-has-children i {
        border-right: 1px solid var(--black);
    }

    .mobile-nav-list .menu-item.menu-item-has-children i {
        color: var(--black);
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        transform-origin: center;
        transition: all .3s linear;
    }

    .mobile-nav-list .menu-item i.open {
        color: var(--sec);
    }

    .sub-menu {
        list-style: none;
        background-color: var(--sec);
    }

    .sub-menu.open {
    }

    .sub-menu li {
    }

    .mobile-nav-list .sub-menu a {
        display: block;
        padding: 15px 25px;
        color: var(--white);

        transition: all .3s linear;
    }

    .mobile-nav-list .sub-menu a:hover {
        color: #393839;
    }

    .trans-none {
        transform: none !important;
    }

    html[dir="ltr"] .nav-overlay {
        right: 0;
        transform: translateX(100%);
    }

    html[dir="rtl"] .nav-overlay {
        left: 0;
        transform: translateX(-100%);
    }

    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        z-index: 5;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .4);
        transition: all .35s ease-in-out;
    }
}


/******************************/
/******************************/
.slider {
    background: var(--main);
}

.slider .mainItem {
    position: relative;
}
html[dir="ltr"] .slider .mainItem{

}
.slider .mainItem .slid-tit {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
}
html[dir="ltr"]  .slider .mainItem .slid-tit{
    left: unset;
    right: 20%;
    transform: translate(50%, -50%);
}
.slider .mainItem .slid-tit .tit {
    font-size: 58px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 30px;
    width: 60%;
}

.slider .mainItem .slier-url .main-btn {
    height: 50px;
    line-height: 48px;
}

/******************************/
/******************************/
.events {
    padding: 100px 0 50px;
}

.events .main-title {
    margin-bottom: 50px;
}

.events-content-item {
    position: relative;
    overflow: hidden;
}

.events-content-item .events-img img {
    border-radius: 20px;
}

.events-content-item .events-title {
    position: absolute;
    bottom: -60px;
    right: 10px;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    transition: all .35s ease-in-out;
}

.events-content-item:hover .events-title {
    bottom: 30px;
}

.events-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translate(-50%, -50%);
}

.events-slider .owl-nav div {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: var(--sec);
    color: var(--white);
    font-size: 24px;
}

.events-slider .owl-nav div.owl-prev {
    border-radius: 0 30px 0 0;
}

.events-slider .owl-nav div.owl-next {
    border-radius: 30px 0 0 0;
}

/******************************/
/******************************/
.achievement {
    padding: 50px 0;
}

.achievement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.achievement-header .main-btn {
    margin-bottom: 0;
}

.all-achievement a {
    color: var(--sec);
    font-size: 24px;
    font-weight: bold;
}

.achievement-img {
    text-align: center;
}

.achievement-img img {
    width: 100%;
    max-height: 300px;
}

.col-achievement .achievement-content-item .achievement-title {
    color: var(--white);
    padding: 10px;
    border-radius: 20px;
}

.col-achievement:nth-of-type(odd) .achievement-content-item .achievement-title {
    background: var(--main);
}

.col-achievement:nth-of-type(even) .achievement-content-item .achievement-title {
    background: var(--sec);
}

/******************************/
/******************************/

.content-footer {
    padding: 50px 0;
    background: #F6F6F6;

}

.content-footer-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-social .item {
    margin: 0 3px;
}

.footer-social .item img {
    max-width: 40px;
}

.footer-qr, .footer-info {
    display: flex;
    align-items: center;
}

.footer-qr .tit, .footer-info .tit {
    color: var(--main);
    font-size: 18px;
    font-weight: bold;
    margin-inline-end: 15px;
}

.footer-info .info {
    background: var(--white);
    padding: 5px;
}

.end-footer {
    background: var(--main);
    padding: 20px 0;
}

.copy-write {
    text-align: center;
    color: var(--white);
    font-weight: 500;

}

.copy-write a {
    color: #77B043;
    font-weight: 500;
}

/******************************/
/*br*/
/******************************/
.head-inside {
     background-size: cover;
    background-repeat: no-repeat;
}

.head-inside .header-nav {
    background: transparent;
    padding: 30px 0;
    background: var(--main);
}

.main-header-items {
    background: var(--white);
}

.head-inside .breadcrumb-area {
    padding: 50px 0 100px;
    margin-bottom: 50px;
    background: var(--main);
}

.head-inside .breadcrumb-area .page-tit {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--white);
}

.head-inside .breadcrumb-area .breadcrumb-links {
    font-size: 20px;
    font-weight: bold;
    color: var(--sec) !important;
}
.head-inside .breadcrumb-area .breadcrumb-links a{
    color: var(--sec) !important;
}

.block-gallery .gallery-item-image{
    border: 1px solid var(--sec);
    padding: 5px;
    border-radius: 15px;
}
.block-gallery .gallery-item-image img{
    width: 100%;
    height: 150px;
    border-radius: 15px;
}
.block-videos video  ,.block-videos iframe{
    width: 100%;
    border: 1px solid var(--sec);
    padding: 5px;
    border-radius: 15px;
}
/******************************/
/*form*/
/******************************/
.page-form .form-group label{
    width: 100%;
    margin-bottom: 0 !important;
}
.page-form .form-control{
    direction: rtl;
    text-align: right;
    margin-top: 10px;
}
html[dir="ltr"] .page-form  .form-control  {
    text-align: left;
    direction: ltr;
}
 .page-form .form-group .form-control{
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 2px solid var(--main);
    margin-bottom: 30px;
    height: 40px !important;
}
.page-form .form-group .form-control:focus {
    box-shadow: none;
    outline: none;
    border-bottom: 2px solid var(--sec);
}
.page-form .form-group textarea.form-control{
    height: 100px !important;
}
.map{
    border: 2px solid var(--sec);
    border-radius: 25px;
    padding: 2px;
    margin-bottom: 50px;
}
.map iframe{
    width: 100%;
    height: 250px;
     border-radius: 25px;
 }
@media (max-width: 768px){
    .head-inside .header-nav{
        padding: 0 ;
    }
    /******************************/
    /*head-inside*/
    /******************************/
    .head-inside{
        background-position: center center;
    }
    .head-inside .breadcrumb-area {
        padding: 25px 0 50px;

    }
    /******************************/
    /*header*/
    /******************************/
    .main-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    /******************************/
    /*slider*/
    /******************************/
    /*.slider-img img {*/
    /*    max-width: 400px !important;*/
    /*}*/

    .slider .mainItem .slid-tit .tit {
        font-size: 34px;
        width: 95%;
        text-align: center;
    }

    .slider .mainItem .slid-tit {
        left: 50%;
        text-align: center;
    }
    /******************************/
    /*achievement*/
    /******************************/
    .achievement-content-item {
        margin-bottom: 30px;
    }

    /******************************/
    /*footer*/
    /******************************/
    .content-footer-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 70px;
    }

    .map iframe{
        width: 100%;
        height: 150px;
        border-radius: 25px;
    }
    .head-inside .breadcrumb-area .page-tit {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
        color: var(--white);
    }

    .head-inside .breadcrumb-area .breadcrumb-links {
        font-size: 16px;
        font-weight: bold;
        color: var(--sec) !important;
    }
    .sec-tit{
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .main-title {
        font-size: 24px;
    }

    /******************************/
    /*slider*/
    /******************************/
    /*.slider-img img {*/
    /*    max-width: 300px !important;*/
    /*}*/

    .slider .mainItem .slid-tit .tit {
        font-size: 24px;
        width: 95%;
        text-align: center;
    }

    /******************************/
    /*achievement*/
    /******************************/
    .all-achievement a {
        font-size: 16px;
    }

    .content-footer-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
}
