.custom-cursor {
  position: fixed;

  width: 35px;
  height: 35px;

  background-image: url("/images/cursor.png");

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  pointer-events: none;

  z-index: 999999;

  transform: translate(-50%, -50%);
}

.project-container {
  max-width: 1000px;
  margin: 60px auto 40px;
  padding: 10px 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.overview {
  margin: 20px 0;
  color: #191616;
  line-height: 1.6;
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* keep slides as-is */
.slides {
  display: flex;
  transition: transform 0.5s ease;
}

/* ARROWS */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 14px;
  cursor: none;
  z-index: 999;
  border-radius: 6px;
  display: block !important;
  background: red !important;
}

.slider img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.2s ease;
  transform-origin: center;
  cursor: zoom-in;
  flex: 0 0 100%;
  width: 100%;
}

/* Zoomed state */
.slider img.zoomed {
  transform: scale(1.5);
  cursor: zoom-out;
  z-index: 999;
  position: relative;
}

/* LEFT */
.prev {
  left: 10px;
  cursor: none;
}

/* RIGHT */
.next {
  right: 10px;
  cursor: none;
}

.prev:hover,
.next:hover {
  background: rgba(0, 247, 255, 0.8);
  cursor: none;
}

/* =========================
   MORE PROJECTS SECTION
========================= */

.projects-section {
  padding: 80px 20px 100px;

  text-align: center;
}

.projects-section h2 {
  color: black;

  font-size: 32px;

  font-weight: 800;

  margin-bottom: 35px;
}

/* GRID */

.projects-grid-5 {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 20px;
}

/* CARD */

.project-item {
  text-decoration: none;

  color: black;

  display: block;
}

/* IMAGE */

.project-item img {
  width: 100%;

  height: 150px;

  object-fit: cover;

  border-radius: 12px;

  display: block;

  transition: 0.35s ease;
}

/* TEXT */

.project-item p {
  margin-top: 14px;

  font-size: 18px;

  font-weight: 500;

  color: black;
}

/* HOVER */

.project-item:hover img {
  transform: translateY(-8px);

  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

.project-item:hover p {
  color: #1acb8b;
}

/* TABLET */

@media (max-width: 900px) {
  .projects-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .projects-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-item img {
    height: 120px;
  }
}

@media (max-width: 600px) {
  .project-container {
    margin-top: 40px;
    padding: 10px 15px;
  }

  h1 {
    font-size: 2rem;
  }

  .overview {
    font-size: 15px;
  }
}
