/* ============================================
   CONSULTING DETAIL PAGE STYLES
   ============================================ */

/* Use same fonts and base styles from common.css */

/* ============================================
   HERO SECTION
   ============================================ */
.consulting-hero {
  padding: 5.313rem 0 5rem;
  background-color: var(--bg-white);
}

.consulting-hero-content {
  max-width: 800px;
}

.consulting-label {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-light);
  /* Or a specific gray */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.consulting-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #0b1120;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.consulting-hero-title .highlight {
  color: #f05a28;
}

.consulting-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  font-weight: 300;
}

.consulting-hero-box {
  background-color: #f8fafc;
  /* Light gray background */
  border-left: 4px solid #f05a28;
  padding: 1.313rem;
  margin-bottom: 2.5rem;
  border-radius: 0 4px 4px 0;
}

.consulting-hero-box p {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.consulting-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.consulting-hero-actions .btn-primary {
  padding: 14px 28px;
  font-size: 0.875rem;
  border-radius: 3.5px;
  font-weight: 500;
}

.consulting-hero-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background-color: transparent;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 3.5px;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-base);
}

.consulting-hero-actions .btn-outline:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* ============================================
   WHAT THIS ADDRESSES SECTION
   ============================================ */
.addresses-section {
  padding: 4.375rem 0;
  border-top: 1px solid #e5e7eb;
}

.addresses-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .addresses-content {
    flex-direction: column;
    gap: 2rem;
  }
}

.addresses-title-col {
  flex: 0 0 40%;
}

.addresses-text-col {
  flex: 1;
}

.addresses-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0b1120;
  margin-bottom: 1rem;
}

.addresses-title-underline {
  width: 60px;
  height: 4px;
  background-color: #f05a28;
  margin-top: 1rem;
}

.addresses-text-col p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.addresses-text-col p:last-child {
  margin-bottom: 0;
}

.addresses-text-col p strong {
  color: #0b1120;
  font-weight: 700;
}

/* ============================================
   DOMAINS COVERED SECTION
   ============================================ */
.domains-section {
  padding: 4.375rem 0;
  background-color: #f9fafb;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .domains-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.domain-number {
  font-size: 0.75rem;
  color: #f05a28;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.domain-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0b1120;
}

.domain-list {
  list-style: none;
  padding: 0;
}

.domain-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

.domain-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #cbd5e1;
  /* Light gray bullet */
  font-weight: bold;
}

.domain-card hr {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  margin: 0.875rem 0;
}

/* ============================================
   ENGAGEMENT MODEL SECTION
   ============================================ */
.model-section {
  padding: 4.375rem 0;
  background-color: var(--bg-white);
}

.model-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  gap: 5.25rem;
}

@media (max-width: 991px) {
  .model-header {
    flex-direction: column;
  }
}

.model-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0b1120;
  line-height: 1.2;
  flex: 0 0 40%;
}

.model-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.model-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.model-step {
  position: relative;
  max-width: 190px;
}

@media (max-width: 1200px) {
  .model-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .model-step {
    max-width: 100%;
    /* Override base max-width for tablet */
  }
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #f05a28;
  color: #f05a28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

/* Line connecting steps - handled via pseudo element on container or items */
/* Line connecting steps - handled via pseudo element on container */
.model-steps {
  position: relative;
}

/* Background line that spans the full width behind the items - DESKTOP ONLY */
.model-steps::before {
  content: "";
  position: absolute;
  top: 21px;
  /* Center of 42px circle */
  left: 21px;
  /* Center of 42px circle */
  right: 21px;
  height: 1px;
  background-color: #e5e7eb;
  z-index: 1;
}

@media (max-width: 1200px) {
  /* Hide the global line on tablet */
  .model-steps::before {
    display: none;
  }

  /* Draw individual lines for each step */
  .model-step::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 21px;
    /* Start from center of circle */
    width: calc(100% + 2rem);
    /* Reach next item (100% + gap) */
    height: 1px;
    background-color: #e5e7eb;
    z-index: 1;
  }

  /* Shorten overflowing line for 3rd item (end of row 1) */
  .model-step:nth-child(3)::after,
  .model-step:last-child::after {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .model-steps {
    grid-template-columns: 1fr;
    gap: 0;
    /* Remove grid gap, use padding instead */
  }

  .model-steps::before {
    display: none;
  }

  .model-step {
    display: flex;
    flex-direction: column;
    padding-left: 5rem;
    /* Increased space for valid gap between text and circle */
    padding-bottom: 4rem;
    /* Improved vertical spacing */
    position: relative;
    max-width: 100%;
    width: 100%;
    border-left: none;
    /* Ensure no border from old styles */
  }

  .model-step:last-child {
    padding-bottom: 0;
  }

  .model-step::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 21px;
    width: 1px;
    height: 100%;
    background-color: #e5e7eb;
    z-index: 0;
  }

  /* Ensure specificity override for the 3rd item's width from tablet media query */
  .model-step:nth-child(3)::after {
    width: 1px;
  }

  .model-step:last-child::after {
    display: none;
  }

  .step-circle {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
    margin-left: 0;
    z-index: 1;
    background-color: #fff;
    width: 42px;
    height: 42px;
  }
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1120;
  margin-bottom: 0.563rem;
  line-height: 1.3;
}

.step-description {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* ============================================
   WHEN TO ENGAGE SECTION
   ============================================ */
.engage-when-section {
  padding: 4.375rem 0;
  background-color: #f9fafb;
  text-align: center;
}

.engage-when-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0b1120;
  margin-bottom: 3rem;
}

.engage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 1.5rem;
}

.engage-card {
  background-color: #fff;
  padding: 1.313rem;
  border-radius: 8px;
  /* Slightly rounded */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  /* Very subtle shadow */
  border: 1px solid #f3f4f6;
  font-size: 1rem;
  color: #0b1120;
  font-weight: 500;
  flex: 0 0 calc(33.333% - 1.5rem);
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

@media (max-width: 991px) {
  .engage-card {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media (max-width: 600px) {
  .engage-card {
    flex: 0 0 100%;
  }
}

/* ============================================
   OUTCOMES SECTION
   ============================================ */
.outcomes-section {
  padding: 4.375rem 0;
  background-color: #fff;
}

.outcomes-container {
  display: flex;
  align-items: center;
  gap: 9rem;
}

@media (max-width: 991px) {
  .outcomes-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
}

.outcomes-left {
  background-color: #0f172a;
  /* Dark blue/black */
  padding: 3rem;
  flex: 0 0 600px;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .outcomes-left {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
}

.outcomes-right {
  flex: 1;
}

.outcomes-section .outcomes-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: black;
}
.outcomes-section .outcomes-title {
  color: #fff;
}
.outcomes-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #d1d5db;
  /* Slate 400 */
  margin-bottom: 0;
}

.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcomes-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: #0b1120;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.outcomes-list li:last-child {
  margin-bottom: 0;
}

.outcomes-list li div {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background-color: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #ecfdf5;
  /* Light green bg */
  border-radius: 50%;
  flex-shrink: 0;
  color: #10b981;
  /* Green checkmark */
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   REGULATED SECTION
   ============================================ */
.consulting-regulated-section {
  padding: 3rem 0;
}

.regulated-box {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2.188rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.regulated-box-left {
  display: flex;
  align-items: start;
  gap: 1.313rem;
  max-width: 651px;
}

@media (max-width: 991px) {
  .regulated-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.regulated-icon {
  width: 42px;
  height: 42px;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f172a;
}

.regulated-content-text {
  flex: 1;
}

.regulated-box-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.regulated-box-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

.regulated-action {
  flex-shrink: 0;
}

.regulated-link {
  color: #f97316;
  /* Orange color */
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.regulated-link:hover {
  color: #ea580c;
  text-decoration: none;
}

/* ============================================
   WHY CHOOSE SECTION (Specific to Consulting)
   ============================================ */
.consulting-why-section {
  padding: 5rem 0;
  text-align: center;
}

.consulting-why-section .section-title {
  margin-bottom: 3rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  /* Dark blue/black */
}

.why-list-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 1rem;
}

.why-text-item {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  /* Slate 600 */
  padding: 0 0.875rem;
  text-align: center;
  line-height: 1.4;
  max-width: 202px;
  width: 100%;
}

.why-divider {
  width: 1px;
  height: 24px;
  background-color: #cbd5e1;
  /* Slate 300 */
  display: block;
}

@media (max-width: 768px) {
  .why-list-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .why-divider {
    display: none;
  }

  .why-text-item {
    font-size: 1rem;
    padding: 0;
    max-width: 100%;
    /* Ensure full width on mobile */
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background-color: #0f172a;
  color: #fff;
  padding: 6rem 0;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 2.188rem;
  align-items: center;
  text-align: center;
}

.cta-text {
  width: 100%;
  max-width: 700px;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  line-height: 1.2;
}

.cta-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 644px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.875rem;
}

.cta-buttons .btn-primary {
  background-color: #f05a28;
  /* Specific orange */
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.938rem 1.75rem;
  border-radius: 3.5px;
  line-height: 1.5;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0px 20px 25px -5px #f05a2833;
}

.cta-buttons .btn-primary:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: #f3f4f6;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.938rem 1.75rem;
  border-radius: 3.5px;
  line-height: 1.5;
  border: 1px solid #4b5563;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #9ca3af;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    justify-content: center;
  }
}
