/* =========================================================
   Barkat Group of Companies — shared stylesheet
   Used by every page. Edit values in :root to retheme site-wide.
   ========================================================= */

:root {
  /* Colors */
  --navy-900: #0a1730;
  --navy-800: #0f2049;
  --navy-700: #17295c;
  --gold-500: #c69a45;
  --gold-400: #d9b26a;
  --cream-50: #f7f5f0;
  --white: #ffffff;
  --ink-900: #1c1f26;
  --ink-600: #565d6c;
  --ink-300: #c9cdd6;
  --border: #e6e2d8;

  /* Type */
  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 6px;
  --shadow-card: 0 12px 30px rgba(10, 23, 48, 0.08);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-navy {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--gold-400);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  flex-shrink: 0;
}
.logo-mark-full {
  height: 54px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 4px 12px;
  flex-shrink: 0;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-300);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--ink-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold-500);
}

.has-dropdown > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7em;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  border-bottom: none;
  border-radius: 4px;
}
.dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: none; padding-left: 12px; }
  .has-dropdown.open .dropdown { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10,23,48,0.55) 0%, rgba(10,23,48,0.86) 100%), var(--navy-900);
  padding: 110px 0 130px;
}
.hero.has-image { background-image: linear-gradient(180deg, rgba(10,23,48,0.55) 0%, rgba(10,23,48,0.9) 100%), var(--hero-image); background-size: cover; background-position: center; }
.hero-content { max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.hero p.lede {
  font-size: 1.05rem;
  color: var(--ink-300);
  margin-bottom: 34px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Placeholder image blocks ----------
   Swap these out for real <img> tags — see README notes at
   the bottom of each page for the exact filename we expect. */
.img-placeholder {
  background: repeating-linear-gradient(135deg, #e9e6dc, #e9e6dc 10px, #f2f0e8 10px, #f2f0e8 20px);
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-600);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 20px;
  min-height: 220px;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid .img-placeholder { aspect-ratio: 4 / 3; min-height: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }

/* ---------- Generic sections ---------- */
section { padding: 90px 0; }
.section-cream { background: var(--cream-50); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy .eyebrow { color: var(--gold-400); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 60px 0; }
}

.about-photo { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-logo {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--cream-50);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}
.about-logo img { max-width: 80%; max-height: 85%; object-fit: contain; display: block; }

h2.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 20px; }
.lede-text { color: var(--ink-600); font-size: 1.02rem; }
.section-navy .lede-text { color: var(--ink-300); }

/* ---------- Three-up value band ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 800px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { text-align: left; }
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--white); }
.value-card ul li { color: var(--ink-300); padding: 4px 0; position: relative; padding-left: 18px; }
.value-card ul li::before { content: "•"; color: var(--gold-500); position: absolute; left: 0; }
.value-card p { color: var(--ink-300); }

/* ---------- CEO / quote block ---------- */
.quote-block { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
@media (max-width: 700px) { .quote-block { grid-template-columns: 1fr; } }
.quote-mark { font-family: var(--font-display); font-size: 3.5rem; color: var(--gold-500); line-height: 1; margin-bottom: 8px; }
.quote-block blockquote { font-size: 1.08rem; color: var(--ink-900); margin-bottom: 20px; }
.quote-name { font-family: var(--font-display); font-weight: 800; }
.quote-title { color: var(--ink-600); font-size: 0.92rem; }
.ceo-photo-frame { border-radius: var(--radius); overflow: hidden; width: 100%; aspect-ratio: 3 / 4; margin-top: 36px; }
.ceo-photo { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.4); transform-origin: center 55%; }

/* ---------- Card grid (companies teaser) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.company-card:hover { transform: translateY(-4px); }
.company-card .img-placeholder { min-height: 160px; border-radius: 0; border: none; }
.company-card-logo {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-50);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  overflow: hidden;
}
.company-card-logo img { max-width: 70%; max-height: 100%; object-fit: contain; }
.company-card-body { padding: 26px; }
.company-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.company-card p { color: var(--ink-600); font-size: 0.92rem; margin-bottom: 18px; }
.company-card .btn { width: 100%; }

/* ---------- Service / stat grids (used on subsidiary pages) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
.service-item { background: var(--white); padding: 26px 16px; text-align: center; }
.service-item .icon { font-size: 1.5rem; color: var(--gold-500); margin-bottom: 10px; }
.service-item span { font-size: 0.85rem; font-weight: 600; }

.service-photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 900px) { .service-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .service-photo-grid { grid-template-columns: repeat(2, 1fr); } }
.service-photo-item { background: var(--white); }
.service-photo-item .img-placeholder { aspect-ratio: 4 / 3; min-height: 0; border: none; border-radius: 0; font-size: 0.68rem; }
.service-photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.service-photo-item span { display: block; text-align: center; font-size: 0.85rem; font-weight: 600; padding: 14px 10px; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 48px; margin-top: 30px; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { border-left: 2px solid var(--gold-500); padding-left: 18px; }
.why-item h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--white); margin-bottom: 8px; }
.why-item p { font-size: 0.92rem; line-height: 1.65; color: var(--ink-300); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.15); }
@media (max-width: 700px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-item { background: var(--navy-800); color: var(--white); padding: 26px 16px; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-400); }
.stat-item span { font-size: 0.78rem; color: var(--ink-300); }

/* Traders page uses a green stat band to echo the ZONG partnership branding */
.stat-band-green { background: rgba(255,255,255,0.2); }
.stat-band-green .stat-item { background: #2f8f3f; }
.stat-band-green .stat-item strong { color: var(--white); }
.stat-band-green .stat-item span { color: rgba(255,255,255,0.85); }

/* ---------- Brand partnership cards (Corporation page) ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 30px; }
@media (max-width: 700px) { .brand-grid { grid-template-columns: 1fr; } }
.brand-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.brand-logo { width: 120px; height: 120px; flex-shrink: 0; border-radius: 4px; object-fit: contain; padding: 14px; background: var(--cream-50); border: 1px solid var(--border); }
.brand-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.brand-card p { color: var(--ink-600); font-size: 0.9rem; }

/* ---------- Infrastructure gallery ---------- */
.infra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
@media (max-width: 800px) { .infra-grid { grid-template-columns: repeat(2, 1fr); } }
.infra-item .img-placeholder { min-height: 130px; margin-bottom: 10px; }
.infra-item span { font-size: 0.85rem; font-weight: 600; display: block; text-align: center; }
.infra-photo { width: 100%; height: 130px; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.infra-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--ink-300); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul li { padding: 6px 0; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; max-width: 280px; }
.social-icons { display: flex; gap: 12px; margin-top: 6px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.social-icons a:hover { border-color: var(--gold-500); color: var(--gold-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Contact page bits ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info-item .icon { color: var(--gold-500); font-size: 1.2rem; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream-50);
}
.contact-form label { font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; display: block; }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ---------- Team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 28px; }
.team-card { flex: 0 1 calc(25% - 21px); text-align: left; }
@media (max-width: 900px) { .team-card { flex-basis: calc(50% - 14px); } }
@media (max-width: 520px) { .team-card { flex-basis: 100%; } }
.team-photo-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-photo {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #e9e6dc, #e9e6dc 10px, #f2f0e8 10px, #f2f0e8 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-600);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 10px;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card .role { color: var(--gold-500); font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
.team-card p { color: var(--ink-600); font-size: 0.9rem; }
