body {
  font-family: 'cairo', sans-serif;
  background-color: #f8f9fa;
  color: var(--color-custom);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  margin: 0;
}

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

p {
  line-height: 1.8;
  margin-bottom: 0;
}

#page {
  overflow: hidden;
}

.btn {
  padding: 6px 20px;
  border-radius: 0;
}

.btn-primary {
  background-color: transparent;
  color: #333;
  transition: background-color 0.3s ease;
  border-color: #BA9776;
}

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

.head-section {
  color: #282828;
  position: relative;
  margin-bottom: 40px !important;
}

.head-section::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  height: 100%;
  width: 2px;
  background-color: #BA9776;
}

.head-section h2 {
  font-weight: bold;
  font-size: 24px;
  padding-inline-start: 16px;
}

.head-section h2 small {
  display: block;
  font-size: 14px;
  font-weight: 300;
  margin-top: 10px;
}

/* 
*
##################### start Header
*
*/

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 0;
  background: transparent;
  transition: 300ms;
}

.container.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button.menu-toggle {
  background: transparent;
  border: none;
  color: #FFF;
  padding: unset;
  width: 30px;
  height: 30px;
  font-size: 22px;
}

#primary-menu {
  position: fixed;
  width: 280px;
  top: 0;
  inset-inline-start: 0;
  height: 100vmax;
  background: #FFF;
  padding: 30px 0;
  transition: 300ms;
  transform: translateX(280px);
}

#primary-menu>li>a {
  display: block;
  padding: 10px 32px;
}

#primary-menu.active {
  transform: translateX(0);
}

#primary-menu>li>a:hover {
  color: #BA9776;
}

/* 
*
##################### home-slider
*
*/

#home-slider {
  position: relative;
}

#home-slider img {
  object-fit: cover;
  height: 510px;
}

#home-slider .slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  color: #FFF;
  text-align: center;
  width: 100%;
  padding: 0 30px;
  padding-top: 50px;
  font-size: 13px;
}

#home-slider .slider-caption h5 {
  font-size: 43px;
  margin-block-end: 20px;
}

#home-slider .slider-caption a {
  margin-block-start: 30px;
  color: #FFF !important;
}

/* About */
#about-us {
  padding-block: 50px;
}

.about-content h2 {
  font-size: 14px;
  text-align: center;
  margin-bottom: 7px;
  font-weight: 400;
  color: #282828;
}

.about-content h2 span {
  font-size: 75px;
  display: block;
  font-weight: 700;
  margin-top: 6px;
}

.about-content h2~small {
  display: block;
  margin-bottom: 30px;
  color: #BA9776;
  font-weight: 500;
  font-size: 18px;
}

.about-content {
  text-align: center;
  font-weight: 300;
}

/* Projects */
#projects {
  padding-block: 60px;
  background: linear-gradient(to bottom, #282828, #0F0F0F);
  color: #FFF;
}

#projects .head-section {
  color: #FFF;
}

#projects .btn {
  color: #FFF !important;
}

.project-card {
  margin-bottom: 16px;
}

.project-card figure {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.project-card figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: all 300ms ease-in-out;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.project-card:hover figure::after {
  opacity: 1;
}

.project-card figure img.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 300ms ease-in-out;
  /*filter: blur(2px);*/
}

.project-card:hover figure img.project-card-img {
  scale: 1.1;
}

.project-card figure .box-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
  z-index: 2;
  color: #FFF;
  pointer-events: none;
}

.project-card:hover figure .box-hover {
  opacity: 1;
}

.project-card figure .box-hover img {
  max-width: 100px;
  display: block;
  margin-bottom: 10px;
}

.project-card figure .box-hover a {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #FFF;
  pointer-events: all;
}

.project-card figure .box-hover p {
  font-weight: 300;
}

.project-card .project-card-body {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.project-card .project-card-body h5 {
  font-weight: 500;
}

.project-card .project-card-body p {
  font-weight: 300;
}

/* Services */

#services {
  padding-block: 60px;
}

.points-pattern {
  position: absolute;
  bottom: 0px;
  inset-inline-end: 0;
  z-index: 1;
  pointer-events: none;
}

.brand-logo-bg {
  position: absolute;
  inset-inline-end: 0;
  bottom: 70px;
  z-index: 0;
  pointer-events: none;
  opacity: 10%;
  max-width: 210px;
}

#services .head-section {
  font-size: 44px;
  display: grid;
  padding-inline-start: 20px;
  font-weight: 600;
}

#services .head-section small {
  display: block;
  font-size: 14px;
  margin-top: 9px;
  font-weight: 300;
  line-height: 1.5;
}

.services .box {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.services .box .number {
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  color: #BA9776;
}

.services .box .box-body h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Projects */
#projects {
  padding-block: 60px;
}

.projects .card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px 4px rgb(0 0 0 / 6%);
}

.projects .card figure {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin: 0;
}

.projects .card figure a {
  display: block;
  width: 100%;
  height: 100%;
}

.projects .card figure a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.projects .card figure a:hover img {
  transform: scale(1.05);
}

.projects .card .card-body {
  padding: 20px;
}

.projects .card .card-body .card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.projects .card .card-body .card-title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.projects .card .card-body .card-title a:hover {
  color: var(--color-secondary);
}

.projects .card .card-body .card-text {
  color: var(--color-custom);
  margin-bottom: 20px;
}

.projects .card .card-body .btn {
  padding-inline: 0;
}

/* #clients */

#clients {
  background: linear-gradient(to bottom, #282828, #0F0F0F);
  color: #FFF;
}

#clients .head-section {
  text-align: center;
  color: #FFF;
  padding-top: 40px;
  font-weight: 600;
  font-size: 30px;
}

#clients .head-section::before {
  height: 30px;
  inset-inline: 0;
  margin-inline: auto;
}

#clients .head-section small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 14px;
}

.client-logo {
  height: 100px;
  background: #FFF;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  /* filter: brightness(0)invert(1); */
  /* opacity: 50%; */
  transition: all 0.3s ease;
}

.client-logo:hover img {
  opacity: 100%;
  filter: unset;
}

/* careers */

#careers>img {
  position: absolute;
  opacity: 10%;
  bottom: 0;
  max-width: 170px;
  z-index: -1;
  inset-inline-end: 0;
}

#careers figure {
  display: none;
}

#careers .head-section {
  font-weight: 600;
  font-size: 50px;
  padding-inline-start: 23px;
}

#careers .head-section small {
  font-weight: 300;
  display: block;
  font-size: 15px;
  margin-top: 20px;
}

/* Contact  */
#contact {
  background: #e8e8e8;
}

#contact .head-section {
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  padding-top: 40px;
}

#contact .head-section::before {
  height: 30px;
  inset-inline: 0;
  margin-inline: auto;
}

#contact .head-section small {
  display: block;
  font-size: 14px;
  font-weight: 300;
  margin-top: 10px;
}

#contact .form-control {
  padding: 13px 14px;
  direction: rtl;
  border-radius: 0;
}

/* google-map */
#google-map {
  background-color: #e8e8e8;
}

#google-map .inner {
  height: 200px;
}

#google-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */

footer .top {
  background-image: url(../images/footer-bg.jpg);
  background-size: cover;
  color: #FFF;
  text-align: center;
  padding: 50px 0;
  position: relative;
  z-index: 1;
  line-height: 1.8;
  background-repeat: no-repeat;
}

footer figure img {
  width: 100%;
}

footer a {
  color: #FFF;
}

footer h3 {
  color: #FFF;
  margin-block-end: 14px;
}

footer .row {
  gap: 16px;
}

.copyright {
  background: #000;
  padding-block: 8px;
  color: #FFF;
}

#whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25D366;
  border-radius: 50%;
  padding: 12px;
  width: 60px;
  height: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

#whatsapp-icon a i {
  font-size: 34px;
  color: #ffffff;
  position: relative;
  inset-inline-start: 3px;
}

#whatsapp-icon:hover {
  background-color: #128C7E;
}

.entry-header-image {
  height: 260px;
  color: #FFF;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.entry-header-image h1.entry-title {
  font-size: 28px;
  font-weight: 700;
  padding-top: 140px;
}

.entry-content {
  min-height: 180px;
  margin-bottom: 80px !important;
}

#primary {
  margin-bottom: 80px;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
  direction: rtl !important;
}



.box-search {
  position: fixed;
  inset: 0;
  width: 100%;
  background: rgb(0 0 0 / 60%);
  z-index: 999;
  padding: 13px;
  display: grid;
  place-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.box-search.active {
  opacity: 1;
  pointer-events: auto;
}

.box-search form.search-form {
  display: flex;
  gap: 12px;
  min-width: 100%;
}

.box-search form.search-form label {
  flex: 1;
}

.box-search form.search-form label input.search-field {
  width: 100%;
  border: 0;
  padding: 11px 16px;
}

.box-search form.search-form input.search-submit {
  background: #ba9776;
  color: #FFF;
  border: 0;
  padding: 0 40px;
  transition: 300ms;
}

.box-search form.search-form input.search-submit:hover {
  background: #111;
}

button.search-close {
  background: transparent;
  border: none;
  color: #FFF;
  position: absolute;
  inset-inline-start: 80px;
  top: 50px;
  font-size: 23px;
}

@media (min-width: 768px) {
  #home-slider .slider-caption {
    width: 450px;
  }

  #home-slider .slider-caption h5 {
    font-size: 50px;
    font-weight: 700;
  }

  #home-slider img {
    height: 450px;
  }

  footer .row {
    gap: 0;
  }

  footer {
    text-align: start;
  }

  footer h3 {
    font-size: 18px;
  }

  .copyright .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #services .head-section {
    max-width: 310px;
  }

  #clients .head-section {
    max-width: 400px;
    margin-inline: auto;
  }

  #careers figure {
    display: block;
    margin: 0;
    height: 420px;
  }

  #careers figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
  }

  #careers {
    padding-bottom: 0 !important;
  }

  #careers .row {
    align-items: center;
  }

  #google-map .inner {
    height: 280px;
    position: relative;
    z-index: 11;
  }

  .page-template-template-home footer .top {
    /* margin-top: -70px; */
    /* padding-top: 120px; */
  }

  footer .top {
    text-align: start;
  }

  #contact .form-control {
    padding: 10px 16px;
  }

  #contact textarea.wpcf7-form-control {
    height: 160px;
  }

}

@media (min-width:992px) {
  button.menu-toggle {
    display: none;
  }

  .container.header-main {
    justify-content: flex-start;
    gap: 90px;
  }

  #primary-menu {
    position: static;
    width: auto;
    height: auto;
    transform: translateX(0);
    display: flex;
    gap: 20px;
    padding: 0;
    background: transparent;
    align-items: center;
  }

  #site-navigation {
    flex: 1
  }

  #primary-menu>li {
    display: inline-block;
  }

  #primary-menu>li:last-child {
    margin-inline-start: auto;
  }

  #primary-menu>li:last-child a {
    border: 1px solid #ba9776;
    transition: 300ms
  }

  #primary-menu>li:last-child a:hover {
    background-color: #ba9776;
    color: #FFF
  }

  #primary-menu>li>a {
    padding: 10px 20px;
    color: #FFF;
    position: relative;
  }

  #primary-menu>li.current-menu-item>a {
    color: #BA9776;
  }

  #primary-menu>li.search {
    font-size: 0;
    background-image: url(../images/Search_alt_duotone_line.svg);
    height: 21px;
    width: 21px;
  }

  .box-search form.search-form {
    min-width: 530px;
  }


}



@media (min-width:1200px) {

  .container.header-main {
    justify-content: flex-start;
    gap: 170px;
  }

  .head-section {
    font-size: 40px;
    font-weight: 400;
  }

  #home-slider .slider-caption {
    width: 690px;
  }

  #home-slider .slider-caption h5 {
    font-size: 80px;
  }

  #home-slider .slider-caption p {
    max-width: 480px;
    margin-inline: auto;
  }

  #home-slider img {
    height: 680px;
  }

  .about-content h2 {
    font-size: 16px;
  }

  .about-content h2 span {
    margin-top: 10px;
    font-size: 130px;
  }

  .about-content h2~small {
    font-size: 22px;
  }

  #about-us p {
    max-width: 790px;
    margin-inline: auto;
    margin-bottom: 50px !important;
  }

  .icon-logo {
    width: 400px;
    height: 443px;
    bottom: -100px;
  }

  .projects .card figure {
    height: 240px;
  }

  #contact-cta {
    padding-block: 280px !important;
    height: 670px;
  }

  footer figure img {
    max-width: 320px;
    display: block;
    margin-inline: auto;
  }

  .site-header.fixed {
    position: fixed;
    background: #000;
  }
}

@media (min-width: 1400px) {

  #home-slider .slider-caption h5 {
    font-size: 84px;
  }

  #home-slider img {
    height: 600px;
  }

  #about-us>img.img-fluid {
    width: 530px;
    height: 850px;
    top: -250px;
  }

  .icon-logo {
    width: 500px;
    height: 543px;
    bottom: -150px;
  }

  #contact-cta {
    height: 740px;
  }

}

.entry-content .client-logo {
  box-shadow: 0 0 10px 4px rgb(0 0 0 / 6%);
  height: 150px;
  padding: 16px;
}

.entry-content .client-logo img {
  filter: unset;
  opacity: 100%;
}

.gallery-columns-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-columns-3 figure{
  margin: 0;
}

.gallery-icon a {
  display: block;
  position: relative;
  height: 170px;
}

.gallery-icon a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
}

@media (min-width:1200px) {
  .gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-icon a{
    height: 250px;
  }
}