/* --------------------
   CSS RESET & BASELINE
----------------------*/
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 {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1B263B;
  background: #F9FAFB;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}

/* ----------
   TYPOGRAPHY
------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  color: #1B263B;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, ul, ol, li, span, a {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #232B3D;
}
p {
  margin-bottom: 18px;
  max-width: 800px;
}
ul, ol {
  margin-bottom: 18px;
  margin-left: 18px;
}
li {
  margin-bottom: 8px;
  line-height: 1.5;
}
strong {
  font-weight: 700;
  color: #1B263B;
}

/* -----------------  
   LINKS & BUTTONS
-------------------*/
a {
  color: #415A77;
  text-decoration: underline;
  transition: color 0.22s cubic-bezier(.47,.01,.55,1.0);
  cursor: pointer;
}
a:hover, a:focus {
  color: #F4D35E;
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  background: #415A77;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(65, 90, 119, 0.08);
  transition: background 0.19s cubic-bezier(.4,.12,.36,1.0), box-shadow 0.17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1B263B;
  color: #F4D35E;
  box-shadow: 0 6px 18px rgba(65, 90, 119, 0.13);
}

.btn-secondary {
  background: #F4D35E;
  color: #1B263B;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-family: 'Oswald', Arial, sans-serif;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1B263B;
  color: #F4D35E;
}

/* --------------------
   LAYOUT CONTAINERS  
----------------------*/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(27, 38, 59, 0.06);
}

/* ---------------
   HEADER & NAV
-----------------*/
header {
  background: #1B263B;
  padding: 0;
  box-shadow: 0 1px 7px rgba(27, 38, 59, 0.04);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
header nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 0;
  text-decoration: none;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #F4D35E;
}
header .btn-primary {
  margin-left: 24px;
  box-shadow: 0 3px 12px rgba(65, 90, 119, 0.18);
}
header img {
  height: 42px;
  width: auto;
  max-width: 160px;
}

/* -----------
   MOBILE NAV
-------------*/
.mobile-menu-toggle {
  display: none;
  background: #1B263B;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 18px 8px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #415A77;
  color: #F4D35E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B263B;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.29,.9,.36,1.12);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F4D35E;
  font-size: 2.1rem;
  border: none;
  margin: 20px 20px 0 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color:#fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(65,90,119,0.11);
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4D35E;
  background: rgba(244,211,94,0.09);
}

@media (max-width: 1050px) {
  header .container nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1051px) {
  .mobile-menu {
    display:none !important;
  }
}

/* --------------
   MAIN SECTIONS
----------------*/
main {
  margin-top: 0;
  min-height: 68vh;
}
section {
  margin-bottom: 60px;
  padding: 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Cards & Grids */
.feature-grid,
.tech-grid,
.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 12px;
}
.feature-grid > div,
.tech-grid > div {
  background: #F8FAFE;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(27,38,59,0.07);
  padding: 24px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 305px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.17s, background 0.22s;
}
.feature-grid > div:hover, .tech-grid > div:hover {
  box-shadow: 0 4px 22px rgba(33, 58, 119,0.15);
  background: #EDF1F8;
}
.feature-grid img, .tech-grid img, .icon-list img {
  width: 48px;
  height: 48px;
  margin-right: 0;
  margin-bottom: 4px;
}
.icon-list {
  gap: 28px;
}
.icon-list img {
  background: #EAF0FA;
  border-radius: 50%;
  padding: 7px;
  width: 45px;
  height: 45px;
  box-shadow: 0 1px 4px rgba(27,38,59,0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(65,90,119,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 3px 18px rgba(65,90,119,0.18);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.text-section {
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8FAFE;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(65,90,119,0.08);
  margin-bottom: 20px;
  flex: 1 1 320px;
  color: #1B263B;
  flex-direction: column;
  min-width: 260px;
  max-width: 520px;
  font-size: 1.05rem;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232B3D;
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-family: 'Oswald', Arial, sans-serif;
  color: #415A77;
  font-size: 1rem;
  letter-spacing: .5px;
}
.testimonial-card:not(:last-child) {
  margin-right: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.map-placeholder {
  width: 100%;
  min-height: 180px;
  background: #EAF0FA;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0 0;
  padding: 24px 0;
}

/* ------------------
   FOOTER STYLES
--------------------*/
footer {
  background: #1B263B;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 60px;
  font-size: 0.98rem;
  box-shadow: 0 -1px 8px rgba(27,38,59,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
footer nav a {
  color: #F4D35E;
  text-decoration: none;
  letter-spacing: .4px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 0;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer img {
  max-width: 54px;
  margin-bottom: 12px;
}
.contact-details p, .contact-details a, .contact-details img {
  color: #D9E3F2;
  font-size: .98rem;
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
}
.contact-details img {
  width: 18px;
  margin: 0 5px 0 0;
}

/* ---------------
   COOKIE BANNER
-----------------*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #232B3D;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  z-index: 1400;
  padding: 28px 18px 16px 18px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -1px 18px rgba(27,38,59,0.16);
  font-size: 1rem;
  transition: transform 0.26s cubic-bezier(.39,.83,.26,.96), opacity 0.19s;
}
.cookie-banner span {
  color: white !important;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  margin-left: 8px;
  margin-bottom: 10px;
  min-width: 130px;
}
.cookie-banner .btn-settings {
  background: #F4D35E;
  color: #232B3D;
  border: none;
  border-radius: 32px;
  padding: 10px 22px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  margin-left: 8px;
  margin-bottom: 10px;
  transition: background .14s, color .14s;
  cursor: pointer;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #415A77;
  color: #F4D35E;
}

/* --- Cookie Modal (Popup) --- */
.cookie-modal-overlay {
  z-index: 1600;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,38,59,0.49);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 6px 40px rgba(27,38,59,0.22);
  padding: 32px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #1B263B;
  position: relative;
  animation: pop-in .22s cubic-bezier(.18,.46,.48,1.22);
}
@keyframes pop-in {
  0% { transform: scale(.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #1B263B;
  margin-bottom: 24px;
  font-size: 1.35rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.cookie-modal label {
  font-weight: 500;
  color: #415A77;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #415A77;
  width: 20px;
  height: 20px;
}
.cookie-modal input[disabled] {
  accent-color: #aaa;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 26px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  font-size: 1.07rem;
  padding: 10px 22px;
}

.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  color: #415A77;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: color 0.11s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #F4D35E;
}

/* -------------
   RESPONSIVENESS
-------------- */
@media (max-width: 991px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-grid, .tech-grid, .card-container, .content-grid {
    gap: 14px;
  }
  header .container {
    padding: 12px 8px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .testimonial-card {
    min-width: 220px;
    max-width: 100%;
    font-size: 1.01rem;
    padding: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.02rem;
  }
  header .container {
    flex-direction: row;
    padding-left: 5px;
    padding-right: 5px;
  }
  .feature-grid, .tech-grid, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px !important;
  }
  .card-container {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
    font-size: .99rem;
  }
  .map-placeholder {
    min-height: 110px;
    padding: 12px 0;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding-left: 8px;
    padding-right: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .section {
    padding: 9px 1px;
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .testimonial-card, .card {
    border-radius: 7px;
    padding: 9px;
  }
  header img, footer img {
    max-width: 82vw;
    height: auto;
  }
  .cookie-modal {
    padding: 15px 3vw 12px 3vw;
  }
}

/* -------------
   MICROINTERACTIONS
-------------- */
.section, .card, .testimonial-card, .feature-grid > div, .tech-grid > div {
  transition: box-shadow .14s cubic-bezier(.35,.7,.28,1.23), background .17s;
}

/* Visually distinguishable focus */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #F4D35E;
  outline-offset: 2px;
}

/* --- Custom scrollbars for visual polish --- */
::-webkit-scrollbar {
  width: 10px;
  background: #EAF0FA;
}
::-webkit-scrollbar-thumb {
  background: #415A77;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1B263B;
}

/* ------ Forms ------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #D6DEED;
  background: #F8FAFE;
  font-size: 1rem;
  color: #232B3D;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.13s, background 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #415A77;
  background: #fff;
  outline: none;
}

/* --- Misc. utility classes --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 2px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }

/* -----------
   PRINT STYLES
-------------*/
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main, .section, section { box-shadow: none !important; }
}
