/* ============================================================
   Diamond TechSoft — Services Page Styles
   File: assets/css/services.css
   ============================================================ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { padding: 9px 22px; border: 1px solid var(--border); border-radius: 100px; background: none; color: var(--text-muted); font-size: .82rem; font-weight: 500; cursor: pointer; transition: all .25s; font-family: var(--font-body); }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--blue-dark); font-weight: 700; }

.services-grid-section { padding: 80px 0; }
.srv-card { background: var(--blue-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; height: 100%; transition: all .35s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.srv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--accent),var(--accent2)); transform: scaleX(0); transition: transform .35s; transform-origin: left; }
.srv-card:hover { border-color: rgba(0,212,255,.3); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.srv-card:hover::before { transform: scaleX(1); }
.srv-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 24px; flex-shrink: 0; }
.srv-card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin-bottom: 14px; }
.srv-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.75; flex-grow: 1; }
.srv-features { list-style: none; padding: 0; margin: 20px 0 24px; }
.srv-features li { font-size: .82rem; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); display: flex; align-items: center; gap: 8px; }
.srv-features li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: .75rem; min-width: 16px; }
.srv-features li:last-child { border-bottom: none; }
.srv-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .82rem; font-weight: 600; text-decoration: none; transition: gap .2s; margin-top: auto; }
.srv-link:hover { gap: 12px; }
.srv-badge { position: absolute; top: 20px; right: 20px; font-size: .65rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; }
.badge-popular { background: rgba(245,197,66,.15); color: var(--accent-gold); border: 1px solid rgba(245,197,66,.3); }
.badge-new { background: rgba(0,212,255,.1); color: var(--accent); border: 1px solid rgba(0,212,255,.25); }
.srv-num { position: absolute; bottom: 20px; right: 24px; font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.03); line-height: 1; }

.process-strip { padding: 80px 0; background: linear-gradient(180deg,transparent,rgba(123,92,240,.04),transparent); }
.p-step { text-align: center; position: relative; }
.p-step::after { content: '→'; position: absolute; right: -20px; top: 24px; color: var(--border); font-size: 1.2rem; }
.p-step:last-child::after { display: none; }
.p-step-num { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--border); background: var(--blue-card); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: .9rem; font-weight: 800; color: var(--accent); margin: 0 auto 14px; }
.p-step h5 { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
.p-step p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

.tech-strip { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 10px; font-size: .82rem; color: var(--text-muted); font-weight: 500; transition: all .3s; background: var(--blue-card); }
.tech-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }


/* ============================================================
   RESPONSIVE — services.css
   ============================================================ */

/* ── Tablet (≤ 991px) ─────────────────────────────────────── */
@media (max-width: 991px) {
  .services-grid-section { padding: 60px 0; }
  .process-strip { padding: 60px 0; }
  .tech-strip { padding: 40px 0; }
  .srv-card { padding: 28px; }
}

/* ── Mobile (≤ 767px) ─────────────────────────────────────── */
@media (max-width: 767px) {

  /* Filter bar → horizontal scroll */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 32px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; padding: 8px 16px; font-size: .78rem; }

  /* Service cards */
  .srv-card { padding: 22px; }
  .srv-card h3 { font-size: 1.05rem; }
  .srv-icon { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 16px; }

  /* Process strip — 2 per row */
  .p-step::after { display: none; }
  .p-step { margin-bottom: 28px; }
  .p-step-num { width: 46px; height: 46px; font-size: .8rem; }
  .p-step h5 { font-size: .82rem; }
  .p-step p { font-size: .75rem; }

  /* Tech chips */
  .tech-strip .d-flex { flex-wrap: wrap; gap: 8px; }
  .tech-chip { padding: 8px 14px; font-size: .78rem; }
}

/* ── Small Mobile (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {
  .srv-features li { font-size: .78rem; }
  .srv-card { padding: 18px; }
}
