/* =======================================
   CSS RESET & NORMALIZATION
======================================= */
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,
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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F3F5F7;
  color: #0A1F31;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: #0A1F31;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #0A1F31;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, blockquote, cite, label, select, input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1B2C3E;
}
blockquote {
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid #F5B335;
  color: #23374D;
  margin-bottom: 8px;
}
cite {
  display: block;
  color: #446388;
  font-style: normal;
  margin-top: 6px;
  font-size: 0.95rem;
}
strong { font-weight: 600; color: #0A1F31; }
em { color: #264470; font-style: italic; }

/* Make body take the viewport height at least */
html {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #F3F5F7;
}

/* Remove tap highlight on links/buttons for mobile */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* =======================================
   BRAND COLORS (as CSS variables)
======================================= */
:root {
  --primary: #0A1F31;
  --secondary: #F5B335;
  --accent: #F3F5F7;
  --text-main: #0A1F31;
  --text-dark: #1B2C3E;
  --blue-light: #436FA5;
  --blue-medium: #264470;
  --gray-medium: #C1CADD;
  --gray-dark: #6C7682;
  --bg-white: #FFFFFF;
  --shadow: 0 2px 10px rgba(18,38,63,0.06);
  --shadow-soft: 0 1px 4px rgba(18,38,63,0.1);
}

/* =======================================
   STRUCTURAL & FLEX LAYOUTS
======================================= */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: #F3F7FB;
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 530px;
  color: #1B2C3E;
  border: 1px solid #D6E2F5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card {
  background: #F3F7FB;
  border-radius: 10px;
  padding: 24px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #C1CADD;
  margin-top: 18px;
}

/* =======================================
   HEADER/NAVIGATION/BUTTONS
======================================= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 14px 32px;
  background: var(--bg-white);
  box-shadow: 0 1px 8px rgba(26,45,75,0.03);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header a img {
  max-height: 36px;
}
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 30px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(245,179,53,0.08);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  margin-left: 36px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #E8A926;
  color: #0A1F31;
  box-shadow: 0 6px 32px rgba(245,179,53,0.16);
  transform: translateY(-2px) scale(1.03);
}
header nav a, footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.14s, opacity 0.14s;
  padding: 3px 6px;
  border-radius: 3px;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  background: #F8EBD3;
  outline: none;
}
header .cta-button {
  margin-left: 40px;
}

/* =======================================
   FOOTER
======================================= */
footer {
  background: var(--bg-white);
  padding: 24px 16px 16px 16px;
  box-shadow: 0 -1px 7px rgba(15,26,44,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
}
footer nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
footer p {
  color: #446388;
  font-size: 0.98rem;
  margin-top: 4px;
}

/* =======================================
   FORMS, LABELS, INPUTS (if used)
======================================= */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary);
}
select {
  appearance: none;
  background: #F3F5F7;
  border: 1px solid #C1CADD;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.14s;
}
select:disabled {
  opacity: 0.6;
}

/* =======================================
   UTILITIES & VISUAL HIERARCHY
======================================= */
.review-meta {
  font-size: 0.97rem;
  color: #436FA5;
  font-style: italic;
}

/* =======================================
   SPACING/BLOCK RULES
======================================= */
main section + section {
  margin-top: 44px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* =======================================
   SPECIALS: ACCORDIONS for FAQ
======================================= */
.faq-accordion h3 {
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.15s;
  color: var(--primary);
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  color: var(--secondary);
}
.faq-accordion .text-section {
  margin-bottom: 10px;
}

/* =======================================
   MOBILE MENU (BURGER NAV)
======================================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 27px;
  right: 24px;
  z-index: 1300;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 6px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px -8px #0A1F31;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #182C44;
}
/* Overlay Menu Styles */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,31,49,0.98);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,.2,.05,1), opacity 0.28s;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  padding: 20px 24px;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFE7A1;
  background: rgba(23,32,52,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 30px 32px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  padding: 11px 4px 11px 4px;
  border-radius: 4px;
  transition: background 0.16s, color 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5B335;
  color: #192F4E;
  outline: none;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  header {
    padding: 20px 12px 10px 12px;
  }
}

/* =======================================
   RESPONSIVE / MOBILE-FIRST DESIGN
======================================= */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header {
    flex-direction: row;
    padding: 16px 4vw 8px 4vw;
    gap: 0;
  }
  .container {
    padding: 0 4vw;
  }
  .section {
    padding: 28px 6vw;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .card-container, .content-grid, .feature-item, .faq-accordion {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 15px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .contact-card {
    padding: 19px 8px;
  }
  .content-wrapper {
    gap: 15px;
    padding: 0 0;
  }
  main section + section {
    margin-top: 18px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.16rem; }
  .container { padding: 0 2vw; }
  .section { padding: 16px 2vw; }
  footer { padding: 16px 2vw 9px 2vw; }
}

/* =======================================
   BUTTONS & LINK INTERACTIONS
======================================= */
a.cta-button, button.cta-button {
  text-align: center;
  text-shadow: none;
}
a[href]:not(.cta-button) {
  color: var(--blue-medium);
  transition: color 0.15s;
}
a[href]:not(.cta-button):hover, a[href]:not(.cta-button):focus {
  color: var(--secondary);
  text-decoration: underline;
}
button {
  font-size: 1rem;
  font-family: inherit;
  background: var(--primary);
  color: #fff;
  border-radius: 5px;
  border: none;
  padding: 9px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
  margin: 0 8px 0 0;
}
button:hover, button:focus {
  background: #112842;
  color: var(--secondary);
  outline: none;
}

/* =======================================
   TESTIMONIAL CARDS
======================================= */
.testimonial-card blockquote {
  font-size: 1.14rem;
  color: #183654;
}
.testimonial-card cite {
  color: #265097;
  font-weight: 600;
  font-size: 0.97rem;
  margin-top: 6px;
}

/* =======================================
   COOKIE CONSENT BANNER & MODAL
======================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  background: #20344B;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  box-shadow: 0 -4px 16px rgba(14,28,48,0.16);
  gap: 24px;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.37s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-consent-banner button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 5px;
  background: var(--secondary);
  color: var(--primary);
  padding: 9px 18px;
  font-weight: 700;
  margin: 0 8px 0 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 8px 0 rgba(245,179,53,0.06);
  outline: none;
}
.cookie-consent-banner button:focus, .cookie-consent-banner button:hover {
  background: #E8A926;
  color: #0A1F31;
}
.cookie-consent-banner button:last-child {
  background: transparent; color: #fff; border: 1.5px solid #F5B335;
}
.cookie-consent-banner button:last-child:hover, .cookie-consent-banner button:last-child:focus {
  background: #F5B335; color: #20344B;
}

/* Cookie Preferences Modal */
.cookie-consent-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10,25,41,0.6);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-consent-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--bg-white);
  color: var(--text-main);
  border-radius: 13px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 4px 32px rgba(28,40,60,0.16);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 12px 0;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
/* Modal close button */
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 14px;
  background: none;
  border: none;
  color: var(--gray-dark);
  font-size: 2.0rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 17px;
  border-radius: 5px;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #E8A926;
  color: #0A1F31;
}

@media (max-width: 620px) {
  .cookie-modal-content {
    min-width: unset;
    max-width: 95vw;
    padding: 28px 10px 18px 10px;
  }
}
/* =======================================
   MISC / SMALL EFFECTS
======================================= */
.card, .testimonial-card, .contact-card {
  transition: box-shadow 0.17s, transform 0.19s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(60,90,140,0.13);
  transform: translateY(-1px) scale(1.01);
}
.section, .card, .testimonial-card, .contact-card {
  background: var(--bg-white);
}

/* =======================================
   PRINT STYLES (Minimal)
======================================= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-consent-modal {
    display: none !important;
  }
  body, .section, .card, .testimonial-card {
    box-shadow: none !important;
    background: #fff !important;
    color: #111 !important;
  }
}
