/* ==========================================================================
   DEV IT Solutions — Services Page Stylesheet (services.css)
   Dedicated styles for services.html
   ========================================================================== */

/* ---------- Services Checkerboard Section (Alternating 50/50 Showcase) ---------- */
.services-checkerboard-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  background-color: #f8fafc;
}

.services-checkerboard-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
  padding: 0 var(--sp-4);
}

.services-checkerboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services-checkerboard-badge i {
  color: #d97706;
}

.services-checkerboard-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

/* Brand yellow accent color for 'Services' */
.services-checkerboard-title .services-title-accent {
  color: #e5a50a;
  display: inline-block;
  position: relative;
}

.services-checkerboard-subtitle {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.65;
}

.services-checkerboard-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.checker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 420px;
}

.checker-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.checker-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.75rem);
  background: #ffffff;
}

.checker-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.checker-desc {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.75;
  color: #4b5563;
  max-width: 440px;
  margin: 0 0 1.85rem;
  text-align: center;
}

/* Explore Service Button (Clean rounded card outline style with arrow) */
.checker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.45rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #0a1830;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.checker-btn .checker-btn__arrow {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  display: inline-block;
}

.checker-btn:hover {
  background-color: #fefce8;
  border-color: #e5a50a;
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.25);
}

.checker-btn:hover .checker-btn__arrow {
  transform: translateX(4px);
}

.checker-media {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  min-height: 380px;
}

.checker-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.checker-row:hover .checker-media img {
  transform: scale(1.035);
}

@media (max-width: 900px) {
  .checker-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .checker-row .checker-media {
    order: 1 !important;
    min-height: 280px;
    max-height: 340px;
  }

  .checker-row .checker-content {
    order: 2 !important;
    padding: 2.75rem 1.75rem;
  }
}

/* ---------- 1. Our Services Grid (Alternative Grid Layout) ---------- */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: var(--sp-6);
}

@media (max-width: 991px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10, 24, 48, 0.08);
  border-color: var(--color-yellow);
}

.service-card__media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-navy);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
}

.service-card__btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card__btn {
  color: var(--color-navy);
  gap: 0.7rem;
}

.service-card:hover .service-card__btn i {
  transform: translateX(3px);
  color: var(--color-yellow);
}

/* ---------- 2. Technical Delivery Lifecycle (Compact Horizontal Stepper) ---------- */
.services-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: var(--sp-6);
  position: relative;
}

@media (max-width: 991px) {
  .services-lifecycle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 580px) {
  .services-lifecycle-grid {
    grid-template-columns: 1fr;
  }
}

.services-lifecycle-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.services-lifecycle-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-blue);
  box-shadow: 0 10px 24px rgba(10, 24, 48, 0.06);
}

.services-lifecycle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(22, 90, 158, 0.08);
  border: 1.5px solid rgba(22, 90, 158, 0.2);
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}

.services-lifecycle-card:hover .services-lifecycle-badge {
  background: var(--color-navy);
  color: var(--color-yellow);
  border-color: var(--color-navy);
}

.services-lifecycle-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.services-lifecycle-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

/* Backward compatibility for previous process-grid selectors */
.services-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: var(--sp-6);
}

@media (max-width: 991px) {
  .services-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .services-process-grid {
    grid-template-columns: 1fr;
  }
}

.services-process-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.services-process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 24, 48, 0.06);
  border-color: var(--color-yellow);
}

.services-process-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.services-process-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.services-process-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

/* ---------- 3. Engagement Models Comparison Grid ---------- */
.services-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}

@media (max-width: 991px) {
  .services-models-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }
}

.services-model-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}

.services-model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(10, 24, 48, 0.08);
  border-color: var(--color-blue);
}

.services-model-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(22, 90, 158, 0.08);
  border: 1.5px solid rgba(22, 90, 158, 0.2);
  color: var(--color-blue);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.services-model-card:hover .services-model-card__icon {
  background: var(--color-navy);
  color: var(--color-yellow);
  border-color: var(--color-navy);
  transform: scale(1.05);
}

.services-model-card:hover .services-model-card__icon i,
.services-model-card:hover .services-model-card__icon .icon {
  color: var(--color-yellow) !important;
  stroke: var(--color-yellow) !important;
}

.services-model-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 0.5rem;
}

.services-model-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.services-model-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.services-model-card__features li {
  font-size: 0.85rem;
  color: var(--color-navy);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-model-card__features li i {
  color: #16a34a;
  font-size: 0.8rem;
}

/* ---------- 4. Technology Disciplines Grid ---------- */
.services-disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}

.services-discipline-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.services-discipline-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
}

.services-discipline-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.services-discipline-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-blue-soft);
  border: 1.5px solid rgba(22, 90, 158, 0.2);
  color: var(--color-blue);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.services-discipline-card:hover .services-discipline-card__icon {
  background: var(--color-navy);
  color: var(--color-yellow);
  border-color: var(--color-navy);
}

.services-discipline-card:hover .services-discipline-card__icon i,
.services-discipline-card:hover .services-discipline-card__icon .icon {
  color: var(--color-yellow) !important;
  stroke: var(--color-yellow) !important;
}

.services-discipline-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0;
}

.services-discipline-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.services-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.services-tech-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  background: #f1f5f9;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
}

/* ---------- 5. Merged Trust & Differentiators Strip ---------- */
.services-trust-bar {
  margin-top: 2.75rem;
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(10, 24, 48, 0.12);
}

@media (max-width: 991px) {
  .services-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
  }
}

@media (max-width: 580px) {
  .services-trust-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.services-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.services-trust-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: var(--color-yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.services-trust-item__content {
  display: flex;
  flex-direction: column;
}

.services-trust-item__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.services-trust-item__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  margin: 0;
}

/* ---------- 6. Executive Services Thank You State ---------- */
.services-thank-you-container {
  padding: 1rem 0.5rem;
  text-align: center;
  animation: servicesFadeIn 0.5s ease-out forwards;
}

@keyframes servicesFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-thank-you__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.services-thank-you__badge-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.12), 0 8px 24px rgba(16, 185, 129, 0.18);
  animation: servicesPulseBadge 2.4s infinite ease-in-out;
}

@keyframes servicesPulseBadge {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12), 0 8px 24px rgba(16, 185, 129, 0.15);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(16, 185, 129, 0.22), 0 12px 28px rgba(16, 185, 129, 0.25);
  }
}

.services-thank-you__badge-icon svg {
  width: 36px;
  height: 36px;
}

/* Pill Indicator - Keep inline-flex and scoped */
.services-thank-you__pill {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: rgba(0, 112, 224, 0.08);
  color: #0070E0;
  border: 1px solid rgba(0, 112, 224, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  box-shadow: none !important;
}

.services-thank-you__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.services-thank-you__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--color-navy, #0A1830);
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.02em;
}

.services-thank-you__name {
  text-transform: capitalize;
  color: #0A1830;
}

.services-thank-you__lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
  max-width: 52ch;
  margin: 0 auto 1.75rem auto;
}

.services-highlight-text {
  font-weight: 700;
  color: #0A1830;
}

/* Proposal Summary Card */
.services-summary-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 540px;
  margin: 0 auto 1.5rem auto;
  text-align: left;
  box-shadow: 0 4px 14px rgba(10, 24, 48, 0.03);
}

.services-summary-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
}

.services-summary-card__header i {
  color: #0070E0;
  font-size: 0.95rem;
}

.services-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 540px) {
  .services-summary-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.services-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.services-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}

.services-summary-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  width: fit-content;
}

.services-summary-badge--blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.services-summary-badge--amber {
  background: #FEFCE8;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* SLA Bar */
.services-sla-bar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.services-sla-icon {
  color: #10B981;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.services-sla-content {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

.services-sla-content strong {
  color: #0F172A;
  font-size: 0.86rem;
  margin-bottom: 2px;
}

/* Direct Contact Banner */
.services-direct-contact {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  max-width: 540px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #0369A1;
  text-align: center;
}

.services-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #0070E0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.services-phone-link:hover {
  color: #0A1830;
  transform: translateY(-1px);
}

.services-thank-you__action {
  margin-top: 1rem;
}


