.project-item {
  cursor: pointer;
}

.project-thumb {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.project-info {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 10px 0;
}

.project-icon {
  width: 64px;
  height: 64px;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.project-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #374151;
}

.project-info p {
  font-size: 18px;
  color: #9ca3af;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.project-modal.active {
  display: flex;
}

.project-modal-content {
  background: #fff;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 18px;
  position: relative;
}

.project-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 32px;
  background: #fff;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.project-slider {
  position: relative;
}

.project-slider img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  font-size: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}

.slider-btn.left {
  left: 15px;
}

.slider-btn.right {
  right: 15px;
}

.project-details {
  padding: 30px;
}

.project-details h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.project-details p {
  color: #4b5563;
  margin-bottom: 14px;
}

.project-details ul {
  list-style: disc;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .project-info h3 {
    font-size: 22px;
  }

  .project-info p {
    font-size: 15px;
  }

  .project-slider img {
    height: 320px;
  }
}