/* ============================================================
   Kodyfier — Services Pages Enhancement Stylesheet
   Premium components shared across all 4 service pages:
   web-development, mobile-app-development, software-development,
   graphic-design. Built on the existing emerald design system.
   ============================================================ */

/* ─── Shared Section Header ───────────────────────────────── */
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-main-color);
  background: var(--bs-bg-light);
  border: 1px solid rgba(16, 185, 129, 0.18);
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
}

.svc-section-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.18;
  margin-top: 1.6rem;
  font-family: "Montserrat", sans-serif;
  color: var(--bs-heading-color);
}

.svc-section-title span {
  color: var(--bs-main-color);
}

.svc-section-sub {
  font-size: 1.55rem;
  line-height: 1.7;
  color: var(--bs-text-color);
  max-width: 720px;
  margin: 1.6rem auto 0;
}

/* ─── Hero Rating / Social Proof Inline ───────────────────── */
.svc-hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.6rem;
}

.svc-hero-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
}

.svc-hero-stars i {
  color: var(--bs-accent-gold);
  font-size: 1.4rem;
}

.svc-hero-stars span {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bs-heading-color);
}

.svc-hero-stars strong {
  font-weight: 800;
}

/* ─── Trusted-By Logo Strip ───────────────────────────────── */
.svc-logos {
  padding: 4rem 0 1rem;
  background: #ffffff;
}

.svc-logos-label {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 2.6rem;
}

.svc-logos-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 4rem;
}

.svc-logos-track .svc-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #475569;
  opacity: 0.78;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.svc-logos-track .svc-logo-pill i {
  font-size: 2.4rem;
}

.svc-logos-track .svc-logo-pill:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ─── Deliverables / "What You Get" Grid ──────────────────── */
.svc-deliver-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  padding: 3rem 2.6rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.svc-deliver-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-main-color), #34d399);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.svc-deliver-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

.svc-deliver-card:hover::before {
  transform: scaleX(1);
}

.svc-deliver-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--bs-main-color);
  background: var(--bs-bg-light);
  border: 1px solid rgba(16, 185, 129, 0.16);
  margin-bottom: 2rem;
}

.svc-deliver-card h4 {
  font-size: 1.9rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: var(--bs-heading-color);
}

.svc-deliver-card p {
  font-size: 1.4rem;
  line-height: 1.65;
  color: var(--bs-text-color);
  margin-bottom: 0;
}

/* ─── Results / Guarantee Band ────────────────────────────── */
.svc-guarantee {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #052e21 100%);
  border-radius: 26px;
  padding: 5rem 4rem;
  overflow: hidden;
}

.svc-guarantee::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 65%);
  pointer-events: none;
}

.svc-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 1.6rem;
}

.svc-guarantee h3 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  line-height: 1.25;
  margin-bottom: 1.4rem;
}

.svc-guarantee p {
  font-size: 1.55rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 0;
  max-width: 560px;
}

.svc-guarantee-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.4rem;
}

.svc-guarantee-points li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 1.5rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.svc-guarantee-points li i {
  color: #34d399;
  font-size: 1.7rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ─── Comparison Table ────────────────────────────────────── */
.svc-compare {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.svc-compare-table {
  width: 100%;
  border-collapse: collapse;
}

.svc-compare-table th,
.svc-compare-table td {
  padding: 2rem 2.2rem;
  text-align: left;
  font-size: 1.45rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
}

.svc-compare-table thead th {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bs-heading-color);
  background: #f8fafc;
}

.svc-compare-table thead th.svc-compare-us {
  background: linear-gradient(135deg, var(--bs-main-color), #047857);
  color: #ffffff;
}

.svc-compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--bs-heading-color);
}

.svc-compare-table td.svc-compare-us {
  background: rgba(16, 185, 129, 0.05);
  font-weight: 600;
  color: var(--bs-heading-color);
}

.svc-compare-table .svc-yes {
  color: var(--bs-main-color);
  font-weight: 700;
}

.svc-compare-table .svc-no {
  color: #ef4444;
}

.svc-compare-table .svc-mid {
  color: #f59e0b;
}

.svc-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.svc-compare-table td i,
.svc-compare-table th i {
  margin-right: 0.5rem;
}

/* ─── Testimonials ────────────────────────────────────────── */
.svc-testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  padding: 3rem 2.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.svc-testimonial-stars {
  color: var(--bs-accent-gold);
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
}

.svc-testimonial-quote {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #334155;
  font-style: italic;
  margin-bottom: 2.4rem;
  flex-grow: 1;
}

.svc-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.svc-testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bs-main-color), #047857);
  flex-shrink: 0;
}

.svc-testimonial-meta strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-heading-color);
  font-family: "Montserrat", sans-serif;
}

.svc-testimonial-meta span {
  font-size: 1.3rem;
  color: #64748b;
}

/* ─── Why Kodyfier Section ────────────────────────────────── */
.svc-why {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, var(--bs-bg-light) 100%);
  overflow: hidden;
}

.svc-why::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 65%);
  pointer-events: none;
}

.svc-why-lead {
  font-size: 1.55rem;
  line-height: 1.7;
  color: var(--bs-text-color);
  margin: 1.8rem 0 2.8rem;
}

/* Feature rows with gradient icon tiles */
.svc-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.6rem;
}

.svc-why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.svc-why-item:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.22);
}

.svc-why-ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bs-main-color), #047857);
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.28);
}

.svc-why-item h4 {
  font-size: 1.65rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--bs-heading-color);
  margin: 0 0 0.5rem;
}

.svc-why-item p {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--bs-text-color);
  margin: 0;
}

/* Elevated tech-stack panel */
.svc-stack-card {
  position: relative;
  background: linear-gradient(160deg, #0f172a 0%, #082b21 100%);
  border-radius: 22px;
  padding: 3.5rem 3rem;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.svc-stack-card::before {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 65%);
  pointer-events: none;
}

.svc-stack-card .svc-stack-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.svc-stack-card .svc-stack-head i {
  font-size: 2rem;
  color: #34d399;
}

.svc-stack-card .svc-stack-head h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

.svc-stack-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.svc-stack-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.svc-stack-pill:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-3px);
}

.svc-stack-pill i {
  font-size: 1.8rem;
}

.svc-stack-note {
  position: relative;
  font-size: 1.35rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 2.6rem 0 0;
}

.svc-stack-note a {
  color: #6ee7b7;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 575px) {
  .svc-stack-grid { grid-template-columns: 1fr; }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .svc-section-title { font-size: 2.8rem; }
  .svc-guarantee { padding: 4rem 2.4rem; }
  .svc-guarantee h3 { font-size: 2.4rem; }
  .svc-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .svc-compare-table { min-width: 640px; }
}

@media (max-width: 575px) {
  .svc-section-title { font-size: 2.4rem; }
  .svc-logos-track { gap: 1.6rem 2.6rem; }
  .svc-logos-track .svc-logo-pill { font-size: 1.45rem; }
  .svc-logos-track .svc-logo-pill i { font-size: 2rem; }
}
