/* ---- RESET & BASE STYLES ---- */
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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #F5F7FA;
  color: #2B2C32;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}
body { 
  min-height: 100vh;
  background: #F5F7FA;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #244378;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ED832F;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #244378;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong { font-weight: 600; }

ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
li { margin-bottom: 8px; }

blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #244378;
  margin: 0 0 1em 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #244378;
  color: #fff;
  box-shadow: 0 2px 12px rgba(36,67,120,0.08);
}
header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 6px 2px;
}
header nav a:hover, header nav a:focus {
  color: #ED832F;
  border-bottom: 2px solid #ED832F;
}
.cta-btn {
  background: #ED832F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  padding: 11px 32px;
  box-shadow: 0 1px 4px 0 rgba(36,67,120,0.12);
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #244378;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px rgba(36,67,120,0.14);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-left: 20px;
  display: none;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #ED832F;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #244378;
  color: #fff;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.85,-0.22,.3,1.18);
  box-shadow: 3px 0 16px rgba(36,67,120,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 3px 0 24px rgba(36,67,120,0.18);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 24px 10px 16px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.21s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #ED832F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding-left: 32px;
  padding-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s, padding-left 0.24s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #ED832F;
  padding-left: 8px;
}

@media (max-width: 1024px) {
  header .container { gap: 10px; }
  header nav { gap: 16px; }
}
@media (max-width: 900px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ---- MAIN HERO & HERO BUTTON ---- */
.hero {
  background: linear-gradient(90deg, #244378 0%, #385087 100%);
  color: #fff;
  padding: 60px 0 40px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 320px;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
}
.hero p {
  color: #e7ebf2;
  font-size: 1.13rem;
}
.hero .cta-btn {
  margin-top: 18px;
  background: #ED832F;
  color: #fff;
  font-size: 1.08rem;
}
.hero .cta-btn:hover {
  background: #fff;
  color: #244378;
  border: 1px solid #ED832F;
}

@media (max-width: 768px) {
  .hero .container { flex-direction: column; justify-content: center; }
  .hero { padding: 40px 0 24px 0; }
}

/* ---- SECTION LAYOUTS & SPACING PATTERNS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(36,67,120,0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(36,67,120,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 20px rgba(36,67,120,0.16);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 20px 18px;
  background: #F5F7FA;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(36,67,120,0.07);
  min-width: 240px;
  max-width: 580px;
}
.testimonial-card blockquote {
  color: #244378;
  font-weight: 500;
  margin: 0 18px 0 0;
  font-size: 1.08rem;
  letter-spacing: -.01em;
}
.testimonial-card strong {
  color: #2B2C32;
  font-size: 1rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
  font-size: 1.06rem;
}

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 38px; }
  .content-grid, .card-container { flex-direction: column; gap: 16px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 14px 10px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 540px) {
  .card, .testimonial-card { min-width: unset; max-width: 100%; }
}

/* ---- PRODUCT HIGHLIGHTS ---- */
.product-highlights ul {
  list-style: disc;
  color: #244378;
  margin-left: 1.35em;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
}
.product-highlights ul li {
  margin-bottom: 7px;
  padding-left: 2px;
}

/* ---- BADGE / LABEL ---- */
.badge {
  display: inline-block;
  background: #ED832F;
  color: #fff;
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 6px;
  letter-spacing: 0.03em;
}

/* ---- FOOTER ---- */
footer {
  width: 100%;
  background: #244378;
  color: #fff;
  padding: 34px 0 18px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
footer nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  transition: color 0.18s;
  padding: 4px 0;
}
footer nav a:hover, footer nav a:focus {
  color: #ED832F;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.99rem;
  color: #e5e6ec;
}
footer .contact-info p {
  display: flex;
  align-items: center;
  gap: 7px;
}
footer img {
  height: 32px;
  width: auto;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 16px; align-items: flex-start; }
  footer nav { gap: 12px; }
}

/* ---- UTILITY & ACCESSIBILITY ---- */
:focus {
  outline: 2px solid #ED832F;
  outline-offset: 2px;
}
.hide { display: none !important; }

/* ---- BUTTONS ---- */
button, .button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  outline: none;
  padding: 10px 26px;
  background: #244378;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  margin-right: 1em;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #ED832F;
  color: #fff;
}
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #ED832F;
}

/* ---- FORM INPUTS ---- */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  margin-bottom: 16px;
  border-radius: 5px;
  border: 1px solid #CBD7E3;
  outline: none;
  transition: border 0.17s;
  background: #fff;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border: 1.5px solid #244378;
}

/* ---- RESPONSIVE TYPOGRAPHY ---- */
@media (max-width: 540px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1rem; }
}

/* ------------ COOKIE CONSENT BANNER (BOTTOM FIXED) ------------ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 3002;
  background: #fff;
  color: #244378;
  box-shadow: 0 -2px 16px rgba(36,67,120,0.15);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 22px 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: slideUpBanner 0.5s cubic-bezier(0,1,.5,1.1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .banner-message {
  max-width: 540px;
  line-height: 1.6;
}
.cookie-consent-banner .cookie-btn {
  background: #244378;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  margin-right: 10px;
  padding: 9px 22px;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  cursor: pointer;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #ED832F;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  color: #244378;
  border: 1.5px solid #244378;
  padding: 9px 20px;
}
.cookie-consent-banner .cookie-btn.settings:hover {
  background: #244378;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #F5F7FA;
  color: #244378;
  border: 1.5px solid #B6BCCC;
}
.cookie-consent-banner .cookie-btn:focus, .cookie-consent-banner .cookie-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: #2D5B97;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 13px 2px 17px 2px;
    font-size: 0.96rem;
  }
  .cookie-consent-banner .banner-message { max-width: 96vw; }
}

/* ------------ COOKIE PREFERENCES MODAL ------------ */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4002;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,44,60,0.44);
  justify-content: center;
  align-items: center;
  animation: fadeModalBg 0.32s;
}
@keyframes fadeModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 44px rgba(36,67,120, .18);
  min-width: 320px;
  max-width: 420px;
  padding: 34px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideUpCookieModal 0.4s cubic-bezier(0,0,.38,1.04);
  color: #244378;
  font-size: 1.04rem;
  position: relative;
}
@keyframes slideUpCookieModal {
  from { transform: translateY(54px) scale(.91); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin: 0 0 14px 0;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #244378;
}
.cookie-modal .modal-section {
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #ED832F;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-toggle[disabled],
.cookie-modal input[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  font-size: 1.44rem;
  color: #244378;
  cursor: pointer;
  transition: color 0.13s;
  padding: 4px;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #ED832F;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .modal-actions button {
  min-width: 100px;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 16px;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .modal-actions .save {
  background: #ED832F;
  color: #fff;
}
.cookie-modal .modal-actions .cancel {
  background: #F5F7FA;
  color: #244378;
}
.cookie-modal .modal-actions .cancel:hover {
  background: #244378;
  color: #fff;
}
.cookie-modal .modal-actions .save:hover {
  background: #244378;
}
@media (max-width: 480px) {
  .cookie-modal { min-width: unset; max-width: 96vw; }
}

/* ---- ICONS ---- */
li img, .contact-info img {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 2px;
}

/* -------- MISC -------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #B6BCCC;
  border-radius: 10px;
}

/* ---- PAGE SPECIFIC ADJUSTMENTS FOR FLEXBOX ---- */
@media (max-width: 500px) {
  header .container { flex-wrap: wrap; height: unset; min-height: 64px; }
  .hero h1 { font-size: 1.19rem; }
}

/* ---- FLEX SEPARATOR (if needed) ---- */
.flex-spacer {
  flex: 1 1 auto;
}

/* ---- VISUAL HIERARCHY AND SPACING ---- */
.section > *:not(:last-child) { margin-bottom: 16px; }
.card-container .card,
.content-grid > * { min-width: 220px; margin-bottom: 0; }

/* ---- MICRO INTERACTIONS ---- */
.card,
.cta-btn,
.testimonial-card,
.cookie-consent-banner .cookie-btn,
.cookie-modal .modal-actions button {
  transition: box-shadow 0.18s, background 0.14s, transform 0.18s, color 0.13s;
}
.card:active,
.cta-btn:active {
  transform: scale(0.98);
}

/* ---- ACCESSIBILITY: TEXT ON LIGHT BG IN TESTIMONIALS ---- */
.testimonial-card blockquote, .testimonial-card strong {
  color: #244378;
}

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

/* ---- FORM ACCESSIBILITY ---- */
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #244378;
}

/* ---- SPECIAL: DISABLED INPUT ---- */
input[disabled], textarea[disabled] {
  background: #ECEEF2;
  opacity: 0.8;
  cursor: not-allowed;
}

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