/**
 * Home Page Custom Styles
 * Custom CSS for homepage gallery section
 */

/* Gallery Section - Fix for horizontal scroll */
.section-home-gallery .section-inner.our_value {
  overflow: hidden;
  position: relative;
}

/* Ensure marquee containers animate properly */
.section-home-gallery .marquee_content-value {
  animation: marquee 30s linear infinite;
}

/* Pause animation on hover */
.section-home-gallery .section-inner.our_value:hover .marquee_content-value {
  animation-play-state: paused;
}

/* Marquee animation keyframes */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Ensure cards don't wrap */
.section-home-gallery .marquee_content-value {
  flex-shrink: 0;
  white-space: nowrap;
}

.section-home-gallery .our_value-card {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

/* Fix for value cards - prevent overlap and ensure proper spacing */
.our_value-card {
  flex-shrink: 0;
}

/* Fix text wrap to work with single child (description only) */
.our-value-text-wrap {
  justify-content: flex-end !important;
  min-height: 100%;
}

/* Ensure description has proper styling */
.our-value-text-wrap p {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Footer Logo Boxes */
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 12px 30px;
  margin-left: -1px;
  background:
    linear-gradient(#fff, #fff) left center / 2px 50% no-repeat,
    linear-gradient(#fff, #fff) right center / 2px 50% no-repeat;
}

.logo-box:first-child {
  margin-left: 0;
}

.logo-box .footer_marquee_image {
  display: block;
}

/* Service Cards - Disable clicking */
.service-card-home .faq-title.w-dropdown-toggle {
  pointer-events: none;
  cursor: default;
}
