/* =============================
   Projects Page
   ============================= */

.projects-hero {
  text-align: center;
  padding: 140px 40px 60px;
  color: #fff;
}

.projects-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: #00b8cc;
  text-shadow: 0 0 10px #00b8cc;
}

.projects-hero p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 60px 100px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 184, 204, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  padding: 20px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 184, 204, 0.5);
}

.project-card h3 {
  font-size: 22px;
  color: #00b8cc;
  text-shadow: 0 0 6px #00b8cc;
  margin-bottom: 10px;
}

.project-card p {
  color: #cbd5e1;
  margin-bottom: 15px;
}

.project-card .btn {
  display: inline-block;
  padding: 10px 18px;
  background: #00b8cc;
  color: #0f2027;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.project-card .btn:hover {
  background: #009bb3;
  color: #fff;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #0f2027;
  margin: 8% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 700px;
  border: 1px solid #00e0ff;
  box-shadow: 0 0 25px rgba(0,224,255,0.3);
}

.modal-content h2 {
  color: #00e0ff;
  margin-bottom: 15px;
}

.modal-content p, .modal-content ul {
  color: #cbd5e1;
}

.modal-content .btn {
  margin-top: 15px;
}

.close {
  color: #00e0ff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #00b8cc;
}

/* Responsive */
@media (max-width: 900px) {
  .projects-grid {
    padding: 40px 20px;
    gap: 30px;
  }

  .projects-hero h1 {
    font-size: 32px;
  }

  .projects-hero p {
    font-size: 16px;
  }
}
