/* ===============================
   OUR WORK SECTION
   =============================== */

.work-section {
  padding: 80px 20px;
  background: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #0f172a;
}

/* Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.work-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}




/* Image */
.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content */
.work-content {
  padding: 20px;
}

.work-content a {
    text-decoration: none !important;
    color: #000;
    display: block; /* Makes the whole h3 clickable */
}

.work-content a:hover h3 {
    color: #ff6b00;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.work-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #020617;
}



.work-content p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}



/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}
