/* =============================================
   /css/engagements.css — Client Success Stories & Engagement Section
   Matches: managed-services.css styling patterns
   ============================================= */

/* ============================= */
/* ENGAGEMENT CARDS SECTION      */
/* ============================= */

.engagements-page {
  background: #ffffff;
  padding: 60px 0;
}

/* Section Header */
.engagement-section-header {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 90px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;

  color: #0f1c3f;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Grid Layout */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

/* Cards */
.engagement-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 2px 8px rgba(15, 28, 63, 0.06);
}

.engagement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(15, 28, 63, 0.12);
  border-color: #f19839;
}

/* Card Badge */
.card-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0d3b88, #0f1c3f);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

/* Card Title */
.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 18px;
  line-height: 1.3;
}

/* Engagement Blocks */
.engagement-block {
  margin-bottom: 18px;
}

.engagement-block:last-child {
  margin-bottom: 0;
  margin-top: auto;
}

.block-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f1c3f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-icon {
  font-size: 1.1rem;
}

.engagement-block p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Solution Lists */
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-list li {
  font-size: 0.92rem;
  color: #475569;
  padding-left: 18px;
  margin-bottom: 7px;
  position: relative;
  line-height: 1.5;
}

.solution-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f19839;
  font-weight: bold;
}

/* Result Block (Highlighted) */
.result-block {
  background: linear-gradient(
    135deg,
    rgba(241, 152, 57, 0.06),
    rgba(13, 59, 136, 0.04)
  );
  border-left: 4px solid #f19839;
  padding: 14px 16px;
  border-radius: 8px;
  margin: 0 -4px;
}

.result-block .block-label {
  color: #0d3b88;
  margin-bottom: 10px;
}

/* Result Lists */
.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-list li {
  font-size: 0.92rem;
  color: #1e293b;
  padding-left: 18px;
  margin-bottom: 7px;
  position: relative;
  line-height: 1.5;
  font-weight: 500;
}

.result-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d3b88;
  font-weight: bold;
}

/* ============================= */
/* PROCESS SECTION              */
/* ============================= */

.process-section {
  margin-top: 80px;
  padding: 60px 0;
}

.process-header {
  text-align: center;
  margin-bottom: 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Process Steps */
.process-step {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.process-step:hover {
  border-color: #f19839;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(15, 28, 63, 0.12);
}

/* Step Number */
.step-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f19839, #f58220);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}

/* Step Title */
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Step Description */
.step-description {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ============================= */
/* CTA SECTION (matching managed-cta) */
/* ============================= */

.cta-engagement {
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  color: #ffffff;
  text-align: center;
  padding: 90px 20px;
  margin-top: 80px;
  border-radius: 0;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: #cbd5f5;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* CTA Button - Uses Bootstrap classes */
.cta-engagement .btn {
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-engagement .btn:hover {
  background: #f58220;
  border-color: #f58220;
  color: #fff;
}

/* ============================= */
/* RESPONSIVE DESIGN            */
/* ============================= */

/* Tablet (1200px and below) */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.2rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .step-number {
    font-size: 2.4rem;
  }

  .cta-title {
    font-size: 1.85rem;
  }
}

/* Medium (992px and below) */
@media (max-width: 992px) {
  .engagement-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 1.7rem;
  }
}

/* Small Tablet (768px and below) */
@media (max-width: 768px) {
  .engagements-page {
    padding: 50px 0;
  }

  .engagement-section-header {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }

  .engagement-card {
    padding: 22px;
  }

  .card-title {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }

  .engagement-block {
    margin-bottom: 14px;
  }

  .block-label {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .engagement-block p {
    font-size: 0.9rem;
  }

  .solution-list li,
  .result-list li {
    font-size: 0.88rem;
    margin-bottom: 6px;
  }

  .process-section {
    margin-top: 60px;
    padding: 50px 0;
  }

  .process-header {
    margin-bottom: 40px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-step {
    padding: 24px 20px;
    min-height: auto;
  }

  .step-number {
    font-size: 2rem;
  }

  .step-title {
    font-size: 1.05rem;
  }

  .step-description {
    font-size: 0.85rem;
  }

  .cta-engagement {
    padding: 70px 20px;
    margin-top: 60px;
  }

  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .cta-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .cta-engagement .btn {
    padding: 10px 28px;
    font-size: 0.9rem;
  }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
  .engagements-page {
    padding: 40px 0;
  }

  .engagement-section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .engagement-grid {
    gap: 20px;
    margin-bottom: 40px;
  }

  .engagement-card {
    padding: 18px;
  }

  .card-badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
  }

  .card-title {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  .engagement-block {
    margin-bottom: 12px;
  }

  .block-label {
    font-size: 0.75rem;
  }

  .engagement-block p {
    font-size: 0.88rem;
  }

  .solution-list li,
  .result-list li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    padding-left: 16px;
  }

  .result-block {
    padding: 12px 14px;
  }

  .process-section {
    margin-top: 50px;
    padding: 40px 0;
  }

  .process-grid {
    gap: 16px;
  }

  .process-step {
    padding: 20px 16px;
    min-height: 220px;
  }

  .step-number {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .step-title {
    font-size: 0.95rem;
  }

  .step-description {
    font-size: 0.8rem;
  }

  .cta-engagement {
    padding: 60px 16px;
    margin-top: 50px;
  }

  .cta-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .cta-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .cta-engagement .btn {
    padding: 9px 24px;
    font-size: 0.85rem;
  }
}
