/* ========================================
   FEATURED SERVICES SECTION
   ======================================== */
.featured-services {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  overflow: visible;
}

.featured-services__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: visible;
}

.featured-services__header {
  text-align: center;
  margin-bottom: 56px;
}

.featured-services__title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #16191f;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.featured-services__highlight {
  color: #0066c0;
}

.featured-services__subtitle {
  font-size: 1.125rem;
  color: #5f6368;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.featured-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .featured-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .featured-services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  /* Hide cards beyond the first 3 */
  .featured-card:nth-child(n+4) {
    display: none;
  }
  
  /* Show cards based on active slide */
  .featured-services__grid[data-slide="1"] .featured-card:nth-child(n+4):nth-child(-n+6) {
    display: flex;
  }
  
  .featured-services__grid[data-slide="1"] .featured-card:nth-child(-n+3) {
    display: none;
  }
}

/* Featured Cards */
.featured-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  border-color: #0066c0;
  box-shadow: 0 8px 24px rgba(0, 102, 192, 0.12);
  transform: translateY(-4px);
}

/* Primary and Secondary variants */
.featured-card--primary {
  border-color: #0066c0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.featured-card--primary:hover {
  box-shadow: 0 12px 32px rgba(0, 102, 192, 0.18);
}

.featured-card--secondary {
  border-color: #067647;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.featured-card--secondary:hover {
  border-color: #067647;
  box-shadow: 0 12px 32px rgba(6, 118, 71, 0.18);
}

/* Badge */
.featured-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #0066c0;
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  width: fit-content;
}

.featured-card__badge svg {
  width: 14px;
  height: 14px;
}

.featured-card__badge--new {
  background: #067647;
}

/* Icon */
.featured-card__icon {
  width: 56px;
  height: 56px;
  background: #f0f7ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066c0;
  margin-bottom: 20px;
}

.featured-card--secondary .featured-card__icon {
  background: #f0fdf4;
  color: #067647;
}

/* Title */
.featured-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #16191f;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Description */
.featured-card__description {
  font-size: 0.9375rem;
  color: #5f6368;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

/* Features List */
.featured-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  gap: 10px;
}

.featured-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #16191f;
  font-weight: 500;
}

.featured-card__features svg {
  width: 16px;
  height: 16px;
  color: #0066c0;
  flex-shrink: 0;
}

.featured-card--secondary .featured-card__features svg {
  color: #067647;
}

/* CTA Button */
.featured-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0066c0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-top: auto;
  width: fit-content;
}

.featured-card__cta:hover {
  background: #004080;
  transform: translateX(4px);
}

.featured-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.featured-card__cta:hover svg {
  transform: translateX(4px);
}

.featured-card--secondary .featured-card__cta {
  background: #067647;
}

.featured-card--secondary .featured-card__cta:hover {
  background: #055a37;
}

/* Navigation Arrows */
.featured-services__navigation {
  display: none;
}

@media (min-width: 1024px) {
  .featured-services__container {
    position: relative;
  }
  
  .featured-services__navigation {
    display: block;
  }
}

.featured-services__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #5f6368;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.featured-services__nav-btn--prev {
  left: -24px;
}

.featured-services__nav-btn--next {
  right: -24px;
}

.featured-services__nav-btn:hover {
  border-color: #0066c0;
  background: #f0f7ff;
  color: #0066c0;
  box-shadow: 0 4px 12px rgba(0, 102, 192, 0.15);
}

.featured-services__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.featured-services__nav-btn:disabled:hover {
  border-color: #e5e7eb;
  background: #ffffff;
  color: #5f6368;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dots Indicator */
.featured-services__dots {
  display: none;
}

@media (min-width: 1024px) {
  .featured-services__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }
}

.featured-services__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #d5dbdb;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.featured-services__dot:hover {
  border-color: #0066c0;
  background: #e7f3ff;
}

.featured-services__dot--active {
  background: #0066c0;
  border-color: #0066c0;
  width: 24px;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 767px) {
  .featured-services {
    padding: 60px 0;
  }
  
  .featured-services__container {
    padding: 0 20px;
  }
  
  .featured-services__header {
    margin-bottom: 40px;
  }
  
  .featured-card {
    padding: 24px;
  }
  
  .featured-card__icon {
    width: 48px;
    height: 48px;
  }
  
  .featured-card__icon svg {
    width: 28px;
    height: 28px;
  }
}
