/**
 * Professional design overrides for fibodo.com
 * Refines typography, spacing, cards and readability for a polished B2B look.
 */

/* ===== Cursor override ===== */
#cursor,
#cursor .cursor__circle {
  display: none !important;
}

body {
  cursor: default;
}

/* ===== Typography & readability ===== */
.site-content {
  color: #1f2937;
}

.site-content .font-20 {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #374151;
  max-width: 65ch;
}

.site-content .row.justify-content-center .font-20 {
  margin-left: auto;
  margin-right: auto;
}

.site-content h1.title-main,
.site-content .title.title-main {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0d1615;
}

.site-content .about-section .title:not(.title-main) {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0d1615;
}

.site-content .lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #374151;
  font-weight: 400;
}

.site-content .about-section .container .row .col-lg-8.text-center .font-20 {
  max-width: 100%;
}

/* ===== Section spacing ===== */
.about-section.space-ptb {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .about-section.space-ptb {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 992px) {
  .about-section.space-ptb {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ===== Alternate section background ===== */
.about-section.bg-light {
  background-color: #f8fafb !important;
}

/* ===== Content cards (e.g. Who fibodo is for, case study tiles) ===== */
.about-section .p-4.border.rounded.h-100,
.about-section .p-4.border.rounded {
  background: #fff;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-section .p-4.border.rounded.h-100:hover,
.about-section .p-4.border.rounded:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db !important;
}

.about-section .p-4.border.rounded .h5,
.about-section .p-4.border.rounded h3.h5 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0d1615;
  margin-bottom: 0.5rem;
}

.about-section .p-4.border.rounded .small,
.about-section .p-4.border.rounded p.small {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
}

/* ===== Buttons ===== */
.site-content .btn {
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-content .btn:hover {
  transform: none;
}

.site-content .btn:not(.btn-outline-dark):not(.btn-sm) {
  background-color: #0d1615;
  color: #fff;
  border: 1px solid #0d1615;
}

.site-content .btn:not(.btn-outline-dark):not(.btn-sm):hover {
  background-color: #1a2b2a;
  box-shadow: 0 2px 8px rgba(13, 22, 21, 0.15);
}

.site-content .btn.btn-outline-dark {
  border-width: 1px;
  color: #0d1615;
  background: transparent;
}

.site-content .btn.btn-outline-dark:hover {
  background-color: #0d1615;
  color: #fff;
  border-color: #0d1615;
}

.site-content .btn.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  border-radius: 5px;
}

/* ===== Lists ===== */
.site-content .about-section ul.font-20,
.site-content ul.font-20.mb-3 {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.site-content .about-section ul.font-20 li,
.site-content ul.font-20.mb-3 li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
  color: #374151;
}

/* ===== Case study & content pages: constrained width ===== */
.about-section .col-lg-8.mx-auto,
.about-section .col-md-12 .restricted-width {
  max-width: 720px;
}

.about-section .col-lg-8.mx-auto .title-main {
  margin-bottom: 0.5rem;
}

.about-section .col-lg-8.mx-auto .lead {
  margin-bottom: 1.5rem;
}

.about-section .col-lg-8.mx-auto h2.h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0d1615;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
}

/* ===== Case studies hub ===== */
.case-studies-hub .p-4.border.rounded.h-100 {
  background: #fff;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ===== Homepage hero ===== */
.site-content .space-pt.about-section .title-main {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.site-content .space-pt.about-section .banner-description {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Trust list (inline-block) ===== */
.site-content ul.font-20.text-start.d-inline-block {
  padding-left: 1.5rem;
}

/* ===== Footer polish ===== */
.footer.bg-dark {
  background-color: #0d1615 !important;
}

.footer .widget-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer .list-unstyled a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.footer .list-unstyled a:hover {
  color: #fff;
}

/* ===== Nav: subtle refinement ===== */
.header .navbar .nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
}

/* ===== Nav action buttons (Sign in + Talk to us) ===== */
.header .main-header {
  padding-left: 24px;
  padding-right: 24px;
}

.action-group {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 20px;
  align-items: center;
  margin-left: 24px;
}

.action-group .dropdown {
  display: flex;
  align-items: center;
}

.action-group .menu-btn2 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d1615;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  padding: 0.5rem 0.5rem 0.5rem 0;
  display: flex;
  align-items: center;
  min-height: 36px;
}

.action-group .menu-btn2:hover {
  color: #4b9ad6;
}

.action-group .menu-btn3 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.action-group .menu-btn3 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background-color: #0d1615;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  min-height: 36px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.action-group .menu-btn3 a:hover {
  background-color: #1a2b2a;
  box-shadow: 0 2px 8px rgba(13, 22, 21, 0.15);
}

/* Header action group alignment at mid-widths */
@media (min-width: 992px) and (max-width: 1199px) {
  .action-group {
    gap: 16px;
    margin-left: 20px;
  }
  .action-group .menu-btn2 {
    font-size: 0.8125rem;
  }
  .action-group .menu-btn3 a {
    padding: 0.4rem 1.125rem;
    font-size: 0.75rem;
  }
}

/* Hide Sign in + Talk to us text on mobile, show hamburger */
@media (max-width: 991px) {
  .action-group .menu-btn2,
  .action-group .dropdown:has(.menu-btn2),
  .action-group .menu-btn3 {
    display: none;
  }
  .action-group {
    margin-left: 0;
  }
  .header .main-header {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ===== Remove duplicate title (some pages have two <title>) ===== */
/* Visual only: ensure first hero doesn't feel cramped */
.site-content > section:first-of-type .container {
  max-width: 1140px;
}

/* ===== Visual Components ===== */

/* ===== Logo Wall ===== */
.logo-wall {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-wall .logo-wall__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: logoScroll 20s linear infinite;
  flex-shrink: 0;
}

.logo-wall:hover .logo-wall__track {
  animation-play-state: paused;
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-wall img {
  height: 90px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}

.logo-wall img:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .logo-wall img {
    height: 110px;
    max-width: 300px;
  }
  .logo-wall {
    gap: 4rem;
  }
  .logo-wall .logo-wall__track {
    gap: 4rem;
  }
}

@media (max-width: 480px) {
  .logo-wall img {
    height: 65px;
    max-width: 180px;
  }
  .logo-wall {
    gap: 2rem;
  }
  .logo-wall .logo-wall__track {
    gap: 2rem;
  }
}

/* ===== Logo wall caption ===== */
.logo-wall-caption {
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Stat Cards ===== */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin: 1.5rem 0 2rem;
}

.stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 3px solid #0d1615;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  flex: 1 1 120px;
  max-width: 180px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stat-value {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #0d1615;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ===== Media Row (image + text side by side) ===== */
.media-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.media-row__image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 480px;
}

.media-row__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.media-row__text {
  flex: 1 1 0%;
}

@media (min-width: 768px) {
  .media-row {
    flex-direction: row;
    gap: 3rem;
  }
  .media-row__image {
    width: 45%;
    max-width: none;
  }
  .media-row__text {
    width: 55%;
  }
  .media-row--reverse {
    flex-direction: row-reverse;
  }
}

/* ===== Diagram Box ===== */
.diagram-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ===== wOS Layers Diagram ===== */
.wos-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wos-layer {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.wos-layer:last-child {
  border-bottom: none;
}

.wos-layer__icon {
  flex: 0 0 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.125rem;
  color: #fff;
}

.wos-layer--delivery .wos-layer__icon { background: #2563eb; }
.wos-layer--demand .wos-layer__icon { background: #059669; }
.wos-layer--operations .wos-layer__icon { background: #d97706; }
.wos-layer--proof .wos-layer__icon { background: #7c3aed; }

.wos-layer__name {
  font-weight: 600;
  font-size: 1rem;
  color: #0d1615;
  min-width: 100px;
}

.wos-layer__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0;
}

/* ===== Lifecycle Steps (find > book > do > repeat) ===== */
.lifecycle-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.lifecycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  min-width: 84px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lifecycle-step i {
  font-size: 1.25rem;
  color: #374151;
}

/* Graduated lifecycle icon colors */
.lifecycle-step:nth-child(1) i { color: #2563eb; }  /* find */
.lifecycle-step:nth-child(3) i { color: #059669; }  /* book */
.lifecycle-step:nth-child(5) i { color: #d97706; }  /* do */
.lifecycle-step:nth-child(7) i { color: #7c3aed; }  /* repeat */

.lifecycle-step span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d1615;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.lifecycle-arrow {
  font-size: 1rem;
  color: #d1d5db;
  font-weight: 300;
}

@media (max-width: 575px) {
  .lifecycle-arrow {
    display: none;
  }
  .lifecycle-steps {
    gap: 0.5rem;
  }
  .lifecycle-step {
    min-width: 60px;
    padding: 0.625rem 0.75rem;
  }
  .lifecycle-step i {
    font-size: 1rem;
  }
  .lifecycle-step span {
    font-size: 0.75rem;
  }
}

/* ===== Product Architecture Grid ===== */
.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.module-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 2.75rem 2.5rem;
  text-align: left;
  text-decoration: none;
  color: #0d1615;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
}

.module-card:hover {
  color: #0d1615;
  text-decoration: none;
  transform: translateY(-3px);
}

.module-card__name {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.module-card__brand {
  font-weight: 400;
  color: #6b7280;
}

.module-card__desc {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ===== Brand Colors (from Core_by_fibodo configs) ===== */
.module-card--core {
  background: linear-gradient(160deg, rgba(255,222,89,0.08) 0%, rgba(255,145,77,0.06) 50%, #fff 100%);
  border-color: rgba(255,145,77,0.2);
}
.module-card--core::before {
  background: linear-gradient(to right, #ffde59, #ff914d);
}
.module-card--core .module-card__name {
  color: #e07830;
}
.module-card--core:hover {
  box-shadow: 0 8px 30px rgba(255,145,77,0.12);
  border-color: rgba(255,145,77,0.35);
}

.module-card--galaxy {
  background: linear-gradient(160deg, rgba(109,207,171,0.08) 0%, rgba(65,180,140,0.06) 50%, #fff 100%);
  border-color: rgba(65,180,140,0.2);
}
.module-card--galaxy::before {
  background: linear-gradient(to right, #6DCFAB, #41B48C);
}
.module-card--galaxy .module-card__name {
  color: #359472;
}
.module-card--galaxy:hover {
  box-shadow: 0 8px 30px rgba(65,180,140,0.12);
  border-color: rgba(65,180,140,0.35);
}

.module-card--pulsar {
  background: linear-gradient(160deg, rgba(167,139,250,0.08) 0%, rgba(139,92,246,0.06) 50%, #fff 100%);
  border-color: rgba(139,92,246,0.2);
}
.module-card--pulsar::before {
  background: linear-gradient(to right, #A78BFA, #8B5CF6);
}
.module-card--pulsar .module-card__name {
  color: #7C3AED;
}
.module-card--pulsar:hover {
  box-shadow: 0 8px 30px rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.35);
}

.module-card--enterprise {
  background: linear-gradient(160deg, rgba(129,140,248,0.08) 0%, rgba(99,102,241,0.06) 50%, #fff 100%);
  border-color: rgba(99,102,241,0.2);
}
.module-card--enterprise::before {
  background: linear-gradient(to right, #818CF8, #6366F1);
}
.module-card--enterprise .module-card__name {
  color: #4F46E5;
}
.module-card--enterprise:hover {
  box-shadow: 0 8px 30px rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.35);
}

/* ===== Icon Badge ===== */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef2ff;
  color: #374151;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

/* Icon badge colour variations for "Who fibodo is for" cards */
.row.g-4 > .col-md-6:nth-child(1) .icon-badge { background: #dbeafe; color: #2563eb; }
.row.g-4 > .col-md-6:nth-child(2) .icon-badge { background: #d1fae5; color: #059669; }
.row.g-4 > .col-md-6:nth-child(3) .icon-badge { background: #ede9fe; color: #7c3aed; }
.row.g-4 > .col-md-6:nth-child(4) .icon-badge { background: #fef3c7; color: #d97706; }

/* ===== Page Hero with Background Image ===== */
.page-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  background-color: #0d1615;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 22, 21, 0.92) 0%,
    rgba(13, 22, 21, 0.95) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero h1.title-main,
.page-hero .title.title-main,
.site-content .page-hero h1.title-main,
.site-content .page-hero .title.title-main {
  color: #fff !important;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-hero .lead,
.site-content .page-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 0;
  max-width: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.page-hero p,
.page-hero .small,
.page-hero a:not(.btn),
.site-content .page-hero a:not(.btn):not(.nav-link):not(.text-decoration-none):not(.dropdown-item) {
  color: rgba(255, 255, 255, 0.85);
}

.site-content .page-hero a:not(.btn):not(.nav-link):not(.text-decoration-none):not(.dropdown-item) {
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.page-hero .small a,
.site-content .page-hero .small a:not(.btn):not(.nav-link):not(.text-decoration-none):not(.dropdown-item) {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.page-hero .small a:hover,
.site-content .page-hero a:not(.btn):not(.nav-link):not(.text-decoration-none):not(.dropdown-item):hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 3.5rem 0 3rem;
  }
}

/* Tighten spacing between hero and following content section */
.page-hero + .about-section.space-ptb {
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .page-hero + .about-section.space-ptb {
    padding-top: 3rem;
  }
}

/* ===== Industry card images ===== */
.card-img-top-wrapper {
  height: 140px;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  margin: -1rem -1rem 0.875rem -1rem;
  width: calc(100% + 2rem);
}

.card-img-top-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-4.border.rounded:hover .card-img-top-wrapper img {
  transform: scale(1.03);
}

/* ===== Proof teaser (case study link on solution pages) ===== */
.proof-teaser {
  background: #f8fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.proof-teaser i {
  font-size: 1.5rem;
  color: #2563eb;
  flex-shrink: 0;
}

.proof-teaser__text {
  font-size: 0.9375rem;
  color: #374151;
}

.proof-teaser__text a {
  font-weight: 600;
  color: #0d1615;
}

.proof-teaser__text a:hover {
  text-decoration: underline;
}

/* ===== Global polish ===== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Better link styling inside content */
.site-content a:not(.btn):not(.nav-link):not(.text-decoration-none):not(.dropdown-item) {
  color: #0d1615;
  text-decoration-color: #d1d5db;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.site-content a:not(.btn):not(.nav-link):not(.text-decoration-none):not(.dropdown-item):hover {
  text-decoration-color: #0d1615;
}

/* Section heading small intro text refinement */
.about-section .lead {
  max-width: 55ch;
}

.about-section .row.justify-content-center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Content card arrow indicators for hub tiles */
.about-section a.d-block .p-4.border.rounded .mt-2,
.about-section a.d-block.p-4.border.rounded .mt-2 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s ease;
}

.about-section a.d-block:hover .p-4.border.rounded .mt-2,
.about-section a.d-block.p-4.border.rounded:hover .mt-2 {
  color: #0d1615;
}

/* Homepage hero spacing refinement */
.site-content > section:first-of-type .about-section.space-ptb {
  padding-bottom: 3rem;
}

/* Two-column layout spacing (solution detail pages) */
.site-content .about-section .row.mt-5 .col-lg-6 h2.h5 {
  font-size: 1rem;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

/* Proof teaser subtle left accent */
.proof-teaser {
  border-left: 3px solid #2563eb;
}

/* ===== CTA Button Hover Lift ===== */
.site-content .btn:not(.btn-outline-dark):not(.btn-sm):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 22, 21, 0.18);
}

.site-content .btn.btn-outline-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 22, 21, 0.10);
}

/* ===== Section Divider Refinement ===== */
.about-section + .about-section:not(.bg-light) {
  border-top: 1px solid #f0f1f3;
}

.about-section.bg-light + .about-section:not(.bg-light) {
  border-top: none;
}

/* ===== Homepage Hero Fine-tuning ===== */
.site-content > section:first-of-type .about-section .logo-wall-caption {
  margin-top: 0;
}

/* ===== Tighter Section Titles ===== */
.about-section .title {
  letter-spacing: -0.01em;
}

/* ===== Consistent Card Hover ===== */
.about-section a.d-block:hover {
  text-decoration: none;
}

.about-section a.d-block .p-4.border.rounded {
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-section a.d-block:hover .p-4.border.rounded {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

/* ===== Footer Column Spacing ===== */
.footer .row > [class*="col-"] {
  padding-bottom: 1rem;
}

/* ===== Partner Cards CTA Alignment ===== */
.about-section .row.g-4 .p-4.border.rounded.h-100 {
  display: flex;
  flex-direction: column;
}

.about-section .row.g-4 .p-4.border.rounded.h-100 .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Leadership Team Cards ===== */
.leadership-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leadership-card .team-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.leadership-card .team-img img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .leadership-card .team-img img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 575px) {
  .leadership-card .team-img img {
    width: 120px;
    height: 120px;
  }
}

/* ===== Partners Card Grid — CTA aligned to bottom ===== */
.partners-card-grid .p-4.border.rounded.h-100 {
  display: flex;
  flex-direction: column;
}

.partners-card-grid .btn.btn-sm {
  margin-top: auto;
  align-self: flex-start;
}
