:root {
  --forest: #0A3D1F;
  --forest-2: #0E4F28;
  --green: #2EB85C;
  --green-light: #4FD480;
  --gold: #E8A020;
  --gold-light: #F0B33A;
  --cream: #FEF7FF;
  --light: #EDF5F1;
  --soft-gray: #F3F5F4;
  --text: #1D1B20;
  --muted: #4A5568;
  --muted-light: #8C9D94;
  --card-bg: #ffffff;
  --border: #e5ece6;
  --glass-bg: rgba(255,255,255,0.62);
  --glass-border: rgba(255,255,255,0.45);
  --nav-bg: rgba(254,247,255,0.72);
  --shadow-sm: 0 2px 10px rgba(10,61,31,0.06);
  --shadow-md: 0 14px 32px rgba(10,61,31,0.10);
  --shadow-lg: 0 26px 60px rgba(10,61,31,0.16);
  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html.dark {
  --cream: #0a1410;
  --light: #0f1d16;
  --soft-gray: #142318;
  --text: #eef5f0;
  --muted: #b7c7bd;
  --muted-light: #7e9488;
  --card-bg: #122019;
  --border: #1f3527;
  --glass-bg: rgba(18,32,25,0.6);
  --glass-border: rgba(255,255,255,0.08);
  --nav-bg: rgba(10,20,16,0.66);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 14px 32px rgba(0,0,0,0.38);
  --shadow-lg: 0 26px 60px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--cream);
  transition: background 0.25s, color 0.25s;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.01em; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.21,.8,.32,1), transform 0.7s cubic-bezier(.21,.8,.32,1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].revealed { transform: none; }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].revealed { transform: none; }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].revealed { transform: none; }

/* ---------- Icon system ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-svg { width: 30px; height: 30px; stroke: var(--green); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: inline-block; }
.icon-svg.lg { width: 38px; height: 38px; }
.icon-svg.sm { width: 20px; height: 20px; }

/* ---------- Navbar (glass) ---------- */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.25s, background 0.25s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 20px;
}
.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.01em;
  color: var(--forest); white-space: nowrap; display: flex; align-items: center; gap: 11px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
html.dark .logo { color: var(--green-light); }
.logo span { color: var(--green); font-weight: 700; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10,61,31,0.22); object-fit: cover; display: block;
}
.nav-links { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav-links a { position: relative; font-weight: 500; color: var(--muted); font-size: 0.95rem; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--green); transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
html.dark .nav-links a:hover, html.dark .nav-links a.active { color: var(--green-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 11px 22px !important; white-space: nowrap; }

.nav-toggle {
  display: none; position: relative; width: 30px; height: 22px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
html.dark .nav-toggle span, html.dark .nav-toggle::before, html.dark .nav-toggle::after { background: var(--green-light); }
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 10px; }
.nav-toggle::after { top: 20px; }
.nav-toggle.active::before { top: 10px; transform: rotate(45deg); }
.nav-toggle.active span { opacity: 0; }
.nav-toggle.active::after { top: 10px; transform: rotate(-45deg); }

.theme-toggle {
  position: relative; background: var(--soft-gray); border: 1px solid var(--border); border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.theme-toggle svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.theme-toggle .icon-moon { display: none; stroke: var(--green-light); }
html.dark .theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.25s cubic-bezier(.21,.8,.32,1);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  position: relative;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(46,184,92,0.28); }
.btn-primary:hover { background: var(--forest); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(46,184,92,0.34); }
.btn-outline { border: 2px solid var(--green); color: var(--forest); background: transparent; }
html.dark .btn-outline { color: var(--green-light); }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- Hero (3D globe + mesh gradient) ---------- */
.hero {
  position: relative; overflow: hidden; padding: 100px 0 90px;
  background: radial-gradient(circle at 18% 20%, rgba(46,184,92,0.16), transparent 45%),
              radial-gradient(circle at 85% 10%, rgba(232,160,32,0.14), transparent 40%),
              radial-gradient(circle at 70% 90%, rgba(10,61,31,0.10), transparent 45%),
              linear-gradient(135deg, var(--light), var(--cream));
}
html.dark .hero {
  background: radial-gradient(circle at 18% 20%, rgba(46,184,92,0.18), transparent 45%),
              radial-gradient(circle at 85% 10%, rgba(232,160,32,0.10), transparent 40%),
              linear-gradient(135deg, var(--light), var(--cream));
}
.hero-inner { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-text { flex: 1 1 420px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: 2px;
  color: var(--gold); background: rgba(232,160,32,0.12);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 18px;
}
.hero-text h1 { font-size: 2.85rem; margin-bottom: 22px; color: var(--forest); line-height: 1.18; }
html.dark .hero-text h1 { color: #eef5f0; }
.hero-text h1 span {
  background: linear-gradient(100deg, var(--green), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image { flex: 1 1 380px; display: flex; justify-content: center; position: relative; }
.globe-stage { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1/1; }
.globe-glow {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,184,92,0.35), rgba(232,160,32,0.12) 55%, transparent 75%);
  filter: blur(30px); z-index: 0; animation: pulseGlow 4.5s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
#globeCanvas { position: relative; width: 100%; height: 100%; z-index: 1; }
#globeCanvas canvas { width: 100% !important; height: 100% !important; display: block; }
.heroFallback {
  width: 100%; max-width: 460px; aspect-ratio: 4/3; border-radius: 20px;
  background: linear-gradient(135deg, var(--forest), var(--green));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.6rem; letter-spacing: 2px;
}
.hero-photo {
  width: 100%; max-width: 460px; border-radius: 20px; object-fit: cover; aspect-ratio: 4/3.2;
  box-shadow: var(--shadow-lg);
}

/* Floating glass chips over the globe */
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow-md);
  font-size: 0.82rem; font-weight: 700; color: var(--forest); z-index: 3;
  animation: floatChip 5s ease-in-out infinite;
}
html.dark .float-chip { color: var(--green-light); }
.float-chip strong { color: var(--green); font-size: 1.05rem; }
html.dark .float-chip strong { color: var(--gold-light); }
.chip-1 { top: 6%; left: -6%; animation-delay: 0s; }
.chip-2 { bottom: 8%; right: -8%; animation-delay: 1.2s; }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 700px) {
  .chip-1, .chip-2 { display: none; }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--forest), #146338 60%, var(--forest-2));
  color: #fff; padding: 80px 0 64px; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232,160,32,0.25), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(46,184,92,0.3), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { background: rgba(255,255,255,0.15); color: #F0B33A; }
.page-hero h1 { font-size: 2.5rem; margin-bottom: 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; opacity: 0.92; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.content-section.alt { background: var(--light); }
h2 { font-size: 2.1rem; margin-bottom: 8px; color: var(--forest); }
html.dark h2 { color: #eef5f0; }
h2:not(.left) { text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.placeholder-note { color: var(--gold); font-size: 0.88rem; font-style: italic; margin-top: 8px; }

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-top: 32px;
}
.three-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.four-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.two-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  text-align: center;
  transition: 0.3s cubic-bezier(.21,.8,.32,1);
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green); }
.card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.card .icon-svg { margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; color: var(--forest); }
html.dark .card h3 { color: var(--green-light); }
.card p { color: var(--muted); font-size: 0.95rem; }
.service-card { text-align: left; }
.service-card h3 { color: var(--forest); }
html.dark .service-card h3 { color: var(--green-light); }
.service-brand { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.5px; }
.person-card .avatar-ph {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--green), var(--forest)); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.photo-ph {
  background: var(--soft-gray); color: var(--muted-light); font-weight: 700;
  display: flex; align-items: center; justify-content: center; min-height: 150px; border: 2px dashed var(--border);
  border-radius: 16px;
}

/* ---------- Two-col content ---------- */
.two-col { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.two-col > div { flex: 1 1 380px; }
.img-frame img { border-radius: 18px; box-shadow: var(--shadow-md); }
.map-frame iframe { border-radius: 18px; box-shadow: var(--shadow-md); }

/* ---------- About intro (home) ---------- */
.about-intro-inner { display: flex; gap: 50px; flex-wrap: wrap; align-items: center; }
.about-intro-inner > div:first-child { flex: 1 1 420px; }
.about-intro-inner p { color: var(--muted); margin-bottom: 20px; }
.mission-cards { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.mini-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
}
.mini-card.big { padding: 32px; }
.mini-card h4 { color: var(--forest); margin-bottom: 8px; font-size: 1.1rem; font-family: var(--font-head); }
html.dark .mini-card h4 { color: var(--green-light); }
.mini-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fff; padding: 54px 0; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); text-align: center; gap: 10px; }
.stat .num {
  display: block; font-size: 2.4rem; font-weight: 800; font-family: var(--font-head);
  background: linear-gradient(100deg, var(--gold-light), #fff7e0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { font-size: 0.9rem; opacity: 0.85; }
.alt-stats { background: linear-gradient(135deg, #133d24, #0c2c19); }
.stat-link {
  text-decoration: none; color: inherit; border-radius: 14px; padding: 10px 8px;
  transition: background 0.2s, transform 0.2s;
}
.stat-link:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.stat-link .stat-cta {
  display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2px;
  color: var(--gold-light); margin-top: 6px; opacity: 0; transition: opacity 0.2s;
}
.stat-link:hover .stat-cta { opacity: 1; }

/* ---------- Trust strip (verified certifications / recognition) ---------- */
.trust-strip { background: var(--soft-gray); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 38px; text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 130px; }
.trust-badge {
  font-family: var(--font-head); font-weight: 800; font-size: 0.92rem; color: var(--forest);
  letter-spacing: 0.2px;
}
html.dark .trust-badge { color: var(--green-light); }
.trust-item small { font-size: 0.74rem; color: var(--muted-light); letter-spacing: 0.2px; }

/* ---------- Award card (real badge image, e.g. About > Certifications) ---------- */
.award-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.award-card img { max-width: 110px; height: auto; margin-bottom: 4px; }

/* ---------- Brand cards ---------- */
.brands-section { background: var(--cream); }
.brands-grid { grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); }
.brand-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  padding: 20px 20px 22px;
  text-align: left;
  transition: 0.3s cubic-bezier(.21,.8,.32,1);
  box-shadow: var(--shadow-sm);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green); }
.brand-card-img {
  width: calc(100% + 40px); margin: -20px -20px 16px; height: 150px; object-fit: cover;
}
.brand-card h4 { color: var(--forest); margin-bottom: 6px; font-size: 1.08rem; }
html.dark .brand-card h4 { color: var(--green-light); }
.brand-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; min-height: 40px; }
.card-link { font-weight: 700; color: var(--green); font-size: 0.88rem; }
.card-link[disabled] { color: var(--muted-light); cursor: default; pointer-events: none; }
.brand-card .tag {
  display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.5px;
  border-radius: 4px; padding: 3px 8px; margin-bottom: 8px; text-transform: uppercase;
}
.cat-label { display: block; font-size: 0.72rem; color: var(--muted-light); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; }
.tag-live, .tag-LIVE { background: rgba(46,184,92,0.15); color: var(--green); }
.tag-site, .tag-SITE { background: rgba(232,160,32,0.15); color: var(--gold); }
.tag-soon, .tag-SOON { background: rgba(139,92,246,0.15); color: #8B5CF6; }
.center-cta { text-align: center; margin-top: 36px; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.filter-btn {
  background: var(--soft-gray); border: 1px solid var(--border); color: var(--muted);
  padding: 9px 18px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; cursor: pointer;
  transition: 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Ecosystem (animated particle network) ---------- */
.ecosystem { background: var(--light); position: relative; overflow: hidden; }
.eco-canvas-wrap { position: relative; }
.particle-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.eco-grid { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); position: relative; z-index: 1; }
.eco-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: 0.3s; box-shadow: var(--shadow-sm);
}
.eco-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.eco-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--green), var(--forest));
}
.eco-item h4 { color: var(--forest); margin-bottom: 6px; }
html.dark .eco-item h4 { color: var(--green-light); }
.eco-item p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testi-grid { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.testi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.testi-card p { color: var(--text); font-style: italic; margin-bottom: 14px; }
.testi-card span { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.testi-note { text-align: center; color: var(--gold); font-size: 0.85rem; font-style: italic; margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(46,184,92,0.25), transparent 45%),
              radial-gradient(circle at 85% 70%, rgba(232,160,32,0.2), transparent 45%);
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: 0.9; margin-bottom: 24px; }
.cta-band-inner .btn-dark { background: var(--gold); color: var(--forest); }
.cta-band-inner .btn-dark:hover { background: var(--gold-light); }

/* ---------- Timeline ---------- */
.timeline { margin-top: 24px; border-left: 3px solid var(--green); padding-left: 28px; display: flex; flex-direction: column; gap: 28px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(232,160,32,0.18);
}
.timeline-item .t-year { display: block; font-weight: 800; color: var(--gold); margin-bottom: 4px; font-family: var(--font-head); }
.timeline-item p { color: var(--muted); max-width: 640px; }

/* ---------- Project categories ---------- */
.proj-grid { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.proj-cat {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; font-weight: 700; color: var(--forest); display: flex; align-items: center; gap: 14px;
  transition: 0.25s; box-shadow: var(--shadow-sm);
}
.proj-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green); }
html.dark .proj-cat { color: var(--green-light); }
.proj-cat span {
  font-size: 0.95rem; color: #fff; font-weight: 800; width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* ---------- Brand profile pages ---------- */
.brand-hero { position: relative; padding: 100px 0; background-size: cover; background-position: center; color: #fff; text-align: center; }
.brand-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; z-index: 1; }
.brand-logo { max-height: 70px; max-width: 220px; object-fit: contain; background: #fff; padding: 8px 14px; border-radius: 10px; margin-bottom: 10px; box-shadow: var(--shadow-md); }
.brand-hero h1 { font-size: 2.5rem; }
.brand-hero p { max-width: 600px; opacity: 0.95; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.contact-form { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--card-bg);
  color: var(--text); font-family: inherit; font-size: 0.95rem; transition: 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,184,92,0.15);
}
.contact-form button { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--forest), #062213); color: #cfe8d4; padding: 56px 0 22px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 30px; padding-bottom: 30px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-head); }
.footer-col a { display: block; color: #cfe8d4; margin-bottom: 8px; font-size: 0.92rem; transition: 0.2s; }
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-col p { font-size: 0.88rem; opacity: 0.85; margin-bottom: 8px; }
.footer-logo { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.01em; color: #fff; margin-bottom: 12px; font-family: var(--font-head); display: flex; align-items: center; gap: 11px; }
.footer-logo span { color: var(--gold-light); font-weight: 700; }
.footer-logo .logo-mark {
  width: 36px; height: 36px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

/* ---------- Text-mark brand logo (used where a brand has no real logo file, e.g. IGO Import & Export) ---------- */
.brand-textmark { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px; padding: 8px 16px; backdrop-filter: blur(6px); margin-bottom: 14px; }
.brand-textmark .mark-badge {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--forest);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; flex-shrink: 0;
}
.brand-textmark .mark-text { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.brand-textmark .mark-text small { display: block; font-weight: 500; font-size: 0.72rem; opacity: 0.8; letter-spacing: 0.3px; }
.footer-social { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem;
}
.footer-links a { margin-left: 20px; color: #cfe8d4; }
.footer-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--nav-bg); backdrop-filter: blur(16px); flex-direction: column; padding: 16px 24px; gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .hero-text h1 { font-size: 2.1rem; }
  .page-hero h1 { font-size: 1.9rem; }
  section { padding: 54px 0; }
}
/* ---------- Global Modal System ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 30, 20, 0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; max-width: 800px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  transform: translateY(30px) scale(0.95); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-header {
  padding: 24px 30px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, rgba(46,184,92,0.05), rgba(232,160,32,0.05));
  border-radius: 20px 20px 0 0;
}
.modal-title { font-family: var(--font-head); font-size: 1.6rem; color: var(--forest); margin-bottom: 4px; }
html.dark .modal-title { color: var(--green-light); }
.modal-subtitle { font-size: 0.95rem; color: var(--muted); font-weight: 500; }

.modal-close {
  background: var(--soft-gray); border: none; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: 0.2s;
}
.modal-close:hover { background: var(--border); color: var(--text); transform: rotate(90deg); }

.modal-body { padding: 30px; }
.modal-body h3 { font-size: 1.15rem; color: var(--forest); margin: 24px 0 12px; }
html.dark .modal-body h3 { color: var(--green-light); }
.modal-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.7; }

.modal-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.modal-feature-item {
  background: var(--soft-gray); padding: 16px; border-radius: 12px;
  border: 1px solid var(--border); font-size: 0.9rem; font-weight: 500;
}

.modal-actions {
  padding: 24px 30px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 12px;
}

/* ==========================================================================
   DROPDOWN NAVIGATION
   ========================================================================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* The parent text link (e.g. "Company ▾") */
.dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text) !important;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--soft-gray);
  color: var(--primary) !important;
}

/* Mobile Adjustments for Dropdowns */
@media (max-width: 900px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown > a {
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    display: none; /* Hide by default on mobile */
  }

  /* On hover/focus (tap on mobile), show the dropdown block */
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 14px 0;
  }
}

/* ---------- Product Sector Browser (products.html) ---------- */
.sector-browser {
  display: flex;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  align-items: stretch;
}
.sector-list {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  background: var(--soft-gray);
  border-right: 1px solid var(--border);
  padding: 10px;
  gap: 4px;
}
.sector-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: 0.2s;
}
.sector-tab:hover { background: rgba(46,184,92,0.10); }
.sector-tab.active { background: var(--forest); color: #fff; }
.sector-tab-count {
  font-size: 0.74rem; font-weight: 700; opacity: 0.7;
  background: rgba(255,255,255,0.15); padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}
.sector-tab:not(.active) .sector-tab-count { background: rgba(10,61,31,0.08); color: var(--forest); opacity: 1; }
html.dark .sector-tab:not(.active) .sector-tab-count { color: var(--green-light); background: rgba(255,255,255,0.08); }
.sector-panels { flex: 1 1 auto; padding: 34px; min-width: 0; }
.sector-panel { display: none; }
.sector-panel.active { display: block; animation: sectorFade 0.35s ease; }
@keyframes sectorFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.sector-panel-head {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border);
}
.sector-panel-img { width: 88px; height: 88px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.sector-panel-head-text { flex: 1 1 260px; }
.sector-panel-head-text h3 { color: var(--forest); margin-bottom: 4px; }
html.dark .sector-panel-head-text h3 { color: var(--green-light); }
.sector-panel-head-text p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.sector-viewall { white-space: nowrap; }
.sector-subcats { margin-top: 0; }
.subcat-card {
  background: var(--soft-gray); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; transition: 0.25s;
}
.subcat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green); }
.subcat-card h4 { color: var(--forest); font-size: 1rem; margin-bottom: 6px; }
html.dark .subcat-card h4 { color: var(--green-light); }
.subcat-count {
  display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--gold);
  background: rgba(232,160,32,0.12); padding: 2px 9px; border-radius: 20px; margin-bottom: 8px;
}
.subcat-card p { color: var(--muted); font-size: 0.86rem; margin: 0; }

@media (max-width: 860px) {
  .sector-browser { flex-direction: column; }
  .sector-list {
    flex-direction: row; flex-wrap: wrap; flex: 1 1 auto;
    border-right: none; border-bottom: 1px solid var(--border);
  }
  .sector-tab { flex: 1 1 auto; justify-content: center; text-align: center; }
  .sector-panels { padding: 24px 18px; }
  .sector-panel-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Department Team Photos (departments.html) ---------- */
.dept-photo {
  width: 64px; height: 64px; object-fit: cover; border-radius: 12px;
  flex-shrink: 0; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
a.card.dept-card-link { cursor: pointer; }

/* ---------- Department Detail Pages (departments/*.html) ---------- */
.page-hero.dept-hero-photo {
  background-size: cover; background-position: center; min-height: 360px;
  display: flex; align-items: center;
}
.page-hero.dept-hero-photo::before {
  background: linear-gradient(180deg, rgba(10,61,31,0.35) 0%, rgba(10,61,31,0.25) 35%, rgba(10,61,31,0.55) 75%, rgba(10,61,31,0.78) 100%);
}
.dept-back-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700;
  color: #fff; opacity: 0.88; background: rgba(255,255,255,0.14); padding: 7px 16px;
  border-radius: 20px; margin-bottom: 20px; transition: 0.2s;
}
.dept-back-link:hover { opacity: 1; background: rgba(255,255,255,0.26); }
.dept-icon-giant { font-size: 3.4rem; margin-bottom: 12px; }

.dept-team-card { text-align: center; }
.dept-team-photo {
  width: 100%; max-width: 440px; border-radius: 16px; box-shadow: var(--shadow-md);
  margin: 0 auto; display: block; object-fit: cover; border: 1px solid var(--border);
}
.dept-team-caption { font-weight: 700; color: var(--forest); margin-top: 14px; }
html.dark .dept-team-caption { color: var(--green-light); }

.dept-two-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 660px; margin: 0 auto;
}
.dept-two-photos .dept-team-photo { max-width: none; }
@media (max-width: 640px) { .dept-two-photos { grid-template-columns: 1fr; } }

.dept-placeholder {
  border: 2px dashed var(--border); border-radius: 16px; padding: 44px 24px;
  text-align: center; color: var(--muted); background: var(--soft-gray);
  max-width: 560px; margin: 0 auto;
}
.dept-placeholder .placeholder-icon { font-size: 2rem; margin-bottom: 10px; }
.dept-placeholder strong { color: var(--gold); display: block; margin-bottom: 6px; font-size: 0.95rem; }

/* ---------- Image Lightbox (department team/banner photos) ---------- */
.dept-team-photo { cursor: zoom-in; transition: opacity 0.2s; }
.dept-team-photo:hover { opacity: 0.92; }
.img-lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.img-lightbox-overlay.active { opacity: 1; visibility: visible; }
.img-lightbox-img {
  max-width: 92vw; max-height: 90vh; border-radius: 10px;
  box-shadow: var(--shadow-lg); object-fit: contain;
}
.img-lightbox-close {
  position: fixed; top: 20px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; border: none; background: rgba(255,255,255,0.12);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.img-lightbox-close:hover { background: rgba(255,255,255,0.25); }
