.digital-gallery-section {
  color: #fff;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}



.gallery-subtitle {
  color: #7efeff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.gallery-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.gallery-container {
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 0 15px;
}

/* ===== Buttons ===== */
.gallery-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.gallery-btn {
  padding: 8px 20px;
  border: 2px solid #008cba;
  background: transparent;
  color: #008cba;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
}

.gallery-btn.active {
  background: #008cba;
  color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 140, 186, 0.4);
}

/* ===== Fixed Column Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* always 4 columns by default */
  gap: 20px;
}

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f4f4;
  display: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 per row */
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row */
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    /* 1 per row on small mobiles */
  }
}