

/* =========================
   Main
========================= */

.neofuns-project-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
}


/* =========================
   Slider
========================= */

.project-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #f5f5f5;
}


/* =========================
   Slide
========================= */

.project-slide {
  display: none;
  align-items: center;
  min-height: 430px;
  padding: 45px 80px;
  box-sizing: border-box;
  gap: 65px;
}

.project-slide.active {
  display: flex;
}


/* =========================
   Image
========================= */

.project-image {
  width: 46%;
  flex-shrink: 0;
}

.project-image img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
}


/* =========================
   Text
========================= */

.project-content {
  flex: 1;
  padding-right: 30px;
}

.project-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #004297;
}

.project-content h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
  color: #111;
}

.project-content p {
  margin: 0 0 25px;
  max-width: 470px;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.project-link {
  display: inline-block;
  color: #004297;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.project-link:hover {
  color: #111;
}


/* =========================
   Arrows
========================= */

.project-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: #fff;
  color: #222;

  font-size: 24px;
  line-height: 48px;

  text-align: center;

  cursor: pointer;

  box-shadow: 0 3px 12px rgba(0,0,0,.18);

  z-index: 10;

  transition: all .3s ease;
}

.project-arrow:hover {
  background: #004297;
  color: #fff;
}

.project-prev {
  left: 18px;
}

.project-next {
  right: 18px;
}


/* =========================
   Dots
========================= */

.project-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;

  margin-top: 22px;
}

.project-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #d2d2d2;

  border: none;

  padding: 0;

  cursor: pointer;

  transition: all .3s ease;
}

.project-dot.active {
  width: 11px;
  height: 11px;
  background: #004297;
}


/* =========================
   Tablet
========================= */

@media (max-width: 900px) {

  .project-slide {
    gap: 35px;
    padding: 40px 65px;
  }

  .project-image {
    width: 45%;
  }

  .project-image img {
    height: 280px;
  }

  .project-content h2 {
    font-size: 27px;
  }

  .project-content p {
    font-size: 15px;
  }

}


/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

  .neofuns-project-carousel {
    padding: 0 15px;
    margin: 30px auto;
  }

  .project-slider {
    border-radius: 14px;
  }

  .project-slide {
    flex-direction: column;
    align-items: stretch;

    gap: 25px;

    min-height: auto;

    padding: 25px 25px 35px;
  }

  .project-image {
    width: 100%;
  }

  .project-image img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
  }

  .project-content {
    padding: 0 5px;
  }

  .project-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .project-content h2 {
    font-size: 23px;
    margin-bottom: 12px;
  }

  .project-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .project-link {
    font-size: 14px;
  }


  .project-arrow {
    width: 38px;
    height: 38px;
    font-size: 19px;
    line-height: 38px;
  }

  .project-prev {
    left: 10px;
  }

  .project-next {
    right: 10px;
  }

}

