/* ===========================
   GLOBAL DEVELOPMENT FRAMEWORKS MARQUEE
   =========================== */

.frameworks-marquee {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.frameworks-marquee::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(46, 143, 51, 0.2) 50%, transparent 100%);
}

.frameworks-marquee::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(46, 143, 51, 0.2) 50%, transparent 100%);
}

.marquee-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease;
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(46, 143, 51, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid rgba(46, 143, 51, 0.15);
  box-shadow: 0 4px 15px rgba(46, 143, 51, 0.08);
  position: relative;
  overflow: hidden;
}

.marquee-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.marquee-badge i {
  font-size: 16px;
  color: var(--primary-color);
}

.marquee-badge span {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marqueeScroll 40s linear infinite;
  width: fit-content;
}

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

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

.marquee-item {
  flex-shrink: 0;
}

.framework-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 20px 32px;
  border-radius: 16px;
  border: 2px solid rgba(46, 143, 51, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 280px;
}

.framework-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-blue) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.framework-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 12px 40px rgba(46, 143, 51, 0.2);
}

.framework-card:hover::before {
  opacity: 0.05;
}

.framework-icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(46, 143, 51, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.framework-card:hover .framework-icon {
  background: linear-gradient(135deg, rgba(46, 143, 51, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
  transform: rotate(5deg) scale(1.1);
}

.framework-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
}

.framework-card:hover .framework-icon img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.framework-info {
  position: relative;
  z-index: 1;
  flex: 1;
}

.framework-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.framework-card:hover .framework-info h4 {
  color: var(--primary-color);
}

.framework-info p {
  font-size: 13px;
  color: var(--light-text);
  margin: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.framework-card:hover .framework-info p {
  opacity: 1;
}

/* Responsive Styles */

/* Tablet */
@media (max-width: 768px) {
  .frameworks-marquee {
    padding: 50px 0 60px;
  }

  .marquee-header {
    margin-bottom: 32px;
  }

  .marquee-badge {
    padding: 10px 24px;
  }

  .marquee-badge i {
    font-size: 14px;
  }

  .marquee-badge span {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 100px;
  }

  .marquee-track {
    gap: 30px;
    animation: marqueeScroll 35s linear infinite;
  }

  .framework-card {
    padding: 16px 24px;
    min-width: 240px;
  }

  .framework-icon {
    width: 45px;
    height: 45px;
  }

  .framework-icon img {
    width: 24px;
    height: 24px;
  }

  .framework-info h4 {
    font-size: 15px;
  }

  .framework-info p {
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .frameworks-marquee {
    padding: 40px 0 50px;
  }

  .marquee-header {
    margin-bottom: 24px;
  }

  .marquee-badge {
    padding: 8px 20px;
    gap: 8px;
  }

  .marquee-badge i {
    font-size: 12px;
  }

  .marquee-badge span {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 80px;
  }

  .marquee-track {
    gap: 20px;
    animation: marqueeScroll 25s linear infinite;
  }

  .framework-card {
    padding: 14px 20px;
    min-width: 200px;
    gap: 12px;
  }

  .framework-icon {
    width: 40px;
    height: 40px;
  }

  .framework-icon img {
    width: 22px;
    height: 22px;
  }

  .framework-info h4 {
    font-size: 14px;
  }

  .framework-info p {
    font-size: 11px;
  }
}

