/* Wrapper */
.slid {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

/* Responsive height */
@media (max-width: 768px) {
  .slid {
    height: 50vh;
  }
}

@media (max-width: 480px) {
  .slid {
    height: 40vh;
  }
}

/* Background image */
.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark overlay */
.slid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* Content */
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
  margin-top: 70px;
}

.banner-content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.banner-content p {
  margin-top: 10px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

/* Fade animation */
.fade-in-text {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image Row */
.image-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 0 20px;
}

.image-row img {
  width: 30%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

/* Mobile image row */
@media (max-width: 600px) {
  .image-row {
    flex-direction: column;
  }

  .image-row img {
    width: 100%;
    height: 180px;
  }
}
