/* === 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;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #1A365D;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
html {
  font-size: 100%;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1A365D;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:focus, a:hover {
  color: #4FBC88;
  outline: none;
}
ul, ol {
  margin-left: 32px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid #F0F3F6;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #F0F3F6;
  color: #1A365D;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  border-left: 4px solid #4FBC88;
  margin: 24px 0 24px 0;
  padding: 12px 24px;
  color: #1A365D;
  background: #F0F3F6;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
}

/* === BRAND FONTS === */
h1, h2, h3, h4, h5, h6, .brand-display {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A365D;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.16;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.22;
  font-weight: 600;
}
h4, h5, h6 {
  margin-bottom: 10px;
  font-weight: 600;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #283A53;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* === HEADER + NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(26,54,93,0.03);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A365D;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #F0F3F6;
  color: #4FBC88;
}
header .btn-primary {
  margin-left: 18px;
}

/* HIDE MOBILE MENU TOGGLE ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(26,54,93,0.92);
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(.55,0,.1,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  margin: 22px 28px 12px 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #4FBC88;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 18px 38px;
  border-radius: 10px;
  transition: background 0.24s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4FBC88;
  color: #183253;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #1A365D;
  cursor: pointer;
  margin-left: 12px;
  padding: 2px 8px;
  line-height: 1;
  z-index: 70;
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav {
    gap: 13px;
  }
  header .btn-primary {
    margin-left: 6px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
  header .container {
    gap: 4px;
  }
}
@media (max-width: 768px) {
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding-bottom: 0;
  }
}

/* === BUTTON STYLES === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  background: #1A365D;
  color: #fff !important;
  border: none;
  border-radius: 9px;
  padding: 0.80em 2.2em;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(26,54,93,0.07);
  transition: background 0.18s, color 0.14s, box-shadow 0.18s, transform 0.14s;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #4FBC88;
  color: #1A365D !important;
  box-shadow: 0 4px 28px 0 rgba(79,188,136,0.11);
  transform: translateY(-1px) scale(1.025);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4FBC88;
  color: #1A365D !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  border: none;
  border-radius: 8px;
  padding: 0.75em 1.95em;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(79,188,136,0.09);
  transition: background 0.13s, color 0.13s, box-shadow 0.15s, transform 0.14s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1A365D;
  color: #fff !important;
  box-shadow: 0 3px 18px rgba(26,54,93,0.12);
  transform: translateY(-1px) scale(1.025);
}

.btn-outline {
  background: transparent;
  color: #1A365D !important;
  border: 1.5px solid #1A365D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.7em 1.75em;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border 0.17s;
}
.btn-outline:hover, .btn-outline:focus {
  background: #F0F3F6;
  color: #1A365D !important;
  border: 1.5px solid #4FBC88;
}

/* === SECTION AND SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(26,54,93,0.04);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.16s;
}
section:last-of-type {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  section {
    padding: 30px 8px;
    border-radius: 0;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.45;
}
ul li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 7px;
  background: #F0F3F6;
  padding: 3px;
  margin-right: 7px;
}

/* === FLEXBOX PATTERNS === */
/* CRITICAL: All layout containers use flex, no grid/columns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(42,58,80,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(79,188,136,0.10);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 22px;
  background: #F0F3F6;
  border-radius: 15px;
  box-shadow: 0 2px 13px 0 rgba(26,26,50,0.08);
  color: #1A365D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-width: 0;
}
.testimonial-card p {
  font-size: 17px;
  color: #1A365D;
}
.testimonial-card span {
  font-size: 14px;
  color: #4FBC88;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.star-rating {
  font-size: 20px;
  color: #FFD700;
  letter-spacing: 2px;
  margin-top: 2px;
}
@media (min-width: 600px) {
  .testimonial-card {
    max-width: 500px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === BADGES === */
.badge {
  background: #4FBC88;
  color: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 12px;
  margin-left: 7px;
  font-weight: 600;
  letter-spacing: 0.025em;
  vertical-align: middle;
  display: inline-block;
}
.badge-new {
  background: #1A365D;
  color: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 12px;
  margin-left: 7px;
  font-weight: 600;
  letter-spacing: 0.025em;
  vertical-align: middle;
}

/* === FOOTER === */
footer {
  background: #F0F3F6;
  box-shadow: 0 -2px 18px 0 rgba(26,54,93,0.04);
  padding: 38px 0 28px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A365D;
  opacity: 0.84;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #4FBC88;
  opacity: 1;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: #1A365D;
}
.contact-details img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.86;
}

/* === MAP PLACEHOLDER === */
.map-placeholder {
  background: #F0F3F6;
  color: #afafaf;
  font-size: 15px;
  border-radius: 9px;
  padding: 18px 14px;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* === RESPONSIVE & MOBILE FIRST === */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .footer-nav {
    flex-direction: row;
    gap: 24px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding-left: 3vw; padding-right: 3vw; }
  section { padding: 20px 0 22px 0; margin-bottom: 40px; box-shadow: none; border-radius: 0; }
  .testimonial-card { padding: 16px; }
  .card { padding: 14px 10px; }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-container { gap: 18px; }
  .content-grid { gap: 12px; }
}

/* === COOKIES BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #1A365D;
  box-shadow: 0 -4px 20px rgba(26,54,93,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 20px 12px;
  font-size: 16px;
  transition: transform 0.33s cubic-bezier(.5,0,.2,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: 16px;
}
.cookie-banner button,
.cookie-banner .btn-primary,
.cookie-banner .btn-outline {
  font-size: 14px;
  padding: 7px 20px;
  margin: 0 1px;
  border-radius: 8px;
  min-width: 0;
  white-space: nowrap;
}
.cookie-banner .btn-primary {
  background: #4FBC88;
  color: #fff;
  border: none;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: #1A365D;
  color: #fff;
}
.cookie-banner .btn-outline {
  background: #fff;
  color: #1A365D;
  border: 1.5px solid #1A365D;
}
.cookie-banner .btn-outline:hover, .cookie-banner .btn-outline:focus {
  background: #F0F3F6;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 4vw;
    font-size: 14px;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
    margin-left: 0;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(26,54,93,0.28);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  animation: fadeinModal 0.17s cubic-bezier(.4,0,.4,1);
  padding: 26px;
}
@keyframes fadeinModal {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1A365D;
  border-radius: 16px;
  max-width: 95vw;
  width: 350px;
  box-shadow: 0 12px 55px 0 rgba(26,54,93,0.19);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalgrow 0.22s cubic-bezier(.42,0,.2,1);
}
@keyframes modalgrow {
  from { transform: scale(0.92); opacity:0; }
  to   { transform: scale(1);   opacity:1; }
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
  color: #1A365D;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #F0F3F6;
  font-size: 15px;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category input[type="checkbox"] {
  accent-color: #4FBC88;
  width: 20px; height: 20px;
  vertical-align: middle;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1A365D;
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #4FBC88;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal-actions .btn-primary,
.cookie-modal-actions .btn-outline {
  font-size: 15px;
  border-radius: 8px;
  padding: 7px 22px;
}

/* === MICRO-INTERACTIONS === */
section, .card, .btn-primary, .btn-secondary, .testimonial-card {
  transition-property: box-shadow, transform, background, color;
  transition-duration: 0.14s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(26,54,93,0.10);
}

/* === VISUAL HIERARCHY & SPACING === */
.card:not(:last-child),
.testimonial-card:not(:last-child),
section:not(:last-child),
.content-wrapper > *:not(:last-child),
.text-section > *:not(:last-child) {
  margin-bottom: 20px !important;
}
.card-container > *:not(:last-child),
.content-grid > *:not(:last-child),
.text-image-section > *:not(:last-child),
.feature-item > *:not(:last-child) {
  margin-bottom: 0;
}

/* === TABLE STYLE (Minimalist) === */
table {
  background: #fff;
  box-shadow: 0 2px 16px rgba(26,54,93,0.04);
  border-radius: 14px;
  overflow: hidden;
}
tr { transition: background 0.12s; }
tr:hover td {
  background: #F0F3F6;
}

/* === END OF CSS === */
