/* =============================================
   GOLDEN I MINERALS — INNER PAGES
   International Standard Design System
   ============================================= */

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
               "Noto Sans", "Liberation Sans", sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  color: #1a1a2e;
  background: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── VARIABLES ── */
:root {
  --navy:      #1B2A6B;
  --navy-dark: #0E1840;
  --navy-mid:  #243580;
  --gold:      #F5A623;
  --gold-dark: #D4880E;
  --magenta:   #E91E8C;
  --white:     #ffffff;
  --off-white: #F7F8FC;
  --light-grey:#EEF1F8;
  --text-dark: #111827;
  --text-mid:  #374151;
  --text-light:#6B7280;
  --border:    #E5E7EB;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(27,42,107,0.10);
  --shadow-lg: 0 12px 48px rgba(27,42,107,0.16);
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   1. PAGE HERO BANNER
   ============================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg,
    var(--navy-dark) 0%,
    var(--magenta-dk) 35%,
    var(--navy) 65%,
    #1a3a8c 100%);
  padding: 100px 0 70px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(233,30,140,.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(28,52,115,.30) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
/* Breadcrumb — 100% White */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: #ffffff !important;
}
.page-breadcrumb a,
.page-breadcrumb span,
.page-breadcrumb i,
.page-breadcrumb .sep,
.page-breadcrumb .current {
  font-size: 0.88rem;
  color: #ffffff !important;
  font-weight: 600;
}
.page-breadcrumb a:hover {
  color: var(--gold-light) !important;
}

/* Hero Title & Subtitle — 100% Pure White */
.page-hero h1 {
  font-family: 'Cinzel', serif !important;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero h1 span { color: #ffffff !important; text-decoration: underline; text-decoration-color: var(--gold); }
.page-hero p,
.page-hero p.hero-sub {
  font-size: 1.05rem;
  color: #ffffff !important;
  max-width: 650px;
  line-height: 1.7;
  opacity: 0.95;
}
/* Magenta+navy accent bottom line */
.page-hero-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--magenta), var(--gold-light), var(--navy-light));
}
/* Decorative large icon */
.page-hero-icon {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  color: rgba(255,255,255,.06);
  pointer-events: none;
}

/* ============================================
   2. SECTION SUB-NAV (sibling page tabs)
   ============================================ */
.page-subnav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(27,42,107,.08);
}
.page-subnav .container {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-subnav .container::-webkit-scrollbar { display: none; }
.subnav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .25s;
}
.subnav-link i { font-size: 0.78rem; color: var(--magenta); }
.subnav-link:hover {
  color: var(--magenta);
  border-bottom-color: rgba(233,30,140,.35);
}
.subnav-link.active {
  color: var(--magenta-dk);
  border-bottom-color: var(--magenta);
  background: rgba(233,30,140,.04);
}

/* ============================================
   3. SECTION LAYOUTS — Alternating
   ============================================ */

/* Generic section spacing */
.ip-section {
  padding: 90px 0;
}
.ip-section.bg-white   { background: var(--white); }
.ip-section.bg-light   { background: var(--off-white); }
.ip-section.bg-navy    { background: var(--navy-dark); }
.ip-section.bg-pattern {
  background: var(--off-white)
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231B2A6B' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* Section label + heading */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--magenta);
}
.section-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-heading span { color: var(--navy); }
.bg-navy .section-heading { color: #fff; }
.bg-navy .section-label  { color: var(--gold); }
.bg-navy .section-label::before { background: var(--gold); }
.section-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.bg-navy .section-text { color: rgba(255,255,255,.75); }

/* ── Split Row: text ↔ image ── */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }

/* Content side */
.split-content {}

/* Image side */
.split-image {
  position: relative;
}
.split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
/* Decorative overlay badge on image — High Contrast Gold Background */
.img-badge {
  position: absolute !important;
  bottom: -20px !important;
  left: -20px !important;
  background: linear-gradient(135deg, #F5C518 0%, #D4A017 100%) !important;
  color: #0F1F52 !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22) !important;
  text-align: center !important;
  border: 2px solid #ffffff !important;
  z-index: 10 !important;
}
.img-badge,
.img-badge *,
.img-badge .badge-num,
.img-badge .badge-text,
.img-badge .num,
.img-badge .label,
.img-badge span,
.img-badge strong {
  color: #0F1F52 !important;
}
.img-badge .badge-num,
.img-badge .num,
.img-badge strong {
  display: block !important;
  font-family: 'Cinzel', serif !important;
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  color: #0F1F52 !important;
  line-height: 1 !important;
}
.img-badge .badge-text,
.img-badge .label,
.img-badge span {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #0F1F52 !important;
  display: block !important;
  margin-top: 3px !important;
  white-space: nowrap !important;
}
/* Gold corner accent on image */
.split-image::after {
  content: '';
  position: absolute;
  top: -14px;
  right: -14px;
  width: 90px;
  height: 90px;
  border-top: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
  border-radius: 0 var(--radius) 0 0;
  pointer-events: none;
}

/* ── Inline CTA Button ── */
.btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all .25s;
  cursor: pointer;
  text-decoration: none;
}
.btn-inline.primary {
  background: var(--navy);
  color: #ffffff !important;
}
.btn-inline.primary:hover {
  background: var(--magenta);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,30,140,.35);
}
.btn-inline.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark) !important;
}
.btn-inline.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,.4);
}
.btn-inline.outline {
  border: 1px solid var(--white);
  color: var(--white) !important;
}
.btn-inline.outline:hover {
  background: var(--white);
  color: var(--navy) !important;
}

/* Check list */
.ip-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.ip-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-dark) !important;
  line-height: 1.5;
  list-style: none;
}
/* Only show ::before check icon when li does NOT contain an <i> tag */
.ip-checklist li:not(:has(i))::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--magenta);
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.ip-checklist li:has(i)::before {
  display: none;
}
.ip-checklist li > i {
  font-size: 1rem;
  color: var(--magenta);
  margin-top: 2px;
  flex-shrink: 0;
  min-width: 16px;
}
.bg-navy .ip-checklist li { color: rgba(255,255,255,.9) !important; }

/* Universal 2-Font System — Cinzel for all Headings & Titles */
h1, h2, h3, h4, h5, h6,
.section-heading,
.slide-title,
.page-hero h1,
.stat-num,
.logo-gim,
.logo-title,
.footer-logo-text,
.team-body h3,
.ip-card h3,
.mv-card h3,
.value-card h4 {
  font-family: 'Cinzel', serif !important;
}

/* ============================================
   4. STATS BAR — Sleek, Reduced Height
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 24px 0 !important;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 16px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.stat-item:hover {
  background: rgba(233,30,140,0.12);
  border-color: rgba(233,30,140,0.3);
}
.stat-num {
  display: block;
  font-family: 'Cinzel', serif !important;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light) !important;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================
   5. CARD GRIDS — Single Row 4-Columns on Desktop
   ============================================ */
/* ============================================
   5. CARD GRIDS — Uniform Height & Alignment
   ============================================ */
.cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px !important;
  margin-top: 40px !important;
  align-items: stretch !important;
}
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; }

@media (max-width: 1100px) {
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 576px) {
  .cards-grid.cols-4, .cards-grid.cols-2, .cards-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

.ip-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 32px 26px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: var(--shadow) !important;
  box-sizing: border-box !important;
}
.ip-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--magenta));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.ip-card:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg) !important; border-color: var(--gold) !important; }
.ip-card:hover::before { transform: scaleX(1); }

.ip-card-icon {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, rgba(27,42,107,.08), rgba(233,30,140,.10)) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  flex-shrink: 0 !important;
}
.ip-card-icon i { font-size: 1.4rem !important; color: var(--magenta) !important; }
.ip-card h3 {
  font-family: 'Cinzel', serif !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-bottom: 10px !important;
}
.ip-card p {
  font-size: 0.9rem !important;
  color: var(--text-mid) !important;
  line-height: 1.7 !important;
  flex-grow: 1 !important;
  margin: 0 0 16px 0 !important;
}
.ip-card .card-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: var(--magenta) !important;
  margin-top: auto !important;
  transition: gap .2s !important;
}
.ip-card .card-link:hover { gap: 10px !important; color: var(--navy) !important; }

/* ── Team cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  height: 200px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.team-initials {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--gold), var(--magenta));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem; font-weight: 800; color: #fff;
}
.team-body { padding: 22px 20px; }
.team-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; font-weight: 600; color: var(--magenta); margin-bottom: 10px; display: block; }
.team-desc { font-size: 0.84rem; color: var(--text-mid); line-height: 1.6; }

/* ============================================
   6. PROCESS STEPS — Horizontal Grid Cards
   ============================================ */
.process-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin-top: 40px !important;
  position: relative !important;
}
.process-row::before {
  display: none !important; /* Remove overlapping line bug */
}
.process-step, .ep-step {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 30px 20px !important;
  text-align: center !important;
  position: relative !important;
  z-index: 1 !important;
  box-shadow: var(--shadow) !important;
  transition: all 0.3s ease !important;
}
.process-step:hover, .ep-step:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--magenta) !important;
}
.step-circle, .ep-step i {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  border: 2px solid var(--magenta) !important;
  box-shadow: 0 4px 16px rgba(233,30,140,0.25) !important;
  font-size: 1.3rem !important;
  color: var(--gold-light) !important;
}
.step-circle i { font-size: 1.3rem !important; color: var(--gold-light) !important; }
.process-step h4, .ep-step h4 {
  font-family: 'Cinzel', serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin-bottom: 8px !important;
}
.bg-navy .process-step h4, .bg-navy .ep-step h4 { color: #fff !important; }
.process-step p, .ep-step p {
  font-size: 0.86rem !important;
  color: var(--text-mid) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.bg-navy .process-step p, .bg-navy .ep-step p { color: rgba(255,255,255,.75) !important; }

/* ── Process Grid (How We Work / From Mine to Market) ── */
.process-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin-top: 36px !important;
}
.process-card {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 28px 20px !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: var(--shadow) !important;
  transition: all 0.3s ease !important;
}
.process-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--gold) !important;
}
.pc-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  border: 2px solid var(--gold) !important;
  box-shadow: 0 4px 16px rgba(245,166,35,0.25) !important;
  font-size: 1.25rem !important;
  color: var(--gold) !important;
}
.pc-step {
  display: inline-block !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: var(--magenta) !important;
  background: rgba(233,30,140,0.08) !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
}
.process-card h4 {
  font-family: 'Cinzel', serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin-bottom: 8px !important;
}
.process-card p {
  font-size: 0.85rem !important;
  color: var(--text-mid) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
@media (max-width: 992px) {
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 576px) {
  .process-grid { grid-template-columns: 1fr !important; }
}

/* ── Vertical process steps (for service pages) ── */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.process-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all .25s;
}
.process-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.process-num {
  min-width: 46px; height: 46px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 800; font-size: 1rem;
  color: var(--gold);
}
.process-item-body h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 4px;
}
.process-item-body p {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; margin: 0;
}

/* ============================================
   7. TIMELINE (Government Projects)
   ============================================ */
.timeline-section {
  position: relative;
  padding-left: 0;
}
.timeline-track {
  position: relative;
  padding-left: 52px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--magenta), var(--navy));
  border-radius: 3px;
}
.tl-item {
  position: relative;
  margin-bottom: 32px;
}
.tl-dot {
  position: absolute;
  left: -40px; top: 18px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--magenta));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  transition: all .25s;
}
.tl-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateX(4px); }
.tl-year {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.tl-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.tl-card p  { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 10px; line-height: 1.6; }
.tl-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.tl-tag {
  font-size: 0.75rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 3px 12px;
  border-radius: 10px;
  font-weight: 600;
}

/* ============================================
   8. FULL-WIDTH CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3a8a 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(233,30,140,.18) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(28,52,115,.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}
.cta-banner .btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ── Inline CTA Buttons (High Visibility) ── */
.btn-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 28px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}
.btn-inline.primary {
  background: var(--magenta) !important;
  color: #ffffff !important;
  border: 1px solid var(--magenta) !important;
  box-shadow: 0 4px 16px rgba(233,30,140,0.45) !important;
}
.btn-inline.primary:hover {
  background: var(--magenta-dk) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(233,30,140,0.6) !important;
}
.btn-inline.secondary {
  background: transparent !important;
  color: var(--gold-light) !important;
  border: 1.5px solid var(--gold-light) !important;
}
.btn-inline.secondary:hover {
  background: rgba(245,197,24,0.12) !important;
  transform: translateY(-3px) !important;
}

/* ── Certifications Strip (Pure White Background & Colorful Badges) ── */
.cert-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  padding: 24px 36px !important;
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  margin-top: 40px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}
.cert-badge {
  padding: 10px 22px !important;
  border-radius: 30px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  transition: all 0.3s ease !important;
}
.cert-badge:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1) !important;
}
.cert-badge:nth-child(1) {
  background: rgba(28, 52, 115, 0.08) !important;
  border: 1.5px solid #1C3473 !important;
  color: #1C3473 !important;
}
.cert-badge:nth-child(1) i { color: #1C3473 !important; }
.cert-badge:nth-child(2) {
  background: rgba(201, 160, 48, 0.12) !important;
  border: 1.5px solid #C9A030 !important;
  color: #8B6B00 !important;
}
.cert-badge:nth-child(2) i { color: #C9A030 !important; }
.cert-badge:nth-child(3) {
  background: rgba(233, 30, 140, 0.08) !important;
  border: 1.5px solid #E91E8C !important;
  color: #C2185B !important;
}
.cert-badge:nth-child(3) i { color: #E91E8C !important; }
.cert-badge:nth-child(4) {
  background: rgba(0, 137, 123, 0.08) !important;
  border: 1.5px solid #00897B !important;
  color: #00695C !important;
}
.cert-badge:nth-child(4) i { color: #00897B !important; }

/* ============================================
   9. SPEC TABLE (Product pages)
   ============================================ */
.spec-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
.spec-table tr:hover td { background: rgba(27,42,107,.02); }
.spec-table td {
  padding: 14px 18px;
  font-size: 0.9rem;
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  background: rgba(27,42,107,.03);
  width: 38%;
  border-right: 1px solid var(--border);
}
.spec-table td:last-child { color: var(--text-mid); }

/* Product tabs */
.ip-tabs { margin: 32px 0; }
.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 13px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.tab-panel { display: none; animation: fadeUp .35s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Product image */
.product-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   10. CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(27,42,107,.08), rgba(245,166,35,.10));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon i { font-size: 1.1rem; color: var(--navy); }
.contact-item-body h4 {
  font-size: 0.88rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 4px;
}
.contact-item-body p, .contact-item-body a {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.6;
}
.contact-item-body a:hover { color: var(--navy); }

/* Enquiry form */
.ip-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.ip-form input,
.ip-form select,
.ip-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.ip-form input:focus,
.ip-form select:focus,
.ip-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,107,.08);
}
.ip-form textarea { min-height: 120px; resize: vertical; }
.ip-form .submit-btn {
  background: var(--magenta);
  color: #fff;
  padding: 15px 36px;
  border: 1px solid var(--navy-mid);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .25s;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ip-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,42,107,.3);
}

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, #e8eef8, #dce5f5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}
.map-placeholder i { font-size: 3rem; color: var(--navy); opacity: .4; }
.map-placeholder p { font-size: 0.9rem; }

/* ============================================
   11. COUNTRY GRID (Export)
   ============================================ */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: all .25s;
}
.country-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.country-flag { font-size: 2.4rem; margin-bottom: 8px; }
.country-name { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.country-product { font-size: 0.75rem; color: var(--text-light); }

/* ============================================
   12. MISSION / VALUES
   ============================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.mv-card {
  padding: 40px 36px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.mv-card.mission {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
}
.mv-card.vision {
  background: linear-gradient(135deg, rgba(245,166,35,.08), rgba(233,30,140,.06));
  border: 1.5px solid rgba(245,166,35,.3);
}
.mv-card i { font-size: 2.5rem; margin-bottom: 18px; display: block; }
.mv-card.mission i { color: var(--gold); }
.mv-card.vision  i { color: var(--navy); }
.mv-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
}
.mv-card.mission h3 { color: var(--gold); }
.mv-card.vision  h3 { color: var(--navy); }
.mv-card p { font-size: 0.95rem; line-height: 1.8; }
.mv-card.mission p { color: rgba(255,255,255,.8); }
.mv-card.vision  p { color: var(--text-mid); }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .3s;
}
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(27,42,107,.08), rgba(245,166,35,.10));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.value-icon i { font-size: 1.4rem; color: var(--navy); }
.value-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* ============================================
   13. CSR CARDS
   ============================================ */
.csr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.csr-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.csr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.csr-card-top {
  background: var(--navy);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 14px;
}
.csr-card-top i { font-size: 1.8rem; color: var(--gold); }
.csr-card-top h3 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.csr-card-body { padding: 24px 28px; }
.csr-card-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================
   14. CERTIFICATIONS STRIP
   ============================================ */
.cert-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cert-strip span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text-dark);
  margin-right: 8px;
}
.cert-badge {
  padding: 6px 14px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ============================================
   15. RESPONSIVE — COMPREHENSIVE FOR ALL CARDS
   ============================================ */
@media (max-width: 1024px) {
  .split-row { grid-template-columns: 1fr !important; gap: 36px !important; }
  .split-row.reverse { direction: ltr !important; }
  .split-image img { height: 320px; }
  .cards-grid,
  .cards-grid.cols-4,
  .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .process-row { grid-template-columns: repeat(2, 1fr) !important; }
  .process-row::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .mv-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .country-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .ip-section { padding: 50px 0; }
  .page-hero { padding: 75px 0 45px; }
  .cards-grid,
  .cards-grid.cols-4,
  .cards-grid.cols-2,
  .mv-grid,
  .values-grid,
  .team-grid,
  .csr-grid,
  .process-row { grid-template-columns: 1fr !important; gap: 18px !important; }
  
  /* Stats Grid: equal width and height square cards */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .stats-grid .stat-item {
    aspect-ratio: 1 / 1 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 14px !important;
  }
  .stats-grid .stat-num {
    font-size: 1.8rem !important;
    color: var(--gold-light) !important;
  }
  .stats-grid .stat-label {
    color: #ffffff !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .country-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .split-image::after { display: none; }
  .img-badge { bottom: 10px; left: 10px; }
  .form-row { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .page-subnav .container { gap: 0; }
  .subnav-link { padding: 12px 10px; font-size: 0.78rem; }
  .subnav-link i { display: none; }
  .split-image img { height: 250px; }
  .cta-banner { padding: 48px 0; }
  .cta-banner h2 { font-size: 1.5rem; }
  .btn-inline { padding: 12px 20px; font-size: 0.84rem; width: 100%; justify-content: center; }
  .img-badge { padding: 12px 16px; }
  .img-badge .badge-num { font-size: 1.6rem !important; }
  .img-badge .badge-text { font-size: 0.72rem !important; }
  .ip-card { padding: 24px 20px !important; }
  .team-photo { height: 160px; }
  .team-initials { width: 72px; height: 72px; font-size: 1.6rem; }
  .tl-card { padding: 16px 18px; }
  .contact-grid { gap: 28px; }
  .ip-form .submit-btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .cert-strip { gap: 10px; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-heading { font-size: clamp(1.3rem, 5vw, 1.8rem); }
}

/* ── Extra subnav improvements ── */
.page-subnav {
  -webkit-overflow-scrolling: touch;
}
.page-subnav .container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.split-image img {
  max-width: 100%;
}
@media (max-width: 600px) {
  .split-row { gap: 28px !important; }
  .ip-section { padding: 44px 0; }
  .stats-bar { padding: 36px 0; }
  .cards-grid { gap: 16px !important; }
  .csr-grid { gap: 16px !important; }
  .mv-grid { gap: 16px !important; }
  .timeline-track { padding-left: 36px; }
  .tl-dot { left: -26px; width: 16px; height: 16px; }
}
