/* Netflix-Style Carousel - Premium Design */

.netflix-carousel-section {
  background: linear-gradient(135deg, var(--color-dark-green) 0%, #051f16 100%);
  overflow-x: hidden;
  position: relative;
  padding: 0;
  margin: 0;
}

.netflix-waves-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.netflix-carousel-section::before {
  content: '';
  position: fixed;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 174, 255, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.showcase-wrapper {
  position: relative;
  padding: 40px 20px 60px;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 1;
}

.header-section {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.expertise-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 107, 0, 0.05));
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 12px 28px;
  border-radius: 50px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 0, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 107, 0, 0.4); }
}

.expertise-badge::before {
  content: '◆';
  color: #ff6b00;
  font-size: 14px;
  animation: spin 3s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.expertise-text {
  color: #ff6b00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.main-title {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.subtitle {
  font-size: clamp(20px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 1px;
}

.carousel-stage {
  position: relative;
  padding: 30px 0;
}

.navigation-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  pointer-events: none;
}

.nav-ctrl {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  z-index: 999; /* Increased z-index */
}

.nav-ctrl::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6b00, #00aeff);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-ctrl:hover {
  transform: scale(1.15);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
}

.nav-ctrl:hover::before {
  opacity: 0.2;
}

.nav-ctrl span {
  position: relative;
  z-index: 1;
}

.services-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 40px 80px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 0, 0.5) rgba(255, 255, 255, 0.05);
  align-items: center;
  cursor: grab;
}

.services-track::-webkit-scrollbar {
  height: 8px;
  display: block;
}

.services-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.services-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff6b00, #00aeff);
  border-radius: 4px;
}

.services-track::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #ff8533, #33beff);
}

.service-tile {
  flex-shrink: 0;
  width: 420px;
  height: 520px;
  scroll-snap-align: center;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
  transition: opacity 0.6s ease;
}

.service-tile::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.5), rgba(0, 174, 255, 0.5));
  border-radius: 32px;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
}

.service-tile.active {
  height: 600px;
  transform: scale(1.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.service-tile.active::after {
  opacity: 1;
}

.tile-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.service-tile:hover .tile-background {
  transform: scale(1.1);
}

.tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-tile.active .tile-content {
  transform: translateY(0);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(0, 174, 255, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}

.service-description {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.action-btn {
  align-self: flex-start;
  padding: 16px 36px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6b00, #00aeff);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.action-btn span {
  position: relative;
  z-index: 1;
}

.service-tile.active .action-btn {
  background: linear-gradient(135deg, #ff6b00, #ff8534);
  border-color: transparent;
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.5);
}

.action-btn:hover::before {
  opacity: 1;
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
}

.dot.active {
  width: 36px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ff6b00, #00aeff);
}

@media (max-width: 1024px) {
  .showcase-wrapper {
    padding: 80px 15px 100px;
  }

  .service-tile {
    width: 360px;
    height: 480px;
  }

  .service-tile.active {
    height: 540px;
  }

  .nav-ctrl {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .showcase-wrapper {
    padding: 80px 15px 100px;
  }

  .service-tile {
    width: 340px;
    height: 480px;
  }

  .service-tile.active {
    height: 520px;
  }

  .nav-ctrl {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .services-track {
    padding: 30px 60px;
  }

  .service-title {
    font-size: 28px;
  }

  .service-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .service-tile {
    width: 300px;
    height: 440px;
  }

  .service-tile.active {
    height: 480px;
  }

  .nav-ctrl {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .services-track {
    padding: 30px 40px;
  }
}
