/* ==========================================================================
   VIJAY GLOBAL EXPORTS — Why Us Page
   ========================================================================== */

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.reason-card {
  position: relative;
  padding-top: var(--space-md);
}
.reason-card__num {
  position: absolute;
  top: 0; right: var(--space-md);
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--color-cream-deep);
  z-index: 0;
  line-height: 1;
}
.reason-card .icon-tile, .reason-card h3, .reason-card p { position: relative; z-index: 1; }

/* ---- Comparison table ---- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  min-width: 100%;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
}
.compare-table thead th {
  background: var(--color-blue-dark);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.compare-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.yes { color: var(--color-blue-deep); font-weight: 700; }
.compare-table td.check svg { width: 19px; height: 19px; color: #2DAF5E; }
.compare-table td.cross svg { width: 19px; height: 19px; color: #C94B4B; }
.compare-table tbody tr:nth-child(odd) { background: var(--color-cream); }

/* ---- Process timeline (vertical) ---- */
.process-list { display: flex; flex-direction: column; gap: 0; position: relative; }
.process-list::before {
  content: "";
  position: absolute;
  left: 27px; top: 14px; bottom: 14px;
  width: 2px;
  background: var(--color-line);
}
.process-item {
  display: flex;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  position: relative;
}
.process-item__dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-orange-dark);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-item__body h4 { color: var(--color-blue-dark); margin-bottom: 0.3rem; }
.process-item__body p { color: var(--color-ink-soft); font-size: 0.94rem; max-width: 60ch; }

/* ---- Certification badges ---- */
.cert-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 130px;
  text-align: center;
}
.cert-badge .port-stamp { width: 84px; height: 84px; }
.cert-badge .port-stamp__inner { width: 68px; height: 68px; }
.cert-badge .port-stamp__inner strong { font-size: 1.05rem; }
.cert-badge span { font-size: 0.84rem; font-weight: 600; color: var(--color-blue-dark); }

@media (max-width: 980px) {
  .reason-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .reason-grid { grid-template-columns: 1fr; }
  .process-list::before { left: 23px; }
  .process-item__dot { width: 46px; height: 46px; font-size: 0.85rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  width: 200px;
  height: 55px;
  object-fit: contain;
  display: block;
  margin-left: 0%;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 700;
}

.brand__sub {
  font-size: 0.75rem;
  opacity: 0.8;
}
/* =========================
   Reduce all section gaps
   ========================= */

.section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.section--tight {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

/* Banner → First Section */
.page-hero {
  padding-bottom: 40px !important;
  margin-bottom: 0 !important;
}

.page-hero + .section {
  padding-top: 20px !important;
}

/* Section headings */
.section-head {
  margin-bottom: 20px !important;
}

.section-head h2 {
  margin-bottom: 5px;
}

.section-head .eyebrow {
  margin-bottom: 5px;
}

/* Reduce container spacing inside sections */
.reason-grid,
.compare-wrap,
.process-list,
.cert-row {
  margin-top: 15px;
}
/* ==========================================
   WHY US PAGE - COMPACT TYPOGRAPHY
   ========================================== */

/* Section headings */
.section-head h2 {
  font-size: 2rem;
}

.section-head .lead {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Reason cards */
.reason-card {
  padding: 18px;
}

.reason-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.reason-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.reason-card__num {
  font-size: 2.5rem;
}

/* Comparison table */
.compare-table th,
.compare-table td {
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
}

.compare-table thead th {
  font-size: 0.95rem;
}

/* Process section */
.process-item {
  padding-block: 12px;
}

.process-item__body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.process-item__body p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.process-item__dot {
  width: 50px;
  height: 50px;
  font-size: 0.95rem;
}

/* Quality badges */
.cert-badge {
  width: 115px;
}

.cert-badge span {
  font-size: 0.8rem;
}

.cert-badge .port-stamp {
  width: 75px;
  height: 75px;
}

.cert-badge .port-stamp__inner {
  width: 60px;
  height: 60px;
}

.cert-badge .port-stamp__inner strong {
  font-size: 0.95rem;
}

.cert-badge .port-stamp__inner span {
  font-size: 0.65rem;
}

/* CTA section */
.cta-band h2 {
  font-size: 1.6rem;
}

.cta-band p {
  font-size: 0.9rem;
}

/* Icons slightly smaller */
.icon-tile {
  width: 52px;
  height: 52px;
}

.icon-tile svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 768px) {

  .compare-wrap {
    overflow-x: hidden;
  }

  .compare-table {
    min-width: 100%;
    table-layout: fixed;
  }

  .compare-table th,
  .compare-table td {
    padding: 8px 6px;
    font-size: 0.75rem;
    word-wrap: break-word;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    width: 50%;
  }

  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2),
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3) {
    width: 25%;
    text-align: center;
  }

  .compare-table td.check svg,
  .compare-table td.cross svg {
    width: 15px;
    height: 15px;
  }
}
