
/* --- PROJECTS SECTION (PREMIUM BLUE DARK THEME) --- */
#projects {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  padding: 80px 20px;
  text-align: center;
}

#projects h2 {
  font-size: 2.6rem;
  color: #00b4d8;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

#projects h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #48cae4);
  border-radius: 5px;
}

#projects .subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layout */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: auto;
}

/* Project Card */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(72, 202, 228, 0.15), transparent);
  transition: all 0.6s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 180, 216, 0.35);
  border-color: #00b4d8;
}

/* Text Styling */
.project-card h3 {
  color: #48cae4;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.project-card .tech {
  color: #00b4d8;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 14px;
}

.project-card ul li {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}