.dcustom-full-block {
  width: 100%;
  height: 100vh;
  margin-top: 5rem;

  background: #014d4d;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
}

.dcustom-full-block img:first-child {
  margin-top: 20px;
  max-width: 280px;
}

.dcustom-image-block {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: center;
}

.dcustom-image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scaleUp 0.8s ease forwards;
  opacity: 0;
}

.dcustom-image-item:nth-child(1) {
  animation-delay: 0.2s;
}

.dcustom-image-item:nth-child(2) {
  animation-delay: 0.4s;
}

.dcustom-image-item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Subtle zoom-in breathing effect */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.dcustom-image-item img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
  border: 2px solid rgb(1, 54, 54);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: zoomIn 6s ease-in-out infinite alternate;
  /* continuous zoom effect */
}

.dcustom-image-item img:hover {
  transform: scale(1.15);
  /* hover zoom + glow */
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
  border-color: #ffd700;
}

.dcustom-image-item span {
  font-size: 1rem;
  color: #fff;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.15rem;
  font-weight: 100;
}

.dcustom-image-item span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px #ffd700;
}

.dcustom-image-item span:hover {
  color: #ffd700;
  text-shadow: 0 0 8px #b89c00, 0 0 15px #fff;
}

.dcustom-image-item span:hover::after {
  width: 100%;
}

/* Default (desktop, >1200px) already fine with your code */

/* =============== 1200px and below =============== */
@media (max-width: 1200px) {
  .dcustom-image-block {
    gap: 60px;
  }

  .dcustom-image-item img {
    width: 280px;
    height: 280px;
  }
}

/* =============== 1000px and below =============== */
@media (max-width: 1000px) {
  .dcustom-image-block {
    gap: 40px;
  }

  .dcustom-image-item img {
    width: 240px;
    height: 240px;
  }
}

/* =============== 800px and below =============== */
@media (max-width: 800px) {
  .dcustom-full-block {
    height: auto;
    padding: 20px 0;
  }

  .dcustom-image-block {
    flex-wrap: wrap;
    gap: 30px;
  }

  .dcustom-image-item img {
    width: 200px;
    height: 200px;
  }

  .dcustom-image-item span {
    font-size: 1rem;
  }
}

/* =============== 600px and below =============== */
@media (max-width: 600px) {
  .dcustom-image-block {
    flex-direction: column;
    gap: 25px;
  }

  .dcustom-image-item img {
    width: 280px;
    height: 280px;
  }

  .dcustom-image-item span {
    font-size: 0.95rem;
  }
}

/* =============== 400px and below =============== */
@media (max-width: 400px) {
  .dcustom-image-item img {
    width: 240px;
    height: 240px;
  }

  .dcustom-image-item span {
    font-size: 0.9rem;
  }
}

/* =============== 320px and below =============== */
@media (max-width: 320px) {
  .dcustom-image-item img {
    width: 200px;
    height: 200px;
  }

  .dcustom-image-item span {
    font-size: 0.85rem;
  }
}
