.tech-heading {
  color: var(--primary-color);
  /* #ffffff */
  text-align: center;
  font-weight: 600;
  margin: 40px;
  font-size: 36px;
}

.tech-scroll-wrapper {
  overflow: hidden;
  padding: 0;
  position: relative;
}

/* Left Fade */
.tech-scroll-wrapper::before,
.tech-scroll-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--extra-main-color), rgba(0, 0, 0, 0));
}

.tech-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--extra-main-color), rgba(0, 0, 0, 0));
}

.tech-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: scroll-left 20s linear infinite;
  animation-timing-function: linear;
  will-change: transform;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.tech-card {
  flex: 0 0 auto;
  background: var(--primary-color-contrast);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tech-img {
  width: 100px;
  height: 60px;
  margin: 15px;
  object-fit: contain;
}

.tech-scroll-wrapper:hover .tech-track {
  animation-play-state: paused;
  transition: all 0.3s ease-in-out;
}

/* Mobile: stack vertically and remove scroll animation */
@media (max-width: 992px) {
  .tech-track {
    flex-direction: column;
    animation: none;
    transform: none;
  }

  .tech-card {
    width: 91%;
    max-width: 92%;
    margin-bottom: 20px;
  }

  .tech-heading {
    font-size: 30px;
    font-weight: 600;
  }

  .testimonial-section h2 {
    font-size: 30px !important;
    font-weight: 600 !important;
  }

  .testimonials {
    gap: 36px !important;
  }

  .tech-img {
    width: 100%;
  }

  .tech-scroll-wrapper::before,
  .tech-scroll-wrapper::after {
    display: none;
  }
}

.testimonial-section {
  margin: 50px 0;
  border-radius: 10px;
  background-color: var(--extra-main-color);
  text-align: center;
}

.testimonial-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: 600;
}

.testimonials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 130px;
}

.testimonial-card {
  background-color: var(--fourtiary-color);
  border-radius: 12px;
  padding: 30px 20px;
  width: 343px;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--tertiary-color-contrast);
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .testimonial-section {
    margin: 15px 0;
  }

  .testimonial-section h2 {
    margin-top: 35px;
  }

  .products-services-section {
    margin: 15px 0 !important;
    margin-bottom: 72px !important;
    padding: 26px 5px !important;
  }

  .products-services-section h2 {
    font-size: 30px;
    font-weight: 600;
  }

  .products-services-section p {
    font-size: 18px;
  }

  .service-details h4 {
    font-size: 26px !important;
  }

  .tab-content {
    margin-top: 15px;
  }
}

.client-info h4 {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-color);
}

.client-info span {
  font-size: 14px;
  color: var(--secondary-color);
}

.products-services-section {
  padding: 60px 20px;
  background: var(--primary-color-contrast);
  margin: 50px 0 60px 0;
  border-radius: 15px;
  color: var(--primary-color);
}

.psc img {
  padding: 5px 5px 5px 0;
  width: 35px;
  height: auto;
}

/* .psc:hover img,
.psc.active img {
  filter: invert(1);
  margin-right: 3px;
  margin-left: 5px;
  padding-left: 2px;
  font-weight: 600;
} */

.section-title-product {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 20px;
}

.service-tabs .nav-link {
  background-color: var(--primary-color-contrast);
  /* border: 2px solid currentColor; */
  text-align: left;
  font-weight: 500;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
  margin-top: 15px;
  padding: 4px 5px;
  position: relative;
}

.service-tabs .nav-link:hover,
.service-tabs .nav-link:focus {
  background-color: currentColor;
  color: var(--primary-color) !important;

}

.service-tabs .nav-link.active {
  background-color: currentColor;
  color: var(--primary-color) !important;
}

.tab-pane-content-wrapper {
  transition: all 0.4s ease;
}

.service-details {
  background-color: currentColor;
  padding: 10px 20px;
  color: var(--primary-color);
  border-radius: 10px;
}

.service-details {
  color: var(--primary-color);
}


.service-details h4 {
  font-size: 28px;
  font-weight: 700;
  margin: 5px 0 5px 0;
  margin-left: 3%;
}

.service-details p {
  font-size: 16px;
  line-height: 1.7;
}

.service-image {
  max-width: 100%;
  height: auto;
}

.service-tabs .nav-link:focus,
.service-tabs .nav-link:hover {
  box-shadow: none !important;
  outline: none !important;
}

.service-tabs .nav-link {
  box-shadow: none;
  outline: none;
}

.video-background {
  position: relative;
  width: 100%;
  height: 102vh;
  /* full screen */
  overflow: hidden;
  margin-top: -55px;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .video-background {
    position: relative;
    width: 100%;
    height: 70vh;
    /* full screen */
    overflow: hidden;
    margin-top: -3px;
    z-index: -1;
  }
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}


.content-overlay {
  position: relative;
  z-index: 1;
  color: white;
}