﻿﻿/* Style the container */
.slider-container {
  position: relative;
  width: 80%;
  margin: auto;
  overflow: hidden;
}

/* Style the slider (images container) */
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Style for each slide */
.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Positioning for prev and next buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
/* Catalogue cards */
.catalogue-grid {
  margin-left: -1rem;
  margin-right: -1rem;
}

.catalogue-grid .col {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 2rem;
}

.catalogue-grid .catalogue-card {
  background-color: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 18px 35px rgba(22, 28, 45, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalogue-grid .catalogue-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(22, 28, 45, 0.12);
}

.catalogue-card_icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 164, 0.12),
    rgba(92, 107, 192, 0.12)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalogue-card_icon i {
  font-size: 36px;
  color: #4cafb4;
}

.catalogue-card_body {
  flex-grow: 1;
}

.catalogue-card_title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.catalogue-card_preview {
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 24px;
  background-color: #f8f9fa;
}

.catalogue-card_preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.catalogue-card_preview.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-style: italic;
  padding: 16px;
}

.catalogue-card_actions .btn {
  margin: 8px 6px 0;
  min-width: 150px;
}

.catalogue-card_actions .btn + .btn {
  margin-left: 0;
}

.contact-pitch {
  background: linear-gradient(
    135deg,
    rgba(92, 107, 192, 0.12),
    rgba(76, 175, 164, 0.12)
  );
}

/* Client logo marquee */
.client-logo-section {
  background-color: #ffffff;
  border-top: 1px solid #f1f1f1;
  padding: 24px 0;
}

.client-logo-marquee {
  position: relative;
  overflow: hidden;
}

.client-logo-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  min-height: 40px;
  animation: client-logo-scroll 28s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-logo-track:hover {
  animation-play-state: paused;
}

.client-logo-track.is-loaded {
  opacity: 1;
}

.client-logo-item {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-empty {
  margin: 0 auto;
  font-size: 14px;
  color: #6c757d;
  white-space: nowrap;
}

@keyframes client-logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  .client-logo-track {
    gap: 16px;
    min-height: 36px;
  }

  .client-logo-item {
    width: 36px;
    height: 36px;
  }

  .client-logo-item img {
    width: 22px;
    height: 22px;
  }
}
