/* =========================================
   SERVICES PAGE — page-specific styles
   ========================================= */

/* Hero */
/* .sv-hero {
  background: linear-gradient(135deg, #111827, #1f2937);
  padding: 80px 0 50px;
}
.sv-hero .input-group .form-control { border-left: 0; }
.sv-hero .input-group .input-group-text {
  border-right: 0; border-color: #e5e7eb;
} */
 /* Hero (with background image + subtle overlay) */
.sv-hero {
  position: relative;
  background: url('../images/bg1.jpeg') center center / cover no-repeat; /* 👈 provide this image */
  padding: 80px 0 50px;
  color: #fff;
}
.sv-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35));
  pointer-events: none;
}
.sv-hero .container { position: relative; z-index: 1; }

.sv-hero .input-group .form-control { border-left: 0; }
.sv-hero .input-group .input-group-text {
  border-right: 0; border-color: #e5e7eb;
}

/* Filter pills */
.sv-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill {
  background: #f2f4f8; border: 1px solid #e5e7eb; color: #111;
  padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
.pill.active { background: #eef2ff; border-color: #c7d2fe; color: #4f46e5; }

/* Consistent section title underline */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}
.section-title::after {
  content: "";
  position: absolute; left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #4f46e5, #3b82f6);
}

/* Service cards (consistent with About) */
.service-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: #f9f9ff; box-shadow: 0 0 12px rgba(99,102,241,0.25);
}
.feature-list { list-style: none; padding: 0; margin: 0 auto; display: inline-block; text-align: left; }
.feature-list li { position: relative; padding-left: 24px; margin-bottom: 8px; color:#444; }
.feature-list li::before { content: "✔"; position: absolute; left:0; color:#6366f1; font-weight: 700; }

/* Process */
.process-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.process-badge {
  width: 36px; height: 36px; border-radius: 50%;
  background: #eef2ff; color:#4f46e5; display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; margin-bottom: 10px;
}

/* Pricing / Engagement */
.pricing-card {
  position: relative;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.pricing-card.popular { border-color: #c7d2fe; box-shadow: 0 10px 28px rgba(79,70,229,0.15); }
.pricing-card .ribbon {
  position: absolute; top: 12px; right: 12px;
  background: #4f46e5; color:#fff; padding: 2px 8px; border-radius: 6px; font-size: .8rem;
}
.pricing-card ul { list-style: none; padding-left: 0; margin: 0 0 16px; }
.pricing-card li { margin-bottom: 8px; }

/* Subtle fade-in utility */
.section-fade { opacity: 0; transform: translateY(24px); }
.section-fade.fade-in { opacity: 1; transform: translateY(0); transition: all .7s ease; }
/* Pills wrap + spacing on small screens */
@media (max-width: 576px) {
  .sv-hero .input-group.input-group-lg { font-size: 1rem; }
  .sv-pills { gap: 6px; }
  .pill { padding: 6px 10px; font-size: 0.9rem; }
}

/* Keep hero content readable on small heights */
@media (max-height: 720px) and (min-width: 768px) {
  .sv-hero { padding: 60px 0 36px; }
}
/* Icon + title scales with viewport */
.service-card .icon-wrap { font-size: clamp(1.8rem, 1.2vw + 1.2rem, 2.4rem); }
.service-card .card-title { font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.25rem); }

/* Lists never overflow narrow cards */
.feature-list { max-width: 260px; }
@media (max-width: 400px) {
  .feature-list { max-width: 100%; }
}
/* Balanced spacing on small screens */
@media (max-width: 575.98px) {
  .pricing-card { padding: 18px; }
  .pricing-card ul li { margin-bottom: 6px; }
}

/* Accordion buttons wrap gracefully */
.accordion-button { white-space: normal; }
