/* ==============================
   Projects Section
   ============================== */
.projects-section {
  background: var(--fernntac-light, #f8f9fa);
  padding: 4rem 0;
}

.projects-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fernntac-dark, #15324b);
  margin-bottom: 3rem;
  position: relative;
}

.projects-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--fernntac-accent, #f08a24);
  margin: 0.8rem auto 0 auto;
  border-radius: 2px;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: var(--fernntac-radius, 10px);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fernntac-dark, #15324b);
  margin-bottom: 0.6rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* View All Button */
.projects-section .btn {
  padding: 0.75rem 2rem;
  border-radius: var(--fernntac-radius, 8px);
  font-weight: 600;
  transition: background 0.3s ease;
}

.projects-section .btn:hover {
  background: #d9761f;
}

/* ==============================
   Responsiveness
   ============================== */
@media (max-width: 991px) {
  .project-card img {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .projects-section h2 {
    font-size: 1.8rem;
  }
  .project-card img {
    height: 180px;
  }
}

@media (max-width: 575px) {
  .projects-section {
    padding: 3rem 1rem;
  }
  .project-card img {
    height: 160px;
  }
}
