.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:.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: 750px;
  overflow: hidden;
  background: #011533;
}

/* Slides */
.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Desktop images */
.hero-slider .hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* ========================================= TABLET ========================================= */
@media (max-width: 992px) {
  .hero-slider {
    height: 550px;
  }
}
/* ========================================= MOBILE ========================================= */
@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
    /* background: #011533; */
  }
  /* Show the complete image on mobile. This prevents important parts of group photos from being cropped. */
  .hero-slider .hero-slide img {
    /* object-fit: contain !important;
    object-position: center center;
    background: #011533; */
    width: 100%; 
    height: 100%; 
    object-fit: cover !important; 
    object-position: center center;
  }
}
/* 
========================================= 
SMALL PHONES 
========================================= 
*/
@media (max-width: 480px) {
  .hero-slider {
    height: 300px;
  }
  .hero-slider .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        }
}
