body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7faff;
  margin: 0;
  padding: 0;
  color: #1a1a1a;
}

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

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.badge {
  display: inline-block;
  background: #d6f3e9;
  color: #176553;
  padding: 6px 14px;
  font-weight: 600;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 12px;
}

.gallery-header h2 {
  font-size: 32px;
  color: #0c4a6e;
  margin: 10px 0 8px;
}

.gallery-header p {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
  transition: filter 0.3s ease;
}

.gallery-item:hover img {
  filter: brightness(0.85);
}

.gallery-caption {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #0c4a6e;
  background: #e9f5ff;
  border-radius: 0 0 16px 16px;
  text-align: center;
}

.gallery-caption.highlight {
  background: #176553;
  color: #fff;
  font-weight: 700;
}
/* Lightbox modal styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  animation: zoomIn 0.4s ease;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .gallery-item img {
    height: 140px;
  }
  .gallery-caption {
    font-size: 14px;
  }
}
