/* CSS RESET & BASE STYLES */
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #17375E;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17375E;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #8595AD;
  outline: none;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #17375E;
  letter-spacing: -.5px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
blockquote {
  border-left: 3px solid #8595AD;
  padding-left: 16px;
  color: #8595AD;
  font-style: italic;
  margin-bottom: 20px;
}

/* Container and Sections */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-section {
  max-width: 720px;
}

/* Minimal Card and Flex Layout Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(23, 55, 94, 0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px rgba(23, 55, 94, 0.10);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F5F5F2;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(23,55,94,0.06);
  border: 1px solid #E2E4EA;
  color: #17375E;
  font-size: 1rem;
  max-width: 410px;
}
.testimonial-card .author {
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #8595AD;
  margin-top: 10px;
}

.features-grid, .service-boxes, .usp-grid, .services-list, .testimonial-slider, .testimonial-list, .customer-feedback-snippets, .project_descriptions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.features-grid .feature, .service-boxes .service-box, .usp-grid .usp, .services-list .service {
  background: #fff;
  border: 1px solid #E2E4EA;
  border-radius: 12px;
  padding: 28px 18px 20px 18px;
  flex: 1 1 300px;
  box-shadow: 0 2px 10px rgba(23,55,94,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .2s, border-color .2s;
}
.features-grid .feature:hover, .service-boxes .service-box:hover, .usp-grid .usp:hover, .services-list .service:hover {
  box-shadow: 0 4px 24px rgba(23,55,94,0.08);
  border-color: #8595AD;
}

/* Buttons & CTA */
.cta, a.cta, button.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.07rem;
  font-weight: 700;
  background: #17375E;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  margin-top: 10px;
  cursor: pointer;
  transition: box-shadow .18s, background .15s, color .15s;
  box-shadow: 0 1px 6px rgba(23, 55, 94, 0.09);
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #8595AD;
  color: #17375E;
  box-shadow: 0 4px 24px rgba(23,55,94,0.12);
  outline: none;
}

/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #E2E4EA;
  position: relative;
  z-index: 10;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 20px 16px 20px;
}
header img {
  height: 38px;
}
nav {
  display: flex;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #17375E;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color .15s, background .15s;
}
nav a:hover, nav a:focus {
  background-color: #F5F5F2;
  color: #8595AD;
}
header .cta {
  margin-top: 0;
  margin-left: 20px;
}

/* HERO */
.hero {
  min-height: 340px;
  background: #F5F5F2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 48px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
}
.hero h1 {
  color: #17375E;
}

/* Client Logos (index) */
.client-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 20px;
  justify-content: flex-start;
}
.client-logos img {
  height: 44px;
  opacity: 0.92;
  transition: opacity .18s;
}
.client-logos img:hover {
  opacity: 1;
}

/* Contact Info Inline */
.contact-info-mini, .contact-info-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 16px 0;
  color: #17375E;
  font-weight: 500;
}
.contact-info-mini img, .contact-info-snippet img {
  height: 20px;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #E2E4EA;
  margin-top: 80px;
  padding: 36px 0 18px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  gap: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  font-size: .98rem;
  color: #8595AD;
  transition: color .15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #17375E;
  text-decoration: underline;
}
.footer-contact {
  font-size: .97rem;
  color: #17375E;
  opacity: 0.96;
}

/* Card and USP Patterns */
.usp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 21px;
}
.usp {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E2E4EA;
  box-shadow: 0 2px 10px rgba(23,55,94,0.05);
  padding: 24px 16px 20px 16px;
  flex: 1 1 260px;
  transition: box-shadow .2s, border-color .2s;
}
.usp:hover {
  box-shadow: 0 6px 28px rgba(23,55,94,0.11);
  border-color: #8595AD;
}
.quality-promise {
  background: #F5F5F2;
  margin-top: 12px;
  padding: 18px 22px;
  border-radius: 9px;
  font-size: 1.01rem;
  color: #17375E;
}

.company_contact_data ul {
  list-style: none;
}
.company_contact_data li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.company_contact_data img {
  height: 20px;
}

.address, .opening-hours, .map-embed {
  margin-bottom: 14px;
}
.opening-hours, .map-embed {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Subtle Animation for Cards */
.card,
.features-grid .feature, .service-boxes .service-box, .usp-grid .usp, .services-list .service {
  transition: box-shadow .2s, transform .14s;
}
.card:hover,
.features-grid .feature:hover, .service-boxes .service-box:hover, .usp-grid .usp:hover, .services-list .service:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Process Steps and Other Lists */
.process_steps ol, .step_by_step_guide ol, .next-steps ul {
  list-style: decimal inside;
  padding-left: 0;
  margin-bottom: 18px;
}
.innovation_highlight, .technology-intro, .safeguards {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F5F2;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 22px 0 12px 0;
  color: #17375E;
  font-size: 1rem;
}
.innovation_highlight img, .technology-intro img, .safeguards img {
  height: 26px;
}

/* Thank You page */
.thankyou {
  min-height: 340px;
  background: #F5F5F2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 48px 0;
}
.thankyou .content-wrapper {
  align-items: flex-start;
}
.thankyou-message {
  font-size: 1.12rem;
  color: #17375E;
  margin-bottom: 24px;
}
.next-steps ul {
  margin-bottom: 14px;
}


/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 20px;
  background: #fff;
  color: #17375E;
  border: none;
  font-size: 2rem;
  z-index: 300;
  cursor: pointer;
  padding: 4px 7px 4px 7px;
  border-radius: 7px;
  transition: background .15s, color .15s;
  box-shadow: 0 2px 10px rgba(23,55,94,0.05);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5F5F2;
  color: #8595AD;
  outline: none;
}
.mobile-menu {
  transition: transform .32s cubic-bezier(0.4,0,0.2,1);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 900;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  box-shadow: -6px 0 28px rgba(23,55,94,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #17375E;
  cursor: pointer;
  align-self: flex-end;
  margin: 24px 22px 8px 4px;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8595AD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 30px 34px 0 34px;
}
.mobile-nav a {
  color: #17375E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 7px;
  transition: background .18s, color .16s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F5F2;
  color: #8595AD;
}

@media (max-width: 990px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    align-items: center;
  }
  nav {
    gap: 14px;
  }
  .client-logos {
    gap: 22px;
  }
}
@media (max-width: 860px) {
  nav,
  header .cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero { padding: 38px 0 28px 0; }
}
@media (max-width: 700px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 600px) {
  .content-wrapper, .card-container, .content-grid, .features-grid, .service-boxes, .usp-grid, .services-list, .testimonial-slider, .testimonial-list, .customer-feedback-snippets, .project_descriptions {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 14px;
  }
  .client-logos {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero {
    padding: 25px 0 20px 0;
    min-height: 190px;
  }
}
@media (max-width: 460px) {
  h1{font-size:1.55rem;}
  h2{font-size:1.18rem;}
  .company_contact_data img,
  .contact-info-mini img, .contact-info-snippet img {
    height: 16px;
  }
}

/* FLEX-DIRECTION COLUMN ON MOBILE FOR TEXT-IMAGE SECTIONS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
/* Ensure no cards/sections overlap, and all have min 20px spacing */
section, .section, .card, .testimonial-card, .content-wrapper > * {
  margin-bottom: 20px;
}
section:last-child, .section:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(23,55,94,0.11);
  border-top: 1px solid #E2E4EA;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  gap: 20px;
  min-height: 56px;
  opacity: 1;
  transition: transform .33s cubic-bezier(0.4,0,0.2,1), opacity .25s;
}
.cookie-banner.hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  font-size: 1.01rem;
  color: #17375E;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background .18s, color .13s, box-shadow .18s;
  font-size: 1rem;
  padding: 8px 20px;
  margin-right: 0;
}
.cookie-banner .cookie-btn.accept {
  background: #17375E;
  color: #fff;
  font-weight: 700;
}
.cookie-banner .cookie-btn.accept:hover,.cookie-banner .cookie-btn.accept:focus {
  background: #8595AD;
  color: #17375E;
}
.cookie-banner .cookie-btn.reject {
  background: #F5F5F2;
  color: #8595AD;
  border: 1px solid #E2E4EA;
}
.cookie-banner .cookie-btn.reject:hover,.cookie-banner .cookie-btn.reject:focus {
  background: #fff;
  color: #17375E;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #17375E;
  text-decoration: underline;
}
.cookie-banner .cookie-btn.settings:hover,.cookie-banner .cookie-btn.settings:focus {
  color: #8595AD;
  background: #F5F5F2;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 10px;
  }
  .cookie-banner .cookie-text {
    margin-bottom: 10px;
  }
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,55,94,0.28);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .26s;
}
.cookie-modal-overlay.hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(23,55,94,0.18);
  max-width: 410px;
  width: 95vw;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #17375E;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #8595AD;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 7px;
  background: #F5F5F2;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: .97rem;
  color: #17375E;
  flex: 1 1 auto;
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity:0;
  width:0;
  height:0;
}
.cookie-slider {
  position:absolute;
  cursor:pointer;
  top:0; left:0; right:0; bottom:0;
  background: #E2E4EA;
  border-radius: 22px;
  transition: background .17s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #17375E;
}
.cookie-slider:before {
  position:absolute;
  content:"";
  height: 16px;
  width: 16px;
  left:3px; bottom:3px;
  background: #fff;
  border-radius: 50%;
  transition:transform .17s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-category.disabled label {
  color:#bcc1cc;
  cursor: not-allowed;
}
.cookie-category.disabled .cookie-toggle .cookie-slider {
  background: #dadada !important;
}

.cookie-modal .cookie-actions {
  margin-top: 19px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Accessibility Focus Outline */
a:focus, button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cta:focus {
  outline: 2px solid #8595AD;
  outline-offset: 2px;
}

/* Misc elements padding/spacing */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:600px){
  .section, section {
    padding: 22px 6px;
    margin-bottom: 30px;
  }
}

/**** END ****/
