﻿/**
 * Technology Showcase - Rotating Carousel
 * Displays technologies in a smooth infinite horizontal scroll
 */
.technology-showcase {
  position: relative;
  padding: 160px 0 80px 0;
  background: #ffffff;
  overflow: hidden;
}
.technology-showcase .heading6 h3 {
  color: #001F54 !important;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 0;
}
/* Technology Carousel Container */
.tech-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0 60px 0;
}
.tech-carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll-tech 40s linear infinite;
  will-change: transform;
}
/* Technology Item */
.tech-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  position: relative;
  padding-bottom: 20px;
}
.tech-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid rgba(74, 144, 226, 0.3);
  border-radius: 50%;
  color: #001F54;
  font-size: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.tech-badge:hover {
  background: rgba(74, 144, 226, 0.9);
  border-color: #4A90E2;
  color: white;
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
}
/* Technology Name Label */
.tech-name {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
  opacity: 0.7;
  transition: all 0.3s ease;
  pointer-events: none;
}
.tech-item:hover .tech-name {
  opacity: 1;
  color: #001F54;
  font-weight: 600;
}
/* Tooltip */
.tech-badge::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 31, 84, 0.95);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.tech-badge::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 31, 84, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 3px;
}
.tech-badge:hover::before,
.tech-badge:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}
/* Infinite Scroll Animation */
@keyframes scroll-tech {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause animation on hover */
.tech-carousel-wrapper:hover .tech-carousel-track {
  animation-play-state: paused;
}
/* Responsive Design */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .technology-showcase .heading6 h3 {
    font-size: 36px;
  }
  .tech-badge {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  .tech-carousel-track {
    gap: 15px;
  }
}
@media (max-width: 767px) {
  .technology-showcase {
    padding: 60px 0;
  }
  .technology-showcase .heading6 h3 {
    font-size: 28px;
  }
  .tech-badge {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .tech-carousel-track {
    gap: 12px;
    animation-duration: 30s;
  }
  .tech-carousel-wrapper {
    padding: 30px 0 50px 0;
  }
  .tech-name {
    font-size: 10px;
    bottom: -25px;
  }
  .tech-badge::before {
    font-size: 11px;
    padding: 6px 8px;
  }
}
/* Gradient overlay for fade effect */
.tech-carousel-wrapper::before,
.tech-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.tech-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.tech-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
@media (max-width: 767px) {
  .tech-carousel-wrapper::before,
  .tech-carousel-wrapper::after {
    width: 80px;
  }
}