/* # variables */
:root {
  --hue: 200;
  --saturation: 70%;
  --lightness: 55%;
  --main-color: #aa9741;

  /* text colors */
  --text-white: hsl(0, 0%, 100%);
  --text-light-gray: hsl(0, 0%, 96%);
  --text-x-dark-gray: hsl(0, 0%, 10%);
  --text-dark-gray: hsl(0, 0%, 20%);

  /* bg colors */
  --body-bg-color: hsl(var(--hue), 60%, 94%);
  --bg-color: hsl(var(--hue), 60%, 96%);
  --bg-white: hsl(0, 0%, 94%);

  /* border color */
  --border-color: hsl(var(--hue), 48%, 80%);

  /* shadow */
  --shadow: 0 0 10px hsla(var(--hue), 57%, 63%, 0.3);
  --focus-shadow: 0 0 10px hsla(var(--hue), 57%, 63%, 0.6);

  /* font size */
  --fs-4xl: 50px;
  --fs-3xl: 35px;
  --fs-2xl: 26px;
  --fs-xl: 20px;
  --fs-lg: 18px;
  --fs-md: 16px;
  --fs-sm: 14px;
}

body.t-dark {
  /* text colors */
  --text-x-dark-gray: hsl(0, 0%, 94%);
  --text-dark-gray: hsl(0, 0%, 84%);

  /* bg colors */
  --body-bg-color: hsl(var(--hue), 20%, 10%);
  --bg-color: hsl(var(--hue), 13%, 17%);

  /* border color */
  --border-color: hsl(var(--hue), 15%, 30%);

  /* shadow */
  --shadow: 0 0 10px hsla(var(--hue), 19%, 7%, 0.9);
}

/* start base */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  font-weight: 300;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--text-dark-gray);
  background-color: var(--bg-white);
  -webkit-text-size-adjust: 100%;
  -webkit-top-highlight-color: transparent;
    direction: rtl;
}

a {
  color: var(--main-color);
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-x-dark-gray);
  line-height: 1.3;
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

::selection {
  color: var(--text-white);
  background-color: var(--main-color);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: var(--body-bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}

/* # page wrapper */
.page-wrapper {
  overflow: hidden;
}

/* # container */
.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 15px;
}

/* grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

/* section */
.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title .title {
  display: inline-block;
  font-size: var(--fs-lg);
  font-weight: 400;
  text-transform: capitalize;
  color: var(--main-color);
  margin: 0 0 12px;
  padding: 0 40px;
  position: relative;
}

.section-title .title::before,
.section-title .title::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 34px;
  background-color: var(--main-color);
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.section-title .title::after {
  right: 0;
}

.section-title .title::before {
  left: 0;
}

.section-title .sub-title {
  font-size: var(--fs-3xl);
  text-transform: capitalize;
}

/* buttons */
button {
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--main-color);
  color: var(--text-white);
  font-weight: 500;
  font-size: var(--fs-md);
  text-transform: capitalize;
  line-height: 1.5;
  font-family: inherit;
  border: 2px solid transparent;
  vertical-align: middle;
  user-select: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.btn:hover {
  background-color: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

/* # forms */
.input-box {
  margin-bottom: 20px;
}

::placeholder {
  color: var(--text-dark-gray);
  opacity: 1;
}

.input-control {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  color: var(--text-x-dark-gray);
  padding: 0 20px;
}

.input-control:focus {
  outline: 1px solid var(--border-color);
}

textarea.input-control {
  display: block;
  height: 150px;
  padding-top: 15px;
  resize: none;
}

/* start header */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 2;
  padding: 10px 0;
}

.header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  z-index: -1;
  transform: translateY(calc(-100% - 10px));
  -webkit-transform: translateY(calc(-100% - 10px));
  -moz-transform: translateY(calc(-100% - 10px));
  -ms-transform: translateY(calc(-100% - 10px));
  -o-transform: translateY(calc(-100% - 10px));
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.header.bg-reveal::before {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo a {
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  display: block;
  letter-spacing: 2px;
  transform: scaleY(0.9);
  -webkit-transform: scaleY(0.9);
  -moz-transform: scaleY(0.9);
  -ms-transform: scaleY(0.9);
  -o-transform: scaleY(0.9);
}

.header .logo span {
  padding-top: 10px;
  font-size: 15px;
  display: block;
  font-weight: 400;
  color: var(--text-x-dark-gray);
}

.nav li {
  display: inline-block;
  margin-left: 35px;
}

.nav a {
  text-transform: capitalize;
  font-size: var(--fs-md);
  color: var(--text-x-dark-gray);
  font-weight: 400;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--main-color);
}

.nav-toggler {
  display: none;
}
/* end header */

/* start home section */
.home {
  padding: 20px;
}

.home .grid{
  min-height: 100vh;
}

.home-text,
.home-img {
  grid-column: span 6;
  align-self: center;
}

.home-text h1 {
  font-size: var(--fs-4xl);
  margin: 0 0 20px;
  text-transform: capitalize;
}

.home-text p {
  margin: 0 0 30px;
}

.home-img {
  position: relative;
}

.home-img .circle-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
}

.home-img .circle {
  height: 350px;
  width: 350px;
  background-color: var(--main-color);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.home-img img {
  max-width: 270px;
  display: block;
  margin: auto;
}
/* end home section */

/* start about section */
.about .section-title {
  text-align: right;
  margin: 0 0 15px;
}

.about-img,
.about-text {
  grid-column: span 6;
  align-self: center;
}

.about-img .img-box {
  max-width: 400px;
  margin: auto;
  padding: 15px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  position: relative;
}

.about-img .img-box img {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.about-img .box {
  height: 125px;
  width: 125px;
  background-color: var(--main-color);
  position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 15px;
  border-radius: 0 40px;
  -moz-border-radius: 0 40px;
  -ms-border-radius: 0 40px;
  -o-border-radius: 0 40px;
}

.about-img .box-1 {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.about-img .box span {
  color: var(--text-white);
  font-weight: bold;
  font-size: var(--fs-3xl);
  margin: 0 0 5px;
  line-height: 1;
}

.about-img .box p {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  color: var(--text-light-gray);
  margin: 0;
}
/* end about section */

/* start features section */
.features-item{
    grid-column: span 4;
    text-align: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
    border-radius: 6px;
}

.features-item .img-box i{
    font-size: 35px;
    margin: 30px auto;
    display: block;
    text-align: center;
    color: #d5d5d5;
}

.features-item h3{
        margin: 0 0 10px;
    color:var(--main-color);
}

.features-item p{
    color: #777;
    margin-bottom: 12px;
    display: block;
}
/* end features section */

/* start services section */
.services-item{
  grid-column: span 3;
  text-align: center;
}

.services-item .img-box{
  height: 140px;
  width: 140px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
  background-color: var(--bg-color);
  padding: 8px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  overflow: hidden;
}

.services-item .img-box img {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.services-item:hover .img-box img {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -o-transform: scale(1.5);
}

.services-item h3 {
  text-transform: capitalize;
  font-size: var(--fs-xl);
  font-weight: 500;
}

.services-pic,
.services-text{
  margin: 90px 0;
  grid-column: span 6;
  align-self: center;
}

.services-text .section-title{
  text-align: right;
  margin-bottom: 20px;
}

.services-text ul li{
  color: #777;
  padding: 15px 0;
}

.services-text ul li i{
  color: var(--main-color);
  margin-left: 10px;
}
/* end services section */

/* start contact */
.contact-grid {
  max-width: 1000px;
  margin: auto;
}

.contact-info {
  grid-column: span 12;
}

.contact-form {
  grid-column: span 12;
}

.contact-form .map{
  border-radius: 10px;
}

.contact-form .map iframe{
  width: 100%;
  border: 0 solid var(--main-color);
   border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.contact-form .map-btn{
    background-color: var(--main-color);
  text-align: center;
  padding: 20px;
border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.contact-form .map-btn h4{
  font-size: 30px;
  color: white;
}

.contact-info-item {
  position: relative;
  padding: 20px 0 20px 70px;
}

.contact-info-item + .contact-info-item {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
}

.contact-info-item i {
  height: 50px;
  width: 50px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  color: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 20px;
}

.contact-info-item h3 {
  margin: 0 0 10px;
  font-size: var(--fs-xl);
  font-weight: 500;
  text-transform: capitalize;
}

.contact-info-item p:last-child {
  margin: 0;
}


/* end contact */

/* start footer */
.footer {
  padding: 50px 0;
  background-color: var(--main-color);
  text-align: center;
}

.footer h3 {
  color: var(--text-white);
  font-size: var(--fs-2xl);
  margin: 0 0 15px;
  font-weight: 500;
  text-transform: capitalize;
}

.footer .social-links a {
  height: 40px;
  width: 40px;
  display: inline-flex;
  background-color: var(--bg-white);
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  border: 1px solid transparent;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.footer .social-links a:hover {
  background-color: transparent;
  color: var(--text-white);
  border-color: initial;
}
/* end footer */

.whatsapp-icon{
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 40px;
  width: 40px;
  font-size: 40px;
    padding: 30px;
    display: inline-flex;
    background-color: var(--bg-white);
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all 0.5s ease;

}

/* preloader */
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
  -webkit-transition: opacity 0.6s ease;
  -moz-transition: opacity 0.6s ease;
  -ms-transition: opacity 0.6s ease;
  -o-transition: opacity 0.6s ease;
}

.preloader div {
  height: 40px;
  width: 40px;
  border-left: 4px solid var(--main-color);
  border-right: 4px solid var(--main-color);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  animation: preloader 1s linear infinite;
  -webkit-animation: preloader 1s linear infinite;
}

@keyframes preloader {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

/* responsive */
@media (max-width: 1199px) {
  .about-img .box-1 {
    top: 100%;
    left: 50%;
  }
}

@media (max-width: 991px) {
  /* variables */
  :root {
    --fs-4x1: 42px;
    --fs-3x1: 31px;
    --fs-2x1: 24px;
  }

  /* home */
  .home-img img {
    max-width: 250px;
  }

  .home-img .circle {
    height: 290px;
    width: 290px;
  }

    
  /* services */
  .services-item .img-box {
    height: 120px;
    width: 120px;
  }

  /* pricing */
  .pricing-item,
    .features-item{
    grid-column: span 6;
  }

  .pricing-header .price {
    height: 130px;
    width: 130px;
  }

  /* team */
  .team-item {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  /* variables */
  :root {
    --fs-4x1: 35px;
    --fs-3x1: 25px;
    --fs-2x1: 22px;
    --fs-x1: 18px;
  }

  /* header */
  .nav-toggler {
    display: block;
    height: 34px;
    width: 40px;
    border: none;
    z-index: 1;
    background-color: transparent;
  }

  .nav-toggler span {
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--main-color);
    margin: auto;
    position: relative;
    transition: bacground-color 0.3s ease;
    -webkit-transition: bacground-color 0.3s ease;
    -moz-transition: bacground-color 0.3s ease;
    -ms-transition: bacground-color 0.3s ease;
    -o-transition: bacground-color 0.3s ease;
  }

  .nav-toggler.active span {
    background-color: transparent;
  }

  .nav-toggler span::after,
  .nav-toggler span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
  }

  .nav-toggler span::before {
    transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
    -moz-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    -o-transform: translateY(-7px);
  }

  .nav-toggler.active span::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }

  .nav-toggler span::after {
    transform: translateY(7px);
    -webkit-transform: translateY(7px);
    -moz-transform: translateY(7px);
    -ms-transform: translateY(7px);
    -o-transform: translateY(7px);
  }

  .nav-toggler.active span::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
  }

  .nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 260px;
    background-color: var(--bg-color);
    padding: 60px 30px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  }

  .nav.open {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    box-shadow: var(--shadow);
  }

  .nav li {
    display: block;
    margin: 0;
  }

  .nav a {
    font-size: var(--fs-lg);
  }

  .nav li + li {
    border-top: 1px solid var(--border-color);
  }

  /* home */
  .home-text,
  .home-img {
    grid-column: span 12;
  }

  .home-img {
    order: -1;
    margin-bottom: 20px;
  }

  /* about */
  .about-img,
  .about-text,
  .services-pic,
  .services-text {
    grid-column: span 12;
  }

  .about-text {
    order: -1;
  }

  .about-img .box {
    height: 115px;
    width: 115px;
  }
    
  /* services */
  .services-item {
    grid-column: span 6;
  }

  /* pricing */
  .pricing-header .price {
    height: 120px;
    width: 120px;
  }

  /* contact */
  .contact-info,
  .contact-form {
    grid-column: span 12;
  }

  .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  /* grid */
  .grid {
    gap: 30px 15px;
  }

  /* home */
  .home-img img {
    max-width: 200px;
  }

  .home-img .circle {
    height: 250px;
    width: 250px;
  }

  /* team */
  .team-item,
    .features-item{
    grid-column: span 12;
  }
}
