/* Integration slider Hero section */
/* ////////////////////////////// */

/* Full width container spanning edge-to-edge across all screen sizes */
.logo-slider-container {
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  border-radius: 0;
  contain: layout paint; /* keeps slider repaints from touching the rest of the hero */

  background: linear-gradient(
    90deg,
    rgba(166, 68, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(166, 68, 255, 0.25) 100%
  );
}

/* White centre glow.
   Replaces filter: blur(235.9px), which forces the GPU to blur a huge layer
   (very expensive on mid/low-end phones). A radial gradient looks similar and costs almost nothing. */
.logo-slider-container::before {
  content: "";
  position: absolute;
  inset: 0 20%;               /* 60% wide, centred, full height */
  background: radial-gradient(ellipse at center, #fff 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.logo-slider-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  position: relative;
  z-index: 1;
  will-change: transform;
  /* transform transition is set by JS (so the loop jump can be instant) */
}

.logo-item {
  flex: 0 0 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: scale(0.85);
  opacity: 0.7;
  z-index: 1;
}

.logo-item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-item.active {
  transform: scale(1.2);
  opacity: 1;
  z-index: 10;
}

/* While the strip silently jumps back one set, don't animate the items,
   otherwise the centre logo would visibly shrink and re-grow. */
.logo-slider-container.is-jumping .logo-item {
  transition: none;
}

/* --- Responsive Adjustments --- */

@media (max-width: 1440px) and (min-width: 993px) {
  .logo-slider-container { padding: 22px 0; }
  .logo-slider-track { gap: 24px; }
  .logo-item { flex: 0 0 55px; height: 55px; }
  .logo-item.active { transform: scale(1.15); }
}

@media (max-width: 992px) {
  .logo-slider-container { padding: 24px 0; }
  .logo-slider-track { gap: 20px; }
  .logo-item { flex: 0 0 60px; height: 60px; }
  .logo-item.active { transform: scale(1.25); }
}

@media (max-width: 576px) {
  .logo-slider-container { padding: 16px 0; }
  .logo-slider-track { gap: 16px; }
  .logo-item { flex: 0 0 50px; height: 50px; }
  .logo-item.active { transform: scale(1.2); }
  .logo-slider-container::before { inset: 0 10%; } /* 80% wide on phones */
}

@media (prefers-reduced-motion: reduce) {
  .logo-item { transition: none; }
}


/* Hardware devices section */
/* ////////////////////////////// */

@font-face {
  font-family: 'BagossCondensed-TRIAL-Medium';
  src: url('/wp-content/uploads/2025/11/BagossCondensed-TRIAL-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}



.hardware-integrations-one-system {
  width: 100%;
  padding: 24px 20px 20px 20px;
  border-radius: 24px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Track Container */
.hardware-integrations-one-system .hios-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  will-change: scroll-position;
  transform: translateZ(0); /* Hardware acceleration */
}

.hardware-integrations-one-system .hios-slider-track:active {
  cursor: grabbing;
}

.hardware-integrations-one-system .hios-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Card Styling */
.hardware-integrations-one-system .hios-card {
  flex: 0 0 calc((100% - (16px * 4)) / 5); /* 5 Cards visible */
  min-width: 220px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, #FFFFFF99 0%, #FFFFFF 100%);
  border: 1px solid #FFFFFF;
  border-radius: 24px;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 8px 24px rgba(49, 27, 73, 0.04);
  box-sizing: border-box;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hardware-integrations-one-system .hios-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 24px rgba(49, 27, 73, 0.08);
}

.hardware-integrations-one-system .hios-card-content {
  display: flex;
  flex-direction: column;
}

/* Brand Logo */
.hardware-integrations-one-system .hios-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 0px;
  object-fit: cover;
  margin-bottom: 30px;
}

/* Title */
.hardware-integrations-one-system .hios-card-title {
  font-family: 'BagossCondensed-TRIAL-Medium', sans-serif !important;
  font-size: 2rem !important;
  line-height: 2.6rem !important;
  font-weight: 500 !important;
  color: #311B49 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.01em;
}

/* Body Text */
.hardware-integrations-one-system .hios-card-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.4rem !important;
  line-height: 2rem !important;
  font-weight: 400 !important;
  color: #646464 !important;
  margin: 8px 0 12px 0 !important;
}

/* Divider & Footer */
.hardware-integrations-one-system .hios-card-footer {
  border-top: 1px solid #EBE4F2;
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Arrow Button */
.hardware-integrations-one-system .hios-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hardware-integrations-one-system .hios-arrow-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.hardware-integrations-one-system .hios-arrow-btn:hover {
  transform: scale(1.08);
}

/* Bottom Controls & Progress Bar */
.hardware-integrations-one-system .hios-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}

.hardware-integrations-one-system .hios-progress-bar {
  flex: 1;
  height: 4px;
  background-color: #E2D3F2;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hardware-integrations-one-system .hios-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  background-color: #B265FF;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hardware-integrations-one-system .hios-nav-buttons {
  display: flex;
  gap: 10px;
}

.hardware-integrations-one-system .hios-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.hardware-integrations-one-system .hios-prev {
  background-color: rgba(178, 101, 255, 0.22);
  color: #7D39BF;
}

.hardware-integrations-one-system .hios-next {
  background-color: #B265FF;
  color: #FFFFFF;
}

.hardware-integrations-one-system .hios-nav-btn:hover {
  transform: scale(1.06);
  opacity: 0.92;
}

/* ==========================================================================
   2. RESPONSIVE BREAKPOINTS (Optimized for Laptops, Tablets, & Mobile)
   ========================================================================== */

/* Standard Laptops & Desktops (1200px to 1440px) */
@media (max-width: 1440px) {
  .hardware-integrations-one-system .hios-card {
    flex: 0 0 calc((100% - (16px * 3)) / 4); /* Switch to 4 Cards visible */
    padding: 20px 16px 16px 16px;
  }

  .hardware-integrations-one-system .hios-card-logo {
    margin-bottom: 22px;
  }

  .hardware-integrations-one-system .hios-card-title {
    font-size: 1.85rem !important;
    line-height: 2.4rem !important;
  }

  .hardware-integrations-one-system .hios-card-text {
    font-size: 1.3rem !important;
    line-height: 1.85rem !important;
    margin: 6px 0 10px 0 !important;
  }
}

/* Small Laptops & Large Tablets (992px to 1199px) */
@media (max-width: 1199px) {
  .hardware-integrations-one-system {
    padding: 20px 16px 16px 16px;
  }

  .hardware-integrations-one-system .hios-slider-track {
    gap: 14px;
  }

  .hardware-integrations-one-system .hios-card {
    flex: 0 0 calc((100% - (14px * 2)) / 3); /* Switch to 3 Cards visible */
    padding: 18px 16px 14px 16px;
    border-radius: 20px;
  }

  .hardware-integrations-one-system .hios-card-logo {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }

  .hardware-integrations-one-system .hios-card-title {
    font-size: 1.75rem !important;
    line-height: 2.2rem !important;
  }

  .hardware-integrations-one-system .hios-card-text {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
  }

  .hardware-integrations-one-system .hios-card-footer {
    padding-top: 12px;
  }
}

/* Medium Tablets (768px to 991px) */
@media (max-width: 991px) {
  .hardware-integrations-one-system .hios-card {
    flex: 0 0 calc((100% - 14px) / 2); /* 2 Cards visible */
  }

  .hardware-integrations-one-system .hios-slider-controls {
    margin-top: 12px;
  }
}

/* Small Tablets & Large Phones (501px to 767px) */
@media (max-width: 767px) {
  .hardware-integrations-one-system {
    padding: 16px 12px 14px 12px;
    border-radius: 18px;
  }

  .hardware-integrations-one-system .hios-slider-track {
    gap: 12px;
    padding-bottom: 14px;
  }

  .hardware-integrations-one-system .hios-card {
    flex: 0 0 calc((100% - 12px) / 2); /* 2 Cards visible with tight fit */
    padding: 16px 14px 12px 14px;
    min-width: 190px;
  }

  .hardware-integrations-one-system .hios-card-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .hardware-integrations-one-system .hios-card-title {
    font-size: 1.6rem !important;
    line-height: 2.1rem !important;
  }

  .hardware-integrations-one-system .hios-card-text {
    font-size: 1.2rem !important;
    line-height: 1.65rem !important;
  }

  .hardware-integrations-one-system .hios-arrow-btn,
  .hardware-integrations-one-system .hios-nav-btn {
    width: 34px;
    height: 34px;
  }
}

/* Mobile Screens (Under 500px) */
@media (max-width: 500px) {
  .hardware-integrations-one-system .hios-card {
    flex: 0 0 82%; /* Single main card + hint of next card */
    min-width: unset;
  }

  .hardware-integrations-one-system .hios-card-title {
    font-size: 1.65rem !important;
    line-height: 2.1rem !important;
  }

  .hardware-integrations-one-system .hios-card-text {
    font-size: 1.25rem !important;
    line-height: 1.7rem !important;
  }

  .hardware-integrations-one-system .hios-slider-controls {
    gap: 12px;
  }
}



/*hero section integrations*/
/* ////////////////////////////// */


/* ==========================================================================
   INTEGRATIONS BLOCK & CARDS STYLES (DESKTOP)
   ========================================================================== */
.integrations-block {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  background: #FFFFFF;
  border-radius: 38px;
  padding: 14px;
  box-sizing: border-box;
}

.integration-cards-grid {
  display: flex;
  gap: 14px;
  width: 100%;
}

.integration-card-link {
  flex: 1;
  text-decoration: none;
  color: inherit;
  display: block;
}

.integration-card {
  height: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background-color 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.35s ease;
}

/* Arrow sits inside a white circular badge */
.card-arrow-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 8px rgba(49, 27, 73, 0.12);
  opacity: 0;
  transform: translate(-4px, 4px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-arrow {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: 'BagossCondensed-TRIAL-Medium', system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #311B49;
  margin: 0 0 12px 0;
  padding-right: 32px;
  line-height: 28px;
}

.card-description {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2A2A2A;
  line-height: 20px;
  margin: 0;
}

/* Active (default-highlighted) + Hover States share the same look */
.integration-card-link.active .integration-card,
.integration-card-link:hover .integration-card {
  background-color: #EBE5F0;
}

.integration-card-link.active .card-arrow-badge,
.integration-card-link:hover .card-arrow-badge {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (LAPTOPS, TABLETS & MOBILE)
   ========================================================================== */

/* Laptops & Small Desktops (769px - 1200px) */
@media (max-width: 1200px) and (min-width: 769px) {
  .card-title {
    font-size: 19px;
    line-height: 24px;
  }
  
  .integration-card {
    padding: 24px 20px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  /* Outer Container Transparent */
  .integrations-block {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 24px auto;
    overflow: hidden;
  }

  /* Horizontal Scrollable Grid */
  .integration-cards-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2%;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    
    /* Hide scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .integration-cards-grid::-webkit-scrollbar {
    display: none;
  }

  /* 80% Card Width + 9% Peeking Left/Right */
  .integration-card-link {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  .integration-cards-grid::before,
  .integration-cards-grid::after {
    content: '';
    flex: 0 0 8%;
  }

  /* Standalone White Cards */
  .integration-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);
  }

  .card-arrow-badge {
    top: 14px;
    right: 14px;
  }
  .card-arrow {
  width: 20px;
  height: 20px;
}
  .card-arrow-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 8px rgba(49, 27, 73, 0.12);
  opacity: 0;
  transform: translate(-4px, 4px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

  .card-title {
    font-size: 18px;
    line-height: 22px;
  }
  

  .card-description {
    font-size: 13px;
    line-height: 18px;
  }
}