/* ========================================
   SERVICES SECTION
   ======================================== */

#services {
  position: relative;
  padding: 88px 0;
  background: #F5F5F7;
  overflow: hidden;
}

/* Wave Divider */
#services .wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

#services .wave-bottom {
  bottom: 0;
}

#services .wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Eyebrow */
.services-eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F4762A;
  text-align: center;
  margin-bottom: 16px;
}

/* Title */
.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A2E;
  text-align: center;
  margin-bottom: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Shimmer Text Animation */
.services-title.shimmer-text {
  background: linear-gradient(
    90deg,
    #1A1A2E 0%,
    #1A1A2E 30%,
    #F4762A 45%,
    #4BC8C0 55%,
    #1A1A2E 70%,
    #1A1A2E 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

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

/* Services Grid - 3x2 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

/* Service Card */
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

/* Gradient Sweep on Hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(244, 118, 42, 0.06), rgba(75, 200, 192, 0.06));
  transition: left 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 118, 42, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
}

/* Numbered Accent */
.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(244, 118, 42, 0.07);
  line-height: 1;
  transition: color 0.3s ease;
  pointer-events: none;
}

.service-card:hover .service-number {
  color: rgba(244, 118, 42, 0.18);
}

/* Service Icon */
.service-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.08);
}

.service-card:hover .service-icon img {
  transform: rotate(5deg) scale(1.12);
}

/* Icon Backgrounds - Ravnomerno raspoređeno */
.icon-gradient-1 {
  background: #FBF0F4;
}

.icon-gradient-1 svg {
  color: #C03D6A;
  stroke: #C03D6A;
}

.icon-gradient-2 {
  background: #FDF0EA;
}

.icon-gradient-2 svg {
  color: #E8823A;
  stroke: #E8823A;
}

.icon-gradient-3 {
  background: #EEF2FA;
}

.icon-gradient-3 svg {
  color: #2E5BAE;
  stroke: #2E5BAE;
}

.icon-gradient-4 {
  background: #FBF0F4;
}

.icon-gradient-4 svg {
  color: #C03D6A;
  stroke: #C03D6A;
}

.icon-gradient-5 {
  background: #FDF0EA;
}

.icon-gradient-5 svg {
  color: #E8823A;
  stroke: #E8823A;
}

.icon-gradient-6 {
  background: #EEF2FA;
}

.icon-gradient-6 svg {
  color: #2E5BAE;
  stroke: #2E5BAE;
}

/* Service Card Title */
.service-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A1A2E;
  margin-bottom: 12px;
}

/* Service Card Text */
.service-card-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* CTA Section */
.services-cta {
  text-align: center;
  margin-bottom: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  #services {
    padding: 110px 0;
  }
  
  .services-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 56px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
  }
  
  .service-card {
    padding: 28px;
  }
  
  .service-number {
    font-size: 40px;
    top: 20px;
    right: 20px;
  }
  
  .services-cta {
    margin-bottom: 60px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  #services {
    padding: 72px 0;
  }
  
  .services-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .services-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 48px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0;
  }
  
  .service-card {
    padding: 24px;
    border-radius: 16px;
  }
  
  .service-number {
    font-size: 36px;
    top: 16px;
    right: 16px;
  }
  
  .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  
  .service-card-title {
    font-size: 18px;
  }
  
  .service-card-text {
    font-size: 14px;
  }
  
  .services-cta {
    margin-bottom: 40px;
    padding-top: 48px;
  }
}
