/* 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8FF;
  color: #1A2238;
}
ol, ul {
  list-style: none;
}
a {  
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
*:focus-visible {
  outline: 2px solid #FF6A3D;
  outline-offset: 2px;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F6F8FF;
  color: #1A2238;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1A2238;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.025em;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, blockquote, cite {
  font-size: 1rem;
  line-height: 1.65;
  color: #28314a;
}
blockquote {
  font-style: italic;
  padding-left: 18px;
  border-left: 4px solid #9DAAF2;
  color: #1A2238;
}
cite {
  display: block;
  margin-top: 8px;
  font-size: 0.97rem;
  color: #666C92;
  font-style: normal;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(26,34,56,0.07);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-grid, .card-container, .card-grid, .latest-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.feature-grid > div, .card {
  background: #F6F8FF;
  border: 2.5px solid #E0E5F3;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(26,34,56,0.045);
  padding: 32px 22px 26px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.14s;
}
.feature-grid > div:hover, .card:hover {
  border-color: #9DAAF2;
  box-shadow: 0 6px 28px 0 rgba(26,34,56,0.1);
  transform: translateY(-3px) scale(1.02);
}

.feature-grid img, .card img {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 8px;
  padding: 7px;
  box-shadow: 0 0 0 2px #9DAAF2;
}

.card-container {
  gap: 24px;
  flex-wrap: wrap;
}
.card {
  min-width: 240px;
  border: 2px solid #E0E5F3;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(26,34,56,0.07);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  background: #FBFBFE;
  border: 2px solid #E0E5F3;
  border-left: 6px solid #9DAAF2;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(26,34,56,0.05);
  margin-bottom: 20px;
  min-width: 200px;
  font-size: 1.05rem;
}
.testimonial-card blockquote {
  color: #1A2238;
  font-weight: 700;
  margin: 0;
}
.testimonial-card cite {
  color: #9DAAF2;
  font-size: 14px;
  margin-left: 18px;
  margin-top: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.latest-articles ul {
  padding-left: 0;
  margin-bottom: 0;
}
.latest-articles li, .content-wrapper ul li {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.latest-articles a, .content-wrapper ul a {
  color: #1A2238;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.18s;
}
.latest-articles a:hover, .content-wrapper ul a:hover {
  color: #FF6A3D;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 46px;
  padding: 0 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.075rem;
  border-radius: 27px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(26,34,56,0.06);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.17s;
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.cta-button.primary {
  background: #1A2238;
  color: #fff;
}
.cta-button.secondary {
  background: #9DAAF2;
  color: #1A2238;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #FF6A3D;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #1A2238;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}
.cta-link {
  color: #FF6A3D;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 16px;
  transition: color 0.15s;
}
.cta-link:hover, .cta-link:focus {
  color: #1A2238;
  text-decoration: underline;
}

/**** HEADER & NAVIGATION ****/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(26,34,56,0.07);
  position: relative;
  z-index: 10;
  margin-bottom: 16px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A2238;
  font-size: 1.02rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  padding: 4px 2px;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.165s, color 0.17s;
  position: relative;
}
.main-nav a:hover,
.main-nav a.active {
  color: #FF6A3D;
  border-bottom: 2.5px solid #FF6A3D;
}

.mobile-menu-toggle {
  display: none;
  background: #FFF;
  border: 2px solid #9DAAF2;
  color: #1A2238;
  border-radius: 10px;
  font-size: 2.2rem;
  line-height: 1;
  padding: 7px 13px 6px 13px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.12s;
  z-index: 105;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #9DAAF2;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(26,34,56,0.08);
}

/**** MOBILE MENU OVERLAY ****/
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #1A2238;
  box-shadow: 0 10px 48px 0 rgba(26,34,56,0.18);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.78,0.03,0.21,1.03);
  z-index: 1200;
  padding: 22px 32px 0 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: auto;
  padding: 8px 12px;
  background: #FF6A3D;
  color: #fff;
  border-radius: 8px;
  font-size: 1.85rem;
  cursor: pointer;
  border: none;
  margin-bottom: 14px;
  align-self: flex-end;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #9DAAF2;
  color: #1A2238;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}
.mobile-nav a {
  padding: 15px 0;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  border-bottom: 2.5px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.12s, border-color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FF6A3D;
  border-bottom: 2.5px solid #FF6A3D;
}

/**** FOOTER ****/
footer {
  padding-top: 40px;
  padding-bottom: 24px;
  background: #1A2238;
  color: #fff;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-width: 250px;
}
.footer-branding img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.footer-branding span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #9DAAF2;
  font-weight: 600;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 10px 0;
}
.footer-nav li a {
  color: #9DAAF2;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.footer-nav li a:hover,
.footer-nav li a:focus {
  color: #FF6A3D;
  border-bottom: 2px solid #FF6A3D;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  font-size: 0.99rem;
  min-width: 220px;
}
.footer-contact p {
  color: #fff;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #fff;
  padding: 2px;
  transition: transform 0.18s, background 0.11s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  background: #FF6A3D;
  transform: scale(1.16) rotate(-7deg);
}

/**** COOKIE CONSENT ****/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #1A2238;
  color: #fff;
  padding: 24px 16px 20px 16px;
  box-shadow: 0 -4px 36px 0 rgba(26,34,56,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.28s;
  will-change: transform;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0.01;
}
.cookie-banner__text {
  max-width: 750px;
  text-align: center;
  font-size: 1.07rem;
  color: #fff;
  margin-bottom: 8px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  min-width: 130px;
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  background: #9DAAF2;
  color: #1A2238;
  transition: background 0.13s, color 0.13s, transform 0.20s;
  margin-bottom: 4px;
}
.cookie-btn.accept {
  background: #FF6A3D;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #1A2238;
  border: 2px solid #9DAAF2;
}
.cookie-btn.settings {
  background: transparent;
  color: #9DAAF2;
  border: 2px dashed #9DAAF2;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1A2238;
  color: #fff;
  transform: scale(1.045);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,34,56,0.62);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: #1A2238;
  border-radius: 20px;
  min-width: 300px;
  max-width: 95vw;
  box-shadow: 0 4px 38px 0 rgba(26,34,56,0.18);
  padding: 40px 30px 28px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
  z-index: 2200;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #1A2238;
  margin-bottom: 16px;
}
.cookie-modal__close {
  position: absolute;
  right: 15px;
  top: 14px;
  background: #FF6A3D;
  border-radius: 16px;
  color: #fff;
  font-size: 1.35rem;
  border: none;
  padding: 6px 13px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #9DAAF2;
  color: #1A2238;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #FF6A3D;
  width: 23px;
  height: 23px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #1A2238;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-category .always-on {
  font-size: 0.93rem;
  color: #666C92;
  margin-left: 8px;
}
.cookie-modal__actions {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/**** RESPONSIVE DESIGN ****/
@media (max-width: 1024px) {
  .feature-grid > div, .card {
    min-width: 180px;
    max-width: 100%;
    padding: 22px 12px;
  }
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .footer-branding,
  .footer-contact,
  .footer-nav {
    min-width: 160px;
  }
  footer .container {
    gap: 24px 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container {
    max-width: 99vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .section {
    margin-bottom: 38px;
    padding: 27px 7px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature-grid > div {
    margin-bottom: 18px;
    min-width: unset;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.33rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.12rem;
    margin-bottom: 11px;
  }
  .footer-branding span {
    display: none;
  }
}

/**** GEOMETRIC DECORATIONS (STRUCTURE) ****/
.feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  top: 11px; left: 11px;
  width: 29px; height: 29px;
  background: rgba(157,170,242,0.09);
  border-radius: 8px 20% 8px 44%;
  z-index: 0;
  pointer-events: none;
}
.card:before {
  content: '';
  display: block;
  position: absolute;
  bottom: 13px; right: 17px;
  width: 18px; height: 18px;
  background: rgba(255,106,61,0.08);
  border-radius: 42% 58% 60% 40% / 40% 38% 62% 60%;
  z-index: 0;
  pointer-events: none;
}

/**** MICROINTERACTIONS ****/
.cta-button, .cta-link, .cookie-btn {
  transition: background 0.12s,color 0.13s,box-shadow 0.15s,transform 0.14s;
}
.feature-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.19s, border-color 0.15s, transform 0.13s;
}

/**** SCROLLBAR (GEOMETRIC FEEL) ****/
*::-webkit-scrollbar {
  width: 13px;
  background: #f3f4fb;
}
*::-webkit-scrollbar-thumb {
  background: #9DAAF2;
  border-radius: 8px;
  border: 3px solid #f3f4fb;
}
*::-webkit-scrollbar-thumb:hover {
  background: #FF6A3D;
}

/**** MISC: GENERAL ACCESSIBILITY IMPROVEMENTS ****/
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/**** FORM ELEMENTS (future-for-contact) ****/
input[type="text"], input[type="email"], textarea {
  padding: 13px 14px;
  border-radius: 7px;
  background: #f9faff;
  border: 2px solid #9DAAF2;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2238;
  transition: border-color 0.15s, background 0.11s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #FF6A3D;
  background: #fff7f3;
}

/**** TYPOGRAPHY HIERARCHY ****/
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4, h5, h6 { font-size: 1.125rem; }

/**** ENSURE NO ABSOLUTE FOR CONTENT ALIGNED STRUCTURE ****/
/* All absolute position used only for geometric decorations above. Content is always in flex containers. */