/* 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,
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #23304A;
  background: #F6F7FB;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #23304A;
  transition: color .2s;
}
a:hover, a:focus {
  color: #EFB111;
  outline: none;
}

strong {
  font-weight: bold;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -1px;
  color: #23304A;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #23304A;
  margin-bottom: 14px;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #23304A;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #23304A;
}
p, li, td, th {
  font-size: 1rem;
  color: #27324b;
}

.text-section ul,
.text-section ol {
  margin-bottom: 12px;
}
.text-section ul li,
.text-section ol li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
  color: #23304A;
}
.text-section ul li:before {
  content: '\2022';
  color: #EFB111;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}
.text-section ol {
  list-style: decimal inside;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 24px rgba(35,48,74,0.07);
}

@media (max-width: 768px) {
  section {
    padding: 32px 0 32px 0;
    margin-bottom: 40px;
    border-radius: 14px;
  }
}

/* FLEX UTILS & FORBIDDEN GRID FALLBACK */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 275px;
  min-width: 250px;
  max-width: 350px;
}
.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-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F7FB;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(35,48,74,0.09);
  margin-bottom: 24px;
  min-width: 260px;
  flex: 1 1 300px;
}
.feature-item,
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(35,48,74,0.08);
  border-radius: 14px;
  padding: 24px;
  min-width: 220px;
  flex: 1 1 220px;
}

@media (max-width: 900px) {
  .feature-grid,
  .icon-list {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .feature, .service-tile, .fleet-type {
    min-width: 0;
    width: 100%;
    max-width: unset;
  }
}

/* --- MAIN LAYOUT FLEX --- */
header .container, footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 12px 0 0 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 14px 0 0 0;
}

.content-grid {
  margin: 20px 0;
}

/* HERO + CTA BUTTONS */
.cta, .cta:visited {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #23304A 0%, #4768AD 100%);
  color: #fff !important;
  border: none;
  border-radius: 20px;
  padding: 13px 36px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .25s, box-shadow .2s, transform .15s;
  box-shadow: 0 2px 16px rgba(35,48,74,0.10);
  margin-top: 14px;
  margin-bottom: 8px;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #EFB111 0%, #FFD982 100%);
  color: #23304A !important;
  box-shadow: 0 6px 24px rgba(239,177,17,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* CARDS / TILES */
.service-tile, .fleet-type {
  background: #fff;
  box-shadow: 0 3px 18px rgba(35,48,74,0.09);
  border-radius: 14px;
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 15px;
  transition: box-shadow .2s, transform .15s;
}
.service-tile:hover, .fleet-type:hover {
  box-shadow: 0 8px 30px rgba(239,177,17,0.13);
  transform: translateY(-3px) scale(1.02);
}

.promotion-banner {
  margin-top: 24px;
  background: linear-gradient(90deg, #EFB111 0%, #FFD982 100%);
  color: #23304A;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  box-shadow: 0 4px 18px rgba(239,177,17,0.17);
  letter-spacing: 0.02em;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(35,48,74,0.05);
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #E9E9E9;
}
th {
  background: #23304A;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}
tr:last-child td {
  border-bottom: none;
}

/* BLOCKQUOTE STYLING (optionally for testimonials) */
blockquote {
  border-left: 5px solid #EFB111;
  padding: 10px 18px;
  background: #F9F6F0;
  border-radius: 8px;
  margin: 10px 0;
  color: #23304A;
  font-style: italic;
}

/* TESTIMONIALS SLIDER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: transparent;
  margin-top: 18px;
}
.testimonial-card {
  background: #fff;
  color: #23304A;
  min-width: 250px;
  max-width: 350px;
  box-shadow: 0 6px 22px rgba(35,48,74,0.09);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .13s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(35,48,74,.13);
  transform: scale(1.015);
}
.testimonial-card p {
  color: #23304A;
  font-size: 1.08rem;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card strong {
  color: #23304A;
  font-weight: 600;
  letter-spacing: .01em;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #23304A 0%, #4768AD 100%);
  color: #fff;
  padding: 28px 0 10px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 10px rgba(35,48,74,0.08);
}
footer nav a {
  color: #fff;
  opacity: .86;
  font-size: 1rem;
  margin-right: 22px;
  transition: opacity .18s;
}
footer p{
  color: #fff;
}
footer nav a:last-child {
  margin-right: 0;
}
footer nav a:hover {
  opacity: 1;
  color: #EFB111;
}
footer .text-section {
  color: #fff;
  opacity: .82;
  font-size: .97rem;
  margin-top: 6px;
}
footer .text-section a {
  color: #EFB111;
  font-weight: 500;
  opacity: .95;
}

/* ---- HEADER + MOBILE NAVIGATION ---- */
header {
  background: linear-gradient(90deg, #23304A 0%, #4768AD 100%);
  padding: 20px 0 16px 0;
  box-shadow: 0 4px 24px rgba(35,48,74,0.09);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 0;
}
header img {
  max-height: 46px;
  width: auto;
}
header nav {
  flex-direction: row;
  gap: 22px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color .18s;
  padding: 6px 0;
  border-radius: 4px;
}
header nav a.cta {
  background: #EFB111;
  color: #23304A !important;
  padding: 10px 28px;
  border-radius: 18px;
  margin-left: 18px;
  font-weight: 700;
  font-size: 1.03rem;
  transition: background .18s, color .18s;
}
header nav a.cta:hover {
  background: #fff;
  color: #23304A !important;
}

.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1020px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    background: #EFB111;
    color: #23304A;
    border: none;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    margin-left: 18px;
    z-index: 1003;
    transition: background .23s, color .23s, box-shadow .15s;
    box-shadow: 0 2px 10px rgba(35,48,74,0.14);
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #FFC014;
    color: #23304A;
    box-shadow: 0 6px 18px rgba(239,177,17,0.21);
  }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(35,48,74,0.95);
  z-index: 1001;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.77,.2,.05,1.0);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 30px 0 0;
  align-self: flex-end;
  background: #EFB111;
  color: #23304A;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  z-index: 1002;
  transition: background .17s, color .17s;
  box-shadow: 0 2px 10px rgba(239,177,17,0.14);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #23304A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: center;
  gap: 18px;
  margin-top: 50px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 18px 0;
  border-radius: 7px;
  width: 80%;
  text-align: center;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover {
  background: #EFB111;
  color: #23304A !important;
}
.mobile-nav a.cta {
  background: #EFB111;
  color: #23304A !important;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 12px;
}

@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 0 12px 0;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }
  header img {
    max-height: 38px;
  }
}

/* --- RESPONSIVE FLEX --*/
@media (max-width: 900px) {
  .content-wrapper, .container {
    flex-direction: column !important;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}

/* --- CARDS & FEATURE ELEMENTS ---*/
.feature img, .service-tile img, .fleet-type img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

/* CATEGORY TABS (FAQ) */
.category-tabs {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 18px;
}
.category-tabs button {
  background: #F6F7FB;
  color: #23304A;
  border: 2px solid #E9E9E9;
  border-radius: 35px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 23px;
  cursor: pointer;
  transition: background .13s, border .13s, color .13s;
}
.category-tabs button:hover,
.category-tabs button:focus {
  background: #EFB111;
  border-color: #EFB111;
  color: #23304A;
}

/* UTIL CLASSES FOR FLEXBOX     */
.d-flex      { display: flex; }
.flex-row    { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* FORM FIELDS (optionally for contact forms) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #23304A;
  background: #F6F7FB;
  border: 1.5px solid #D8DDE6;
  border-radius: 7px;
  padding: 13px 14px;
  margin-bottom: 14px;
  transition: border .13s;
  box-shadow: none;
}
input:focus, textarea:focus {
  border: 1.5px solid #EFB111;
  outline: 0;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* ------------ COOKIE CONSENT BANNER ------------ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #23304A 0%, #4768AD 100%);
  color: #fff;
  box-shadow: 0 -2px 18px rgba(35,48,74,0.13);
  z-index: 1200;
  padding: 22px 12px 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  animation: fadeInBanner .45s cubic-bezier(.77,.2,.05,1.0);
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 4px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-consent-banner button {
  padding: 11px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .16s;
  box-shadow: 0 2px 10px rgba(239,177,17,0.10);
}
.btn-accept-cookies {
  background: #EFB111;
  color: #23304A;
}
.btn-accept-cookies:hover, .btn-accept-cookies:focus {
  background: #ffc735;
  color: #23304A;
}
.btn-reject-cookies {
  background: #fff;
  color: #23304A;
  border: 1.8px solid #EFB111;
}
.btn-reject-cookies:hover, .btn-reject-cookies:focus {
  background: #F6F7FB;
  color: #23304A;
}
.btn-cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.8px solid #fff;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #EFB111;
  color: #23304A;
  border-color: #EFB111;
}
@keyframes fadeInBanner { 0% { opacity: 0; transform: translateY(100px);} 100% {opacity:1; transform: translateY(0);} }

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,48,74,0.92);
  display: none;
  z-index: 1300;
  align-items: center;
  justify-content: center;
  animation: fadeInBanner .5s cubic-bezier(.77,.2,.05,1.0);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #23304A;
  border-radius: 16px;
  max-width: 394px;
  width: 90%;
  padding: 36px 22px 28px 22px;
  box-shadow: 0 14px 56px rgba(35,48,74,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal-content h2 {
  color: #23304A;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 18px 0;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #EFB111;
  width: 20px;
  height: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #EFB111;
  color: #23304A;
  border: none;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-category {
  margin-bottom: 8px;
  padding: 9px 0 7px 0;
  border-bottom: 1px solid #DFE3EB;
}

/* COOKIE CATEGORY SPECIFIC */
.cookie-modal-content .category-essential {
  font-weight: 600;
  color: #23304A;
}
.cookie-modal-content .category-essential input[type="checkbox"] {
  cursor: not-allowed;
  pointer-events: none;
}

.cookie-modal-content .cookie-modal-buttons {
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
}
.cookie-modal-content .cookie-modal-buttons button {
  border-radius: 8px;
  padding: 10px 20px;
  background: #EFB111;
  color: #23304A;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 6px rgba(239,177,17,0.08);
  transition: background .18s;
}
.cookie-modal-content .cookie-modal-buttons button:hover {
  background: #ffc735;
  color: #23304A;
}

/* --- MISC STYLES --- */
::-webkit-scrollbar { width: 9px; background: #f6f7fb; }
::-webkit-scrollbar-thumb {
  background: #EFB11177;
  border-radius: 6px;
}

::-webkit-input-placeholder { color: #a0a8bb; }
::-moz-placeholder { color: #a0a8bb; }
:-ms-input-placeholder { color: #a0a8bb; }
::placeholder { color: #a0a8bb; }

@media (max-width: 670px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .promotion-banner {
    font-size: 1rem;
    padding: 10px 10px;
  }
  .testimonial-card {
    padding: 16px 13px;
  }
  .cookie-modal-content {
    padding: 24px 6px 18px 6px;
  }
}

/* ---- TRANSITION EFFECTS ---- */
a, button, .cta, .service-tile, .fleet-type, .feature, .testimonial-card, .category-tabs button, .mobile-menu-toggle, .mobile-menu-close {
  transition: all .17s cubic-bezier(.69,0,.18,1.09);
}

/* ---- GRADIENTS & MODERN FEEL -- */
section {
  background: linear-gradient(130deg, #fff 68%, #F6F7FB 100%);
}

@media (max-width: 540px) {
  h1 { font-size: 1.6rem;}
  h2 { font-size: 1.15rem;}
  .cta { padding: 11px 16px; font-size: 1rem;}
}

/* ----------- Z-INDEX CHECK ----------- */
header, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  z-index: 1001;
}
.cookie-consent-banner, .cookie-modal {
  z-index: 1200;
}

/* ----------- OVERLAY PREVENTS INTERACTION ----------- */
body.mobile-menu-open {
  overflow: hidden;
}

body { background: #F6F7FB; }
