@font-face {
    font-family: 'Georgia';
    src: url('../fonts/Georgia-Bold.woff2') format('woff2'),
        url('../fonts/Georgia-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Georgia';
    src: url('../fonts/Georgia.woff2') format('woff2'),
        url('../fonts/Georgia.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big Caslon';
    src: url('BigCaslon-Medium.woff2') format('woff2'),
        url('BigCaslon-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArabicFont';
    src: url('../fonts/arfonts-helveticaneuelt-arabic.ttf') format('truetype');
}

@font-face {
    font-family: 'ArabicFontlight';
    src: url('../fonts/FrutigerLTArabic45Light.ttf') format('truetype');
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
ul,
li,
a,
p,
button,
div {
    transition: all 500ms !important;
    font-family: 'Georgia' !important;
}

.container {
    width: 100% !important;
    max-width: 1500px;
}


/* ************ header-section **********/

header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: #0f2c56; 
    padding: 30px 0px 40px 0px;
}



/* header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background: #0f2c56 !important;
    padding: 40px 0 50px !important;
    margin-bottom: 0 !important;
    border: none !important;
} */


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

header nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center; 
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li:last-child {
    margin-right: 0; 
}

header nav ul li a {
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
}

.custom-toggler {
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.custom-toggler-lines {
    background-color: #76a3e5 !important;
    width: 30px;
    height: 1px;
    margin: 3px 0;
}

.custom-toggler-lines:nth-child(1) {
    width: 70%;
}

.custom-toggler-lines:nth-child(3) {
    width: 60%;
}

.menu-link-container {
    display: flex;
    align-items: center;
}

.menu-toggle {
    margin-right: 20px; 
    margin-left: 50px;
}

header .col-md-8 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.animated-burger-icon {
    cursor: pointer;
    color: #fff;
}

#nav-container .container{
    width: 100% !important;
    max-width: 1500px !important;
}

#nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; 
    z-index: 1000; 
    overflow-y: auto; 
    display: none; 
}

#nav-container.show {
    display: block; 
}

.close-btn {
    position: absolute;
    right: -30px;
    font-size: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    color: #76a3e5 !important;
}

.close-btn:focus {
    outline: none;
}

.close-btn:hover {
    color: #76a3e5 !important;
}

#nav-container{
    background: #0f2c56 !important;
    padding: 30px 0 40px !important;
    margin-bottom: 0 !important;
    border: none !important;
}

#nav-container .container .row:first-child {
    margin-bottom: 150px;
}

.open-toggle-menu ul li a {
    font-family: 'Big Caslon' !important;
    font-size: 40px;
    color: #fff !important;
    text-decoration: none;
}

.open-toggle-menu ul li a:hover {
    color: #76a3e5 !important;
}

.open-toggle-menu ul li {
    line-height: normal;
    margin-bottom: 40px;
}

.open-toggle-address h4 {
    margin: 0 0 30px;
    font-size: 14px;
    color: #76a3e5;
    text-transform: uppercase;
}

.open-toggle-address ul {
    margin: 0 0 80px;
}

.open-toggle-address ul li {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.open-toggle-address {
    text-align: right;
    margin-top: 45px;
}

.open-toggle-address ul li a {
    color: #fff;
    text-decoration: none;
}

.no-border {
    border: none !important; 
    outline: none !important; 
}


.menu-bar {
    list-style-type: none;
    padding: 0;
}

.menu-bar li {
    margin-bottom: 10px;
}

/* ************ site-footer **********/
/* ************ site-footer **********/
.site-footer {
    background: #0f2c56;
    padding: 80px 0 20px 0;
    color: #6d6d6d;
}

.site-footer .footer-content .container {
    max-width: 1200px;
}

.site-footer .footer-content .container > .row:first-child {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: solid 1px #43689e;
}

.site-footer .footer-menu {
    text-align: center;
    padding: 14px 0;
}

.site-footer .widget {
    margin: 0;
}

.widget ul {
    margin-left: 0;
    list-style: none
}

.site-footer .footer-menu li {
    display: inline-block;
    padding: 0;
    margin: 0 23px;
}

.site-footer .footer-menu li a {
    color: #ced2d6 !important;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
}

.site-footer .footer-logo-right img {
    float: right;
}

.site-footer .rights-text {
    color: #ced2d6;
    font-size: 14px;
}

.site-footer .rights-text .copy-right {
    padding-right: 25px;
}

.site-footer .rights-text a {
    color: #ced2d6;
    font-size: 14px;
    text-decoration: none;
    padding: 0 15px;
}

.site-footer .footer-bottom-right {
    text-align: right;
}

.site-footer .footer-bottom-right p {
    margin: 0;
    font-size: 14px;
    color: #ced2d6;
}

/* ************ site-footer **********/

.job-desc-section:before {
    content: "";
    background: #0f2c56;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: inline-block;
    height: 330px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.job-desc-section {
    padding-top: 80px;
    max-width: 1400px;
    margin: auto;
    position: relative;
    margin-bottom: 60px;
} 

.job-desc-section-right .job-title h3 {
    color: #e3e6f3;
    text-transform: capitalize;
    font-size: 50px;
    margin: 0 0 20px;
    font-family: 'Big Caslon' !important;
}

.job-desc-section-right .job-title {
    margin: 90px 0 120px;
}

.job-desc-section-right .job-title span {
    color: #76a3e5;
    font-size: 14px;
    text-transform: uppercase;
}

.job-desc-section-right .member-biography-block h4 {
    color: #9097a7;
    font-size: 14px;
    font-style: italic;
    margin: 0 0 40px;
}

.job-desc-section-right .member-biography-block p {
    margin-bottom: 40px;
}

.job-desc-section-right .member-biography-block h3 {
    margin: 80px 0 50px;
}

.job-desc-section-right .member-biography-block p {
    font-size: 20px;
    color: #0f2c56;
    line-height: 35px;
}

.job-desc-section-right .jp-relatedposts {
    clear: both;
    margin: 1em 0;
    padding-top: 1em;
    position: relative
}

.job-desc-section-right .jp-relatedposts h3.jp-relatedposts-headline {
    display: inline-block;
    font-family: inherit;
    font-size: 9pt;
    font-weight:700;
    margin: 0 0 1em;
}

.job-desc-section-right .jp-relatedposts h3.jp-relatedposts-headline em:before {
    border-top: 1px solid #dcdcde;
    border-top: 1px solid rgba(0,0,0,.2);
    content: "";
    display: block;
    margin-bottom: 1em;
    min-width: 30px;
    width: 100%
}

.job-desc-section-right .jp-relatedposts h3.jp-relatedposts-headline em {
    font-style: normal;
    font-weight: 700
}


.job-desc-section-right h3 {
    font-size: 14px;
    color: #76a3e5;
    text-transform: uppercase;
    margin: 0 0 30px;
}

.job-desc-section-right .jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a  {
    filter: alpha(opacity=100);
    font-size: inherit;
    font-weight: 400;
    -moz-opacity: 1;
    opacity: 1;
    text-decoration: none;
    color: #337ab7
}

.job-desc-section-right .jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
    opacity: .6; 
    font-size:14px; 
    line-height: 20px;
    margin: 0
}

.job-desc-section-right ul li {
    color: #0f2c56;
    font-size: 20px;
    line-height: 35px;
}

/* ************ Close button **********/
.close-container{
    position: relative;
    margin: auto;
    width: 50px;
    height: 50px;
    cursor: pointer;
  }
  
  .leftright{
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color:  #76a3e5;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all .3s ease-in;
  }
  
  .rightleft{
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color:  #76a3e5;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all .3s ease-in;
  }
  
  label{
    color: white;
    font-family: Helvetica, Arial, sans-serif; 
    font-size: .6em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s ease-in;
    opacity: 0;
  }
  
  .close{
    margin: 60px 0 0 5px;
    position: absolute;
  }
  
  .close-container:hover .leftright{
    transform: rotate(-45deg);
    background-color: #76a3e5;
  }
  
  .close-container:hover .rightleft{
    transform: rotate(45deg);
    background-color: #76a3e5;
  }
  
  .close-container:hover label{
    opacity: 1;
  }
  
/* ************ animation **********/
.custom-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.custom-fade-in.custom-fade-in-show {
    opacity: 1;
    transform: translateY(0);
}


.fade-in-active {
    animation: fadeInFromBottom ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100%); 
    }

    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}

/* ************ Arabic layout  **********/
.arabic-content {
    text-align: right !important;
    font-family: 'ArabicFont' !important;
    direction: rtl;
}

.arabic-content h1,
.arabic-content h2,
.arabic-content h3,
.arabic-content h4,
.arabic-content h5,
.arabic-content h6,
.arabic-content span,
.arabic-content ul,
.arabic-content li,
.arabic-content a,
.arabic-content p,
.arabic-content button,
.arabic-content div {
    font-family: 'ArabicFont' !important;
}

#nav-container .arabic-content ul li a {
    font-family: 'ArabicFont' !important;
}

.site-footer .arabic-content li a {
    font-size: 20px;
}

.site-footer .arabic-content .footer-menu-li {
    text-align: center;
}

.site-footer .terms-conditions .arabic-content {
    direction: rtl;
}

.open-toggle-address .arabic-content ul {
    padding-right: 0;
    direction: ltr;
}

@media (max-width: 768px) { 

    .d-none.d-md-block {
        display: none !important;
    }

    #nav-container .col-md-4 {
        float: none;
        margin: auto;
        padding-top:50px;
    }

    #nav-container .col-md-8 {
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
    }

    #nav-container .container {
        padding-top: 50px;
    }

    #nav-container .navbar-nav .nav-item {
        display: inline-block;
    }

    
    #nav-container .logo{
        text-align: center;
    }

    #nav-container .container .row:first-child {
        margin-bottom: 0px;
    }

    .open-toggle-menu ul li a {
        font-size: 26px;
        width: 100%;
        display: inline-block;
        text-align: center;
    }

    .open-toggle-address{
        display: none;
    }

     /* ************ footer Section  **********/
    .footer-logo{
        text-align: center;
    }

    .footer-logo-right{
        text-align: center;
    }

    .site-footer .footer-menu li {
        margin: 25px 0;
        width: 100%;
    }

    .site-footer .footer-logo-right img {
        float: none;
    }

    .site-footer .terms-text {
        margin: 20px 0 30px;
    }

    .rights-text{
        text-align: center;
    }

    .site-footer .footer-menu-li {
        padding-left: 0;
    }

    /* ************ Company Section 1**********/
    .job-desc-section .row{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .job-desc-section {
        padding-top: 30px;
    }

    .job-desc-section-right {
        padding: 15px;
    }

    .job-desc-section-left {
        padding-right: 0;
    }

    .job-desc-section-right .job-title {
        margin: 40px 0 80px;
    }
    
    .job-desc-section-right .job-title h3 {
        font-size: 35px;
    }

    #menu-footer-menu-1{
        padding: 0px;
    }

    #team-img {
        max-width: 50%; /* or any desired percentage */
        height: auto;
    }
}
