/* Section Styling */
#projects {
  margin: 0% 15%;
}
/* Swiper Slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 2rem 0; */
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
}
.swiper-wrapper {
  padding: 15px 0;
}

/* Project Card Container */
.project-work {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  padding: 2rem 1.5rem 1.5rem;
  width: 100%;
  max-height: 500px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image Section */
.project-work__img {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  width: 100%;
  padding-bottom: 25px;
}

.project-work__img img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 0.8rem;
  box-shadow: 0.5rem 0.5rem 3rem 1px rgba(0, 0, 0, 1);
}

/* Info Section */
.project-work__info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push icon to bottom */
}
.project-work__title {
  font-size: 1.2rem;
  background: linear-gradient(45deg, #fff400, #f3503c, #d53567, #a7489b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-work__text {
  font-size: 10px;
  font-weight: 500;
  padding: 1rem 0;
  color: lightgrey;
  font-style: italic;
}
.project-technologies {
  font-size: 10px;
  padding: 1rem;
  font-weight: 600;
  color: lightgrey;
  background: #ffffff14;
  background-color: hsla(0, 0%, 100%, .08);
  border-radius: 10px;
  border: 1px solid hsla(0, 0%, 100%, .08);
}

.project-technologies:hover {
  color: #39FF14;
}
.github {
  font-size: 1.5rem;
  color: white;
  padding: 0.5rem 0;
  display: inline-block;
}
.github:hover {
  color: black;
}

.project-work__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.navigation-btns {
  display: block;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  width: 30px;
  height: 30px;
  background-size: 20px 20px;
  font-size: 30px !important;
}

/* Media Queries */
@media (max-width: 1024px) {
  #projects {
    margin: 0% 5%;
  }
  .project-work {
    flex-direction: column;
    padding: 2rem 1rem 1.5rem;
  }

  .project-work__img,
  .project-work__info {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .project-work__img img {
    max-height: 250px;
  }

  .project-work__info {
    margin-top: 1rem;
    align-items: center;
    text-align: center;
  }

  .project-work__text {
    font-size: 10px;
  }
  .project-technologies {
    font-size: 10px;
    font-weight: 400;
  }
  .project-work__footer {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .navigation-btns {
    display: block
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 20px !important;
    height: 20px !important;
    font-size: 16px !important;
  }
}
