/* ============================================
   INDUSTRY PAGE SPECIFIC STYLES
   ============================================ */

/* ============================================
   INDUSTRY HERO
   ============================================ */
.industry-hero {
  background-color: var(--secondary-hero-bg);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

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

.industry-hero-title {
  font-weight: var(--font-weight-bold);
  line-height: 52px;
  margin-bottom: 1.75rem;
  font-size: 2.625rem;
  vertical-align: middle;
}

.industry-hero-title .highlight {
  color: #f05a28;
  margin-left: 0;
}

.industry-hero-subtitle {
  font-size: 1.125rem;
  line-height: var(--line-height-relaxed);
  color: #d1d5db;
  margin-bottom: 2.25rem;
  margin-left: 0;
  margin-right: 0;
}

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

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

.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;
}

.industry-hero-metrics {
  background-color: var(--tertiary-hero-bg);
  padding: 28px 0;
}

.industry-hero-metrics-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 2.6rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-number {
  font-size: 1.625rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
  margin-bottom: 0;
  line-height: 1.14;
}

.metric-label {
  font-weight: var(--font-weight-medium);
  font-size: 12.3px;
  line-height: 17.5px;
  letter-spacing: 0.61px;
  vertical-align: middle;
  text-transform: uppercase;
  color: #9ca3af;
}

.hero-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  flex-wrap: wrap;
  margin-top: 0;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-white);
  border: 1px solid rgb(255 255 255 / 10%);
  padding: 7.5px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
}

.cert-icon img {
  width: 10.5px;
  height: auto;
}

.cert-text {
  font-weight: 600;
  font-size: 12.3px;
  line-height: 17.5px;
  letter-spacing: 0;
  vertical-align: middle;
  color: #9ca3af;
}

.hero-certifications h2 {
  font-weight: 400;
  font-size: 10px;
  line-height: 17.5px;
  letter-spacing: 0;
  vertical-align: middle;
  color: #6b7280;
  margin-right: 7px;
}

.hero-circle {
  position: absolute;
  top: 5.75rem;
  right: 6.911rem;
  width: 5.196rem;
  height: 4.931rem;
  background-color: #232836;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

/* ============================================
   INDUSTRIES WE SERVE
   ============================================ */
.industries-serve-section {
  background-color: #ffffff;
  color: var(--text-secondary);
  border-top: none;
}

.industries-serve-inner {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.industry-feature-card {
  background:
    radial-gradient(circle at top right, #f05a281a 0%, transparent 50%), #0f172a;
  /* Dark blue background with a subtle orange glow overlay */
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3.5rem;
}

@media (min-width: 992px) {
}

.industry-feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.industry-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.industry-icon-wrapper {
  background-color: var(--tertiary-color);
  width: 42px;
  height: 42px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon-wrapper img {
  width: 21px;
  height: 21px;
}

.industry-label-text {
  color: var(--tertiary-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.industry-feature-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.industry-feature-description {
  color: #94a3b8;
  /* Slate 400 */
  font-size: 1.05rem;
  line-height: 1.6;
}

.industry-feature-cta {
  align-self: flex-start;
  background-color: var(--primary-color);
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 600;
}

.industry-feature-card .industry-feature-cta {
  border-radius: 3.5px;
}

.industry-feature-capabilities {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 1.313rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 500px;
  width: 100%;
  min-height: 255.28px;
  display: flex;
  flex-direction: column;
}

.capabilities-title {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}

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

.industries-title-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .capabilities-list {
    grid-template-columns: 1fr 1fr;
  }
}

.capabilities-list li {
  color: #cbd5e1;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.capabilities-list li span {
  color: #ed5c37;
  font-weight: bold;
}

/* Secondary Grid (Finance & Real Estate) */
.industry-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.industry-secondary-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

#other-industries:hover,
.industry-secondary-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.card-icon-wrapper {
  background-color: #f1f5f9;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.card-icon-wrapper img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

#fintech .card-icon-wrapper {
  background-color: #e0f2fe;
  /* Light Blue */
  color: #0369a1;
  /* Icon color if text/svg fill */
}

#real-estate .card-icon-wrapper {
  background-color: #dcfce7;
  /* Light Green */
  color: #15803d;
  /* Icon color */
}

#other-industries .card-icon-wrapper {
  background-color: #f1f5f9;
  /* Light Gray */
  color: #334155;
  /* Icon color */
}

.industry-secondary-title {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.industry-secondary-description {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.industry-tags {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.industry-tag {
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.industry-secondary-link {
  color: #ed5c37;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.industry-secondary-link:hover {
  color: #c2410c;
}

/* Wide Card (Other Industries) */
.industry-wide-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .industry-wide-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.wide-card-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

@media (min-width: 768px) {
  .wide-card-left {
    flex-direction: row;
    align-items: flex-start;
  }
}

.wide-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wide-card-action {
  flex-shrink: 0;
}

.btn-secondary.btn-dark-text {
  color: #0f172a;
  border-color: #e2e8f0;
  background-color: transparent;
}

.btn-secondary.btn-dark-text:hover {
  background-color: #f8fafc !important;
  color: #0f172a;
}

/* ============================================
   HOW INDUSTRY EXPERTISE IS APPLIED
   ============================================ */
/* .text-center utility if not present */
.text-center {
  text-align: center;
}

.industry-application-section {
  background-color: #020617;
  /* Dark background matching regulated section */
  color: var(--text-white);
  padding: 4.375rem 0;
}

.industry-application-section .section-label {
  color: #f05a28;
  /* Vivid orange for approach label */
}

.industry-application-section .section-title {
  color: #ffffff;
  margin-top: 0.5rem;
}

.industry-application-inner {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.application-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  gap: 1.25rem;
}

.application-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.05);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.application-card:hover .application-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}
.application-icon-wrapper img {
  width: 28px;
}

.application-title {
  font-size: 1.13rem;
  font-weight: var(--font-weight-bold);
  color: #ffffff;
}

.application-description {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
  margin: 9px auto;
}

.industry-application-section .section-header {
  margin: 0;
}

/* ============================================
   INDUSTRY CASE STUDIES
   ============================================ */
.industry-case-studies-section {
  background-color: var(--bg-white);
}

.industry-case-studies-inner {
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
}

.industry-case-studies-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.industry-case-card {
  overflow: hidden;
  border-radius: 16px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.industry-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.industry-case-image {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}

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

.industry-case-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(255, 255, 255, 0.96);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: var(--font-weight-semibold);
  color: var(--secondary-color);
  text-transform: uppercase;
}

.industry-case-content {
  padding: 1.35rem 1.45rem 1.5rem;
}

.industry-case-title {
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.55rem;
  color: var(--text-secondary);
}

.industry-case-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.industry-case-link {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--secondary-color);
}

.industry-case-link:hover {
  color: var(--primary-dark);
}

.across-industries-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.across-industries-header .industry-link {
  color: var(--tertiary-color);
}

.across-industries .case-study-image {
  height: 224px;
}

.across-industries .case-tag {
  border-radius: 3.5px;
}

/* ============================================
   REGULATED INDUSTRIES EMPHASIS
   ============================================ */
.industry-regulated-section {
  background-color: #ffffff;
  padding: 4.375rem 0;
}

.industry-regulated-inner {
  display: flex;
  flex-direction: column;
}

.industry-regulated-card {
  background-color: #0f172a;
  border-radius: 32px;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  color: #f9fafb;
}

@media (min-width: 992px) {
  .across-industries .across-industries-header {
    align-items: self-start;
  }

  .industry-regulated-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }
}

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

.industry-regulated-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.industry-regulated-description {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.industry-regulated-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.regulated-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.regulated-tag svg {
  opacity: 0.7;
}

.industry-regulated-cta {
  background-color: #ed5c37;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
}

.industry-regulated-visual {
  flex: 1;
  display: flex;
  justify-content: end;
  align-items: center;
  height: 14rem;
}

.regulated-visual-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visual-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-line {
  height: 4px;
  background-color: #1e293b;
  border-radius: 2px;
}

.industry-regulated-inner .line-short {
  width: 40px;
  background-color: #ed5c37;
  opacity: 0.7;
}

.line-full {
  width: 100%;
}

.line-medium {
  width: 70%;
}

.visual-chart {
  display: flex;
  align-items: flex-end;
  gap: 38px;
  height: 120px;
}

.v-bar {
  width: 28px;
  background-color: #f05a2866;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  transition: all 0.3s ease;
}

.bar-1 {
  height: 30%;
  background-color: #f05a2866;
}

.bar-2 {
  height: 60%;
  background-color: #f05a2866;
}

.bar-3 {
  height: 20%;
  background-color: #f05a2866;
}

.bar-4.highlight-bar {
  height: 90%;
  background-color: #f05a28;
  box-shadow: 0px 0px 15px 0px #f05a2880;
}

.bar-5 {
  height: 45%;
  background-color: #f05a2866;
}

@media (max-width: 991px) {
  .industry-regulated-visual {
    max-width: 450px;
    width: 100%;
    justify-content: center;
  }

  .regulated-visual-box {
    max-width: 420px;
    width: 100%;
  }

  .visual-chart {
    gap: 42px;
  }
}

@media (max-width: 768px) {
  .industry-regulated-card {
    padding: 2.5rem 1.5rem;
  }

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

/* ============================================
   CUSTOM INDUSTRY CTA
   ============================================ */
.industry-cta-section {
  background-color: #f9fafb;
}

.industry-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.industry-cta-title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.industry-cta-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.industry-cta-button {
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  border-radius: 3.5px;
  font-weight: 500;
}

.industry-cta-section img {
  margin-right: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 768px) {
  .industry-hero-title {
    font-size: var(--font-size-4xl);
  }

  .industry-hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .industry-hero-inner {
    gap: 3rem;
  }

  .industry-hero-metrics-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .industry-hero-metrics-note {
    max-width: 360px;
    text-align: right;
  }

  .application-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }

  .industry-case-studies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .industry-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }

  .industry-feature-card {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3.5rem;
    gap: 2.625rem;
  }

  .industry-feature-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .industry-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-regulated-card {
    padding: 3.5rem;
  }

  .industry-feature-content {
    width: 43.55%;
  }

  .hero-circle {
    z-index: 1;
  }
}

@media (min-width: 1200px) {
  .industry-hero-title {
    font-size: 2.875rem;
  }

  .industry-cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .industry-cta-title {
    font-size: 1.5rem;
  }

  .industry-cta-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 687px) {
  .industry-hero-metrics {
    padding: 24px 0;
  }

  .across-industries .across-industries-header {
    align-items: self-start;
  }

  .industry-hero-metrics-inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .industry-hero-actions .btn-primary,
  .industry-hero-actions .btn-secondary {
    width: 100%;
  }
}
