/* =====================================================================
   CODESENZE – Service Listing Page Extension
   Extends: assets/css/about-modern.css
   ===================================================================== */

/* Service Grid Layout */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Service Card Styling */
.sv-card {
  padding: 38px 32px;
  border-radius: var(--ab-r);
  background: #fff;
  border: 1px solid var(--ab-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.sv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 97, 153, 0.4);
  box-shadow: 0 16px 36px -12px rgba(11, 27, 46, 0.08);
}

.sv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sv-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--ab-blue), #1f7bff);
  transition: transform 0.35s ease, background 0.35s ease;
}

.sv-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sv-card:hover .sv-icon {
  background: linear-gradient(135deg, var(--ab-violet), #1f7bff);
  transform: rotate(-5deg) scale(1.05);
}

.sv-no {
  font-size: 28px;
  font-weight: 700;
  color: rgba(11, 27, 46, 0.2);
  line-height: 1;
}

.sv-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ab-ink);
}

.sv-card p {
  font-size: 15px;
  color: var(--ab-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Bullet list inside cards */
.sv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sv-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ab-ink);
}

.sv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ab-blue);
}

/* Action Link */
.sv-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ab-blue);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sv-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.sv-link:hover {
  color: var(--ab-navy);
}

.sv-link:hover svg {
  transform: translateX(5px);
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .sv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .sv-grid {
    grid-template-columns: 1fr;
  }
}