/*Gallery*/

.gallery .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gallery .box-container .box {
  height: 25rem;
  flex: 1 1 30rem;
  border: 1rem solid #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  top: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery .box-container .box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery .box-container .box:hover .content {
  top: 100%;
}

.gallery .box-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery .box-container .box .content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  padding: 2rem;
  padding-top: 5rem;
  text-align: center;
}

.gallery .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--text-dark);
}

.gallery .box-container .box p {
  font-size: 1.55rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 1rem 0;
}
