/* ===== Services Page ===== */

/* Active nav link */
.active-link {
  color: #1565C0 !important;
  font-weight: 700;
}

/* ===== Page Hero ===== */
.sp-hero {
  background: linear-gradient(135deg, #1565C0 0%, #0d47a1 100%);
  padding: 5rem 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sp-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.sp-hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.sp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.sp-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #90CAF9;
  margin-bottom: 1rem;
}

.sp-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.sp-hero-title span {
  color: #FDD835;
}

.sp-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.sp-hero-wave {
  line-height: 0;
  position: relative;
  z-index: 1;
}

.sp-hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ===== Services Grid ===== */
.sp-grid-section {
  background: #f5f7fb;
  padding: 4rem 0 5rem;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.sp-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.4rem;
  border: 1px solid #e8edf5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(21,101,192,0.1);
  border-color: #1565C0;
}

.sp-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #e8f0fe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.sp-card-icon svg {
  width: 100%;
  height: 100%;
}

.sp-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.sp-card-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.sp-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sp-features li {
  font-size: 0.82rem;
  color: #444;
  padding-left: 1.2rem;
  position: relative;
}

.sp-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #1565C0;
  border-radius: 50%;
}

/* ===== Stats Bar ===== */
.sp-stats {
  background: #1565C0;
  padding: 3rem 0;
}

.sp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.sp-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.sp-stat:last-child {
  border-right: none;
}

.sp-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FDD835;
  line-height: 1;
}

.sp-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ===== How We Help ===== */
.sp-how {
  background: #fff;
  padding: 5rem 0;
}

.sp-how-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sp-how-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-top: 0.5rem;
}

.sp-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.sp-how-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(to right, #1565C0, #90CAF9, #1565C0);
  z-index: 0;
}

.sp-how-item {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.sp-how-num {
  width: 56px;
  height: 56px;
  background: #1565C0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #1565C0;
}

.sp-how-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.sp-how-item p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.65;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .sp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .sp-stat {
    border-right: none;
  }
  .sp-how-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .sp-how-grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .sp-grid {
    grid-template-columns: 1fr;
  }
  .sp-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sp-how-grid {
    grid-template-columns: 1fr;
  }
  .sp-card {
    flex-direction: column;
  }
}
