@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);
}

.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(71, 153, 145);
  background: linear-gradient(
    180deg,
    rgba(94, 164, 157, 0.3) 0%,
    rgba(232, 244, 251, 0.922) 55%,
    rgba(255, 255, 255, 1) 80%
  );
}

.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 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(232, 244, 251, 0.829);
}

.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: auto;
  width: 100%;
  object-fit: contain;
}

@supports (-webkit-appearance: none) {
  .about_section .img {
    height: auto;
  }
}

/* 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;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 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: #222020;
}
.footerLanding .info {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
  flex-wrap: wrap;
  color: #ffff;
}
.footerLanding .hint {
  color: #ffff;
  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;
}
.footerLanding .contact-title {
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
}

.footerLanding .social a {
  font-size: 1rem;
  color: whitesmoke;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footerLanding .social a:hover {
  color: var(--main-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .footerLanding .contact-title {
    font-size: 0.9rem;
    text-align: center;
  }

  .footerLanding .social ul {
    justify-content: center;
    gap: 0.75rem;
  }

  .footerLanding .social a {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footerLanding .contact-title {
    font-size: 0.8rem;
  }

  .footerLanding .social ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footerLanding .social a {
    font-size: 0.9rem;
  }
}

/* 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 0.8s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.1s;
  }
}

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

  &.aos-animate {
    animation: imgDownUp 0.8s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.1s;
  }
}
/* //////form//// */
.contact .contact-form {
  margin: 2rem auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact .form-control:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.contact .btn-primary {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 5px;
  background-color: var(--main-color);
  border: none;
}


.contact .btn-primary:hover,
.contact .btn-primary:active {
  background-color: var(--main-color);
  transform: scale(0.99);
}