:root {
  --color-primary: #4295AF;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-elev: #f7f9fc;
  --color-text: #0b1220;
  --color-muted: #5a667f;
  --color-border: #e6e9ef;
  --container-max: 1200px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(2, 12, 30, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* Typography - All headings use primary color */
h1, h2, h3, h4, h5, h6 { 
  margin: 0 0 16px; 
  font-weight: 700; 
  line-height: 1.2; 
  color: var(--color-primary); 
}

.resume {
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-logo { height: 80px; width: auto; display: block; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; color: var(--color-text); }

.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--color-text); text-decoration: none; opacity: 0.9; display: inline-flex; align-items: center; height: 40px; padding: 0 6px; }
.site-nav a:hover { opacity: 1; }
.site-nav .btn { margin-left: 8px; height: 40px; line-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; }
.site-nav .btn-primary { color: #ffffff !important; }

/* Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: "▼";
  margin-left: 6px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  display: block;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--color-primary) !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s ease;
  height: auto;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: var(--color-elev);
  color: var(--color-primary) !important;
  opacity: 1;
  transform: translateX(4px);
}

.dropdown-menu a[aria-current="page"] {
  background: var(--color-elev);
  color: var(--color-primary) !important;
  font-weight: 600;
}

/* Remove underlines from service card links */
.service-card {
  text-decoration: none;
}

.service-card:hover {
  text-decoration: none;
}

/* Services page responsive styles */
@media (max-width: 768px) {
  
  .services-hero h2 {
    font-size: 28px !important;
  }
  
  .services-hero p {
    font-size: 16px !important;
  }
  
  .services-stat {
    text-align: center;
  }
  
  .process-timeline {
    padding: 0 20px;
  }
  
  .timeline-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    padding: 0 20px !important;
  }
  
  /* Circle styling - order 1 */
  .timeline-item > div:nth-child(2) {
    order: 1 !important;
    width: 30px !important;
    height: 30px !important;
    background: var(--color-primary) !important;
    border-radius: 50% !important;
    position: relative !important;
    z-index: 2 !important;
    border: 4px solid white !important;
    box-shadow: 0 0 0 2px var(--color-primary) !important;
    margin: 15px 0 !important;
  }
  
  /* Button styling - order 2 */
  .timeline-item a {
    order: 2 !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    text-align: center !important;
    display: inline-block !important;
    max-width: 280px !important;
    word-wrap: break-word !important;
  }
  
  /* Description styling - order 3 */
  .timeline-item > div:first-child,
  .timeline-item > div:last-child {
    order: 3 !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    text-align: center !important;
    max-width: 300px !important;
  }
  
  .timeline-item > div:first-child p,
  .timeline-item > div:last-child p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: var(--color-muted) !important;
    margin: 0 !important;
    text-align: center !important;
  }
  
  /* Hide the vertical line on mobile */
  .process-timeline > div:first-child {
    display: none !important;
  }
}

.nav-toggle { display: none; background: none; color: var(--color-text); border: 1px solid var(--color-border); padding: 8px 12px; border-radius: 8px; min-height: 44px; min-width: 44px; cursor: pointer; }

.btn { display: inline-block; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: transform 0.1s ease, opacity 0.2s ease; min-height: 44px; min-width: 44px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-invert { background: #0b1220; color: #ffffff; }

.hero { position: relative; overflow: clip; background: #0b1220; color: #ffffff; min-height: 100vh; }
.hero-media { position: absolute; inset: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,0.40), rgba(11,18,32,0.80)); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; padding: 178px 0 120px; }
.hero h1 { font-size: clamp(48px, 7vw, 80px); line-height: 1.04; margin: 0 0 20px; letter-spacing: -0.7px; }
.hero p { max-width: 820px; font-size: clamp(18px, 2.2vw, 24px); color: #d6dbea; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stat { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: inline-block; padding: 0; border-radius: 0; background: transparent; color: #ffffff; font-weight: 700; backdrop-filter: none; font-size: clamp(28px, 4.5vw, 56px); text-shadow: 0 2px 12px rgba(0,0,0,0.55); }

.strip { background: var(--color-elev); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 40px 0; }
.section-title { margin: 0 0 20px; font-size: 40px; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.pill-scroll-container { 
  overflow-x: auto; 
  padding: 20px 0; 
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  will-change: scroll-position;
  transform: translateZ(0);
  contain: layout style paint;
}
.pill-scroll-container::-webkit-scrollbar { 
  height: 8px; 
  border-radius: 4px;
}
.pill-scroll-container::-webkit-scrollbar-track { 
  background: #f1f1f1; 
  border-radius: 4px; 
}
.pill-scroll-container::-webkit-scrollbar-thumb { 
  background: var(--color-primary); 
  border-radius: 4px; 
  transition: background 0.3s ease;
}
.pill-scroll-container::-webkit-scrollbar-thumb:hover { 
  background: #3a7a8f; 
}
.pill-row { 
  display: flex; 
  gap: 40px; 
  padding: 0 20px; 
  min-width: max-content;
  contain: layout style paint;
}
.pill-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 16px; 
  min-width: 200px;
  flex-shrink: 0; 
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  will-change: transform;
  transform: translateZ(0);
}

.pill-item:hover {
  transform: translateY(-4px) translateZ(0);
}

.pill-item:hover .pill-image {
  transform: scale(1.05) translateZ(0);
}

.pill-item:hover .pill {
  background: var(--color-primary);
  color: white;
}

/* Service Card Click Functionality */
.service-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(66, 149, 175, 0.15);
}
.pill-image { 
  width: 500px; 
  height: 460px; 
  object-fit: cover; 
  border-radius: 12px; 
  border: 2px solid var(--color-border); 
  transition: all 0.3s ease; 
  will-change: transform;
  transform: translateZ(0);
}
.pill-image:hover { 
  border-color: var(--color-primary); 
  transform: scale(1.05) translateZ(0); 
  box-shadow: 0 4px 12px rgba(66, 149, 175, 0.3); 
}
.pill { 
  padding: 16px 32px; 
  background: #fff; 
  border: 1px solid var(--color-border); 
  border-radius: 999px; 
  color: var(--color-primary); 
  font-weight: 600; 
  white-space: nowrap; 
  transition: all 0.2s ease; 
  text-align: center; 
  font-size: 18px; 
  will-change: transform;
  transform: translateZ(0);
}
.pill:hover { 
  background: var(--color-primary); 
  color: #fff; 
  border-color: var(--color-primary); 
  transform: translateY(-2px) translateZ(0); 
  box-shadow: 0 4px 12px rgba(66, 149, 175, 0.3); 
}

.cards-grid { padding: 56px 0; }
.grid-header { text-align: center; margin-bottom: 48px; }
.grid-header h2 { margin: 0 0 16px; font-size: 32px; color: var(--color-primary); font-weight: 700; }
.grid-header p { margin: 0 0 24px; font-size: 18px; color: var(--color-muted); line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.link-arrow { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Standalone Service */
.services-standalone {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.services-standalone .card {
  width: 100%;
  max-width: none;
}

/* Services Grid - 2x3 Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 40px 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.3s ease; text-align: center; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(66, 149, 175, 0.15); border-color: var(--color-primary); }
.card-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: rgba(66, 149, 175, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.card:hover .card-icon { background: var(--color-primary); transform: scale(1.1); }
.card-icon svg { width: 32px; height: 32px; color: var(--color-primary); transition: all 0.3s ease; }
.card:hover .card-icon svg { color: #fff; }

.card-image {
  width: 100%;
  height: 280px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}
.card h3 { margin: 0 0 12px; font-size: 20px; color: var(--color-primary); font-weight: 600; }
.card p { margin: 0; color: var(--color-muted); line-height: 1.6; }
.card ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; align-items: center; }
.card li { margin: 0 0 8px; color: var(--color-muted); line-height: 1.5; text-align: left; width: auto; max-width: 100%; }

/* Services Tabs */
.services-tabs {
  margin-top: 40px;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.tabs-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.tab-arrow {
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
  transform: translateY(-15px);
}

.tab-arrow:hover {
  background: #3a7a8a;
  transform: translateY(-15px) scale(1.1);
}

.tab-arrow:disabled {
  background: var(--color-border);
  cursor: not-allowed;
  transform: translateY(-15px);
}

.tab-arrow svg {
  width: 20px;
  height: 20px;
  color: white;
}

.tab-arrow:disabled svg {
  color: var(--color-muted);
}

.tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  scroll-behavior: smooth;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
  min-width: fit-content;
}

.tab-btn:hover {
  color: var(--color-primary);
  background: rgba(66, 149, 175, 0.05);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: rgba(66, 149, 175, 0.1);
  font-weight: 600;
}

.tabs-content {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
  display: block;
}

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

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tab-image {
  width: 100%;
  height: 590px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tab-image:hover img {
  transform: scale(1.05);
}

.tab-description h3 {
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 700;
}

.tab-description p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
}

.tab-description ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.tab-description li {
  margin: 0 0 12px;
  padding-left: 0;
  line-height: 1.5;
  color: var(--color-text);
}

.tab-description li strong {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .tabs-nav-wrapper {
    gap: 8px;
  }
  
  .tab-arrow {
    width: 32px;
    height: 32px;
  }
  
  .tab-arrow svg {
    width: 16px;
    height: 16px;
  }
  
  .tabs-nav {
    gap: 0;
    padding: 0 16px;
  }
  
  .tab-btn {
    padding: 16px 20px;
    font-size: 14px;
    text-align: center;
  }
  
  .tab-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tab-image {
    height: 200px;
  }
  
  .tab-description h3 {
    font-size: 24px;
  }
  
  .tab-description p {
    font-size: 16px;
  }

  /* Services Overview Responsive */
  .overview-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .overview-stats {
    justify-content: center !important;
    gap: 20px !important;
  }
  
  .categories-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .category-card {
    padding: 20px !important;
  }
  
  /* Service highlights responsive */
  .service-highlights > div,
  .engineering-disciplines > div,
  .smart-grid-features > div,
  .project-phases > div,
  .service-pillars > div,
  .maintenance-approach > div,
  .digital-solutions > div {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .engineering-disciplines > div > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .project-phases > div > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .service-pillars > div > div {
    grid-template-columns: 1fr !important;
  }
}

.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding-bottom: 56px; }
.feature-content h2 { margin: 0 0 8px; font-size: 28px; color: var(--color-primary)}
.feature-content p { margin: 0 0 16px; color: var(--color-muted); }
.feature-media { height: 260px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(11,18,32,0.25), rgba(11,18,32,0.4)), url('/assets/images/our-process.jpg') center/cover; border: 1px solid var(--color-border); box-shadow: var(--shadow); }

.cta-band { 
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a7a8a 100%);
  color: #ffffff;
  padding: 60px 0;
  margin: 40px 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(66, 149, 175, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.cta-inner .btn {
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-invert {
  background: #ffffff;
  color: var(--color-primary);
  border: 2px solid #ffffff;
}

.btn-invert:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .cta-band {
    padding: 40px 20px;
    margin: 32px 0;
    border-radius: 12px;
  }
  
  .cta-inner h2 {
    font-size: 24px;
  }
  
  .cta-inner .btn {
    font-size: 16px;
    padding: 14px 28px;
  }
}

.site-footer { background: #0b1220; border-top: 1px solid var(--color-border); margin-top: 56px; color: #e8ecf8; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0; align-items: start; }
.footer-brand { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand .tagline { align-self: flex-start; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 200px; row-gap: 14px; }
.footer-links { justify-self: end; }
.footer-links h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #c9d1e3; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-links a { color: #e8ecf8; text-decoration: none; opacity: 0.9; }
.footer-bottom { border-top: 1px solid var(--color-border); padding: 0px 0 12px; color: var(--color-muted); display: flex; justify-content: space-between; align-items: center; }

/* Footer social */
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.footer-social .social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #e8ecf8; text-decoration: none; }
.footer-social .social:hover { background: rgba(255,255,255,0.12); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* Social media icons in footer-bottom */
.footer-bottom .social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #e8ecf8; text-decoration: none; margin-left: 12px; }
.footer-bottom .social:hover { background: rgba(255,255,255,0.12); }
.footer-bottom .social svg { width: 18px; height: 18px; fill: currentColor; }

/* Footer contact inline */
.footer-contact-inline { display: flex; gap: 60px; margin-top: 0px; flex-wrap: wrap; }
.footer-contact-inline .contact-item { display: flex; align-items: center; gap: 8px; margin-bottom: 0; }
.footer-contact-inline .contact-icon { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }
.footer-contact-inline .contact-label { font-size: 11px; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.footer-contact-inline .contact-value { font-size: 13px; color: #c9d1e3; line-height: 1.3; }

/* Special header styling for content pages */
.site-header.page-header {
  background: var(--color-primary);
  border-bottom: none;
}

.site-header.page-header .header-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header.page-header .site-nav a {
  color: #ffffff;
}

.site-header.page-header .site-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-header.page-header .btn-primary {
  background: #ffffff;
  color: var(--color-primary) !important;
  border-color: #ffffff;
}

.site-header.page-header .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary) !important;
}

.site-header.page-header .nav-toggle {
  color: #ffffff;
}

/* Mobile menu button styling for all pages except index.html */
@media (max-width: 720px) {
  .page-header .nav-toggle {
    background: white !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    transition: all 0.3s ease !important;
  }
  
  .page-header .nav-toggle:hover {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
  }
  
  /* When menu is open (aria-expanded="true") */
  .page-header .nav-toggle[aria-expanded="true"] {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
  }
  
  /* When menu is closed (aria-expanded="false") */
  .page-header .nav-toggle[aria-expanded="false"] {
    background: white !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
  }
}

/* Team Section Styling */
.team-section {
  margin-top: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(66, 149, 175, 0.15);
  border-color: var(--color-primary);
}

.team-member-header {
  margin-bottom: 20px;
  text-align: center;
}

.team-member-name {
  font-size: 28px;
  color: var(--color-text);
  margin: 0 0 8px;
  font-weight: 700;
}

.team-member-certifications {
  font-size: 16px;
  color: var(--color-muted);
  margin: 0 0 8px;
  font-weight: 500;
  font-style: italic;
}

.team-member-title {
  font-size: 20px;
  color: var(--color-primary);
  margin: 0;
  font-weight: 600;
}

.team-member-description {
  text-align: left;
}

.team-member-description p {
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

@media (max-width: 768px) {
  .team-grid {
    gap: 24px;
  }
  
  .team-member-card {
    padding: 24px;
  }
  
  .team-member-name {
    font-size: 24px;
  }
  
  .team-member-title {
    font-size: 18px;
  }
  
  .team-member-description p {
    font-size: 15px;
  }
}

/* Flowchart UX/UI Enhancements */
.flowing-timeline {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-step {
  position: relative;
  margin-bottom: -50px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-2px);
}

.step-content {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(66, 149, 175, 0.2);
  border-left-color: #2c7a8a;
}

.step-image {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--color-primary);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.step-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(66, 149, 175, 0.2);
  border-left-color: #2c7a8a;
}

.step-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.step-image:hover img {
  transform: scale(1.05);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), #2c7a8a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 16px;
  box-shadow: 0 4px 12px rgba(66, 149, 175, 0.3);
  transition: all 0.3s ease;
}

.step-content:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(66, 149, 175, 0.4);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--color-primary), #2c7a8a);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--color-primary), 0 4px 12px rgba(66, 149, 175, 0.4);
  transition: all 0.3s ease;
}

.timeline-marker:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 4px var(--color-primary), 0 6px 16px rgba(66, 149, 175, 0.6);
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), #2c7a8a);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(66, 149, 175, 0.3);
}

.step-title {
  margin: 0;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
}

.step-description {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
  font-size: 15px;
}

/* Timeline Image Optimization */
.timeline-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.timeline-image:hover {
  transform: scale(1.05);
}

/* Timeline Container Hover Effects */
.timeline-container {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--color-primary);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(66, 149, 175, 0.2);
  border-left-color: #2c7a8a;
}

/* Mobile Flowchart Override - CSS Only */
@media (max-width: 768px) {
  .flowing-timeline {
    padding: 20px 0 !important;
    max-width: 100% !important;
  }
  
  .timeline-step {
    margin-bottom: 30px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }
  
  .timeline-step > div {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }
  
  .step-content {
    padding: 20px !important;
    text-align: center !important;
  }
  
  .step-content > div:first-child {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .step-content > div:first-child > div:first-child {
    margin: 0 auto 12px !important;
  }
  
  .step-content > div:first-child > h4 {
    text-align: center !important;
  }
  
  .timeline-marker,
  .timeline-step > div[style*="position: absolute"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 16px auto !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--color-primary), #2c7a8a) !important;
    border: 4px solid white !important;
    box-shadow: 0 0 0 4px var(--color-primary), 0 4px 12px rgba(66, 149, 175, 0.4) !important;
    flex: none !important;
  }
  
  .timeline-line {
    display: none !important;
  }
  
  .timeline-image {
    height: 200px !important;
    border-radius: 12px !important;
  }
  
  /* Force order for mobile: description, image, marker, description, image, marker... */
  .timeline-step > div:first-child {
    order: 1 !important; /* Description first */
  }
  
  .timeline-step > div:last-child {
    order: 2 !important; /* Image second */
  }
  
  .timeline-step > div[style*="position: absolute"] {
    order: 3 !important; /* Marker third */
  }
  
  /* Hide hover effects on mobile */
  .step-content:hover,
  .timeline-step > div:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    border-left-color: var(--color-primary) !important;
  }
  
  /* Touch-friendly interactions */
  .step-content:active,
  .timeline-step > div:active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
  }
}

/* Return to top button */
.return-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(66, 149, 175, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.return-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.return-to-top:hover {
  background: #3a7a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(66, 149, 175, 0.4);
}

.return-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
}

/* Footer tagline */
.site-footer .brand-name { font-size: 18px; font-weight: 700; color: #ffffff; }
.site-footer .tagline { font-size: 18px; line-height: 1.3; margin-top: 0; color: #c9d1e3; }
.footer-brand .footer-social { flex-basis: 100%; margin-top: -40px; margin-left: 180px; }
.footer-social { margin-top: 10px; }
.contact-info { margin-top: 8px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 12px; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-value { font-size: 14px; color: #c9d1e3; line-height: 1.4; }

/* Mobile Menu Styling - Applies to all pages */
@media (max-width: 768px) {
  .site-nav { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    width: 100%; 
    height: 100vh; 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(20px); 
    z-index: 9999; 
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center; 
    padding: 100px 20px 20px; 
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(66, 149, 175, 0.2);
    margin: 0;
    border: none;
  }
  
  .site-nav.open { 
    display: flex !important; 
  }
  
  /* Ensure body doesn't scroll when menu is open */
  body.menu-open {
    overflow: visible !important;
    position: visible !important;
    width: 100% !important;
  }
  
  /* Custom scrollbar for mobile menu */
  .site-nav::-webkit-scrollbar {
    width: 8px;
  }
  
  .site-nav::-webkit-scrollbar-track {
    background: rgba(66, 149, 175, 0.1);
    border-radius: 4px;
  }
  
  .site-nav::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
  }
  
  .site-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(66, 149, 175, 0.8);
  }
  
  /* Services dropdown scroll functionality */
  .site-nav .has-dropdown .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--color-primary);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
  }
  
  .site-nav .has-dropdown .dropdown-menu a {
    background: white;
    color: var(--color-primary) !important;
    border: 1px solid rgba(66, 149, 175, 0.3);
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .site-nav .has-dropdown .dropdown-menu a:hover {
    background: rgba(66, 149, 175, 0.1);
    color: var(--color-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 149, 175, 0.2);
  }
  
  .site-nav .has-dropdown .dropdown-menu a:last-child {
    margin-bottom: 0;
  }
  
  
  .site-nav ul { 
    flex-direction: column; 
    gap: 20px; 
    text-align: center; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    width: 100%;
    max-width: 300px;
  }
  
  .site-nav a { 
    font-size: 18px; 
    font-weight: 600; 
    color: white !important; 
    text-decoration: none; 
    padding: 15px 25px; 
    border-radius: 12px; 
    transition: all 0.3s ease; 
    display: flex; 
    min-height: 50px; 
    align-items: center; 
    justify-content: center; 
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
  }
  
  .site-nav a:hover { 
    background: #3a7a8a; 
    color: white !important; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(66, 149, 175, 0.3); 
    border-color: #3a7a8a;
  }
  
  .site-nav .btn-primary { 
    background: white !important; 
    color: var(--color-primary) !important; 
    border: 2px solid var(--color-primary) !important; 
    box-shadow: 0 2px 8px rgba(66, 149, 175, 0.2) !important;
  }
  
  .site-nav .btn-primary:hover { 
    background: var(--color-primary) !important; 
    border-color: var(--color-primary) !important; 
    color: white !important;
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(66, 149, 175, 0.3) !important;
  }
  
  
  /* Mobile Menu Toggle Button */
  .nav-toggle { 
    display: flex !important; 
    background: var(--color-primary); 
    color: white; 
    border: 2px solid var(--color-primary); 
    border-radius: 12px; 
    padding: 12px; 
    min-width: 48px; 
    min-height: 48px; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
    position: relative; 
    z-index: 10000; 
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
  }
  
  .nav-toggle:hover { 
    background: #3a7a8a; 
    border-color: #3a7a8a; 
    transform: scale(1.05); 
  }
  
  .nav-toggle.active { 
    background: #3a7a8a; 
    border-color: #3a7a8a; 
  }
  
  /* Close button for mobile menu */
  .site-nav::before { 
    content: "✕"; 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    font-size: 24px; 
    color: var(--color-text); 
    cursor: pointer; 
    z-index: 10001; 
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    background: rgba(66, 149, 175, 0.1); 
    transition: all 0.3s ease; 
  }
  
  .site-nav::before:hover { 
    background: rgba(66, 149, 175, 0.2); 
    transform: scale(1.1); 
  }
  
  /* Mobile menu colors are consistent across all pages */
  .grid { grid-template-columns: 1fr; }
  
  /* Mobile page padding - consistent 10px left/right throughout */
  .markets-header,
  .transportation-overview .overview-content,
  .market-stats,
  .capabilities-section,
  .specialized-services,
  .technical-expertise,
  .market-impact,
  .transportation-hero-image,
  .section-header,
  .expertise-header,
  .capabilities-zigzag,
  .expertise-grid,
  .services-layout,
  .impact-content,
  /* Transportation page specific sections */
  .infrastructure-solutions,
  .solutions-showcase,
  .solution-feature,
  .solution-content,
  .utility-integration,
  .integration-content,
  .integration-grid,
  .smart-transportation,
  .smart-layout,
  .smart-content,
  .project-capabilities,
  .capabilities-header,
  .capabilities-process,
  .municipal-expertise,
  .expertise-layout,
  .expertise-content,
  /* Telecommunications page specific sections */
  .smart-features,
  .smart-feature-item {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Services sections mobile padding */
  .services-header {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .services-hero {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .services-cta {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Consulting Advisory page mobile styles */
  section.page-header-section {
    padding: 60px 10px !important;
    margin-bottom: 40px !important;
  }
  
  .page-header-section h1 {
    font-size: 32px !important;
    margin-bottom: 16px !important;
  }
  
  .page-header-section p {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
  
  .page-header-section > div:last-child {
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }
  
  .page-header-section > div:last-child > div {
    justify-content: center !important;
  }
  
  .service-content-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
  }
  
  .service-image img {
    height: 300px !important;
    border-radius: 12px !important;
  }
  
  .service-description h2 {
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }
  
  .service-description p {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  
  .service-highlights {
    padding: 24px 10px !important;
    margin: 24px 0 !important;
  }
  
  .service-highlights h3 {
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }
  
  .service-highlights > div {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .service-highlights > div > div {
    padding: 12px !important;
  }
  
  .service-highlights > div > div > div:first-child {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  
  .service-highlights > div > div > div:last-child {
    font-size: 13px !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .service-item {
    padding: 24px 10px !important;
  }
  
  .service-item h4 {
    font-size: 18px !important;
  }
  
  .service-item p {
    font-size: 15px !important;
    margin-bottom: 16px !important;
  }
  
  .service-item ul li {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }
  
  div.cta-section {
    padding: 60px 10px !important;
    margin-top: 60px !important;
  }
  
  .cta-section h3 {
    font-size: 28px !important;
    margin-bottom: 16px !important;
  }
  
  .cta-section p {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
  
  .cta-section > div:last-child {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .cta-section .btn {
    padding: 16px 24px !important;
    font-size: 15px !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  
  /* Quality Procurement page specific mobile styles */
  .service-image img[src="/assets/images/procurement.jpg"] {
    height: 250px !important;
    border-radius: 12px !important;
  }
  
  .service-description h2[style*="Integrated Quality"] {
    font-size: 22px !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .service-description p[style*="We provide comprehensive quality"] {
    font-size: 15px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
  }
  
  /* Pie chart container mobile adjustments */
  .service-description > div[style*="position: relative; background: transparent"] {
    margin: 20px 0 !important;
  }
  
  .service-description > div[style*="position: relative; background: transparent"] > div[style*="width: 600px; height: 500px"] {
    width: 100% !important;
    max-width: 350px !important;
    height: 300px !important;
    margin: 0 auto !important;
  }
  
  .service-description svg[width="600"][height="500"] {
    width: 100% !important;
    height: 100% !important;
    max-width: 350px !important;
    max-height: 300px !important;
  }
  
  /* Pie chart text mobile adjustments */
  .service-description svg text[style*="font-size: 18px"] {
    font-size: 12px !important;
  }
  
  .service-description svg text[style*="font-size: 15px"] {
    font-size: 10px !important;
  }
  
  .service-description svg text[style*="font-size: 16px"] {
    font-size: 11px !important;
  }
  
  /* Pie chart circles mobile adjustments */
  .service-description svg circle[r="150"] {
    r: 80 !important;
  }
  
  /* Adjust circle positions for mobile */
  .service-description svg circle[cx="210"][cy="160"] {
    cx: 120 !important;
    cy: 90 !important;
  }
  
  .service-description svg circle[cx="390"][cy="160"] {
    cx: 230 !important;
    cy: 90 !important;
  }
  
  .service-description svg circle[cx="300"][cy="320"] {
    cx: 175 !important;
    cy: 180 !important;
  }
  
  /* Adjust text positions for mobile */
  .service-description svg text[x="155"][y="150"] {
    x: 90 !important;
    y: 85 !important;
  }
  
  .service-description svg text[x="450"][y="150"] {
    x: 200 !important;
    y: 85 !important;
  }
  
  .service-description svg text[x="300"][y="380"] {
    x: 175 !important;
    y: 200 !important;
  }
  
  .service-description svg text[x="300"][y="130"] {
    x: 175 !important;
    y: 70 !important;
  }
  
  .service-description svg text[x="300"][y="150"] {
    x: 175 !important;
    y: 85 !important;
  }
  
  .service-description svg text[x="230"][y="250"] {
    x: 140 !important;
    y: 140 !important;
  }
  
  .service-description svg text[x="230"][y="270"] {
    x: 140 !important;
    y: 155 !important;
  }
  
  .service-description svg text[x="375"][y="250"] {
    x: 210 !important;
    y: 140 !important;
  }
  
  .service-description svg text[x="375"][y="270"] {
    x: 210 !important;
    y: 155 !important;
  }
  
  .service-description svg text[x="300"][y="225"] {
    x: 175 !important;
    y: 130 !important;
  }
  
  /* Operations Maintenance page specific mobile styles */
  .service-image img[src="/assets/images/maintenance.jpg"] {
    height: 250px !important;
    border-radius: 12px !important;
  }
  
  .service-description h2[style*="Maximizing Asset Performance"] {
    font-size: 22px !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .service-description p[style*="Our operations and maintenance services"] {
    font-size: 15px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
  }
  
  /* Maintenance approach section mobile adjustments */
  .key-features[style*="background: linear-gradient(135deg, var(--color-primary)"] {
    padding: 30px 10px !important;
    margin: 30px 0 !important;
  }
  
  .key-features h3[style*="Maintenance Approach"] {
    font-size: 22px !important;
    margin-bottom: 30px !important;
  }
  
  .key-features > div[style*="position: relative; z-index: 2"] > div[style*="display: grid; grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .key-features > div[style*="position: relative; z-index: 2"] > div[style*="display: grid; grid-template-columns: repeat(2, 1fr)"] > div[style*="background: white; padding: 24px"] {
    padding: 16px !important;
  }
  
  .key-features > div[style*="position: relative; z-index: 2"] > div[style*="display: grid; grid-template-columns: repeat(2, 1fr)"] > div[style*="background: white; padding: 24px"] > div[style*="font-weight: 600; font-size: 18px"] {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  
  .key-features > div[style*="position: relative; z-index: 2"] > div[style*="display: grid; grid-template-columns: repeat(2, 1fr)"] > div[style*="background: white; padding: 24px"] > div[style*="font-size: 14px"] {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  
  /* Grid Modernization page specific mobile styles */
  .service-image img[src="/assets/images/grid modernization.jpg"] {
    height: 250px !important;
    border-radius: 12px !important;
  }
  
  .service-description h2[style*="Engineering Innovation for the Digital Age"] {
    font-size: 22px !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .service-description p[style*="Our grid modernization services transform"] {
    font-size: 15px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
  }
  
  /* Key Smart Grid Capabilities section mobile adjustments */
  .key-features[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 32px"] {
    padding: 30px 10px !important;
    margin: 30px 0 !important;
  }
  
  .key-features h3[style*="Key Smart Grid Capabilities"] {
    font-size: 20px !important;
    margin-bottom: 24px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] > div[style*="background: white; padding: 16px"] {
    padding: 14px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] > div[style*="background: white; padding: 16px"] > div[style*="font-weight: 600; color: var(--color-primary); margin-bottom: 8px; font-size: 16px"] {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] > div[style*="background: white; padding: 16px"] > div[style*="font-size: 14px; color: var(--color-primary); line-height: 1.5"] {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  
  /* Process page mobile styles */
  
  /* Prevent horizontal scroll on specific elements */
  .site-nav {
    overflow-x: hidden !important;
  }
  
  /* Ensure timeline doesn't cause horizontal scroll */
  .flowing-timeline {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .timeline-step {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Process page main content padding */
  h1 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  h1[style*="color:var(--color-muted); max-width:800px"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .lead[style*="color:var(--color-muted); max-width:800px"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Process page sections padding */
  section[style*="padding: 80px 0"] {
    padding: 60px 10px !important;
  }
  
  /* Grid header padding */
  .grid-header {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .grid-header h2 {
    font-size: 24px !important;
    margin-bottom: 16px !important;
  }
  
  .grid-header p {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  
  /* Process page cards padding */
  .grid[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px"] {
    margin-top: 40px !important;
    gap: 30px !important;
    padding: 0 10px !important;
  }
  
  .card {
    padding: 20px !important;
  }
  
  .card h3 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }
  
  .card p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  /* Technical excellence grid padding */
  .technical-excellence-grid {
    padding: 0 10px !important;
    gap: 30px !important;
  }
  
  .tech-card {
    padding: 20px !important;
  }
  
  .tech-content h3 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }
  
  .tech-content p {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }
  
  .tech-features {
    gap: 12px !important;
  }
  
  .tech-feature {
    padding: 8px !important;
  }
  
  .tech-feature span {
    font-size: 13px !important;
  }
  
  /* GenCore Commitment section padding */
  section[style*="padding: 80px 0; background: linear-gradient(135deg, var(--color-primary), #2c7a8a); color: white; border-radius: 40px; margin: 40px 0"] {
    padding: 60px 10px !important;
    margin: 30px 0 !important;
    border-radius: 20px !important;
  }
  
  .grid-header[style*="text-align: center; margin-bottom: 60px"] {
    margin-bottom: 40px !important;
    padding: 0 10px !important;
  }
  
  .grid-header h2[style*="color: white; margin-bottom: 16px"] {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .grid-header p[style*="color: rgba(255,255,255,0.9); font-size: 18px; max-width: 800px; margin: 0 auto"] {
    font-size: 16px !important;
    padding: 0 10px !important;
  }
  
  .grid[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px"] {
    gap: 30px !important;
    padding: 0 10px !important;
  }
  
  .support-card[style*="background: rgba(255,255,255,0.1); border-radius: 24px; padding: 32px; text-align: center"] {
    padding: 24px !important;
    border-radius: 16px !important;
  }
  
  .support-card h3[style*="color: white; margin-bottom: 16px; font-size: 24px"] {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  
  .support-card p[style*="color: rgba(255,255,255,0.9); line-height: 1.6"] {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  /* Trusted Partner section padding */
  .trusted-partner {
    padding: 0 10px !important;
  }
  
  .partner-content h2 {
    font-size: 24px !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .partner-content p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  
  /* CTA section padding */
  .cta-band {
    padding: 40px 10px !important;
  }
  
  .cta-inner h2 {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .cta-inner p {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  
  /* About page mobile styles */
  .container[style*="padding:74px 0 40px"] {
    padding: 74px 10px 40px !important;
  }
  
  /* About page intro section */
  .page-intro[style*="text-align: center; margin-bottom: 80px; padding: 40px 0"] {
    padding: 40px 10px !important;
    margin-bottom: 60px !important;
  }
  
  .page-intro h1[style*="font-size: 48px; font-weight: 800; color: var(--color-primary); margin-bottom: 24px; line-height: 1.2"] {
    font-size: 32px !important;
    margin-bottom: 20px !important;
    padding: 0 10px !important;
  }
  
  .page-intro .lead[style*="color: var(--color-muted); font-size: 20px; line-height: 1.6; margin-bottom: 32px"] {
    font-size: 16px !important;
    margin-bottom: 24px !important;
    padding: 0 10px !important;
  }
  
  /* About page detailed sections - vertical layout */
  .detailed-sections[style*="text-align:left"] {
    padding: 0 10px !important;
  }
  
  /* Mission section mobile adjustments */
  .mission-section[style*="background: white; border: 1px solid var(--color-border); border-radius: 24px; padding: 80px; margin-bottom: 80px"] {
    padding: 40px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .mission-section > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .mission-section h2[style*="color: var(--color-primary); margin: 0 0 12px 0; font-size: 36px; font-weight: 800; line-height: 1.2"] {
    font-size: 24px !important;
    margin-bottom: 8px !important;
  }
  
  .mission-section p[style*="color: var(--color-muted); margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4"] {
    font-size: 16px !important;
  }
  
  .mission-section p[style*="font-size: 19px; line-height: 1.8; color: var(--color-text); margin-bottom: 28px; font-weight: 400"] {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .mission-section p[style*="font-size: 17px; line-height: 1.7; color: var(--color-text); margin-bottom: 28px"] {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  
  .mission-section p[style*="font-size: 17px; line-height: 1.7; color: var(--color-text)"] {
    font-size: 14px !important;
  }
  
  /* Values section mobile adjustments */
  .values-section[style*="background: white; border: 1px solid var(--color-border); border-radius: 24px; padding: 80px; margin-bottom: 80px"] {
    padding: 40px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .values-section > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Reorder Values section: content first, image second */
  .values-section > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch"] > div:first-child {
    order: 2 !important; /* Image goes to bottom */
  }
  
  .values-section > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch"] > div:last-child {
    order: 1 !important; /* Content goes to top */
  }
  
  .values-section h2[style*="color: var(--color-primary); margin: 0 0 12px 0; font-size: 36px; font-weight: 800; line-height: 1.2"] {
    font-size: 24px !important;
    margin-bottom: 8px !important;
  }
  
  .values-section p[style*="color: var(--color-muted); margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4"] {
    font-size: 16px !important;
  }
  
  .values-section p[style*="font-size: 19px; line-height: 1.8; color: var(--color-text); margin-bottom: 32px; font-weight: 400"] {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }
  
  .values-section > div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    align-items: stretch !important;
  }
  
  /* More specific selector for values grid */
  .values-section div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }
  
  .values-section > div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px"] > div[style*="padding: 20px; background: linear-gradient(135deg, rgba(0,123,138,0.05) 0%, rgba(42,122,138,0.05) 100%); border-radius: 12px"] {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: flex-start !important;
  }
  
  .values-section h4[style*="color: var(--color-primary); margin: 0 0 8px 0; font-size: 18px; font-weight: 700"] {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  
  .values-section p[style*="font-size: 15px; line-height: 1.5; color: var(--color-text); margin: 0"] {
    font-size: 13px !important;
  }
  
  .values-section p[style*="font-size: 17px; line-height: 1.7; color: var(--color-text)"] {
    font-size: 14px !important;
  }
  
  /* Empowering section mobile adjustments */
  .empowering-section[style*="background: white; border: 1px solid var(--color-border); border-radius: 24px; padding: 80px; margin-bottom: 80px"] {
    padding: 40px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .empowering-section > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .empowering-section h2[style*="color: var(--color-primary); margin: 0 0 12px 0; font-size: 36px; font-weight: 800; line-height: 1.2"] {
    font-size: 24px !important;
    margin-bottom: 8px !important;
  }
  
  .empowering-section p[style*="color: var(--color-muted); margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4"] {
    font-size: 16px !important;
  }
  
  .empowering-section p[style*="font-size: 19px; line-height: 1.8; color: var(--color-text); margin-bottom: 32px; font-weight: 400"] {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }
  
  .empowering-section > div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    align-items: stretch !important;
  }
  
  /* More specific selector for empowering grid */
  .empowering-section div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }
  
  .empowering-section > div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px"] > div[style*="padding: 20px; background: linear-gradient(135deg, rgba(0,123,138,0.05) 0%, rgba(42,122,138,0.05) 100%); border-radius: 12px"] {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: flex-start !important;
  }
  
  .empowering-section h4[style*="color: var(--color-primary); margin: 0 0 8px 0; font-size: 18px; font-weight: 700"] {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  
  .empowering-section p[style*="font-size: 15px; line-height: 1.5; color: var(--color-text); margin: 0"] {
    font-size: 13px !important;
  }
  
  .empowering-section p[style*="font-size: 17px; line-height: 1.7; color: var(--color-text)"] {
    font-size: 14px !important;
  }
  
  /* Sustainability section mobile adjustments */
  .sustainability-section[style*="padding-top:60px; text-align:left"] {
    padding: 40px 10px !important;
  }
  
  .sustainability-card[style*="background: white; border: 1px solid var(--color-border); border-radius: 24px; padding: 80px; margin-bottom: 80px"] {
    padding: 40px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .sustainability-card > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Reorder Sustainability section: content first, image second */
  .sustainability-card > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch"] > div:first-child {
    order: 2 !important; /* Image goes to bottom */
  }
  
  .sustainability-card > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch"] > div:last-child {
    order: 1 !important; /* Content goes to top */
  }
  
  .sustainability-card h2[style*="color: var(--color-primary); margin: 0 0 12px 0; font-size: 36px; font-weight: 800; line-height: 1.2"] {
    font-size: 24px !important;
    margin-bottom: 8px !important;
  }
  
  .sustainability-card p[style*="color: var(--color-muted); margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4"] {
    font-size: 16px !important;
  }
  
  .sustainability-card p[style*="font-size: 19px; line-height: 1.8; color: var(--color-text); margin-bottom: 28px; font-weight: 400"] {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .sustainability-card p[style*="font-size: 17px; line-height: 1.7; color: var(--color-text); margin-bottom: 40px"] {
    font-size: 14px !important;
    margin-bottom: 30px !important;
  }
  
  .sustainability-card .btn[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 18px 36px; border-radius: 16px"] {
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* Team section mobile adjustments */
  .team-section[style*="padding-top:60px; text-align:left"] {
    padding: 40px 10px !important;
  }
  
  .team-card[style*="background: white; border: 1px solid var(--color-border); border-radius: 24px; padding: 80px; margin-bottom: 80px"] {
    padding: 40px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .team-card > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .team-card h2[style*="color: var(--color-primary); margin: 0 0 12px 0; font-size: 36px; font-weight: 800; line-height: 1.2"] {
    font-size: 24px !important;
    margin-bottom: 8px !important;
  }
  
  .team-card p[style*="color: var(--color-muted); margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4"] {
    font-size: 16px !important;
  }
  
  .team-card p[style*="font-size: 19px; line-height: 1.8; color: var(--color-text); margin-bottom: 28px; font-weight: 400"] {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .team-card p[style*="font-size: 17px; line-height: 1.7; color: var(--color-text); margin-bottom: 40px"] {
    font-size: 14px !important;
    margin-bottom: 30px !important;
  }
  
  .team-card .btn[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 18px 36px; border-radius: 16px"] {
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* Sustainability Compliance page mobile styles */
  .container[style*="padding:74px 0 40px"] {
    padding: 74px 10px 40px !important;
  }
  
  /* Page header section mobile adjustments */
  .page-header-section[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 80px 40px; border-radius: 20px; text-align: center; margin-bottom: 60px"] {
    padding: 60px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .page-header-section h1[style*="font-size: 48px; margin-bottom: 20px; font-weight: 800; color: #ffffff"] {
    font-size: 32px !important;
    margin-bottom: 16px !important;
  }
  
  .page-header-section p[style*="font-size: 20px; margin-bottom: 40px; opacity: 0.9; max-width: 800px; margin-left: auto; margin-right: auto"] {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
  
  .page-header-section > div[style*="display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 40px"] {
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }
  
  .page-header-section > div[style*="display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 40px"] > div[style*="display: flex; align-items: center; gap: 12px"] {
    justify-content: center !important;
  }
  
  /* Sustainability journey timeline mobile adjustments */
  .sustainability-journey[style*="margin-bottom: 60px"] {
    margin-bottom: 40px !important;
    padding: 0 10px !important;
  }
  
  .sustainability-journey > div[style*="text-align: center; margin-bottom: 50px"] {
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .sustainability-journey h2[style*="font-size: 36px; margin-bottom: 20px; color: var(--color-primary); font-weight: 800"] {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .sustainability-journey p[style*="font-size: 18px; color: var(--color-muted); max-width: 700px; margin: 0 auto"] {
    font-size: 16px !important;
  }
  
  /* Timeline container mobile adjustments */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] {
    max-width: 100% !important;
    padding: 0 10px !important;
  }
  
  /* Hide vertical timeline line on mobile */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--color-primary) 0%, #2a7a8a 100%); transform: translateX(-50%); border-radius: 2px"] {
    display: none !important;
  }
  
  /* Timeline items mobile layout: circle, text card, image */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
  }
  
  /* Specific fix for Operations & Monitoring section with row-reverse */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; position: relative; flex-direction: row-reverse"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
  }
  
  /* Timeline circles - center them */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="position: absolute; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: var(--color-primary); border-radius: 50%; border: 4px solid white; box-shadow: 0 0 0 4px rgba(0,123,138,0.2); z-index: 2"] {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin: 20px 0 !important;
    order: 1 !important;
  }
  
  /* Circles for row-reverse sections */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; position: relative; flex-direction: row-reverse"] > div[style*="position: absolute; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: var(--color-primary); border-radius: 50%; border: 4px solid white; box-shadow: 0 0 0 4px rgba(0,123,138,0.2); z-index: 2"] {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin: 20px 0 !important;
    order: 1 !important;
  }
  
  /* Text cards - order 2 */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="flex: 1; padding-right: 40px; text-align: right"] {
    flex: none !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
    order: 2 !important;
  }
  
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="flex: 1; padding-left: 40px; text-align: left"] {
    flex: none !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
    order: 2 !important;
  }
  
  /* Text cards for row-reverse sections */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; position: relative; flex-direction: row-reverse"] > div[style*="flex: 1; padding-left: 40px; text-align: left"] {
    flex: none !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
    order: 2 !important;
  }
  
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; position: relative; flex-direction: row-reverse"] > div[style*="flex: 1; padding-right: 40px"] {
    flex: none !important;
    padding: 0 !important;
    width: 100% !important;
    order: 3 !important;
  }
  
  /* Text card content */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="background: white; padding: 30px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); border-left: 4px solid var(--color-primary)"] {
    padding: 20px !important;
    border-radius: 12px !important;
    border-left: 4px solid var(--color-primary) !important;
    border-right: none !important;
  }
  
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="background: white; padding: 30px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); border-right: 4px solid var(--color-primary)"] {
    padding: 20px !important;
    border-radius: 12px !important;
    border-right: 4px solid var(--color-primary) !important;
    border-left: none !important;
  }
  
  /* Text card content for row-reverse sections */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; position: relative; flex-direction: row-reverse"] > div[style*="background: white; padding: 30px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); border-right: 4px solid var(--color-primary)"] {
    padding: 20px !important;
    border-radius: 12px !important;
    border-right: 4px solid var(--color-primary) !important;
    border-left: none !important;
  }
  
  .sustainability-journey h3[style*="font-size: 24px; margin-bottom: 12px; color: var(--color-primary); font-weight: 700"] {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  
  .sustainability-journey p[style*="color: var(--color-text); line-height: 1.6; margin-bottom: 16px"] {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }
  
  .sustainability-journey ul[style*="color: var(--color-muted); font-size: 14px; line-height: 1.6; list-style: none; padding: 0"] {
    font-size: 13px !important;
  }
  
  /* Images - order 3 */
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="flex: 1; padding-left: 40px"] {
    flex: none !important;
    padding: 0 !important;
    width: 100% !important;
    order: 3 !important;
  }
  
  .sustainability-journey > div[style*="position: relative; max-width: 1000px; margin: 0 auto"] > div[style*="display: flex; align-items: center; margin-bottom: 60px; position: relative"] > div[style*="flex: 1; padding-right: 40px"] {
    flex: none !important;
    padding: 0 !important;
    width: 100% !important;
    order: 3 !important;
  }
  
  .sustainability-journey img[style*="width: 100%; height: 300px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1)"] {
    height: 200px !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
  }
  
  /* Canadian Regulations section mobile adjustments */
  .canadian-regulations[style*="margin-bottom: 60px"] {
    margin-bottom: 40px !important;
    padding: 0 10px !important;
  }
  
  .canadian-regulations > div[style*="text-align: center; margin-bottom: 50px"] {
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .canadian-regulations h2[style*="font-size: 36px; margin-bottom: 20px; color: var(--color-primary); font-weight: 800"] {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .canadian-regulations p[style*="font-size: 18px; color: var(--color-muted); max-width: 700px; margin: 0 auto"] {
    font-size: 16px !important;
  }
  
  .canadian-regulations > div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .canadian-regulations > div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px"] > div[style*="background: white; border-radius: 16px; padding: 30px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); border-left: 4px solid var(--color-primary)"] {
    padding: 20px !important;
    border-radius: 12px !important;
  }
  
  .canadian-regulations h3[style*="font-size: 20px; margin-bottom: 16px; color: var(--color-primary); font-weight: 700"] {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }
  
  .canadian-regulations p[style*="color: var(--color-text); line-height: 1.6; margin-bottom: 16px; font-size: 15px"] {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }
  
  .canadian-regulations ul[style*="color: var(--color-muted); font-size: 14px; line-height: 1.6; list-style: none; padding: 0"] {
    font-size: 13px !important;
  }
  
  /* Industry Standards section mobile adjustments */
  .industry-standards[style*="margin-bottom: 60px"] {
    margin-bottom: 40px !important;
    padding: 0 10px !important;
  }
  
  .industry-standards > div[style*="text-align: center; margin-bottom: 50px"] {
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .industry-standards h2[style*="font-size: 36px; margin-bottom: 20px; color: var(--color-primary); font-weight: 800"] {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .industry-standards p[style*="font-size: 18px; color: var(--color-muted); max-width: 700px; margin: 30px auto"] {
    font-size: 16px !important;
    margin: 20px auto !important;
  }
  
  .industry-standards > div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .industry-standards > div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px"] > div[style*="background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%); border-radius: 16px; padding: 30px; position: relative"] {
    padding: 20px !important;
    border-radius: 12px !important;
  }
  
  .industry-standards h3[style*="font-size: 20px; margin-bottom: 16px; color: var(--color-primary); font-weight: 700"] {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }
  
  .industry-standards p[style*="color: var(--color-text); line-height: 1.6; margin-bottom: 16px; font-size: 15px"] {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }
  
  .industry-standards ul[style*="color: var(--color-muted); font-size: 14px; line-height: 1.6; list-style: none; padding: 0"] {
    font-size: 13px !important;
  }
  
  /* CTA section mobile adjustments */
  .cta-section[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 40px 40px; border-radius: 20px; text-align: center; margin-top: 40px"] {
    padding: 40px 20px !important;
    margin-top: 30px !important;
    border-radius: 16px !important;
  }
  
  .cta-section h3[style*="font-size: 32px; margin-bottom: 20px; color: #ffffff; font-weight: 700"] {
    font-size: 24px !important;
    margin-bottom: 16px !important;
  }
  
  .cta-section p[style*="font-size: 18px; margin-bottom: 40px; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto"] {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
  
  .cta-section > div[style*="display: flex; gap: 20px; justify-content: center; flex-wrap: wrap"] {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .cta-section .btn-secondary[style*="background: white; color: var(--color-primary); padding: 18px 36px; border-radius: 12px"] {
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .cta-section .btn-outline[style*="border: 2px solid white; color: white; padding: 16px 36px; border-radius: 12px"] {
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* Canadian Leadership page mobile styles */
  .container[style*="padding:74px 0 40px"] {
    padding: 74px 10px 40px !important;
  }
  
  /* Page header section mobile adjustments */
  .page-header-section[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 80px 40px; border-radius: 20px; text-align: center; margin-bottom: 60px"] {
    padding: 60px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
  
  .page-header-section h1[style*="font-size: 48px; margin-bottom: 20px; font-weight: 800; color: #ffffff"] {
    font-size: 32px !important;
    margin-bottom: 16px !important;
  }
  
  .page-header-section p[style*="font-size: 20px; margin-bottom: 40px; opacity: 0.9; max-width: 800px; margin-left: auto; margin-right: auto"] {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
  
  .page-header-section > div[style*="display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 40px"] {
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }
  
  .page-header-section > div[style*="display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 40px"] > div[style*="display: flex; align-items: center; gap: 12px"] {
    justify-content: center !important;
  }
  
  /* Service content grid mobile adjustments */
  .service-content-grid[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 60px"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
    padding: 0 10px !important;
  }
  
  .service-image img[style*="width: 100%; height: 640px; object-fit: cover; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12)"] {
    height: 300px !important;
    border-radius: 12px !important;
  }
  
  .service-description h2[style*="font-size: 32px; margin-bottom: 20px; color: var(--color-primary); font-weight: 700"] {
    font-size: 24px !important;
    margin-bottom: 16px !important;
  }
  
  .service-description p[style*="font-size: 18px; line-height: 1.7; color: var(--color-text); margin-bottom: 24px"] {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  
  /* Key features mobile adjustments */
  .key-features[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 32px; border-radius: 16px; margin: 32px 0"] {
    padding: 24px 10px !important;
    margin: 24px 0 !important;
    border-radius: 12px !important;
  }
  
  .key-features h3[style*="color: white; margin-bottom: 24px; font-size: 20px; font-weight: 600"] {
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] > div[style*="background: white; padding: 16px; border-radius: 12px; backdrop-filter: blur(10px)"] {
    padding: 14px !important;
    border-radius: 10px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] > div[style*="background: white; padding: 16px; border-radius: 12px; backdrop-filter: blur(10px)"] > div[style*="font-weight: 600; color: var(--color-primary); margin-bottom: 8px; font-size: 16px"] {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }
  
  .key-features > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 20px"] > div[style*="background: white; padding: 16px; border-radius: 12px; backdrop-filter: blur(10px)"] > div[style*="font-size: 14px; color: var(--color-primary); line-height: 1.5"] {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  
  /* Team section mobile adjustments */
  .team-section[style*="margin-top: 60px"] {
    margin-top: 40px !important;
    padding: 0 10px !important;
  }
  
  .team-section > div[style*="text-align: center; margin-bottom: 50px"] {
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .team-section h3[style*="font-size: 32px; margin-bottom: 20px; color: var(--color-primary); font-weight: 700"] {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .team-section p[style*="font-size: 18px; color: var(--color-muted); max-width: 600px; margin: 0 auto"] {
    font-size: 16px !important;
  }
  
  /* Team members mobile layout: name card at top, description below */
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
  }
  
  /* Name cards (gradient backgrounds) - order 1 (top) */
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 60px 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); display: flex; flex-direction: column; justify-content: center; text-align: center"] {
    order: 1 !important;
    padding: 40px 20px !important;
    border-radius: 12px !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 60px 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); display: flex; flex-direction: column; justify-content: center; text-align: center"] h3[style*="font-size: 32px; margin-bottom: 20px; color: white; font-weight: 700"] {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 60px 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); display: flex; flex-direction: column; justify-content: center; text-align: center"] p[style*="font-size: 22px; font-weight: 600; margin-bottom: 12px; color: rgba(255,255,255,0.9)"] {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  
  /* Description cards (white backgrounds) - order 2 (bottom) */
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] {
    order: 2 !important;
    padding: 24px 16px !important;
    border-radius: 12px !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] h3[style*="font-size: 32px; margin-bottom: 20px; color: var(--color-primary); font-weight: 700"] {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] h4[style*="font-size: 28px; margin-bottom: 12px; color: var(--color-primary); font-weight: 700"] {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] p[style*="color: var(--color-text); line-height: 1.7; margin-bottom: 24px; font-size: 16px"] {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
  }
  
  /* Details sections */
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] > div[id*="-details"][style*="background: var(--color-surface); padding: 24px; border-radius: 12px; margin-bottom: 24px"] {
    padding: 16px !important;
    border-radius: 10px !important;
    margin-bottom: 16px !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] > div[id*="-details"] p[style*="color: var(--color-text); line-height: 1.7; margin-bottom: 16px; font-size: 16px"] {
    font-size: 13px !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
  }
  
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] > div[id*="-details"] p[style*="color: var(--color-text); line-height: 1.7; margin-bottom: 0; font-size: 16px"] {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
  }
  
  /* Learn More buttons */
  .team-section > div[style*="max-width: 1200px; margin: 0 auto"] > div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 80px"] > div[style*="background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-left: 4px solid var(--color-primary); display: flex; flex-direction: column"] button[style*="background: var(--color-primary); color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600"] {
    padding: 10px 20px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* CTA section mobile adjustments */
  .cta-section[style*="background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8a 100%); color: white; padding: 80px 40px; border-radius: 20px; text-align: center; margin-top: 80px"] {
    padding: 40px 20px !important;
    margin-top: 40px !important;
    border-radius: 16px !important;
  }
  
  .cta-section h3[style*="font-size: 32px; margin-bottom: 20px; color: #ffffff; font-weight: 700"] {
    font-size: 24px !important;
    margin-bottom: 16px !important;
  }
  
  .cta-section p[style*="font-size: 18px; margin-bottom: 40px; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto"] {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
  
  .cta-section > div[style*="display: flex; gap: 20px; justify-content: center; flex-wrap: wrap"] {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .cta-section .btn-secondary[style*="background: white; color: var(--color-primary); padding: 18px 36px; border-radius: 12px"] {
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .cta-section .btn-outline[style*="border: 2px solid white; color: white; padding: 16px 36px; border-radius: 12px"] {
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* Contact page mobile layout - vertical alignment only */
  .grid[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Prevent horizontal scroll on contact page */
  .container[style*="padding:74px 0 40px"] {
    overflow-x: hidden !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .cards-grid[style*="padding-top:28px"] {
    overflow-x: hidden !important;
    max-width: calc(100% - 20px) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin: 0 auto !important;
  }
  
  /* Adjust cards grid spacing for better mobile fit */
  .grid[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .card {
    margin: 0 !important;
    padding: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  /* Make address and office hours font smaller on mobile */
  .contact-info p {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  
  /* Contact details mobile layout - 1 column, 4 rows */
  .contact-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .contact-item {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  
  /* Social media button colors */
  .social-link.linkedin {
    background: #0077b5 !important;
    color: white !important;
  }
  
  .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: white !important;
  }
  
  /* Telecommunications overview-content mobile adjustments */
  .transportation-overview .overview-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
  }
  
  .transportation-overview .overview-content .lead {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
  
  .transportation-overview .overview-content > div {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  
  .transportation-overview .overview-content > div > div {
    padding: 4px 0 !important;
    align-items: center !important;
  }
  
  .transportation-overview .overview-content > div > div > div {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }
  
  .transportation-overview .overview-content > div > div > div svg {
    width: 12px !important;
    height: 12px !important;
  }
  
  .transportation-overview .overview-content > div > div span {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
  }

  /* Market stats grid adjustments */
  .market-stats > div {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
  }
  
  .market-stats > div > div {
    padding: 20px !important;
    margin: 0 !important;
  }
  
  /* Impact image mobile padding - maintain smooth edges */
  .impact-image {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  .impact-image img {
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  /* All images inside divs - ensure round edges */
  .solution-image,
  .smart-image,
  .expertise-image,
  .capability-image,
  .services-image,
  .impact-image,
  .transportation-hero-image,
  .infrastructure-solutions img,
  .solutions-showcase img,
  .solution-feature img,
  .utility-integration img,
  .integration-grid img,
  .smart-transportation img,
  .project-capabilities img,
  .capabilities-process img,
  .municipal-expertise img,
  .expertise-layout img,
  .smart-features img {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  .solution-image img,
  .smart-image img,
  .expertise-image img,
  .capability-image img,
  .services-image img,
  .impact-image img,
  .transportation-hero-image img,
  .infrastructure-solutions img,
  .solutions-showcase img,
  .solution-feature img,
  .utility-integration img,
  .integration-grid img,
  .smart-transportation img,
  .project-capabilities img,
  .capabilities-process img,
  .municipal-expertise img,
  .expertise-layout img,
  .smart-features img {
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .hero-content { padding: 138px 0 80px; padding-left: 20px; }
  .hero-stat { left: 20px; right: auto; }
  
  /* Pill scroll container mobile adjustments */
  .pill-scroll-container {
    padding: 16px 0;
    margin: 0 -16px;
  }
  
  .pill-row {
    gap: 20px;
    padding: 0 16px;
  }
  
  .pill-item {
    min-width: 160px;
  }
  
  .pill-image {
    width: 300px;
    height: 200px;
  }
  
  .pill {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* Section titles mobile padding */
  .grid-header h2 {
    padding-top: 20px;
  }
  
  .feature-content h2 {
    padding-top: 20px;
  }
  
  /* Footer mobile optimizations */
  .site-footer {
    margin-top: 40px;
  }

  .site-footer .tagline { 
    font-size: 16px;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }
  
  .footer-brand {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .footer-brand img {
    height: 35px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-self: center;
    margin-top: 16px;
    text-align: center;
  }
  
  .footer-links h4 {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .footer-links a {
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    min-height: 32px;
    line-height: 1.4;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 16px;
  }
  
  .footer-social .social {
    width: 40px;
    height: 40px;
  }
  
  .footer-social svg {
    width: 20px;
    height: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
    text-align: center;
  }
  
  .footer-contact-inline {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .footer-contact-inline .contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .footer-contact-inline .contact-value {
    color: #e8ecf8 !important;
    -webkit-text-fill-color: #e8ecf8 !important;
    -webkit-text-stroke-color: #e8ecf8 !important;
  }
  
  /* Disable iOS phone number auto-detection */
  .footer-contact-inline .contact-value a {
    color: #e8ecf8 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #e8ecf8 !important;
  }
  
  /* Prevent iOS from making phone numbers blue */
  .footer-contact-inline .contact-value * {
    color: #e8ecf8 !important;
    -webkit-text-fill-color: #e8ecf8 !important;
  }
  
  .footer-bottom .social {
    margin: 8px 4px 0;
    width: 40px;
    height: 40px;
  }
  
  .footer-bottom .social svg {
    width: 20px;
    height: 20px;
  }
  .return-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .return-to-top svg {
    width: 20px;
    height: 20px;
  }
  
  /* Services Grid Responsive */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .services-standalone .card {
    max-width: 100%;
  }
  
  /* Technical Excellence Responsive */
  .technical-excellence-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tech-card {
    margin: 0 16px;
  }
  
  .tech-image {
    height: 200px;
  }
  
  .tech-content {
    padding: 24px;
  }
  
  .tech-content h3 {
    font-size: 20px;
  }
  
  .tech-features {
    gap: 12px;
  }
  
  .tech-feature {
    padding: 10px;
  }
  
  .tech-feature span {
    font-size: 13px;
  }
  
  /* Contact Page Responsive */
  .company-info .company-logo {
    height: 50px;
  }
  
  .company-info h3 {
    font-size: 18px;
  }
  
  .card .contact-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .card .contact-item {
    padding: 10px;
  }
  
  .card .social-buttons {
    flex-direction: column;
    gap: 6px;
    justify-content: center;
  }
  
  .card .social-link {
    justify-content: center;
  }
}

/* Process Page Styles */
/* Technical Excellence Grid */
.technical-excellence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.tech-card {
  background: var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(66, 149, 175, 0.15);
}

.tech-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-image img {
  transform: scale(1.05);
}

.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(66, 149, 175, 0.8), rgba(66, 149, 175, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-overlay {
  opacity: 1;
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
  transform: scale(1);
}

.tech-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

.tech-content {
  padding: 32px;
}

.tech-content h3 {
  color: var(--color-primary);
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
}

.tech-content p {
  margin-bottom: 24px;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(66, 149, 175, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  transition: all 0.3s ease;
}

.tech-feature:hover {
  background: rgba(66, 149, 175, 0.1);
  transform: translateX(4px);
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.tech-feature span {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-image {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h3 {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.feature-text ul {
  margin-top: 16px;
  padding-left: 20px;
}

.feature-text li {
  margin-bottom: 8px;
  color: var(--color-muted);
}

/* Horizontal Feature Layout */
.feature-item-horizontal {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feature-item-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 149, 175, 0.15);
}

.feature-image-left {
  flex: 0 0 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.feature-image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-item-horizontal:hover .feature-image-left img {
  transform: scale(1.05);
}

.feature-text-right {
  flex: 1;
}

.feature-text-right h3 {
  color: var(--color-primary);
  margin-bottom: 16px;
  font-size: 24px;
}

.feature-text-right p {
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.6;
}

.feature-text-right ul {
  margin-top: 16px;
  padding-left: 20px;
}

.feature-text-right li {
  margin-bottom: 8px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Contact Page - Company Info Section */
.company-info {
  text-align: center;
  margin-bottom: 24px;
}

.company-info .company-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.company-info h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.company-info p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Contact page specific styles - scoped to contact page card */
.card .contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.card .contact-item {
  padding: 12px;
  background: rgba(66, 149, 175, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  transition: all 0.3s ease;
  min-height: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .contact-item:hover {
  background: rgba(66, 149, 175, 0.1);
  transform: translateX(2px);
}

.card .contact-info {
  text-align: center;
}

.card .contact-info h4 {
  color: var(--color-text);
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.card .contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.card .contact-icon svg {
  width: 100%;
  height: 100%;
}

.card .contact-info p {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
}

.card .contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card .contact-info a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.card .social-links {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.card .social-links h4 {
  color: var(--color-text);
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.card .social-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.card .social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 500;
}

.card .social-link:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.card .social-link svg {
  width: 16px;
  height: 16px;
}

.stats-section {
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: var(--color-muted);
  font-weight: 500;
}

.trusted-partner {
  text-align: center;
}

.partner-content h2 {
  color: var(--color-primary);
  margin-bottom: 24px;
}

.partner-content p {
  font-size: 18px;
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partner-image {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Why Work With Us Section */
.why-work-with-us {
  padding: 80px 0;
  background: var(--color-elev);
}

.why-work-with-us h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(66, 149, 175, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), #2c7a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.benefit-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.benefit-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.benefit-card p {
  color: var(--color-muted);
  line-height: 1.6;
}

/* Open Positions Section */
.open-positions {
  padding: 80px 0;
}

.open-positions h2 {
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.position-category {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.position-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(66, 149, 175, 0.15);
}

.category-header {
  text-align: center;
  margin-bottom: 30px;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.category-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.category-header h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.category-description {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0;
}

.position-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.position-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--color-elev);
  border-radius: 10px;
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s ease;
}

.position-item:hover {
  background: rgba(66, 149, 175, 0.1);
  transform: translateX(4px);
}

.position-title {
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.position-level {
  font-size: 0.8rem;
  color: var(--color-primary);
  background: rgba(66, 149, 175, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* Culture Section */
.culture-section {
  padding: 80px 0;
  background: var(--color-elev);
}

.culture-section h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.culture-item {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.culture-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(66, 149, 175, 0.15);
}

.culture-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), #2c7a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.culture-icon svg {
  width: 35px;
  height: 35px;
  color: white;
}

.culture-item h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.culture-item p {
  color: var(--color-muted);
  line-height: 1.6;
}

/* Markets Page Styles */
.markets-header {
  margin-bottom: 60px;
}

.market-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.market-stats .stat-item {
  text-align: center;
  flex: 1;
  max-width: 300px;
}

.market-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}

.market-stats .stat-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Technical Capabilities */
.technical-capabilities {
  margin-top: 30px;
  padding: 25px 40px;
  background: var(--color-elev);
  border-radius: 15px;
  border-left: 4px solid var(--color-primary);
}

.capabilities-text {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 auto;
}

.voltage-highlight {
  color: var(--color-primary);
  font-weight: 700;
  background: rgba(66, 149, 175, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Markets Grid */
.markets-grid h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.markets-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.market-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(66, 149, 175, 0.15);
}

.market-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.market-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.market-card:hover .market-image img {
  transform: scale(1.05);
}

.market-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(66, 149, 175, 0.8), rgba(66, 149, 175, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.market-card:hover .market-overlay {
  opacity: 1;
}

.market-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.market-card:hover .market-icon {
  transform: scale(1);
}

.market-icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
}

.market-content {
  padding: 30px;
}

.market-content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.market-description {
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.market-services {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.market-services li {
  padding: 6px 0;
  color: var(--color-text);
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
}

.market-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}


/* Client Success Section */
.client-success {
  padding: 60px 0;
  margin-top: 60px;
  background: linear-gradient(135deg, var(--color-primary), #2c7a8a);
  border-radius: 20px;
  color: white;
}

.client-success h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: white;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.success-item {
  text-align: center;
  padding: 30px 20px;
}

.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.success-icon svg {
  width: 35px;
  height: 35px;
  color: white;
}

.success-item h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: white;
}

.success-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Ultra Small Devices (320px - 375px) */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }
  
  .hero-content {
    padding: 80px 0 40px;
    padding-left: 16px;
  }
  
  .hero-stat {
    left: 16px;
    right: auto;
  }
  
  /* Pill scroll container ultra-small adjustments */
  .pill-scroll-container {
    padding: 8px 0;
    margin: 0 -8px;
  }
  
  .pill-row {
    gap: 10px;
    padding: 0 8px;
  }
  
  .pill-item {
    min-width: 110px;
  }
  
  .pill-image {
    width: 180px;
    height: 120px;
  }
  
  .pill {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  /* Section titles mobile padding */
  .grid-header h2 {
    padding-top: 28px;
  }
  
  .feature-content h2 {
    padding-top: 28px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 13px;
    max-width: 240px;
  }
  
  .card, article, section {
    padding: 12px;
  }
  
  h1 {
    font-size: 18px;
  }
  
  h2 {
    font-size: 16px;
  }
  
  h3 {
    font-size: 14px;
  }
  
  p, .lead {
    font-size: 12px;
  }
  
  /* Mobile Menu Styling for Ultra-Small Devices */
  .site-nav {
    padding: 70px 12px 12px;
  }
  
  .site-nav ul {
    gap: 14px;
    max-width: 260px;
  }
  
  .site-nav a {
    font-size: 16px;
    padding: 12px 20px;
    min-height: 48px;
  }
  
  .nav-toggle {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
  }
  
  .site-nav::before {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  /* Footer mobile optimizations for ultra-small devices */
  .site-footer {
    margin-top: 24px;
  }
  
  .footer-top {
    padding: 16px 12px;
    gap: 12px;
  }
  
  .footer-brand img {
    height: 28px;
  }
  
  .footer-links {
    gap: 10px;
  }
  
  .footer-links h4 {
    font-size: 10px;
  }
  
  .footer-links a {
    padding: 8px 12px;
    min-height: 40px;
    font-size: 12px;
  }
  
  .footer-social .social,
  .footer-bottom .social {
    width: 32px;
    height: 32px;
  }
  
  .footer-social svg,
  .footer-bottom .social svg {
    width: 16px;
    height: 16px;
  }
  
  .footer-bottom {
    padding: 10px 0;
    gap: 10px;
  }
  
  .footer-contact-inline {
    gap: 8px;
  }
  
  .return-to-top {
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .return-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Small phones (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-content {
    padding-left: 24px;
  }
  
  .hero-stat {
    left: 24px;
    right: auto;
  }
  
  /* Pill scroll container smaller screen adjustments */
  .pill-scroll-container {
    padding: 12px 0;
    margin: 0 -12px;
  }
  
  .pill-row {
    gap: 16px;
    padding: 0 12px;
  }
  
  .pill-item {
    min-width: 140px;
  }
  
  .pill-image {
    width: 250px;
    height: 160px;
  }
  
  .pill {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  /* Section titles mobile padding */
  .grid-header h2 {
    padding-top: 24px;
  }
  
  .feature-content h2 {
    padding-top: 24px;
  }
  
  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
  }
  
  .card {
    padding: 20px;
  }
  
  /* Mobile Menu Styling for Small Phones */
  .site-nav {
    padding: 80px 16px 16px;
  }
  
  .site-nav ul {
    gap: 16px;
    max-width: 280px;
  }
  
  .site-nav a {
    font-size: 17px;
    padding: 14px 22px;
    min-height: 48px;
  }
  
  .nav-toggle {
    display: flex !important;
    min-width: 46px;
    min-height: 46px;
    padding: 11px;
    border-radius: 11px;
    font-size: 13px;
  }
  
  .site-nav::before {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  
  .market-stats {
    gap: 20px;
    flex-direction: column;
    max-width: 300px;
  }
  
  .market-stats .stat-number {
    font-size: 1.8rem;
  }
  
  /* Footer mobile optimizations for small phones */
  .site-footer {
    margin-top: 32px;
  }
  
  .footer-top {
    padding: 20px 0;
    gap: 16px;
  }
  
  .footer-brand img {
    height: 32px;
  }
  
  .footer-links {
    gap: 12px;
  }
  
  .footer-links h4 {
    font-size: 11px;
  }
  
  .footer-links a {
    padding: 6px 10px;
    min-height: 36px;
    font-size: 13px;
  }
  
  .footer-social .social {
    width: 38px;
    height: 38px;
  }
  
  .footer-social svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-bottom {
    padding: 12px 0;
    gap: 12px;
  }
  
  .footer-contact-inline {
    gap: 10px;
  }
  
  .footer-bottom .social {
    width: 38px;
    height: 38px;
  }
  
  .footer-bottom .social svg {
    width: 18px;
    height: 18px;
  }
}

/* Medium phones (481px - 768px) */
@media (max-width: 768px) {
  .market-stats {
    gap: 30px;
    flex-direction: column;
    max-width: 400px;
  }
  
  .market-stats .stat-item {
    max-width: none;
  }
  
  .market-stats .stat-number {
    font-size: 2rem;
  }
  
  .technical-capabilities {
    padding: 20px 25px;
    margin-top: 25px;
  }
  
  .capabilities-text {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 120px 0 80px;
    padding-left: 20px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .markets-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .market-image {
    height: 180px;
  }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 90%;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .market-stats {
    gap: 35px;
  }
  
  .markets-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Image optimization for different screen densities */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Additional responsive styles */
@media (max-width: 768px) {
  .market-content {
    padding: 25px;
  }
  
  .success-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .client-success {
    padding: 40px 0;
    margin-top: 40px;
  }
  
  /* Additional mobile flowchart optimizations */
  .flowing-timeline {
    padding: 16px 0 !important;
  }
  
  .timeline-step {
    margin-bottom: 24px !important;
    padding: 0 8px !important;
  }
  
  .step-content {
    padding: 16px !important;
  }
  
  .step-content > div:first-child > div:first-child {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  
  .step-content > div:first-child > h4 {
    font-size: 16px !important;
  }
  
  .step-content > p {
    font-size: 13px !important;
  }
  
  .timeline-image {
    height: 160px !important;
  }
  
  .timeline-marker,
  .timeline-step > div[style*="position: absolute"] {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--color-primary), #2c7a8a) !important;
    border: 3px solid white !important;
    box-shadow: 0 0 0 3px var(--color-primary), 0 3px 10px rgba(66, 149, 175, 0.4) !important;
    flex: none !important;
  }
  
  /* Ensure consistent order for smaller screens too */
  .timeline-step > div:first-child {
    order: 1 !important; /* Description first */
  }
  
  .timeline-step > div:last-child {
    order: 2 !important; /* Image second */
  }
  
  .timeline-step > div[style*="position: absolute"] {
    order: 3 !important; /* Marker third */
  }
  
  /* DETAILED ENGINEERING SOLUTIONS mobile optimization */
  .technical-excellence-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 40px !important;
  }
  
  .tech-card {
    margin: 0 !important;
    border-radius: 16px !important;
  }
  
  .tech-image {
    height: 200px !important;
  }
  
  .tech-content {
    padding: 20px !important;
  }
  
  .tech-content h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  
  .tech-content p {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }
  
  .tech-features {
    gap: 12px !important;
  }
  
  .tech-feature {
    padding: 12px !important;
    border-radius: 8px !important;
  }
  
  .tech-feature span {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  
  .feature-icon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
  }
  
  .feature-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  /* Additional mobile optimizations for smaller screens */
  .technical-excellence-grid {
    gap: 20px !important;
    margin-top: 30px !important;
  }
  
  .tech-image {
    height: 180px !important;
  }
  
  .tech-content {
    padding: 16px !important;
  }
  
  .tech-content h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }
  
  .tech-content p {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }
  
  .tech-features {
    gap: 10px !important;
  }
  
  .tech-feature {
    padding: 10px !important;
  }
  
  .tech-feature span {
    font-size: 12px !important;
  }
  
  .feature-icon {
    width: 18px !important;
    height: 18px !important;
    margin-right: 6px !important;
  }
  
  .feature-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Ticker Animation Styles */
.ticker.--footer {
  background: var(--color-primary);
  color: white;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.ticker-content {
  width: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: scroll-seamless 60s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(20px, 7vw, 40px);
  font-weight: 700;
  letter-spacing: 4px;
  flex-shrink: 0;
}

.ticker-emblem {
  height: clamp(20px, 7vh, 40px);
  width: auto;
  filter: brightness(0) invert(1);
}

@keyframes scroll-seamless {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover for accessibility */
.ticker.--footer:hover .ticker-track {
  animation-play-state: paused;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* Faster ticker animation on mobile - Force visibility and override JS */
@media (max-width: 720px) {
  .ticker.--footer {
    position: relative !important;
    z-index: 9999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 60px !important;
    background: var(--color-primary) !important;
    color: white !important;
    overflow: hidden !important;
    padding: 20px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .ticker-content {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .ticker-track {
    animation: scroll-seamless 30s linear infinite !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10000 !important;
    white-space: nowrap !important;
    width: max-content !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  
  .ticker-item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    gap: 20px !important;
    font-size: clamp(20px, 7vw, 40px) !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
    margin-right: 25px !important;
    margin-left: 0 !important;
  }
  
  .ticker-emblem {
    height: clamp(20px, 7vh, 40px) !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Override any JavaScript-generated styles */
  .ticker-track[style*="width"] {
    width: max-content !important;
  }
  
  .ticker-item[style*="margin"] {
    margin-right: 25px !important;
    margin-left: 0 !important;
  }
}

/* Transportation Page Specific Styles */
.transportation-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.overview-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.overview-content .lead {
  font-size: 1.2rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.transportation-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Market Statistics */
.market-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(590px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.market-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.market-stats .stat-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Zigzag Layout for Capabilities */
.capabilities-zigzag {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.capability-zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.capability-zigzag-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(66, 149, 175, 0.15);
}

.capability-zigzag-item.reverse .capability-content {
  order: -1;
}

.capability-zigzag-item .capability-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
}

.capability-zigzag-item .capability-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.capability-zigzag-item:hover .capability-image img {
  transform: scale(1.05);
}

.capability-zigzag-item .capability-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(66, 149, 175, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.capability-zigzag-item:hover .capability-overlay {
  opacity: 1;
}

.capability-zigzag-item .capability-overlay svg {
  width: 40px;
  height: 40px;
  color: white;
}

.capability-zigzag-item .capability-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.capability-zigzag-item .capability-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Responsive Design for Market Subpages */
@media (max-width: 1024px) {
  .transportation-overview {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .market-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .capability-zigzag-item {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .capability-zigzag-item.reverse .capability-content {
    order: 0;
  }
}

@media (max-width: 768px) {
  .overview-content h1 {
    font-size: 2.5rem;
  }
  
  .transportation-hero-image img {
    height: 250px;
  }
  
  /* Fix transportation overview grid layout on mobile */
  .transportation-overview {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .transportation-overview .overview-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  
  .transportation-overview .transportation-hero-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .transportation-overview .transportation-hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  .capability-zigzag-item {
    padding: 20px;
    gap: 20px;
  }

  .capability-zigzag-item .capability-image {
    height: 200px;
  }

  .capability-zigzag-item .capability-content h3 {
    font-size: 1.5rem;
  }
}

/* Market Subpage Styles */
.market-intro {
  padding: 60px 0;
}

.market-intro-header {
  margin-bottom: 50px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--color-primary);
}

.market-intro .lead {
  font-size: 1.3rem;
  color: var(--color-muted);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Capabilities Grid */
.capabilities-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.capability-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(66, 149, 175, 0.15);
}

.capability-image {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.capability-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.capability-card:hover .capability-image img {
  transform: scale(1.05);
}

.capability-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(66, 149, 175, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.capability-card:hover .capability-overlay {
  opacity: 1;
}

.capability-overlay svg {
  width: 24px;
  height: 24px;
  color: white;
}

.capability-card h3 {
  padding: 20px 25px 12px;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.capability-card p {
  padding: 0 25px 20px;
  color: var(--color-muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Specialized Services */
.specialized-services {
  padding: 60px 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.services-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 40px;
}

.service-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-category h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-category ul {
  list-style: none;
  padding: 0;
}

.service-category li {
  padding: 8px 0;
  color: var(--color-text);
  position: relative;
  padding-left: 20px;
}

.service-category li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.services-image {
  border-radius: 15px;
  height: 425px;
  overflow: hidden;
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Technical Expertise */
.technical-expertise {
  padding: 60px 0;
}

.expertise-header {
  text-align: center;
  margin-bottom: 50px;
}

.expertise-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.expertise-header p {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.expertise-item {
  background: white;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(66, 149, 175, 0.15);
}

.expertise-icon {
  width: 40px;
  height: 40px;
  background: var(--color-elev);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.expertise-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.expertise-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.expertise-item p {
  color: var(--color-muted);
  line-height: 1.5;
}

/* Market Impact */
.market-impact {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.impact-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.impact-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 40px;
}

.impact-stats {
  display: flex;
  gap: 40px;
}

.impact-stat {
  text-align: center;
}

.impact-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}

.impact-stat .stat-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.impact-image {
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
}

.impact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Transportation Page Additional Styles */
.solutions-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.solution-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-feature.reverse {
  direction: rtl;
}

.solution-feature.reverse > * {
  direction: ltr;
}

.solution-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.solution-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.solution-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.solution-features {
  list-style: none;
  padding: 0;
}

.solution-features li {
  padding: 8px 0;
  font-size: 1rem;
  color: var(--color-text);
  position: relative;
  padding-left: 25px;
}

.solution-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.integration-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.integration-item:hover {
  transform: translateY(-5px);
}

.integration-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.integration-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.integration-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.integration-item p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Integration Items Blue Cards */
.integration-item {
  background: var(--color-primary) !important;
}

.integration-item h3 {
  color: white !important;
  font-size: 1.5rem !important;
}

.integration-item p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

.integration-item .integration-icon {
  background: rgba(255, 255, 255, 0.2) !important;
}

.smart-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.smart-factors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.smart-feature h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.smart-feature p {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.smart-feature ul {
  list-style: none;
  padding: 0;
}

.smart-feature li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--color-text);
  position: relative;
  padding-left: 20px;
}

.smart-feature li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.smart-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.capabilities-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.capability-step {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.capability-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.capability-step h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.capability-step p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.expertise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.expertise-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expertise-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.expertise-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.municipal-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.highlight h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.highlight p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Responsive Design for Market Subpages */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-layout,
  .market-impact,
  .smart-layout,
  .expertise-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-stats {
    justify-content: center;
  }

  .integration-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .solution-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .capabilities-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .capabilities-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .capability-card,
  .expertise-item {
    margin-bottom: 20px;
  }

  .capability-zigzag-item {
    padding: 20px;
    gap: 20px;
  }

  .capability-zigzag-item .capability-image {
    height: 200px;
  }

  .capability-zigzag-item .capability-content h3 {
    font-size: 1.5rem;
  }

  .capability-zigzag-item .capability-content p {
    font-size: 1rem;
  }

  .capability-image {
    height: 120px;
  }

  .services-layout,
  .market-impact,
  .smart-layout,
  .expertise-layout {
    gap: 30px;
  }

  .services-image img,
  .impact-image img {
    height: 180px;
  }

  .smart-image img,
  .expertise-image img {
    height: 250px;
  }

  .impact-stats {
    gap: 20px;
  }

  .section-header h2,
  .expertise-header h2,
  .services-content h2,
  .impact-content h2 {
    font-size: 2rem;
  }

  .capability-card h3,
  .expertise-item h3,
  .service-category h3 {
    font-size: 1.2rem;
  }

  .capabilities-process {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .solution-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .solution-image img {
    height: 200px;
  }

  .integration-icon {
    width: 50px;
    height: 50px;
  }

  .integration-icon svg {
    width: 25px;
    height: 25px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .capability-zigzag-item {
    padding: 15px;
  }

  .capability-zigzag-item .capability-image {
    height: 180px;
  }

  .capability-zigzag-item .capability-content h3 {
    font-size: 1.3rem;
  }

  .capability-zigzag-item .capability-content p {
    font-size: 0.9rem;
  }

  .capability-image {
    height: 100px;
  }

  .services-image img,
  .impact-image img {
    height: 150px;
  }

  .smart-image img,
  .expertise-image img {
    height: 200px;
  }

  .integration-icon {
    width: 45px;
    height: 45px;
  }

  .integration-icon svg {
    width: 20px;
    height: 20px;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
  }

  .expertise-content h2 {
    font-size: 2rem;
  }

  .impact-stats {
    flex-direction: column;
    gap: 15px;
  }

  .capability-card h3 {
    padding: 20px 25px 10px;
  }

  .capability-card p {
    padding: 0 25px 25px;
  }
}

/* Smart City Connectivity Features */
.smart-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.smart-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: rgba(66, 149, 175, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s ease;
}

.smart-feature-item:hover {
  background: rgba(66, 149, 175, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.smart-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.smart-feature-item p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .smart-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .smart-feature-item {
    padding: 12px;
  }

  .smart-feature-item h4 {
    font-size: 1rem;
  }

  .smart-feature-item p {
    font-size: 0.9rem;
  }
}