@import url('//fonts.googleapis.com/css2?family=tajawal:wght@200;300;400;500;700;800;900&display=swap');

body {
  font-family: 'Tajawal', sans-serif;
  background-color: #FFF;
}

a {
  text-decoration: none;
  color: #202020;
}

.btn-outline-primary {
  color: #222222;
  border-color: #222222;
}

.btn-outline-primary:hover {
  background: #007284;
  border-color: #007284;
}

.btn-outline-primary:active {
  background: #007284 !important;
  border-color: #007284 !important;
}

.home .service,
.home .about,
.home .project,
.home .client,
.home .page-30,
.home .contact,
.about>div {
  padding-block: 8vh;
}

.title-head {
  margin-block-end: 2rem;
}

.title-head h2 {
  font-size: 1.9rem;
  font-weight: bold;
}

.form-control {
  background: #F9F9F9;
  border: 0;
  min-height: 50px;
  direction: rtl !important;
}

.btn {
  padding: 11px 50px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  color: #BFBFBF;
}

.swiper-button-next,
.swiper-button-prev {
  box-shadow: 0px 7px 15px #0000000A;
  width: 50px;
  height: 50px;
  background: #FFF;
  border-radius: 50%;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -60px;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -60px;
}

#page {
  overflow: hidden;
}

/* Header */

header .btn {
  padding: 8px 20px;
}

#masthead {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
  padding-block: 10px;
}

#primary-menu {
  display: flex;
  padding: 0;
  list-style-type: none;
  gap: 1.8rem;
  margin: 0;
}

#primary-menu>li>a {
  font-weight: 600;
  color: #FFF;
}

header .left-area {
  gap: 2rem;
}

/* Hero Page */
.hero-page {
  position: relative;
}

.hero-page svg {
  position: absolute;
  width: 100%;
  bottom: -30px;
  z-index: 1;
}

.hero-page .item {
  height: 840px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFF;
}

.hero-page .item:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #586263;
  opacity: 57%;
}

.hero-page .item .content {
  position: absolute;
  z-index: 9;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  min-width: 620px;
  text-align: center;
}

.hero-page .item .content h1 {
  font-size: 1rem;
  font-weight: 400;
  margin-block-end: 16px;
}

.hero-page .item .content h1 span {
  font-size: 3.6rem;
  font-weight: bold;
  display: block;
  margin-block: 1rem;
}

.hero-page .item .content p {
  margin-bottom: 32px;
}

.hero-page .btn-outline-primary {
  color: #FFF;
  border-color: #FFF;
}

/* Services */
.home .service {
  background-color: #F9F9F9;
  isolation: isolate;
  position: relative;
  padding: 0;
  margin-block-start: -80px;
  padding-block-end: 170px;
}

.service .item {
  padding: 16px;
  border-radius: 10px;
  background: #EEEEEE;
  margin: 0 0 30px;
  min-height: 180px;
}

.service .item a.title {
  font-weight: 600;
  font-size: 1.3rem;
  margin-block-end: 1rem;
  display: block;
  background: #0BC0B6;
  color: #FFF;
  border-radius: 10px;
  padding: 14px 0;
}

.service .item p.mb-0 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 16px;
  padding-inline: 90px;
}

.service h4 {
  background-color: #1B4859;
  width: 190px;
  margin-inline: auto;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  border-radius: 50%;
  border: 7px solid #fff;
  font-size: 26px;
  position: relative;
}

.service h4::before {
  content: '';
  background-image: url(https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/line-service.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 555px;
  height: 572px;
  z-index: -1;
  right: -130px;
}

.home .service svg {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
}

.home .service svg.top {
  top: 0;
}

.home .service .title-head.text-center {
  position: relative;
  padding-block-start: 198px;
}

.home .service svg.bottom {
  bottom: 0;
  transform: scaleY(-1);
}

/* About */
.about {
  position: relative;
  line-height: 1.8;
  padding-block-end: 0 !important;
}

.about::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -165px;
  background-image: url('https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/sndwq_lhsn-5lg.png');
  width: 410px;
  height: 493px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.about .section-01 {
  background-image: url('https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/architecture-background-design.png');
  background-repeat: no-repeat;
  background-position: center left;
}


.about .inner-content .item h2 {
  font-size: 17px;
}

.about .section-01 .inner-content p {
  margin-block-end: 32px;
}

.about .section-02 .item {
  background: #00A59B;
  color: #FFF;
  padding: 45px 24px;
  border-radius: 130px 0;
}

.about .section-02 .col-md-4:nth-child(2) .item {
  background: #007284;
  border-radius: 0 140px;
  padding-block: 80px;
}

.about .section-02 .row {
  align-items: center;
}

.about .section-02 .item figure {
  height: 35px;
}

.about .section-02 .item figure img {
  height: 100%;
  object-fit: scale-down;
  width: 100%;
}

.about .section-02 .item h2 {
  font-size: 26px;
}

.section-03 .item {
  text-align: center;
  padding: 0 60px;
  background: url(https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/sndwq_lhsn-5.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 180px;
  padding-block: 60px;
}

/* Clients */
.client {
  position: relative
}

.client figure {
  height: 137px;
}

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

.slider-client {
  position: relative;
}

/* Project */

.project .item {
  margin: 0px 0 30px;
  position: relative;
  overflow: hidden;
}

.project .item>a.title {
  position: absolute;
  inset: 0;
}

.project .item figure {
  height: 250px;
  margin: 0;
}

.project .item figure img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.project .item::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 76%;
  background: #007284;
  transition: 300ms;
  transform: translateX(100%);
}

.project .item h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  text-align: center;
  color: #FFF;
  font-size: 22px;
  margin: 0;
  transition: 300ms;
}

.project .item h2::before {
  content: '+';
  display: block;
  margin-block-end: -10px;
  font-size: 80px;
  font-weight: 100;
}

.project .item:hover::before {
  transform: translateX(0);
}

.project .item:hover h2 {
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 300ms;
}

/* page-30 */

.page-30 {
  background-image: url(https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/bg-client.svg);
  color: #FFF;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 510px;
}

.page-30::after {
  content: '';
  background-image: url(https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/2150761168.png);
  position: absolute;
  left: -170px;
  width: 600px;
  height: 440px;
  background-size: contain;
  bottom: -50px;
}

.page-30 small {
  color: #FFF !important;
}

.page-30 .inner-content {
  line-height: 33px;
}

/* Contact */
.contact {
  background-image: url(https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/bg-contact.jpg);
  background-position: 0 199px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.contact .inner {
  background: #FFF;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 1px 1px 21px rgb(0 0 0 / 5%);
  position: relative;
  z-index: 1;
}

/* map */
.map {
  height: 468px;
  overflow: hidden;
  margin-top: -160px;
}

.map iframe {
  height: 100%;
  width: 100%;
  filter: grayscale(1);
}

/* Footer */
footer.site-footer {
  color: #BCBCBC;
  font-weight: 300;
  font-size: 15px;
}

footer .top {
  background-image: url(https://ehsan-box.org.sa/wp-content/themes/toplinesa/assets/images/bg-footer.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
  padding: 210px 0 30px;
}

.home footer .top {
  margin-block-start: -180px;
}

.top .item-footer li span {
  color: #0bc0b6;
}

footer.site-footer h2 {
  font-size: 17px;
  font-weight: 600;
  margin-block-end: 24px;
}

footer.site-footer ul {
  padding: 0;
  list-style-type: none;
  line-height: 2;
}

footer.site-footer ul li a {
  color: #BCBCBC;
  transition: 300ms;
}

footer.site-footer ul.menu li a::before {
  content: '';
  background-color: #008f91;
  width: 5px;
  aspect-ratio: 1 / 1;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: 5px;
}

footer.site-footer ul li a:hover {
  color: #0bc0b6;
}

.social {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social li a {
  color: #FFF;
  display: flex;
  width: 31px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 10%);
  transition: 300ms;
}

.social li a:hover {
  background: #FFF;
  color: #0bc0b6;
}

footer .bottom {
  padding-block: 16px;
  background-color: #0BC0B6;
  color: #FFF;
}

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

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

.entry-header {
  text-align: center;
  min-height: 240px;
  background: #008f91;
  margin-block-end: 37px;
}

.entry-header .entry-title {
  color: #FFF;
  margin-block-end: 0;
  padding-block-start: 120px;
  font-size: 2rem;
  font-weight: bold;
}

.card-site {
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.6;
}

.card-site figure {
  height: 250px;
  border-radius: 5px;
  overflow: hidden;
}

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

.card-site a.title {
  font-size: 18px;
  font-weight: bold;
  display: block;
  margin-block-end: 6px;
}

@media (max-width:768px) {
  header .social {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    height: 100vh;
    background: #004d49;
    right: 0;
    left: auto;
    padding-inline: 32px;
    padding-block: 35px;
    width: 260px;
    box-shadow: 1px 7px 6px rgb(0 0 0 / 49%);
    display: flex;
    flex-direction: column;
    transform: translateX(265px);
    transition: 350ms;
  }

  .mobile-menu.active {
    transform: translateX(0px);
  }

  button[data-btn-navbar] {
    background: transparent;
    font-size: 20px;
    border: 0;
    color: #FFF;
  }

  #primary-menu {
    flex-direction: column;
    margin-block-start: 40px;
  }

  header .btn {
    margin-block-start: auto;
  }

  .hero-page .item {
    height: 660px;
  }

  .hero-page .item .content h1 span {
    font-size: 2rem;
  }

  .hero-page .item .content h1 {
    margin-block-end: 1rem;
  }

  .about .section-01 {
    background: #FFF;
  }

  .about .section-02 .item {
    margin-block-end: 30px;
  }

  .service h4,
  .page-30::after{
    display: none;
  }

  footer.site-footer {
    text-align: center;
  }

  .social {
    justify-content: center;
  }

}