/* ================================
  PROJECTS SECTION STYLE (FINAL)
================================= */

.projects-section {
  padding: 90px 10%;
}

.projects-header h2 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.projects-header p {
  max-width: 680px;
  color: #aaa;
  line-height: 1.7;
  font-size: 1rem;
}

/* ✅ Project Cards Grid */
.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, minmax(390px, 1fr));
  gap: 28px;
  margin-top: 55px;
}

/* ✅ Card Box */
.project-card {
  background: #0e0b2a;
  height: auto;
  width: 100%;
  padding: 22px;
  border-radius: 20px;
  transition: all 0.35s ease;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  border: 1px solid transparent;
}

/* ✅ Hover Glow Effect */
.project-card:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(124, 58, 237, 0.9);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.65);
}

/* ✅ Project Image */
.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

/* Image zoom on hover */
.project-card:hover img {
  transform: scale(1.05);
}

/* ✅ Project Title */
.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ✅ Project Description */
.project-card p {
  font-size: 0.96rem;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ✅ Tech Tag / Link */
.project-card a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #a855f7;
  text-decoration: none;
  font-weight: 500;
  transition: 0.25s ease;
}

/* Hover underline */
.project-card a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
  .projects-section {
    padding: 70px 6%;
  }

  .projects-header h2 {
    font-size: 2.1rem;
  }

  .project-card img {
    height: 170px;
  }
}

@media (max-width: 480px) {
  .projects-header p {
    font-size: 0.95rem;
  }

  .project-card {
    padding: 18px;
  }

  .project-card h3 {
    font-size: 1.2rem;
  }
}
.project-card img {
  height: 300px;
  width: 100%;
}
