/* =========================================================
   PPGL SUPPLY PAGE CSS
   Only for supply.html
   Requires style.css to load first
========================================================= */

/* HERO */

.supply-hero {
  padding: 76px 0 60px;
}

.supply-hero .hero-layout {
  grid-template-columns: 1fr 0.82fr;
  gap: 44px;
}

.supply-hero h1 {
  max-width: 860px;
}

.supply-hero-card {
  padding: 16px;
  border-radius: 26px;
}

.supply-hero-img {
  width: 100%;
  height: 325px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.supply-hero-metrics {
  margin-top: 14px;
}

.supply-hero-status {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  margin-inline: 16px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 210, 0, 0.28);
  background: rgba(5, 11, 18, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.supply-hero-status span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.supply-hero-status strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-top: 3px;
}

.supply-hero-status i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #08111c;
}

/* GENERAL */

.supply-section {
  padding: 66px 0;
}

.supply-stat-section {
  padding: 22px 0;
}

/* STATS BAR */

.supply-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: -44px;
  position: relative;
  z-index: 4;
}

.supply-stats-bar article {
  padding: 18px 14px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--panel), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .supply-stats-bar article {
  background: linear-gradient(145deg, #ffffff, rgba(241, 245, 249, 0.86));
  border-color: rgba(15, 23, 42, 0.14);
}

.supply-stats-bar strong {
  display: block;
  color: var(--gold-500);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.supply-stats-bar span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

html[data-theme="light"] .supply-stats-bar span {
  color: #334155;
}

/* OVERVIEW */

.supply-overview-grid,
.supply-category-grid,
.supply-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.supply-overview-grid .cred-card,
.supply-category-grid .cred-card {
  min-height: 230px;
}

/* CATEGORY CARDS */

.supply-category-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.supply-category-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.16), transparent 70%);
  pointer-events: none;
}

.supply-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 0, 0.36);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.22);
}

.supply-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 14px;
  color: #08111c;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  box-shadow: 0 16px 30px rgba(255, 210, 0, 0.16);
}

/* SUPPLIER COORDINATION */

.supply-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.supply-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.supply-copy p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 730px;
  font-size: 0.94rem;
  line-height: 1.7;
}

.supply-process-card {
  padding: 24px;
}

.supply-process-card .pipeline-list {
  margin-top: 0;
}

/* WORKFLOW TIMELINE */

.supply-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.supply-timeline article {
  position: relative;
  padding: 20px;
  min-height: 190px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--panel), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

html[data-theme="light"] .supply-timeline article {
  background: linear-gradient(145deg, #ffffff, rgba(241, 245, 249, 0.82));
  border-color: rgba(15, 23, 42, 0.14);
}

.supply-timeline article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 115, 190, 0.18),
    transparent 70%
  );
}

.supply-timeline span {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 11px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #08111c;
  font-size: 0.72rem;
  font-weight: 950;
}

.supply-timeline h3 {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.supply-timeline p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* SUPPLIER QUALIFICATION */

.supplier-qualification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.supplier-qualification-grid .portal-card {
  min-height: 245px;
  padding: 24px;
}

.supplier-qualification-grid i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #08111c;
  font-size: 1.15rem;
}

.supplier-qualification-grid h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.supplier-qualification-grid p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

/* POSITIONING CARDS */

.supply-position-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.supply-position-card {
  padding: 28px;
  min-height: 280px;
}

.supply-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #08111c;
  font-size: 1.3rem;
  box-shadow: 0 18px 34px rgba(255, 210, 0, 0.18);
}

.supply-position-card h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.supply-position-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* PROCUREMENT VISIBILITY */

.supply-dashboard-card {
  padding: 20px;
}

.supply-dashboard-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

/* COMMAND CENTER */

.supply-command-center {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(255, 210, 0, 0.12),
      transparent 30%
    ),
    linear-gradient(145deg, var(--panel), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
}

.supply-command-center h2 {
  color: var(--text);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  margin-bottom: 12px;
}

.supply-command-center p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 620px;
}

.supply-flow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.supply-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 0, 0.26);
  background: rgba(255, 210, 0, 0.08);
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 900;
}

.supply-flow i {
  color: var(--muted);
  font-size: 0.82rem;
}

/* TRUST STRIP */

.supply-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.supply-trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.supply-trust-card i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #08111c;
}

.supply-trust-card span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

/* CTA */

.supply-cta {
  display: block;
  text-align: center;
}

.supply-cta p {
  margin-inline: auto;
}

.supply-cta .hero-actions {
  justify-content: center;
}

/* QUICK ACTION DOCK */

.supply-action-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2400;
  display: grid;
  gap: 10px;
}

.supply-action-dock a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 178px;
  padding: 11px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 0, 0.32);
  background: rgba(5, 11, 18, 0.88);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: 0.22s ease;
}

.supply-action-dock a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 0, 0.58);
  color: var(--gold-500);
}

.supply-action-dock i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-500);
  color: #08111c;
}

.supply-action-dock span {
  font-size: 0.78rem;
  font-weight: 900;
}

/* FOOTER SAFETY */

.supply-page .site-footer,
html[data-theme="light"] .supply-page .site-footer,
html[data-theme="dark"] .supply-page .site-footer {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(30, 115, 190, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 70%,
      rgba(255, 210, 0, 0.08),
      transparent 24%
    ),
    linear-gradient(135deg, #03070c, #07111d 48%, #081827) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.supply-page .site-footer h3,
.supply-page .site-footer a,
.supply-page .site-footer p,
.supply-page .site-footer span,
.supply-page .site-footer i {
  color: rgba(255, 255, 255, 0.72) !important;
}

.supply-page .site-footer h3 {
  color: #ffffff !important;
}

.supply-page .site-footer a:hover,
.supply-page .site-footer a:hover i {
  color: var(--gold-500) !important;
}

.supply-page .footer-bottom {
  text-align: center !important;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .supply-stats-bar,
  .supplier-qualification-grid,
  .supply-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .supply-command-center {
    grid-template-columns: 1fr;
  }

  .supply-flow {
    justify-content: flex-start;
  }
}

@media (max-width: 1080px) {
  .supply-hero .hero-layout,
  .supply-split {
    grid-template-columns: 1fr;
  }

  .supply-hero-card {
    max-width: 720px;
  }

  .supply-overview-grid,
  .supply-category-grid,
  .supply-industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .supply-position-grid {
    grid-template-columns: 1fr;
  }

  .supply-dashboard-img {
    height: 280px;
  }
}

@media (max-width: 860px) {
  .supply-hero {
    padding: 58px 0 46px;
  }

  .supply-section {
    padding: 54px 0;
  }

  .supply-stats-bar,
  .supply-overview-grid,
  .supply-category-grid,
  .supply-industry-grid,
  .supplier-qualification-grid,
  .supply-trust-grid,
  .supply-timeline {
    grid-template-columns: 1fr;
  }

  .supply-stats-bar {
    margin-top: -28px;
  }

  .supply-hero-img,
  .supply-dashboard-img {
    height: 240px;
  }

  .supply-overview-grid .cred-card,
  .supply-category-grid .cred-card,
  .supply-position-card,
  .supplier-qualification-grid .portal-card,
  .supply-timeline article {
    min-height: auto;
  }

  .supply-flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .supply-flow i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .supply-action-dock {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: repeat(3, 1fr);
  }

  .supply-action-dock a {
    min-width: 0;
    justify-content: center;
    padding: 10px;
  }

  .supply-action-dock span {
    display: none;
  }
}

@media (max-width: 560px) {
  .supply-hero-img,
  .supply-dashboard-img {
    height: 210px;
  }

  .supply-position-card,
  .supply-process-card,
  .supply-dashboard-card,
  .supply-command-center {
    padding: 20px;
  }

  .supply-icon {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }

  .supply-hero-status {
    margin-inline: 10px;
    padding: 12px;
  }

  .supply-hero-status strong {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .supply-action-dock a,
  .supply-category-card,
  .supply-timeline article {
    transition: none !important;
  }
}

/* =========================================================
   PPGL SUPPLY PAGE 9.7+ UPGRADE LAYER
   Keep this section at the bottom of supply.css
========================================================= */

.supply-page {
  isolation: isolate;
}

.supply-page main {
  overflow: hidden;
}

.supply-hero {
  position: relative;
  isolation: isolate;
  padding: 82px 0 66px !important;
}

.supply-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(255, 210, 0, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 24%,
      rgba(30, 115, 190, 0.18),
      transparent 34%
    );
  z-index: 0;
}

.supply-hero .container,
.supply-hero .hero-layout {
  position: relative;
  z-index: 2;
}

.supply-hero .hero-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.86fr) !important;
  gap: clamp(36px, 5vw, 68px) !important;
  align-items: center !important;
}

.supply-hero h1 {
  max-width: 900px !important;
  font-size: clamp(2.75rem, 4.95vw, 5rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.078em !important;
  text-wrap: balance;
}

.supply-hero h1::after {
  content: ".";
  color: var(--blue-500);
}

.supply-hero .hero-copy p {
  max-width: 735px;
  font-size: 0.98rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.supply-hero .cred-row {
  max-width: 760px;
}

.supply-hero .cred-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.supply-hero .cred-row span::before {
  content: "✓";
  color: var(--gold-500);
  font-weight: 950;
}

.supply-hero-card {
  position: relative;
  overflow: hidden;
  padding: 18px !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 210, 0, 0.1), transparent 28%),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.025)
    );
  border: 1px solid rgba(255, 210, 0, 0.18);
}

html[data-theme="light"] .supply-hero-card {
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 210, 0, 0.16), transparent 28%),
    linear-gradient(145deg, #ffffff, rgba(241, 245, 249, 0.88));
  border-color: rgba(15, 23, 42, 0.12);
}

.supply-hero-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 210, 0, 0.18);
  border-radius: 24px;
  pointer-events: none;
  z-index: 3;
}

.supply-hero-img {
  height: 350px !important;
  border-radius: 24px !important;
  filter: saturate(1.06) contrast(1.03);
}

.supply-hero-status {
  margin-top: -64px !important;
  margin-inline: 18px !important;
  border-color: rgba(255, 210, 0, 0.34) !important;
  background: rgba(5, 11, 18, 0.88) !important;
}

.supply-stats-bar article,
.supply-overview-grid .cred-card,
.supply-category-card,
.supply-position-card,
.supplier-qualification-grid .portal-card,
.supply-timeline article,
.supply-trust-card,
.supply-command-center,
.supply-dashboard-card,
.supply-process-card {
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.supply-stats-bar article:hover,
.supply-overview-grid .cred-card:hover,
.supply-position-card:hover,
.supplier-qualification-grid .portal-card:hover,
.supply-timeline article:hover,
.supply-trust-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 210, 0, 0.38);
}

.supply-overview-grid .cred-card,
.supply-category-card,
.supplier-qualification-grid .portal-card,
.supply-position-card,
.supply-dashboard-card,
.supply-process-card,
.supply-command-center {
  overflow: hidden;
  position: relative;
}

.supply-overview-grid .cred-card::after,
.supplier-qualification-grid .portal-card::after,
.supply-position-card::after,
.supply-dashboard-card::after,
.supply-process-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.supply-category-grid {
  align-items: stretch;
}

.supply-category-card {
  display: flex;
  flex-direction: column;
}

.supply-card-icon,
.supply-icon,
.supplier-qualification-grid i,
.supply-trust-card i,
.supply-hero-status i {
  box-shadow: 0 16px 34px rgba(255, 210, 0, 0.18);
}

.supply-split {
  grid-template-columns: 0.88fr 1.12fr !important;
}

.supply-process-card .pipeline-list div {
  align-items: start;
}

.supply-timeline {
  gap: 14px !important;
}

.supply-timeline article {
  min-height: 210px;
}

.supply-timeline article::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-500));
  border-radius: 999px 999px 0 0;
}

.supplier-qualification-grid .portal-card {
  border-radius: 24px;
}

.supply-position-grid {
  align-items: stretch;
}

.supply-position-card {
  border-radius: 28px;
}

.supply-dashboard-card {
  border-radius: 28px;
}

.supply-dashboard-img {
  height: 330px !important;
  max-height: none !important;
  object-position: top center;
  border-radius: 22px !important;
}

.supply-command-center {
  border-radius: 32px !important;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 210, 0, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 70%,
      rgba(30, 115, 190, 0.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.025)
    ) !important;
}

html[data-theme="light"] .supply-command-center {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 210, 0, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 70%,
      rgba(30, 115, 190, 0.12),
      transparent 34%
    ),
    linear-gradient(145deg, #ffffff, rgba(241, 245, 249, 0.86)) !important;
}

.supply-flow span {
  min-width: 96px;
}

.supply-industry-grid .service-card {
  min-height: 290px;
}

.supply-trust-card {
  background: linear-gradient(145deg, var(--panel), rgba(255, 255, 255, 0.028));
}

html[data-theme="light"] .supply-trust-card {
  background: linear-gradient(145deg, #ffffff, rgba(241, 245, 249, 0.84));
}

.supply-action-dock a {
  min-width: 190px;
}

/* Premium footer contact cards for this page */
.supply-page .footer-contact-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.supply-page .footer-contact-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 210, 0, 0.12);
  color: var(--gold-500) !important;
}

.supply-page .footer-contact-card strong {
  display: block;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  margin-bottom: 3px;
}

.supply-page .footer-contact-card a,
.supply-page .footer-contact-card span {
  margin: 0;
  line-height: 1.45;
  width: auto;
}

@media (max-width: 1180px) {
  .supply-hero .hero-layout,
  .supply-split {
    grid-template-columns: 1fr !important;
  }

  .supply-hero-card {
    width: min(100%, 720px);
  }
}

@media (max-width: 860px) {
  .supply-hero {
    padding: 58px 0 48px !important;
  }

  .supply-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.65rem) !important;
  }

  .supply-hero-img,
  .supply-dashboard-img {
    height: 250px !important;
  }

  .supply-hero-status {
    margin-top: 14px !important;
  }

  .supply-timeline article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .supply-hero-card {
    padding: 14px !important;
  }

  .supply-hero-card::before {
    display: none;
  }

  .supply-hero-img,
  .supply-dashboard-img {
    height: 215px !important;
  }

  .supply-action-dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* =========================================================
   SUPPLY PAGE LOGO TRUST SECTION UPGRADE
   Uses PC_logo.png, dpc_logo.png, ghana_flag.jpg, favicon.png
========================================================= */

.supply-compliance-section {
  position: relative;
  overflow: hidden;
  padding-top: 82px !important;
  padding-bottom: 82px !important;
  background:
    radial-gradient(
      circle at 14% 16%,
      rgba(255, 210, 0, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 34%,
      rgba(30, 115, 190, 0.1),
      transparent 32%
    ),
    linear-gradient(135deg, #ffffff, #f7fafc 48%, #eef3f9) !important;
}

html[data-theme="dark"] .supply-compliance-section {
  background:
    radial-gradient(
      circle at 14% 16%,
      rgba(255, 210, 0, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 34%,
      rgba(30, 115, 190, 0.18),
      transparent 32%
    ),
    linear-gradient(135deg, #050b12, #07111d 48%, #081827) !important;
}

.supply-compliance-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 115, 190, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 115, 190, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.supply-compliance-heading {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.supply-compliance-heading .section-kicker {
  margin-inline: auto;
}

.supply-compliance-heading h2 {
  max-width: 900px;
  margin-inline: auto;
}

.supply-compliance-heading p {
  max-width: 760px;
  margin-inline: auto;
}

.supply-logo-trust-grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  align-items: stretch;
  margin-top: 36px;
}

.supply-logo-trust-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0 !important;
  min-height: 380px;
  padding: 30px 24px 24px !important;
  text-align: center;
  border-radius: 28px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(30, 115, 190, 0.08),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(248, 250, 252, 0.84)
    ) !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1) !important;
  overflow: hidden;
}

html[data-theme="dark"] .supply-logo-trust-card {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(30, 115, 190, 0.14),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.025)
    ) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32) !important;
}

.supply-logo-trust-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 126px;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-500);
  transform: translateX(-50%);
}

.supply-logo-trust-card:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(255, 210, 0, 0.38) !important;
  box-shadow: 0 36px 86px rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="dark"] .supply-logo-trust-card:hover {
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.42) !important;
}

.supply-trust-logo {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] .supply-trust-logo {
  background: rgba(255, 255, 255, 0.95);
}

.supply-trust-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.supply-trust-logo.ghana-logo {
  padding: 0;
  overflow: hidden;
}

.supply-trust-logo.ghana-logo img {
  object-fit: cover;
}

.supply-trust-logo.erp-logo {
  border-radius: 50%;
  padding: 22px;
  border: 3px solid rgba(30, 115, 190, 0.22);
}

.supply-logo-trust-card h3 {
  margin: 0 0 28px;
  color: #07111d;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

html[data-theme="dark"] .supply-logo-trust-card h3 {
  color: #ffffff;
}

.supply-logo-trust-card p {
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.62;
  margin: 0 0 22px;
}

html[data-theme="dark"] .supply-logo-trust-card p {
  color: rgba(229, 237, 247, 0.72);
}

.supply-logo-trust-card span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(30, 115, 190, 0.18);
  background: rgba(30, 115, 190, 0.07);
  color: #0b3c6d !important;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.2;
}

.supply-logo-trust-card:nth-child(2) span {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.08);
  color: #047857 !important;
}

.supply-logo-trust-card:nth-child(3) span {
  border-color: rgba(255, 210, 0, 0.32);
  background: rgba(255, 210, 0, 0.11);
  color: #7a6200 !important;
}

.supply-logo-trust-card span i {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  box-shadow: none !important;
}

.supply-dashboard-img[src*="procurement_dashboard"] {
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 1180px) {
  .supply-logo-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 720px) {
  .supply-compliance-section {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .supply-logo-trust-grid {
    grid-template-columns: 1fr !important;
  }

  .supply-logo-trust-card {
    min-height: auto;
  }
}
