/* ===== 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #26324c;
  background: #F5F5F2;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #304C89;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #58A65C;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #304C89;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.subheadline {
  color: #526084;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

p, li, label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #26324c;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* ===== LAYOUT PATTERNS ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(60,76,137,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 14px rgba(35,49,85,0.10);
  padding: 24px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,49,85,0.16);
}
.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;
  background: #F5F5F2;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(40,60,120,0.06);
}
.testimonial-card p {
  color: #26324c;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(35,49,85,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 0;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #304C89;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #304C89;
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: #58A65C;
  color: #fff;
  cursor: pointer;
  gap: 6px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(80,150,120,0.08);
  transition: background 0.15s, box-shadow 0.2s, color 0.15s;
  margin-left: 24px;
}
.btn-primary {
  background: #304C89;
  color: #fff;
  border: 1px solid #304C89;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #58A65C;
  color: #fff;
  border-color: #58A65C;
}
.btn-secondary {
  background: #fff;
  color: #304C89;
  border: 1px solid #304C89;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #304C89;
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 36px 0;
  background: #e6ecf7;
  border-radius: 0 0 32px 32px;
  margin-bottom: 46px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  color: #304C89;
}

/* ===== FEATURES GRID ===== */
.features {
  background: #fff;
  border-radius: 32px;
  margin-bottom: 50px;
}
.features .content-wrapper,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  width: 100%;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-grid li {
  background: #F5F5F2;
  border-radius: 16px;
  padding: 32px 20px;
  flex: 1 1 240px;
  min-width: 215px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(60,76,137,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 24px rgba(60,76,137,0.12);
  transform: translateY(-4px);
}
.feature-grid img {
  width: 38px;
  height: 38px;
}

/* ===== CTA SECTION ===== */
.cta {
  background: #304C89;
  color: #fff;
  border-radius: 28px;
  margin-bottom: 40px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(60,76,137,0.10);
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  background: #58A65C;
  color: #fff;
  border: none;
}
.cta .btn-primary:hover,
.cta .btn-primary:focus {
  background: #fff;
  color: #304C89;
}

/* ===== TEXT/IMAGE AND TEXT BLOCKS ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #26324c;
  font-size: 1.07rem;
}
.text-section h3 {
  color: #304C89;
  margin-top: 20px;
}

ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  display: inline-block;
  background: #58A65C;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  top: 1px;
}
.text-section ul, .text-section ol {
  margin: 10px 0 18px 0;
  padding-left: 0;
}

/* ===== FOOTER ===== */
footer {
  background: #304C89;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(44,76,137,0.10);
  padding: 40px 0 0 0;
  border-radius: 32px 32px 0 0;
  font-size: 0.95rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 0 20px 20px 20px;
}
.footer-logo img {
  width: 50px;
  height: auto;
}
.footer-menu {
  display: flex;
  gap: 22px;
  flex-direction: column;
  margin-top: 10px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.9;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 5px;
  transition: color 0.15s, opacity 0.2s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #58A65C;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-contact div {
  display: flex;
  align-items: center;
  color: #d7e4fa;
  margin-bottom: 3px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #fff;
  color: #26324c;
  box-shadow: 0 2px 12px rgba(35,49,85,0.07);
  border-left: 6px solid #58A65C;
  margin-bottom: 20px;
  padding: 20px 28px;
  border-radius: 14px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(60,76,137,0.15);
}
.testimonial-card strong {
  color: #304C89;
  font-weight: 700;
}

/* ===== CONTACT DETAILS ===== */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.contact-map img {
  margin-top: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(44,76,137,0.06);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #304C89;
  font-size: 2rem;
  margin-left: 24px;
  cursor: pointer;
  z-index: 210;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #58A65C;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #304C89;
  z-index: 300;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.7,.3,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  box-shadow: -2px 0 24px rgba(44,76,137,0.16);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 26px 26px 12px 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 310;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #58A65C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 40px 32px 20px 42px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0;
  border-radius: 0;
  transition: color 0.16s, background 0.11s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #58A65C;
  background: rgba(240,255,240,0.06);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #26324c;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  box-shadow: 0 -4px 24px rgba(44,76,137,0.13);
  z-index: 400;
  font-size: 1rem;
  gap: 18px;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.7,.3,.3,1), opacity 0.2s, visibility 0s 0.4s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.cookie-banner-message {
  flex: 1 1 360px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner .btn {
  min-width: 120px;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 6px;
  margin: 0 2px;
}
.cookie-banner .btn-accept {
  background: #58A65C;
  color: #fff;
  border: none;
  font-weight: 700;
}
.cookie-banner .btn-accept:hover,
.cookie-banner .btn-accept:focus {
  background: #304C89;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #304C89;
  border: 1px solid #304C89;
  font-weight: 600;
}
.cookie-banner .btn-reject:hover,
.cookie-banner .btn-reject:focus {
  background: #304C89;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 600;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: #58A65C;
  color: #fff;
  border-color: #58A65C;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(46,64,120,0.54);
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  padding: 32px 26px 24px 26px;
  border-radius: 18px;
  min-width: 310px;
  max-width: 94vw;
  color: #26324c;
  box-shadow: 0 8px 38px rgba(44,76,137,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: #304C89;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px 0;
}
.cookie-modal label {
  font-weight: 500;
  color: #304C89;
}
.cookie-modal .switch {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6ecf7;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background: #58A65C;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal .btn {
  min-width: 95px;
}
.cookie-modal .cookie-desc {
  font-size: 0.98rem;
  color: #526084;
  margin-bottom: 7px;
}

/* ===== CARDS & LISTS & SECTIONING ===== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .content-grid, .footer .container {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid {
    justify-content: flex-start;
  }
  footer .container {
    gap: 0;
  }
}
@media (max-width: 768px) {
  body, html {
    font-size: 15px;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.10rem; }

  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li {
    min-width: 0;
    padding: 22px 12px;
  }
  .features {
    border-radius: 16px;
    padding: 26px 12px 18px 12px;
  }
  .cta {
    border-radius: 16px;
    padding: 24px 12px;
  }
  .section {
    padding: 24px 12px;
    margin-bottom: 32px;
  }
  .card {
    padding: 16px 10px;
    border-radius: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    border-radius: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-logo img {
    width: 38px;
  }
  .footer-contact {
    font-size: 0.94em;
    gap: 2px;
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    height: 66px;
    padding: 0 10px;
  }
  .main-nav, .btn.btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.93em;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 8px;
    font-size: 0.99em;
  }
}


/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
button, .btn, .main-nav a, .footer-menu a, .mobile-nav a {
  transition: background 0.2s, color 0.18s, box-shadow 0.13s, border 0.16s;
}
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s;
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 12px;
  background: #e6ecf7;
}
::-webkit-scrollbar-thumb {
  background: #c8cde7;
  border-radius: 8px;
}

/* ===== Z-INDEX LAYERS ===== */
header { z-index: 100; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 400; }
.cookie-modal-overlay { z-index: 410; }

/* === Hide elements for accessibility === */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== FOCUS RINGS ===== */
a:focus, button:focus, .btn:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid #58A65C;
  outline-offset: 2px;
}

/* ===== MISC ===== */
::-moz-selection {
  background: #304C89;
  color: #fff;
}
::selection {
  background: #304C89;
  color: #fff;
}

/* ===== END ===== */
