/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 10 2026 | 04:57:56 */
/* ===== SERVICES SECTION ONLY ===== */

.services {
  max-width: 1300px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.services .service-card {
  position: relative;
  height: 350px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}

/* OVERLAY */
.services .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: 0.4s ease;
}

/* CONTENT */
.services .content {
  position: absolute;
  inset: 0;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.services .content h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}

/* BUTTON */
.services .btn {
  position: relative;
  width: fit-content;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 15px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.4s ease;
}

/* HOVER EFFECTS */
.services .service-card:hover .overlay {
  background: rgba(0,0,0,0.45);
}

.services .service-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */
@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .services {
    grid-template-columns: 1fr;
  }

  .services .service-card {
    height: 260px;
  }

  .services .content h3 {
    font-size: 22px;
  }
}



/* ===== FADE IN UP ANIMATION ===== */

.services .service-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

/* delay for each card */
.services .service-card:nth-child(1) { animation-delay: 0.1s; }
.services .service-card:nth-child(2) { animation-delay: 0.2s; }
.services .service-card:nth-child(3) { animation-delay: 0.3s; }
.services .service-card:nth-child(4) { animation-delay: 0.4s; }
.services .service-card:nth-child(5) { animation-delay: 0.5s; }
.services .service-card:nth-child(6) { animation-delay: 0.6s; }
.services .service-card:nth-child(7) { animation-delay: 0.7s; }
.services .service-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}