/* ============================================================
   PROVECTUS ENGINEERING SOLUTIONS — style.css
   Applies to: index.html, about.html, services.html,
               projects.html, gallery.html, industries.html,
               contact.html
   ============================================================ */

/* ─── GOOGLE FONTS imported in each HTML <head> ─── */

/* ─── CSS VARIABLES ─── */
:root {
  --navy: #0d1b2a;
  --navy-mid: #162537;
  --navy-light: #1e3a52;
  --steel: #4a5568;
  --steel-light: #718096;
  --orange: #e8501a;
  --orange-dim: #c44015;
  --offwhite: #f5f6f8;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.14);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--offwhite);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-pad {
  padding: 100px 0;
}

/* ─── TYPOGRAPHY HELPERS ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: block;
  flex-shrink: 0;
}
.section-label.light {
  color: rgba(255, 255, 255, 0.5);
}
.section-label.light::before {
  background: rgba(255, 255, 255, 0.3);
}

.section-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.section-title-white {
  color: var(--white);
}

.section-desc {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition:
    background var(--transition),
    transform var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-dim);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition:
    background var(--transition),
    transform var(--transition);
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: #1ebe59;
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  fill: white;
}

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
#topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 38px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
.topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color var(--transition);
}
.topbar-item:hover {
  color: rgba(255, 255, 255, 0.9);
}
.topbar-item svg {
  fill: var(--orange);
}
.topbar-wa {
  color: #25d366 !important;
}
.topbar-wa svg {
  fill: #25d366 !important;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
nav#navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}
nav#navbar.scrolled {
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
}
.site-logo {
  height: 175px;
  width: auto;
  display: block;
}
.site-logo-footer {
  height: 300px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover {
  background: var(--orange-dim) !important;
}

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
#hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  display: block;
  transition: all 0.3s;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 108px;
  left: 0;
  right: 0;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem 5%;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
#mobile-menu.open {
  display: flex;
}
#mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition);
}
#mobile-menu a:last-child {
  border-bottom: none;
}
#mobile-menu a:hover {
  color: var(--orange);
}

/* ═══════════════════════════════════════
   HERO (index.html)
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 108px;
}

/* Right half diagonal photo panel */
.hero-bg-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 27, 42, 0.85) 0%,
    rgba(13, 27, 42, 0.35) 60%,
    rgba(13, 27, 42, 0.15) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 80, 26, 0.15);
  border: 1px solid rgba(232, 80, 26, 0.4);
  color: #f08060;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 40px;
  margin-bottom: 1.8rem;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.hero-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--orange);
}

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

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-item svg {
  fill: var(--orange);
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--navy-mid);
  padding: 18px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-pill svg {
  fill: var(--orange);
}

/* ─── STATS ─── */
.stats-section {
  background: var(--navy);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-item {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: all var(--transition);
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.stat-num {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── WHAT WE DO ─── */
.what-we-do {
  background: var(--offwhite);
  padding: 100px 0 80px;
}
.wwd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.wwd-main-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.wwd-main-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232, 80, 26, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.wwd-number {
  font-family: "Barlow", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.wwd-card-title {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0.6rem;
}
.wwd-card-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.65;
}
.wwd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.wwd-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}
.wwd-stat-num {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--orange);
}
.wwd-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.wwd-content .section-desc {
  margin: 1.2rem 0 2rem;
}

.wwd-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.wwd-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}
.wwd-service-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.wwd-service-item svg {
  fill: var(--orange);
}
.wwd-service-item .arrow {
  fill: var(--steel-light);
  margin-left: auto;
}

/* ─── SERVICES BAND ─── */
.services-band {
  background: var(--navy);
  padding: 100px 0;
  clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0 100%);
  margin: -3rem 0;
}
.services-band-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 80, 26, 0.12);
  border: 1px solid rgba(232, 80, 26, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.service-icon svg {
  fill: white;
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.service-benefits span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  padding-left: 12px;
  position: relative;
}
.service-benefits span::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

/* ─── WHY SECTION ─── */
.why-section {
  background: var(--offwhite);
  padding: 120px 0 100px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-content .section-desc {
  margin: 1.2rem 0 2.5rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.why-num {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: rgba(232, 80, 26, 0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 50px;
  transition: color var(--transition);
}
.why-item:hover .why-num {
  color: rgba(232, 80, 26, 0.4);
}
.why-item h4 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.why-item p {
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.6;
}

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
}
.why-card-orange {
  background: var(--orange);
  grid-column: 1 / -1;
}
.why-card-dark {
  background: var(--navy-light);
}
.why-card-num {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: white;
  line-height: 1;
}
.why-card-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 5px;
  font-weight: 500;
}

/* ─── PROCESS ─── */
.process-section {
  background: var(--navy-mid);
  padding: 70px 0;
}
.process-header {
  text-align: center;
  margin-bottom: 3rem;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.2rem;
}
.process-num {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  margin-bottom: 0.8rem;
}
.process-step h4 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.process-step p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin-top: 0.4rem;
  max-width: 120px;
}
.process-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.4rem;
  flex-shrink: 0;
  padding-top: 14px;
  padding-bottom: 0;
}

/* ─── PROJECT PREVIEW ─── */
.projects-preview {
  background: var(--offwhite);
  padding: 100px 0;
}
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: block;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  height: 220px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}
.project-card-body {
  padding: 1.5rem;
}
.project-card-body h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.project-problem {
  font-size: 0.82rem;
  color: var(--steel-light);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.project-outcome {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
}
.project-outcome svg {
  fill: var(--orange);
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 80, 26, 0.12), transparent 70%);
  pointer-events: none;
}
.final-cta-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  position: relative;
}
.final-cta-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}
.final-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════
   PAGE HERO  (about / services / etc.)
═══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  min-height: 50vh;
  padding: 108px 5% 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* curved bottom divider into offwhite */
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--offwhite);
  clip-path: ellipse(55% 100% at 50% 100%);
}
/* For pages where next section is white */
.page-hero.into-white::after {
  background: var(--white);
}

/* Page hero with background image */
.page-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.68);
  z-index: 1;
}
.page-hero.has-bg-img .page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-hero.has-bg-img::after {
  z-index: 3;
}

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: white;
  max-width: 700px;
  margin: 1rem 0 1.5rem;
  line-height: 1.1;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */
.about-intro {
  background: var(--offwhite);
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.about-text .section-title {
  margin: 0.5rem 0 1.2rem;
}
.about-text .section-desc + .section-desc {
  margin-top: 1rem;
}

.mission-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
  border-left: 4px solid var(--orange);
}
.mission-card h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mission-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-size: 0.95rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.timeline-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.timeline-dot {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-dot svg {
  fill: white;
  width: 18px;
  height: 18px;
}
.timeline-content h4 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.timeline-content p {
  color: var(--steel);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Team */
.team-section {
  background: var(--navy);
  padding: 100px 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dim));
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: white;
}
.team-card h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.team-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Working model */
.working-model {
  background: var(--offwhite);
  padding: 80px 0;
}
.model-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin-top: 3rem;
}
.model-step {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.2rem 0.9rem;
  text-align: center;
  width: 125px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.model-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.model-step-icon {
  width: 46px;
  height: 46px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
}
.model-step-icon svg {
  fill: white;
  width: 20px;
  height: 20px;
}
.model-step h4 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}
.model-step p {
  font-size: 0.72rem;
  color: var(--steel-light);
  line-height: 1.45;
  margin-top: 0.35rem;
}
.model-arrow {
  color: var(--orange);
  font-size: 1.4rem;
  padding: 0 0.3rem;
  padding-bottom: 0.8rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════ */
.services-detail {
  background: var(--offwhite);
  padding: 80px 0;
}

.service-block {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--orange);
  transition: transform var(--transition);
}
.service-block:hover {
  transform: translateX(4px);
}
.service-block:last-child {
  margin-bottom: 0;
}

.service-block-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.service-block-right {
  /* sticky so it stays in view while scrolling long left columns */
  position: sticky;
  top: 160px;
  align-self: start;
}
.service-block-num {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: rgba(13, 27, 42, 0.06);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.service-block-left h2 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.service-block-left p {
  color: var(--steel);
  line-height: 1.7;
  font-size: 0.92rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.benefit-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--offwhite);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border-dark);
}
.benefit-chip svg {
  fill: var(--orange);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.service-photo-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}
.service-photo-strip::-webkit-scrollbar {
  width: 4px;
}
.service-photo-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}
.service-photo-strip img {
  width: 100%;
  height: 195px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s;
  cursor: pointer;
}
.service-photo-strip img:hover {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════
   PROJECTS PAGE
═══════════════════════════════════════ */
.projects-list {
  background: var(--offwhite);
  padding: 80px 0;
}

.project-block {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.project-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-block:last-child {
  margin-bottom: 0;
}

.project-block-header {
  display: grid;
  grid-template-columns: 340px 1fr;
}
.project-block-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.project-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-block:hover .project-block-img img {
  transform: scale(1.05);
}
.project-block-img .project-tag {
  z-index: 2;
}

.project-block-body {
  padding: 2rem 2.5rem;
}
.project-block-body h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.pso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.pso-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(232, 80, 26, 0.15);
  display: block;
}
.pso-text {
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.7;
  display: block;
}
.pso-outcomes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pso-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.5;
}
.pso-outcome-item::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 2rem 2rem;
}
.project-photo-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s;
}
.project-photo-grid img:hover {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════
   GALLERY PAGE
═══════════════════════════════════════ */
.gallery-section {
  background: var(--offwhite);
  padding: 80px 0;
}

.gallery-filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 40px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  transition: all var(--transition);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--navy);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
/* Corrects EXIF-rotated images displayed 90° CCW on the site */
.img-rotate-90 {
  transform: rotate(90deg);
}
.gallery-item:hover img.img-rotate-90 {
  transform: rotate(90deg) scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}
.gallery-item[data-hidden="true"] {
  display: none;
}

/* ═══════════════════════════════════════
   INDUSTRIES PAGE
═══════════════════════════════════════ */
.industries-section {
  background: var(--offwhite);
  padding: 80px 0;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.industry-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border-bottom: 4px solid transparent;
  display: block;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--orange);
}
.industry-card-img {
  height: 200px;
  overflow: hidden;
}
.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.industry-card:hover .industry-card-img img {
  transform: scale(1.05);
}
.industry-card-body {
  padding: 2rem;
}
.industry-card-body h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.industry-card-body p {
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.industry-tag {
  background: var(--offwhite);
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-dark);
}

/* ═══════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════ */
.contact-section {
  background: var(--offwhite);
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-panel h2 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  padding: 1.2rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 80, 26, 0.08);
  border: 1px solid rgba(232, 80, 26, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  fill: var(--orange);
  width: 18px;
  height: 18px;
}
.contact-detail-text h4 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-detail-text p,
.contact-detail-text a {
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color var(--transition);
}
.contact-detail-text a:hover {
  color: var(--orange);
}

.whatsapp-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}
.whatsapp-panel h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.whatsapp-panel p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.contact-form-panel {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form-panel h2 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-form-panel > p {
  color: var(--steel);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--offwhite);
  transition: all var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 3px rgba(232, 80, 26, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--orange-dim);
  transform: translateY(-2px);
}
.form-submit svg {
  fill: white;
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--steel-light);
  margin-top: 1rem;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--navy);
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.footer-col h4 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: white;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col li a,
.footer-col li span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: color var(--transition);
}
.footer-col li a:hover {
  color: var(--orange);
}
.footer-col li svg {
  fill: var(--orange);
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Large Tablet (≤1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-logo {
    height: 130px;
  }
  .site-logo-footer {
    height: 200px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (≤900px)
═══════════════════════════════════════ */
@media (max-width: 900px) {
  /* Logo */
  .site-logo {
    height: 100px;
  }
  .site-logo-footer {
    height: 150px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }
  #hamburger {
    display: flex;
  }
  .topbar-right {
    display: none;
  }

  /* Hero */
  .hero-bg-right {
    width: 100%;
    clip-path: none;
    opacity: 0.15;
  }
  .hero-content {
    max-width: 100%;
  }

  /* Grids */
  .wwd-grid,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .team-grid,
  .project-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Services detail — keep 2-col on tablet, reduce strip height */
  .service-block-top {
    gap: 1.5rem;
  }
  .service-block-right {
    position: static;
  }
  .service-photo-strip {
    max-height: 360px;
  }
  .service-photo-strip img {
    height: 165px;
  }

  /* Projects detail */
  .project-block-header {
    grid-template-columns: 1fr;
  }
  .project-block-img {
    height: 220px;
  }
  .pso-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .project-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Misc */
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .process-arrow {
    display: none;
  }
  .model-arrow {
    display: none;
  }
  .model-steps {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .wwd-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (≤600px)
═══════════════════════════════════════ */
@media (max-width: 600px) {
  /* Logo */
  .site-logo {
    height: 62px;
  }
  .site-logo-footer {
    height: 67px;
  }

  .services-grid,
  .team-grid,
  .project-cards-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 1.5rem 0;
  }
  .process-step {
    padding: 0 1rem;
    flex: 0 0 33.33%;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-trust {
    gap: 0.8rem;
  }

  .why-visual {
    grid-template-columns: 1fr 1fr;
  }
  .why-card-orange {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .service-block-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-block-right {
    position: static;
  }
  .service-photo-strip {
    max-height: 280px;
  }
  .service-photo-strip img {
    height: 140px;
  }
  .project-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .wwd-stats {
    grid-template-columns: 1fr 1fr;
  }
  .model-step {
    flex: 0 0 calc(50% - 0.5rem);
    width: auto;
  }
  .section-pad {
    padding: 70px 0;
  }

  .trust-bar-inner {
    gap: 1rem;
    justify-content: flex-start;
  }

  /* Gallery filters — horizontal scroll on mobile instead of multi-line wrap */
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  /* Topbar — hide on mobile, shift dependent elements up by 38px */
  #topbar {
    display: none;
  }
  nav#navbar {
    top: 0;
  }
  #mobile-menu {
    top: 70px;
  }
  .hero {
    padding-top: 70px;
  }
  .page-hero {
    padding-top: 70px;
  }
  .service-sticky-nav {
    top: 70px !important;
  }
}

/* ═══════════════════════════════════════
   PROJECTS PAGE — GRID & LIGHTBOX
═══════════════════════════════════════ */

.projects-grid-section {
  padding: 70px 0 100px;
  background: var(--offwhite);
}

/* ─── Filter bar ─── */
.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.proj-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border-dark);
  background: white;
  color: var(--steel);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.proj-filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 80, 26, 0.04);
}
.proj-filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.proj-filter-count {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.12);
  color: inherit;
  padding: 1px 7px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
}
.proj-filter-btn.active .proj-filter-count {
  background: rgba(255, 255, 255, 0.22);
}

/* ─── Results bar ─── */
.proj-results-bar {
  margin-bottom: 2rem;
  color: var(--steel-light);
  font-size: 0.85rem;
}
.proj-results-bar strong {
  color: var(--navy);
  font-weight: 700;
}

/* ─── Grid ─── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── Card ─── */
@keyframes projCardIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.proj-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: projCardIn 0.45s ease both;
  outline: none;
}
.proj-card:hover,
.proj-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Card image */
.proj-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--navy-mid);
  flex-shrink: 0;
}
.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.proj-card:hover .proj-card-img img {
  transform: scale(1.06);
}
.proj-card:hover .proj-card-img img.img-rotate-90 {
  transform: rotate(90deg) scale(1.06);
}

/* Category badge */
.proj-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Photo count pill */
.proj-card-imgcount {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Card body */
.proj-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proj-card-body h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-card-body p {
  color: var(--steel);
  font-size: 0.83rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-card-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: "Barlow", sans-serif;
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: gap 0.2s ease;
}
.proj-card:hover .proj-card-action {
  gap: 9px;
}

/* Empty state */
.proj-empty {
  text-align: center;
  padding: 5rem 0;
  color: var(--steel-light);
  font-size: 1rem;
}

/* ─── Lightbox ─── */
.proj-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.proj-lb.open {
  opacity: 1;
  pointer-events: all;
}
.proj-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.proj-lb-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.proj-lb-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.proj-lb-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.proj-lb-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 3.5rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.proj-lb-badge {
  padding: 3px 11px;
  border-radius: 50px;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.proj-lb-title {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.proj-lb-counter {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  flex-shrink: 0;
  font-weight: 500;
}

.proj-lb-stage {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  flex: 1;
  min-height: 0;
}
.proj-lb-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
}
.proj-lb-img-wrap img {
  max-width: 100%;
  max-height: 55vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
}
.proj-lb-arrow {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.proj-lb-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.2);
}
.proj-lb-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.proj-lb-thumbs {
  display: flex;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.proj-lb-thumbs::-webkit-scrollbar {
  height: 3px;
}
.proj-lb-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.proj-lb-thumb {
  width: 60px;
  height: 44px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.45;
  transition:
    opacity 0.2s,
    outline 0.2s,
    outline-offset 0.2s;
  outline: 2px solid transparent;
  outline-offset: 0px;
}
.proj-lb-thumb:hover {
  opacity: 0.75;
}
.proj-lb-thumb.active {
  opacity: 1;
  outline-color: var(--orange);
  outline-offset: 2px;
}

/* ─── Responsive overrides for projects grid ─── */
@media (max-width: 900px) {
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proj-lb-img-wrap img {
    max-height: 46vh;
  }
}
@media (max-width: 600px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }
  .proj-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .proj-filters::-webkit-scrollbar {
    display: none;
  }
  .proj-filter-btn {
    flex-shrink: 0;
    padding: 7px 13px;
    font-size: 0.78rem;
  }
  .proj-lb-panel {
    border-radius: var(--radius-md);
  }
  .proj-lb-img-wrap img {
    max-height: 40vh;
  }
  .proj-lb-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
  .proj-lb-thumb {
    width: 50px;
    height: 38px;
  }
}

/* ============================================================
   SOCIAL ICONS — Footer Row
   ============================================================ */
.footer-social-icons {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: var(--steel);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.social-icon-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   FIND US ONLINE — Contact Page Section
   ============================================================ */
.find-us-online {
  background: var(--bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.find-us-online .section-label {
  text-align: center;
  margin-bottom: 0.5rem;
}
.find-us-online .section-desc {
  text-align: center;
  color: var(--steel);
  margin-bottom: 2.5rem;
}
.social-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  padding: 24px 12px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-card:hover {
  box-shadow: 0 6px 24px rgba(232,80,26,0.12);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.social-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-alt);
}
.social-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT FORM — Success State & Spinner
   ============================================================ */
@keyframes pes-spin {
  to { transform: rotate(360deg); }
}
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  min-height: 420px;
  gap: 1rem;
}
.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  margin-bottom: 0.5rem;
}
.form-success-state h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0;
}
.form-success-state p {
  color: var(--steel);
  font-size: 1rem;
  max-width: 360px;
  margin: 0;
}
.form-success-note {
  font-size: 0.875rem !important;
  color: var(--steel-light) !important;
  margin-top: 0.25rem;
}
