:root {
  --wood: #8B5E3C;
  --wood-dark: #5C3A1E;
  --amber: #D4820A;
  --amber-light: #F5A623;
  --slate: #1C2B39;
  --slate-mid: #2E4057;
  --off-white: #F7F4EF;
  --warm-gray: #E8E2D9;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --green: #2E7D52;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Lato', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
}

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  background: var(--slate);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 120px;
  border-bottom: 3px solid var(--amber);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800; letter-spacing: 1px;
  color: #fff;
}
.nav-logo span { color: var(--amber-light); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: #ccc; text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber-light); }
.nav-cta {
  background: var(--amber); color: #fff;
  padding: 10px 22px; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 1px;
  text-decoration: none; text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--amber-light); }

/* Mobile Menu Button & Drawer */
.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-btn svg {
  fill: #fff;
  width: 28px;
  height: 28px;
}
.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  background: var(--slate);
  border-bottom: 3px solid var(--amber);
  z-index: 998;
  padding: 24px;
}
.mobile-menu-drawer.show {
  display: block;
}
.mobile-menu-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu-drawer ul li a {
  color: #ccc;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}
.mobile-menu-drawer ul li a:hover {
  color: var(--amber-light);
}

/* HERO */
.hero {
  margin-top: 120px; /* Adjusted to fit the height of the fixed nav */
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  background: var(--slate);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-left::after {
  content: '';
  position: absolute; right: -40px; top: 0; bottom: 0; width: 80px;
  background: var(--slate);
  clip-path: polygon(0 0, 100% 15%, 100% 85%, 0 100%);
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 2px;
  margin-bottom: 24px; width: fit-content;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 800; line-height: 1.05;
  color: #fff; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero h1 em { color: var(--amber-light); font-style: normal; }
.hero-sub {
  color: #a8bcc8; font-size: 1.05rem; line-height: 1.7;
  max-width: 460px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--amber); color: #fff;
  padding: 14px 30px; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 1px;
  text-decoration: none; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid #fff; color: #fff;
  padding: 12px 28px; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 1px;
  text-decoration: none; text-transform: uppercase;
  transition: all 0.2s; display: inline-block;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: #fff; color: var(--slate); }
.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.75);
}
.hero-stats {
  position: absolute; bottom: 40px; left: 40px;
  display: flex; gap: 24px;
}
.stat-box {
  background: rgba(28,43,57,0.9);
  border-left: 4px solid var(--amber);
  padding: 14px 20px; border-radius: 4px;
  backdrop-filter: blur(4px);
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--amber-light);
  display: block;
}
.stat-label { color: #ccc; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

/* TRUST BAR */
.trust-bar {
  background: var(--wood-dark);
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  color: var(--warm-gray);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.trust-item svg { fill: var(--amber-light); width: 18px; height: 18px; flex-shrink: 0; }

/* SECTIONS */
section { padding: 90px 48px; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800; text-transform: uppercase;
  color: var(--slate); line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted); font-size: 1rem;
  line-height: 1.7; max-width: 600px;
  margin-bottom: 48px;
}
.divider {
  width: 60px; height: 4px;
  background: var(--amber);
  margin-bottom: 20px; border-radius: 2px;
}

/* DIVISION 6 SCOPE */
.div6-section { background: var(--off-white); }
.div6-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 8px;
}
.div6-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.div6-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
.div6-card-img {
  width: 100%; height: 190px; object-fit: cover;
}
.div6-card-body { padding: 22px 24px 26px; }
.div6-csi {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 6px;
}
.div6-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 800; text-transform: uppercase;
  color: var(--slate); margin-bottom: 10px;
}
.div6-card ul { list-style: none; }
.div6-card ul li {
  color: var(--text-muted); font-size: 0.88rem;
  padding: 4px 0; border-bottom: 1px solid var(--warm-gray);
  display: flex; align-items: center; gap: 8px;
}
.div6-card ul li:last-child { border-bottom: none; }
.div6-card ul li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%; flex-shrink: 0;
}

/* SERVICES */
.services-section { background: var(--slate); }
.services-section .section-title { color: #fff; }
.services-section .section-sub { color: #9ab; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--slate-mid);
  border-radius: 8px; padding: 32px 28px;
  border-top: 4px solid var(--amber);
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: var(--amber-light); transform: translateY(-4px); }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 18px;
  background: var(--amber); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 26px; height: 26px; fill: #fff; }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 800; text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.service-card p { color: #9ab; font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; flex-grow: 1; }
.service-card ul { list-style: none; margin-bottom: 18px; }
.service-card ul li {
  color: #cdd; font-size: 0.83rem; padding: 4px 0;
  display: flex; gap: 8px; align-items: flex-start;
}
.service-card ul li::before {
  content: '▸'; color: var(--amber-light); flex-shrink: 0;
}
.service-link {
  display: inline-block; margin-top: auto;
  color: var(--amber-light); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 1px;
  text-transform: uppercase;
}
.service-link:hover { color: #fff; }

/* DELIVERABLES */
.deliver-section { background: var(--warm-gray); }
.deliver-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.deliver-img {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  position: relative;
}
.deliver-img img { width: 100%; display: block; }
.deliver-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(28,43,57,0.92);
  padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--amber-light); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.units-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 8px;
}
.unit-box {
  background: #fff; border-radius: 6px;
  padding: 18px 20px;
  border-left: 4px solid var(--wood);
}
.unit-box strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--wood-dark); text-transform: uppercase;
  margin-bottom: 4px;
}
.unit-box span { color: var(--text-muted); font-size: 0.85rem; }

/* PROCESS */
.process-section { background: #fff; }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 16px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px; background: var(--warm-gray); z-index: 0;
}
.step {
  text-align: center; padding: 0 12px; position: relative; z-index: 1;
}
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--slate);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 4px solid var(--amber);
}
.step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800; text-transform: uppercase;
  color: var(--slate); margin-bottom: 8px;
}
.step p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* SOFTWARE */
.software-section { background: var(--off-white); }
.software-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.software-card {
  background: #fff; border-radius: 8px; padding: 30px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-bottom: 4px solid var(--warm-gray);
  transition: border-color 0.2s;
}
.software-card:hover { border-color: var(--amber); }
.software-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 800; text-transform: uppercase;
  color: var(--slate); margin-bottom: 10px;
}
.software-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ABOUT */
.about-section {
  background: var(--slate);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; padding: 0;
}
.about-img { position: relative; overflow: hidden; min-height: 500px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(28,43,57,0.3), transparent);
}
.about-content {
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-content .section-title { color: #fff; }
.about-content .section-sub { color: #9ab; }
.about-list { list-style: none; margin-bottom: 32px; }
.about-list li {
  color: #cdd; font-size: 0.9rem; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 12px; align-items: flex-start;
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: '✓';
  color: var(--amber-light); font-weight: 700; flex-shrink: 0;
}

/* About subpage grids */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid.grid-reverse {
  grid-template-columns: 1fr 1.2fr;
}

/* CTA BANNER */
.cta-banner {
  background: var(--amber);
  padding: 60px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.cta-banner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800; text-transform: uppercase;
  color: #fff; max-width: 560px; line-height: 1.15;
}
.btn-dark {
  background: var(--slate); color: #fff;
  padding: 16px 36px; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.05rem; letter-spacing: 1px;
  text-decoration: none; text-transform: uppercase;
  transition: background 0.2s; white-space: nowrap;
}
.btn-dark:hover { background: var(--wood-dark); }

/* FOOTER */
footer {
  background: var(--wood-dark);
  padding: 56px 48px 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: #fff;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--amber-light); }
.footer-desc { color: #b8977c; font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 4px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background 0.2s;
}
.social-btn:hover { background: var(--amber); }
.social-btn svg { width: 16px; height: 16px; fill: #fff; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: #fff; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: #b8977c; text-decoration: none; font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--amber-light); }
.footer-contact-item {
  color: #b8977c; font-size: 0.88rem;
  margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start;
}
.footer-contact-item a {
  color: var(--amber-light);
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: break-word;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: #8a6a52; font-size: 0.82rem; }
.footer-bottom a { color: var(--amber-light); text-decoration: none; }

/* Custom Additions for Subpages */
.subpage-hero {
  background: var(--slate);
  padding: 100px 48px 80px;
  text-align: center;
  margin-top: 120px;
  border-bottom: 3px solid var(--amber);
}
.subpage-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.subpage-hero p {
  color: #a8bcc8;
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Page Grid & Form */
.contact-container {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.contact-form-card, .contact-info-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-info-card {
  background: var(--slate-mid);
  color: #fff;
}
.contact-form-group {
  margin-bottom: 20px;
}
.contact-form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
  display: block;
}
.contact-info-card .contact-form-label {
  color: var(--amber-light);
}
.contact-form-input, .contact-form-textarea, .contact-form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  outline: none;
}
.contact-form-input:focus, .contact-form-textarea:focus, .contact-form-select:focus {
  border-color: var(--amber);
}
.contact-info-item {
  margin-bottom: 30px;
}
.contact-info-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 8px;
}
.contact-info-item p {
  font-size: 1.05rem;
  color: #cdd;
  line-height: 1.5;
}

/* Careers Grid & Cards */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.career-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--amber);
  display: flex;
  flex-direction: column;
}
.career-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}
.career-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: bold;
}
.career-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.career-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.career-card ul li {
  font-size: 0.9rem;
  padding: 4px 0;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.career-card ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: bold;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  nav {
    height: 100px;
    padding: 0 24px;
  }
  .nav-logo-circle {
    width: 80px !important;
    height: 80px !important;
  }
  .footer-logo-circle {
    width: 80px !important;
    height: 80px !important;
  }
  .nav-logo img {
    height: 100% !important;
    width: 100% !important;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
  .mobile-menu-drawer {
    top: 100px;
  }
  
  /* Sections general padding & Typography */
  section {
    padding: 48px 20px;
  }
  .section-title {
    font-size: 2rem !important;
  }
  .subpage-hero h1 {
    font-size: 2.2rem !important;
  }

  /* Hero Section Mobile */
  .hero {
    margin-top: 100px;
    grid-template-columns: 1fr;
  }
  .hero-left {
    padding: 48px 20px;
    align-items: center;
    text-align: center;
    min-width: 0;
  }
  .hero-left::after {
    display: none; /* Hide diagonal shape when stacked */
  }
  .hero h1 {
    font-size: 2rem !important; /* Prevent long words like CONSTRUCTION / ESTIMATION from overflow clipping */
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-sub {
    margin: 0 auto 30px;
  }
  .hero-btns {
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .hero-btns a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .hero-right {
    min-height: 350px;
  }
  .hero-stats {
    position: static;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 20px;
    background: var(--slate);
  }
  .stat-box {
    flex: 1 1 140px;
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--amber);
  }

  /* About Grid (used in about.php) */
  .about-grid, .about-grid.grid-reverse {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .about-grid.grid-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  /* Home About Section */
  .about-section {
    grid-template-columns: 1fr;
  }
  .about-img {
    min-height: 300px;
  }
  .about-content {
    padding: 48px 24px;
  }

  /* Grids: Division 6 & Services */
  .div6-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Process Steps vertical alignment */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-steps::before {
    display: none; /* Hide horizontal connector line */
  }
  .step {
    padding: 0;
  }
  .step-num {
    margin-bottom: 12px;
  }

  /* Software Grid */
  .software-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* CTA Banner centering */
  .cta-banner {
    padding: 40px 24px;
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .cta-banner h2 {
    font-size: 1.6rem;
    margin: 0 auto;
  }
  .cta-banner .btn-dark {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  /* Subpages layout adjustments */
  .subpage-hero {
    margin-top: 100px;
    padding: 60px 20px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 24px auto;
    padding: 0 20px;
  }
  .contact-form-card, .contact-info-card {
    padding: 30px 20px;
  }
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  /* 1-column layouts for smaller mobile viewports */
  .div6-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-bar {
    gap: 20px;
    padding: 16px 20px;
  }
  
  .units-grid {
    grid-template-columns: 1fr;
  }
}
