/* 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;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #fff;
  color: #234661;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #234661;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C43C;
  outline: none;
}
ul, ol {
  list-style: none;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #234661;
  letter-spacing: -0.01em;
}
h1 {font-size: 2.25rem; margin-bottom: 24px;}
h2 {font-size: 1.5rem; margin-bottom: 20px;}
h3 {font-size: 1.15rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1rem; margin-bottom: 8px;}
@media (min-width:600px) {
  h1 {font-size: 3rem;}
  h2 {font-size: 2rem;}
  h3 {font-size: 1.25rem;}
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #234661;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {font-weight: 600;}


/* LAYOUT SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(35,70,97,0.06);
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(35,70,97,0.12);
  transform: translateY(-2px) scale(1.01);
  z-index: 1;
}
.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: 12px;
  background: #E8F0FA;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(35,70,97,0.04);
  font-size: 1rem;
  color: #152938;
  max-width: 520px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #152938;
  font-size: 1.08em;
}
.testimonial-card span {
  color: #234661;
  font-weight: 500;
  opacity: 0.85;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(35,70,97,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0;
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  background: #E8F0FA;
  border-radius: 0 0 24px 24px;
  margin-bottom: 60px;
  padding: 60px 0 40px;
  display: flex;
  align-items: center;
  min-height: 340px;
}
.hero-section .content-wrapper {
  max-width: 620px;
}
.hero-section h1 {
  color: #234661;
  font-family: 'Montserrat', sans-serif;
}
.hero-section p {
  color: #234661;
}

@media (max-width: 900px) {
  .hero-section {
    padding: 36px 0 20px;
    min-height: 160px;
  }
  .container {
    padding: 0 8px;
  }
}

/* FEATURES & CARDS */
.features-section ul, .services-section ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-section li, .services-section li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 8px;
  padding: 18px 18px 18px 0;
  font-size: 1.02em;
  color: #234661;
  box-shadow: 0 2px 14px rgba(35,70,97,0.04);
  transition: box-shadow 0.18s, background 0.18s;
}
.features-section li:hover, .services-section li:hover {
  background: #F6C43C18;
  box-shadow: 0 4px 18px rgba(246, 196, 60, 0.11);
}
.features-section li img, .services-section li img {
  max-width: 32px;
  margin-right: 4px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.feature-grid > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(35,70,97,0.07);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 26px rgba(35,70,97,0.16);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  max-width: 32px;
  margin-bottom: 2px;
}

/* Call-to-Action Section */
.cta-section {
  background: #fff9e5;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(35,70,97,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
}
.cta-section .content-wrapper {
  align-items: flex-start;
}

/* FAQ ACCORDION */
.faq-accordion h3 {
  cursor: pointer;
  font-size: 1.13rem;
  margin-bottom: 0;
  background: none;
  padding: 12px 0 6px 0;
  border-bottom: 1px solid #E8F0FA;
  transition: background 0.15s;
}
.faq-accordion p {
  margin-bottom: 6px;
}
.faq-accordion a {
  text-decoration: underline;
}

/* COOKIE & PRIVACY SECTIONS */
.cookie-section, .privacy-section, .gdpr-section, .terms-section, .thank-you-section {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* BUTTONS */
.cta-button, .mobile-nav a.cta-button, .cookie-banner button, .cookie-modal-actions button {
  display: inline-block;
  background: #234661;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 36px;
  margin-top: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(35,70,97,0.09);
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.18s;
  outline: none;
}
.cta-button:hover, .cta-button:focus, .cookie-banner button:hover, .cookie-modal-actions button:hover {
  background: #F6C43C;
  color: #234661;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 3px 16px rgba(246, 196, 60, 0.15);
}

/* Secondary and ghost buttons (for Reject/Settings) */
.cookie-banner .secondary, .cookie-modal-actions .secondary {
  background: transparent;
  border: 1.5px solid #234661;
  color: #234661;
  box-shadow: none;
}
.cookie-banner .secondary:hover, .cookie-modal-actions .secondary:hover {
  background: #E8F0FA;
  color: #234661;
  border-color: #F6C43C;
}


/* HEADER NAVBAR */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  padding: 16px 0 12px 0;
  border-bottom: 1.5px solid #E8F0FA;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header > a img {
  max-height: 38px;
  min-width: 80px;
}
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
header nav a {
  padding: 6px 8px;
  color: #234661;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  border-radius: 4px;
  font-size: 1rem;
  letter-spacing: -.01em;
  transition: color 0.2s, background 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #E8F0FA;
  color: #152938;
}
header nav a.cta-button {
  margin-left: 12px;
  padding: 10px 20px;
}
header .mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #234661;
  padding: 4px 8px;
  margin-left: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1200;
  transition: background 0.15s;
  border-radius: 6px;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  background: #E8F0FA;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,70,97,0.90);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.32s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin: 32px 24px 10px 0;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu .mobile-menu-close:hover {
  background: #E8F0FA22;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 28px 0 32px;
}
.mobile-menu .mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  background: none;
  border-radius: 4px;
  padding: 10px 12px;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  background: #F6C43C;
  color: #234661;
}
.mobile-menu .mobile-nav a.cta-button {
  background: #fff;
  color: #234661;
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 12px;
  padding: 14px 24px;
}
.mobile-menu .mobile-nav a.cta-button:hover {
  background: #F6C43C;
  color: #234661;
}

@media (max-width: 1024px) {
  header nav {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width:600px) {
  .section, .cta-section, .cookie-section, .privacy-section, .gdpr-section, .terms-section, .thank-you-section {
    margin-bottom: 32px;
    padding: 28px 5px;
    border-radius: 0;
  }
  .feature-grid {
    gap: 16px;
  }
}

/* FOOTER */
footer {
  background: #234661;
  color: #fff;
  padding: 44px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-menu nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.93;
  font-size: 1rem;
  transition: color 0.16s;
  border-radius: 3px;
  padding: 3px 4px;
}
.footer-menu nav a:hover, .footer-menu nav a:focus {
  color: #F6C43C;
}
.footer-contact, .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background-color: #F6C43C;
  margin-top: 14px;
  font-size: 0.98em;
}
.footer-contact img {
  max-width: 18px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-brand img {
  max-height: 36px;
  margin-top: 28px;
  opacity: 0.82;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-menu nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .footer-brand img {
    margin-top: 0;
  }
}

/* RESPONSIVE FLEX DIRECTION FOR TEXT-IMAGE SECTION AND GRIDS */
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
  .section, .cta-section {
    padding: 18px 4px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* MISC SPACING */
.testimonials-section .testimonial-card:not(:last-child),
.features-section ul li:not(:last-child),
.services-section ul li:not(:last-child),
.feature-grid > div:not(:last-child) {
  margin-bottom: 20px;
}

/* CONTACT SECTION */
.contact-section p, .contact-section a {
  color: #234661;
  font-size: 1.06em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-section img {
  max-width: 22px;
}

/* THANK YOU PAGE */
.thank-you-section ul {
  margin: 18px 0 24px 18px;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.thank-you-section ul li {
  list-style: disc inside;
  color: #234661;
  font-size: 1em;
}
/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #E8F0FA;
  color: #234661;
  box-shadow: 0 -2px 18px rgba(35,70,97,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 24px 18px 24px;
  font-size: 1rem;
  z-index: 2400;
  opacity: 1;
  transition: transform 0.28s, opacity 0.22s;
  gap: 20px;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: #234661;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  min-width: 120px;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  z-index: 2450;
  background: rgba(35,70,97,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #234661;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(35,70,97,0.17);
  padding: 36px 32px;
  min-width: 303px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 88vh;
  overflow-y: auto;
}
.cookie-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal-category label {
  flex: 1;
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #234661;
}
.cookie-modal-category input[disabled] {
  accent-color: #ccc;
  cursor: not-allowed;
  background: #eee;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #234661;
  cursor: pointer;
  transition: background 0.12s;
  border-radius: 6px;
  padding: 2px 6px;
}
.cookie-modal-close:hover {
  background: #E8F0FA;
}

@media(max-width:600px) {
  .cookie-modal-content {
    padding: 24px 8px 18px 8px;
    min-width: 0;
    max-width: 98vw;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.cta-button, .card, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.20s, background 0.20s, transform 0.16s, color 0.17s;
}

/* FOCUS VISIBLE */
*:focus-visible {
  outline: 2.5px solid #F6C43C;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #E8F0FA;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F6C43C80;
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-contrast: high) {
  .cta-button {
    background: #234661 !important;
    color: #fff !important;
  }
  header nav a, .footer-menu nav a {
    color: #234661;
  }
  .cookie-banner {
    color: #234661;
    background: #fff;
  }
}

/* HIDE ELEMENTS WHEN JS REMOVES SHOW CLASS */
.hide { display: none !important; }

