.gallery-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-section .sec-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #f4ae00;
  margin-bottom: 50px;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.gallery-block {
  flex: 1 1 calc(50% - 30px); /* 2 per row */
  max-width: calc(50% - 30px);
}

.gallery-block .inner-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.gallery-block .inner-box:hover {
  transform: translateY(-6px);
}

.gallery-block .image {
  position: relative;
  width: 100%;
  height: 300px; /* consistent height */
  overflow: hidden;
  border-radius: 10px;
}

.gallery-block .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-block .inner-box:hover img {
  transform: scale(1.05);
}

.gallery-block .overlay-box {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-block .inner-box:hover .overlay-box {
  opacity: 1;
}

.gallery-block .overlay-box .content h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-block {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
