/* ==========================================================================
   Bridge Group Solutions - Web Development Dedicated Stylesheet
   assets/services-web.css
   Matches index.html modern light design system
   ========================================================================== */

/* ── Smooth Scrolling & Layout Resets ── */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Marquee Continuous Animation ── */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* ── Card Lift Physics ── */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* ── Syntax Highlighting Window for Code Showcase ── */
.code-window {
  background: #0f172a;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.code-header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-content {
  padding: 1.25rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #e2e8f0;
  overflow-x: auto;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-func { color: #38bdf8; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }
.code-num { color: #fbbf24; }

/* ── FAQ Accordion Transitions ── */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
