/* Page Intro */
.page-intro {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: auto;
}

.page-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1.5rem;
}

/* Project Card */
.project-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.project-card img {
  max-width: 420px;   /* was effectively too large */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;     /* centers image nicely */
}


.project-content {
  padding: 2rem;
}

.project-content h3 {
  margin-bottom: 0.5rem;
}

.project-type {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.project-content ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.project-content li {
  margin-bottom: 0.5rem;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* CTA */
.projects-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #5a3e2b, #6b4eff); /* brown → purple */
  color: #fff;
}

.projects-cta .cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: #fff;
  color: #000;
  border-radius: 30px;
  font-weight: bold;
}
.project-card {
  margin-bottom: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
  }
}