/* ===================================================
   ZYPHORA METERS AFRICA LIMITED - Main Stylesheet
   Light Theme | Exo 2 + Rajdhani Fonts
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ============= CSS VARIABLES ============= */
:root {
  --navy: #0a1628;
  --navy-mid: #0d1f3c;
  --orange: #f4721e;
  --orange-light: #f99542;
  --orange-dark: #d45f0f;
  --orange-pale: #fff3eb;
  --orange-faint: #fef9f5;

  /* Light theme surfaces */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-card: #ffffff;
  --bg-dark: #0a1628;

  /* Text */
  --text-heading: #0a1628;
  --text-body: #3d4f6b;
  --text-muted: #7a8fa8;
  --text-light: #b0c0d4;

  /* Borders */
  --border: #e4e9f0;
  --border-dark: #d0d8e4;
  --border-orange: rgba(244,114,30,0.25);

  /* Fonts */
  --font-display: 'Exo 2', sans-serif;
  --font-body: 'Rajdhani', sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 16px rgba(10,22,40,0.08);
  --shadow-md: 0 6px 32px rgba(10,22,40,0.10);
  --shadow-lg: 0 16px 56px rgba(10,22,40,0.14);
}

/* ============= RESET ============= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #d45f0f;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 500;
}

/* ============= LAYOUT ============= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ============= NAVIGATION ============= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  background: rgba(255,255,255,0.0);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(10,22,40,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.nav-logo-text span { color: var(--orange); }

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff6400;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
 color: #5e97ec; 
}

/* White hero: nav links need to be visible before scroll */
.hero ~ * #navbar a,
.hero-white-nav .nav-links a { color: rgba(255,255,255,0.85); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--orange-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(244,114,30,0.3);
}

.btn-outline {
  background: transparent;
  color: #e78d5a; 
  border: 2px solid var(--border-dark);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--orange);
  padding: 0;
  gap: 6px;
  font-weight: 700;
}

.btn-ghost:hover { gap: 10px; }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.90) 0%,
    rgba(10, 22, 40, 0.72) 50%,
    rgba(10, 22, 40, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,114,30,0.15);
  border: 1px solid rgba(244,114,30,0.35);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-tag .label { margin: 0; color: #f99542; }

.hero-tag-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  margin-bottom: 24px;
  max-width: 780px;
  color: #fff;
}

.hero h1 span { color: var(--orange); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ============= STATS BAR ============= */
.stats-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stats-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-alt); }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num span { color: var(--orange); }

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============= SECTION HEADERS ============= */
.section-header { margin-bottom: 56px; }
.section-header .label { display: block; margin-bottom: 14px; }
.section-header .section-title { margin-bottom: 16px; }

/* ============= SERVICE CARDS ============= */
.services-split {
  display: flex;
  gap: 24px;
  border-radius: var(--radius-lg);
}

.service-pillar {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-pillar.energy::before { background: var(--orange); }
.service-pillar.it::before { background: #3b82f6; }

.service-pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.pillar-icon.energy { background: rgba(244,114,30,0.10); }
.pillar-icon.it { background: rgba(59,130,246,0.10); }
.pillar-icon svg { width: 28px; height: 28px; }

.service-pillar h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--text-heading);
}

.service-pillar .desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 500;
}

.sub-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sub-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.9rem;
  transition: var(--transition);
  font-weight: 500;
}

.sub-service-item:hover { color: var(--text-heading); }

.sub-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.energy .sub-dot { background: var(--orange); }
.it .sub-dot { background: #3b82f6; }

/* ============= DAYLIGHT SECTION ============= */
/* Still uses a photo background — keep dark overlay */
.daylight-section {
  position: relative;
  overflow: hidden;
}

.daylight-bg {
  position: absolute;
  inset: 0;
}

.daylight-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.daylight-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,22,40,0.95) 0%,
    rgba(10,22,40,0.86) 55%,
    rgba(10,22,40,0.55) 100%
  );
}

.daylight-content { position: relative; z-index: 2; }

.daylight-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  max-width: 560px;
}

.daylight-pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  transition: var(--transition);
}

.daylight-pillar:hover {
  background: rgba(244,114,30,0.08);
}

.daylight-pillar-icon {
  width: 44px; height: 44px;
  background: rgba(244,114,30,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.daylight-pillar-icon svg {
  width: 22px; height: 22px;
  color: var(--orange);
}

.daylight-pillar h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}

.daylight-pillar p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  font-weight: 500;
}

/* ============= SOFTWARE PORTFOLIO ============= */
.portfolio-strip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.portfolio-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: var(--bg);
  border-left: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.portfolio-card:last-child { border-bottom: none; }

.portfolio-card:hover {
  border-left-color: var(--orange);
  background: var(--orange-faint);
}

.portfolio-card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--border-dark);
  letter-spacing: 0.1em;
  min-width: 32px;
}

.portfolio-card-icon {
  width: 48px; height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.portfolio-card-icon svg { width: 22px; height: 22px; color: var(--orange); }

.portfolio-card-content { flex: 1; }

.portfolio-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-heading);
}

.portfolio-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

.portfolio-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.portfolio-card-arrow {
  color: var(--text-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-card-arrow {
  color: var(--orange);
  transform: translateX(4px);
}

/* ============= CLIENT SECTION ============= */
.clients-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.client-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.client-row:first-child { border-top: 1px solid var(--border); }
.client-row:hover { padding-left: 10px; background: var(--bg-alt); padding-right: 10px; border-radius: var(--radius); }

.client-initial {
  width: 44px; height: 44px;
  background: var(--orange-pale);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--orange);
  flex-shrink: 0;
}

.client-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
  min-width: 220px;
}

.client-domain {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 200px;
  font-weight: 500;
}

.client-engagement {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  font-weight: 500;
}

.client-sector {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-display);
}

/* ============= CTA SECTION ============= */
.cta-section {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(244,114,30,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 16px; color: #fff; }
.cta-section p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  font-size: 1.05rem;
  font-weight: 500;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============= FOOTER ============= */
footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand { flex: 0 0 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img { height: 36px; width: auto; }

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.footer-logo-text span { color: var(--orange); }

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-social { display: flex; gap: 10px; }

.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.footer-links {
  flex: 1;
  display: flex;
  gap: 48px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: var(--transition);
  font-weight: 500;
}

.footer-col a:hover { color: var(--orange); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============= PAGE HERO (inner pages) ============= */
.page-hero {
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(244,114,30,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 40%, rgba(59,130,246,0.04) 0%, transparent 50%);
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-top: 16px;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  font-weight: 500;
}

/* ============= BREADCRUMB ============= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
  font-family: var(--font-display);
}

.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--border-dark); }
.breadcrumb-current { color: var(--orange); }

/* ============= CONTENT BLOCKS ============= */
.content-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.content-block:last-child { border-bottom: none; }

.two-col {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.two-col.reverse { flex-direction: row-reverse; }
.two-col-text { flex: 0 0 50%; }
.two-col-visual { flex: 1; }

.two-col-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.feature-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px; height: 40px;
  background: var(--orange-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid var(--border-orange);
}

.feature-icon svg { width: 18px; height: 18px; color: var(--orange); }

.feature-item h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 500;
}

/* ============= CONTACT PAGE ============= */
.contact-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.contact-info { flex: 0 0 380px; }
.contact-form-wrap { flex: 1; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--orange-pale);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; color: var(--orange); }

.contact-detail h5 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
  font-family: var(--font-display);
}

.contact-detail p { font-size: 0.95rem; color: var(--text-heading); font-weight: 500; }

.contact-detail a {
  font-size: 0.95rem;
  color: var(--text-heading);
  transition: var(--transition);
  font-weight: 500;
}

.contact-detail a:hover { color: var(--orange); }

/* ============= FORM ============= */
.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 18px;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,114,30,0.08);
}

.form-field textarea { resize: vertical; min-height: 140px; }

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8fa8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-row { display: flex; gap: 20px; }
.form-row .form-field { flex: 1; }

/* ============= ABOUT VALUES ============= */
.values-list { display: flex; flex-direction: column; gap: 0; }

.value-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.value-item:first-child { border-top: 1px solid var(--border); }

.value-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(244,114,30,0.12);
  line-height: 1;
  min-width: 56px;
  padding-top: 4px;
}

.value-item h4 { font-size: 1.1rem; margin-bottom: 8px; }

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 500;
}

/* ============= TEAM ============= */
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.team-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.team-card-body { padding: 28px; }

.team-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 500;
}

/* ============= SCROLL ANIMATIONS ============= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============= UTILITY ============= */
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.text-heading { color: var(--text-heading); }
.font-display { font-family: var(--font-display); }
.bg-alt { background: var(--bg-alt); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ============= ORANGE DIVIDER ============= */
.divider-orange {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 20px 0;
}

/* ============= IMAGE GALLERY ============= */
.gallery-masonry { columns: 3; gap: 12px; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0);
  transition: var(--transition);
}

.gallery-item:hover::after { background: rgba(10,22,40,0.15); }

/* ============= SECTION ALT BG ============= */
.section-alt { background: var(--bg-alt); }
.section-border { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============= MOBILE NAV ============= */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 32px 40px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-body) !important;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center !important;
    width: 100% !important;
    color: #fff !important;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,0.4);
    z-index: 999;
    display: none;
  }

  .nav-overlay.active { display: block; }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; }
  .two-col { flex-direction: column; gap: 48px; }
  .two-col.reverse { flex-direction: column; }
  .two-col-text { flex: none; }
  .contact-layout { flex-direction: column; gap: 48px; }
  .contact-info { flex: none; }
  .services-split { flex-direction: column; gap: 16px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .portfolio-card { flex-wrap: wrap; gap: 16px; padding: 20px 24px; }
  .portfolio-card-num { display: none; }
  .portfolio-card-tag { font-size: 0.65rem; }
  .client-domain, .client-engagement { display: none; }
  .form-row { flex-direction: column; gap: 0; }
  .gallery-masonry { columns: 2; }
  .footer-links { flex-direction: column; gap: 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .service-pillar { padding: 40px 28px; }
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .gallery-masonry { columns: 1; }
  .client-sector { display: none; }
  .stats-inner { flex-direction: column; }
  .stat-item { border-right: none; flex: none; }
}

/* ============= SCROLLBAR ============= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============= SELECTION ============= */
::selection { background: rgba(244,114,30,0.2); color: var(--text-heading); }

/* ============= COMPAT: --white alias ============= */
:root { --white: #ffffff; }

/* Hero and CTA section force white text (dark photo/bg contexts) */
.hero h1, .hero .hero-sub, .hero .label { color: inherit; }
.hero h1 { color: #fff; }
.hero .hero-sub { color: rgba(255,255,255,0.75); }
.cta-section h2, .cta-section p { color: inherit; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.6); }

/* Daylight section (dark photo bg) */
.daylight-section .section-title,
.daylight-section .label,
.daylight-section .section-subtitle { color: #fff; }
.daylight-section .section-subtitle { color: rgba(255,255,255,0.65); }

/* Section-alt: ensure headings remain dark */
.section-alt h1, .section-alt h2, .section-alt h3,
.section-alt h4, .section-alt h5 { color: var(--text-heading); }

/* Stats bar on section-alt / section-border keeps dark text */
.stats-bar .stat-num { color: var(--text-heading); }
