/* ===================== 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #1A2236;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #1A2236;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E19F3B;
  outline-offset: 2px;
}

/* ========================= BRAND TYPOGRAPHY =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A2236;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li, ul, ol, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232B42;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* Typography scale utility */
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }
.fs-48 { font-size: 48px; }


/* ======================== GENERAL CONTAINER & LAYOUTS ========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(30,38,56,0.07);
}
@media (max-width: 1020px) {
  .section {
    margin-bottom: 40px;
    padding: 25px 10px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ========================== FLEXBOX LAYOUTS ================================ */
.card-container, .feature-grid, .feature-list, .content-grid,
.card-grid, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F5F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(30,38,56,0.06);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(30,38,56,0.13);
  transform: translateY(-4px);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: #F5F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(30,38,56,0.06);
  padding: 22px 18px;
  flex: 1 1 250px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 20px 0 rgba(30,38,56,0.13);
  transform: translateY(-3px);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F7FA;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(30,38,56,0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 260px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(30,38,56,0.14);
  transform: translateY(-3px);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1A2236;
  margin-bottom: 0px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #5A637A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-left: 12px;
}

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

.text-section ul, .text-section ol {
  margin-bottom: 10px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  line-height: 1.7;
}

.map-placeholder {
  margin-top: 18px;
  background: #EAF0FB;
  border-radius: 9px;
  padding: 18px 22px;
}

/* ===================== HEADER & NAVIGATION ======================== */
header {
  background: #fff;
  border-bottom: 1px solid #E6E9F0;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 68px;
}
header img {
  height: 38px;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1A2236;
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.2s, color 0.17s;
}
nav a:hover, nav a:focus {
  background: #EAF0FB;
  color: #1A2236;
}
nav .btn-primary {
  background: #1A2236;
  color: #fff;
  padding: 9px 21px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
  box-shadow: 0 2px 6px 0 rgba(30,38,56,0.08);
  margin-left: 8px;
  display: inline-block;
}
nav .btn-primary:hover, nav .btn-primary:focus {
  background: #E19F3B;
  color: #1A2236;
}

/* ================== MOBILE MENU & BURGER =================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A2236;
  padding: 6px 10px;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 95;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #E19F3B;
}
/* Hamburger icon visible on mobile only */
@media (max-width: 990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 40px 0 rgba(30,38,56,0.28);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.55,0,0.33,1);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A2236;
  padding: 12px 18px 8px 20px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 205;
  margin-top: 16px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E19F3B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  padding: 32px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  color: #1A2236;
  padding: 13px 10px 11px 0px;
  border-radius: 5px;
  transition: background 0.2s, color 0.16s;
  border: none;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EAF0FB;
  color: #1A2236;
}

/* Block page scroll when menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* =================== BUTTONS AND CTAs ==================== */
.btn-primary, a.btn-primary {
  background: #1A2236;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 12px 27px;
  box-shadow: 0 2px 7px 0 rgba(30,38,56,0.09);
  display: inline-block;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.16s, transform 0.14s;
}
.btn-primary:hover, .btn-primary:focus,
a.btn-primary:hover, a.btn-primary:focus {
  background: #E19F3B;
  color: #1A2236;
  box-shadow: 0 4px 26px 0 rgba(30,38,56,0.17);
  transform: translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: #1A2236;
  border: 1.5px solid #1A2236;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 10px 23px;
  box-shadow: none;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.18s, color 0.13s, border 0.13s, transform 0.11s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EAF0FB;
  color: #1A2236;
  border-color: #E19F3B;
  transform: translateY(-1px);
}
.btn-tertiary {
  background: transparent;
  color: #1A2236;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 4px;
  cursor: pointer;
  transition: color 0.18s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  color: #E19F3B;
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.2px solid #C7CFDE;
  border-radius: 6px;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border 0.18s;
  color: #1A2236;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 1.5px solid #1A2236;
  outline: none;
}

/* ========================= FOOTER ========================== */
footer {
  background: #1A2236;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 60px;
  font-size: 1rem;
  box-shadow: 0 -2px 12px 0 rgba(30,38,56,0.09);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer img {
  height: 36px;
  margin-bottom: 12px;
}
footer nav {
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #EAF0FB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 2px 0;
  font-size: 0.99rem;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #E19F3B;
}
.footer-contact {
  font-size: 0.99rem;
  background-color: #C7CFDE;
  max-width: 270px;
  margin-top: 8px;
}
.footer-contact a {
  color: #E19F3B;
  font-family: 'Roboto', Arial, sans-serif;
  word-break: break-all;
}
.footer-contact img {
  height: 18px !important;
  width: 18px !important;
  margin-right: 4px;
  vertical-align: middle;
  display: inline;
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1A2236;
  color: #fff;
  box-shadow: 0 -2px 15px 0 rgba(30,38,56,0.13);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 20px 17px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  gap: 22px;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.56,0,0.34,1), opacity 0.30s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  flex: 1 1 280px;
  color: #fff;
  margin: 0;
}
.cookie-banner .cookie-btn {
  margin-left: 14px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-tertiary {
  font-size: 0.98rem;
  box-shadow: none;
}
.cookie-banner .btn-primary {
  background: #E19F3B;
  color: #1A2236;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: #fff;
  color: #1A2236;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #1A2236;
  border: none;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #EAF0FB;
  color: #1A2236;
}
.cookie-banner .btn-tertiary {
  color: #fff;
  border: none;
  text-decoration: underline;
}
.cookie-banner .btn-tertiary:hover, .cookie-banner .btn-tertiary:focus {
  color: #E19F3B;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 440px;
  background: #fff;
  color: #1A2236;
  border-radius: 14px;
  box-shadow: 0 6px 38px 0 rgba(30,38,56,0.23);
  z-index: 1200;
  padding: 32px 24px 24px 24px;
  transform: translate(-50%, 30%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.29s cubic-bezier(0.56,0,0.34,1), opacity 0.22s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-switch {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.99rem;
}
.cookie-modal .switch-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #E6E9F0;
  border-radius: 30px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .switch-toggle:checked {
  background: #E19F3B;
}
.cookie-modal .switch-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px 0 rgba(20,30,44,0.11);
  transition: left 0.18s;
}
.cookie-modal .switch-toggle:checked:before {
  left: 21px;
}
.cookie-modal .switch-label {
  min-width: 90px;
}
.cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 11px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 0.97rem;
}
.cookie-modal .btn-secondary {
  background: #EAF0FB;
  color: #1A2236;
}
.cookie-modal .btn-secondary:hover, .cookie-modal .btn-secondary:focus {
  background: #E19F3B;
  color: #1A2236;
}
.cookie-modal .btn-tertiary {
  color: #5A637A;
  text-decoration: underline;
  font-size: 0.98rem;
}
.cookie-modal .btn-tertiary:hover, .cookie-modal .btn-tertiary:focus {
  color: #E19F3B;
}
.cookie-modal .essential {
  color: #1A2236;
  font-weight: 600;
}

/* Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(31,34,54,0.43);
  z-index: 1195;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* ====================== RESPONSIVE DESIGN ====================== */
@media (max-width: 1020px) {
  .footer-contact {
    min-width: 170px;
    padding-bottom: 14px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .feature-grid, .content-grid, .card-container {
    gap: 18px;
  }
  .testimonial-card, .feature-grid > div, .card {
    min-width: 180px;
    flex: 1 1 180px;
  }
  .section {
    margin-bottom: 29px;
    padding: 17px 3vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.02rem; }
  .content-wrapper {gap: 12px;}
  .section {
    margin-bottom: 22px;
    padding: 13px 4vw;
    border-radius: 8px;
    box-shadow: 0 2px 7px 0 rgba(30,38,56,0.07);
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid > div, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
  }
  .footer-contact {
    font-size: 0.95rem;
    margin-left: 0;
    min-width: 100px;
    padding-bottom: 12px;
  }
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 580px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  header img, footer img {
    height: 28px !important;
  }
}

/* =================== UTILITIES & EFFECTS =================== */
.shadow-sm { box-shadow: 0 2px 6px 0 rgba(30,38,56,0.09); }
.shadow-md { box-shadow: 0 2px 12px 0 rgba(30,38,56,0.10); }
.rounded { border-radius: 8px; }
.mt-2 { margin-top: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mr-2 { margin-right: 16px !important; }
.align-center { text-align: center !important; }

/* ================= LABELS & EXTRAS ======================= */
label { font-family: 'Roboto', Arial, sans-serif; color: #232B42; font-size: 1rem; }

/* ==================== Z-INDEX LAYERS ===================== */
header { z-index: 40; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 999; }
.cookie-modal-overlay { z-index: 1195; }
.cookie-modal { z-index: 1200; }
footer { z-index: 20; }

/* Ensure all elements are non-overlapping */
.section, .card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
  box-sizing: border-box;
}

/* ================ END OF STYLE.CSS ================ */
