
@font-face {
    font-family: "LiftaSwash";
    src: url("/fonts/Liftaswashfixed-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}
.font-lifta {
    font-family: "LiftaSwash", serif !important;
    letter-spacing: 0.5px;
}
/* SECTION */
.recent-cases-section {
  width: 100%;
  padding: 120px 0;
  background: #f3f5f8;
  display: flex;
  justify-content: center;
}

.recent-container {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
}

/* TITLE */
.recent-title {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  text-align: right;
  margin-bottom: 50px;
}

/* GRID 4 IMAGES */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* EACH IMAGE BOX */
.case-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5; /*  1080×1350 */
  overflow: hidden;
  border-radius: 20px;
}

.case-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.case-box:hover img {
  transform: scale(1.04);
}

/* GRADIENT OVERLAY */
.case-box .overlay {
  position: absolute;
  bottom: 0;
  height: 40%;
  width: 100%;
  background: linear-gradient(
    to top, 
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.0)
  );
  pointer-events: none;
}

/* BUTTON */
.more-btn {
  margin: 50px auto 0;
  display: block;
  width: fit-content;
  padding: 14px 36px;
  background: #117C6F;
  color: white;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s ease;
}

.more-btn:hover {
  background: #0e6b60;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 520px){
  .recent-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
