/* Gama Automation Custom Specific Styles & Animations */

/* Marquee Continuous Moving Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-left {
  display: flex !important;
  width: max-content !important;
  animation: marquee-scroll 24s linear infinite !important;
  will-change: transform;
}

.animate-marquee-left:hover {
  animation-play-state: paused !important;
}

/* Engineering Blueprint Pattern */
.bg-blueprint-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 114, 206, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 114, 206, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Industrial Mega-Menu Thin Scrollbar */
.mega-menu-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.mega-menu-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.mega-menu-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.mega-menu-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.mega-menu-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Navbar active indicator transition */
.nav-indicator {
  transition: width 0.2s ease-in-out;
}

/* ======================================================================
   Header Clearance & Viewport Layout Offsets (Fix Navbar Overlaps)
   ====================================================================== */
:root {
  --navbar-height: 72px;
}

@media (min-width: 640px) {
  :root {
    --navbar-height: 76px;
  }
}

/* Clear the fixed top header across all pages */
main,
.pt-\[76px\],
.pt-24 {
  padding-top: var(--navbar-height) !important;
}

/* Sticky Filter & Search Bar docked immediately below the navbar */
.sticky.top-20,
.sticky.top-\[72px\],
.sticky.top-\[76px\] {
  position: sticky !important;
  top: var(--navbar-height) !important;
  z-index: 35 !important;
}

/* Brand & Missing Layout Utilities */
.text-\[\#0072CE\] {
  color: #0072CE !important;
}
.bg-\[\#0072CE\] {
  background-color: #0072CE !important;
}
.border-\[\#0072CE\] {
  border-color: #0072CE !important;
}
.max-w-\[1550px\] {
  max-width: 1550px !important;
}
.max-w-\[1380px\] {
  max-width: 1380px !important;
}
.w-\[210px\] {
  width: 210px !important;
}
.w-\[280px\] {
  width: 280px !important;
}
.w-\[360px\] {
  width: 360px !important;
}
.shadow-xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* ======================================================================
   Hero Swiper Slider (Balanced Viewport Height & Modern Polish)
   ====================================================================== */
.hero-swiper {
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-swiper .swiper-wrapper {
  height: 100% !important;
}

.hero-swiper .swiper-slide {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  min-height: clamp(560px, 76vh, 680px) !important;
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 1024px) {
  .hero-swiper .swiper-slide {
    min-height: clamp(520px, 70vh, 620px) !important;
  }
}

@media (max-width: 768px) {
  .hero-swiper .swiper-slide {
    min-height: 560px !important;
  }
}

.hero-swiper .swiper-slide > .relative.z-10 {
  min-height: inherit !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  padding-top: clamp(60px, 8vh, 85px) !important;
  padding-bottom: clamp(45px, 6vh, 65px) !important;
}

.hero-swiper-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #1e293b !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  z-index: 30 !important;
}

.hero-swiper-btn:hover {
  background-color: #0072CE !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 8px 25px rgba(0, 114, 206, 0.35) !important;
  border-color: #0072CE !important;
}

.hero-swiper-btn::after {
  font-size: 15px !important;
  font-weight: 900 !important;
}

.hero-swiper .swiper-pagination {
  bottom: 20px !important;
  z-index: 30 !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background-color: #94a3b8 !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 26px !important;
  border-radius: 4px !important;
  background-color: #0072CE !important;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 114, 206, 0.4) !important;
}

/* Hero Studio Lighting Gradient */
.hero-studio-bg {
  background: radial-gradient(circle at 65% 45%, #ffffff 0%, #f8fafc 40%, #e2e8f0 85%, #cbd5e1 100%);
}

/* Hero Trusted By Badge corner radius */
.hero-trusted-badge {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

@media (min-width: 640px) {
  .hero-trusted-badge {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
  }
}

/* Strategic Partner Cards - Brand Themes */
.partner-card-camfil {
  position: relative;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 45%) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  border-top: 4px solid #005a36 !important;
  transition: all 0.25s ease-in-out !important;
}
.partner-card-camfil:hover {
  border-color: #005a36 !important;
  box-shadow: 0 14px 34px rgba(0, 90, 54, 0.14) !important;
  transform: translateY(-3px);
}

.partner-card-gea {
  position: relative;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 45%) !important;
  border: 1px solid rgba(0, 20, 137, 0.22) !important;
  border-top: 4px solid #001489 !important;
  transition: all 0.25s ease-in-out !important;
}
.partner-card-gea:hover {
  border-color: #001489 !important;
  box-shadow: 0 14px 34px rgba(0, 20, 137, 0.14) !important;
  transform: translateY(-3px);
}

.partner-card-unison {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%) !important;
  border: 1px solid rgba(15, 23, 42, 0.2) !important;
  border-top: 4px solid #0f172a !important;
  transition: all 0.25s ease-in-out !important;
}
.partner-card-unison:hover {
  border-color: #0f172a !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14) !important;
  transform: translateY(-3px);
}

/* Hero Slide Product Images Left Offset (3cm) */
@media (min-width: 1024px) {
  .hero-slide-product-offset {
    transform: translateX(-3cm) !important;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-slide-product-offset {
    transform: translateX(-1.5cm) !important;
  }
}
