header {
  position: relative;
}

/* Homepage: overlay hero */
body.home header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

a.facebook,
a.instagram,
.whatsapp {
  transition: all 0.3s ease; /* Smooth transition for color and transform */
}

a.facebook:hover {
  color: #1877f2;
  transform: translate(3px, -3px);
}

a.instagram:hover {
  color: transparent;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translate(3px, -3px);
}

.whatsapp:hover {
  color: #25D366;
  transform: translate(3px, -3px);
}

.swiper-pagination-bullet {
  background-color: #b4b4b4; /* gray-400 */
  width: 10px;
  height: 4px;
  border-radius: 4px; /* makes them pill-shaped */
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
  background-color: #003e29; /* ForestShade green */
  width: 16px;
}

/* make sure arrows are on top and can receive hover */
.fs-prev, .fs-next {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}

/* visible hover (background + border) */
.fs-prev:hover, .fs-next:hover {
  background: #fff !important;
  border-color: rgba(0, 62, 41, 0.45) !important;
}

/* icon color hover */
.fs-prev:hover svg, .fs-next:hover svg,
.fs-prev:hover svg path, .fs-next:hover svg path {
  stroke: #003e29 !important;
}


.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  z-index: 10;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 10px;     /* masonry base row */
   gap: 14px;                 /* ⬅️ reduced from 20px */
  padding: 0 48px 48px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 0;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: inherit;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-img.active {
  opacity: 1;
}
