/* -------------------------------------------------------------------------------
   UIB Saudi - Header & Footer (2026 refresh)
   Loaded after style.css so these rules win the cascade.
   Brand colour: #00283c   Hover tint: #014b6e   Logo bar: 7 brand accents
------------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------------
   1. Site header
------------------------------------------------------------------------------- */


/* The preloader has to stay above the fixed header while it is visible. */
.loader{
  z-index: 1040;
}

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 22px 0;
  background-color: transparent;
  -webkit-transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
  -o-transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
  transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
}

.site-header:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 190px;
  pointer-events: none;
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
  opacity: 1;
  -webkit-transition: opacity .35s ease;
  -o-transition: opacity .35s ease;
  transition: opacity .35s ease;
}

.site-header.is-stuck{
  padding: 10px 0;
  background-color: #00283c;
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}

.site-header.is-stuck:before{
  opacity: 0;
}

/* Bootstrap's .container clearfix pseudo-elements would become flex items. */
.site-header-inner:before,
.site-header-inner:after{
  display: none;
}

.site-header-inner{
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}


/* 1.1 Brand */


.site-brand{
  display: block;
  line-height: 0;
  padding: 0;
}

.site-brand:hover,
.site-brand:focus{
  opacity: 0.85;
  text-decoration: none;
}

.site-logo{
  display: block;
  width: auto;
  height: 62px;
  max-width: 100%;
  -webkit-transition: height .35s ease;
  -o-transition: height .35s ease;
  transition: height .35s ease;
}

.site-header.is-stuck .site-logo{
  height: 46px;
}


/* 1.2 Navigation */


.site-nav{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.site-menu{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu > li{
  position: relative;
  margin-left: 34px;
}

.site-menu > li > a{
  position: relative;
  display: block;
  padding: 10px 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
  -webkit-transition: opacity .25s ease, color .25s ease;
  -o-transition: opacity .25s ease, color .25s ease;
  transition: opacity .25s ease, color .25s ease;
}

.site-menu > li > a:after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background-color: #fff;
  -webkit-transition: width .3s ease;
  -o-transition: width .3s ease;
  transition: width .3s ease;
}

.site-menu > li > a:hover,
.site-menu > li > a:focus,
.site-menu > li.active > a{
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.site-menu > li > a:hover:after,
.site-menu > li.active > a:after{
  width: 100%;
}


/* 1.3 Dropdowns */


.site-menu .sub-menu{
  position: absolute;
  z-index: 10;
  left: -22px;
  top: 100%;
  min-width: 240px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background-color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  border-top: 3px solid #00283c;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translateY(12px);
      -ms-transform: translateY(12px);
          transform: translateY(12px);
  -webkit-transition: all .28s ease;
  -o-transition: all .28s ease;
  transition: all .28s ease;
}

.site-menu > li:hover > .sub-menu{
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.site-menu .sub-menu a{
  display: block;
  padding: 10px 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d3d3d;
  text-decoration: none;
}

.site-menu .sub-menu a:hover{
  background-color: #f4f7fa;
  color: #00283c;
}


/* 1.4 Header actions */


.site-nav-actions{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 34px;
}

.site-header-phone{
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-header-phone:hover,
.site-header-phone:focus{
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.site-header-phone i{
  margin-right: 8px;
}

.site-header-cta{
  display: inline-block;
  margin-left: 22px;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,0.65);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.site-header-cta:hover,
.site-header-cta:focus{
  background-color: #fff;
  border-color: #fff;
  color: #00283c;
  text-decoration: none;
}


/* 1.5 Mobile toggle */


.site-nav-toggle{
  display: none;
  position: relative;
  width: 34px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  outline: none;
}

.site-nav-toggle span{
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background-color: #fff;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.site-header.nav-open .site-nav-toggle span:nth-child(1){
  -webkit-transform: translateY(8px) rotate(45deg);
      -ms-transform: translateY(8px) rotate(45deg);
          transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .site-nav-toggle span:nth-child(2){
  opacity: 0;
}

.site-header.nav-open .site-nav-toggle span:nth-child(3){
  -webkit-transform: translateY(-8px) rotate(-45deg);
      -ms-transform: translateY(-8px) rotate(-45deg);
          transform: translateY(-8px) rotate(-45deg);
}


/* 1.6 Header responsive */


@media (max-width: 1199px){
  .site-menu > li{
    margin-left: 24px;
  }
  .site-nav-actions{
    margin-left: 24px;
  }
  .site-header-phone{
    display: none;
  }
}

@media (max-width: 991px){
  .site-header{
    padding: 14px 0;
    background-color: rgba(0,40,60,0.97);
  }
  .site-header:before{
    display: none;
  }
  .site-header.is-stuck{
    padding: 10px 0;
  }
  .site-logo,
  .site-header.is-stuck .site-logo{
    height: 42px;
  }
  .site-nav-toggle{
    display: block;
  }
  .site-nav{
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    display: block;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 22px 40px rgba(0,0,0,0.16);
    -webkit-transition: max-height .35s ease;
    -o-transition: max-height .35s ease;
    transition: max-height .35s ease;
  }
  .site-header.nav-open .site-nav{
    max-height: 80vh;
    overflow-y: auto;
  }
  .site-menu{
    display: block;
  }
  .site-menu > li{
    margin-left: 0;
    border-top: 1px solid #ececec;
  }
  .site-menu > li:first-child{
    border-top: 0;
  }
  .site-menu > li > a{
    padding: 16px 22px;
    color: #3d3d3d;
    opacity: 1;
  }
  .site-menu > li > a:after{
    display: none;
  }
  .site-menu > li > a:hover,
  .site-menu > li.active > a{
    color: #00283c;
  }
  .site-menu .sub-menu{
    position: static;
    visibility: visible;
    opacity: 1;
    min-width: 0;
    padding: 0;
    box-shadow: none;
    border-top: 0;
    background-color: #fafafa;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
  .site-menu .sub-menu a{
    padding: 12px 40px;
  }
  .site-nav-actions{
    display: block;
    margin-left: 0;
    padding: 18px 22px 24px;
    border-top: 1px solid #ececec;
  }
  .site-header-phone{
    display: block;
    margin-bottom: 16px;
    color: #00283c;
    font-size: 16px;
  }
  .site-header-phone:hover,
  .site-header-phone:focus{
    color: #00283c;
    opacity: 1;
  }
  .site-header-cta{
    display: block;
    margin-left: 0;
    text-align: center;
    background-color: #00283c;
    border-color: #00283c;
    color: #fff;
  }
  .site-header-cta:hover,
  .site-header-cta:focus{
    background-color: #014b6e;
    border-color: #014b6e;
    color: #fff;
  }
}

@media (max-width: 480px){
  .site-logo,
  .site-header.is-stuck .site-logo{
    height: 34px;
  }
}


/* -------------------------------------------------------------------------------
   2. Site footer
------------------------------------------------------------------------------- */


.site-footer{
  position: relative;
  background-color: #00283c;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.site-footer a{
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  -webkit-transition: color .25s ease, padding .25s ease;
  -o-transition: color .25s ease, padding .25s ease;
  transition: color .25s ease, padding .25s ease;
}

.site-footer a:hover,
.site-footer a:focus{
  color: #fff;
  text-decoration: none;
}

.site-footer-stripe{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 5px;
}

.site-footer-stripe span{
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.site-footer-stripe span:nth-child(1){ background-color: #327fc1; }
.site-footer-stripe span:nth-child(2){ background-color: #83c34a; }
.site-footer-stripe span:nth-child(3){ background-color: #0b9ed7; }
.site-footer-stripe span:nth-child(4){ background-color: #751950; }
.site-footer-stripe span:nth-child(5){ background-color: #f47e20; }
.site-footer-stripe span:nth-child(6){ background-color: #703a95; }
.site-footer-stripe span:nth-child(7){ background-color: #de2a2a; }

.site-footer-main{
  padding: 60px 0 30px;
}

/* Flex row so unequal column heights never break the float grid. */
.site-footer-main .row{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.site-footer-main .row:before,
.site-footer-main .row:after{
  display: none;
}

.site-footer-col{
  margin-bottom: 30px;
}

.site-footer-logo{
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 22px;
}

.site-footer-about{
  margin-bottom: 22px;
  color: rgba(255,255,255,0.72);
}

.site-footer-title{
  margin: 0 0 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer-links a{
  display: block;
  margin-bottom: 12px;
}

.site-footer-links a:hover{
  padding-left: 6px;
}

.site-footer-item{
  display: block;
  position: relative;
  margin-bottom: 16px;
  padding-left: 26px;
}

.site-footer-item i{
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  text-align: center;
  color: #67a9e0;
}

.site-footer-item strong{
  display: block;
  color: #fff;
  font-weight: 400;
}

.site-footer-item small{
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.site-social{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 6px;
}

.site-social a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
}

.site-social a:hover{
  background-color: #fff;
  border-color: #fff;
  color: #00283c;
}

.site-footer-divider{
  height: 1px;
  background-color: rgba(255,255,255,0.18);
}

.site-footer-bottom{
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
}

.site-footer-bottom i{
  margin-right: 4px;
}

@media (max-width: 767px){
  .site-footer{
    text-align: center;
  }
  .site-footer-main{
    padding: 45px 0 15px;
  }
  .site-footer-logo{
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer-item{
    padding-left: 0;
  }
  .site-footer-item i{
    position: static;
    display: inline-block;
    margin-right: 8px;
  }
  .site-social{
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .site-social a{
    margin: 0 5px;
  }
  .site-footer-links a:hover{
    padding-left: 0;
  }
}


/* 2.1 Scroll to top */


.scroll-top{
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1020;
  width: 44px;
  height: 44px;
  line-height: 42px;
  border-radius: 50%;
  text-align: center;
  font-size: 22px;
  color: #fff;
  background-color: #00283c;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.scroll-top.is-visible{
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover,
.scroll-top:focus{
  background-color: #014b6e;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px){
  .scroll-top{
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    line-height: 36px;
    font-size: 19px;
  }
}
