/* CSS reset and variables */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #0b0c0e;
  --muted: #5b6472;
  --brand: #0097bc;
  --brand-600: #007a96;
  --accent: #0b3b7a;
  --surface: #f5f7fb;
  --border: #e6e9ef;
  --shadow: 0 8px 24px rgba(2, 17, 43, .06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  body {
    position: relative !important;
    overflow-x: hidden !important;
  }

  .primary-nav {
    display: none !important;
    position: fixed !important;
    right: 0 !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    will-change: transform;
  }

  .primary-nav.active {
    display: block !important;
    right: 0 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-600);
}

/* Layout */
.container {
  width: min(1600px, 98%);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .container {
    width: min(1600px, 94%);
    margin-inline: auto;
    padding: 0 1rem;
  }
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two {
  grid-template-columns: 1fr;
}

.grid.three {
  grid-template-columns: 1fr;
}

.grid.four {
  grid-template-columns: 1fr;
}

.grid.five {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid.four {
    grid-template-columns: 1fr 1fr;
  }

  .grid.five {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .grid.two {
    grid-template-columns: 1.1fr .9fr;
  }
}

@media (min-width: 900px) {
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid.five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid.five {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Utilities */
.text-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.section {
  padding: 2rem 0;
}

.hidden {
  display: none;
}

/* Sectors page card grid spacing */
section.grid.three {
  padding: 4rem 0;
  margin: 2rem 0;
}

/* Sector card container */
section.grid.three .sector-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Ensure all sector cards have the same height */
section.grid.three .card {
  height: 500px;
  display: flex;
  flex-direction: column;
  border-radius: 1.2rem 1.2rem 0 0;
  overflow: hidden;
}

section.grid.three .card-overlay-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

section.grid.three .card-overlay-content .content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Blue bar below each card - separate element */
section.grid.three .card-cta-bar {
  background: var(--brand);
  padding: 1rem 2.5rem;
  text-align: center;
  border-radius: 0 0 1.2rem 1.2rem;
  margin-top: 0;
}

section.grid.three .card-cta-bar .cta {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

section.grid.three .card-cta-bar .cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  section.grid.three {
    padding: 3rem 0;
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  section.grid.three {
    padding: 2rem 0;
    margin: 1rem 0;
  }
}

.brand-logo {
  max-height: 102px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo--on-blue .brand-logo {
  filter: brightness(0) invert(1);
}

.space-xs {
  height: .5rem;
}

.space-sm {
  height: 1rem;
}

.space-md {
  height: 1.5rem;
}

.space-lg {
  height: 2rem;
}

/* Typography */
h1,
h2,
h3 {
  margin: 0 0 .5rem;
  line-height: 1.2;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-weight: 800;
  letter-spacing: -0.005em;
}

h3 {
  font-weight: 700;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: .6rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-secondary {
  background: #e6f6fb;
  border-color: #cbeef6;
  color: var(--brand);
}

.btn-secondary:hover {
  background: #d7f0f7;
}

.cta {
  display: inline-block;
  margin-top: .25rem;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: .5rem;
  border-radius: .25rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(230, 233, 239, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Homepage only: transparent header initially */
body.page-home .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

body.page-home .site-header.scrolled {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(230, 233, 239, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Default: Nav links are dark (for pages without hero background) */
.site-header .primary-nav a {
  color: var(--text);
}

.site-header .primary-nav .btn-primary {
  background: var(--brand);
  color: #ffffff;
}

/* Homepage only: Nav links white on transparent header */
body.page-home .site-header .primary-nav a {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.page-home .site-header .primary-nav .btn-primary {
  color: #ffffff;
  text-shadow: none;
}

/* Nav links dark when scrolled OR hovered (homepage) */
body.page-home .site-header.scrolled .primary-nav a,
body.page-home .site-header:hover .primary-nav a {
  color: var(--text);
  text-shadow: none;
}

body.page-home .site-header.scrolled .primary-nav .btn-primary,
body.page-home .site-header:hover .primary-nav .btn-primary {
  color: #ffffff;
}

/* Hamburger: default dark */
.hamburger span {
  background: var(--text);
}

/* Homepage only: Hamburger white on transparent header */
body.page-home .hamburger span {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.page-home .site-header.scrolled .hamburger span,
body.page-home .site-header:hover .hamburger span {
  background: var(--text);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    padding: 2rem;
    padding-top: 5rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    /* Force hide navigation on mobile */
    display: none;
    transform: translateX(100%);
    visibility: hidden;
  }

  .primary-nav.active {
    right: 0;
    display: block;
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: transparent;
    border: 1px solid var(--border);
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .primary-nav a:hover {
    background: var(--brand);
    color: white;
    transform: none;
  }

  .primary-nav .btn-primary {
    background: var(--brand);
    color: white;
    border: 1px solid var(--brand);
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    box-shadow: none;
  }

  .primary-nav .btn-primary:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
  }

  .hamburger {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.75rem;
    z-index: 1001;
    position: fixed;
    right: 1rem;
    top: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
  }

  .hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .hamburger.active {
    right: 1.5rem;
    top: 1.5rem;
    background: rgba(0, 151, 188, 0.1);
  }

  .hamburger.active:hover {
    background: rgba(0, 151, 188, 0.15);
  }

  .logo {
    margin: 0 auto;
  }

  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .hamburger.active span {
    background: var(--brand);
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  max-height: 70px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

@media (max-width: 520px) {

  .logo img,
  .brand-logo {
    max-height: 55px;
    height: auto;
  }

  .header-inner {
    padding: 0.5rem 0;
  }
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.primary-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: -1;
}

.primary-nav a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 151, 188, 0.25);
}

.primary-nav a:hover::before {
  opacity: 1;
}

.primary-nav a:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Special styling for the Enquire button in navigation */
.primary-nav .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 151, 188, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-nav .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.primary-nav .btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--accent));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 151, 188, 0.4);
}

.primary-nav .btn-primary:hover::before {
  left: 100%;
}

.primary-nav .btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width: 680px) {
  .primary-nav ul {
    gap: 0.25rem;
  }

  .primary-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .primary-nav .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Hero Section - Default styles for non-homepage (simple header) */
.hero {
  position: relative;
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  padding: 3rem 0 !important;
  padding-top: 8rem !important;
  /* Space for fixed header */
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero .muted,
.hero p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

/* Hero with grid layout (About page etc) */
.hero .grid {
  align-items: center;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  max-width: 200px;
  height: auto;
}

/* Homepage Hero - Full Width Background Image */
body.page-home .hero {
  min-height: 85vh;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

body.page-home .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(30, 41, 59, 0.88) 0%,
      rgba(30, 41, 59, 0.7) 40%,
      rgba(30, 41, 59, 0.3) 70%,
      transparent 100%);
  display: flex;
  align-items: center;
}

body.page-home .hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

body.page-home .hero-content {
  width: 50%;
  max-width: none;
  padding: 5rem 2rem 5rem 0;
  margin-left: calc((100vw - min(1600px, 98vw)) / 2);
}

body.page-home .hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 1.5rem;
  color: #ffffff;
}

body.page-home .hero .text-lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 480px;
}

/* Partner Badges */
.partner-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  transition: all 0.3s ease;
}

.partner-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.partner-badge img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.partner-badge.daikin img {
  filter: brightness(0) invert(1);
}

.partner-badge span {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Buttons */
.hero .actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  max-width: 420px;
}

.hero .actions-row {
  display: flex;
  gap: 0.75rem;
}

.hero .actions-row .btn-primary {
  flex: 1;
}

/* Primary CTA buttons - high contrast, prominent */
.hero .btn-primary {
  background: #ffffff;
  color: var(--brand);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  min-width: 160px;
  text-align: center;
}

.hero .btn-primary:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 151, 188, 0.4);
}

/* Secondary button - subtle, less emphasis */
.hero .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* Hero Tablet Responsive */
@media (max-width: 900px) {
  .hero {
    min-height: 70vh;
    background-position: center;
  }

  .hero-overlay {
    background: linear-gradient(90deg,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(30, 41, 59, 0.85) 50%,
        rgba(30, 41, 59, 0.6) 100%);
  }

  .hero-content {
    max-width: 100%;
    padding: 2rem 0;
  }
}

/* Hero Mobile Responsive */
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    background-position: center;
    background-size: cover;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(30, 41, 59, 0.92) 0%,
        rgba(30, 41, 59, 0.85) 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content,
  body.page-home .hero-content {
    text-align: center;
    padding: 5rem 1.5rem 2rem 1.5rem !important;
    max-width: 100%;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
    margin-bottom: 1rem;
  }

  .hero .text-lead {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .partner-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .partner-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero .actions {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
  }

  .hero .actions-row {
    flex-direction: column;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    text-align: center;
    width: 100%;
  }
}


.trusted {
  padding: 2.5rem 0 3rem;
  background: #fff;
}

.eyebrow {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin: 0 0 3.0rem;
  text-align: center;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-row {
  align-items: center;
}

.logo-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.logo-row img {
  width: 120px;
  height: auto;
  opacity: .8;
  object-fit: contain;
  display: block;
}

@media (max-width: 520px) {
  .logo-row {
    gap: 1.5rem 4rem;
  }
}

@media (min-width: 900px) {
  .logo-row {
    gap: 2rem 3rem;
  }
}

.why,
.services-overview,
.case-teaser {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

/* Services Overview Section */
.services-overview {
  background: #ffffff;
  padding: 5rem 0;
}

.services-overview .container {
  max-width: 1680px;
  margin: 0 auto;
}

.services-overview h2 {
  text-align: center;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 0 auto 2rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  padding: 1.5rem 3rem 2.5rem;
  border-radius: 1rem;
  display: block;
  width: 100%;
  max-width: 1600px;
  position: relative;
  overflow: hidden;
}

.services-overview .heading-logo {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.services-overview .heading-logo img {
  height: 78px;
  width: auto;
  filter: brightness(0) invert(1);
}

.services-overview h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.services-overview h2:hover::before {
  left: 100%;
}

.services-overview .text-lead {
  max-width: 1440px;
  margin: 0 auto 4rem;
  text-align: center;
  line-height: 1.7;
}

.services-overview .grid {
  max-width: 1600px;
  margin: 0 auto;
  gap: 2rem;
}

.services-overview .card {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  border-color: var(--brand-600);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  text-align: left;
}

.services-overview .card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-align: left;
}

.services-overview .card p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}

.services-overview .card .cta {
  color: var(--brand);
  font-weight: 700;
  background: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
  margin-top: 1.75rem;
  align-self: flex-start;
  font-size: 1rem;
}

.services-overview .card .cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.services-overview .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 151, 188, 0.35);
  border-color: var(--brand);
}

@media (max-width: 900px) {
  .services-overview {
    padding: 3rem 0;
  }

  .services-overview h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding: 1.25rem 1.5rem 1.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .services-overview .heading-logo {
    margin-top: 1rem;
  }

  .services-overview .heading-logo img {
    height: 50px;
  }

  .services-overview .text-lead {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .services-overview .grid {
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .services-overview {
    padding: 2rem 0;
  }

  .services-overview h2 {
    font-size: 1.25rem;
    padding: 1rem 1.25rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
  }

  .services-overview .heading-logo {
    margin-top: 0.75rem;
  }

  .services-overview .heading-logo img {
    height: 40px;
  }

  .services-overview .text-lead {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .services-overview .card {
    text-align: center;
    padding: 1.75rem 1.5rem;
    border-radius: 0.75rem;
  }

  .services-overview .card h3 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .services-overview .card p {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .services-overview .card .cta {
    align-self: center;
    margin: 1.25rem auto 0;
    padding: 0.75rem 1.5rem;
  }
}

.why {
  background: linear-gradient(rgba(0, 151, 188, 0.85), rgba(0, 122, 150, 0.85)), url('../images/why bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  border-top: none;
  position: relative;
  padding: 3.5rem 0 4rem;
}

.why h2 {
  text-align: center;
  margin: 0 0 3rem;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.why .container .grid {
  gap: 1.75rem;
  max-width: 1700px;
  margin: 0 auto;
  justify-items: center;
}

.why .container .grid.four {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

@media (min-width: 1200px) {
  .why .container .grid.four {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1600px;
  }
}

/* Nationwide Coverage Section */
.nationwide-coverage {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
}

.nationwide-coverage .grid.two {
  align-items: center;
  gap: 5rem;
}

.nationwide-coverage h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nationwide-coverage .text-lead {
  margin-bottom: 2.5rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.nationwide-coverage p {
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 1.08rem;
}

.coverage-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2.5rem;
}

.coverage-content .feature-list {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.coverage-content .feature-list li {
  padding-left: 2.2rem;
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.coverage-content .feature-list li::before {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.95rem;
}

.coverage-content .btn-primary {
  margin-top: 1rem;
  align-self: flex-start;
  padding: 1.1rem 2.25rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.coverage-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 151, 188, 0.12);
  border: 1px solid var(--border);
}

.coverage-map img {
  max-width: 480px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 151, 188, 0.25));
  transition: transform 0.3s ease;
}

.coverage-map img:hover {
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .nationwide-coverage {
    padding: 4rem 0;
  }

  .nationwide-coverage .grid.two {
    gap: 3rem;
  }

  .nationwide-coverage h2 {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
  }

  .nationwide-coverage .text-lead {
    margin-bottom: 2rem;
  }

  .coverage-content {
    padding-right: 0;
  }

  .coverage-content .feature-list {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }

  .coverage-map {
    padding: 2.5rem;
  }

  .coverage-map img {
    max-width: 340px;
  }
}

.case-teaser {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  color: #ffffff;
  border-top: none;
  padding: 4rem 0;
}

.case-teaser h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.case-teaser p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  max-width: 600px;
}

.why h2,
.why h3 {
  color: #ffffff;
}

.why h3 {
  color: #000;
}

.why a:not(.btn),
.case-teaser a:not(.btn) {
  color: #ffffff;
}

.why .card,
.case-teaser .card {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
  position: relative;
  overflow: hidden;
}

.why .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  min-height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-radius: 1.5rem;
  border: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why .card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.why .card h3 {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.why .card p {
  max-width: 46ch;
  margin-inline: auto;
  line-height: 1.7;
  font-size: 1rem;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 151, 188, 0.18);
  border-color: rgba(0, 151, 188, 0.22);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* underline removed */
.card p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-icon {
  width: 100%;
  max-width: 280px;
  height: auto;
  min-height: 100px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 12px 28px rgba(0, 151, 188, 0.4);
}

.card-icon img,
.card-icon svg {
  max-width: 56px;
  max-height: 56px;
  width: auto;
  height: auto;
  display: inline-block;
  object-fit: contain;
  /* icons keep their original colors on grey background */
}

/* Partner logos side by side */
.partner-logos {
  width: 100%;
  max-width: 280px;
  height: auto;
  min-height: 100px;
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
}

.partner-logos img {
  max-width: 48%;
  max-height: 60px;
  width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 1;
}

@media (max-width: 600px) {
  .partner-logos {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    min-height: auto;
  }

  .partner-logos img {
    max-width: 100%;
    max-height: 50px;
  }
}

@media (max-width: 720px) {
  .why {
    padding: 2.5rem 0 3rem;
  }

  .why h2 {
    margin: 0 0 2rem;
  }

  .why .container .grid {
    gap: 1.5rem;
  }

  .why .card {
    padding: 2rem 1.5rem;
  }

  .why .card h3 {
    font-size: 1.15rem;
  }

  .why .card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  .card-icon {
    width: 100px;
    height: 75px;
    margin-bottom: 1rem;
  }

  .card-icon img,
  .card-icon svg {
    max-width: 44px;
    max-height: 44px;
  }

  .card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .why {
    padding: 2rem 0 2.5rem;
  }

  .why h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin: 0 0 1.5rem;
  }

  .why .card {
    padding: 1.75rem 1.5rem;
  }

  .why .card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .why .card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .card {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
  }

  .card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .card-icon {
    width: 90px;
    height: 65px;
    margin-bottom: 0.75rem;
  }

  .card-icon img,
  .card-icon svg {
    max-width: 40px;
    max-height: 40px;
  }
}

.case-teaser .teaser-media {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-teaser .btn-primary {
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.case-teaser .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 720px) {
  .case-teaser {
    padding: 3rem 0;
  }

  .case-teaser h2 {
    margin-bottom: 1rem;
  }

  .case-teaser p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
  }
}

/* Section divider */
.section-divider {
  margin: 3rem auto;
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.6;
  max-width: 80%;
}

@media (max-width: 768px) {
  .section-divider {
    margin: 2rem auto;
    max-width: 90%;
  }
}

/* Alternating content sections */
.content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .content-section {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  /* Default: text left, image right */
  .content-section .content-text {
    order: 1;
  }

  .content-section .content-image {
    order: 2;
  }

  /* Reverse: image left, text right */
  .content-section.reverse .content-text {
    order: 2;
  }

  .content-section.reverse .content-image {
    order: 1;
  }
}

.content-text {
  padding: 1rem 0;
}

.content-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.content-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  font-size: 1rem;
  color: var(--text);
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 151, 188, 0.3);
}

.content-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
  border-radius: 1rem;
}

.content-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.content-image img[src$=".svg"] {
  object-fit: contain;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}

/* About page specific: smaller images and compact sections */
.page-about .content-image img {
  max-width: 55%;
  max-height: 55%;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
}

.page-about .content-image {
  min-height: 350px;
  border-radius: 1.5rem;
}

.page-about .content-image img {
  border-radius: 1.5rem;
}

/* Remove background from certification images */
.page-about .content-image img[src*="Certifications"] {
  background: none !important;
  padding: 0;
}

/* Increase gap in hero section for about page */
.page-about .hero .grid.two {
  gap: 4rem;
}

@media (min-width: 720px) {
  .page-about .hero .grid.two {
    gap: 6rem;
  }
}


.page-about section:not(.hero) {
  padding-top: 2rem;
  padding-bottom: 2rem;
}


.page-about .content-section {
  margin-bottom: 1rem;
}

.page-about .section-divider {
  margin: 2rem auto;
}

@media (max-width: 768px) {
  .page-about .content-image {
    min-height: 280px;
  }

  .page-about .content-image img {
    min-height: 280px;
    max-width: 60%;
    max-height: 60%;
  }
}

@media (max-width: 480px) {
  .page-about .content-image {
    min-height: 240px;
  }

  .page-about .content-image img {
    min-height: 240px;
    max-width: 65%;
    max-height: 65%;
  }
}

@media (max-width: 767px) {
  .content-section {
    gap: 2rem;
  }

  .content-text h3 {
    font-size: 1.4rem;
  }

  .content-text p {
    font-size: 1rem;
  }

  .feature-list li {
    font-size: 0.95rem;
    padding-left: 1.75rem;
  }

  .feature-list li::before {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.8rem;
  }

  .content-image {
    min-height: 300px;
  }

  .content-image img {
    min-height: 300px;
  }

  .content-image img[src$=".svg"] {
    padding: 1.5rem;
  }

  .page-about .content-image img {
    max-width: 58%;
    max-height: 58%;
  }
}

@media (max-width: 480px) {
  .content-section {
    gap: 1.5rem;
  }

  .content-text h3 {
    font-size: 1.3rem;
  }

  .content-text p {
    font-size: 0.95rem;
  }

  .feature-list {
    gap: 0.6rem;
  }

  .content-image {
    min-height: 250px;
  }

  .content-image img {
    min-height: 250px;
  }

  .content-image img[src$=".svg"] {
    padding: 1rem;
  }

  .page-about .content-image img {
    max-width: 62%;
    max-height: 62%;
  }
}

/* Sector pages - smaller, centered images */
.content-section .content-image {
  min-height: auto;
  align-self: center;
}

.content-section .content-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 380px;
  min-height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Add top margin to content section for spacing from hero */
main>.container>.content-section:first-child {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .content-section .content-image img {
    max-height: 420px;
  }

  main>.container>.content-section:first-child {
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .content-section .content-image img {
    max-height: 300px;
    margin: 0 auto;
  }

  main>.container>.content-section:first-child {
    margin-top: 2rem;
  }
}

/* ========================================
   LOCATION PAGES - Enhanced Design
   ======================================== */

/* Subtle background band for first content section */
.location-page .content-section.intro-section {
  background: linear-gradient(135deg, #f8fafb 0%, #eef2f5 100%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 3rem calc(50vw - 50% + 1rem);
  border-radius: 0;
  margin-top: 0;
}

.location-page .content-section.intro-section h2 {
  color: var(--primary);
}

/* Cards with colored top accent */
.location-page .grid.two .card {
  border-top: 4px solid var(--primary);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-page .grid.two .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.location-page .grid.two .card h3 {
  color: var(--primary);
}

/* Areas/Services two-column section with background */
.location-page .content-section.areas-services {
  background: linear-gradient(180deg, #f8fafb 0%, #eef2f5 100%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 3rem calc(50vw - 50% + 1rem);
  margin-bottom: 0;
  align-items: start;
}

/* Better visual separation for the two columns */
.location-page .content-section.areas-services .content-text {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
}

.location-page .content-section.areas-services .content-text h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.location-page .content-section.areas-services .content-text p {
  margin-bottom: 1rem;
}

.location-page .content-section.areas-services .feature-list {
  margin-top: 0.5rem;
}

/* Styled feature list for services column */
.location-page .content-section:last-of-type .feature-list li strong {
  color: var(--text);
}

/* Section divider with more presence */
.location-page .section-divider {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  margin: 3rem auto;
  max-width: 200px;
  opacity: 0.3;
}

/* Cards section wrapper */
.location-page .grid.two {
  margin: 2.5rem 0 3rem;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Map image styling */
.location-page .content-image img {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}


/* Responsive adjustments */
@media (max-width: 768px) {

  .location-page .content-section.intro-section,
  .location-page .content-section.areas-services,
  .location-page .footer-cta {
    padding: 2rem 1.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .location-page .content-section.areas-services .content-text {
    padding: 1.5rem;
  }

  .location-page .content-section.areas-services .content-text h2 {
    font-size: 1.2rem;
  }

  .location-page .grid.two {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .location-page .grid.two .card {
    padding: 1.5rem;
  }
}

/* Image overlay cards */
.card-image-overlay {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.card-image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.9) 100%);
  transition: all 0.3s ease;
  z-index: 1;
}

.card-image-overlay:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 151, 188, 0.4);
}

.card-image-overlay:hover::before {
  background: linear-gradient(180deg, rgba(0, 122, 150, 0.6) 0%, rgba(0, 151, 188, 0.9) 100%);
}

.card-overlay-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  color: #ffffff;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 360px;
}

.card-overlay-content h3 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 1.75rem;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.card-overlay-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-overlay-content li {
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.08rem;
  font-weight: 500;
  padding-left: 1.75rem;
  position: relative;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

.card-overlay-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  background: #ffffff;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  top: 0.2rem;
}

.card-overlay-content .cta {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  align-self: flex-start;
}

.card-overlay-content .cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-overlay-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .card-image-overlay {
    min-height: 320px;
  }

  .card-overlay-content {
    padding: 2rem;
    min-height: 320px;
  }

  .card-overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .card-overlay-content li {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .card-image-overlay {
    min-height: 300px;
  }

  .card-overlay-content {
    padding: 1.75rem;
    min-height: 300px;
  }

  .card-overlay-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .card-overlay-content ul {
    gap: 0.6rem;
  }

  .card-overlay-content li {
    font-size: 0.95rem;
    padding-left: 1.5rem;
  }

  .card-overlay-content li::before {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.7rem;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: none;
  background: var(--brand);
  color: #ffffff;
}

.site-footer p {
  color: #ffffff;
}

.site-footer a {
  color: #ffffff;
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: .8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.footer-cta h2 {
  color: var(--brand);
}

.footer-cta .btn-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.footer-cta .btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

/* Location page CTA overrides */
.location-page #main .footer-cta,
.location-page main .footer-cta {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%) !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 3rem calc(50vw - 50% + 1rem) !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.location-page #main .footer-cta h2,
.location-page main .footer-cta h2 {
  color: #ffffff !important;
}

.location-page #main .footer-cta .muted,
.location-page main .footer-cta .muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.location-page #main .footer-cta .btn-primary,
.location-page main .footer-cta .btn-primary {
  background: #0097bc !important;
  color: #ffffff !important;
  border-color: #0097bc !important;
}

.location-page #main .footer-cta .btn-primary:hover,
.location-page main .footer-cta .btn-primary:hover {
  background: #007a96 !important;
  border-color: #007a96 !important;
}

@media (max-width: 768px) {

  .location-page #main .footer-cta,
  .location-page main .footer-cta {
    padding: 2rem 1.5rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 2fr 1.2fr 1fr;
  }
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}

.brand {
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--brand-600);
}

.muted {
  color: var(--muted);
}

.site-footer .muted {
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
  max-height: 100px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

@media (max-width: 520px) {
  .footer-logo {
    max-height: 80px;
  }
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* Footer Locations */
.footer-locations {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-locations p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-locations a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-locations a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Areas We Cover Page */

/* Featured Section */
.areas-featured {
  background: #ffffff;
  padding: 4rem 0;
  margin-bottom: 0;
}

.areas-featured-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .areas-featured-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.areas-featured-content {
  color: var(--text);
}

.areas-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.areas-featured-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text);
}

.areas-featured-content>p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.areas-featured-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.areas-featured-list li {
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.areas-featured-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.areas-featured-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.areas-map-marker {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0097bc 0%, #0891b2 100%) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 32px rgba(0, 151, 188, 0.4);
  animation: pulse 2s infinite;
}

.areas-map-marker svg {
  width: 60px;
  height: 60px;
  fill: #ffffff !important;
  color: #ffffff !important;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0, 151, 188, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 151, 188, 0.5);
  }
}

.areas-featured-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Areas Section */
.areas-section {
  background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem calc(50vw - 50%);
  margin-bottom: 0;
}

.areas-section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.areas-section-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

/* Area Cards */
.areas-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .areas-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.areas-cards .area-card,
.area-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, #0097bc 0%, #0891b2 100%) !important;
  border-radius: 1rem;
  padding: 1.75rem;
  text-decoration: none;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 151, 188, 0.25);
  transition: all 0.3s ease;
  border: none !important;
}

.areas-cards .area-card:hover,
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 151, 188, 0.35);
}

.areas-cards .area-card-icon,
.area-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.areas-cards .area-card-icon svg,
.area-card-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff !important;
}

.areas-cards .area-card-body,
.area-card-body {
  flex: 1;
  min-width: 0;
}

.areas-cards .area-card-body h3,
.area-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 0.5rem;
}

.areas-cards .area-card-body p,
.area-card-body p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 1rem;
}

.areas-cards .area-card-link,
.area-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  display: inline-block;
  transition: background 0.3s ease;
}

.areas-cards .area-card:hover .area-card-link,
.area-card:hover .area-card-link {
  background: rgba(255, 255, 255, 0.3) !important;
  text-decoration: none;
}

/* Nationwide Section */
.areas-nationwide {
  margin: 3rem 0;
}

.areas-nationwide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f8fafb 0%, #eef2f5 100%);
  border-radius: 1rem;
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .areas-nationwide-inner {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
  }
}

.areas-nationwide-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.areas-nationwide-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.areas-nationwide-content {
  flex: 1;
}

.areas-nationwide-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.areas-nationwide-content p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Forms */
label {
  display: block;
  font-weight: 600;
  margin: .25rem 0 .25rem;
}

input,
textarea,
select {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #cfe8ff;
  outline-offset: 1px;
  border-color: #b7d8ff;
}

button {
  font: inherit;
}

/* Contact form specific styles */
form.card {
  max-width: 100%;
}

form.card .grid.two {
  gap: 1rem;
  margin-bottom: 1rem;
}

form.card .grid.two>div {
  width: 100%;
}

form.card label {
  margin-top: 0.5rem;
}

form.card button {
  margin-top: 1rem;
}

/* Contact page hero - smaller version (only for pages without grid in hero) */
main#main>.hero:not(:has(.grid)) {
  padding: 3rem 0;
}

main#main>.hero:not(:has(.grid)) .container {
  min-height: auto;
  display: block;
}

main#main>.hero:not(:has(.grid)) h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

main#main>.hero:not(:has(.grid)) p {
  margin-bottom: 0;
}

/* Services page - add spacing between hero and first content section */
.page-services .content-section:first-of-type {
  margin-top: 3rem;
}

/* Services page - ensure consistent image sizing */
.page-services .content-image {
  height: 400px;
  overflow: hidden;
}

.page-services .content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}