header {
  height: auto;
  min-height: 130px;
  z-index: 1000;
}

.logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  /* transform: rotate(-45deg); */
}

.flag {
  height: 55px;
  border-radius: 3px;
}

.navbar {
  --bs-navbar-brand-font-size: 2.5rem;
  /* small text */
}

.navbar-toggler {
  border: 2px solid rgba(186, 104, 200, 0.5);
  padding: 0.5rem 0.75rem;
}

.navbar-toogler:focus {
  box-shadow: 0 0 0 0.25rem rgba(186, 104, 200, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28186, 104, 200, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu background */
.navbar-collapse {
  background-color: rgba(0, 0, 0, 0.95);
  margin-top: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(186, 104, 200, 0.3);
}

/* Mobile menu items */
.navbar-collapse .nav-link {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-collapse .nav-link:hover {
  background-color: rgba(186, 104, 200, 0.1);
  padding-left: 1.5rem;
}

.navbar-brand,
.footer-brand {
  font-family: 'Bayon', sans-serif;
  color: rgba(186, 104, 200, 0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-brand:hover {
  color: #ba68c8;
  text-shadow: 0 0 25px rgba(186, 104, 200, 0.5);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ba68c8;
}

/* Desktop navigation - adaptive */
.desktop-nav {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: nowrap;
  align-items: center;
}

.desktop-nav .nav-link {
  font-size: clamp(0.75rem, 0.9vw, 0.95rem);
  white-space: nowrap;
}

.desktop-right {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.desktop-right .contact-btn {
  font-size: clamp(0.8rem, 0.9vw, 1rem);
  padding: clamp(0.4rem, 0.6vw, 0.5rem) clamp(0.8rem, 1.2vw, 1rem);
}

/* Hide burger on desktop */
.mobile-burger {
  display: none;
}

/* Show burger and hide desktop nav on smaller screens */
@media (max-width: 1200px) {
  .desktop-nav,
  .desktop-right {
    display: none;
  }

  .mobile-burger {
    display: block;
  }
}

.hero-text h1,
.product-section,
.contact-btn,
footer p,
footer a {
  font-family: 'Inter', sans-serif;
}

.contact-btn {
  border: 1px solid white;
  background-color: transparent;
  color: white;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: white;
  color: black;
  /* border: 1px solid black; */
}

.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 130px);
  /* Ajuster la hauteur en fonction du header */
  margin-top: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.football-match-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.hero-text {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

html {
  scroll-padding-top: 130px;
  /* Offset for fixed header when using anchor links */
}

body {
  margin: 0;
  padding: 0;
  background-color: black;
  padding-top: 130px;
  /* Hauteur du header fixe */
}

.carousel-section:has(.carousel-track:empty) {
  display: none; /* Hide if carousel is empty */
}

.carousel-section {
  background-color: black;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.carousel-slide {
  flex-shrink: 0;
  width: calc((100vw - 60px) / 4);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carousel-slide img:hover {
  transform: scale(1.05);
}

.product-section {
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.15), rgba(74, 20, 140, 0.1));
  background-color: #0a0a1a;
  border: 1px solid rgba(186, 104, 200, 0.25);
  border-radius: 20px;
  color: white;
  padding: 2vh 2vw;
  margin: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(123, 31, 162, 0.3);
}

.product-section .row {
  align-items: center;
  flex: 1;
  height: 100%;
}

.product-image {
  max-width: 100%;
  max-height: 60vh;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

/* Card 1 - Product details adaptive text */
.product-section h2 {
  font-size: clamp(1.5rem, 3.5vh, 2.5rem);
  margin-bottom: clamp(0.5rem, 1.5vh, 1.5rem);
  color: #ba68c8;
  text-shadow: 0 0 20px rgba(186, 104, 200, 0.5);
}

.product-section p {
  font-size: clamp(0.85rem, 1.5vh, 1.1rem);
  margin-bottom: clamp(0.3rem, 1vh, 0.8rem);
  color: #ce93d8;
}

.product-section ul li {
  font-size: clamp(0.75rem, 1.4vh, 1rem);
  line-height: 1.4;
  margin-bottom: clamp(0.2rem, 0.5vh, 0.4rem);
  color: #e1bee7;
}

.product-section ul li strong {
  color: #ba68c8;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(186, 104, 200, 0.3);
}

.social-icon {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.hero-section {
  height: auto;
}

.football-match-video {
  position: relative;
}

.hero {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
}

.hero-tagline-section {
  height: calc(100vh - 130px);
  gap: 2rem; /* Spacing between h1, video, and h2 */
  background: #17082c; /* Solid purple background */
}

/* VERSION WITH STADIUM BACKGROUND - Uncomment to switch */

.hero-tagline-section {
  height: calc(100vh - 130px);
  gap: 2rem;
  background-image: url('assets/soccer-stadium-field-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-tagline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(23, 8, 44, 0.9), rgba(123, 31, 162, 0.3));
  z-index: 0;
}

.hero-tagline-section > * {
  position: relative;
  z-index: 1;
}


/* Content row component - BEM naming */
.content-row {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  flex: 1; /* Takes available space in parent flex container */
  max-height: 60vh; /* Limits height to 60% of viewport */
}

.content-row__media {
  flex: 2; /* Takes 2/3 of the space */
  display: flex;
  justify-content: center;
}

.content-row__video {
  width: 100%;
  height: 100%; /* Fill parent height */
  max-height: 60vh;
  object-fit: contain;
}

.content-row__text {
  flex: 1; /* Takes 1/3 of the space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  text-align: left;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(76, 175, 80, 0.08)); /* Subtle green tint */
  border-radius: 12px;
  border: 2px solid rgba(76, 175, 80, 0.4); /* Green border */
  box-shadow: 0 8px 32px rgba(23, 8, 44, 0.3); /* Purple shadow for depth */
}

.content-row__text h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #81c784; /* Softer green for headers */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-row__text h3:first-child {
  margin-top: 0;
}

.content-row__text p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.content-row__text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.content-row__text ul li {
  font-size: 0.9rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.content-row__text ul li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #81c784;
  font-weight: bold;
}

.rotating-text {
  color: #ba68c8; /* Vibrant purple for better visibility */
  text-shadow: 0 0 25px rgba(186, 104, 200, 0.5);
}

.tagline-slider {
  margin-bottom: 3rem; /* Add gap after typed text */
}

#typed-text {
  color: #39ff14; /* Matrix/hacker neon green */
  font-weight: 400;
  font-family: 'Courier New', monospace; /* Monospace for hacker look */
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.8), 0 0 20px rgba(57, 255, 20, 0.5); /* Strong neon glow */
}

#product-features {
  padding-top: 3vh;
  background-image: url('assets/soccer-stadium-field-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

/* Dark overlay for product features section */
#product-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(123, 31, 162, 0.3));
  z-index: 0;
}

/* Ensure content is above overlay */
#product-features > * {
  position: relative;
  z-index: 1;
}

/* Title takes ~6vh */
#product-features > h2 {
  height: 6vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ba68c8;
  text-shadow: 0 0 25px rgba(186, 104, 200, 0.6);
}

.product-features__carousel-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 2rem;
}

.product-features__carousel {
  width: 100%;
  max-width: 1200px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-features__header {
  margin-bottom: 0;
}

.product-features__carousel {
  /* Keep flex: 1 */
  flex: 1;

  /* Add minimum height to prevent collapse */
  min-height: 500px;
  height: 100%;

  /* Keep existing */
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: visible; /* Change to visible so rounded corners show */
}

.product-features__card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* Keep existing */
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow: visible; /* Allow rounded corners to show */
}

.product-features__cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}


.product-features__card--active {
  opacity: 1;
  z-index: 1;
}

.product-features__card-content {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-features__arrow {
  flex-shrink: 0;
  z-index: 10;

  /* Styling */
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.2), rgba(74, 20, 140, 0.15));
  border: 2px solid rgba(186, 104, 200, 0.5);
  border-radius: 50%;
  width: 70px;
  height: 70px;

  /* Button reset */
  cursor: pointer;
  outline: none;
  padding: 0; /* Remove default padding */

  /* Perfect centering with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Smooth transition */
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(123, 31, 162, 0.4);
}

.product-features__arrow:hover {
  background: linear-gradient(135deg, rgba(186, 104, 200, 0.35), rgba(123, 31, 162, 0.25));
  border-color: #ba68c8;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(186, 104, 200, 0.6);
}

.arrow-icon {
  font-size: 1.8rem;
  color: #ba68c8;
  font-weight: bold;
  line-height: 1; /* Fix vertical alignment */
  display: block;

  /* Prevent text selection */
  user-select: none;
}

/* Left arrow default */
.product-features__arrow--left .arrow-icon::before {
  content: '<';
}

/* Right arrow default */
.product-features__arrow--right .arrow-icon::before {
  content: '>';
}

/* Camera image container - desktop */
.camera-image-container {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#platform {
  padding: 3vh;
  height: calc(100vh - 130px);
  background-image: url('assets/soccer-stadium-field-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

/* Dark overlay for platform section */
#platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(123, 31, 162, 0.3));
  z-index: 0;
}

/* Ensure content is above overlay */
#platform > * {
  position: relative;
  z-index: 1;
}

#platform > h2 {
  height: 6vh;
  flex-shrink: 0;
  color: #ba68c8;
  border-radius: 10px;
  padding: 0.5rem 2rem;
  width: 80vw;
  max-width: 1400px;
  margin: 0 auto;
  text-shadow: 0 0 25px rgba(186, 104, 200, 0.6);
}

#platform > p {
  color: #e0e0e0;
  font-size: 1.4rem;
  margin-top: 1rem;
  line-height: 1.6;
  text-align: center;
  height: 8vh;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
}

.platform__devices {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 3rem;
  overflow: hidden;
}

.platform__devices img {
  /* flex: 1; */
  width: 0; /* Weird trick - resets width so flex can work */
  min-width: 0;
  /* height: auto; */
  max-height: 100%;
  object-fit: contain;
  /* opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); */
  opacity: 0;
  animation-play-state: paused;
}

/* .platform__devices img:nth-child(1) {
  flex: 3;
  transform: translateX(-100%);
}

.platform__devices img:nth-child(2) {
  flex: 2;
  transform: translateY(100%);
}

.platform__devices img:nth-child(3) {
  flex: 3;
  transform: translateX(100%);
} */

#platform.visible .platform__devices img {
  animation-play-state: running;
}

#platform.visible .platform__devices img:nth-child(1) {
  /* transition-delay: 0s; */
  /* opacity: 1;
  transform: translateX(0); */
  /* transition-duration: 0.8s; */
  flex: 3;
  animation: slideFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s forwards;
}

#platform.visible .platform__devices img:nth-child(2) {
  /* transition-delay: 0.2s; */
  /* opacity: 1;
  transform: translateY(0); */
  /* transition-duration: 0.8s; */
  flex: 2;
  animation: slideFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

#platform.visible .platform__devices img:nth-child(3) {
  /* transition-delay: 0.4s; */
  /* opacity: 1;
  transform: translateX(0); */
  /* transition-duration: 0.8s; */
  flex: 3;
  animation: slideFromRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Advantages Section */
.advantages {
  padding: 3vh 3vw;
  background-image: url('assets/soccer-stadium-field-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  position: relative;
  height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

/* Dark overlay for better text readability */
.advantages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(123, 31, 162, 0.3)); /* Purple overlay instead of orange */
  z-index: 0;
}

/* Ensure content is above overlay */
.advantages > * {
  position: relative;
  z-index: 1;
}

.advantages__title {
  color: #ba68c8;
  text-align: center;
  padding: 2rem;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 0 25px rgba(186, 104, 200, 0.6);
}

.advantages__grid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px; /* 3D perspective */
  position: relative;
  overflow: hidden; /* Prevent horizontal scroll from 3D carousel */
}

/* Hide tabs on desktop */
.advantages__tabs {
  display: none;
}

/* 3D carousel container */
.advantages__carousel {
  position: relative;
  width: 450px;
  height: 500px;
  transform-style: preserve-3d;
  /* Animation will be controlled by JavaScript */
}

.advantages__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 380px; /* Fixed height instead of min-height */
  max-height: 380px; /* Ensure it doesn't exceed */
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.15), rgba(74, 20, 140, 0.1)); /* Purple gradient */
  border: 2px solid rgba(186, 104, 200, 0.4); /* Purple border */
  border-radius: 20px;
  padding: clamp(1rem, 2vh, 1.5rem) clamp(1rem, 2vw, 1.2rem); /* Adaptive padding */
  color: white;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vh, 1rem); /* Adaptive gap */
  backdrop-filter: blur(10px); /* Glass effect */
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: opacity 0.3s ease;
  box-shadow: 0 8px 32px rgba(123, 31, 162, 0.3);
  overflow: hidden; /* Prevent content overflow */
}

/* Position 6 cards evenly around the circle - 60° apart, always 2 visible */
.advantages__card:nth-child(1) {
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(450px);
}

.advantages__card:nth-child(2) {
  transform: translate(-50%, -50%) rotateY(60deg) translateZ(450px);
}

.advantages__card:nth-child(3) {
  transform: translate(-50%, -50%) rotateY(120deg) translateZ(450px);
}

.advantages__card:nth-child(4) {
  transform: translate(-50%, -50%) rotateY(180deg) translateZ(450px);
}

.advantages__card:nth-child(5) {
  transform: translate(-50%, -50%) rotateY(240deg) translateZ(450px);
}

.advantages__card:nth-child(6) {
  transform: translate(-50%, -50%) rotateY(300deg) translateZ(450px);
}

.advantages__card:hover {
  border-color: #ba68c8; /* Purple */
  box-shadow: 0 12px 40px rgba(186, 104, 200, 0.5); /* Purple glow */
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.25), rgba(74, 20, 140, 0.15));
}

.advantages__icon {
  font-size: clamp(2rem, 4vh, 3rem); /* Adaptive icon size */
  text-align: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  flex-shrink: 0; /* Don't shrink icon */
}

.advantages__card-title {
  font-size: clamp(0.8rem, 1.6vh, 1.2rem); /* Adaptive title size */
  font-weight: 700;
  color: #ba68c8;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(186, 104, 200, 0.5);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0; /* Don't shrink title */
}

.advantages__card-text {
  font-size: clamp(0.75rem, 1.5vh, 0.95rem); /* Adaptive text size */
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95); /* Brighter text */
  text-align: left;
  font-family: 'Inter', sans-serif; /* Same as navbar */
  flex: 1; /* Take remaining space */
  overflow-y: auto; /* Scroll if needed */
}

/* Remuneration Section - Purple theme like product features */
.remuneration-section {
  padding: 6vh 3vw;
  background-image: url('assets/Handball-background5.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
}

/* Dark overlay for remuneration section */
.remuneration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(123, 31, 162, 0.3));
  z-index: 0;
}

/* Ensure content is above overlay */
.remuneration-section > * {
  position: relative;
  z-index: 1;
}

.remuneration__title {
  color: #ba68c8;
  text-align: center;
  padding: 2rem;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 0 25px rgba(186, 104, 200, 0.6);
}

.remuneration__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  flex: 1;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.remuneration__card {
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.08), rgba(74, 20, 140, 0.05));
  border: 2px solid rgba(186, 104, 200, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
  height: 100%;
  box-shadow: 0 8px 32px rgba(123, 31, 162, 0.3);
}

.remuneration__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #ba68c8;
  box-shadow: 0 12px 40px rgba(186, 104, 200, 0.5);
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.15), rgba(74, 20, 140, 0.1));
}

.remuneration__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ba68c8;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(186, 104, 200, 0.5);
  font-family: 'Inter', sans-serif;
}

.remuneration__card-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  font-family: 'Inter', sans-serif;
}


/* Shared styles for audience and contracts sections */
.target-section {
  padding: clamp(1rem, 3vh, 3vh) clamp(1rem, 3vw, 3vw);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  box-shadow: 0 8px 32px rgba(123, 31, 162, 0.3);
  height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: clamp(1rem, 2vh, 1.5rem);
  transition: all 0.3s ease;
}

.target-section:hover {
  box-shadow: 0 12px 40px rgba(76, 175, 80, 0.4);
}

/* Audience Section specific background */
#audience {
  background-image: url('assets/basketball-stadium-field-background3.jpg');
}

/* Contracts Section specific background */
#contracts {
  background-image: url('assets/tennis-stadium-field-background.jpg');
}

/* Dark overlay for both sections */
.target-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(76, 175, 80, 0.2));
  z-index: 0;
}

/* Ensure content is above overlay */
.target-section > * {
  position: relative;
  z-index: 1;
}

/* Shared title styles */
.target-section__title {
  color: #81c784;
  text-shadow: 0 0 20px rgba(129, 199, 132, 0.5);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0;
  text-align: center;
  flex-shrink: 0;
}

/* Shared subtitle styles */
.target-section__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin: 0 0 clamp(0.5rem, 1vh, 0.8rem) 0;
  color: #81c784;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

/* Shared text styles */
.target-section__text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  line-height: 1.5;
  flex: 1;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Audience section specific divs */
.audience__grand-public,
.audience__advertising {
  width: 100%;
  max-width: 600px;
  padding: clamp(1rem, 2vh, 1.5rem);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(76, 175, 80, 0.08));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vh, 0.8rem);
}

/* Contracts list styling */
.contracts__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  width: 100%;
  max-width: 800px;
}

.contracts__list li {
  font-size: clamp(1.1rem, 2.2vh, 1.5rem);
  line-height: 1.7;
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
}

.contracts__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #81c784;
  font-weight: bold;
}

@keyframes slideFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide in from RIGHT */
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes arrowLoadLeft {
  0% {
    content: '<';
  }
  33% {
    content: '<-';
  }
  67% {
    content: '<--';
  }
  100% {
    content: '<';
  }
}

/* Right arrow animation (> -> -> -> -->) */
@keyframes arrowLoadRight {
  0% {
    content: '>';
  }
  33% {
    content: '->';
  }
  67% {
    content: '-->';
  }
  100% {
    content: '>';
  }
}

.product-features__arrow--left:hover .arrow-icon::before {
  animation: arrowLoadLeft 0.8s ease-in-out infinite;
}

.product-features__arrow--right:hover .arrow-icon::before {
  animation: arrowLoadRight 1s ease-in-out infinite;
}

/* Process Flow Diagram Styles - Adaptive based on container height */
.process-diagram-title {
  font-size: clamp(1.2rem, 3vh, 1.8rem);
  margin-bottom: clamp(0.5rem, 1.5vh, 1rem);
  color: #ba68c8;
  text-shadow: 0 0 20px rgba(186, 104, 200, 0.5);
}

.process-flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  flex: 1;
  height: 100%;
}

.process-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.process-step__number {
  width: clamp(32px, 3.5vh, 42px);
  height: clamp(32px, 3.5vh, 42px);
  border-radius: 50%;
  background: linear-gradient(135deg, #e1bee7, #ba68c8);
  color: #4a148c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2vh, 1.3rem);
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(186, 104, 200, 0.7);
  z-index: 2;
  margin-bottom: clamp(0.3rem, 0.8vh, 0.6rem);
}

.process-step__content {
  width: 100%;
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.18), rgba(74, 20, 140, 0.12));
  border: 2px solid rgba(186, 104, 200, 0.5);
  border-radius: clamp(8px, 1.2vh, 12px);
  padding: clamp(0.4rem, 1vh, 0.7rem) clamp(0.8rem, 1.5vh, 1.3rem);
  box-shadow: 0 6px 24px rgba(123, 31, 162, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-step__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ba68c8, #7b1fa2, #ba68c8);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.process-step__content:hover {
  transform: translateY(-2px);
  border-color: rgba(186, 104, 200, 0.8);
  box-shadow: 0 10px 32px rgba(186, 104, 200, 0.4);
}

.process-step__title {
  font-size: clamp(0.75rem, 1.6vh, 0.9rem);
  font-weight: 600;
  color: #e1bee7;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

.process-arrow {
  width: clamp(30px, 4vh, 45px);
  height: clamp(20px, 2.5vh, 35px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(0.2rem, 0.5vh, 0.4rem) 0;
  color: rgba(186, 104, 200, 0.9);
  filter: drop-shadow(0 2px 8px rgba(186, 104, 200, 0.5));
}

.arrow-svg {
  width: 100%;
  height: 100%;
}

.process-step--last .process-arrow {
  display: none;
}
