
.slider {
  position: relative;
  width: 100%;
  max-width: 1800px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  padding: 10px;
}

/* Show 4 columns on desktop */
@media (min-width: 768px) {
  .slide {
    flex: 0 0 25%;
  }
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}
.card img:hover {
  transform: scale(1.05);
}

.card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card h2 a {
  text-decoration: none;
  color: #137c5b;
  transition: color 0.3s;
}
.card h2 a:hover {
  color: #0a4c36;
}

.card p {
  color: #555;
  font-size: 14px;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.0);
  color: #ffffff;
  border: none;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}
.prev { left: 15px; }
.next { right: 15px; }

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 40px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

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

/* Lightbox styles */
.lightbox1 {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 40px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox1 img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

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