@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

@font-face {
  font-family: "al-arabeh";
  src: url(../webfonts/al-arabeh.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", sans-serif;
}

:root {
  --c-s: #0396a6;
}

a {
  text-decoration: none;
  transition: all 300ms ease-in-out;
  color: #232323;
}

p {
  color: #282828;
  line-height: 1.8;
}

img {
  max-width: 100%;
}

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

figure {
  padding: 0;
  margin: 0;
}

ul.socail-m {
  display: flex;
  gap: 15px;
}

ul.socail-m a {
  color: #efefef;
  font-size: 14px;
}

ul.socail-m a:hover {
  color: var(--c-s);
}

.btn-site {
  font-size: 15px;
  color: #141414;
  width: 150px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 0;
  transition: 300ms;
  outline: none;
  border-radius: 35px;
  border: 1px solid var(--c-s);
}

.btn-site:hover {
  background: var(--c-s);
  border: 1px solid transparent;
}

#btn-mobile,
.logo-container-mobile,
.overlay {
  display: none;
}

.content {
  color: #282828bf;
  font-size: 15px;
  line-height: 2;
}

.card-site {
  position: relative;
  border-radius: 20px;
}

.card-site > a {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-site figure {
  position: relative;
  height: 280px;
  overflow: hidden;
  margin: 0;
  border-radius: 25px 25px 0 0;
}

.card-site figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-site .box-caption {
  padding-block: 40px 50px;
  line-height: 1.7;
  font-size: 14px;
  text-align: center;
  transition: 300ms;
  background-color: #fff;
  border-radius: 0 0 25px 25px;
}

.card-site:hover .box-caption {
  color: #fff;
  background: #006974;
}

.card-site .box-caption h4 {
  font-size: 17px;
  font-weight: bold;
}

.card-site .status {
  text-align: center;
  padding: 10px;
  border-radius: 25px;
  background-color: #f4f4f4;
  position: absolute;
  bottom: -31px;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
}

.card-site .status strong {
  display: block;
  color: var(--c-s);
  font-size: 15px;
}

.card-site .status span {
  font-size: 13px;
}
/* Start Header */

#masthead .header-top {
  padding-block: 10px;
  background: var(--c-s);
  padding-inline: 40px;
  border-radius: 0 0 25px 25px;
}

#masthead .right-top a {
  color: #fff;
  font-size: 15px;
}

#masthead .right-top ul li.d-flex:nth-child(1) {
  padding-inline-end: 50px;
}

#masthead .logo-container {
  position: relative;
}

#masthead .nav-site {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.header-bottom {
  padding-block: 15px;
  padding-inline: 35px;
}

#btn-search {
  cursor: pointer;
}

#primary-menu {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

#primary-menu li a {
  font-size: 16px;
  color: #2c2c2c;
}

#primary-menu li.current-menu-item a {
  color: var(--c-s);
  font-weight: bold;
}

#btn-search {
  cursor: pointer;
}

#forms-search {
  position: absolute;
  top: -10px;
  transform: translateY(40px);
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
  left: 0;
  z-index: 99;
}

#forms-search.active {
  top: 14px;
  transform: translateY(40px);
  opacity: 1;
  visibility: visible;
}

#masthead form.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #007987;
  gap: 10px;
}

#masthead input.search-field {
  background-color: transparent;
  border: 1px solid #fff;
  outline: none;
  padding: 5px 14px;
  font-size: 15px;
  height: 31px;
  color: #fff;
}

#masthead input.search-submit {
  padding: 0 20px;
  border: none;
  font-size: 15px;
  height: 30px;
  display: block;
}

input.search-field::placeholder {
  color: #fff;
}

.title-section {
  font-size: 35px;
  position: relative;
  margin-block-end: 25px;
  font-weight: bold;
}

.title-section::before {
  content: "";
  position: absolute;
  height: 1px;
  width: 60px;
  background: var(--c-s);
  bottom: -15px;
}

.head-section .title-section::before {
  left: 0;
  right: 0;
  margin: auto;
}

.caption small {
  margin-block-end: 24px;
  display: block;
  color: #606060;
  font-size: 13px;
}

.image-site {
  position: relative;
}

.image-site figure {
  height: 506px;
  position: relative;
}

.image-site figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.image-site::before {
  content: "";
  position: absolute;
  background-image: url(../images/sap-full.png);
  width: 205px;
  height: 177px;
  top: -53px;
  right: -70px;
  z-index: -1;
}

.image-site figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 145px;
  height: 155px;
  background-color: var(--c-s);
  left: -10px;
  bottom: -10px;
  border-radius: 20px;
}
/* end Header */

/* Start  slider*/

.main-slider .item {
  background-size: cover;
  min-height: 690px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 3;
}

.main-slider .item .content {
  display: grid;
  gap: 5px;
  margin-block-start: 165px;
}

.main-slider .item h2 {
  font-size: 85px;
  font-family: "al-arabeh";
  color: #fff;
}

.main-slider .item p {
  color: #ffffffc7;
  margin-top: -10px;
}

.main-slider .item .btn-site {
  margin: 5px auto 0;
  color: #fff;
}

/* End slider*/

/* Start About */

.about {
  padding-block: 120px;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  background-image: url(../images/sap-left.png);
  width: 84px;
  height: 177px;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.about .caption {
  padding-inline-start: 40px;
}

/* End About */

/* Start service */
body:is(.home) .service {
  border-radius: 200px;
  padding-block: 60px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

body:is(.home) .service::before {
  content: "";
  position: absolute;
  right: -61px;
  top: 50%;
  background: linear-gradient(141.62deg, #006974 0%, #0396a6 91.75%);
  width: 80px;
  height: 300px;
  border-radius: 25px;
  transform: translateY(-50%);
}
.service .caption {
  margin-block-end: 59px;
  padding-inline-start: 40px;
}

.service .items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-inline-end: 30px;
}

.service .image-service figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* End service */

/* Start client */
body:is(.home) .client {
  overflow: hidden;
  margin-block: 50px;
  border-radius: 200px;
  padding-block: 60px 40px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  position: relative;
}

.client .box {
  text-align: center;
  padding: 20px;
  display: grid;
  place-content: center;
  margin-block: 50px 50px;
  border-left: 1px solid #dedede;
}

.slider-client figure {
  border-radius: 15px;
  aspect-ratio: 16 / 9;
  min-height: 100px;
  width: 160px;
}

.slider-client figure img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.client
  > .container
  > .wow
  > .slider-client
  > .swiper
  > .swiper-wrapper
  > .swiper-slide:last-child
  > .box {
  border: 0;
}

.swiper-pagination-bullet-active {
  background: var(--c-s);
  width: 15px !important;
  height: 5px !important;
  border-radius: 50px;
}

.swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  transition: 300ms;
}

.client .swiper-pagination {
  position: absolute;
  bottom: 20px;
}
/* Start client */

/* Start contact */
body:is(.home) .contact {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  padding-block: 60px;
  color: #fff;
  position: relative;
}

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  background-image: url(../images/sap-left.png);
  width: 84px;
  height: 177px;
}

.contact::before {
  top: -75px;
}

.contact::after {
  left: 20px;
  bottom: 80px;
}

.contact::after .contact .title-section::before {
  background: #fff;
  inset: 0;
  width: 1px;
  height: 25px;
  right: -20px;
  top: 12px;
}

.contact .head {
  padding-inline-start: 20px;
  margin-block-end: 50px;
}

.contact .head h2.title-section {
  margin-block-end: 15px;
}

.contact .title-section::before {
    background: #fff;
}

.contact .mb-3 p {
  margin: 0;
}

.form-control {
  background: transparent;
  border: 1px solid #cfcfcf;
  direction: rtl !important;
  padding: 12px 25px;
  position: relative;
  font-size: 16px;
  z-index: 9;
  color: #fff;
  transition: 300ms;
  border-radius: 10px;
}

.form-control:focus {
  box-shadow: none;
  border: 1px solid #cfcfcf;
  outline: none;
  color: #000;
  border-radius: 0;
  background-color: transparent;
}

.form-control::placeholder {
  color: #fff;
}

textarea.form-control {
  height: 150px;
}

.contact .btn-site {
  margin: 10px auto 0 0;
}

.contact .btn-site:hover {
  background: var(--c-s) !important;
  color: #fff;
}

.contact .inforamtion {
  color: #808080;
  background: #fff;
  padding: 60px;
  min-height: 410px;
  display: grid;
  place-content: center;
  gap: 30px;
  margin-block-start: 85px;
  padding-inline-end: 140px;
}

.contact .inforamtion .widget-title {
  position: relative;
  font-size: 30px;
  margin-block-end: 50px;
}

.contact .inforamtion .widget-title::before {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 70px;
  height: 1px;
  background: var(--c-s);
}

.contact .info li {
  display: flex;
  gap: 15px;
  margin-block-end: 14px;
}

.contact .info li svg {
  width: 28px;
  margin-block-start: 5px;
}

/* Start contact */

/* Start Footer */

footer {
  padding-block: 60px 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.logo-footer {
  display: grid;
  place-content: center;
}

footer #navbar-site {
  background: #151515;
  padding-block: 20px;
  padding-inline: 80px;
  border-radius: 25px 25px 0 0;
  width: 60%;
  margin: 70px auto 0;
  position: relative;
}

footer #navbar-site #primary-menu li a {
  color: #bcbcbc;
}

footer #navbar-site::before {
  content: "";
  position: absolute;
  top: -2px;
  width: 250px;
  height: 2px;
  left: 0;
  right: 0;
  margin: auto;
  background: var(--c-s);
}

footer .bottom {
  background: linear-gradient(141.62deg, #0396a6 0%, #006974 91.75%);
  padding-block: 20px;
}

footer .bottom .copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #ffffffbf;
}

footer .copyright .left {
  display: flex;
  align-items: center;
  gap: 75px;
}

/* End Footer */

/* Start Pages Styles */

.entry-header {
  text-align: center;
  min-height: 120px;
  background: var(--c-s);
  margin-block-end: 30px;
  display: grid;
  place-content: center;
}

.entry-header .entry-title {
  color: #fff;
  margin-block-end: 0;
  font-size: 28px;
  font-weight: bold;
}

.entry-content {
  min-height: 300px;
  text-align: center;
}

.post-thumbnail {
  max-width: 800px;
  aspect-ratio: 3 / 2;
  margin-inline: auto;
  margin-block-end: 30px;
}

.post-thumbnail
  img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main#primary {
  margin-block-end: 40px;
}

.page-template-template-contact .contact::before,
.page-template-template-contact .contact::after {
  display: none;
}
.page-template-template-contact .inforamtion {
  background: var(--c-s);
  color: #fff;
  margin-block-start: -48px;
  min-height: 417px;
}

.page-template-template-contact .contact .inforamtion .widget-title::before {
  background: #fff;
}

.page-template-template-contact .contact .info li svg {
  filter: brightness(0) invert(1);
}

.page-template-template-contact .form-control::placeholder {
  color: #3d3d3d;
}

.search-site .entry-header {
  min-height: 80px;
  display: grid;
  place-content: center;
  margin-block-end: 10px;
}

.search-site h2.entry-title {
  padding-block-start: 0;
}

.search-site h2.entry-title a {
  color: #fff;
  font-size: 20px;
}

/* End Pages Styles */

/* Start media Styles */

@media (max-width: 992px) {
  #btn-mobile,
  .logo-container-mobile,
  .overlay {
    display: block;
  }

  .overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0;
    transition: 0.3s;
    visibility: hidden;
    z-index: 99;
  }

  .overlay.active {
    opacity: 0.5;
    visibility: visible;
  }

  .header-top {
    display: none;
  }

  #btn-mobile {
    cursor: pointer;
    color: var(--c-s);
    font-size: 27px;
    width: 23px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #btn-mobile i {
    font-size: 23px;
  }

  #masthead a.custom-logo-link {
    height: 40px;
  }

  #masthead a.custom-logo-link img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
  }
  .header-bottom {
    padding-block: 8px;
    padding-inline: 0;
  }
  .search {
    display: none;
  }

  .logo-container-mobile {
    display: flex !important;
    justify-content: center;
  }

  #primary-menu {
        margin-block-start: 25px;
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
  }

  #navbar-site {
    position: fixed;
    inset-inline-start: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: var(--c-s);
    padding-block-start: 2px;
    padding-inline: 10px;
    z-index: 999;
    max-width: 400px;
    transform: translateX(400px);
    transition: 300ms;
    display: block;
    padding-block-start: 40px;
  }

  #navbar-site.active {
    transform: none;
    opacity: 1;
  }

  #button-close {
        width: 35px;
        height: 35px;
        border-radius: 50px;
        border: 1px solid #fff;
        background: var(--c-s);
        color: #fff;
        display: grid;
        place-content: center;
        cursor: pointer;
        margin-block-end: 30px;
  }

  #primary-menu li a {
    font-size: 16px;
            color: #fff;
  }

  #primary-menu li.current-menu-item a {
    color: #fff;
  }
  p,
  .content {
    font-size: 13px !important;
  }

  .main-slider .item {
    min-height: 450px;
  }
  .main-slider .item .content {
    margin-block-start: 0;
  }

  .main-slider .item h2 {
    font-size: 37px;
  }

  .main-slider .item p {
    margin-top: 0;
  }

  .main-slider .item .content figure {
    height: 100px;
  }

  .main-slider .item .content figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
  }
  .about {
    padding-block: 50px;
  }

  .about::before,
  .image-site::before,
  .image-site figure::before {
    display: none;
  }

  .image-site figure {
    height: 250px;
  }

  .about .caption {
    padding-inline-start: 0;
    margin-block: 30px;
  }

  .title-section {
    font-size: 25px;
  }

  body:is(.home) .service::before {
    display: none;
  }
  body:is(.home) .service {
    border-radius: 0;
    padding-block: 40px;
  }

  body:is(.home) .service .row {
    flex-flow: column-reverse;
  }

  .service .items {
    margin-block-start: 15px;
    margin-inline-end: 0;
    grid-template-columns: 1fr;
  }

  .service .image-service figure {
    display: none;
  }

  .service .caption {
    margin-block-end: 0;
    padding-inline-start: 0;
  }

  .card-site .status {
    position: relative;
    margin-top: -50px;
    margin-block-end: 20px;
    background: #f4f4f4;
  }

  .card-site .box-caption {
    padding-block: 25px;
  }
  body:is(.home) .client {
    border-radius: 0;
    padding-block: 40px;
    margin-block: 30px;
  }
.entry-header {
	min-height: 60px;
  }

  .entry-header .entry-title {
    font-size: 18px;
  }
  .contact::before,
  .contact::after {
    display: none;
  }
  .contact .inforamtion {
    margin-block-start: 0;
    padding: 25px;
    padding-inline-end: 10px;
    min-height: 330px;
  }
  .contact .btn-site {
    margin: 10px auto -10px;
  }
  .contact .inforamtion .widget-title {
    margin-block-end: 30px;
  }

  .menu-footer {
    display: none;
  }

  footer .logo-footer a {
    display: block;
    height: 150px;
    margin-block-end: 25px;
  }

  footer .logo-footer a img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
  }

  footer {
    padding-block: 25px 0;
  }

  footer .copyright {
    flex-direction: column;
    font-size: 12px;
    gap: 10px;
  }

  footer .copyright .left {
    flex-direction: column;
    gap: 15px;
  }
  footer .copyright img {
    height: 30px;
  }
}
