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

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

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

:root {
  --c-site: #D28935;
}

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

p {
  color: #282828bd;
  line-height: 2;
  font-size: 16px;
}

img {
  max-width: 100%;
}

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

figure {
  padding: 0;
  margin: 0;
}

.btn-site {
  font-size: 16px;
  padding: 10px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 300ms;
  outline: none;
  border-radius: 50px;
  border: 1px solid #858585;
}

.btn-site:hover {
  background: var(--c-site);
  border-color: transparent;
  color: #fff;
}

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

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

.title-section::before {
  content: "";
  position: absolute;
  height: 1px;
  width: 30px;
  background: var(--c-site);
  bottom: -15px;
  left: 0;
  right: 0;
  margin: auto;
}

.head {
  margin-block-end: 50px;
}

.head-section {
  margin-block-end: 70px;
  position: relative;
  padding-inline-start: 25px;
}

.head-section::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  inset-inline-start: 0;
  inset-block-start: 0;
  background-color: var(--c-site);
}

.head-section h2 {
  font-size: 30px;
  font-weight: bold;
}

.head-section small {
  font-size: 13px;
  color: #535353;
}

.card-site {
  margin-block-end: 20px;
}

.card-site a.image-card {
  display: block;
  overflow: hidden;
  position: relative;
}
.card-site a.image-card figure {
  height: 250px;
}

.card-site a.image-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 300ms;
}

.card-site:hover a.image-card img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(0.5);
}

.card-site .box-caption {
  background: #fff;
  padding: 20px 30px;
}

.card-site .box-caption > a {
  font-size: 18px;
  font-weight: bold;
  color: #282828;
  margin-block-end: 10px;
  display: block;
}

.card-site:hover .box-caption > a {
  color: var(--c-site);
}

.card-site .box-caption p {
  margin: 0;
}

.card-site .info-more {
  margin-block-start: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

/* Start Header */
#masthead {
  position: absolute;
  top: 40px;
  width: 100%;
  z-index: 99;
}

#masthead .logo-container {
  padding: 10px 25px;
  background: linear-gradient(45deg, #8b7140, #f1c36e);
  border-radius: 10px;
}

#masthead a.logo-site {
  display: block;
  height: 80px;
}

#masthead a.logo-site img {
  width: 100%;
  height: 100%;
  object-fit: inherit;
}

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

#primary-menu li a {
  font-size: 15px;
  color: #ffffffb5;
  font-weight: 400;
}

#primary-menu li.current-menu-item a {
  color: #fff;
  font-weight: bold;
}

#primary-menu li.current-menu-item a:hover {
  color: #fff !important;
}

#primary-menu li a:hover,
#primary-menu li.current-menu-item a:hover {
  color: #ffffffcf;
}

#masthead .right-header {
  gap: 30px;

}

.lang a {
  border: 1px solid #fff;
  display: grid;
  place-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  width: 62px;
  height: 44px;
}

.lang a:hover {
  background: #fff;
  color: #000;
  border-color: transparent;
}

/* End Header */

/* Start Slider */
.main-slider .item {
  height: 700px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.main-slider .item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider .container {
  position: absolute;
  inset: 0;
}

.main-slider .item .caption {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 150px;
  color: #fff;
  display: grid;
  place-content: center;
  place-items: center;
}

.main-slider .item .caption h2 {
  font-weight: bold;
  font-size: 55px;
  animation: slide 1s ease-in-out 1 normal both;
  position: relative;
}

.main-slider .item .caption span {
  display: block;
  font-weight: 300;
  font-size: 30px;
  margin-block-start: 15px;
}

@keyframes slide {
  0% {
    top: 50px;
    opacity: 0;
  }

  100% {
    top: 0;
    opacity: 10;
  }
}
/* End Slider */

/* Start About */
.about {
  position: relative;
  padding-block: 60px;
}

.about .image-section figure {
  height: 400px;
  position: relative;
}

.about .image-section figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .caption {
  padding-block: 40px 0;
}
.about .content {
  margin-block-start: 40px;
}

/* End About */

/* Start About Miracle */

.about-miracle {
  padding-block: 30px 60px;
}

.about-miracle .item {
  padding: 25px 35px 15px;
  border: 1px solid #e9e9e9;
  position: relative;
  min-height: 200px;
}

.about-miracle .item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 2px;
  height: 50px;
  background: var(--c-site);
  transition: 300ms;
}

.about-miracle .item:hover::before {
  height: 80%;
}
.about-miracle .title {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-block-end: 15px;
}

.title h2 {
  font-size: 20px;
  font-weight: bold;
}

.about-miracle .item p{
  margin:0;
}
/* Start About Miracle */

/* Start service */
body:is(.home) .service {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  margin-block-start: 200px;
  padding-block: 30px 10px;
  background-position: right;
}

.service .image figure {
  position: absolute;
  inset-inline-end: 0;
  width: 50%;
  top: -120px;
  height: 750px;
}

.service .image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service .head-section {
  position: absolute;
  top: -120px;
  margin-block-end: 0;
}

.service .item {
  padding: 25px 35px;
  border: 1px solid #d2d2d2;
  position: relative;
  margin-block-end: 20px;
  margin-inline-end: 20px;
  background-color: #f9f9f98f;
}

.service .item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 2px;
  height: 50px;
  background: var(--c-site);
  transition: 300ms;
}

.service .item:hover::before {
  height: 70%;
}

.service .item > a {
  font-size: 17px;
  display: block;
  margin-block-end: 15px;
  font-weight: bold;
  color: #090909bf;
  transition: 300ms;
}

.service .item:hover > a {
  color: var(--c-site);
}

.service .item p {
  margin: 0;
}
/* End service */

/* Start News */
.news {
  background-color: #f1f1f1;
  padding-block: 40px;
}
body:is(.home) .news {
  padding-block: 70px;
}

.news .btn-site {
  display: inline-block;
  margin-block-start: 50px;
}
/* End News */

/* Start client */
.client {
  padding-block: 40px 80px;
}

.client .item {
  text-align: center;
  padding: 20px;
  display: grid;
  place-content: center;
  margin-block: 10px 20px;
  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;
}

.slider-client {
  position: relative;
}

.client .swiper-pagination {
  position: absolute;
  bottom: -50px;
}

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

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

/* Start contact */
body:is(.home) .contact {
  padding-block: 60px 10px;
  color: #fff;
    background-image: url('https://miracle-lifts.com/wp-content/themes/miraclelifts/assets/images/bg-contact.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  background-image: url(../images/s-site.png);
  width: 78px;
  height: 177px;
  inset-block-end: 30px;
  inset-inline-start: 30px;
}

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

body:is(.home) .form-control {
  color: #fff;
}
textarea.form-control {
  height: 160px;
}

html[lang="en-US"] .form-control {
  direction: ltr !important;
}

body:is(.home) .form-control:focus {
  color: #fff !important;
  background-color: transparent;
  border-color: #fff;
}
.form-control:focus {
  color: #000;
  box-shadow: none;
  outline: none;
  border-color: #00000061;
}
body:is(.home) .form-control::placeholder {
  color: #878787;
}

.contact .btn-site {
  margin: 40px auto 0;
 background: #d7ae62;
  color: #fff;
  border-color: transparent;
}

.contact .btn-site:hover {
  background-color: #fff;
  color: var(--c-site);
}
/* End contact */

/* Start information */
.information {
  padding: 40px 25px 20px;
  background: linear-gradient(45deg, #f1c36e, #8b7140);
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  color: #fff;
}

.information .info {
  width: 50%;
}

.information .map {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 50%;
  height: 100%;
}

.information .map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.information h2 {
  position: relative;
  margin-block-end: 41px;
  font-size: 19px;
  padding-inline-start: 5px;
}

.information h2::before {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 50px;
  height: 1px;
  background: #fff;
}

.information ul.info li {
  display: flex;
  color: #FFF8F8;
  gap: 10px;
  margin-block-end: 19px;
  font-size: 14px;
  line-height: 1.8;
}

.information ul.info li svg {
  margin-block-start: 5px;
}
/* End information */

/* Start Footer */

footer .top {
  padding-block: 40px;
  background: #1e1e1e;
  display: grid;
  place-content: center;
}
footer .logo-site > a {
  display: block;
  width: 170px;
  margin: 0 auto 40px;
}

footer .logo-site > a img {
  width: 100%;
  height: 100%;
  object-fit: inherit;
}

footer #navbar-site {
  background: #313131;
  padding: 20px 40px;
  border-radius: 10px;
}

footer .bottom {
  background: linear-gradient(45deg, #f1c36e, #8b7140);
  padding-block: 20px;
}

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

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

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

ul.socail-m a {
  color: #111;
  font-size: 16px;
}

ul.socail-m a:hover {
  color: #000;
}

footer .copyright span {
  font-size: 14px;
}

/* end Footer */
/********************************************************************************** Start Syles Pages  **********************************************************************************/
.entry-header {
  text-align: center;
  min-height: 280px;
  background: #1e1e1e;
  margin-block-end: 30px;
}

.entry-header .entry-title {
  color: #fff;
  margin-block-end: 0;
  padding-block-start: 180px;
  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;
}

.page-template-template-news .entry-header {
  margin-block-end: 0;
}

.page-template-template-contact .item {
    border-radius: 10px;
    padding-block: 40px 0;
    padding-inline: 20px;
    background: #ffffff;
    box-shadow: 0px 0px 20px #b9b9b980;
    margin-block-end: 40px;
}


.page-template-template-contact .item .btn-site:hover {
    background: #edbf6c;
    color: #fff;
}
.page-template-template-contact .form-control {
    border-color: #cfcfcf !important;
}
/********************************************************************************** End Syles Pages  **********************************************************************************/

/* Start media Styles */

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

  #masthead .right-lang {
    display: none !important;
  }

  #masthead .logo-container {
    padding: 5px 20px;
  }

  #masthead {
    top: 20px;
  }

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

  #masthead a.logo-site {
    height: 45px;
  }

  #masthead .right-header {
    gap: 10px;
    flex-direction: row-reverse;

  }

  .lang a {
    height: 30px;
    width: 40px;
    font-size: 12px;
  }

  #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;
  }

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

  #navbar-site {
    position: fixed;
    inset-inline-start: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    background-color: var(--c-site);
    z-index: 999;
    transform: translateX(100%);
    transition: 300ms;
    display: block;
    padding-block-start: 7px;
    text-align: center;
    padding-block: 25px 0;
  }

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

  #button-close {
    width: 45px;
    height: 45px;
    color: #fff;
    display: grid;
    place-content: center;
    cursor: pointer;
    margin: auto;
    border: 1px solid #fff;
    border-radius: 50px;
    margin-block-end: 10px;
    transition: 300ms;
  }

  #button-close:hover {
    background: #fff;
    color: var(--c-site);
  }

  #primary-menu li a {
    font-size: 15px;
  }

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

  #primary-menu li a:hover,
  #primary-menu li.current-menu-item a {
    color: #dbdbdb;
  }
  .main-slider .item {
    height: 450px;
  }

  .main-slider .item .caption {
    padding-inline-start: 10px;
  }

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

  .main-slider .item .caption span {
    font-size: 24px;
  }
  .about {
    padding: 40px 0;
  }

  .about .image-section figure {
    height: 250px;
  }

  .about .caption {
    padding-block: 20px 0;
  }

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

  p {
    font-size: 13px;
  }

  .about-miracle {
    padding-block-end: 20px;
  }

  .about-miracle .item {
    margin-block-end: 20px;
    padding: 20px 30px 10px;
  }

  .about-miracle .title {
    gap: 15px;
  }

  .title h2 {
    font-size: 18px;
  }
  .service .image figure {
    display: none;
  }

  .service .item {
    margin-inline-end: 0;
  }

  .service .item > a {
    font-size: 17px;
  }
  .service {
    margin-block-start: 0;
    padding-block: 35px;
  }

  .service .head-section {
    position: relative;
    inset: 0;
    margin-block-end: 35px;
  }

  .head-section h2 {
    font-size: 25px;
  }
  .news {
    padding-block: 30px;
  }

  .card-site {
    margin-block-end: 20px;
  }

  .card-site a.image-card figure {
    height: 200px;
  }

  .card-site .info-more {
    font-size: 14px;
  }
  .news .btn-site {
    margin-block-start: 10px;
  }

  .client {
    padding-block: 40px 80px;
  }

  .client .swiper-pagination {
    bottom: -40px;
  }
  .contact::before {
    display: none;
  }
  .information .map {
    display: none;
  }

  .information .info {
    width: 100%;
  }

  footer .logo-site > a {
    width: 80px;
    margin-block-end: 0;
  }

  footer .top {
    padding-block: 20px;
  }

  footer #navbar-site {
    display: none;
  }
  footer .copyright {
    flex-direction: column;
    gap: 15px;
  }



  footer .copyright .left {
    justify-content: space-between;
    width: 100%;
    padding-inline: 8px;
  }

  footer .bottom figure a {
    height: 31px;
    display: block;
  }

  footer .bottom figure a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  footer .bottom {
    padding-block: 8px;
  }

  /* Start Pages Styles Responsev */
  .entry-header {
    min-height: 170px;
  }

  .entry-header .entry-title {
    font-size: 20px;
    padding-block-start: 120px;
  }
}
