/* Section Wrapper */
.talent-section {
  padding: 40px 15%;
  font-family: "Myriad Pro", Arial, sans-serif;
}

/* Flex container */
.talent-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Left 20% Image */
.talent-image {
  flex: 0 0 20%;
}

.talent-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Right 80% Text */
.talent-text {
  flex: 0 0 80%;
}

.talent-text h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  margin: 0;
}

.purple-text {
  color: var(--purple-color);
}

/* Responsive */
@media (max-width: 992px) {
  .talent-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .talent-section {
    padding-left: 10%;
    padding-right: 10%;
  }

  .talent-image {
    max-width: 200px;
  }

  .talent-text h2 {
    font-size: 28px;
  }
}

.cards-section-scroll {
  width: 100%;
  display: flex;
  justify-content: center; /* centers the container horizontally */
  padding: 40px 20px; /* spacing around section */
  box-sizing: border-box;
}

.cards-container {
  display: flex;
  gap: 40px; /* space between cards */
  overflow-x: auto; /* horizontal scrolling */
  padding: 0 20px; /* padding so cards are fully visible */
  scroll-behavior: smooth;
  font-family: "Myriad Pro", Arial, sans-serif;
}

.cards-container::-webkit-scrollbar {
  display: none;
}
.cards-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-top: 75px;
}

.background-orange {
  background: var(--orange-color);
}

.background-pink {
  background: var(--pink-color);
}

.feature-card {
  flex: 0 0 auto;
  width: 280px;
  height: auto;
  border-radius: 40px;
  padding: 70px 20px 30px;
  position: relative;
  text-align: left;
  overflow: visible;
  display: flex;
  flex-direction: column; /* stack content and button vertically */
  transition: all 0.3s ease; /* smooth hover effect */
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
}
.next-arrow {
  position: absolute;
  left: 90%;
  z-index: 100;
}

.next-arrow img {
  height: 20px;
}
.card-image {
  width: 150px;
  height: 150px;
  background: var(--purple-color);
  border-radius: 50%;
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
}

.card-image img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content h3 {
  padding-top: 20px;
  font-size: 24px;
  font-weight: 700;
  margin: 20px 0px 10px 10px;
  color: black;
}
.card-content h4 {
  color: var(--purple-color);
  font-size: 20px;
  font-weight: 700;
  margin: 0px 10px;
}

.card-content p {
  padding: 20px 5px;
  font-size: 18px;
  color: rgb(43, 43, 43);
  line-height: 1.3;
  margin: 10px 10px;
  letter-spacing: 1.1px;
}

.learn-more-btn {
  background: var(--purple-color);
  padding: 10px 50px;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  align-self: center; /* centers button horizontally */
  margin-top: 20px;
}
/* Responsive adjustments */
/* @media (max-width: 768px) {
  .cards-section-scroll {
    padding: 30px 10px;
  }
  .cards-container {
    gap: 20px;
    padding: 0 10px;
  }
} */

.move {
  position: relative;
  animation: slide 5s linear infinite;
}

@keyframes slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100vw);
  }
}

.reveal {
  animation: reveal 3s linear infinite;
}

@keyframes reveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

.text-white {
  color: white;
}

@media (max-width: 400px) {
  .cards-section-scroll {
    padding-left: 5px;
  }
}
