/* ===== General ===== */
body {
  background-color: white;
  color: black;

}

.services-section {
  background-color: #0b0c10;
  text-align: center;
}

.services-section small {
  color: #ff3b3f;
  letter-spacing: 1px;
}

.services-section h2 {
  font-weight: 700;
  font-size: 2rem;
}

/* ===== Service Card ===== */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  height: 400px; /* ✅ Equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #000;
  transition: transform 0.3s ease-in-out;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ Keeps image proportion */
  border-radius: 6px;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* ===== Footer Overlay ===== */
.service-card .card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.service-card .card-footer span {
  font-size: 0.95rem;
}

.service-card .card-footer i {
  font-size: 1rem;
  transition: transform 0.3s;
}

.service-card:hover .card-footer i {
  transform: translateX(5px);
  color: #ff3b3f;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .service-card {
    height: 300px;
  }

  .services-section h2 {
    font-size: 1.6rem;
  }
}
