.cv-models {
  padding: 60px 40px;
  text-align: center;
  background: #f8f9fa;
}

.model-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.model-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.model-card img {
  width: 100%;
  border-radius: 6px;
  height: auto;
}

.model-card h3 {
  margin: 15px 0 10px;
}

.model-card a {
  color: #007BFF;
  text-decoration: underline;
  font-weight: 500;
}

.model-card:hover {
  transform: translateY(-5px);
}

/* Modal preview */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: white;
  padding: 20px;
  max-width: 90%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.modal-content img {
  width: 100%;
  height: auto;
}

.modal .close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
