/* ============================================
   RECRUTIZ - Sections Stylesheet
   ============================================ */

/* ============================================
   9. Clients Section
   ============================================ */
.clients {
  padding: 4rem 0;
  background: var(--white);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-marquee {
  position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 10;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.clients-track {
  display: flex;
  animation: marquee 20s linear infinite;
}

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

.client-item {
  flex-shrink: 0;
  margin: 0 2rem;
  padding: 1.5rem 2rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  min-width: 150px;
}

.client-item:hover {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-lg);
}

.client-item img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.client-item span {
  font-weight: 700;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ============================================
   10. About Section
   ============================================ */
.about {
  background: var(--soft-white);
  position: relative;
  overflow: hidden;
}

.about-blob {
  position: absolute;
  border-radius: 50%;
}

.about-blob-1 {
  width: 16rem;
  height: 16rem;
  background: rgba(229, 57, 53, 0.05);
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.about-blob-2 {
  width: 24rem;
  height: 24rem;
  background: rgba(10, 45, 106, 0.05);
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .about-content { grid-template-columns: 1fr; }
}

.about-image {
  position: relative;
}

.about-image img,
.about-image video,
.about-video-wrapper,
.about-video-iframe,
.about-video-element {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-video-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;
}

.about-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.about-video-element {
  width: 100%;
  height: 100%;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 106, 0.3);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 5rem;
  height: 5rem;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(229, 57, 53, 0.3); }
  50% { box-shadow: 0 0 40px rgba(229, 57, 53, 0.5); }
}

.play-btn:hover {
  transform: scale(1.1);
}

.about-floating-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

.about-floating-icon {
  width: 4rem;
  height: 4rem;
  background: var(--coral);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}

.about-dots {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.about-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(229, 57, 53, 0.3);
  border-radius: 50%;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-highlight-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(229, 57, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  flex-shrink: 0;
}

/* ============================================
   11. Services Section
   ============================================ */
.services {
  background: var(--white);
  position: relative;
}

.services-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230A2D6A' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services-wrapper {
  position: relative;
  z-index: 10;
}

.services-carousel-wrapper {
  padding: 0 4rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.services-carousel {
  display: flex;
  grid-template-columns: none;
  overflow: visible;
  gap: 2rem;
  transition: transform 0.5s ease;
  position: relative;
  will-change: transform;
}

.services-carousel .service-card {
  flex: 0 0 calc(25% - 1.5rem);
  min-width: calc(25% - 1.5rem);
  margin-right: 0;
  opacity: 1;
  visibility: visible;
}

.services-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  color: var(--navy-blue);
  opacity: 1;
  visibility: visible;
}

.services-nav-btn:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.services-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.services-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.services-prev {
  left: 0.5rem;
}

.services-next {
  right: 0.5rem;
}

.services-nav-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .services-grid:not(.services-carousel) { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .services-carousel-wrapper {
    padding: 0 3rem;
  }
  
  .services-carousel .service-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
  }
  
  .services-prev {
    left: 0.5rem;
  }
  
  .services-next {
    right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .services-grid:not(.services-carousel) { 
    grid-template-columns: 1fr; 
  }
  
  .services-carousel-wrapper {
    padding: 0 2rem;
  }
  
  .services-carousel .service-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .services-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .services-prev {
    left: 0.25rem;
  }
  
  .services-next {
    right: 0.25rem;
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  height: 420px;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 45, 106, 0.95) 0%, rgba(10, 45, 106, 0.7) 50%, transparent 100%);
}

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--white);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--coral);
}

.service-content h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.service-card:hover .service-description {
  max-height: 5rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.service-card:hover .service-features {
  max-height: 5rem;
}

.service-feature {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue);
  opacity: 0;
  transform: scale(0.75);
  transition: all var(--transition-normal);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   12. Why Us Section
   ============================================ */
.why-us {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.why-us-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.why-us-blob-1 {
  width: 18rem;
  height: 18rem;
  background: rgba(229, 57, 53, 0.2);
  top: 5rem;
  right: 5rem;
}

.why-us-blob-2 {
  width: 24rem;
  height: 24rem;
  background: rgba(10, 45, 106, 0.5);
  bottom: 5rem;
  left: 5rem;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .why-us-content { grid-template-columns: 1fr; }
}

.why-us-text {
  color: var(--white);
}

.why-us-text h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.why-us-text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.why-us-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.why-us-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.why-us-feature svg {
  color: var(--coral);
  flex-shrink: 0;
}

.why-us-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-us-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.why-us-card:nth-child(2),
.why-us-card:nth-child(4) {
  margin-top: 2rem;
}

.why-us-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 45, 106, 0.2);
}

.why-us-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-us-card:nth-child(odd) .why-us-card-icon {
  background: var(--coral);
  color: var(--white);
}

.why-us-card:nth-child(even) .why-us-card-icon {
  background: var(--navy-blue);
  color: var(--white);
}

.why-us-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.why-us-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
}
