/* ── AFK Petroleum FZC — Shared Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --blue: #1a3a6b;
  --accent: #c8973a;
  --accent-light: #e8b84b;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-emblem {
  height: 126px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: transparent !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: transparent !important; color: var(--accent) !important; }
.nav-cta.active { background: transparent !important; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10,22,40,0.1);
  list-style: none;
  min-width: 160px;
  padding: 0.4rem 0;
  z-index: 200;
}
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  rotate: 45deg;
}
.nav-submenu li a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--navy) !important;
}
.nav-submenu li a:hover { color: var(--accent) !important; background: var(--off-white); }
.nav-dropdown:hover .nav-submenu { display: block; }

/* ── PAGE BANNER (inner pages) ── */
.page-banner {
  padding: 10rem 2rem 3.5rem;
  background:
    linear-gradient(to bottom, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.75) 100%),
    url('https://images.unsplash.com/photo-1566221857770-508d35ee6220?w=1800&auto=format&fit=crop') center/cover no-repeat;
}
.page-banner-inner { max-width: 1200px; margin: 0 auto; }
.page-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.4);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.page-banner h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.2;
}
.page-banner h1 em { font-style: normal; color: var(--accent-light); }

/* ── SECTIONS ── */
section.page-section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.75;
}
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3.5rem;
}
.about-img { position: relative; border-radius: 12px; overflow: hidden; }
.about-img img {
  width: 100%; height: 460px;
  object-fit: cover; display: block; border-radius: 12px;
}
.about-img-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}
.about-img-badge strong { display: block; font-size: 1.2rem; color: var(--accent-light); }
.about-img-badge span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 1.25rem; }
.about-list {
  list-style: none; margin-top: 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text); font-weight: 500;
}
.about-list li::before {
  content: '✦'; color: var(--accent); font-size: 0.65rem;
  margin-top: 0.25rem; flex-shrink: 0;
}

/* ── OPERATIONS ── */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.ops-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.ops-card:hover { box-shadow: 0 8px 32px rgba(10,22,40,0.08); transform: translateY(-3px); }
.ops-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,151,58,0.12), rgba(200,151,58,0.05));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200,151,58,0.2);
}
.ops-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.ops-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }

/* ── PRODUCTS ── */
.products-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}
.product-list { display: flex; flex-direction: column; gap: 1rem; }
.product-item {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.product-item:hover, .product-item.active {
  border-color: var(--accent);
  background: rgba(200,151,58,0.04);
}
.product-dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--border);
  flex-shrink: 0; transition: background 0.2s;
}
.product-item.active .product-dot { background: var(--accent); }
.product-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.product-item p { font-size: 0.8rem; color: var(--text-light); margin-top: 0.2rem; }
.products-highlight {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--white);
}
.products-highlight h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem; color: var(--accent-light); margin-bottom: 1.25rem;
}
.products-highlight p {
  font-size: 0.9rem; color: rgba(255,255,255,0.72);
  line-height: 1.75; margin-bottom: 1.25rem;
}
.highlight-stat {
  display: flex; gap: 1.5rem;
  margin-top: 1.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap;
}
.h-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--accent-light); }
.h-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.2rem; }

/* ── INFRASTRUCTURE ── */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.infra-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--accent);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.infra-card .big-num { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.infra-card .big-num span { font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.infra-card p { font-size: 0.8rem; color: var(--text-light); margin-top: 0.5rem; line-height: 1.5; }
.infra-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  align-items: start;
}
.infra-detail-text h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem;
}
.infra-detail-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.infra-img { border-radius: 12px; overflow: hidden; }
.infra-img img { width: 100%; height: 340px; object-fit: cover; display: block; }

/* ── OFFTAKE ── */
.offtake-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
}
.offtake-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.offtake-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.offtake-card .eoi-date {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.offtake-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; }
.offtake-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.offtake-card ul li {
  font-size: 0.85rem; color: var(--text-light);
  padding-left: 1.1rem; position: relative; line-height: 1.55;
}
.offtake-card ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-size: 0.75rem;
}
.offtake-volume-bar {
  background: var(--navy);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.ovb-text { flex: 1; }
.ovb-text h4 { color: var(--accent-light); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.ovb-text p { color: rgba(255,255,255,0.65); font-size: 0.875rem; line-height: 1.65; }
.ovb-num { font-size: 2.5rem; font-weight: 800; color: var(--white); text-align: center; }
.ovb-num span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; font-weight: 400; margin-top: 0.3rem; }

/* ── RESILIENCE ── */
.resilience-section { background: var(--navy) !important; }
.resilience-section .section-title { color: var(--white); }
.resilience-section .section-lead { color: rgba(255,255,255,0.6); }
.resilience-section .section-tag { color: var(--accent-light); }
.resilience-section .divider { background: linear-gradient(90deg, var(--accent-light), var(--accent)); }
.resilience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.resilience-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 2rem;
  transition: background 0.2s;
}
.resilience-card:hover { background: rgba(255,255,255,0.07); }
.resilience-card .rc-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.resilience-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--accent-light); margin-bottom: 0.75rem; }
.resilience-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ── LOCATION ── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}
.location-info p { color: var(--text-light); line-height: 1.8; margin-bottom: 1.25rem; }
.location-address {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--accent);
}
.location-address strong {
  display: block; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent); margin-bottom: 0.5rem;
}
.location-address p { margin: 0; font-size: 0.95rem; color: var(--navy); font-weight: 500; line-height: 1.6; }
.location-map { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(10,22,40,0.1); }
.location-map iframe { width: 100%; height: 420px; border: none; display: block; }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  margin-top: 3.5rem;
  align-items: start;
}
.contact-info p { color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(200,151,58,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-text strong {
  display: block; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-light); margin-bottom: 0.2rem;
}
.contact-item-text span { font-size: 0.9rem; color: var(--navy); font-weight: 500; }
.contact-form { background: var(--off-white); border-radius: 12px; padding: 2.5rem; }
.contact-form h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-light);
}
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid var(--border);
  border-radius: 6px; padding: 0.7rem 0.9rem;
  font-size: 0.9rem; font-family: inherit;
  color: var(--text); background: var(--white);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; background: var(--accent);
  color: var(--navy); border: none;
  padding: 0.9rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--accent-light); }

/* ── FOOTER ── */
footer { background: #0d1a2e; color: rgba(255,255,255,0.55); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Top section */
.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-top .footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.footer-logo { height: 90px; width: auto; display: block; margin-bottom: 1.25rem; }
.footer-brand-col p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 260px;
}
.footer-socials { display: flex; gap: 0.6rem; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social-btn:hover {
  background: rgba(200,151,58,0.15);
  border-color: var(--accent);
  color: var(--accent-light);
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-col .footer-contact-line {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-col a.footer-contact-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a.footer-contact-link:hover { color: var(--accent-light); }
.footer-reg {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.75rem;
}

/* Bottom bar */
.footer-bottom {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }


/* Footer responsive */
@media (max-width: 900px) {
  .footer-top .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-top .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1rem; }
}

/* ── HERO (home only) ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(10,22,40,0.78) 0%, rgba(10,22,40,0.6) 55%, rgba(10,22,40,0.88) 100%),
    url('https://images.unsplash.com/photo-1566221857770-508d35ee6220?w=1800&auto=format&fit=crop') center/cover no-repeat;
  display: flex; align-items: center;
  padding: 10rem 2rem 5rem;
}
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.4);
  color: var(--accent-light);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent-light); border-radius: 50%;
}
.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--white); line-height: 1.15;
  margin-bottom: 1.5rem; max-width: 720px;
}
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.75);
  max-width: 580px; margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-primary { background: var(--accent); color: var(--navy); }
.hero .btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.hero .btn-secondary:hover { border-color: var(--accent); color: var(--accent-light); }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent-light); line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* ── HOME CARDS ── */
.home-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.home-nav-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: block;
}
.home-nav-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(200,151,58,0.1);
  transform: translateY(-3px);
}
.home-nav-card .card-icon {
  font-size: 2rem; margin-bottom: 1rem;
}
.home-nav-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.home-nav-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.home-nav-card .card-arrow {
  display: inline-block; margin-top: 1rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.5px;
}

/* ── IMAGE OVERLAY CARDS ── */
.img-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.img-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.img-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.img-card:hover .img-card-bg { transform: scale(1.06); }
.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,28,0.97) 0%, rgba(10,22,40,0.55) 55%, rgba(10,22,40,0.12) 100%);
}
.img-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
}
.img-card-icon {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: rgba(200,151,58,0.18);
  border: 1px solid rgba(200,151,58,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.img-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.55rem; }
.img-card p { font-size: 0.82rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

/* ── PHOTO BREAK ── */
.photo-break {
  position: relative;
  padding: 6rem 2rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.photo-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.75) 100%);
}
.photo-break-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 5rem;
  align-items: center;
  flex-wrap: wrap;
}
.photo-break-text { flex: 1; min-width: 280px; }
.photo-break-text .section-tag { color: var(--accent-light); }
.photo-break-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.photo-break-text h2 em { font-style: normal; color: var(--accent-light); }
.photo-break-text p { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 0.75rem; }
.photo-break-text .btn-primary { margin-top: 1.25rem; }
.photo-break-stats { display: flex; flex-direction: column; gap: 2.25rem; min-width: 200px; }
.pb-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--accent-light); line-height: 1; }
.pb-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.52); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* ── PRODUCT IMAGE CARDS ── */
.product-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.product-img-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}
.product-img-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.product-img-card:hover .product-img-card-bg { transform: scale(1.06); }
.product-img-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,28,0.95) 0%, rgba(10,22,40,0.42) 60%, transparent 100%);
}
.product-img-card-content { position: relative; z-index: 2; padding: 1.5rem 1.75rem; }
.product-img-badge {
  display: inline-block;
  background: rgba(200,151,58,0.18);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 4px;
  margin-bottom: 0.6rem;
}
.product-img-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.product-img-card p { font-size: 0.82rem; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* ── HOME IMAGE NAV CARDS ── */
.home-nav-card-img {
  border-radius: 10px;
  overflow: hidden;
  height: 140px;
  margin-bottom: 1.25rem;
  position: relative;
}
.home-nav-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.home-nav-card:hover .home-nav-card-img img { transform: scale(1.06); }
.home-nav-card { padding: 0; overflow: hidden; }
.home-nav-card-body { padding: 1.5rem; }

/* ── HIDE CARD ICONS GLOBALLY ── */
.ops-icon, .rc-icon, .img-card-icon { display: none !important; }

/* ── HAMBURGER NAV BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SECTION PHOTO ── */
.section-photo {
  margin: 2.5rem 0 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,22,40,0.1);
  position: relative;
}
.section-photo-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.section-photo-caption {
  background: rgba(10,22,40,0.72);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  padding: 0.6rem 1.1rem;
  margin: 0;
  letter-spacing: 0.3px;
}

/* ── PRODUCTS PAGE ── */
.product-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.product-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-panel:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}
.product-panel:hover {
  box-shadow: 0 8px 32px rgba(10,22,40,0.1);
  transform: translateY(-2px);
}
.product-panel-img {
  margin: -2rem -2rem 1.5rem -2rem;
  height: 200px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.product-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-panel:hover .product-panel-img img { transform: scale(1.04); }
.product-panel-header {
  margin-bottom: 1.25rem;
}
.product-panel-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.3rem;
}
.product-panel-badge.primary  { background: rgba(200,151,58,0.12); color: var(--accent);    border: 1px solid rgba(200,151,58,0.3); }
.product-panel-badge.core     { background: rgba(26,58,107,0.1);   color: var(--blue);      border: 1px solid rgba(26,58,107,0.2); }
.product-panel-badge.growth   { background: rgba(72,187,120,0.1);  color: #2f855a;          border: 1px solid rgba(72,187,120,0.25); }
.product-panel-badge.market   { background: rgba(160,120,200,0.1); color: #6b46c1;          border: 1px solid rgba(160,120,200,0.25); }
.product-panel-badge.residue  { background: rgba(100,100,100,0.1); color: #555;             border: 1px solid rgba(100,100,100,0.2); }
.product-panel-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}
.product-panel-class {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.2rem;
  letter-spacing: 0.3px;
}
.product-panel-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.product-panel-applications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.app-tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.service-card-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(200,151,58,0.18);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}
.service-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .product-panels { grid-template-columns: 1fr; }
  .product-panel:last-child:nth-child(odd) { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ── DIRECTORS PAGE ── */
.director-profile {
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 5rem;
  align-items: start;
}
.director-profile--reverse {
  grid-template-columns: 1fr 288px;
}
.director-profile--reverse .director-photo-col { order: 2; }
.director-profile--reverse .director-bio-col  { order: 1; }

.director-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10,22,40,0.15);
  aspect-ratio: 3 / 4;
  background: var(--off-white);
}
.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.director-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.director-photo-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.director-credentials {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.credential-item {
  padding: 0.75rem 1rem;
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.credential-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.credential-body {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}

.director-name {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.director-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
.director-bio-col p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.director-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.director-role-tag {
  background: rgba(10,22,40,0.06);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.director-separator {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

@media (max-width: 900px) {
  .director-profile,
  .director-profile--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .director-profile--reverse .director-photo-col { order: 0; }
  .director-profile--reverse .director-bio-col  { order: 0; }
  .director-photo-wrap { aspect-ratio: 4 / 3; max-width: 380px; }
}

/* ── POLICY CONTENT ── */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
}
.policy-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--navy);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}
.policy-content ul {
  margin: 0.5rem 0 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.policy-content ul li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}
.policy-content strong { color: var(--navy); }
.policy-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-inner { height: 72px; }
  .logo-emblem { height: 58px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem 2.5rem;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links a { font-size: 1rem; }
  .nav-cta { display: inline-block; width: fit-content; }
  nav.nav-open .nav-links { display: flex; }

  .page-banner { padding: 7rem 1.5rem 2.5rem; }
  section.page-section { padding: 3.5rem 1.5rem; }

  .about-grid, .products-layout, .location-grid,
  .contact-layout, .infra-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .ops-grid, .img-card-grid { grid-template-columns: 1fr 1fr; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .resilience-grid { grid-template-columns: 1fr; }
  .offtake-cards { grid-template-columns: 1fr; }
  .home-nav-grid { grid-template-columns: 1fr 1fr; }
  .about-img img { height: 300px; }
  .photo-break { background-attachment: scroll; }
  .photo-break-inner { flex-direction: column; gap: 2.5rem; }
  .photo-break-stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .product-img-grid { grid-template-columns: 1fr; }

  /* Products market section */
  .products-market-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

@media (max-width: 600px) {
  .nav-inner { height: 64px; }
  .logo-emblem { height: 50px; }
  .nav-links { top: 64px; }

  .page-banner { padding: 5.5rem 1.25rem 2rem; }
  .page-banner h1 { font-size: 1.8rem; }
  section.page-section { padding: 2.75rem 1.25rem; }

  .ops-grid, .infra-grid, .home-nav-grid, .img-card-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stats .stat-num { font-size: 1.6rem; }
  .ovb-num { font-size: 1.8rem; }
  .about-list { grid-template-columns: 1fr; }
  .photo-break { background-attachment: scroll; padding: 3.5rem 1.25rem; }
  .photo-break-stats { flex-direction: column; gap: 1.25rem; }
  .pb-stat-num { font-size: 1.8rem; }

  .hero { padding: 6rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .hero-btns a { text-align: center; }

  .offtake-volume-bar { flex-direction: column; gap: 1.5rem; text-align: center; }
  .infra-card .big-num { font-size: 1.8rem; }
  .contact-layout { gap: 2rem; }
  .footer-top .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1rem; }

  .lang-switcher { margin-left: 0; margin-top: 0.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Language Toggle
   ═══════════════════════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 14px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(10,22,40,0.25);
  color: var(--navy);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1.5;
}
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,151,58,0.08);
}
.lang-btn--active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--navy) !important;
}

/* ═══════════════════════════════════════════════════════════════
   RTL (Arabic) Layout Overrides
   ═══════════════════════════════════════════════════════════════ */

/* Nav */
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-hamburger { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 14px; }
[dir="rtl"] .nav-submenu { left: auto; right: 0; }

/* Flex row containers — reverse for RTL */
[dir="rtl"] .about-who-layout,
[dir="rtl"] .director-layout,
[dir="rtl"] .contact-layout { flex-direction: row-reverse; }

[dir="rtl"] .footer-inner { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom .footer-inner { flex-direction: row-reverse; }
[dir="rtl"] .footer-brand-col,
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .footer-legal { flex-direction: row-reverse; }

/* Text alignment — use logical start */
[dir="rtl"] .section-tag,
[dir="rtl"] .section-title,
[dir="rtl"] .page-banner-tag,
[dir="rtl"] .contact-info { text-align: right; }

[dir="rtl"] .contact-item { flex-direction: row-reverse; text-align: right; }

/* Divider — switch side */
[dir="rtl"] .divider { margin-left: auto; margin-right: 0; }

/* About bullet list */
[dir="rtl"] .about-list li { text-align: right; }

/* Director credentials */
[dir="rtl"] .director-creds { text-align: right; }
[dir="rtl"] .director-roles { flex-direction: row-reverse; flex-wrap: wrap; }

/* Product panels */
[dir="rtl"] .product-panel { text-align: right; }
[dir="rtl"] .product-apps { flex-direction: row-reverse; flex-wrap: wrap; }

/* Offtake cards */
[dir="rtl"] .offtake-card li { text-align: right; }
[dir="rtl"] .offtake-card li::before { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .offtake-volume-bar { flex-direction: row-reverse; }

/* Form labels */
[dir="rtl"] .form-group label { text-align: right; display: block; }
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { text-align: right; }

/* Stat cards */
[dir="rtl"] .hero-stat,
[dir="rtl"] .pb-stat,
[dir="rtl"] .infra-metric { text-align: center; }

/* Section inner cards grid — no flex-direction needed (grid handles it) */

/* Arrows in RTL buttons — reversed via translation values */

