/* --- 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;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #183962;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input[type="submit"], input[type="button"] {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- TYPOGRAPHY & COLORS --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.25rem; /* 36px */
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  color: #183962;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  margin-bottom: 16px;
  color: #183962;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  margin-bottom: 12px;
  color: #183962;
}
p, li, ul, ol, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  color: #183962;
}
strong {
  font-weight: 700;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(24, 57, 98, 0.05);
  transition: box-shadow 0.2s;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 98;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #183962;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a:focus {
  background: #ADC2D9;
  color: #183962;
}
nav a.cta {
  background: #183962;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 8px;
  box-shadow: 0 1px 4px 0 rgba(24, 57, 98, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
nav a.cta:hover,
nav a.cta:focus {
  background: #263a5c;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(24, 57, 98, 0.13);
}

.mobile-menu-toggle {
  display: none;
  background: #183962;
  color: #fff;
  border-radius: 6px;
  font-size: 1.7rem;
  line-height: 1;
  padding: 8px 16px;
  margin-left: 16px;
  transition: background 0.15s;
  z-index: 103;
  border: none;
}
.mobile-menu-toggle:hover {
  background: #0f2741;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 120;
  padding: 0 0 60px 0;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
  box-shadow: -8px 0 30px 0 rgba(24,57,98,0.06);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 20px 0 0;
  background: none;
  color: #183962;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #F5F7FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  color: #183962;
  border-radius: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #eaf1f8;
  color: #183962;
  padding-left: 6px;
}

/* DESKTOP NAV/HAMBURGER TOGGLER RESPONSIVENESS */
@media (max-width: 990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 13px 0 rgba(24, 57, 98, 0.07);
  transition: box-shadow 0.16s;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(24, 57, 98, 0.12);
}
.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;
  padding: 20px;
  background: #F5F7FA;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(24, 57, 98, 0.05);
  margin-bottom: 20px;
  border: 1px solid #ADC2D922;
  color: #183962;
  font-size: 1rem;
  font-style: italic;
  transition: box-shadow 0.18s;
}
.testimonial-card strong {
  margin-left: auto;
  font-style: normal;
  font-size: 1rem;
  color: #183962;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS & CTA --- */
button, .cta, input[type="submit"] {
  background: #183962;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.19s, box-shadow 0.16s, transform 0.13s;
  box-shadow: 0 1px 4px 0 rgba(24, 57, 98, 0.06);
  margin-top: 12px;
  cursor: pointer;
  display: inline-block;
}
button:hover, .cta:hover, input[type="submit"]:hover, button:focus, .cta:focus {
  background: #2a4778;
  box-shadow: 0 4px 18px 0 rgba(24,57,98,0.11);
  transform: translateY(-2px) scale(1.02);
}

/* --- FORMS --- */
form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
input[type="email"] {
  flex: 1 1 210px;
  padding: 10px 18px;
  border: 1px solid #ADC2D9;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #183962;
  outline: none;
  transition: border 0.17s, box-shadow 0.14s;
}
input[type="email"]:focus {
  border: 1.5px solid #183962;
  box-shadow: 0 2px 12px 0 rgba(24, 57, 98, 0.07);
}


/* --- TEXT SECTION --- */
.text-section {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul, .text-section ol {
  list-style: inside disc;
  margin-left: 18px;
  margin-bottom: 8px;
}
.text-section li {
  margin-bottom: 8px;
}

/* --- SOCIAL ICONS --- */
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}
.social-icons a img {
  filter: grayscale(0.1) opacity(0.95);
  width: 30px;
  height: 30px;
  transition: filter 0.18s, transform 0.16s;
}
.social-icons a:hover img {
  filter: grayscale(0) opacity(1) drop-shadow(0 2px 8px #ADC2D9aa);
  transform: scale(1.10);
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 36px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #183962;
  opacity: 0.9;
  font-size: 0.98rem;
}
footer nav a:hover,
footer nav a:focus {
  opacity: 1;
  background: #F5F7FA;
  border-radius: 5px;
}
footer .text-section {
  font-size: 0.97rem;
  color: #183962;
  font-family: 'Roboto', Arial, sans-serif;
  flex: 1;
  min-width: 210px;
}
footer img[alt="Horizon Frost"] {
  max-width: 120px;
  margin-bottom: 16px;
}

/* --- LISTS & ICON LISTS --- */
ul {
  margin-bottom: 10px;
  padding-left: 0;
}
ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li img {
  width: 22px;
  height: 22px;
  opacity: 0.88;
}

/* --- PRIVACY & POLICY PAGE STYLING --- */
.text-section h2, .text-section h3 {
  margin-top: 16px;
  margin-bottom: 9px;
  font-weight: 600;
  font-size: 1.14rem;
  color: #183962;
  letter-spacing: 0.01em;
}

/* --- GENERAL CARD DESIGN --- */
.card, .testimonial-card, .section {
  box-shadow: 0 2px 13px 0 rgba(24, 57, 98, 0.05);
  border-radius: 14px;
}

/* --- GAP & FLEX RESPONSIVENESS --- */
@media (max-width: 990px) {
  .footer .content-wrapper, footer .content-wrapper, .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
  }
  .feature-item {
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 6px;
  }
  .container {
    padding: 0 10px;
  }
  nav, .footer nav {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  h1 {font-size: 1.48rem;}
  h2 {font-size: 1.1rem;}
  .section {padding: 18px 3px;}
  .card {padding: 15px;}
  .testimonial-card {padding: 13px;}
  .container {padding: 0 4px;}
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #183962;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 18px;
  gap: 32px;
  box-shadow: 0 -4px 24px 0 rgba(24,57,98,0.09);
  z-index: 140;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1), opacity 0.25s;
  font-size: 1rem;
}
.cookie-banner.visible {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #183962;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 22px;
  margin-top: 0;
  font-size: 1rem;
  border: none;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 4px 0 rgba(24,57,98,0.09);
}
.cookie-banner button:hover,
.cookie-banner button:focus,
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #ADC2D9;
  color: #183962;
}
/* Modal overlay for cookie settings */
.cookie-modal-overlay {
  background: rgba(24,57,98,0.23);
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 151;
  transition: opacity 0.28s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #183962;
  border-radius: 19px;
  box-shadow: 0 4px 35px 0 rgba(24,57,98,0.13);
  padding: 38px 30px;
  min-width: 300px;
  max-width: 97vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookiemodalIn 0.43s cubic-bezier(0.6,0.05,0.34,1.08);
}
@keyframes cookiemodalIn {
  from { transform: translateY(80px) scale(0.93); opacity: 0 }
  to { transform: translateY(0) scale(1); opacity: 1 }
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #183962;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  appearance: none;
  border: 2px solid #ADC2D9;
  border-radius: 5px;
  background: #fff;
  outline: none;
  transition: border 0.18s, background 0.18s;
  position: relative;
}
.cookie-category input[type=checkbox]:checked {
  border: 2.5px solid #183962;
  background: #ADC2D9;
}
.cookie-category input[type=checkbox][disabled] {
  background: #e5ebf3;
  border: 2px solid #ADC2D999;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cookie-modal button {
  background: #183962;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  transition: background 0.17s;
  box-shadow: 0 1px 4px 0 rgba(24,57,98,0.08);
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #ADC2D9;
  color: #183962;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.4rem;
  background: none;
  color: #183962;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 5px;
  transition: background 0.15s;
}
.cookie-modal .modal-close:hover {
  background: #F5F7FA;
}

/* --- ANIMATION HELPERS --- */
.fade-in {
  animation: fadeIn 0.37s cubic-bezier(0.55,0.09,0.59,0.97);
}
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

/* --- GENERAL SPACING --- */
main {
  margin-top: 36px;
}
section {
  margin-bottom: 60px;
  padding: 0;
}
@media (max-width: 768px) {
  main { margin-top: 18px; }
  section { margin-bottom: 34px; }
}

/* --- ACCESSIBILITY -- HANDLE FOCUS RING --- */
a:focus, button:focus, .cta:focus, .cookie-banner button:focus {
  outline: 2px solid #ADC2D9;
  outline-offset: 3px;
}

/* --- UTILITY CLASSES --- */
.d-none { display: none !important; }
.w-100 { width: 100%; }
.mt-2  { margin-top: 8px; }
.mt-3 { margin-top: 18px; }
.ml-3 { margin-left: 18px; }

/* --- PRINT STYLES --- */
@media print {
  header, nav, .mobile-menu, .cookie-banner, footer { display: none !important; }
  .section, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}

/* --- END --- */
