/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
  padding: var(--space-10) 0;
  background-color: var(--white);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

/* Left Column: Text & CTA */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

/* Hero Heading - Two Lines */
.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: var(--line-height-h1);
  margin: 0;
  text-align: left;
}

.hero-heading .text-primary {
  color: var(--text-primary);
}

.hero-heading .text-secondary {
  color: var(--text-secondary);
}

/* Hero Subhead */
.hero-subhead {
  font-size: var(--font-body-lg);
  line-height: var(--line-height-body-lg);
  color: var(--text-secondary);
  max-width: 100%;
  margin: 0;
  text-align: left;
}

/* Spacing between subhead and button */
.hero-left > .btn-cta {
  margin-top: var(--space-2);
}

/* Right Column: Dashboard Image */
.hero-right {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dashboard-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}


/* ==========================================
   RESPONSIVE: Desktop Two Column (834px+)
   ========================================== */

@media (min-width: 834px) {
  .hero-content {
    flex-direction: row;
    gap: var(--space-10);
    align-items: center;
  }

  .hero-left {
    flex: 1;
    max-width: 35rem;
  }

  .hero-right {
    flex: 1;
  }

  .hero-heading {
    max-width: 100%;
  }

  .hero-subhead {
    max-width: 100%;
  }
}

/* ==========================================
   HIGHLIGHT SECTION
   ========================================== */

.highlight-section {
  padding: var(--space-4) 0;
  background-color: var(--light-blue);
}

.highlight-text {
  color: var(--text-secondary);
  font-size: var(--font-body);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  text-align: left;
  margin: 0;
  max-width: 100%;
}


/* ==========================================
   RESPONSIVE: Tablet & Desktop (834px+)
   ========================================== */

@media (min-width: 834px) {
  .highlight-text {
    text-align: center;
    max-width: 62.5rem; /* 1000px - adjust as needed */
    margin: 0 auto;
  }
}

/* ==========================================
   PROBLEM SECTION
   ========================================== */

.problem-section {
  padding: var(--space-11) 0;
  background-color: var(--white);
}

.problem-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-6); /* 3rem = 48px between elements */
  align-items: center;
}

/* Problem Heading */
.problem-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  max-width: 50rem;
}

.problem-heading .text-secondary {
  color: var(--text-secondary);
}

.problem-heading .text-primary {
  color: var(--text-primary);
}

/* Problem Graphic Placeholder */
.problem-graphic {
  width: 100%;
  max-width: 75rem; /* 1200px */
  min-height: 25rem; /* Placeholder height - adjust based on your Lottie */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-blue); /* Temporary background to see the space */
  border-radius: var(--radius-lg);
}

/* Problem Closing Line */
.problem-closing {
  font-size: var(--font-h6);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-heading);
  color: var(--text-secondary);
  text-align: center;
  max-width: 50rem;
  margin: 0;
}


/* ==========================================
   RESPONSIVE: Mobile
   ========================================== */

@media (max-width: 834px) {
  .problem-heading {
    text-align: left;
  }

  .problem-closing {
    text-align: left;
  }

  .problem-graphic {
    min-height: 20rem; /* Smaller on mobile */
  }
}


/* ==========================================
   CHAMPION PITCH SECTION - STICKY SCROLL
   ========================================== */

.champion-pitch-section {
  min-height: 150vh;
  position: relative;
  background-color: var(--white);
  display: flex;
  align-items: flex-start; /* Changed from center */
  padding-top: var(--space-11); /* Add top padding */
  padding-bottom: var(--space-11) ;
}

.champion-pitch-section .container {
  position: sticky;
  top: 36vh;
  width: 100%;
}

.champion-pitch-heading {
  font-size: var(--font-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-heading);
  text-align: left;
  max-width: 100%;
  margin: 0;
}

.champion-pitch-heading .word {
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--light-grey);
  transition: color 0.4s ease;
}

.champion-pitch-heading .word.active {
  color: var(--text-primary);
}


/* ==========================================
   RESPONSIVE: Tablet & Desktop (834px+)
   ========================================== */

@media (min-width: 834px) {
  .champion-pitch-heading {
    text-align: center;
    max-width: 62.5rem;
    margin: 0 auto;
  }
}


/* ==========================================
   RESPONSIVE: Tablet & Desktop (834px+)
   ========================================== */

@media (min-width: 834px) {
  .champion-pitch-heading {
    text-align: center;
    max-width: 62.5rem;
    margin: 0 auto;
  }
}


/* ==========================================
   WHAT WE DO SECTION
   ========================================== */

.what-we-do-section {
  margin: 7.5rem 1.5rem; /* 120px top/bottom, 24px left/right */
}

.what-we-do-gradient {
  background: linear-gradient(135deg, #0077C7 0%, #87C9F7 68%);
  border-radius: var(--radius-xl);
  padding: 3rem 7.5rem; /* 48px top/bottom, 120px left/right */
}

.what-we-do-gradient .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6); /* Default gap */
}

/* Section Label */
.section-label {
  font-size: var(--font-h6);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  margin: 0;
  text-align: center;
}

/* Main Heading */
.what-we-do-heading {
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  text-align: center;
  max-width: 50rem;
  margin: 0;
  margin-top: -1rem; /* Adjust gap: 48px - 16px = 32px from label */
}

/* Cards Grid */
.what-we-do-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem; /* 40px */
  width: 100%;
  margin-top: 1.5rem; /* Additional spacing: 48px + 24px = 72px from heading */
}

/* Individual Card */
.what-we-do-card {
  background-color: var(--white);
  border-radius: 1.5rem; /* 24px */
  box-shadow: 0 0.25rem 1.25rem 0 rgba(3, 23, 65, 0.10);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Card Graphic */
.card-graphic {
  width: 100%;
  max-width: 20rem; /* 320px */
  height: 9.368rem; /* 149.88px */
  aspect-ratio: 79/37;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

/* Card Heading */
.card-heading {
  font-size: var(--font-h5);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
}

/* Card Text */
.card-text {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
}

/* Highlight Text */
.what-we-do-highlight {
  font-size: var(--font-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  text-align: center;
  max-width: 50rem;
  margin: 0;
  margin-top: 1.5rem; /* Additional spacing: 48px + 24px = 72px from cards */
}


/* ==========================================
   RESPONSIVE: Mobile & Tablet (< 834px)
   ========================================== */

@media (max-width: 834px) {
  .what-we-do-section {
    margin: 7.5rem 0; /* Remove left/right margin on mobile */
  }

  .what-we-do-gradient {
    padding: 3rem 1.5rem; /* Reduce left/right padding on mobile */
    border-radius: 0; /* Optional: remove border radius on mobile for full bleed */
  }

  .what-we-do-cards {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: var(--space-4);
  }

  .section-label,
  .what-we-do-heading,
  .what-we-do-highlight {
    text-align: left;
  }
}

/* ==========================================
   FAILURE CASE STUDY SECTION
   ========================================== */

.failure-case-study-section {
  padding: var(--space-10) 0;
  background-color: var(--white);
}

.failure-case-study-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4); /* 32px between label and heading */
}

/* Section Label */
.section-label-secondary {
  font-size: var(--font-h6);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-heading);
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
}

/* Failure Heading */
.failure-heading {
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  text-align: center;
  max-width: 50rem;
  margin: 0;
}

/* Story Timeline Container */
.story-timeline {
  width: 100%;
  max-width: 56rem;
  padding: var(--space-8) var(--space-4);
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

/* Story Cards */
.story-card {
  border-radius: 1rem; /* 16px */
  border: 0.0625rem solid #DADFE7;
  background: var(--white);
  box-shadow: 0 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.05);
  padding: var(--space-4);
  max-width: 32rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease;
}

.story-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.story-card p {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
}

.story-card strong {
  color: var(--text-primary);
  font-weight: var(--font-weight-heading);
}

/* Timeline Labels */
.timeline-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease;
}

.timeline-label.revealed {
  opacity: 1;
  transform: translateY(0);
}

.label-icon {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.label-icon.label-grey {
  background-color: var(--light-grey);
}

.label-icon.label-warning {
  background-color: #F5A623; /* Orange/Yellow */
}

.label-icon.label-error {
  background-color: #E74C3C; /* Red */
}

.label-text {
  font-size: var(--font-body-sm);
  line-height: var(--line-height-body-sm);
  color: var(--text-secondary);
  font-weight: var(--font-weight-body);
}


/* ==========================================
   DESKTOP: Zigzag Layout (834px+)
   ========================================== */

@media (min-width: 834px) {
  .story-timeline {
    position: relative;
    padding: var(--space-10) var(--space-6);
    gap: var(--space-6);
  }

  /* Left-aligned cards */
  .story-card-left {
    align-self: flex-start;
    margin-right: auto;
  }

  /* Right-aligned cards */
  .story-card-right {
    align-self: flex-end;
    margin-left: auto;
  }

  /* Keep timeline labels centered */
  .timeline-label {
    align-self: center;
  }
}

/* ==========================================
   WITH CLEARTOWORK SECTION
   ========================================== */

.with-cleartowork-section {
  padding: var(--space-10) 0;
  background-color: var(--white);
}

.with-cleartowork-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* "With" Label */
.with-label {
  font-size: var(--font-h6);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-heading);
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
}

/* ClearToWork Logo */
.cleartowork-logo {
  margin-bottom: var(--space-4);
}

.cleartowork-logo img {
  height: 2rem;
  width: auto;
}

/* Features Grid */
.cleartowork-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  margin-top: var(--space-4);
}

/* Individual Feature */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  max-width: 18rem;
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-text {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
}

/* Feature Divider (Horizontal on mobile) */
.feature-divider {
  width: 100%;
  max-width: 12rem;
  height: 0.0625rem; /* 1px */
  background: linear-gradient(90deg, rgba(187, 196, 210, 0.00) 0%, #BBC4D2 50%, rgba(187, 196, 210, 0.00) 100%);
}

/* Closing Line */
.closing-line {
  font-size: var(--font-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  text-align: center;
  margin: 0;
  margin-top: var(--space-6);
}


/* ==========================================
   DESKTOP: Horizontal Layout (834px+)
   ========================================== */

@media (min-width: 834px) {
  .cleartowork-features {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 75rem;
  }

  .feature-item {
    flex: 1;
    padding: 0 var(--space-4);
  }

  /* Vertical Divider on Desktop */
  .feature-divider {
    width: 0.0625rem; /* 1px */
    height: auto;
    min-height: 8rem;
    max-width: none;
    background: linear-gradient(180deg, rgba(187, 196, 210, 0.00) 0%, #BBC4D2 50%, rgba(187, 196, 210, 0.00) 100%);
  }
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.how-it-works-section {
  margin: 7.5rem 1.5rem; /* 120px top/bottom, 24px left/right */
}

.how-it-works-gradient {
  background: linear-gradient(180deg, #223A62 0%, #165E9C 68.27%, #448BBD 100%);
  border-radius: 2rem; /* 32px */
  padding: 4.5rem 4rem; /* 72px top/bottom, 64px left/right */
}

.how-it-works-gradient .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

/* Section Label */
.section-label-white {
  font-size: var(--font-h6);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  margin: 0;
}

/* Two Column Layout */
.how-it-works-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

/* Left Column */
.how-it-works-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
}

.how-it-works-heading {
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  margin: 0;
  max-width: 100%;
}

/* Right Column - Steps */
.how-it-works-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13rem; /* Increased spacing between steps - 80px */
  padding-bottom: var(--space-10); /* Extra padding at bottom */
}

/* Individual Step */
.step-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Step Number Badge */
.step-number {
  flex-shrink: 0;
  width: 2rem; /* 32px */
  height: 2rem; /* 32px */
  border-radius: 0.25rem; /* 4px */
  background-color: var(--primary-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-body);
  font-weight: var(--font-weight-heading);
}

/* Step Content */
.step-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.step-heading {
  font-size: var(--font-h5);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  margin: 0;
}

.step-description {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Progress Line (Vertical) */
.steps-progress-line {
  position: absolute;
  left: 1rem; /* Center of number badge (32px / 2) */
  top: 2rem; /* Start below first badge */
  bottom: calc(var(--space-10) + 2rem); /* End at last badge (gap + badge height) */
  width: 0.125rem; /* 2px */
  height: auto;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 1;
  pointer-events: none;
}

.progress-line-fill {
  width: 100%;
  height: 0%;
  background-color: var(--primary-blue);
  transition: height 0.3s ease;
}

/* Closing Statement */
.how-it-works-closing {
  font-size: var(--font-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-heading);
  color: var(--white);
  text-align: center;
  max-width: 50rem;
  margin: 0;
  margin-top: var(--space-10);
}


/* ==========================================
   DESKTOP: Two Column Layout with Sticky Left (834px+)
   ========================================== */

@media (min-width: 834px) {
  .how-it-works-content {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-10);
    min-height: 100vh; /* Ensure enough height for scrolling */
  }

  .how-it-works-left {
    flex: 0 0 25rem; /* Fixed width for left column */
    position: sticky;
    top: 8rem; /* Stick below navbar */
    align-self: flex-start;
  }

  .how-it-works-steps {
    flex: 1;
    padding-top: 2rem; /* Align with sticky left content */
  }
}


/* ==========================================
   MOBILE: Remove outer margin
   ========================================== */

@media (max-width: 834px) {
  .how-it-works-section {
    margin: 7.5rem 0; /* Remove left/right margin on mobile */
  }

  .how-it-works-gradient {
    padding: 4.5rem 1.5rem; /* Reduce left/right padding on mobile */
    border-radius: 0; /* Optional: remove border radius on mobile */
  }
  
  .how-it-works-steps {
    gap: var(--space-8); /* Slightly less spacing on mobile */
  }
}


/* ==========================================
   WHAT WE VERIFY SECTION
   ========================================== */

.what-we-verify-section {
  padding: var(--space-10) 0 var(--space-11);
  background-color: var(--white);
}

/* Two Column Layout */
.what-we-verify-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  width: 100%;
}

/* Left Column */
.what-we-verify-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start; /* Align items to the left */
}

.what-we-verify-heading {
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
  max-width: 100%;
  text-align: left; /* Ensure left alignment */
}

/* Right Column - Cards Grid */
.what-we-verify-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  width: 100%;
}

/* Individual Verify Card */
.verify-card {
  border-radius: 1.5rem; /* 24px */
  padding: 2rem 1.5rem; /* 32px 24px */
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  min-height: 15rem;
}

/* Card Icon */
.verify-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

/* Card Heading */
.verify-heading {
  font-size: var(--font-h5);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
}

/* Card Description */
.verify-description {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
  max-width: 90%;
  z-index: 1;
}

/* Card Decorative Graphic */
.verify-graphic {
  position: absolute;
  bottom: 0rem;
  right: 0rem;
  width: 8rem;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}


/* ==========================================
   DESKTOP: Two Column + Bento Grid (834px+)
   ========================================== */

@media (min-width: 834px) {
  .what-we-verify-content {
    flex-direction: row;
    gap: var(--space-10);
    align-items: flex-start;
  }

  .what-we-verify-left {
    flex: 0 0 22rem; /* Fixed width */
  }

  .what-we-verify-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns */
    grid-template-rows: repeat(4, 1fr); /* 4 rows */
    gap: var(--space-2);
  }

  /* People card - 3 columns, 2 rows */
  .verify-card:nth-child(1) {
    grid-column: 1 / 4; /* Columns 1-3 */
    grid-row: 1 / 3; /* Rows 1-2 */
  }

  /* Assets card - 3 columns, 2 rows */
  .verify-card:nth-child(2) {
    grid-column: 4 / 7; /* Columns 4-6 */
    grid-row: 1 / 3; /* Rows 1-2 */
  }

  /* Locations card - 2 columns, 2 rows */
  .verify-card:nth-child(3) {
    grid-column: 1 / 3; /* Columns 1-2 */
    grid-row: 3 / 5; /* Rows 3-4 */
  }

  /* Contracts card - 2 columns, 2 rows */
  .verify-card:nth-child(4) {
    grid-column: 3 / 5; /* Columns 3-4 */
    grid-row: 3 / 5; /* Rows 3-4 */
  }

  /* Businesses card - 2 columns, 2 rows */
  .verify-card:nth-child(5) {
    grid-column: 5 / 7; /* Columns 5-6 */
    grid-row: 3 / 5; /* Rows 3-4 */
  }

  /* Remove min-height for natural card sizing */
  .verify-card {
    min-height: auto;
  }
}


/* ==========================================
   LARGE DESKTOP: Same layout (1024px+)
   ========================================== */

@media (min-width: 1024px) {
  .what-we-verify-cards {
    gap: var(--space-2); /* Slightly more gap on larger screens */
  }
}


/* ==========================================
   WHO IT'S FOR SECTION
   ========================================== */

.who-its-for-section {
  margin: 7.5rem 1.5rem; /* Same as other gradient sections */
}

.who-its-for-gradient {
  background: linear-gradient(180deg, #C5E1F3 0%, #FFF 100%);
  border-radius: 2rem; /* 32px */
  padding: 4.5rem 4rem; /* 72px top/bottom, 64px left/right */
}

.who-its-for-gradient .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-11); /* Large gap before closing statement */
}

/* Two Column Layout */
.who-its-for-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

/* Left Column */
.who-its-for-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.who-its-for-heading {
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
  text-align: left;
}

.who-its-for-subtext {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
  text-align: left;
}

/* Right Column - Industry Cards */
.who-its-for-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

/* Individual Industry Card - Mobile/Tablet Layout */
.industry-card {
  background-color: var(--white);
  border-radius: 1.5rem; /* 24px */
  box-shadow: 0 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* Card Image Container */
.industry-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--light-blue);
  transition: all 0.3s ease;
}

.industry-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Content */
.industry-card-content {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: all 0.3s ease;
}

.industry-name {
  font-size: var(--font-h6);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
  transition: color 0.3s ease;
}

.industry-description {
  font-size: var(--font-body-sm);
  line-height: var(--line-height-body-sm);
  color: var(--text-secondary);
  margin: 0;
  display: block; /* Show on mobile/tablet */
  opacity: 1;
  transition: all 0.3s ease;
}

/* Closing Statement */
.who-its-for-closing {
  font-size: var(--font-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  text-align: center;
  max-width: 50rem;
  margin: 0;
  margin-top: var(--space-6);
}


/* ==========================================
   DESKTOP: Two Column + Horizontal Cards with Hover (834px+)
   ========================================== */

@media (min-width: 834px) {
  .who-its-for-content {
    flex-direction: row;
    gap: var(--space-10);
    align-items: flex-start;
  }

  .who-its-for-left {
    flex: 0 0 22rem; /* Fixed width */
  }

  .who-its-for-cards {
    flex: 1;
  }

  /* Desktop: Horizontal Card Layout */
  .industry-card {
    position: relative;
    flex-direction: row;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem; /* 8px 24px 8px 8px */
    height: 10rem; /* Fixed height */
    min-height: 10rem;
    max-height: 10rem;
    align-items: center;
  }

  /* Desktop: Image on left, fixed size */
  .industry-card-image {
    width: 14.5rem;
    min-width: 14.5rem;
    height: 9rem; /* Fixed height */
    flex-shrink: 0;
    border-radius: 1rem;
    transition: opacity 0.3s ease;
  }

  .industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Desktop: Content on right */
  .industry-card-content {
    flex: 1;
    padding: var(--space-2) 0 var(--space-2) var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    height: 100%;
    justify-content: center;
    transition: all 0.3s ease;
  }

  /* Desktop: Show name by default */
  .industry-name {
    transition: color 0.3s ease;
  }

  /* Desktop: Hide description by default */
  .industry-description {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* ===== HOVER STATE ===== */
  
  /* Add gradient background */
  .industry-card:hover {
    background: linear-gradient(180deg, #223A62 0%, #165E9C 68.27%, #448BBD 100%);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.15);
  }

  /* Fade out image */
  .industry-card:hover .industry-card-image {
    opacity: 0;
  }

  /* Change content layout to two columns */
  .industry-card:hover .industry-card-content {
    flex-direction: row;
    gap: var(--space-6);
    padding: var(--space-4) var(--space-5);
  }

  /* Name takes left column, turns white */
  .industry-card:hover .industry-name {
    flex: 1;
    color: var(--white);
    position: relative;
  }

  /* Description fades in, takes right column */
  .industry-card:hover .industry-description {
    flex: 1;
    position: relative;
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
  }
}


/* ==========================================
   MOBILE/TABLET: Show all content
   ========================================== */

@media (max-width: 834px) {
  .who-its-for-section {
    margin: 7.5rem 0;
  }

  .who-its-for-gradient {
    padding: 4.5rem 1.5rem;
    border-radius: 0;
  }

  /* Mobile/Tablet: Ensure description is visible */
  .industry-description {
    display: block;
    opacity: 1;
    color: var(--text-secondary);
  }
}

/* ==========================================
   ADOPTION SECTION
   ========================================== */

.adoption-section {
  padding: var(--space-10) 0;
  background-color: var(--white);
}

.adoption-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

/* Adoption Heading (Two Lines) */
.adoption-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-heading);
  max-width: 50rem;
  margin: 0;
  margin-top: -var(--space-2); /* Reduce gap from label */
}

.adoption-heading .text-primary {
  color: var(--text-primary);
}

.adoption-heading .text-secondary {
  color: var(--text-secondary);
}

/* Subheading */
.adoption-subheading {
  font-size: var(--font-h5);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

/* Adoption Cards Container */
.adoption-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 60rem;
}

/* Individual Adoption Card */
.adoption-card {
  border-radius: 1.5rem; /* 24px */
  padding: 2rem 1.5rem; /* 32px 24px for mobile */
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start; /* Left-aligned on mobile */
}

/* Card Number (SVG/Image) */
.adoption-number {
  flex-shrink: 0;
}

.adoption-number svg,
.adoption-number img {
  width: 5rem; /* 80px for mobile */
  height: 5rem;
  display: block;
}

/* Card Content */
.adoption-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left; /* Left-aligned on mobile */
}

.adoption-card-heading {
  font-size: var(--font-h5);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
}

.adoption-card-description {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
}

/* Closing Statement */
.adoption-closing {
  font-size: var(--font-h5);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-heading);
  color: var(--text-secondary);
  text-align: center;
  max-width: 50rem;
  margin: 0;
  margin-top: var(--space-4);
}


/* ==========================================
   TABLET & DESKTOP: Horizontal Card Layout (540px+)
   ========================================== */

@media (min-width: 540px) {
  /* Horizontal layout for cards */
  .adoption-card {
    flex-direction: row;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem; /* 8px 24px 8px 8px */
    align-items: center;
  }

  /* Larger number on tablet/desktop */
  .adoption-number svg,
  .adoption-number img {
    width: 8.75rem; /* 140px for tablet/desktop */
    height: 8.75rem;
  }

  /* Content aligned left */
  .adoption-content {
    flex: 1;
    text-align: left;
    padding-left: var(--space-3);
  }
}


/* ==========================================
   MOBILE: Text alignment (< 540px)
   ========================================== */

@media (max-width: 539px) {
  /* Left-align all text on mobile */
  .section-label-secondary {
    align-self: flex-start;
  }

  .adoption-section .container {
    align-items: flex-start;
  }

  .adoption-heading {
    text-align: left;
  }

  .adoption-subheading {
    text-align: left;
  }

  .adoption-closing {
    text-align: left;
  }
}


/* ==========================================
   BOTTOM CTA SECTION
   ========================================== */

.bottom-cta-section {
  margin: 7.5rem 1.5rem 1rem 1.5rem; /* Same as other gradient sections */
}

.bottom-cta-gradient {
  background: linear-gradient(180deg, #FFF 0%, #C5E1F3 100%); /* Reversed gradient */
  border-radius: 2rem; /* 32px */
  padding: 4.5rem 1rem; /* 72px top/bottom, 64px left/right */
}

.bottom-cta-gradient .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Two Column Layout */
.bottom-cta-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

/* Left Column: Text & CTA */
.bottom-cta-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.bottom-cta-heading {
  font-size: var(--font-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
  text-align: left;
  max-width: 100%;
}

.bottom-cta-subtext {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
  margin: 0;
  text-align: left;
  max-width: 100%;
}

.bottom-cta-left .btn-cta {
  margin-top: var(--space-2); /* Extra spacing before button */
}

/* Right Column: Dashboard Image */
.bottom-cta-right {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}


/* ==========================================
   DESKTOP: Two Column Layout (834px+)
   ========================================== */

@media (min-width: 834px) {
  .bottom-cta-content {
    flex-direction: row;
    gap: var(--space-10);
    align-items: center;
  }

  .bottom-cta-left {
    flex: 1;
    max-width: 35rem;
  }

  .bottom-cta-right {
    flex: 1;
  }

  .bottom-cta-heading {
    max-width: 100%;
  }

  .bottom-cta-subtext {
    max-width: 100%;
  }
}


/* ==========================================
   MOBILE: Remove outer margin
   ========================================== */

@media (max-width: 834px) {
  .bottom-cta-section {
    margin: 7.5rem 0; /* Remove left/right margin on mobile */
  }

  .bottom-cta-gradient {
    padding: 4.5rem 1.5rem; /* Reduce left/right padding on mobile */
    border-radius: 0; /* Optional: remove border radius on mobile */
  }
}



/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background-color: var(--white);
  padding: var(--space-10) 0 var(--space-6);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* Footer Brand (Logo, Tagline, Copyright) */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-logo img {
  height: 2rem;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: var(--font-body-sm);
  line-height: var(--line-height-body-sm);
  color: var(--text-secondary);
  margin: 0;
  max-width: 20rem;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-copyright p {
  font-size: var(--font-body-sm);
  line-height: var(--line-height-body-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-heading {
  font-size: var(--font-body-sm);
  line-height: var(--line-height-body-sm);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: var(--font-body-sm);
  line-height: var(--line-height-body-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

/* Email Link - Underlined */
.footer-email {
  text-decoration: underline !important;
}


/* ==========================================
   MOBILE: 2×2 Grid (Product & Company side by side)
   ========================================== */

@media (min-width: 540px) and (max-width: 833px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-8);
  }

  /* Brand takes full row */
  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Product and Company side by side */
  .footer-column:nth-child(2) {
    grid-column: 1;
  }

  .footer-column:nth-child(3) {
    grid-column: 2;
  }

  /* Legal takes full row below */
  .footer-column:nth-child(4) {
    grid-column: 1 / -1;
  }
}


/* ==========================================
   TABLET: 3 Column Layout
   ========================================== */

@media (min-width: 834px) and (max-width: 1023px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-6) var(--space-8);
  }

  /* Brand takes first column */
  .footer-brand {
    grid-column: 1;
  }

  /* Product takes second column */
  .footer-column:nth-child(2) {
    grid-column: 2;
  }

  /* Company takes third column */
  .footer-column:nth-child(3) {
    grid-column: 3;
  }

  /* Legal goes under Company (third column, second row) */
  .footer-column:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }
}


/* ==========================================
   DESKTOP: 4 Column Layout (1024px+)
   ========================================== */

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-6) var(--space-10);
  }

  /* All columns side by side */
  .footer-brand {
    grid-column: 1;
  }
}
