.hero-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-image {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
  transition: 0.4s;
}

.gallery-image:hover {
  transform: scale(1.05);
}

.marquee {
  width: max-content;
  animation: scroll 35s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================
   BLOG DETAILS PAGE
========================= */

.blog-details {
  background: #f8fafc;
  padding: 60px 0;
}

.blog-details-image {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.blog-details-image img {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-details-content {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-details-content h2 {
  text-align: center;
  color: #1f2937;
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.blog-details-content p {
  color: #333;
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 20px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .blog-details {
    padding: 40px 0;
  }

  .blog-details-image img {
    height: 300px;
  }

  .blog-details-content h2 {
    font-size: 1.8rem;
  }

  .blog-details-content p {
    font-size: 15px;
  }
}

/* =========================================
   RESPONSIVE HERO IMAGE SLIDER
========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #011533;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* TABLET */
@media (max-width: 992px) {
  .hero-slider {
    height: 550px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-slider {
    height: 56.25vw;
    min-height: 250px;
    max-height: 400px;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #011533;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .hero-slider {
    height: 56.25vw;
    min-height: 220px;
  }
}

