.gallery-section {
  padding: 100px 0;
  background: #fff;
}

.gallery-section .container {
  margin: auto;
  padding: 0 20px;
  max-width: 1320px;
}

.gallery-section .section-title {
  margin: 0 auto 60px;
  max-width: 700px;
  text-align: center;
}

.gallery-section .section-title span {
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  color: #18a558;
  font-weight: 600;
  font-size: 15px;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-section .section-title span::before, .gallery-section .section-title span::after {
  width: 40px;
  height: 3px;
  content: "";
  background: #d64b4b;
}

.gallery-section .section-title h2 {
  margin-bottom: 18px;
  color: #071c2c;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
}

.gallery-section .section-title p {
  color: #333;
  font-size: 18px;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: 0.35s ease;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  transition: 0.35s ease;
}

.gallery-item:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

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

.gallery-item:hover .gallery-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gallery-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45), transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.35s ease;
}

.gallery-content h4 {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.5px;
}

@media (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .gallery-item img {
    height: 240px;
  }
}
@media (max-width: 991px) {
  .gallery-section {
    padding: 80px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-section .section-title h2 {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .gallery-section {
    padding: 70px 0;
  }
  .gallery-section .container {
    padding: 0 15px;
  }
  .gallery-section .section-title {
    margin-bottom: 45px;
  }
  .gallery-section .section-title h2 {
    font-size: 34px;
  }
  .gallery-section .section-title p {
    font-weight: 500;
    font-size: 17px;
  }
  .gallery-grid {
    gap: 18px;
  }
  .gallery-item {
    border-radius: 15px;
  }
  .gallery-item img {
    height: 220px;
  }
  .gallery-content {
    padding: 15px;
  }
  .gallery-content h4 {
    font-size: 18px;
  }
}
@media (max-width: 575px) {
  .gallery-section {
    padding: 60px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-section .section-title h2 {
    font-size: 28px;
  }
  .gallery-section .section-title span {
    font-size: 14px;
  }
  .gallery-item img {
    height: 260px;
  }
  .gallery-content h4 {
    font-size: 17px;
  }
}

/*# sourceMappingURL=gallery.css.map */
