/* import common styles  */
@import url("./common.css");

/* pmk projects section styles  */
#pmk-project {
  margin-top: 120px;
}

.project-container {
  overflow: hidden;
}

.project-card-slider {
  margin-top: 60px;
  padding: 50px 23px 20px;

  border-radius: 6px;
  backdrop-filter: blur(10px);

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateX(750px);
  transition: all 1.2s ease;
}

.section-visible .project-card-slider {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.project-link {
  display: block;
}

.project-image {
  width: 100%;
  max-width: 360px;
  height: 420px;

  border-radius: 8px;
  border: 1px solid rgba(128, 128, 128, 0.575);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15);

  position: relative;
  transform: translateY(0);
  transition: all 0.3s ease;

  overflow: hidden;
}

.project-link.swiper-slide-active .project-image,
.project-image:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.08),
    0 0 0 8px rgba(0, 0, 0, 0.05),
    0 0 0 12px rgba(0, 0, 0, 0.03);
}

.project-image::after {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.2),
    transparent
  );
  z-index: 1;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;

  transform: scale(1);
  transition: transform 0.3s ease;
}

.project-image:hover img {
  transform: scale(1.04);
}

.project-card-body {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  padding: 20px 18px;
  z-index: 2;

  display: flex;
  gap: 10px;
  align-items: center;
}

.project-icon {
  padding: 10px;
  border-radius: 50%;
  background-color: var(--pmk-white);
  border: 1px solid var(--pmk-white);

  display: flex;
  justify-content: center;
  align-content: center;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-icon i {
  color: var(--pmk-green);
  font-size: 1.35rem;
}

.project-name {
  color: var(--pmk-white);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.project-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.4;
}

.swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  border-radius: 20px;

  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 28px;
  background: var(--pmk-green);
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

/* responsive styles:: small devices  */
@media (max-width: 767.98px) {
  .project-image {
    width: 100%;
    height: 320px;
  }

  .project-name {
    color: var(--pmk-white);
    font-size: 1rem;
  }

  .project-text {
    font-size: 0.85rem;
  }
}

/* responsive styles:: medium devices  */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* responsive styles:: large devices  */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* responsive styles:: extra large devices  */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* responsive styles:: extra extra large devices  */
@media (min-width: 1400px) {
}
