/* ============================================
   Common Styles
   ============================================ */
.industry-details .section-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  margin-bottom: 2.625rem;
  line-height: 1.3;
}

.industry-details .common-section {
  padding: 4.375rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.industry-hero {
  background: linear-gradient(
    90deg,
    #0b1120 0%,
    #0b1120 54%,
    #171d2b 50%,
    #171d2b 73%,
    #212634 70%,
    #212634 100%
  );
  color: var(--text-white);
  position: relative;
}

.industry-hero-content {
  margin: 0;
  max-width: 672px;
  text-align: left;
}

.industry-label {
  color: #f05a28;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 1rem;
}

.industry-hero-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin-bottom: 1.75rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.industry-hero-title .highlight {
  color: #f05a28;
  font-weight: 700;
}

.industry-hero-subtitle {
  font-size: 1.125rem;
  line-height: var(--line-height-relaxed);
  color: #d1d5db;
  margin-bottom: 2.25rem;
  max-width: 650px;
}

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

.industry-hero-actions .btn-primary {
  font-size: 1rem;
  padding: 15px 28px;
  line-height: 1.6;
  border-radius: 3.5px;
}

.industry-hero-actions .btn-secondary {
  border: 1px solid rgb(255 255 255 / 20%);
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(4px);
  padding: 14px 28px;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  border-radius: 3.5px;
}

/* ============================================
   CHALLENGES INTRO SECTION
   ============================================ */
.challenges-intro {
  background-color: var(--bg-white);
}

.challenges-intro-text {
  max-width: 672px;
  margin: 0;
}

.challenges-intro-text p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: var(--line-height-relaxed);
  margin-bottom: 1.5rem;
}

.challenges-intro-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   KEY CHALLENGES SECTION
   ============================================ */
.key-challenges {
  background-color: #f9fafb;
}

.challenges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.challenge-card {
  background-color: #fff;
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid #f3f4f6;
  transition: all var(--transition-base);
  box-shadow: 0px 1px 2px 0px #0000000d;
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f05a28;
}

.challenge-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff7ed;
  border-radius: 7px;
  margin-bottom: 1.25rem;
}

.challenge-icon img {
  width: 24px;
  height: auto;
}

.challenge-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.challenge-description {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: var(--line-height-relaxed);
}

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

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

.challenge-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f05a28;
  font-size: 1rem;
  font-weight: bold;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise-section {
  background-color: var(--bg-white);
}

.expertise-section .section-title {
  margin-bottom: 1.313rem;
}

.section-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: var(--line-height-relaxed);
  max-width: 672px;
  margin-top: 1rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0;
  column-gap: 1.75rem;
  margin-top: 2.5rem;
}

.expertise-card {
  background-color: #f9fafb;
  padding: 2rem 1.75rem;
  border-radius: 14px;
  border: 1px solid #f3f4f6;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: row;
  gap: 0.875rem;
  align-items: center;
  min-width: 19.125rem;
  height: 9.188rem;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f05a28;
  background-color: var(--bg-white);
}

.expertise-icon {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
}

.expertise-icon svg {
  width: 24px;
  height: 24px;
}

.expertise-card-title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  line-height: 1.4;
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
.capabilities-section {
  background-color: #f9fafb;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.capability-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f05a28;
}

.capability-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  line-height: 1.3;
}

.capabilities-section hr {
  margin-top: 0.875rem;
  margin-bottom: 1.75rem;
  border: none;
  border-bottom: 1px solid #f3f4f6;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.capability-list li {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
  display: flex;
  align-items: center;
}

.capability-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f05a28;
  font-size: 1.25rem;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.highlighted .capability-list li::before {
  color: #d1d5db;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  background-color: var(--bg-white);
}

.results-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Left Column: Text & List */
.results-text-content {
  flex: 1;
}

.results-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.results-features-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.results-features-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Right Column: Dashboard Visual */
.results-visual {
  flex: 1;
  background-color: #f9fafb;
  /* Light gray background like Figma placeholder */
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #f3f4f6;
}

.results-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 224px;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Ensure 3 columns for stats */
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-item-industry {
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: #f05a28;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.results-graph {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.graph-title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: #111827;
  margin-bottom: 1.5rem;
  text-align: center;
}

.graph-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 160px;
  gap: 1.5rem;
}

.graph-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.graph-bar .bar {
  width: 24px;
  background-color: #f05a2866;
  border-radius: 4px 4px 0 0;
  transition: all var(--transition-base);
}

.graph-bar.highlighted .bar {
  background: linear-gradient(180deg, #f05a28 0%, #ed5c37 100%);
  box-shadow: 0px 0px 10px 0px #f05a2866;
}

.bar-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
}

/* ============================================
   REGULATED ENVIRONMENT SECTION
   ============================================ */
.regulated-environment-section {
  background-color: #0b1120;
  padding: 3.5rem 0;
  color: var(--text-white);
}

.regulated-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.regulated-icon-wrapper-container {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 1.313rem;
}

.regulated-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(240, 90, 40, 0.1);
  border: 1px solid rgba(240, 90, 40, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.regulated-text {
  flex: 1;
  max-width: 588px;
}

.regulated-title {
  font-size: 1.313rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.75rem;
  color: var(--text-white);
  line-height: 1.2;
}

.regulated-description {
  font-size: 1rem;
  line-height: var(--line-height-relaxed);
  color: #9ca3af;
}

.btn-dark-outline {
  background-color: transparent;
  color: #f3f4f6;
  border: 1px solid #374151;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-dark-outline:hover {
  background-color: #1f2937;
  border-color: #4b5563;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose-section {
  background-color: var(--bg-white);
}

.why-choose-content {
  text-align: center;
}

.why-choose-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.313rem;
  margin-top: 2.5rem;
}

.why-choose-card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  width: 100%;
  /* Default for mobile */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

/* Tablet: 2 per row */
@media (min-width: 768px) {
  .why-choose-card {
    width: calc(50% - 1rem);
  }
}

/* Desktop: 3 per row */
@media (min-width: 1100px) {
  .why-choose-card {
    width: calc(33.333% - 1rem);
    /* 3 cards per row accounting for gap */
    flex: 0 0 calc(33.333% - 1rem);
    max-width: none;
    /* Remove max-width restriction to fill the grid column */
    min-width: auto;
  }
}

.why-choose-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #f05a28;
}

.why-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.why-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2937;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background-color: #0f172a;
  /* Darker background from Figma */
  color: var(--text-white);
  padding: 5rem 0;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  /* Center horizontally */
  text-align: center;
  /* Center text content */
}

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

.cta-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  color: var(--text-white);
  line-height: 1.25;
}

.cta-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #9ca3af;
  /* Muted text color */
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  /* Center buttons */
  flex-wrap: wrap;
}

.hc-solutions-detail-cta .btn-primary {
  border-radius: 3.5px;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0%;
}

.cta-buttons .btn-primary {
  background-color: #f05a28;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  line-height: 1.5;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: none;
}

.cta-buttons .btn-primary .btn-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

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

.cta-buttons .btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.25);
}

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

.cta-buttons .arrow {
  font-family: sans-serif;
  /* For the arrow symbol */
}

/* ============================================
   RESPONSIVE DESIGN
   Mobile-first breakpoints: 768px, 992px, 1400px
   ============================================ */

/* Tablet and above (768px) */
@media (min-width: 768px) {
  .industry-hero-title {
    font-size: 3rem;
  }

  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-layout {
    flex-direction: row;
    align-items: flex-start;
    /* Changed from center to align top */
    gap: 2.625rem;
    /* Spacing between columns */
  }

  .results-features-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 columns for the list */
    row-gap: 1.5rem;
    column-gap: 2rem;
  }

  /* .results-stats was previously handled here, now it's inside results-visual */
  /* Adjusting visual area for larger screens if needed */

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .regulated-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* CTA content is already centered by default, no special flex-row needed for desktop 
       unless we want side-by-side, but Figma shows centered stacked. 
       If Figma shows side-by-side on desktop, we can add it back here.
       BUT the screenshot clearly shows CENTERED stacked layout. 
       So we remove the flex-row override that was here.
    */
  .cta-content {
    /* Keep as column for centered layout */
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Desktop and above (992px) */
@media (min-width: 992px) {
  .industry-hero-title {
    font-size: 3.5rem;
  }

  .challenges-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Expertise Section Side-by-Side */
  .expertise-wrapper {
    display: flex;
    align-items: center;
    gap: 3.5rem;
  }

  .expertise-text-section {
    width: 368px;
  }

  .expertise-grid {
    flex: 1;
    margin-top: 0;
  }

  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .graph-bars {
    gap: 3rem;
    height: 250px;
  }

  .graph-bar .bar {
    width: 32px;
  }
}

/* Large Desktop (1400px) */
@media (min-width: 1400px) {
  .industry-hero-title {
    font-size: 4rem;
  }
}

/* Mobile optimization (max 600px) */
@media (max-width: 600px) {
  .industry-hero-title {
    font-size: 2rem;
  }

  .industry-hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .regulated-title,
  .cta-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .expertise-number {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .graph-bars {
    height: 180px;
    gap: 1.5rem;
  }

  .graph-bar .bar {
    width: 24px;
  }
}
