@import "./typography/var";
@import "./typography/typo";
@import "./typography/mixins";
@import "./typography/btn";
@import "./typography/preloader";
@import "./include/header";
@import "./include/footer";

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

a {
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

/* 
.swiper-button-next,
.swiper-button-prev {
  background: -webkit-linear-gradient(#00286e, #00286e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
} */

.sec-h3 {
  @include heading(22px, $pm, $secondary, uppercase);

  @media (max-width: 575.98px) {
    font-size: 16px;
    margin-top: 10px;
  }
}

.sec-h2 {
  span {
    color: $secondary;
  }

  @include heading(53px, $gr, $primary, capitalize);

  @media (max-width: 575.98px) {
    font-size: 22px;
  }
}

.sec-para {
  @include paragraph(20px, $pr, $grey);
  text-wrap: wrap;

  @media (max-width: 575.98px) {
    font-size: 16px;
  }
}

.carousel-control-next,
.carousel-control-prev {
  filter: invert(100%);
}

.banner {
  padding: 50px 0px;
  min-height: 900px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  margin-top: -130px;
  padding-top: 250px;

  @media (max-width: 992.98px) {
    text-align: center;
  }

  @media (max-width: 575.98px) {
    min-height: 650px;
  }

  .content {

    h3 {
      @include heading(25px, $pr, $secondary, uppercase);

      @media (max-width: 575.98px) {
        font-size: 18px;
      }
    }

    h1 {
      span {
        color: $primary;
      }

      @include heading(60px, $gr, $secondary, capitalize);

      @media (max-width: 575.98px) {
        font-size: 22px;
      }
    }

    .d-flex {
      a {
        margin-right: 5px;
      }

      @media (max-width: 575.98px) {

        justify-content: center;

        a {
          margin-right: 2px;

          button {
            font-size: 10px;
          }
        }
      }
    }

    button {
      margin-top: 10px;
    }
  }
}

.banner-services {
  padding: 50px 0px;

  .box {
    height: 400px;
    width:400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: $secondary;
    border-radius: 500px;
    padding: 0px 30px;
    position: relative;

    // position: relative;

    &::before {
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: $secondary !important;
      opacity: .8;
      z-index: 1;
      border-radius: 500px;
      transition: all ease-in-out 0.5s;
    }

    .box-content {
      z-index: 9;
    }

    &:hover::before {
      background-color: #1515154d !important;
    }

    &:hover {
      transform: scale(1.1);
    }

    h5 {
      @include heading(28px, $gr, $white, capitalize);
    }

    p {
      @include heading(13px, $pr, $white, capitalize);
    }

    .btn-brd-sevondary {
      font-size: 10px !important;
      border-radius: 5px !important;
      border-color: rgba($color: $white, $alpha: 1) !important;
      color: rgba($color: $white, $alpha: 1) !important;

      &:hover {
        background-color: rgba($color: $white, $alpha: 1) !important;
        color: $secondary !important;
      }
    }
  }
}

.custom-website {
  padding: 80px 0px;
  @include flexcenter;

  .content {

    // &::before {
    //   position: absolute;
    //   content: "";
    //   width: 8rem;
    //   height: 8rem;
    //   background: $secondary;
    //   top: -10px;
    //   left: -10px;
    //   z-index: -1;
    // }

    // &::after {
    //   position: absolute;
    //   content: "";
    //   width: 8rem;
    //   height: 8rem;
    //   background: $secondary;
    //   bottom: -10px;
    //   right: -10px;
    //   z-index: -1;
    // }

    @media (max-width: 575.98px) {
      padding: 50px;

    }

    @media (max-width: 992.98px) {
      padding: 50px 20px;

    }
  }


}

.cars {
  display: flex;
  flex-direction: row;

  @media (max-width: 1199.98px) {
    // margin-top: -90px;
  }

  @media (max-width: 992.98px) {
    margin-top: 0px;
    flex-direction: column;
  }

  @media (max-width: 720.98px) {
    // margin-top: -100px;
  }

  @media (max-width: 575.98px) {
    margin-top: 0px;
  }

  .second {
    @media (max-width: 992.98px) {
      // margin-top: -130px;
    }

    @media (max-width: 575.98px) {
      // margin-top: -60px;
    }
  }

  .c-we {
    width: 100%;
    position: relative;

    img {
      @media (max-width: 575.98px) {
        min-height: 500px;
        object-position: center center;
        object-fit: cover;
      }
    }

    .detail {
      position: absolute;
      width: 100%;
      padding: 0px 50px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;

      img {
        @media (max-width: 575.98px) {
          width: 70px !important;
          min-height: 70px !important;
        }
      }

      h6 {
        margin-top: 10px;
        @include heading(22px, $pr, $white, capitalize);

        @media (max-width: 992.98px) {
          // font-size: 24px;
        }

        @media (max-width: 767.98px) {
          font-size: 20px;
        }

        @media (max-width: 575.98px) {
          font-size: 16px;
        }
      }

      h3 {
        @include heading(40px, $pb, $white, capitalize);

        @media (max-width: 992.98px) {
          // font-size: 24px;
        }

        @media (max-width: 767.98px) {
          font-size: 35px;
        }

        @media (max-width: 575.98px) {
          font-size: 22px;
        }
      }

      p {
        margin-bottom: 0;
        @include paragraph(20px, $pr, $white);

        @media (max-width: 992.98px) {
          // font-size: 19px;
        }

        @media (max-width: 767.98px) {
          font-size: 19px;
        }

        @media (max-width: 575.98px) {
          font-size: 16px;
          margin-top: 10px;
          line-height: 1.1;
        }
      }
    }
  }
}

.services {
  padding: 80px 0px;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;

  @media (max-width:992.98px) {
    padding: 50px 0px;
  }

  .box {
    position: relative;
    overflow: hidden !important;
    transition: all 0.5s ease-in-out;
    margin-bottom: 20px;

    &:hover {
      transform: scale(1.1);
    }

    &:hover .content {
      top: 0%;
      background-color: rgba($color: #000000, $alpha: 0.3);

      button {
        margin-top: 0px;
      }
    }

    &:hover .content p,
    button {
      opacity: 100% !important;
    }

    .content {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 52%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      border-radius: 43px 0px;

      @media (max-width: 1400px) {
        top: 54%;
      }

      @media (max-width: 575.98px) {
        top: 50%;
        padding: 10px;
      }

      h5 {
        @include heading(20px, $psb, $white, uppercase);

        @media (max-width: 575.98px) {
          font-size: 18px;
        }
      }

      button {
        margin-top: 20px;
      }

      p,
      button {
        opacity: 0;
      }
    }
  }
}

.donate {
  min-height: 680px;
  display: flex;
  align-items: center;
  @include padding-tb;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  @media (max-width:992.98px) {
    background-image: unset !important;
  }

  @media (max-width: 575.98px) {
    min-height: unset;
  }

  .imghide {
    display: none;

    @media (max-width:992.98px) {
      margin-top: 20px;
      display: block;
    }
  }
}

.testimonials {
  @include padding-tb;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  @media (max-width: 575.98px) {
    min-height: unset;
  }

  h6 {
    text-align: center;
    @include heading(26px, $pr, $primary, capitalize);

    @media (max-width: 575.98px) {
      font-size: 20px;
    }
  }



  .swiper-button-next,
  .swiper-button-prev {
    background: -webkit-linear-gradient(#ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    @media (max-width: 575.98px) {
      background: -webkit-linear-gradient($secondary, $secondary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }

  .swiper-pagination {
    position: absolute;
    bottom: 5px !important;
    /* Position the dots below the slides */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
  }

  .swiper-pagination-bullet {
    background-color: rgba($color: $white, $alpha: 0.5);
    /* Default color of the dots */
    opacity: 1;
    width: 15px;
    height: 15px;
  }

  .swiper-pagination-bullet-active {
    background-color: black;
    /* Color of the active dot */
  }

  .review {
    .content {
      position: relative;
      background-color: rgba($color: $white, $alpha: 1);
      box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
      border-radius: 80px 0px;
      padding: 10px;

      .inrev {
        border-radius: 80px 0px;
        padding: 30px 50px;
        border: 2px solid $secondary;
        text-align: center;
      }


      @media (max-width: 575.98px) {
        padding: 10px 10px;
        // margin-top: 20px;
      }

      img {
        @media (max-width: 575.98px) {
          width: 30px;
        }
      }

      h5 {
        margin-top: 10px;
        @include paragraph(20px, $pb, $black);

        @media (max-width: 575.98px) {
          font-size: 15px;
        }
      }

      p {
        margin-top: 20px;
        @include paragraph(18px, $pr, #464646);

        @media (max-width: 575.98px) {
          font-size: 13px;
        }
      }

      button {
        font-size: 14px;
      }
    }



  }
}

.about-website {
  padding: 80px 0px;
  display: flex;
  align-items: center;

  @media (max-width: 992.98px) {
    padding: 50px 0px;
  }

  .mainblog {
    position: relative;

    .content {
      position: absolute;
      bottom: 0;
      left: 0;
      padding: 30px;

      @media (max-width: 575.98px) {
        padding: 10px;
      }

      h6 {
        @include heading(16px, $pr, $white, uppercase);
        background-color: $secondary;
        padding: 10px 20px;
        display: inline;

        @media (max-width: 575.98px) {
          font-size: 14px;
          padding: 5px 10px;
        }
      }

      h4 {
        margin-top: 15px;
        @include heading(24px, $psb, $white, capitalize);

        @media (max-width: 575.98px) {
          font-size: 18px;
        }
      }
    }
  }

  .blog {
    margin-bottom: 5px;

    @media (max-width: 1199.98px) {
      margin-top: 10px;
    }

    .d-flex {
      @media (max-width: 575.98px) {
        flex-direction: column;
      }
    }

    .content {
      width: 100% !important;
      padding: 30px;
      border: 1px solid rgba($color: $grey, $alpha: 0.4);
      border-left: none !important;

      @media (max-width: 575.98px) {
        padding: 10px;
        border-top: none !important;
        border-left: 1px solid rgba($color: $grey, $alpha: 0.4) !important;

      }

      h6 {
        @include heading(16px, $pr, $white, uppercase);
        background-color: $secondary;
        padding: 10px 20px;
        display: inline;

        @media (max-width: 575.98px) {
          font-size: 14px;
          padding: 5px 10px;
        }
      }

      h4 {
        margin-top: 15px;
        @include heading(16px, $psb, $black, capitalize);

        @media (max-width: 575.98px) {
          font-size: 18px;
        }
      }

      p {
        @include heading(14px, $pr, $grey, capitalize);

        @media (max-width: 575.98px) {
          font-size: 18px;
        }
      }

      button {
        font-size: 10px !important;
        padding: 7px 15px;
        border-radius: 5px;
      }
    }
  }
}

.lightboxOverlay {
  width: 100%;
  overflow: hidden !important;
}

.contactus {
  padding: 80px 0px;
  @include flexcenter;

  .container {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 80px;
    position: relative;
    border-radius: 10px;
    min-height: 677px;

    @media (max-width: 575.98px) {
      padding: 50px 20px;
      min-height: unset;
    }
  }

  form {
    textarea {
      min-height: 150px !important;
      padding-top: 5px;
    }

    input,
    textarea {
      width: 100%;
      min-height: 50px;
      margin: 8px 0px !important;
      padding-left: 10px;
      font-size: 16px;
      font-family: $pr;
      border: 1px solid #ffffff;
      background-color: rgba($color: $white, $alpha: 1);
      color: $grey;
      outline: none;
      opacity: 1;
    }

    button {
      border-radius: 5px;
    }
  }

}

.inner-banner {
  padding: 50px 0px;
  min-height: 490px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  margin-top: -130px;
  padding-top: 200px;

  @media (max-width: 992.98px) {
    text-align: center;
  }

  @media (max-width: 575.98px) {
    min-height: 350;
  }

  .content {
    text-align: center;

    h3 {
      @include heading(30px, $pb, $primary, uppercase);

      @media (max-width: 575.98px) {
        font-size: 20px;
      }
    }

    h1 {
      @include heading(40px, $pb, $white, uppercase);

      @media (max-width: 575.98px) {
        font-size: 25px;
      }
    }
  }
}