/* ============================================
   SERVICE PAGE — HERO
   ============================================ */
.service-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e3a5f 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(6,182,212,0.15) 100%);
  pointer-events: none;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #93c5fd;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.service-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.service-hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.service-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ============================================
   SERVICE PAGE — CAROUSEL
   ============================================ */
.service-carousel-section {
  padding: 3rem 0;
  background: var(--light-gray);
}
.carousel {
  max-width: 900px;
  margin: 0 auto;
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.carousel-viewport {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder shown when image fails to load */
.carousel-placeholder .carousel-placeholder-inner,
.carousel-slide:not(:has(img[src])) .carousel-placeholder-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.4rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}
.carousel-placeholder-inner {
  position: absolute;
  inset: 0;
  display: none;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #94a3b8;
  font-size: 1.4rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}
.carousel-placeholder img { display: none; }
.carousel-placeholder .carousel-placeholder-inner { display: flex; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #1e293b;
}
.carousel-btn {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carousel-btn:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.35); }

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: white;
  transform: scale(1.25);
}

/* ============================================
   SERVICE PAGE — FEATURES GRID
   ============================================ */
.service-features {
  padding: 5rem 0;
  background: white;
}
.service-features h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-feature-card {
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.25s ease;
}
.service-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}
.service-feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.service-feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}
.badge-premium {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

/* ============================================
   SERVICE PAGE — CTA BANNER
   ============================================ */
.service-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}
.service-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.service-cta p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .service-hero h1 { font-size: 2rem; }
  .service-hero p { font-size: 1rem; }
  .service-features h2 { font-size: 1.6rem; }
  .service-cta h2 { font-size: 1.5rem; }
  .carousel { border-radius: 8px; }
  .carousel-btn { display: none; }
  .carousel-controls { justify-content: center; padding: 0.5rem 0.75rem; }
}
