* {
    font-family: 'Cairo';
}
img {
     max-width: 100%; 
}

img.main-logo{
    width: 256px;
    margin: 15px 0;
}
ul#primary-menu li {
    position: relative;
}

/* header Menu */
ul#primary-menu li , ul#primary-menu li ul li {
    padding: 10px;
}

ul#primary-menu li a , ul#primary-menu li ul li a{
    text-decoration: none;
    color: #514035;
    text-align: right;
    font: normal normal 600 14px/25px Cairo;
    letter-spacing: 0px;
    transition: 0.5s ease ;
}

ul#primary-menu li a:hover  {
    color: #ECB215;
    transition: 0.5s ease ;
}

/* 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 #ECB215;
}
ul.sub-menu li {
    font: normal normal 600 15px/24px Cairo;
    box-shadow: 0px 1px 0px #0000000d;
}

ul#primary-menu li:hover  ul.sub-menu{
    display: block;    
}
    /* Hover menu animation 
    ul#primary-menu  li::after {
        content: "";
        height: 2px;
        width: 0;
        background: #ECB215;
        display: block;
        opacity: .3;
        transition: .5s ease;
        margin-top: 20px;
    }

    ul#primary-menu li:hover::after  {
        width: 90%;
        opacity: 1 ;
    }

    ul#primary-menu li.current-menu-item::after  {
        width: 90%;
        opacity: 1 ;
    }
        
    /* Safari 4.0 - 8.0 
    @-webkit-keyframes fixdSlide {
        from {opacity: 0;}
        to {opacity: 1;}
    }

    /* Standard syntax 
    @keyframes fixdSlide {
        from {opacity: 0;}
        to {opacity: 1;}
    }
    /* End Hover menu animation */

/* Main slider  */

#main-slider {
    min-height: 300px;
    position: relative;
}

svg.bi.bi-arrow-left-short , svg.bi.bi-arrow-right-short  {
    width: 40px;
    height: 40px;
    fill: #fff;
}

#main-slider .overlay {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #4F7837 ;
    opacity: 0.8;
    z-index: 2 ; 
}

#main-slider img {
    width: 100%;
    height: 700px;
    z-index: 1 ; 
}

.carousel-caption , .carousel-control-prev , .carousel-control-next ,.carousel-indicators  {
    z-index: 3 ;
}

.carousel-inner h2 {
    max-width: 600px !important;
    text-align: center !important;
    margin: auto;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: 50px;
    line-height: 82px; 
    margin-bottom: 2rem;
}

.carousel-inner p {
    max-width: 600px;
    margin: auto;
    font-family: 'cairo';
    font-size: 17px;
    line-height: 33px;
    text-align: justify;
    color: #E0E8DC;
}
.carousel-caption {
    z-index: 3;
    position: absolute;
    top: 25%;
}

.carousel-inner a.btn.btn-success {
    background: none !important;
    border: 1px solid #fff;
    padding: 9px 20px;
    margin-top: 2rem;
    font-family: 'Cairo';
    font-size: 17px;
    border-radius: 8px;
    line-height: 30px;
}

.carousel-inner a:visited {
    color: unset;
  }
  
#main-slider a.btn.btn-success svg {
    margin-right: 13px;
    stroke-width: 2px;
    stroke: #fff;
}

.carousel-inner a.btn.btn-success:hover {
    color:#4F7837;
    background-color: #fff !important;
}

.carousel-inner a.btn.btn-success:hover  svg  {
    stroke:#4F7837 !important;
    fill:#4F7837 !important;
}


/****************************** About  section  */
.about {
    margin-top: 3%;
}

h1.title {
    font-size: 30px;
    font-family: 'Cairo';
    line-height: 60px;
    font-weight: bold;
    color: #434241;
    padding-top: 1rem;
}
h1.title::before {
    content: " ";
    border-top: 1px solid #ECB215;
    width: 40px;
    display: block;
    margin: auto;
}
.discretion p{
    font-size: 13px;
    font-family: 'Cairo';
    line-height: 28px;
    color: #2E2E2E;
    max-width: 650px;
    margin: auto;
}

.aboutBG {
    text-align: left;
    position: relative;
}

.vision.container {
    margin-top: 4rem;
}

.vision .discretion h2 {
    font-size: 19px ;
    color: #2E2E2E;
    font-family: 'Cairo';
    padding-right: 5px;

}
.vision .discretion p {
    padding: 10px 0 ;
    font-size: 13px;
    color: #2E2E2E;
    font-family: 'Cairo';
    margin: 0;
    max-width: 85%;
    text-align: right;
    line-height: 31px;
}
.about-background {
    width: 440px;
    max-width: 75%;
}
.about-img {
    position: absolute;
    left: 50%;
    top:55%;
}

.about-img img {
    width: 325px;
    border-left: 14px solid #fff;
    border-top: 14px solid #fff;
}


/****************************** Services  section  */

section.services {
    margin-top: 60px;
    width: 100%;
    min-height: 700px;
    background: #F9F9F9;
    transition: 1.5s ease ;
    padding-top: 8%;
    padding-bottom: 5%;
}

.card {
    overflow: hidden;
    border: none;
    border-radius: 21px;
}

.card-img-bg {
    background: #F5FBF2;
    border: 2px solid #F9F9F9;
    width: 143px;
    height: 143px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1.5s ease ;
    margin-top: 46px;
}

.card:hover .card-img-bg {
    background: #4F7837;
    border: 2px solid #ECB215;
}
    
.card:hover .card-img-bg img {
    filter: brightness(10);
}

.card:hover > .card-body svg  {
    margin-right: 30px;
}

.services img.card-img-top {
    width: 75px;
}

h5.card-title {
    color: #2E2E2E;
    font-size: 20px;
    line-height: 42px;
    font-family: 'Cairo';
}

.card-text p{
    font-size: 13px;
    color: #2E2E2E;
    font-family: 'Cairo';
    line-height: 33px;
}

.services svg {
    fill: #8A877A;
    transition: 0.5s ease ;
    stroke: #8A877A;
}

.card-bottom-border {
    content: ' ';
    width: 80%;
    background: #4F7837;
    height: 6px;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    margin-right: -499px;
    transition: 0.5s ease ;
}

.card:hover > span.card-bottom-border  {
    margin-right: 10%;
    transition: 0.5s ease ;
}


/****************************** Goals  section  */

.goals {
    padding-top: 8%;
    width: 100%;
    min-height: 500px;
    padding-bottom: 8%;
}

.goals h1.title::before {
    margin: 0;
}

.goals-img{
    position: relative;
    padding-left: 10%;
}

.goals-img-border {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    background: #4F7837;
    height: 68%;
    width: 46%;
    z-index: 1;
}

.goals-img img {
    z-index: 2;
    position: relative;
    margin-right: 20px;
    margin-top: 20px;
}

.goals a.btn.btn-success {
    background: none !important;
    border: 1px solid #ECB215;
    color: #ECB215;
    padding: 9px 20px;
    margin-top: 2rem;
    font-family: 'Cairo';
    font-size: 17px;
    border-radius: 8px;
    line-height: 30px;
    margin-right: 10px;
    transition: 0.5s ease ;
}

.goals a.btn.btn-success span{
    /* transition: 0.5s ease ; */
}

.goals a.btn.btn-success:hover {
    background: #ECB215 !important;
    color: #fff;
    transition: 0s ease ;

}

.goals a.btn.btn-success:hover span{
    margin-right: 10px;
    transition: 0.5s ease ;
}

.goals a.btn.btn-success:hover svg{
    stroke: #fff;
    fill: #fff;
}


/****************************** Members  section  */

section.members {
    min-height: 500px;
    background: #F9F9F9;
    padding-top: 6%;
    padding-bottom: 9%;
}

.members a {
    text-decoration: none;
}

.members a h1 {
    line-height: 66px;
    padding-bottom: 20px;
}
.members .item {
    margin-top: 18%;
    margin-bottom: 18%;
}

.members .owl-item {
    background: #fff;
    min-height: 140px;
    border-radius: 21px;
    text-align: center;
}

/* section.members .owl-nav {
    display: block !important;
} */

.members .item-img {
    position: relative;
    margin: 60px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 1px 1px 5px #ccc;
    overflow: hidden;
}
.members .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #ECB215;
    opacity: 0;
}

section .members span a {
    width: 30px;
    background: white;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    padding: 2px;
    text-decoration: none;
}

section.members button.owl-prev {
    position: absolute;
    top: 20%;
    right: -2%;
}
section.members button.owl-next {
    position: absolute;
    top: 20%;
    left: -2%;
}

section.members span {
    font-size: 40px;
    font-weight: 200;
}


.members .item-img:hover .overlay , .members .item-img:hover span {
    opacity: 0.48;
    transition: 0.5s ease ;
}

.members .item-img span {
    position: absolute;
    opacity: 0;
}

.members .item-img:hover span {
    opacity: 1;
    transition: 0.5s ease ;
}

.members .item-img span svg{
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    overflow: unset;
    border: 6px solid white;
    box-sizing: content-box;
}

.members .owl-item .item-img img {
    width: 100% ;
    height: 100% ;
    object-fit: cover;
    border-radius: 50% ;
}

.members .owl-item h4 {
    font-size: 22px;
    color: #434241;
    margin-top: 30px;
}

.members p {
    color: #ECB215;
    font-size: 15px;
    line-height: 50px;
}


/****************************** Clients  section  */
section.clients{
    padding-top: 5% ;
    padding-bottom: 5%;
}

section.clients button.owl-prev {
    position: absolute;
    top: 20%;
    right: -2%;
}

section.clients button.owl-next {
    position: absolute;
    top: 20%;
    left: -2%;
}
section.clients span {
    font-size: 40px;
    font-weight: 200;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    color:#ECB215;
    background: none;
}

.clients .item-img {
    width: 210px;
    height: 146px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1.5s ease;
    box-shadow: 0px 21px 43px #0000000A;
    margin-bottom: 50px;
    border-radius: 21px;
}

.clients .item-img img {
    width: 120px;
    margin: auto;
}

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

.entry-header {
    background: #4f7837;
    padding: 15px;
    color: #fff;
    border-bottom: 3px solid #ebb627;
}

.entry-header h1 {
    font-size: 26px;
    margin-right: 15%;
    position: relative;
    line-height: 36px;
}
.entry-header h1:before {
    content: "";
    height: 40px;
    width: 2px;
    background: #ebb627;
    position: absolute;
    right: -10px;
}
.post-thumbnail img {
    height: auto;
    max-width: 100%;
    max-height: 500px;
    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 orange;
    padding: 4px 30px;
    border-radius: 9px;
    background: orange;
}
a.post-edit-link {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
}
/* .page , .post {
margin-bottom: 0 !important;
} */

/****************************** Footer section */

footer#footer {
    background: #976029;
    padding-top: 5%;
    padding-bottom: 1%;
} 

#footer img.footer-logo {
    padding-top: 22%;
    width: 283px;
    margin: auto;
    max-width: 90%;
    display: block;
}

#footer span.socialmedia {
    display: block;
    text-align: center;
    padding: 20px 0;
}

#footer .socialmedia a  {
    text-decoration: none ;
    padding: 0px 7px;
}

#footer .socialmedia a svg {
    fill: #fff;
    width: 14px;
    height: 14px;
}

#footer h2.subtitle {
    font-size: 17px;
    color: #FFF7E2;
    padding-right: 15%;
}

#footer ul {
    margin: 0 ;
    padding: 15px 0 ;
}
#footer ul li  { 
    list-style: none;
    padding-right: 15%;
}
#footer ul li a , #footer ul li  {
    font-size: 14px;
    color: #FFF7E2;
    line-height: 40px;
    text-decoration: none;
}
#footer .copyright p {
    color: #FFF7E2;
    font-size: 13px;
    line-height: 40px;
    text-align: right;
}
#footer .contact ul li {

}

#footer .contact ul li  svg {
    margin-left: 10px;
}

.wady-copyrights {
	text-align:left;
}
.wady-copyrights a {
    text-decoration: none;
    color: #fff !important;
    font-size: 13px;
}

.wady-copyrights a:visited {
    color: unset;
  }

.wady-copyrights img {
    padding: 0 5px;
	  filter: brightness(6.5);
}
/* dashboaed setting style */
.csf-field .csf-title h4 {
    font-size: 17px;
}
.csf-field .csf-title {
    width: 40% !important;
}
.csf-field-text input {
    width: 100% !important;
}
.csf-field .csf-fieldset {
    width: 60% !important;
}
/****************************** Media queries */
/****************************** Mobile and small screen  */

@media only screen and (max-width: 768px) {
    ul.sub-menu {
        position: relative;
        top:12px;
        padding-right: 9%;
        box-shadow: 1px 5px 3px #EEE;
    }
    button.navbar-toggler {
        border: none;
    }
    button:focus:not(:focus-visible) {
        border: none;
        box-shadow: 1px 4px 10px #ccc;
    }
    #main-slider .carousel-inner h2{
        font-size: 25px;
        line-height: 40px;
        font-weight: 500;
    }
    .carousel-caption {
        top: 0;
    }
    #main-slider img {
        height: 400px;
        object-fit: cover;
    }
    .carousel-inner p {
        font-size: 15px;
        line-height: 26px;
    }
    .vision.container {
        margin-top: 2rem;
    }
    .vision .discretion p {
        padding: 5px 0;
        font-size: 12px;
        color: #2E2E2E;
        font-family: 'Cairo';
        max-width: 94%;
        text-align: right;
        line-height: 23px;
        margin-right: 5%;
        text-align: justify;
    }
    section.members button.owl-prev , section.clients button.owl-prev {
        position: absolute;
        top: 20%;
        right: 5%;
    }
    section.members button.owl-next , section.clients button.owl-next {
        position: absolute;
        top: 20%;
        left: 5%;
    }
    /* inner page */
    .entry-header h1 {
        font-size: 18px;
    }
        /* footer */
    #footer h2.subtitle , #footer ul li {
     padding-right: 0; 
    }
    #footer h2.subtitle {
        margin-bottom: 0;
        margin-top: 13px;
    }
    #footer ul li a, #footer ul li {
        font-size: 13px;
        line-height: 30px;
    }
    
    .menu-footer-1-container , #footer .contact ,  {
        padding-right: 10%; 
    }

    #footer .copyright p {
        font-size: 12px;
    }

  } 
                /* max 576px screen */
  @media only screen and (max-width: 576px) {
    svg.bi.bi-arrow-left-short, svg.bi.bi-arrow-right-short {
        width: 20px;
        height: 20px;
    }
    ul#primary-menu {
        margin: 0;
    }
    header img.main-logo {
        width: 190px
    }
    #main-slider .carousel-inner h2 {
        font-size: 22px;
        line-height: 32px;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    .carousel-inner p {
        font-size: 14px;
        line-height: 22px;
    }
    .carousel-inner a.btn.btn-success {
        border: 0.5px solid #fff;
        padding: 9px 13px;
        margin-top: 1rem;
        font-size: 13px;
        border-radius: 8px;
        line-height: 20px;
    }

    h1.title {
        font-size: 20px;
        text-align: center;
    }
    .card-img-bg {
        margin-top: 25px;

    }
    .card-text p {
        line-height: 28px;
        text-align: justify;
    }
    .goals h1.title {
       line-height: 1;
    }

    .goals h1.title::before{
            margin: auto;
            padding-bottom: 22px ;
    }
    .discretion p {
        text-align: justify;
        line-height: 23px;
    }
    .goals a.btn.btn-success {
        border: 0.5px solid #ECB215;
        padding: 6px 17px;
        margin-top: 1rem;
        font-size: 15px;
        line-height: 30px;
        margin-right: 25%;
    }
    .members .item {
        margin-bottom: 10%;
    }
    

  }