
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lexend", serif;
}

:root {
  --main-color: #cf3533;
}

a {
  font-weight: 400;
  text-decoration: none !important;
  cursor: pointer !important;
}

p {
  font-size: 16px;
  line-height: 20px;
  @media (max-width: 991px) {
    font-size: 14px;
  }
}

nav {
  position: fixed !important;
  background-color: #fff;
  top: 0;
  padding: 20px !important;
  width: 100%;
  box-shadow: 0 2px 5px #0003;
  z-index: 9;
  img {
    width: 200px;
  }
  @media(max-width:991px){
    padding: 10px !important;
    img{
      width: 125px;
    }
  }
  .nav-item:nth-last-child(1){
      display: inline-block;
      padding: 0px 10px;
      border-radius: 5px;
      background-color: var(--main-color);
      a{
        color: #fff;
      }
   
  }
}

.space{
  position: relative;
  height: 0;
  padding-top: 100px;
  @media(max-width:991px){
    padding-top: 65px;
  }
}
main {
  position: relative;
}

#hero {
  background-color: var(--main-color);
  padding: 75px 0;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  .top {
    max-width: 71%;

    h2 {
      text-transform: uppercase;
      font-family: "Plus Jakarta Sans", serif;
      font-size: 20px;
      font-weight: 700;
      line-height: 28px;
      position: relative;

      &:before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(50% - 100px);
        transform: translateY(-50%);
        height: 5px;
        width: 5px;
        border-radius: 50%;
        background-color: #fff;
      }

      &:after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(50% - 100px);
        transform: translateY(-50%);
        height: 5px;
        width: 5px;
        border-radius: 50%;
        background-color: #fff;
      }
    }

    h1 {
      text-align: center;
      width: auto;
      margin-top: 10px;
      margin-bottom: 10px;
      font-size: 62px;
      font-weight: 600;
      line-height: 76px;
      display: block;
    }

    p {
      padding-bottom: 30px;
      font-family: "Plus Jakarta Sans", serif;
    }

    a {
      padding: 12px 56px;
      background-color: #fff;
      color: var(--main-color);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
    }
  }

  .home-servies {
    display: flex;
    padding-top: 75px;
    padding-bottom: 50px;
    .box {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 25%;

      .right {
        text-align: left;

        span {
          font-size: 40px;
          line-height: 20px;
          font-weight: 500;
        }

        p {
          color: #fefefe;
          text-transform: capitalize;
          padding-bottom: 0;
          font-size: 14px;
          font-weight: 500;
          line-height: 24px;
          margin-bottom: 0;

          b {
            display: block;
            text-transform: capitalize;
          }
        }
      }

      .img {
        text-align: left;
        background-color: #fff;
        border-radius: 50%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 84px;
        height: 84px;
        display: flex;
      }

      img {
        vertical-align: middle;
        max-width: 100%;
        display: inline-block;
      }
    }
  }

  @media (max-width: 991px) {
    padding: 3rem 30px;
    .top {
      max-width: 100%;
      h1 {
        font-size: 26px;
        line-height: 32px;
      }
    }
    .home-servies {
      flex-wrap: wrap;
      gap: 50px;
      .box {
        width: 100%;
        flex-direction: column;
        .right {
          text-align: center;
        }
      }
    }
  }
}

#about {
  padding: 75px 0;

  .container {
    display: flex;
    gap: 20px;
    align-items: center;

    h1 {
      margin-top: 20px;
      font-size: 38px;
      line-height: 44px;
      font-weight: 700;
    }

    p {
      color: #888b97;
      margin-bottom: 24px;
    }

    ul {
      margin: 0 !important;
      padding-left: 1rem;
      display: flex;
      flex-wrap: wrap;
      padding-top: 10px;

      li {
        width: 50%;
        color: #322d30;
        padding-left: 10px;
        font-size: 16px;
        line-height: 24px;
        display: flex;
        position: relative;
        padding-bottom: 20px;

        &::before {
          position: absolute;
          left: -12px;
          content: "";
          background: url("../img/check-mark.svg");
          height: 20px;
          width: 20px;
          background-repeat: no-repeat;
          background-position: bottom;
        }
      }
    }
    .left {
      width: 50%;
    }
    .right {
      width: 50%;
      img {
        width: 100%;
      }
    }
  }
}

#why_choose_us {
  padding: 50px 0;

  .container {
    display: flex;
    gap: 50px;

    .left {
      width: 50%;

      h2 {
        color: var(--main-color);
        font-family: "Outfit", serif;
        font-size: 19.44px;
        font-weight: 500;
        line-height: 24.4px;
      }

      h1 {
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: 600;
      }

      p {
        color: #888b97;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 30px;
      }

      img {
        padding-top: 50px;
        width: 100%;
      }
    }

    .right {
      width: 50%;
      .box {
        display: flex;
        gap: 20px;
        padding-bottom: 20px;

        .img {
          background-color: var(--main-color);
          border-radius: 4px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          width: 60px;
          height: 60px;

          img {
            width: 30px;
            height: 30px;
          }
        }

        h2 {
          color: #0b090a;
          margin-top: 0;
          margin-bottom: 0;
          font-size: 24px;
          font-weight: 500;
          line-height: 30px;
        }

        p {
          color: #888b97;
          margin-top: 10px;
          font-size: 16px;
          line-height: 30px;
        }
      }
    }
  }
  @media (max-width: 991px) {
    .container {
      .right {
        .box {
          flex-direction: column;
          h2 {
            font-size: 18px;
            line-height: 28px;
          }
          p {
            font-size: 14px;
            line-height: 20px;
          }
        }
      }
    }
  }
}

#our_services {
  padding: 50px 0;

  .main {
    background: url("../img/red-bg-section.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 30px 80px;
    height: 100%;

    .top {
      padding: 10px 0;
      border-bottom: 1px solid #fff;

      h1 {
        color: #fefefe;
        font-weight: 600;
        font-size: 38px;
      }

      h2 {
        color: #fefefe;
        font-size: 19.4px;
        font-weight: 500;
        text-transform: uppercase;
        font-family: "Outfit", serif;
        line-height: 24.4px;
      }
    }

    .boxes {
      padding: 50px 0;
      display: flex;
      flex-wrap: wrap;
      row-gap: 20px;

      .box {
        display: flex;
        gap: 20px;
        width: 50%;

        .left {
          img {
            width: 30px;
            height: 30px;
          }
        }

        .right {
          h2 {
            color: #fefefe;
            margin-top: 0;
            margin-bottom: 0;
            font-size: 24px;
            font-weight: 500;
            line-height: 30px;
          }

          p {
            color: #fefefe;
            margin-top: 10px;
            font-size: 16px;
            line-height: 30px;
          }
        }
      }
    }
  }
  @media (max-width: 991px) {
    .main {
      padding-left: 15px;
      padding-right: 15px;
      .top {
        h1,
        h2 {
          text-align: center;
        }
      }
      .boxes {
        .box {
          padding: 10px;
          width: 100%;
          flex-direction: column;
          .left {
            img {
              width: 56px;
              height: 56px;
            }
          }
          .right {
            h2 {
              font-size: 18px;
              line-height: 28px;
            }
            p {
              font-size: 14px;
              line-height: 20px;
            }
          }
        }
      }
    }
  }
}

#testimonials {
  padding: 50px 0;

  .container {
    h2 {
      color: var(--main-color);
      font-family: "Outfit", serif;
      font-size: 19.44px;
      font-weight: 500;
      line-height: 24.4px;
      text-align: center;
      text-transform: uppercase;
    }

    h1 {
      margin-top: 20px;
      margin-bottom: 20px;
      font-weight: 600;
      text-align: center;
    }

    .main {
      padding: 50px 0;
      p {
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
        height: 200px;
        display: flex;
        align-items: center;
        color: #888b97;
        text-align: center;
        margin-bottom: 32px;
        font-family: "Plus Jakarta Sans", serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
      }
    }

    /* border: 1px solid #000; */
    /* height: 400px; */
    button {
      background-color: var(--main-color);
      height: 75px;
      width: 75px;
      border-radius: 50%;
      top: 50%;
      transform: translateY(-50%);
    }
  }
  @media (max-width: 991px) {
    .container {
      h2 {
        font-size: 15px;
        line-height: 18.9px;
      }
      h1 {
        font-size: 26px;
        font-weight: 600;
        line-height: 32px;
      }
      .main {
        p {
          height: auto;
          font-size: 14px;
          line-height: 20px;
        }
      }
    }
  }
}

#faq {
  padding: 50px 0;

  .container {
    h2 {
      color: var(--main-color);
      font-family: "Outfit", serif;
      font-size: 19.44px;
      font-weight: 500;
      line-height: 24.4px;
      text-align: center;
      text-transform: uppercase;
    }

    h1 {
      margin-top: 20px;
      margin-bottom: 20px;
      font-weight: 600;
      text-align: center;
    }

    .main {
      /* border: 1px solid #000; */
      /* height: 400px; */
      margin: 0 auto;
      max-width: 900px;
      padding-top: 50px;

      .accordion-item {
        background-color: #fff;
        border: 1px #000;
        margin-bottom: 1rem;
        display: block;
        box-shadow: 0 2px 5px #0003;
      }
      .accordion-body {
        color: #888b97;
        padding-bottom: 1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        font-size: 18px;
        line-height: 32px;
        display: block;
      }
      button {
        background-color: #fff;
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
        color: #0b090a;
        padding: 1.5rem;
        font-size: 18px;
        line-height: 22.5px;
      }
    }
  }
  @media (max-width: 991px) {
    .container {
      h2 {
        font-size: 15px;
        line-height: 18.9px;
      }
      h1 {
        font-size: 20px;
        font-weight: 600;
        line-height: 32px;
      }
      .main {
        button {
          font-size: 14px;
          line-height: 20px;
        }
      }
    }
  }
}

footer {
  background: url("../img/footer-image.png");
  pointer-events: auto;
  -webkit-text-fill-color: inherit;
  cursor: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-clip: border-box;
  height: 866px;
  position: static;
  img {
    width: 200px;
    /* background: #fff; */
  }
  .top {
    display: flex;
    padding: 75px 50px;
    .left {
      width: 60%;
    }
    .right {
      width: 40%;

      form {
        h2 {
          color: #fff;
          width: 440px;
          margin-bottom: 2rem;
          padding-bottom: 0;
          padding-left: 0;
          font-size: 28px;
          line-height: 35px;
        }
        .inputs {
          display: flex;
          flex-direction: column;
          padding-bottom: 20px;
          label {
            color: #fff;
            font-weight: 500;
          }
          input {
            padding: 10px;
            border-radius: 5px;
            outline: none;
            border: none;
          }
          button {
            background-color: var(--main-color);
            color: #fff;
            padding: 10px;
            border-radius: 5px;
            border: none;
            outline: none;
          }
        }
      }
    }
  }
  .bottom {
    padding-top: 50px;
    .inside-top {
      .comman_div {
        display: flex;
        justify-content: center;
        align-items: center;
        ul {
          padding-top: 10px;
          display: flex;
          list-style: none;
          gap: 20px;
          li {
            color: #fff;
            a {
              color: #fff;
            }
          }
        }
        &.social_media {
          ul {
            gap: 40px;
          }
          i {
            font-size: 32px;
          }
        }
        &.copyright {
          color: #fff;
          padding-top: 10px;
        }
      }
      .underline {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        height: 2px;
        background-color: #fff;
      }
    }
  }
  @media (max-width: 991px) {
    height: auto;
    overflow-x: hidden;
    .top {
      padding: 1rem;
      padding-top: 50px;
      .left {
        display: none;
      }
      .right {
        width: 100%;
      }
    }
    .bottom {
      padding: 20px;
      ul {
        padding-left: 0;
        flex-wrap: wrap;
        gap: 20px;
        li {
          a {
            font-size: 14px;
          }
        }
      }
      .copyright {
        display: flex;
        p {
          padding-bottom: 0;
          margin-bottom: 0;
          font-size: 14px;
          text-align: center;
        }
      }
    }
  }
}

@media (max-width: 991px) {
  .container {
    flex-direction: column;
    width: 100%;
    .left,
    .right {
      width: 100% !important;
    }
  }
}

.popUp {
  position: fixed;
  display: none;
  padding: 20px;
  z-index: 9;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  .overlay {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    z-index: 10;
    left: 0;
  }
  form {
    border-radius: 20px;
    position: relative;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    top: 50%;
    left: 50%;
    z-index: 11;
    padding: 40px 50px;
    /* #closePop{
            position: absolute;
            top: 0;
            right: 0;
            color: #fff;
            background-color: var(--main-color);
            height: 35px;
            width: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: .3s;
        } */
    .top {
      position: relative;
      display: flex;
      justify-content: space-between;
      h2 {
        /* color: var(--main-color); */
        color: #000;
        text-align: left;
        margin-bottom: 2rem;
        padding-bottom: 0;
        padding-left: 0;
        font-size: 28px;
        line-height: 35px;
      }
      #closePop {
        color: #fff;
        background-color: var(--main-color);
        border-radius: 5px;
        padding: 8px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        cursor: pointer !important;
      }
    }
    .inputs {
      display: flex;
      flex-direction: column;
      padding-bottom: 30px;
      label {
        color: #000;
        font-weight: 500;
      }
      input {
        padding: 10px;
        border-radius: 5px;
        outline: none;
        /* border: 1px solid var(--main-color); */
        border: 1px solid grey;
      }
      button {
        background-color: var(--main-color);
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        border: none;
        outline: none;
      }
    }
  }

  @media(max-width:991px){
    form{
      padding: 40px 20px !important;
      #closePop {
        padding: 5px 15px !important;
      }
    }
  }
}
