/* ═══════════════════════════════════════════════════════════════════
   services.css — Premium Light Design for Avishkar Studio Service Pages
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Root Design Tokens ───────────────────────────────────────── */
:root {
  --svc-bg:           #F8F9FA;
  --svc-bg-card:      rgba(255, 255, 255, 0.95);
  --svc-bg-card-h:    rgba(59, 130, 246, 0.05);
  --svc-border:       #E5E7EB;
  --svc-border-h:     #3B82F6;
  --svc-text:         #1F2937;
  --svc-text-muted:   #6B7280;
  --svc-primary:      #1E3A8A;
  --svc-primary-mid:  #2a52c9;
  --svc-primary-light: #3B82F6;
  --svc-primary-glow: rgba(30, 58, 138, 0.15);
  --svc-accent:       #F59E0B;
  --svc-accent-dark:  #D97706;
  --svc-accent-glow:  rgba(245, 158, 11, 0.15);
  --svc-gradient:     linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  --svc-gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --svc-font-body:    'Inter', sans-serif;
  --svc-font-display: 'Outfit', sans-serif;
  --svc-radius:       18px;
  --svc-radius-sm:    10px;
  --svc-shadow:       0 8px 32px rgba(0, 0, 0, 0.08);
  --svc-shadow-h:     0 20px 60px rgba(0, 0, 0, 0.12);
  --svc-footer-bg:    #111827;
  --svc-footer-text:  #9CA3AF;
}

/* ── 2. Base Reset ───────────────────────────────────────────────── */
body.studio-page {
  background: var(--svc-bg);
  color: var(--svc-text);
  font-family: var(--svc-font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Override portfolio.min.css vars for service pages */
body.studio-page {
  --bg: var(--svc-bg);
  --bg-card: var(--svc-bg-card);
  --border: var(--svc-border);
  --text: var(--svc-text);
  --text-muted: var(--svc-text-muted);
  --primary: var(--svc-primary);
}

/* ── 3. Skip Link ────────────────────────────────────────────────── */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 99999;
  background: var(--svc-primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
}
.skip-to-main:focus { left: 16px; }

/* ══════════════════════════════════════════════════════════════════
   4. HERO SECTION
══════════════════════════════════════════════════════════════════ */
.pg-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
    var(--svc-bg);
}

/* Animated background orbs */
.pg-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: heroFloat 8s ease-in-out infinite;
}
.pg-hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  animation-delay: 0s;
}
.pg-hero-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  animation-delay: -4s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.pg-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.pg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--svc-text-muted);
}
.pg-breadcrumb a {
  color: var(--svc-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.pg-breadcrumb a:hover { color: var(--svc-primary); }
.pg-breadcrumb .bi   { font-size: 0.7rem; opacity: 0.55; }
.pg-breadcrumb span  { color: var(--svc-primary); font-weight: 600; }

/* ── Hero Badge ──────────────────────────────────────────────────── */
.pg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.2);
  color: var(--svc-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

/* ── Hero Title ──────────────────────────────────────────────────── */
.pg-hero-title {
  font-family: var(--svc-font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--svc-text);
  margin: 0 0 20px;
}
.pg-hero-title .accent {
  background: var(--svc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero Subtitle ───────────────────────────────────────────────── */
.pg-hero-sub {
  font-size: 1.05rem;
  color: var(--svc-text-muted);
  max-width: 680px;
  line-height: 1.8;
  margin: 0;
}

/* ── Hero CTA Buttons ────────────────────────────────────────────── */
.pg-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.pg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--svc-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
}
.pg-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30, 58, 138, 0.3);
  color: #fff;
}
.pg-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--svc-border);
  color: var(--svc-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.pg-btn-outline:hover {
  background: #fff;
  border-color: var(--svc-primary);
  color: var(--svc-primary);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════
   5. SECTION COMMON
══════════════════════════════════════════════════════════════════ */
.svc-section {
  padding: 80px 0;
}
.svc-section-sm {
  padding: 60px 0;
}

/* ── Section Label + Title ───────────────────────────────────────── */
.svc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc-primary);
  margin-bottom: 14px;
}
.svc-title {
  font-family: var(--svc-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--svc-text);
  margin: 0 0 16px;
}
.svc-subtitle {
  font-size: 1.05rem;
  color: var(--svc-text-muted);
  max-width: 680px;
  line-height: 1.8;
  margin: 0 0 48px;
}

/* ── Container ───────────────────────────────────────────────────── */
.svc-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════════════════════════
   6. SERVICE CARDS GRID
══════════════════════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.svc-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Glass Card ──────────────────────────────────────────────────── */
.svc-card {
  background: var(--svc-bg-card);
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--svc-radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.svc-card:hover {
  background: var(--svc-bg-card-h);
  border-color: var(--svc-border-h);
  transform: translateY(-6px);
  box-shadow: var(--svc-shadow-h), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* ── Card Icon ───────────────────────────────────────────────────── */
.svc-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--svc-primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.svc-card:hover .svc-card-icon {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(59, 130, 246, 0.12));
  transform: scale(1.08) rotate(-4deg);
}

/* ── Card Content ────────────────────────────────────────────────── */
.svc-card-title {
  font-family: var(--svc-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--svc-text);
  margin: 0 0 10px;
}
.svc-card-desc {
  font-size: 0.92rem;
  color: var(--svc-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Linked Card (Related Services) ─────────────────────────────── */
a.svc-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--svc-primary);
  transition: gap 0.2s;
}
a.svc-card:hover .svc-card-link { gap: 10px; }

/* ══════════════════════════════════════════════════════════════════
   7. PROCESS STEPS
══════════════════════════════════════════════════════════════════ */
.svc-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.svc-step {
  background: var(--svc-bg-card);
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  overflow: hidden;
}
.svc-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--svc-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-step:hover { border-color: rgba(30, 58, 138, 0.2); transform: translateY(-4px); }
.svc-step:hover::after { transform: scaleX(1); }

.svc-step-num {
  font-family: var(--svc-font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--svc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.svc-step-icon {
  width: 52px;
  height: 52px;
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--svc-primary);
  margin: 0 auto 16px;
  transition: transform 0.3s;
}
.svc-step:hover .svc-step-icon { transform: rotate(-8deg) scale(1.1); }
.svc-step-title {
  font-weight: 700;
  color: var(--svc-text);
  font-size: 1rem;
  margin: 0 0 8px;
}
.svc-step-desc {
  font-size: 0.88rem;
  color: var(--svc-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   8. TECH STACK / TAGS
══════════════════════════════════════════════════════════════════ */
.svc-tech-section {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid var(--svc-border);
  border-radius: 24px;
  padding: 56px 48px;
  margin: 0 auto;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.05);
  border: 1px solid var(--svc-border);
  color: var(--svc-text);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s ease;
}
.svc-tag:hover {
  background: rgba(30, 58, 138, 0.1);
  border-color: rgba(30, 58, 138, 0.3);
  color: var(--svc-primary);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════
   9. FAQ ACCORDION
══════════════════════════════════════════════════════════════════ */
.svc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  max-width: 800px;
}

.svc-faq-item {
  background: var(--svc-bg-card);
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.3s;
}
.svc-faq-item[open],
.svc-faq-item:hover { border-color: rgba(30, 58, 138, 0.2); }

.svc-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--svc-text);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  transition: color 0.2s;
}
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item[open] summary { color: var(--svc-primary); }

.svc-faq-item summary .svc-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--svc-primary);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.svc-faq-item[open] summary .svc-faq-icon {
  transform: rotate(180deg);
  background: rgba(30, 58, 138, 0.15);
}
.svc-faq-answer {
  padding: 0 28px 22px;
  color: var(--svc-text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════════════════════════
   10. CTA SECTION
══════════════════════════════════════════════════════════════════ */
.svc-cta {
  position: relative;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0E7FF 50%, #F3E8FF 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
  margin: 80px 0;
}
.svc-cta::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.svc-cta::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.svc-cta-title {
  font-family: var(--svc-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--svc-text);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.svc-cta-sub {
  font-size: 1rem;
  color: var(--svc-text-muted);
  margin: 0 0 36px;
  position: relative;
  z-index: 1;
}
.svc-cta .pg-btn-primary { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════════
   11. DIVIDER / SEPARATORS
══════════════════════════════════════════════════════════════════ */
.svc-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--svc-border), transparent);
  margin: 0;
}

/* Alternating sections subtle tint */
.svc-section-tint {
  background: rgba(59, 130, 246, 0.02);
}

/* ══════════════════════════════════════════════════════════════════
   12. STATS / HIGHLIGHT ROW
══════════════════════════════════════════════════════════════════ */
.svc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--svc-border);
  border-radius: 20px;
  overflow: hidden;
  margin: 60px 0;
}
.svc-stat {
  background: var(--svc-bg-card);
  padding: 32px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}
.svc-stat:hover { background: var(--svc-bg-card-h); }
.svc-stat-num {
  font-family: var(--svc-font-display);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--svc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.svc-stat-label {
  font-size: 0.82rem;
  color: var(--svc-text-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════
   13. RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pg-hero { padding: 120px 0 60px; }
  .svc-section { padding: 60px 0; }
  .svc-tech-section { padding: 36px 24px; }
  .svc-cta { padding: 52px 24px; }
  .svc-grid, .svc-grid-3 { grid-template-columns: 1fr; }
  .svc-process-grid { grid-template-columns: 1fr 1fr; }
  .svc-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .svc-process-grid { grid-template-columns: 1fr; }
  .svc-stats { grid-template-columns: 1fr 1fr; }
  .pg-hero-title { font-size: 1.9rem; }
}

/* ══════════════════════════════════════════════════════════════════
   14. ANIMATIONS & TRANSITIONS
══════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.svc-animate {
  opacity: 0;
  animation: fadeInUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.svc-animate-d1 { animation-delay: 0.1s; }
.svc-animate-d2 { animation-delay: 0.2s; }
.svc-animate-d3 { animation-delay: 0.3s; }
.svc-animate-d4 { animation-delay: 0.4s; }