/* --- CSS RESET & BASE TYPOGRAPHY --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F7FB;
  color: #1B2330;
}

body {
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  background-color: #F4F7FB;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #174E7C;
  text-decoration: none;
  transition: color .2s;
  font-family: inherit;
  cursor: pointer;
}
a:hover, a:focus {
  color: #247F5B;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #174E7C;
}
h1 {font-size: 2.5rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1.1rem; margin-bottom: 8px;}

p, ul li, ol li {
  font-size: 1rem;
  color: #1B2330;
  margin-bottom: 12px;
}

.subheadline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  color: #247F5B;
  margin-bottom: 24px;
  line-height: 1.45;
  font-weight: 600;
}


/* --- CONTAINERS & BASE LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(23,78,124,0.04);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #174E7C;
  color: #fff;
  width: 100%;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 170px;
  padding: 10px 0;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.main-nav a {
  color: #fff;
  padding: 8px 5px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  color: #F4F7FB;
  background: #247F5B;
}

.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 1.08rem;
  transition: background .2s, color .2s, box-shadow .2s, transform .12s;
  box-shadow: 0 3px 12px 0 rgba(23,78,124,0.07);
  margin-right: 8px;
  outline: none;
}
.btn-primary {
  background: #247F5B;
  color: #fff;
  letter-spacing: 0.02em;
  border: 2px solid #247F5B;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: #247F5B;
  border: 2px solid #247F5B;
  box-shadow: 0 2px 10px 0 rgba(36,127,91,0.12);
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: #174E7C;
  border: 2px solid #247F5B;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #247F5B;
  color: #fff;
  border: 2px solid #174E7C;
  box-shadow: 0 2px 10px 0 rgba(23,78,124,0.15);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 120;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  color: #F4F7FB;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,78,124,0.97);
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(.36,1.02,.36,1.0);
  padding: 32px 30px 30px 30px;
  overflow-y: auto;
  box-shadow: 0 0 0 4px rgba(23,78,124,0.08);
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  margin-bottom: 20px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244,247,251,0.11);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4F7FB;
  background: none;
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(90deg, #F4F7FB 70%, #247F5B 100%);
  padding: 70px 0 50px 0;
  border-bottom-left-radius: 90px 50px;
  border-bottom-right-radius: 90px 50px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: #174E7C;
  font-size: 2.4rem;
  text-shadow: 0 2px 24px #F4F7FB44;
}
.hero .subheadline {
  color: #247F5B;
}

/* --- FEATURES GRID & CARDS --- */
.feature-grid, .category-grid, .industry-grid, .fleet-types, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.feature, .category, .industry, .vehicle, .service-item {
  background: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(36,127,91,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow .2s, transform .18s;
  margin-bottom: 20px;
  position: relative;
}
.feature img, .category img, .industry img, .vehicle img, .service-item img {
  width: 40px; height: 40px;
  margin-bottom: 4px;
}
.feature:hover, .category:hover, .industry:hover, .vehicle:hover, .service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(36,127,91,0.11);
  transform: translateY(-4px) scale(1.025);
  z-index: 3;
}
.feature h3, .category h3, .industry h3, .vehicle h3, .service-item h3 {
  font-size: 1.13rem;
  color: #247F5B;
}

/* --- SPECIAL SECTION LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  padding: 32px 26px;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(36,127,91,0.06);
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0;
  justify-content: flex-start;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #f5fcf7;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(23,78,124,0.06);
  min-width: 240px;
  color: #185141;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #174E7C;
  font-size: 1.03rem;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 0.98rem;
  color: #247F5B;
  font-weight: 700;
}

.client-logos {
  display: flex;
  gap: 30px;
  margin-top: 14px;
  align-items: center;
}
.client-logos img {
  height: 42px;
  opacity: .8;
  transition: opacity .16s;
}
.client-logos img:hover {
  opacity: 1;
}

/* --- LISTS, TEAM, TIMELINE --- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 12px 0 rgba(23,78,124,0.06);
  padding: 28px 20px 26px 20px;
  min-width: 200px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .17s;
}
.team-member h3 {
  color: #247F5B;
}
.team-member blockquote {
  font-size: 1.01rem;
  font-style: italic;
  color: #174E7C;
  margin-top: 10px;
  border-left: 3px solid #247F5B;
  padding-left: 12px;
}
.team-member:hover {
  box-shadow: 0 6px 28px 0 rgba(36,127,91,0.12);
  transform: translateY(-3px) scale(1.02);
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.milestone {
  background: #F4F7FB;
  padding: 20px 18px;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 rgba(36,127,91,0.05);
  flex: 1 1 210px;
  margin-bottom: 20px;
}
.milestone h3 {
  color: #174E7C;
  font-size: 1.07rem;
}
.history-highlight {
  font-size: 1.04rem;
  color: #247F5B;
  background: #eafff2;
  border-left: 6px solid #247F5B;
  border-radius: 7px;
  padding: 13px 18px;
  margin-bottom: 18px;
}

/* --- NEWS/BLOG LAYOUTS --- */
.news-list, .blog-highlights, .case-studies {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 12px;
}
.news-article, .press-release, .article-summary, .case-snippet {
  background: #fff;
  padding: 19px 17px;
  border-radius: 9px;
  box-shadow: 0 1px 8px 0 rgba(36,127,91,0.05);
  transition: box-shadow .18s;
}
.news-article:hover, .press-release:hover, .article-summary:hover, .case-snippet:hover {
  box-shadow: 0 5px 16px 0 rgba(23,78,124,0.12);
}

.trending-topics, .client-outcomes, .team-values {
  margin-top: 22px;
  background: #247F5B;
  color: #fff;
  border-radius: 10px;
  padding: 16px 16px;
  font-size: 1.01rem;
}
.trending-topics ul, .client-outcomes ul, .team-values ul {
  color: #fff;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.contact-details > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  min-width: 220px;
}
.map-embed {
  max-width: 320px;
  font-size: .99rem;
}
.privacy-notice {
  background: #f4faf7;
  padding: 14px 13px;
  border-radius: 7px;
  color: #247F5B;
  font-size: 0.98rem;
}

/* --- FOOTER --- */
footer {
  background: #174E7C;
  color: #fff;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 16px 24px 16px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
}
.footer-brand p {
  color: #D0E3FF;
  font-size: 0.98rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #ebf7ff;
  font-size: .98rem;
  transition: color .16s;
}
.footer-nav a:hover { color: #22F2B2; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 280px;
}
.footer-contact p {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #C0E4D3;
}
.footer-contact a {
  color: #7EE4B7;
  text-decoration: underline;
}

footer img{
  max-width: 40px;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 5000;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 32px 0 rgba(36,127,91,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 24px 36px;
  font-size: 1rem;
  color: #247F5B;
  animation: slideUpBanner .5s cubic-bezier(.43,1.15,.44,1) forwards;
}
@keyframes slideUpBanner {
  0% { transform: translateY(70px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  margin-left: 10px;
  min-width: 130px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  margin-right: 0;
  font-size: 1rem;
  padding: 10px 24px;
}
.cookie-banner .btn-primary {
  background: #247F5B;
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: #F4F7FB;
  color: #247F5B;
  border: 2px solid #247F5B;
}
.cookie-banner .btn-settings {
  background: #fff5;
  color: #174E7C;
  border-radius: 32px;
  border: none;
  font-weight: 600;
  text-decoration: underline;
  padding: 10px 20px;
  margin-left: 10px;
  transition: background .15s;
}
.cookie-banner .btn-settings:hover {
  background: #E7F6EF;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; width: 100vw; height:100vh;
  background: rgba(23,78,124,0.53);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5010;
  animation: modalIn .23s cubic-bezier(.4, 1.7, .47, .93) forwards;
}
@keyframes modalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 44px 0 rgba(23,78,124,0.18);
  max-width: 390px;
  width: 98vw;
  padding: 32px 24px 24px 24px;
  position: relative;
  animation: modalPopIn .24s cubic-bezier(.43, 1.15, .36, 1.0) forwards;
}
@keyframes modalPopIn {
  0% { transform: scale(0.89); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #174E7C;
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F4F7FB;
  border-radius: 7px;
  padding: 9px 13px;
}
.cookie-category label { font-weight: 600; }
.cookie-category .toggle {
  width: 42px;
  height: 24px;
  background: #dde4ef;
  border-radius: 17px;
  position: relative;
  cursor: pointer;
  transition: background .16s;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 4px;
}
.cookie-category input[type="checkbox"] {
  display: none;
}
.cookie-category .slider {
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #174E7C;
  transition: left .18s, background .17s;
}
.cookie-category input[type="checkbox"]:checked + .slider {
  left: 21px;
  background: #247F5B;
}
.cookie-category.disabled {
  opacity: 0.61;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: #174E7C;
  font-size: 1.38rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 0.97rem;
  padding: 10px 16px;
  margin-right: 0;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .footer-contact, .footer-brand {
    max-width: 220px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 11px;
    font-size: 0.97rem;
  }
  .feature-grid, .category-grid, .industry-grid, .fleet-types, .service-list, .timeline, .team-list, .testimonial-slider, .card-container {
    gap: 19px;
  }
  .client-logos {
    gap: 19px;
  }
}

@media (max-width: 768px) {
  /* Use column layouts for flex containers */
  .container {
    max-width: 100vw;
    padding: 0 9px;
  }
  .hero {
    padding: 40px 0 24px 0;
    border-bottom-left-radius: 50px 22px;
    border-bottom-right-radius: 50px 22px;
  }
  .feature-grid, .category-grid, .industry-grid, .fleet-types, .service-list, .timeline, .team-list, .testimonial-slider, .card-container, .content-grid, .footer .container {
    flex-direction: column;
    gap: 18px;
  }
  
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }

  header .container {
    flex-direction: row;
    padding: 0 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact, .footer-brand {
    max-width: 100vw;
  }
  .testimonial-card {
    padding: 18px 13px;
    min-width: 160px;
    gap: 14px;
  }
}

@media (max-width: 500px) {
  .section, .card, .feature, .testimonials-card, .team-member, .news-article, .press-release, .article-summary {
    padding: 15px 7px !important;
    border-radius: 10px;
  }
  .container {
    padding: 0 3px;
  }
  .cookie-banner {
    left: 2vw; right: 2vw; padding: 12px 8px;
    flex-direction: column;
    gap: 18px;
  }
  .cookie-modal {
    border-radius: 15px;
    padding: 20px 7px 9px 9px;
    max-width: 98vw;
  }
}

/* --- ANIMATIONS & TRANSITIONS --- */
.btn-primary, .btn-secondary, .main-nav a, .mobile-menu-toggle, .feature, .testimonials-card, .category, .card {
  transition: background .19s, color .18s, box-shadow .14s, transform .13s;
}
.card:hover, .feature:hover, .testimonials-card:hover, .category:hover {
  box-shadow: 0 8px 32px 0 rgba(36,127,91,0.12);
  transform: translateY(-5px) scale(1.02);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 7px;
  background: #F4F7FB;
}
::-webkit-scrollbar-thumb {
  background: #e0edfb;
  border-radius: 20px;
}

/* --- MISC, FORMATTING, ETC. --- */
.text-section {
  margin-bottom: 19px;
}
blockquote {
  font-style: italic;
  color: #247F5B;
  border-left: 3px solid #247F5B;
  background: #f4fcf9;
  padding-left: 12px;
  margin-bottom: 10px;
}

/* --- HI-VIS, ENERGETIC EFFECTS --- */
.feature::before, .category::before, .team-member::before, .card::before, .service-item::before {
  content: "";
  display: none; /* Used for optional energetic highlight ribbons if desired */
}

/* --- ACCESSIBILITY: FOCUS --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #22F2B2;
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .btn-primary:hover, .btn-secondary:hover, .main-nav a:hover, .card:hover, .feature:hover {
    filter: brightness(1.03) saturate(1.18);
  }
}

/* --- BRAND COLORS UTILITIES --- */
.bg-primary { background: #174E7C !important; color: #fff !important; }
.bg-accent { background: #F4F7FB !important; }
.bg-secondary { background: #247F5B !important; color: #fff !important; }
.color-accent { color: #247F5B !important; }
.color-primary { color: #174E7C !important; }

/* --- UTILITIES & CLEARFIX --- */
.d-flex { display: flex !important; }
.d-col { flex-direction: column !important; }
.flex-center { justify-content: center; align-items: center; }
.gap-20 { gap: 20px !important; }


/* --- END CSS --- */
