/* =====================================================
   GANESH ENGINEERING WORKS Master Design System
   Version: 1.0 | Industrial Engineering Theme
   ===================================================== */

/* ─── Google Fonts ─────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

/* ─── CSS Variables ─────────────────────────────────── */
:root {
  /* Colors */
  --navy: #1a2942;
  --navy-dark: #0f1c2e;
  --navy-mid: #243552;
  --amber: #c8922a;
  --amber-dark: #9a6c15;
  /* WCAG AA on white: ~5.8:1 */
  --amber-light: #e0a83c;
  --amber-pale: #f5e6c8;
  --surface: #f4f5f7;
  --surface-2: #e8ebf0;
  --white: #ffffff;
  --text: #1c2025;
  --text-muted: #5a6580;
  --text-light: #8a96aa;
  --border: #d0d7e3;
  --border-dark: #2e3f58;
  --success: #2e7d32;
  --error: #c62828;

  /* Typography */
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-ui: "Inter", sans-serif;

  /* Spacing */
  --section-pad: 60px;
  --section-pad-sm: 32px;
  --gap: 24px;
  --gap-sm: 16px;
  --gap-lg: 40px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(15, 28, 46, 0.1);
  --shadow-md: 0 4px 24px rgba(15, 28, 46, 0.14);
  --shadow-lg: 0 8px 40px rgba(15, 28, 46, 0.2);
  --radius: 4px;
  --transition: 0.25s ease;
  --max-width: 1320px;
}

/* ─── Reset & Base ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

/* ─── Typography ────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-ui);
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
}

p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  /* Use amber-dark on light/white backgrounds for WCAG AA compliance */
  color: var(--amber-dark);
  margin-bottom: 12px;
}

/* On dark sections, bright amber is fine override back */
section.section-dark .section-label,
section.section-navy .section-label,
.page-header .section-label,
.cta-band .section-label {
  color: var(--amber-light);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--amber);
  margin: 16px 028px;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Layout ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

section {
  padding: var(--section-pad) 0;
}

section.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}

section.section-dark h1,
section.section-dark h2,
section.section-dark h3,
section.section-dark h4 {
  color: var(--white);
}

section.section-dark p,
section.section-dark .section-label {
  color: rgba(255, 255, 255, 0.75);
}

section.section-dark .section-label {
  color: var(--amber-light);
}

section.section-surface {
  background: var(--surface);
}

section.section-navy {
  background: var(--navy);
  color: var(--white);
}

section.section-navy h2,
section.section-navy h3,
section.section-navy h4 {
  color: var(--white);
}

section.section-navy p,
section.section-navy .section-label {
  color: rgba(255, 255, 255, 0.75);
}

section.section-navy .section-label {
  color: var(--amber-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap-lg);
}

.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap-lg);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.gap-top {
  margin-top: 48px;
}

/* ─── Global Focus Styles (Accessibility) ───────────── */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* Remove outline for mouse users; keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 146, 42, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 28, 46, 0.2);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 0.95rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ─── Navigation ────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
  background: var(--navy-dark);
  transition: all var(--transition);
  padding: 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

#navbar.scrolled {
  background: rgba(15, 23, 42, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 150px; /* Force consistent space for logo area */
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.04em;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  /* Hexagon shape for industrial feel */
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-logo-tagline {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  color: var(--amber-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
  letter-spacing: 0.03em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: var(--amber-light);
}

/* Nav CTA compact version, following standardized style */
.nav-cta {
  margin-left: 20px;
  padding: 8px 18px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  border-radius: var(--radius) !important;
  /* Standardized radius */
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  z-index: 5001;
  padding: 20px var(--gap);
  border-top: 1px solid var(--border-dark);
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--amber-light);
}

.mobile-nav .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* ─── Page Header (Inner Pages) ─────────────────────── */
.page-header {
  background: var(--navy-dark);
  padding: 140px 060px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.15;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header .section-label {
  color: var(--amber-light);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--amber-light);
}

.breadcrumb span {
  color: var(--amber-light);
}

/* ─── Cards ─────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-body {
  padding: 28px;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-tag {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Project Card (Redesigned Hover) */
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--amber);
}

/* Removed zoom on hover per user request */

.project-card-content {
  padding: 28px 24px;
  position: relative;
  background: var(--white);
  z-index: 2;
  transition: transform 0.4s ease;
}

.project-card-tag {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

.project-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Subtle amber accent bar that grows on hover */
.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--amber);
  transition: width 0.4s ease;
  z-index: 3;
}

.project-card:hover::after {
  width: 100%;
}

/* Service Card */
.service-card {
  padding: 32px 28px;
  border-left: 4px solid var(--amber);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--amber-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--amber);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-card ul {
  margin-top: 12px;
}

.service-card ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--surface-2);
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--amber);
}

/* Capability Card */
.capability-card {
  padding: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  transition:
    background var(--transition),
    border-color var(--transition);
}

.capability-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--amber);
}

.capability-icon {
  width: 60px;
  height: 60px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.capability-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.capability-card h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.capability-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Industry Card */
.industry-card {
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}

.industry-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.industry-icon svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}

.industry-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─── Stats Bar ─────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-top: 3px solid var(--amber);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--amber-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Client Logos (Redesigned for Real Logos) ────────── */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.client-logo-item {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: default;
}

.client-logo-item:hover {
  background: #fbfbfb;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
}

.client-logo-img {
  max-width: 160px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.client-logo-item:hover .client-logo-img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.client-logo-name {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

.client-sector {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ─── Gallery Grid ──────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 46, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-filter-btn {
  padding: 8px 20px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── Process Steps ─────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  counter-reset: step-counter;
}

.process-step {
  padding: 28px;
  border: 1px solid var(--border-dark);
  position: relative;
  counter-increment: step-counter;
}

.process-step::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.process-step h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber-light);
  margin-bottom: 12px;
}

/* ─── CTA Band ──────────────────────────────────────── */
.cta-band {
  background: var(--amber);
  padding: 64px 0;
}

.cta-band h2 {
  color: var(--navy-dark);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.cta-band p {
  color: rgba(15, 28, 46, 0.75);
  margin-top: 8px;
  font-size: 1.1rem;
}

.cta-band .btn-secondary {
  border-color: var(--navy-dark);
  color: var(--navy-dark);
}

.cta-band .btn-secondary:hover {
  background: var(--navy-dark);
  color: var(--white);
}

/* ─── Engineering Capabilities Redesign (Clean) ──────── */
.capability-section {
  background: var(--surface);
  padding: 100px 0;
  position: relative;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.capability-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--amber);
}

.capability-card-tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.capability-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.capability-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.capability-card-num {
  display: none;
  /* Removed huge numbers */
}


/* ─── Contact ───────────────────────────────────────── */
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.contact-info-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-info-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-ui);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

/* Required field asterisk */
.form-group label .req {
  color: var(--error);
  margin-left: 3px;
  font-size: 0.9em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.9375rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  border-radius: var(--radius);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 41, 66, 0.1);
}

/* Form error state */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.form-error-msg {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 5px;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

/* Form success */
.form-success-banner {
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: var(--success);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  display: none;
  border-radius: var(--radius);
}

.form-success-banner.visible {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ─── Map ───────────────────────────────────────────── */
.map-wrapper {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── Values ────────────────────────────────────────── */
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-bottom: 4px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.value-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 30px;
  height: 30px;
  color: var(--amber);
}

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── Timeline ──────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--amber);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--amber);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── Footer ────────────────────────────────────────── */
#footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  border-top: 3px solid var(--amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Balanced Symmetry */
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .nav-logo-img {
  height: 44px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 16px var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ─── Fade-in Animation ─────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 {
  transition-delay: 0.1s;
}

.fade-delay-2 {
  transition-delay: 0.2s;
}

.fade-delay-3 {
  transition-delay: 0.3s;
}

.fade-delay-4 {
  transition-delay: 0.4s;
}

/* ─── SVG Icon helper ───────────────────────────────── */
.icon {
  display: inline-block;
  vertical-align: middle;
}

/* ─── Testimonial Cards ─────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--amber);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: 0.5;
}

.testimonial-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--surface-2);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--amber);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ─── Why Choose GEW Band ───────────────────────────── */
.why-band {
  background: #fdf6e8;
  padding: 56px 0;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
}

.why-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(200, 146, 42, 0.18);
}

.why-item {
  background: #fdf6e8;
  padding: 36px 28px;
  text-align: center;
}

.why-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.why-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── WhatsApp Float Button ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  letter-spacing: 0.02em;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .whatsapp-float span.wa-label {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 80px;
    /* Moved up to clear mobile CTA bar */
  }
}

/* ─── Mobile CTA Call Bar ───────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--navy-dark);
  border-top: 2px solid var(--amber);
  padding: 10px var(--gap);
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .mobile-cta-bar {
    display: flex;
  }

  /* Push page content above the mobile CTA bar */
  body {
    padding-bottom: 64px;
  }
}

.mobile-cta-call {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-cta-call svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

/* ─── Skip to content link (accessibility) ──────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--amber);
  color: var(--navy-dark);
  padding: 12px 20px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Stats bar bottom border */
.stats-bar {
  border-bottom: 3px solid var(--navy-mid);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-bottom: 1px solid var(--border-dark);
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-2-1,
  .grid-1-2 {
    grid-template-columns: 1fr;
  }

  .testimonial-grid,
  .why-items {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band .flex-between {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .page-header {
    padding: 120px 048px;
  }

  /* Hero Mobile Refinements */
  .hero-content {
    text-align: center;
    padding-bottom: 60px;
  }

  .hero-eyebrow {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-established {
    width: 100%;
    text-align: center;
    align-items: center;
    margin-top: 8px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 24px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* ─── Utility ───────────────────────────────────────── */
.mt-0 {
  margin-top: 0 !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-32 {
  margin-top: 32px !important;
}

.mt-48 {
  margin-top: 48px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mb-32 {
  margin-bottom: 32px !important;
}

.mb-48 {
  margin-bottom: 48px !important;
}

.highlight {
  color: var(--amber);
}

.text-white {
  color: var(--white) !important;
}

.text-muted-c {
  color: var(--text-muted) !important;
}

.fw-700 {
  font-weight: 700;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.gap-12 {
  gap: 12px;
}

.hidden {
  display: none !important;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Photo Strip ────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 260px;
  gap: 4px;
}

.photo-strip-item {
  position: relative;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-strip-item:hover img {
  transform: scale(1.08);
}

.photo-strip-item .strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 28, 46, 0.7) 0%,
      transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-strip-item:hover .strip-overlay {
  opacity: 1;
}

/* ─── Photo Strip 4-col ──────────────────────────────── */
.photo-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 240px;
  gap: 4px;
}

/* ─── Projects Page Refinement ────────────────────────── */
.project-photo-block {
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.project-photo-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-info-side {
  display: flex;
  flex-direction: column;
}

.project-visual-side {
  min-width: 0; /* Prevents carousel from breaking flex/grid */
}

@media (max-width: 900px) {
  .project-photo-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
  }
}


/* ─── Service Image Row ──────────────────────────────── */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section.reverse {
  direction: rtl;
}

.service-section.reverse>* {
  direction: ltr;
}

.service-img-wrap {
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.service-img-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--amber);
  color: var(--navy-dark);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.service-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--surface-2);
  line-height: 1;
  margin-bottom: -12px;
  display: block;
}

/* ─── Process Flow (4-step) ──────────────────────────── */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-flow-step {
  padding: 32px 24px;
  background: var(--navy-dark);
  border-right: 1px solid var(--border-dark);
  position: relative;
  text-align: center;
}

.process-flow-step:last-child {
  border-right: none;
}

.process-flow-step::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--amber);
  z-index: 2;
}

.process-flow-step:last-child::after {
  display: none;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.process-flow-step h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-flow-step p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.process-flow-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 146, 42, 0.15);
  border: 1px solid rgba(200, 146, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-flow-icon svg {
  width: 24px;
  height: 24px;
  color: var(--amber);
}

/* ─── Shared Page Headers (Restored) ─────────────────── */
.page-header-photo {
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Corrected: Align container to left */
  overflow: hidden;
  color: #ffffff;
  padding-top: 60px;
}

.page-header-photo .ph-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  /* Subtle zoom for more depth */
  transform: scale(1.05);
}

.page-header-photo .ph-grad {
  position: absolute;
  inset: 0;
  /* Darker, more authoritative gradient for readability */
  background: linear-gradient(to right,
      rgba(8, 12, 24, 0.98) 0%,
      rgba(8, 12, 24, 0.85) 35%,
      rgba(8, 12, 24, 0.4) 100%);
  z-index: 2;
}

.page-header-photo .ph-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-left: 0 !important; /* Force pin to left side of site container */
  margin-right: auto !important;
}

.page-header-photo h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: #ffffff;
  font-family: var(--font-display);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: left !important; /* Aggressive Fix */
}

.page-header-photo p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 650px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  text-align: left !important; /* Aggressive Fix */
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 32px;
  color: var(--amber);
}

.breadcrumb a {
  color: #ffffff;
  opacity: 0.75;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  opacity: 1;
  border-bottom-color: var(--amber);
}

/* ─── Contact Page (Simplified Industrial) ───────────── */
.contact-ui-wrapper {
  background: var(--white);
  padding: 100px 0;
}

.contact-simple-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: flex-start;
}

/* Restored Contact Form Styles */
.contact-form-box {
  background: #fbfbfb;
  border: 1px solid var(--border);
  padding: 48px;
  border-radius: 4px;
}

.contact-form-box h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--navy-dark);
}

.contact-form-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.minimal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.minimal-field label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
}

.minimal-input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

.minimal-input:focus {
  border-color: var(--amber);
  outline: none;
}

@media (max-width: 900px) {
  .contact-simple-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ─── Industry Pill Cards ────────────────────────────── */
.industry-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.industry-pill {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.industry-pill:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-pill-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-pill:hover.industry-pill-img {
  transform: scale(1.05);
}

.industry-pill-body {
  padding: 20px 20px 24px;
  background: var(--white);
}

.industry-pill-body h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.industry-pill-body p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Image Overlay Card ─────────────────────────────── */
.img-overlay-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.img-overlay-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-overlay-card:hover img {
  transform: scale(1.05);
}

.img-overlay-card .overlay-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top,
      rgba(15, 28, 46, 0.95) 0%,
      rgba(15, 28, 46, 0) 100%);
  padding: 28px 24px 28px;
  width: 100%;
}

/* ─── Featured image block (full width with text) ────── */
.feature-img-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 500px;
  overflow: hidden;
}

.feature-img-block-img {
  position: relative;
  overflow: hidden;
}

.feature-img-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-img-block-content {
  background: var(--navy-dark);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-img-block-content h2,
.feature-img-block-content h3 {
  color: var(--white);
}

.feature-img-block-content p {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Clients Grid (2-row) ───────────────────────────── */
.client-logo-grid-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

/* ─── Responsive additions ───────────────────────────── */
@media (max-width: 1100px) {
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-flow-step::after {
    display: none;
  }

  .industry-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
    height: 200px;
  }

  .photo-strip .photo-strip-item:nth-child(4),
  .photo-strip .photo-strip-item:nth-child(5) {
    display: none;
  }

  .photo-strip-4 {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .photo-strip-4 .photo-strip-item {
    height: 160px;
  }

  .service-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-section.reverse {
    direction: ltr;
  }

  .service-img-wrap img {
    height: 280px;
  }

  .project-photos-grid.grid-3-photo,
  .project-photos-grid.grid-2-photo,
  .project-photos-grid.grid-4-photo {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .project-photos-grid .project-photo-item {
    height: 200px;
  }

  .feature-img-block {
    grid-template-columns: 1fr;
  }

  .feature-img-block-img {
    height: 300px;
  }

  .feature-img-block-content {
    padding: 40px 28px;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .industry-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header-photo {
    padding: 130px 0 52px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-filter-btn {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
  .gallery-filter-bar {
    gap: 8px;
  }
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    height: 180px;
  }

  .photo-strip .photo-strip-item:nth-child(3) {
    display: none;
  }

  .industry-pill-grid {
    grid-template-columns: 1fr;
  }

  .project-photos-grid.grid-3-photo,
  .project-photos-grid.grid-2-photo,
  .project-photos-grid.grid-4-photo {
    grid-template-columns: 1fr;
  }

  .project-photos-grid .project-photo-item {
    height: 220px;
  }
}

/* ─── Missing: Capability Cards (audit fix) ──────────── */
.capability-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  text-align: center;
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
  position: relative;
}

.capability-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--amber);
}

.capability-icon {
  width: 56px;
  height: 56px;
  background: var(--amber-pale);
  border: 1px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background var(--transition);
}

.capability-card:hover .capability-icon {
  background: var(--amber);
}

.capability-icon svg {
  width: 26px;
  height: 26px;
  color: var(--amber);
  transition: color var(--transition);
}

.capability-card:hover .capability-icon svg {
  color: var(--white);
}

.capability-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.capability-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  opacity: 0.82;
}

/* ─── Focus Visible (accessibility fix) ──────────────── */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════
   CAROUSEL Modern Cinematic Redesign
   ═══════════════════════════════════════════════════════ */

.gew-carousel {
  position: relative;
  background: #0a121e;
  user-select: none;
  --ch: 480px;
  --btn-size: 52px;
  /* Card frame radius + shadow WITHOUT overflow:hidden so dots are never clipped */
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 10px 20px rgba(0, 0, 0, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.16);
  /* Constrain width further to crop side-bars of processed images */
  max-width: 500px;
  margin: 32px auto;
  /* Clean shadow directly on the carousel */
  box-shadow: var(--shadow-lg);
  background: #0d1b2a;
}

/* ── Track ── */
.carousel-track-wrap {
  overflow: hidden;
  height: var(--ch, 400px);
  width: 100%;
  position: relative;
  /* Images clip cleanly to the card radius */
  border-radius: 14px 14px 0 0;
}

.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Hide scrollbar for clean look */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Changed to cover per user request for professional 'zoom and fit' look */
  object-position: center;
  display: block;
  background: #0f1c2e;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Removed zoom on hover per user request */

/* ── Bottom gradient + caption ── */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* two-stop gradient: opaque navy at bottom, fully transparent above */
  background: linear-gradient(to top,
      rgba(8, 16, 28, 0.92) 0%,
      rgba(8, 16, 28, 0.55) 40%,
      transparent 100%);
  padding: 48px 28px 20px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 4;
}

/* ── Circular frosted-glass arrow buttons ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: 50%;
  background: rgba(15, 28, 46, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  outline: none;
  /* Always visible consistent left/right button appearance */
  opacity: 1;
}

.carousel-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 0 6px rgba(200, 146, 42, 0.22);
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke-width: 2.5;
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

/* ── Dot bar indicators (thin animated lines) ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 13px 0 15px;
  background: #0d1b2a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  /* sits flush at bottom inside the card */
  border-radius: 0 0 14px 14px;
}

.carousel-dot {
  height: 3px;
  width: 18px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s ease;
  flex-shrink: 0;
}

.carousel-dot.active {
  width: 40px;
  background: var(--amber);
}

.carousel-dot:hover:not(.active) {
  background: rgba(200, 146, 42, 0.5);
}

/* ── Slide counter elegant top-right pill ── */
.carousel-count {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(8, 16, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px 4px 11px;
  border-radius: 40px;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

/* ── Strip carousel variant (Home + About photo strips) ── */
.strip-carousel {
  --ch: 400px;
  border-radius: 16px;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.1),
    024px 56px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  /* Give it a bit of breathing room on the page */
  margin: 0 auto;
  /* Narrower for strip variant to ensure side cropping of wide processed images */
  max-width: 600px;
}

.strip-carousel .carousel-track-wrap {
  height: var(--ch);
  border-radius: 16px 16px 0 0;
}

/* ── Project carousel variant ── */
.carousel-project {
  --ch: 400px;
  border-radius: 12px;
  /* Increased width for a more prominent "square-ish" display */
  max-width: 600px;
}

.project-carousel-wrap {
  margin-top: 0;
  /* Removed redundant shadow and background to eliminate the "unwanted border" */
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .strip-carousel {
    --ch: 300px;
  }

  .carousel-project {
    --ch: 280px;
  }

  .strip-carousel {
    border-radius: 12px;
  }

  .strip-carousel .carousel-track-wrap {
    border-radius: 12px 12px 0 0;
  }

  .carousel-dots {
    border-radius: 0 0 12px 12px;
  }
}

@media (max-width: 900px) {
  .strip-carousel {
    --ch: 240px;
  }

  .carousel-project {
    --ch: 220px;
  }

  .carousel-btn {
    --btn-size: 42px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .carousel-btn-prev {
    left: 12px;
  }

  .carousel-btn-next {
    right: 12px;
  }

  .carousel-dot {
    width: 14px;
    height: 3px;
  }

  .carousel-dot.active {
    width: 30px;
  }

  .gew-carousel {
    border-radius: 10px;
  }

  .carousel-track-wrap {
    border-radius: 10px 10px 0 0;
  }

  .carousel-dots {
    border-radius: 0 0 10px 10px;
  }

  .strip-carousel {
    border-radius: 10px;
  }

  .strip-carousel .carousel-track-wrap {
    border-radius: 10px 10px 0 0;
  }
}

@media (max-width: 600px) {
  .strip-carousel {
    --ch: 230px;
  }

  .carousel-project {
    --ch: 210px;
  }

  .carousel-btn {
    --btn-size: 36px;
  }

  .carousel-caption {
    font-size: 0.72rem;
    padding: 36px 16px 14px;
  }

  .carousel-count {
    font-size: 0.65rem;
    top: 10px;
    right: 12px;
  }

  .gew-carousel {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  }

  .carousel-track-wrap {
    border-radius: 8px 8px 0 0;
  }

  .carousel-dots {
    border-radius: 0 0 8px 8px;
  }
}

/* ─── Remove unwanted border from carousel containers ─── */
.project-card,
.card,
.svc-img-card {
  border: none;
  box-shadow: var(--shadow-sm);
}

.gew-carousel {
  border: none;
}

/* ─── Service section padding reduction ──────────────── */
.service-section {
  padding: 60px 0 !important;
}

/* ─── Skip link (inner pages) ────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--amber);
  color: var(--navy-dark);
  padding: 8px 16px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  left: 8px;
}
/* Interactive Gallery Styles */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  padding: 8px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-filter-btn:hover {
  background: var(--surface-hover);
  color: var(--text-color);
}
.gallery-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: none;
}
.gallery-item.show {
  display: block;
  animation: fadeInGallery 0.5s ease forwards;
}

@keyframes fadeInGallery {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

.load-more-container {
  text-align: center;
  margin-top: 48px;
  display: none;
}
.load-more-container.visible {
  display: block;
}
