/* --- CSS RESET & NORMALIZE --- */
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 {
  line-height: 1.5;
  background: #F7F9FB;
  color: #1F2937;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #134A7C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FBC02D;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 22px;
}
li {
  margin-bottom: 10px;
}
img {
  max-width: 100%;
  display: block;
}

/* --- TYPOGRAPHY (BRAND FONTS) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: #F7F9FB;
  color: #1F2937;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #134A7C;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #194A6A;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #194A6A;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 600;
  color: #134A7C;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  max-width: 720px;
}

/* --- SECTION SPACING & ALIGNMENT --- */
section {
  width: 100%;
  background: none;
  border: none;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- FLEXBOX GRIDS & MANDATORY PATTERNS --- */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 2px 16px rgba(26, 56, 104, 0.11);
  margin-bottom: 20px;
  min-height: 60px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0px 8px 32px rgba(26, 56, 104, 0.16);
  transform: translateY(-2px) scale(1.011);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 12px rgba(26, 56, 104, 0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0px 8px 32px rgba(26, 56, 104, 0.15);
  transform: translateY(-3px) scale(1.017);
}

/* --- NAVIGATION HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0px 2px 8px rgba(26, 56, 104, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 18px;
}
header img {
  height: 44px;
  margin-right: 30px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.045rem;
  font-weight: 500;
}
header nav a {
  color: #134A7C;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #FBC02D;
  border-bottom: 2px solid #FBC02D;
}
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(26,56,104,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, transform 0.16s;
  margin-left: 12px;
  text-align: center;
}
.btn-primary {
  background: #134A7C;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #194A6A;
  color: #fff;
  box-shadow: 0 8px 24px rgba(26,56,104,0.11);
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  background: #EDEDED;
  color: #134A7C;
  border: 1.5px solid #134A7C;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #134A7C;
  color: #fff;
  border-color: #134A7C;
  box-shadow: 0 8px 18px rgba(26,56,104,0.13);
  transform: translateY(-1px) scale(1.028);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #134A7C;
  cursor: pointer;
  padding: 4px 14px;
  margin-left: 10px;
  display: none;
  z-index: 120;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 350px;
  background: #fff;
  box-shadow: -8px 0 28px rgba(26,56,104,0.18);
  z-index: 2000;
  transform: translateX(102%);
  transition: transform 0.34s cubic-bezier(.45,1.25,.27,1);
  padding: 28px 30px 32px 30px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: -8px 0 56px rgba(26,56,104,0.23);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #123459;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  color: #134A7C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: 4px;
  transition: background 0.19s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EDF4FA;
  color: #FBC02D;
}

/* Show/hide nav on mobile */
@media (max-width: 1080px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1081px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN HERO/INTRO SECTIONS --- */
section .btn-primary,
section .btn-secondary {
  margin-top: 12px;
}

/* --- FEATURE CARDS & SERVICES --- */
.feature-grid > div,
.service-cards > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(26,56,104,0.09);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
  border-left: 5px solid #134A7C;
}
.feature-grid > div:hover,
.service-cards > div:hover,
.feature-grid > div:focus-within,
.service-cards > div:focus-within {
  box-shadow: 0px 8px 28px rgba(26,56,104,0.16);
  transform: translateY(-2px) scale(1.016);
  border-left: 5px solid #FBC02D;
}
.feature-grid img,
.service-cards img {
  height: 36px;
  width: 36px;
  margin-bottom: 8px;
  align-self: flex-start;
}

/* --- ULTRA STRUCTURED SPACING --- */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container { gap: 24px !important; }
.card { margin-bottom: 20px !important; }
.content-grid { gap: 20px !important; }
.text-image-section { gap: 30px !important; }
.testimonial-card { gap: 20px !important; padding: 20px !important; }
.feature-item { gap: 15px !important; }

/* --- TESTIMONIALS --- */
.testimonial-card p {
  font-size: 1.1rem;
  color: #202C3B;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.99rem;
  font-weight: 500;
  color: #134A7C;
  margin-left: 15px;
}

/* --- FOOTER --- */
footer {
  background: #134A7C;
  color: #fff;
  width: 100%;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 20px 22px 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #F3F7F9;
  font-size: 1rem;
  transition: color 0.22s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #FBC02D;
}
footer span {
  font-size: 0.98rem;
  color: #D6E2ED;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #123459;
  box-shadow: 0 -2px 16px rgba(26,56,104,0.18);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .34s cubic-bezier(.45,1.25,.27,1), opacity .18s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__message {
  font-size: 1rem;
  max-width: 630px;
  line-height: 1.6;
  color: #1f2937;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner__btn {
  padding: 8px 19px;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.16s;
}
.cookie-banner__btn.accept {
  background: #134A7C;
  color: #fff;
}
.cookie-banner__btn.accept:hover, .cookie-banner__btn.accept:focus {
  background: #194A6A;
}
.cookie-banner__btn.reject {
  background: #EDEDED;
  color: #134A7C;
}
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus {
  background: #D2DCE6;
}
.cookie-banner__btn.settings {
  background: transparent;
  color: #134A7C;
  border: 1.2px solid #134A7C;
}
.cookie-banner__btn.settings:hover, .cookie-banner__btn.settings:focus {
  background: #134A7C;
  color: #fff;
}

/* --- COOKIE MODAL (PREFERENCES) --- */
.cookie-modal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 470px;
  background: #fff;
  z-index: 3500;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(26,56,104,0.17);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  padding: 38px 32px 30px 32px;
  transition: opacity 0.22s, transform 0.26s cubic-bezier(.2,.85,.28,1.1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.0);
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.45rem;
  color: #134A7C;
  cursor: pointer;
}
.cookie-modal h3 {
  margin-bottom: 16px;
  font-size: 1.22rem;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #134A7C;
  width: 19px;
  height: 19px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category .cookie-required {
  font-size: 0.98rem;
  color: #616161;
  margin-left: 2px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}

/* --- FORMS & INPUTS (Contact, Newsletter) --- */
input, textarea, select {
  border-radius: 4px;
  border: 1px solid #BCD1E1;
  background: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #134A7C;
  padding: 10px 15px;
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.18s;
  box-shadow: 0 1px 3px rgba(26,56,104,0.06);
}
input:focus, textarea:focus, select:focus {
  border-color: #134A7C;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- MISC & UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pb-0 { padding-bottom: 0 !important; }
.text-center { text-align: center !important; }

/* --- MEDIA QUERIES: RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid > div,
  .service-cards > div {
    min-width: 180px;
    padding: 22px 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards {
    gap: 16px;
  }
  header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .feature-grid, .service-cards, .content-grid {
    flex-direction: column;
    gap: 12px !important;
  }
  .feature-grid > div, .service-cards > div {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px !important;
  }
 header img { height: 36px; margin-right: 0; }
  section { padding: 34px 0 34px 0; }
  .card {
    padding: 22px 10px;
  }
  footer .container {
    padding: 22px 8px 14px 8px;
  }
  footer nav { gap: 14px; font-size: 0.97rem; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.05rem; }
  section {
    padding: 22px 0 22px 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 7px;
    gap: 18px;
  }
  .cookie-modal {
    padding: 23px 9px 17px 9px;
    min-width: unset;
    max-width: 96vw;
  }
}

/* --- MICROINTERACTIONS & ANIMATIONS --- */
.btn-primary, .btn-secondary, .cookie-banner__btn, .cookie-modal__close, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.18s;
}

/* --- OVERRIDE: Remove grid/columns if any browser default --- */
[class*="grid"], [class*="column"] {
  column-count: unset !important;
  column-gap: unset !important;
  columns: unset !important;
}

/* --- ACCESSIBILITY: Focus outlines --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-banner__btn:focus, .cookie-modal__close:focus {
  outline: 2.5px solid #FBC02D;
  outline-offset: 2px;
}

/* --- Hide scrollbars on mobile menu (optional enhancement) --- */
.mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: #134A7C #EDEDED;
}
.mobile-menu::-webkit-scrollbar {
  width: 7px;
  background: #EDEDED;
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: #134A7C;
  border-radius: 3.5px;
}

/* --- END OF STYLE --- */
