:root {
  --navy: #0f2942;
  --navy-dark: #091a2b;
  --blue: #007bc4;
  --blue-dark: #005a9e;
  --blue-soft: #e6f4fc;
  --green: #15803d;
  --green-hover: #166534;
  --green-dark: #166534;
  --green-light: #dcfce7;
  --green-soft: #e8f8f0;
  --turmeric-soft: #fef5e7;
  --turmeric-text: #8c5300;
  --chilli-soft: #fdf0e6;
  --chilli-text: #a34000;
  --ice: #f1f5f9;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 30px rgba(15, 41, 66, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--navy);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar a:hover { color: #ffffff; text-decoration: underline; }

.top-badge {
  background: rgba(255,255,255,0.12);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 500;
}

/* Navbar & Multi-Layer Mega Menu */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(15, 41, 66, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--green);
  letter-spacing: -0.03em;
}

.brand-logo span.tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-item > a:hover,
.nav-item > a.active {
  color: var(--green);
  background: #f0fdf4;
}

/* Mega Dropdown for Products */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  max-width: 94vw;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(15, 41, 66, 0.16);
  padding: 22px;
  z-index: 300;
}

.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega:focus-within .mega-menu,
.nav-item.has-mega.open .mega-menu {
  display: block;
}

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

.mega-col-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--green-light);
}

.mega-col-title a {
  color: var(--green);
  font-weight: 700;
}

.mega-col-title a:hover {
  text-decoration: underline;
}

.mega-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-sublist a {
  display: block;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: all 0.15s ease;
}

.mega-sublist a:hover {
  background: var(--ice);
  color: var(--navy);
  padding-left: 12px;
}

.mega-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.mobile-toggle {
  display: none;
  background: var(--ice);
  border: 1px solid var(--border);
  color: var(--navy);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-sm { padding: 8px 14px; font-size: 0.84rem; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-blue { background: var(--navy); color: #fff; }
.btn-blue:hover { background: var(--navy-dark); }
.btn-outline-white {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.18); }
.btn-outline-blue {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-blue:hover { background: var(--navy); color: #fff; }

/* Hero Section (Matches Original Attachment Layout) */
.hero {
  position: relative;
  background: linear-gradient(100deg, rgba(9, 26, 43, 0.92) 0%, rgba(15, 41, 66, 0.82) 55%, rgba(15, 41, 66, 0.68) 100%),
              url("https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: #ffffff;
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 span {
  color: #4ade80;
}

.hero-lead {
  color: #e2e8f0;
  font-size: 1.02rem;
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.hero-trust-strip i {
  color: #4ade80;
  margin-right: 4px;
}

.hero-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.hero-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.form-group { margin-bottom: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-control:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.alert-success {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green-hover);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
.section { padding: 72px 0; }
.section-ice { background: var(--ice); }
.section-navy {
  background: var(--navy);
  color: #e2e8f0;
}
.section-navy h2, .section-navy h3 { color: #ffffff; }
.section-navy .section-header p { color: #cbd5e1; }

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 8px;
}

.section-navy .section-kicker { color: #4ade80; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.section-header p { color: var(--muted); font-size: 0.98rem; }

/* Page Sub-Banner for Dedicated Pages */
.subpage-banner {
  background: linear-gradient(100deg, var(--navy-dark), var(--navy));
  color: #ffffff;
  padding: 44px 0;
}

.subpage-banner h1 { color: #ffffff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.subpage-banner p { color: #cbd5e1; max-width: 720px; }
.breadcrumb { font-size: 0.84rem; color: #94a3b8; margin-bottom: 10px; }
.breadcrumb a { color: #4ade80; }

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.about-badge-card {
  position: absolute;
  bottom: -18px;
  right: 20px;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-badge-card strong { display: block; font-size: 0.95rem; color: #4ade80; }
.about-badge-card span { font-size: 0.8rem; color: #e2e8f0; }

.about-content h2 { font-size: 2rem; margin-bottom: 14px; }
.about-content p { color: var(--muted); margin-bottom: 14px; }

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}

.metric-box {
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.metric-box strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.metric-box span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; display: block; }

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.category-img {
  position: relative;
  height: 185px;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.category-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.category-body > p { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }

.category-items-list {
  background: var(--ice);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.category-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.link-arrow {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.link-arrow:hover { color: var(--green); }

/* Pillars & Origin */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.pillar-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.pillar-card p { font-size: 0.88rem; color: var(--muted); }

.origin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.origin-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}

.origin-region {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 8px;
}

.origin-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.origin-card p { font-size: 0.88rem; color: #cbd5e1; }

/* Certs & Markets */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.cert-badge-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.cert-code {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.cert-badge-box h4 { font-size: 1rem; margin-bottom: 6px; }
.cert-badge-box p { font-size: 0.82rem; color: var(--muted); }

.markets-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.market-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(105deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 { color: #fff; font-size: 1.65rem; margin-bottom: 8px; }
.cta-banner p { color: #cbd5e1; max-width: 640px; }

/* Product Catalog Grid on Dedicated Pages */
.product-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.product-item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-item-card h3 { font-size: 1.08rem; }
.product-item-card p { font-size: 0.86rem; color: var(--muted); }
.product-meta { font-size: 0.8rem; color: var(--navy); font-weight: 600; }

/* Footer */
.footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo-wrap {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #4ade80;
  margin-bottom: 12px;
}

.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; font-size: 0.88rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: #4ade80; margin-top: 4px; }

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #16a34a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 250;
}

/* Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 26, 43, 0.72);
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 400;
}

.modal-backdrop.open { display: flex; }

.modal-box {
  background: #fff;
  color: var(--ink);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--ice);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .category-grid, .pillars-grid, .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-menu { position: static; transform: none; width: 100%; box-shadow: none; border-radius: 8px; margin-top: 8px; }
  .mega-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .category-grid, .pillars-grid, .origin-grid, .cert-strip, .trust-metrics, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   SCOPED PAGE STYLES (Isolated so edits never alter unrelated pages)
   ========================================================================== */

/* Home Screen Hero, Markets, Category Cards & Modal Safeguards */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--blue-dark) 100%);
  color: #ffffff;
  padding: 56px 0 48px;
}
.hero h1 { color: #ffffff; font-size: clamp(2rem, 1.45rem + 1.8vw, 3rem); line-height: 1.15; margin: 10px 0 14px; }
.hero-lead { color: #e2e8f0; font-size: 1.02rem; max-width: 60ch; margin: 0 0 22px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.12); color: #ffffff;
  font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-trust-strip { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.84rem; color: #cbd5e1; }
.hero-trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr); gap: 32px; align-items: center; }
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: #ffffff; font-size: 1.15rem; margin-bottom: 12px; }
.hero-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; color: #e2e8f0; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; }
.hero-card i { color: #6ee7b7; margin-top: 4px; }

.markets-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; }
.markets-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.markets-label { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.markets-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.market-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px; font-size: 0.78rem; font-weight: 600; color: var(--ink);
}

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.category-img { width: 100%; height: 170px; object-fit: cover; display: block; background: var(--blue-soft); }
.category-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.category-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); align-self: flex-start; }
.category-card h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.category-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }
.category-items-list { margin: 4px 0 8px; padding-left: 16px; font-size: 0.82rem; color: var(--ink); }
.category-items-list li { margin-bottom: 4px; }
.category-footer { padding: 0 18px 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; color: var(--blue-dark); text-decoration: none; }
.link-arrow:hover { color: var(--navy); }

/* Scoped Quality & Certificates Page Rules (.cert-page) */
.cert-page .banner-cert-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px;
}
.cert-page .banner-cert-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; color: var(--navy); border-radius: 999px;
  padding: 4px 11px 4px 6px; font-size: 0.74rem; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
.cert-page .banner-cert-pill img {
  height: 18px; width: auto; max-width: 44px; object-fit: contain; border-radius: 3px; display: block;
}
.cert-page .cert-body-img {
  height: 24px; width: auto; max-width: 64px; object-fit: contain;
  background: #ffffff; border: 1px solid var(--border); border-radius: 6px;
  padding: 2px 5px; display: inline-block; vertical-align: middle;
}
.cert-page .cert-body-img-lg {
  height: 30px; width: auto; max-width: 78px; object-fit: contain;
  background: #ffffff; border: 1px solid var(--border); border-radius: 7px;
  padding: 2px 6px; display: inline-block; flex: 0 0 auto;
}
.cert-page .cert-chip-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 6px;
}
.cert-page .cert-mini-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px 4px 6px; font-size: 0.74rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.cert-page .cert-mini-badge img {
  height: 18px; width: auto; max-width: 44px; object-fit: contain; border-radius: 3px;
}
.cert-page .bifurcation-banner {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.cert-page .bif-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.cert-page .bif-owned { border-top: 4px solid var(--blue); }
.cert-page .bif-collab { border-top: 4px solid var(--green); }
.cert-page .bif-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.cert-page .owned-tag { background: var(--blue-soft); color: var(--blue-dark); }
.cert-page .collab-tag { background: var(--green-soft); color: var(--green-dark); }
.cert-page .cert-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.cert-page .cert-badge-box {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue);
  border-radius: var(--radius-md); padding: 20px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  display: flex; flex-direction: column; gap: 8px;
}
.cert-page .cert-top-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cert-page .cert-code {
  display: inline-block; background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px;
}
.cert-page .owner-pill {
  display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.cert-page .owned-pill { background: var(--blue-soft); color: var(--blue-dark); }
.cert-page .collab-pill { background: var(--green-soft); color: var(--green-dark); }
.cert-page .collab-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.cert-page .collab-card {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--green);
  border-radius: var(--radius-md); padding: 20px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  display: flex; flex-direction: column; gap: 8px;
}
.cert-page .collab-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cert-page .collab-sub-label { font-size: 0.74rem; font-weight: 700; color: var(--text-muted); }
.cert-page .comparison-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.cert-page table.comp-table { width: 100%; border-collapse: collapse; }
.cert-page table.comp-table th, .cert-page table.comp-table td {
  padding: 13px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.88rem; vertical-align: middle;
}
.cert-page table.comp-table th { color: var(--navy); background: #f8fafc; font-weight: 700; }
.cert-page .table-body-cell { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* Scoped About Page Rules (.about-page) */
.about-page .about-content h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); line-height: 1.25; margin-bottom: 12px; }
.about-page .about-content p { color: var(--text-muted); margin-bottom: 14px; }
.about-page .about-media img { min-height: 260px; background: var(--blue-soft); }
.about-page .trust-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.about-page .metric-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.about-page .metric-box strong { display: block; color: var(--navy); font-size: 0.92rem; margin-bottom: 4px; }
.about-page .metric-box span { display: block; color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; }
.about-page .mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-page .mv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04); }
.about-page .mv-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.about-page .belt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.about-page .origin-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-md); padding: 22px; }
.about-page .origin-region { font-size: 0.78rem; font-weight: 700; color: #6ee7b7; margin-bottom: 6px; }
.about-page .origin-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.about-page .origin-card p { margin: 0; font-size: 0.88rem; line-height: 1.55; }
.about-page .portfolio-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.about-page .portfolio-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04); }
.about-page .portfolio-box h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.about-page .portfolio-box ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 0.88rem; }
.about-page .portfolio-box li { margin-bottom: 6px; }
.about-page .belt-tag { display: inline-block; background: var(--blue-soft); color: var(--blue-dark); font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.about-page .pillars-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.about-page .pillar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.about-page .pillar-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 12px; }
.about-page .pillar-card h3 { font-size: 1rem; margin-bottom: 6px; }
.about-page .pillar-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-page .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .cert-page .cert-strip, .cert-page .collab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-page .portfolio-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .category-grid { grid-template-columns: 1fr; }
  .cert-page .bifurcation-banner, .cert-page .cert-strip, .cert-page .collab-grid { grid-template-columns: 1fr; }
  .about-page .trust-metrics, .about-page .mv-grid, .about-page .belt-grid, .about-page .pillars-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   HOME PAGE COMPLETE LAYOUT & COMPONENT FIXES
   ========================================================================== */
.section { padding: 60px 0; }
.section-ice { background: #f1f5f9; }
.section-navy { background: var(--navy); color: #ffffff; }
.section-navy h2, .section-navy h3 { color: #ffffff; }
.section-navy p { color: #cbd5e1; }
.section-navy .section-kicker { color: #6ee7b7; }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 36px; }
.section-kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 6px; }

.btn-blue { background: var(--blue); color: #ffffff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline-white { background: transparent; color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.75); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-blue { background: transparent; color: var(--blue-dark); border: 1.5px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue-soft); }

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--blue-dark) 100%);
  color: #ffffff;
  padding: 56px 0 48px;
}
.hero h1 { color: #ffffff; font-size: clamp(2rem, 1.45rem + 1.8vw, 3rem); line-height: 1.15; margin: 10px 0 14px; }
.hero h1 span { color: #6ee7b7; }
.hero-lead { color: #e2e8f0; font-size: 1.02rem; max-width: 60ch; margin: 0 0 22px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.12); color: #ffffff;
  font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-trust-strip { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.84rem; color: #cbd5e1; }
.hero-trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr); gap: 32px; align-items: center; }

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.hero-card h3 { color: #ffffff; font-size: 1.15rem; margin-bottom: 6px; }
.hero-card p { color: #e2e8f0; font-size: 0.88rem; margin: 0 0 14px; }
.hero-card .form-group { margin-bottom: 10px; }
.hero-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-card .form-control {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  border: 1px solid #cbd5e1; background: #ffffff; color: var(--ink); font-size: 0.88rem;
}

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; }
.about-media img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); display: block; background: var(--blue-soft); }
.about-badge-card { margin-top: 12px; background: var(--blue-soft); padding: 14px 18px; border-radius: var(--radius-sm); display: flex; flex-direction: column; }
.about-badge-card strong { color: var(--navy); font-size: 0.94rem; }
.about-badge-card span { color: var(--text-muted); font-size: 0.84rem; }
.about-content h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); line-height: 1.25; margin-bottom: 12px; }
.about-content p { color: var(--text-muted); margin-bottom: 14px; }

.trust-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 22px; }
.metric-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.metric-box strong { display: block; color: var(--navy); font-size: 0.92rem; margin-bottom: 4px; }
.metric-box span { display: block; color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.category-img { position: relative; width: 100%; height: 175px; overflow: hidden; background: var(--blue-soft); }
.category-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-img .category-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(15, 41, 74, 0.86); color: #ffffff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.category-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.category-card h3 { font-size: 1.06rem; margin: 0 0 4px; }
.category-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }
.category-items-list { margin-top: 4px; font-size: 0.82rem; color: var(--ink); line-height: 1.45; }
.category-footer {
  padding: 12px 18px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-top: 1px solid #f1f5f9;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--blue-dark); text-decoration: none; }
.link-arrow:hover { color: var(--navy); }

.pillars-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.pillar-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-bottom: 12px;
}
.pillar-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.pillar-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

.origin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.origin-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md); padding: 22px;
}
.origin-region { font-size: 0.78rem; font-weight: 700; color: #6ee7b7; margin-bottom: 6px; }
.origin-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.origin-card p { margin: 0; font-size: 0.88rem; line-height: 1.55; }

body:not(.cert-page) .cert-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
body:not(.cert-page) .cert-badge-box {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--blue); border-radius: var(--radius-md); padding: 18px;
}
body:not(.cert-page) .cert-code {
  display: inline-block; background: var(--blue-soft); color: var(--blue-dark);
  font-size: 0.72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px;
}
body:not(.cert-page) .cert-badge-box h4 { font-size: 1rem; margin-bottom: 4px; }
body:not(.cert-page) .cert-badge-box p { margin: 0; font-size: 0.84rem; color: var(--text-muted); }

.markets-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.market-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 600; color: var(--navy);
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: #ffffff; border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-banner h2 { color: #ffffff; margin-bottom: 6px; }
.cta-banner p { color: #e2e8f0; margin: 0; max-width: 62ch; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px;
  background: var(--green); color: #ffffff;
  padding: 11px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 25px rgba(22, 128, 69, 0.35); z-index: 500;
}

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6);
  display: none; align-items: center; justify-content: center; padding: 16px; z-index: 999;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 560px; width: 100%;
  padding: 26px; position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  max-height: 92vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 16px; background: #f1f5f9; border: 0;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}
.modal-box .form-group { margin-bottom: 12px; }
.modal-box .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-box label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.modal-box .form-control {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  border: 1px solid var(--border); font-size: 0.88rem; color: var(--ink);
}
.alert-success { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); font-size: 0.85rem; font-weight: 600; }

@media (max-width: 1080px) {
  .category-grid, .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not(.cert-page) .cert-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .origin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .category-grid, .pillars-grid, .trust-metrics, .hero-card .form-row, .modal-box .form-row { grid-template-columns: 1fr; }
  body:not(.cert-page) .cert-strip { grid-template-columns: 1fr; }
}


/* ==========================================================================
   NAVBAR BRAND LOGO & NESTED DROPDOWN / SUBMENU FIX
   ========================================================================== */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo img {
  height: 46px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--green);
  background: #f0fdf4;
}
.nav-links > li > a.btn-green {
  color: #ffffff;
  background: var(--green);
}
.nav-links > li > a.btn-green:hover {
  background: var(--green-hover, var(--green-dark, #166534));
  color: #ffffff;
}

.dropdown-menu,
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 245px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 41, 66, 0.14);
  z-index: 400;
}
.dropdown-menu > li {
  position: relative;
}
.submenu {
  top: 0;
  left: 100%;
  min-width: 270px;
  max-height: 380px;
  overflow-y: auto;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.open > .dropdown-menu,
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.open > .submenu {
  display: block;
}
.dropdown-menu a,
.submenu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
}
.dropdown-menu a:hover,
.submenu a:hover {
  background: #f0fdf4;
  color: var(--green);
}


/* ==========================================================================
   FINAL HERO CONTRAST & LAYOUT SAFEGUARD
   ========================================================================== */
section.hero {
  background-color: #091a2b;
  background-image: linear-gradient(135deg, #091a2b 0%, #0f2942 58%, #005a9e 100%);
  color: #ffffff;
  padding: 56px 0 64px;
  position: relative;
}
section.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  line-height: 1.15;
  margin: 12px 0 14px;
}
section.hero h1 span {
  color: #86efac !important;
  text-shadow: 0 2px 14px rgba(9, 26, 43, 0.9), 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}
section.hero .hero-lead {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 22px;
}
section.hero .hero-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  margin-bottom: 10px;
}
section.hero .hero-trust-strip,
section.hero .hero-trust-strip span {
  color: #e2e8f0;
}
section.hero .hero-card {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}
section.hero .hero-card h3 {
  color: #0f2942;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
section.hero .hero-card p {
  color: #475569;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
section.hero .hero-card .form-control {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
  width: 100%;
}
section.hero .hero-card .form-control::placeholder {
  color: #64748b;
}


/* ==========================================================================
   INDIVIDUAL PRODUCT SPECIFICATION PAGE STYLES
   ========================================================================== */
.spec-main {
  padding: 28px 0 64px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted, #475569);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--blue-dark, #005a9e);
  font-weight: 600;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.spec-card {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.spec-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}
.spec-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: #e6f4fc;
  color: #005a9e;
}
.spec-badge.whole { background: #e8f8f0; color: #146c3b; }
.spec-badge.ground { background: #fdf0e6; color: #a34000; }
.spec-badge.dehydrated { background: #fef5e7; color: #8c5300; }
.spec-badge.coffee { background: #e6f4fc; color: #005a9e; }

.spec-title {
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.4rem);
  color: var(--navy, #0f2942);
  margin: 0 0 6px;
}
.spec-botanical {
  font-style: italic;
  color: var(--muted, #475569);
  font-size: 0.94rem;
  margin: 0 0 12px;
}
.spec-summary {
  color: var(--ink, #0f172a);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 18px;
}
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.mini-box {
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 12px 14px;
}
.mini-box .lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted, #475569);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mini-box .val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy, #0f2942);
  margin-top: 3px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.estimator {
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 14px;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.seg button {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, #e2e8f0);
  background: #ffffff;
  color: var(--navy, #0f2942);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}
.seg button.active {
  background: var(--navy, #0f2942);
  color: #ffffff;
  border-color: var(--navy, #0f2942);
}
.estimator select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink, #0f172a);
  font-size: 0.88rem;
}
.est-out {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
}
.est-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border, #e2e8f0);
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  color: var(--navy, #0f2942);
  font-weight: 700;
  background: #f8fafc;
}
.spec-side-stack {
  display: grid;
  gap: 20px;
}
.related-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.related-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  color: var(--navy, #0f2942);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.related-links a:hover {
  background: #e8f8f0;
  color: #146c3b;
}

@media (max-width: 900px) {
  .spec-hero-grid,
  .spec-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .mini-metrics {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   FOOTER LOGO COMPACT SIZING & CATEGORIZED PRODUCT PANELS
   ========================================================================== */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.footer-logo-wrap img,
.footer .brand-logo img,
footer img[src*="logo.png"] {
  height: 36px;
  width: auto;
  max-height: 36px;
  max-width: 170px;
  object-fit: contain;
  display: block;
}
.brand-logo img {
  height: 36px;
  width: auto;
  max-height: 36px;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.category-panel-section {
  margin-top: 28px;
}
.category-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border, #e2e8f0);
  background: #ffffff;
  margin-bottom: 18px;
}
.category-panel-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.category-panel-thumb {
  width: 76px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border, #e2e8f0);
  flex-shrink: 0;
}
.category-panel-title {
  margin: 0;
  font-size: 1.35rem;
  color: var(--navy, #0f2942);
}
.category-panel-desc {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--muted, #475569);
}
.product-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-panel-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-panel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.product-panel-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}
.product-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-panel-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-panel-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #146c3b;
}
.product-panel-name {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy, #0f2942);
}
.product-panel-botanical {
  margin: 0;
  font-style: italic;
  font-size: 0.84rem;
  color: var(--muted, #475569);
}
.product-panel-summary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink, #0f172a);
  line-height: 1.5;
  flex: 1;
}
.product-panel-specs {
  font-size: 0.8rem;
  color: var(--muted, #475569);
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
}
.product-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
.spec-hero-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  margin-bottom: 14px;
  display: block;
}

@media (max-width: 960px) {
  .product-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .product-panel-grid {
    grid-template-columns: 1fr;
  }
}


/* Header Logo 60px & Footer Logo Compact 36px */
.navbar .brand-logo img,
header .brand-logo img {
  height: 60px !important;
  width: auto !important;
  max-height: 60px !important;
  max-width: 280px !important;
  object-fit: contain;
  display: block;
}
.footer-logo-wrap img,
.footer .brand-logo img,
footer img[src*="logo.png"] {
  height: 36px !important;
  width: auto !important;
  max-height: 36px !important;
  max-width: 170px !important;
  object-fit: contain;
  display: block;
}


/* ==========================================================================
   CROSS-DEVICE & MOBILE RESPONSIVENESS ENHANCEMENTS
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video, svg, iframe {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

input, select, textarea, button {
  max-width: 100%;
  box-sizing: border-box;
}

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .navbar .container {
    min-height: 68px;
  }
  .hero-grid,
  .about-grid,
  .origin-grid,
  .spec-hero-grid,
  .spec-layout {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .pillars-grid,
  .cert-strip,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile & Phablets (<= 768px) */
@media (min-width: 769px) {
  .top-bar .container {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .top-bar-left,
  .top-bar-right {
    flex-wrap: nowrap;
    gap: 12px;
    white-space: nowrap;
  }
  .lang-switcher-wrap {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 1px solid var(--border, #cbd5e1);
    border-radius: 8px;
    color: var(--navy, #0f2942);
    font-size: 1.2rem;
    cursor: pointer;
  }
  .navbar .brand-logo img,
  header .brand-logo img {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 210px !important;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 16px 20px;
    border-bottom: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    z-index: 999;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links > li {
    width: 100%;
  }
  .nav-links > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .dropdown-menu,
  .submenu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 14px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
  }
  .category-grid,
  .pillars-grid,
  .origin-grid,
  .cert-strip,
  .trust-metrics,
  .form-row,
  .footer-grid,
  .product-panel-grid,
  .mini-metrics {
    grid-template-columns: 1fr !important;
  }
  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .whatsapp-float {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

/* Compact Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem !important;
    line-height: 1.22 !important;
  }
  h2 {
    font-size: 1.25rem !important;
  }
  .navbar .brand-logo img,
  header .brand-logo img {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 175px !important;
  }
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* ==========================================================================
   CERTIFICATES & EXPORT PROCESS UI FIXES
   ========================================================================== */
.cert-body-img {
  height: 22px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  padding: 2px 5px;
  display: inline-block;
  vertical-align: middle;
}

.flow-stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 28px;
}

.flow-node {
  flex: 1 1 145px;
  min-width: 135px;
  max-width: 195px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border, #cbd5e1);
  color: var(--navy, #0f2942);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.flow-node:hover {
  border-color: #146c3b;
  transform: translateY(-2px);
}

.flow-node.active {
  background: #0f2942;
  color: #ffffff;
  border-color: #0f2942;
  box-shadow: 0 10px 22px rgba(15, 41, 66, 0.16);
}

.flow-node.active strong,
.flow-node.active small {
  color: #ffffff;
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #146c3b;
}

.flow-node.active .flow-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #86efac;
}

.flow-node strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.flow-node small {
  font-size: 0.78rem;
  color: var(--muted, #475569);
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0 2px;
}

.stage-spotlight {
  background: #ffffff;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.spotlight-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.spotlight-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spotlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #146c3b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spotlight-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.spot-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
}

.spot-panel h4 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: var(--navy, #0f2942);
}

.spot-panel ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink, #1e293b);
}

.spot-panel-accent {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.process-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card-modern {
  background: #ffffff;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.step-card-modern:hover {
  transform: translateY(-2px);
  border-color: #146c3b;
}

.step-card-modern.active-card {
  border-color: #146c3b;
  box-shadow: 0 10px 24px rgba(20, 108, 59, 0.12);
}

.step-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #146c3b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step-code {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #475569;
}

.step-card-modern h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy, #0f2942);
}

.step-card-modern p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted, #475569);
  line-height: 1.5;
}

.step-card-modern ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.84rem;
  color: var(--ink, #1e293b);
}

@media (max-width: 960px) {
  .process-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .flow-connector {
    display: none;
  }
  .flow-node {
    flex: 1 1 calc(50% - 8px);
    max-width: none;
  }
  .spotlight-grid,
  .process-grid-modern {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   EXPORT PROCESS DIAGRAM & TRUST PILL CONTRAST FIXES
   ========================================================================== */
.workflow-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.workflow-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f2942 !important;
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.workflow-trust-pill i {
  color: #15803d !important;
}

.flow-stepper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  margin: 24px 0 28px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.flow-node {
  flex: 1 1 0;
  min-width: 132px;
  max-width: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f2942;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.flow-node::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 0 0 12px 12px;
  background: transparent;
}

.flow-node.completed::after {
  background: #16a34a;
}

.flow-node.active {
  background: #0f2942;
  color: #ffffff;
  border-color: #0f2942;
  box-shadow: 0 10px 22px rgba(15, 41, 66, 0.18);
}

.flow-node.active::after {
  background: #4ade80;
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
  flex-shrink: 0;
  padding: 0 2px;
}

.process-grid-modern {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card-modern {
  position: relative;
}

@media (max-width: 1024px) {
  .flow-stepper {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .flow-node {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .flow-connector {
    display: none;
  }
  .flow-node {
    flex: 1 1 calc(50% - 8px);
    min-width: 130px;
  }
  .process-grid-modern {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   HOME HERO EXPORT PORT BACKGROUND & CONTEXTUAL PAGE TITLE BANNERS
   ========================================================================== */
section.hero {
  background-color: #0f2942 !important;
  background-image: linear-gradient(100deg, rgba(15, 41, 66, 0.66) 0%, rgba(15, 41, 66, 0.48) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/hero-export-port.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #ffffff;
}

/* Proportionate About Section Image & Content Alignment */
.about-grid.about-grid-balanced {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}
.about-grid-balanced .about-media {
  position: static !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: auto !important;
  overflow: visible !important;
}
.about-grid-balanced .about-media-frame {
  display: flex;
  flex-direction: column;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 41, 66, 0.08);
}
.about-grid-balanced .about-media-frame img {
  position: static !important;
  width: 100%;
  height: 290px;
  min-height: 240px;
  max-height: 310px;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
}
.about-grid-balanced .about-badge-card {
  position: static !important;
  bottom: auto !important;
  right: auto !important;
  margin-top: 0 !important;
  border-radius: 0 !important;
  border-top: 1px solid var(--border, #e2e8f0);
  background: var(--blue-soft, #eef6fb) !important;
  color: var(--navy, #0f2942) !important;
  padding: 13px 16px;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
}
.about-grid-balanced .about-badge-card strong {
  color: var(--navy, #0f2942) !important;
  font-size: 0.94rem;
}
.about-grid-balanced .about-badge-card span {
  color: var(--text-muted, #475569) !important;
  font-size: 0.82rem;
}
.about-side-highlights {
  position: static !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  clear: both;
}
.about-side-pill {
  position: static !important;
  background: #f8fafc;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: var(--radius-sm, 10px);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  word-break: break-word;
}
.about-side-pill i {
  color: var(--green, #168045);
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.about-side-pill strong {
  display: block;
  font-size: 0.84rem;
  color: var(--navy, #0f2942);
  margin-bottom: 2px;
}
.about-side-pill span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted, #475569);
  line-height: 1.4;
}
@media (max-width: 960px) {
  .about-grid.about-grid-balanced {
    grid-template-columns: 1fr;
  }
  .about-grid-balanced .about-media-frame img {
    height: 250px;
    max-height: 270px;
  }
}
@media (max-width: 600px) {
  .about-side-highlights {
    grid-template-columns: 1fr;
  }
}

/* Language Switcher Widget */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 3px 10px;
}
.lang-switcher-wrap i {
  color: #6ee7b7;
  font-size: 0.8rem;
}
.lang-select {
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  padding-right: 4px;
}
.lang-select option {
  color: #0f2942;
  background: #ffffff;
}
.mobile-lang-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-lang-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
  }
  .mobile-lang-bar label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f2942;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .mobile-lang-bar select {
    background: #ffffff;
    color: #0f2942;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.82rem;
    font-weight: 600;
  }
}
/* Hide default Google Translate top banner bar */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
.skiptranslate > iframe {
  display: none !important;
}

/* 2. Mobile Top Contact Strip: email & phone at extreme ends, WhatsApp removed on <= 768px */
@media (max-width: 768px) {
  .top-bar .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .top-bar-left {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .top-bar-left a {
    white-space: nowrap !important;
    font-size: 0.74rem !important;
  }
  .top-bar-left .top-badge,
  .top-bar-right,
  .top-bar-right a[href*="wa.me"],
  .top-bar-right .lang-switcher-wrap {
    display: none !important;
  }
}

/* 3. Fix Go-to-Top button position (bottom-right, hidden until .visible) */
.go-to-top {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 490;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border, #cbd5e1);
  background: var(--navy, #0f2942);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.go-to-top.visible {
  display: inline-flex;
}

/* Fix Mobile Top Contact Bar visibility & "Genuine Indian Agro-Exports" contrast */
@media (max-width: 768px) {
  .top-bar {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 6px 0 !important;
    background: #091a2b !important;
    color: #ffffff !important;
  }
  .top-bar .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 12px !important;
  }
  .top-bar-left {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .top-bar-left a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    font-size: 0.74rem !important;
  }
  .top-bar-left .top-badge,
  .top-bar-right,
  .top-bar-right a[href*="wa.me"],
  .top-bar-right .lang-switcher-wrap {
    display: none !important;
  }
}

.hero h1 span,
section.hero h1 span {
  color: #86efac !important;
  text-shadow: 0 2px 14px rgba(9, 26, 43, 0.9), 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}


/* v21: Brightened banner/hero assets + clean visible background images + high-contrast foreground text */
section.hero {
  background-color: #0f2942 !important;
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.72) 0%, rgba(15, 41, 66, 0.56) 1%, rgba(15, 41, 66, 0.42) 100%),
                    url("../images/hero-export-port.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #ffffff;
}

.page-banner {
  position: relative;
  padding: 52px 0 48px;
  color: #ffffff;
  background-color: #0f2942;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-banner.banner-about {
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.70) 0%, rgba(15, 41, 66, 0.54) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/hero-export-port.png") !important;
}

.page-banner.banner-products {
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.70) 0%, rgba(15, 41, 66, 0.54) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/banner-products.png") !important;
}

.page-banner.banner-process {
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.70) 0%, rgba(15, 41, 66, 0.54) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/hero-export-port.png") !important;
}

.page-banner.banner-certificates {
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.70) 0%, rgba(15, 41, 66, 0.54) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/banner-certificates.png") !important;
}

.page-banner.banner-insights {
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.70) 0%, rgba(15, 41, 66, 0.54) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/banner-insights.png") !important;
}

.page-banner.banner-contact {
  background-image: linear-gradient(100deg, rgba(9, 26, 43, 0.70) 0%, rgba(15, 41, 66, 0.54) 65%, rgba(22, 128, 69, 0.24) 100%),
                    url("../images/banner-contact.png") !important;
}

section.hero h1,
.page-banner h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(9, 26, 43, 0.85), 0 1px 3px rgba(0, 0, 0, 0.75) !important;
}

section.hero h1 span {
  color: #86efac !important;
  text-shadow: 0 2px 14px rgba(9, 26, 43, 0.9), 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

section.hero .hero-lead,
.page-banner p {
  color: #f8fafc !important;
  text-shadow: 0 2px 10px rgba(9, 26, 43, 0.85), 0 1px 2px rgba(0, 0, 0, 0.75) !important;
}

section.hero .hero-eyebrow,
.page-banner .hero-eyebrow {
  background: rgba(9, 26, 43, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

section.hero .hero-trust-strip,
section.hero .hero-trust-strip span {
  color: #f8fafc !important;
  text-shadow: 0 1px 8px rgba(9, 26, 43, 0.85) !important;
}
