         :root {
            --card-width: 450px;
            --card-height: 300px;
            --card-margin: 10px;
            --animation-speed: 30s;
        }

        
        galarybody {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 50vh;
            background-color: transparent; /* Dark theme looks great for image carousels */
        }

        .carousel {
            width: 100%;
            overflow: hidden;
            padding: 40px 0;
            background: transparent ;
            position: relative;
        }

        /* Gradient overlays to fade the images in/out at the edges */
        .carousel::before, .carousel::after {
            content: "";
            position: absolute;
            top: 0;
            width: 15px;
            height: 100%;
            z-index: 2;
        }
        .carousel::before { left: 0; background: linear-gradient(to right, #ffffff, transparent); }
        .carousel::after { right: 0; background: linear-gradient(to left, #ffffff, transparent); }

        .groupimg {
            display: flex;
            width: max-content;
        }

        .galaryimg {
            width: var(--card-width);
            height: var(--card-height);
            margin-right: var(--card-margin);
            flex-shrink: 0;
            border-radius: 12px;
            overflow: hidden; /* Clips image to border radius */
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }

        .galaryimg img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures image fills space without distorting */
            display: block;
        }

        @keyframes scroll {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }


        .animate {
            animation: scroll var(--animation-speed) linear infinite;
        }

        .carousel:hover .group {
            animation-play-state: paused;
        }



/*show more button*/
/* From Uiverse.io by vinodjangid07 */ 
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: rgb(22, 83, 22);
  border: 8px solid #c0dfff;
  color: white;
  gap: 8px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}
.text {
  font-size: 1.7em;
  font-weight: 700;
  letter-spacing: 1px;
}
.svg {
  padding-top: 5px;
  height: 100%;
  width: fit-content;
}
.svg svg {
  width: 50px;
  height: 30px;
}
.button:hover {
  border: 8px solid #b1d8ff;
  background-color: #1e8d30;
}
.button:active {
  border: 5px solid #c0dfff;
}
.button:hover .svg svg {
  animation: jello-vertical 0.9s both;
  transform-origin: left;
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}



/* ================================
   SERVICES – SLIDE LEFT (REPEATABLE)
================================ */

#services .card {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

/* Visible state */
#services .card.show {
  opacity: 1;
  transform: translateX(0);
}

/* Text animation */
#services .card-body > * {
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity .6s ease, transform .6s ease;
}

#services .card.show .card-body > * {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger */
#services .card.show .card-body > *:nth-child(1){transition-delay:.1s;}
#services .card.show .card-body > *:nth-child(2){transition-delay:.2s;}
#services .card.show .card-body > *:nth-child(3){transition-delay:.3s;}
#services .card.show .card-body > *:nth-child(4){transition-delay:.4s;}
#services .card.show .card-body > *:nth-child(5){transition-delay:.5s;}


/* ================================
   HERO ROTATING BACKGROUND
================================ */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Slider container */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Active slide visible */
.hero-slide.active {
  opacity: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

/* Ensure content above images */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Optional smooth text fade-in */
.hero-title,
.hero-subtitle {
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero-subtitle {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
}



/* From Uiverse.io by Madflows */ 
.button-book-now-btn {
  position: relative;
  overflow: hidden;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 1.5rem;
  background: #167fff;
  background-size: 400%;
  color: #fff;
  border: none;
  cursor: pointer;
}

.button-book-now-btn:hover::before {
  transform: scaleX(1);
}

.button-content {
  position: relative;
  z-index: 1;
}

.button-book-now-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(90deg,rgba(0, 133, 186, 1) 0%, rgba(0, 156, 65, 1) 64%
  );
  transition: all 0.475s;
}




.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}




/* =========================================
   WHAT TO EXPECT – NEW SAFE SYSTEM
========================================= */

.what-expect-new {
  padding: 100px 20px;
  background: #f5f9f8;
}

.expect-title-new {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  animation: expectTitleAnim 0.8s ease forwards;
}

@keyframes expectTitleAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expect-row-new {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 90px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .8s ease, transform .8s ease;
}

.reverse-new {
  flex-direction: row-reverse;
}

.expect-row-new.visible {
  opacity: 1;
  transform: translateY(0);
}

.expect-img-new {
  flex: 1;
  overflow: hidden;
}

.expect-img-new img {
  width: 100%;
  border-radius: 12px;
  transform: scale(1.1);
  transition: transform 1.2s ease;
}

.expect-row-new.visible .expect-img-new img {
  transform: scale(1);
}

.expect-content-new {
  flex: 1;
}

.expect-content-new h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #1b5e20;
}

.expect-content-new p,
.expect-content-new li {
  font-size: 16px;
  line-height: 1.8;
  color: #060606;
}

@media (max-width: 992px) {
  .expect-row-new,
  .reverse-new {
    flex-direction: column;
  }
}

/* ===================================
   WHAT TO EXPECT – FADE IN / OUT
=================================== */

.what-expect-section .expect-row {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.what-expect-section .expect-row.fade-hidden {
  opacity: 0;
  transform: translateY(40px);
}

.what-expect-section .expect-row.fade-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   FADE IN + FADE OUT SYSTEM
=================================== */

/* Initial state */
.expect-row,
.hilsa-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state */
.section-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Hidden state (when out of viewport) */
.section-hidden {
  opacity: 0 !important;
  transform: translateY(40px) !important;
}