/* ===== MODERN HERO SECTION ===== */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #1e293b 75%,
    #0f172a 100%
  );
  overflow: hidden;
}

.hero-modern__animated-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(236, 72, 153, 0.1) 0%,
      transparent 50%
    );
  animation: drift 20s ease-in-out infinite;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

.hero-modern__content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-modern__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.hero-modern__badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-modern__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-modern__title-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-modern__description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.9);
  max-width: 42rem;
}

.hero-modern__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.hero-modern__btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.6);
}

.hero-modern__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px -10px rgba(59, 130, 246, 0.8);
}

.hero-modern__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-modern__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-modern__features {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hero-modern__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-modern__feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(8px);
}

.hero-modern__feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

.hero-modern__feature-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.hero-modern__feature-text {
  color: rgba(203, 213, 225, 0.9);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Visual Side */
.hero-modern__visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-modern__glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.5);
}

.hero-modern__logo-container {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-modern__logo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-modern__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-modern__stat {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-modern__stat:hover {
  background: rgba(15, 23, 42, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.3);
}

.hero-modern__stat--wide {
  grid-column: span 2;
}

.hero-modern__stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(147, 197, 253, 0.9);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-modern__stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-modern__stat-value span {
  font-size: 1.5rem;
  opacity: 0.8;
}

.hero-modern__stat-desc {
  font-size: 0.8125rem;
  color: rgba(203, 213, 225, 0.8);
  line-height: 1.4;
  margin: 0;
}

/* Floating Elements */
.hero-modern__float {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero-modern__float-1 {
  top: -2rem;
  right: -2rem;
  animation-delay: 0s;
}

.hero-modern__float-2 {
  bottom: -1rem;
  left: -2rem;
  animation-delay: 2s;
}

.hero-modern__float-3 {
  top: 50%;
  right: -3rem;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== AMAZING PROJECTS CAROUSEL ===== */
.projects-carousel-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.projects-carousel-section__header {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.projects-carousel-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  color: #3b82f6;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.projects-carousel-section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.projects-carousel-section__description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* Carousel Container */
.projects-carousel {
  position: relative;
  margin-top: 3rem;
}

.projects-carousel__viewport {
  overflow: hidden;
  border-radius: 1.5rem;
}

.projects-carousel__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-carousel__slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .projects-carousel__slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .projects-carousel__slide {
    flex: 0 0 33.333333%;
  }
}

/* Project Card */
.project-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.2);
}

.project-card__image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: inherit;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__image {
  transform: scale(1.1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.project-card__content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.project-card__client {
  font-weight: 600;
}

.project-card__divider {
  color: #cbd5e1;
}

.project-card__date {
  font-weight: 500;
}

.project-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project-card:hover .project-card__title {
  color: #3b82f6;
}

.project-card__description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.project-card__link:hover {
  color: #2563eb;
  gap: 0.75rem;
}

.project-card__link svg {
  transition: transform 0.3s ease;
}

.project-card:hover .project-card__link svg {
  transform: translateX(4px);
}

/* Navigation Controls */
.projects-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.projects-carousel__nav:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 50px -10px rgba(59, 130, 246, 0.5);
}

.projects-carousel__nav--prev {
  left: -1.75rem;
}

.projects-carousel__nav--next {
  right: -1.75rem;
}

@media (max-width: 768px) {
  .projects-carousel__nav {
    width: 3rem;
    height: 3rem;
  }

  .projects-carousel__nav--prev {
    left: 0.5rem;
  }

  .projects-carousel__nav--next {
    right: 0.5rem;
  }
}

/* Progress Indicators */
.projects-carousel__indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.projects-carousel__indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #64748b;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.6;
}

.projects-carousel__indicator.active {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  width: 2.5rem;
  opacity: 1;
}

.projects-carousel__indicator:hover:not(.active) {
  background: #475569;
  transform: scale(1.2);
  opacity: 1;
}

/* Carousel CTA Button */
.projects-carousel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.projects-carousel__cta:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.4);
}

.projects-carousel__cta svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Marquee for Vendors */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* Utility Classes */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-modern__stats {
    grid-template-columns: 1fr;
  }

  .hero-modern__stat--wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: 0;
    padding: 4rem 0;
  }

  .hero-modern__title {
    font-size: 2.5rem;
  }

  .hero-modern__features {
    margin-top: 2rem;
  }

  .hero-modern__float {
    display: none;
  }
}
