@import "./layout.css";

/* nav sec  */
/* .btn-login {
  background-color: var(--main-color);
}

.btn-login:hover, .btn-login:active {
  background-color: var(--main-color);
  transform: scale(1.05);
} */
.btn-login {
  color: var(--main-color);
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid var(--main-color);
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 var(--main-color);
}

.btn-login:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 var(--main-color);
}

.btn-login:active {
  transform: scale(0.9);
}
.dropdown-language, .dropdown-language:hover {
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

/* .btn-login:hover, */
.dropdown-language:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .navbar-nav .nav-link.active, header .navbar-nav .nav-link:hover {
  color: var(--main-color);
}

/* heroSection  */
.heroSection {
  background: rgb(39, 111, 229);
  background: linear-gradient(180deg, rgba(39, 111, 229, 0.6) 0%, rgba(39, 111, 229, 0.4) 40%, rgba(255, 255, 255, 1) 100%);
}


.heroSection .row {
  gap: 30px;
}

@media (max-width: 576px) {
  .heroSection {
    padding: 52px 0 100px;
  }
}

.heroSection .img {
  padding-top: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heroSection .img img {
  width: 90%;
}

@media (max-width: 576px) {
  .heroSection .img {
    padding-top: 32px;
    display: none;
  }
}

/* .heroSection .text {
  height: 100%;
  gap: 8px;
  display: flex;
  justify-content: center;
  flex-direction: column;
} */
.heroSection .text span{
  font-size: 12px;
  font-weight: 700;
  color: var(--main-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.heroSection .text span i {
  font-size: 12px;
  font-weight: 700;
  color: var(--main-color);
  
}

.heroSection .text h1 {
  font-size: 40px;
  color: #222020;
  line-height: 70px;
  font-weight: 700;
}

.heroSection .text h1 span {
  font-size: 42px;
  font-weight: 700;
  line-height: inherit;
  display: inline-block !important;
  color: var(--main-color);
  text-transform: capitalize;
}

@media (max-width: 576px) {
  .heroSection .text h1 {
    font-size: 32px;
    line-height: 52px;
  }

  .heroSection .text h1 span {
    font-size: 32px;
  }
}

.heroSection .text p {
  margin-bottom: 24px;
  color: #777;
}

@media (max-width: 576px) {
  .heroSection .text p {
    font-size: 14px;
    line-height: 26px;
  }
}

.download_btns img {
  height: 44px;
}

/* works sec  */
.how-it-works-section, .gallery {
  background: rgba(39, 112, 229, 0.11) ;
}

.how-it-works-section i {
  color: var(--main-color);

}

/* gallery sec  */
.gallery .appImgs {
  padding: 40px 0;
  position: relative;
}

.gallery .appImgs .swiper {
  width: 100%;
  padding: 30px 0;
  position: relative;
  display: flex;
}

.gallery .appImgs .swiper .swiper-slide {
  overflow: hidden;
  background-position: center;
  background-size: cover;
  width: 234px;
  height: 507px;
  position: relative;
}

@media (max-width: 768px) {
  .gallery .appImgs .swiper .swiper-slide {
    width: 175.5px;
    height: 380px;
  }
}

.gallery .appImgs .swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.gallery .appImgs .swiper .frame {
  width: 267px;
  height: 532px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media (max-width: 768px) {
  .gallery .appImgs .swiper .frame {
    width: 202.5px;
    height: 401px;
  }
}

.gallery .appImgs .swiper-wrapper {
  height: auto;
}

/* about-sec  */
.about_section .img {
  height: fit-content;
}

/* features sec  */
.features .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-color);
  color: whitesmoke;
  font-size: 30px;
  width: 55px;
  height: 55px;
  border-radius: 5px;
  margin: 10px auto 10px;

}

.features .shadow-card {
  border: none;
  box-shadow: inset rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 12px;
}

.features .shadow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.12);
}

.features .shadow-card p {
  font-size: 13px;
}

/* footer  */
.footerLanding .container {
  gap: 8px;
  flex-wrap: wrap;
  padding-block: 8px;
}

@media screen and (max-width: 768px) {
  .footerLanding .container {
    flex-direction: column;
    text-align: center;
  }
}
.footerLanding {
  background-color: #ffffff;
}
.footerLanding .info {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
  flex-wrap: wrap;
  color: #201d1d;
  
}
.footerLanding  .hint{
  color: #272525;
  a{
    text-decoration: none;
    color: var(--main-color);
  }
}
@media screen and (max-width: 768px) {
  .footerLanding .info {
    flex-direction: column;
    text-align: center;
  }
}

.footerLanding .hint {
  white-space: nowrap;
}

.footerLanding .logo {
  height: 45px;
  -o-object-fit: contain;
  object-fit: contain;
}

/* download-app   */
@media (max-width: 991px) {
  .download-app .container .row {
    padding-top: 70px;
  }
}


/* Ahmed eltatawy */
body {
  padding-top: 82px;
}

header {
  nav {
    ul {
      .nav-link {
        font-weight: 500;
        color: var(--title);
      }
    }
  }
}

.AE-Btn {
  width: 35px;
  height: 35px;
  padding: 0;
}

.heroSection {
  .AE-text {
    .AE-span {
      &:first-child {
        color: #222020c0;
        background-color: rgba(255, 255, 255, 0.1);
        width: fit-content;
        font-size: 16px;
        border: 1px solid var(--main-color);

        padding-block: 5px;
        padding-inline: 8px 24px;
        border-radius: 8px;
        backdrop-filter: blur(2px);

        i {
          font-size: 18px;
        }
      }
    }

    h1 {
      margin-bottom: 0;
      line-height: 1.5;
      color: var(--title);
      padding-block: 3dvh;
    }
    p{
      margin-bottom: 3dvh;
      line-height: 1.6;
      font-weight: 500;
    }
    .download_btns{

      a{
        img{
          height: 40px;
        }
      }
    }
  }
}
.about_section{
  padding-block: 8dvh;
  h2{
    font-weight: 700;
  }
  p{
    line-height: 2;
    color: var(--sub-gray);
  }
}
.how-it-works-section{
  padding-block: 11dvh;
  h4{
    font-weight: 700;
  }
  h5{
    font-weight: 600;
  }
}
.features{
  padding-block: 11dvh;
}

@keyframes imgDownUp {
  0% {
    transform: translateY(5%);
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes imgUpDown {
  0% {
    transform: translateY(-5%);
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
[data-aos="ImgUp"] {
  opacity: 0;

  &.aos-animate {
    animation: imgUpDown .8s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.1s;
  }
}

[data-aos="ImgDown"] {
  opacity: 0;

  &.aos-animate {
    animation: imgDownUp .8s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.1s;
  }
}