/* =========================================
   BANSAL CODERS - Services Page Styles
   ========================================= */

/* ---------- TABS NAV ---------- */
.service-tabs-section { background: var(--bg-secondary); padding-bottom: 0; }

.tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}

.tab-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.tab-btn.active {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(79,110,247,0.3);
}

/* ---------- TAB PANELS ---------- */
.tab-panel { display: none; padding-bottom: 80px; }
.tab-panel.active { display: block; }

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ---------- SERVICE DETAIL ---------- */
.service-detail p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.service-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.service-list-item:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.sli-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }

.service-list-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.service-list-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---------- FEATURE CARDS ---------- */
.service-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sfc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  transition: var(--transition);
}

.sfc:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.sfc-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }

.sfc h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.sfc p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---------- PRICING CARDS ---------- */
.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.featured-pricing {
  background: rgba(79,110,247,0.08);
  border-color: var(--border-light);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
}

.pricing-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.price {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.price span {
  font-size: 0.85rem;
  font-weight: 500;
  -webkit-text-fill-color: var(--text-muted);
  color: var(--text-muted);
}

.pricing-card ul { display: flex; flex-direction: column; gap: 6px; }
.pricing-card li { font-size: 0.83rem; color: var(--text-secondary); }

/* ---------- PROCESS TIMELINE ---------- */
.process-section-services { background: var(--bg-primary); }

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

.tl-num {
  position: absolute;
  left: -52px;
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.tl-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  transition: var(--transition);
  flex: 1;
}

.tl-content:hover { border-color: var(--border-light); transform: translateX(4px); }

.tl-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tl-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA Reuse */
.cta-section { background: var(--bg-secondary); padding: 100px 0; }
.cta-inner {
  background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(6,200,240,0.06));
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-blob {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,110,247,0.2), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin: 16px 0; }
.cta-inner p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .tab-content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .tabs-nav { flex-direction: column; }
  .tab-btn { flex: none; text-align: left; }
  .service-feature-cards { grid-template-columns: 1fr; }
  .cta-inner { padding: 48px 24px; }
  .timeline { padding-left: 40px; }
  .tl-num { left: -44px; width: 36px; height: 36px; }
}
