/**
 * Siksha Connects — Services (premium, PDF-aligned, alternating sections).
 */

.sc-svc-page {
  --sc-navy: #071c4d;
  --sc-navy-mid: #0b245f;
  --sc-teal: #16d5c0;
  --sc-teal-dim: #12b8c8;
  --sc-text: #0f172a;
  --sc-muted: #475569;
  --sc-radius: 18px;
  --sc-radius-sm: 12px;
  --sc-shadow: 0 8px 32px rgba(7, 28, 77, 0.07);
  --sc-shadow-lift: 0 20px 48px rgba(7, 28, 77, 0.11);
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  color: var(--sc-text);
  background: #eef7f8;
}

body.sc-page-services-premium .main-banner,
body.sc-page-services-premium .blog.section-padding .sidebar {
  display: none !important;
}

.sc-svc-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Scroll reveal */
.sc-svc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-svc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid children slightly */
.sc-svc-service-grid .sc-svc-reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.sc-svc-service-grid .sc-svc-reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.sc-svc-service-grid .sc-svc-reveal:nth-child(3) {
  transition-delay: 0.15s;
}
.sc-svc-service-grid .sc-svc-reveal:nth-child(4) {
  transition-delay: 0.08s;
}
.sc-svc-service-grid .sc-svc-reveal:nth-child(5) {
  transition-delay: 0.12s;
}

/* —— Main: What we offer / Our Services —— */
.sc-svc-offer--hero {
  padding: 36px 0 44px;
  background: linear-gradient(180deg, #f4fafb 0%, #eef7f8 45%, #e8f4f6 100%);
  border-bottom: 1px solid rgba(7, 28, 77, 0.06);
}

.sc-svc-offer-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.sc-svc-offer-head__kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sc-teal-dim);
}

.sc-svc-offer-head__title {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--sc-navy);
}

.sc-svc-offer-head__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sc-teal), var(--sc-teal-dim));
  box-shadow: 0 2px 12px rgba(22, 213, 192, 0.35);
}

.sc-svc-offer-head__sub {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--sc-muted);
}

/* Service cards: 3 + 2 centered (6-col grid) */
.sc-svc-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.sc-svc-card {
  grid-column: span 2;
  background: linear-gradient(165deg, #ffffff 0%, #f6fcfd 55%, #f0f9fb 100%);
  border-radius: var(--sc-radius);
  border: 1px solid rgba(7, 28, 77, 0.07);
  box-shadow: var(--sc-shadow);
  padding: 22px 22px 24px;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
}

.sc-svc-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.sc-svc-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.sc-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 213, 192, 0.35);
  box-shadow:
    var(--sc-shadow-lift),
    0 0 0 1px rgba(22, 213, 192, 0.12),
    0 0 28px rgba(22, 213, 192, 0.08);
}

.sc-svc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(22, 213, 192, 0.22) 0%, rgba(7, 28, 77, 0.06) 100%);
  border: 1px solid rgba(22, 213, 192, 0.28);
  box-shadow: 0 4px 16px rgba(22, 213, 192, 0.12);
  position: relative;
}

.sc-svc-card__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  opacity: 0.88;
}

.sc-svc-card__icon--compass::after {
  border: 2px solid var(--sc-navy-mid);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-45deg);
  width: 18px;
  height: 18px;
  top: 2px;
}

.sc-svc-card__icon--layers::after {
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sc-teal-dim) 0%, var(--sc-teal-dim) 40%, transparent 40%),
    linear-gradient(180deg, transparent 0%, transparent 50%, var(--sc-navy-mid) 50%, var(--sc-navy-mid) 90%, transparent 90%);
  background-size: 100% 100%;
  transform: scale(0.85);
}

.sc-svc-card__icon--globe::after {
  border: 2px solid var(--sc-navy-mid);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(22, 213, 192, 0.35);
}

.sc-svc-card__icon--grid::after {
  width: 20px;
  height: 20px;
  background: linear-gradient(var(--sc-navy-mid) 2px, transparent 2px) 0 0 / 8px 8px repeat,
    linear-gradient(90deg, var(--sc-navy-mid) 2px, transparent 2px) 0 0 / 8px 8px repeat;
  opacity: 0.72;
}

.sc-svc-card__icon--doc::after {
  width: 16px;
  height: 20px;
  border: 2px solid var(--sc-navy-mid);
  border-radius: 3px;
  border-top-width: 6px;
  border-top-color: var(--sc-teal-dim);
}

.sc-svc-card__title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sc-navy);
  line-height: 1.3;
}

.sc-svc-card__lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--sc-muted);
}

.sc-svc-card__includes-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sc-navy-mid);
}

.sc-svc-card__includes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-svc-card__includes li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--sc-text);
}

.sc-svc-card__includes li:last-child {
  margin-bottom: 0;
}

.sc-svc-card__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-teal), var(--sc-teal-dim));
}

/* —— What's included —— */
.sc-svc-included {
  padding: 40px 0 44px;
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 28, 77, 0.06);
}

.sc-svc-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.sc-svc-section-head__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sc-navy);
}

.sc-svc-section-head__sub {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--sc-muted);
}

.sc-svc-included__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sc-svc-deliverable {
  position: relative;
  background: linear-gradient(180deg, #fbfdfe 0%, #ffffff 40%, #f5fbfc 100%);
  border-radius: var(--sc-radius);
  border: 1px solid rgba(7, 28, 77, 0.08);
  box-shadow: 0 12px 40px rgba(7, 28, 77, 0.08);
  padding: 20px 20px 22px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sc-svc-deliverable:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(7, 28, 77, 0.1);
}

.sc-svc-deliverable__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sc-teal), var(--sc-teal-dim));
  opacity: 0.95;
}

.sc-svc-deliverable__title {
  margin: 6px 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--sc-navy);
  letter-spacing: -0.02em;
}

.sc-svc-deliverable__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-svc-deliverable__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--sc-muted);
}

.sc-svc-deliverable__list li:last-child {
  margin-bottom: 0;
}

.sc-svc-deliverable__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 213, 192, 0.15);
  color: var(--sc-navy-mid);
  margin-top: 1px;
}

.sc-svc-deliverable__check svg {
  display: block;
}

/* —— How we work —— */
.sc-svc-process {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, #e8f6f7 0%, #eef9fa 50%, #f2fbfc 100%);
  border-bottom: 1px solid rgba(7, 28, 77, 0.05);
}

.sc-svc-section-head--process {
  margin-bottom: 36px;
}

.sc-svc-timeline {
  position: relative;
  padding-top: 8px;
}

.sc-svc-timeline__track {
  position: absolute;
  top: 36px;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    rgba(22, 213, 192, 0.25),
    rgba(7, 28, 77, 0.12) 50%,
    rgba(22, 213, 192, 0.25)
  );
  z-index: 0;
}

.sc-svc-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sc-svc-step {
  background: #fff;
  border-radius: var(--sc-radius);
  border: 1px solid rgba(7, 28, 77, 0.08);
  box-shadow: 0 10px 36px rgba(7, 28, 77, 0.07);
  padding: 20px 16px 22px;
  text-align: center;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.sc-svc-step:hover {
  border-color: rgba(22, 213, 192, 0.45);
  box-shadow:
    0 16px 44px rgba(7, 28, 77, 0.09),
    0 0 0 1px rgba(22, 213, 192, 0.15),
    0 0 32px rgba(22, 213, 192, 0.12);
  transform: translateY(-4px);
}

.sc-svc-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--sc-navy-mid), var(--sc-teal-dim));
  box-shadow: 0 6px 20px rgba(7, 28, 77, 0.15);
}

.sc-svc-step__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sc-navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sc-svc-step__desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--sc-muted);
}

/* —— CTA —— */
.sc-svc-cta {
  padding: 28px 0 52px;
  background: linear-gradient(180deg, #f4fafb 0%, #eef7f8 100%);
}

.sc-svc-cta__card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 28px 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, #071c4d 0%, #0b245f 42%, #0d4a5c 78%, #12b8c8 120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 56px rgba(7, 28, 77, 0.2);
}

.sc-svc-cta__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.25;
}

.sc-svc-cta__sub {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.sc-svc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sc-svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--sc-radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.sc-svc-btn--light {
  color: var(--sc-navy);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.sc-svc-btn--light:hover {
  color: var(--sc-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(22, 213, 192, 0.35);
}

.sc-svc-btn--outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.sc-svc-btn--outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .sc-svc-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-svc-card,
  .sc-svc-card:nth-child(4),
  .sc-svc-card:nth-child(5) {
    grid-column: auto;
  }

  .sc-svc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-svc-timeline__track {
    display: none;
  }
}

@media (max-width: 720px) {
  .sc-svc-included__row {
    grid-template-columns: 1fr;
  }

  .sc-svc-offer--hero {
    padding: 28px 0 36px;
  }

  .sc-svc-offer-head {
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .sc-svc-service-grid {
    grid-template-columns: 1fr;
  }

  .sc-svc-steps {
    grid-template-columns: 1fr;
  }

  .sc-svc-cta__card {
    padding: 26px 20px 30px;
  }
}
