/* 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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F3F6FC;
  color: #243457;
  line-height: 1.5;
  min-height: 100vh;
}
img, picture, video, canvas, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 8px; text-align: left; }

/* BASE TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #243457;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p, li, blockquote { font-size: 1rem; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  color: #243457;
  background: #F3F6FC;
  border-left: 4px solid #45A36B;
  padding: 14px 22px;
  margin-bottom: 10px;
}

/* GLOBAL CONTAINERS & SECTION SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* FLEXBOX LAYOUT CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36,52,87, 0.08);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  flex: 1 1 320px;
}
.card:last-child { margin-bottom: 0; }
.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;
  background: #fff;
  color: #243457;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36,52,87, 0.10);
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ADDITIONAL LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(36,52,87, 0.08);
  padding: 30px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 200px;
  max-width: 280px;
}
.guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.guide-list > div {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 7px rgba(36,52,87, 0.07);
  padding: 22px 16px 16px 18px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-cards > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(36,52,87,.08);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 200px;
  max-width: 310px;
}
.text-section {
  margin-bottom: 16px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(36,52,87, 0.04);
  padding: 0;
}
.header-branding {
  display: flex;
  align-items: center;
  padding: 18px 0;
}
.header-branding img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #243457;
  font-weight: 500;
  opacity: 0.96;
  padding: 4px 0;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active:not(.btn-primary) {
  color: #45A36B;
  background: #F3F6FC;
}
.btn-primary {
  background: #243457;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(36,52,87, 0.12);
  transition: background 0.22s, box-shadow 0.18s, color 0.22s;
  cursor: pointer;
  margin-left: 6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #45A36B;
  color: #fff;
  box-shadow: 0 4px 16px rgba(36,52,87, 0.13);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243457;
  cursor: pointer;
  margin-left: 18px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.16s;
  z-index: 1100;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F3F6FC;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,52,87, 0.92);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.7,.07,.29,1), opacity 0.34s;
  opacity: 0;
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  background: #fff;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  box-shadow: -2px 0 14px rgba(36,52,87, 0.09);
  padding: 40px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  z-index: 5100;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #243457;
  font-weight: 600;
  padding: 13px 0 11px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover {
  background: #F3F6FC;
  color: #45A36B;
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 22px;
  border: none;
  background: transparent;
  color: #243457;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 5200;
  padding: 5px 10px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3F6FC;
}

/* FOOTER */
footer {
  background: #243457;
  color: #fff;
  padding: 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 32px 18px 14px 18px;
}
.footer-branding {
  flex: 0 0 auto;
}
.footer-branding img {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.88;
  transition: color 0.2s;
  font-size: 1rem;
}
.footer-nav a:hover { color: #45A36B; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.contact-info a {
  color: #F3F6FC;
  word-break: break-all;
}
.contact-info a:hover { color: #45A36B;}
.footer-legal { margin-top: 14px; opacity: 0.6; font-size: 0.98em; }

/* TABLES */
table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(36,52,87, 0.07);
  margin-bottom: 22px;
}
thead tr { background: #F3F6FC; }
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #243457;
  font-size: 1.04rem;
}
td { font-size: 1rem; color: #243457; }
tr:nth-child(even) { background: #FBFBFC; }

/* BUTTONS GENERIC */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: #45A36B;
  color: #fff;
  border-radius: 7px;
  padding: 9px 22px;
  transition: background 0.20s, box-shadow 0.16s, color 0.20s;
  box-shadow: 0 1px 6px rgba(36,52,87, 0.07);
}
button:hover, button:focus {
  background: #243457;
  color: #fff;
}

/* LINKS & INTERACTIONS */
a:hover { color: #45A36B; transition: color 0.20s; }
a:active { opacity: 0.8; }
.btn-primary:disabled, button:disabled {
  background: #b0bbc5 !important;
  color: #fff !important;
  cursor: not-allowed;
  box-shadow: none;
}

/* LISTS */
ul, ol {
  list-style: none;
  margin-bottom: 16px;
}
ul > li, ol > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 1rem;
}
ul > li:before {
  content: '';
  display: inline-block;
  height: 8px;
  width: 8px;
  background: #45A36B;
  border-radius: 50%;
  position: absolute;
  left: 7px;
  top: 8px;
}

/* TESTIMONIALS */
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #243457;
  background: none;
  border-left: 3px solid #45A36B;
  margin-bottom: 8px;
  font-size: 1.09rem;
}
.testimonial-card p {
  font-style: italic;
  font-size: 0.98rem;
  color: #586381;
  margin-bottom: 0;
}

/* SPECIAL ELEMENTS */
.section .btn-primary {
  align-self: flex-start;
  margin-top: 10px;
}

/* COOKIES CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #243457;
  color: #fff;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 12px rgba(36,52,87, 0.22);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.cookie-consent-banner .cookie-text {
  flex: 1;
  font-size: 1rem;
  color: #fff;
  margin-right: 18px;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #45A36B;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2460bb;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #243457;
  border: 1px solid #45A36B;
}
.cookie-btn.settings:hover {
  background: #F3F6FC;
  color: #45A36B;
}

/* COOKIES MODAL */
.cookie-modal-overlay {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  z-index: 10000;
  background: rgba(36,52,87, 0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 32px rgba(36,52,87, 0.17);
  padding: 34px 28px 22px 28px;
  width: 96vw;
  max-width: 400px;
  color: #243457;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideModal .4s cubic-bezier(.6,.08,.1,1);
}
@keyframes slideModal {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #243457;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #b0bbc5;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #45A36B;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 0.5px 2px rgba(36,52,87, 0.13);
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 992px) {
  .container { max-width: 730px; }
  .feature-grid, .service-cards, .card-container, .guide-list {
    gap: 20px;
  }
  .footer-nav, .contact-info { font-size: 0.96rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.45rem; }
  .footer-branding img { height: 30px; }
  .header-branding img { height: 36px; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .container {
    max-width: 92vw;
    padding: 0 5vw;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 44px;
  }
  .feature-grid, .service-cards, .card-container, .guide-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-cards > div, .card, .guide-list > div {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
  .testimonial-card { max-width: 100%; }
  .footer-nav, .contact-info {
    gap: 8px;
    font-size: 0.97em;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 24px 10px 8px 10px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.98rem;
    padding: 17px 7px 15px 7px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.40rem; }
  h2 { font-size: 1.13rem; }
  .btn-primary, button, .cookie-btn, .mobile-nav a {
    font-size: 0.99rem;
    padding: 9px 13px;
  }
  .mobile-nav { width: 100vw; min-width: 0; max-width: 100vw; padding: 38px 6vw 16px 6vw; }
  .cookie-modal { padding: 19px 5vw 17px 5vw; max-width: 96vw; }
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.card, .feature-grid > div, .service-cards > div, .guide-list > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .feature-grid > div:hover, .service-cards > div:hover, .guide-list > div:hover {
  box-shadow: 0 6px 18px rgba(36,52,87, 0.15);
  transform: translateY(-2px) scale(1.011);
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(36,52,87, 0.16);
  transform: translateY(-2px);
}

/* FORMS (generic, can be enhanced as needed) */
input, textarea, select {
  border: 1px solid #c3cae7;
  border-radius: 6px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  color: #243457;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #45A36B;
  outline: none;
}

/* UTILITY */
.m-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-12 { margin-bottom: 12px !important; }
.mt-16 { margin-top: 16px !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Z-INDEX LAYERS */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
  z-index: 500;
}

/* ACCESSIBILITY/FOCUS INDICATORS */
a, button, .btn-primary, .mobile-nav a, .cookie-btn, .cookie-btn.settings, .cookie-modal-close { outline: none; }
a:focus-visible, .btn-primary:focus-visible, .mobile-nav a:focus-visible {
  box-shadow: 0 0 0 3px #45A36B22;
}

/* CLASSES FOR HTML STRUCTURE SUPPORT */
.text-section, .content-wrapper, .footer-branding, .footer-nav, .contact-info, .footer-legal { width: 100%; }

/* END OF STYLE SHEET */
