/* === 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 {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F4F4F9;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #23334d;
  background: linear-gradient(135deg, #F4F4F9 0%, #f1f7ff 100%);
  -webkit-font-smoothing: antialiased;
}
*,*:before,*:after{box-sizing:inherit;}
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s;}
img { max-width: 100%; height: auto; display: block; border: 0;}
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* === BRAND COLORS & UTILS === */
:root {
  --color-primary: #275592;
  --color-primary-rgb: 39,85,146;
  --color-secondary: #F4F4F9;
  --color-accent: #FFD43B;
  --color-dark: #131d2c;
  --color-mid: #5174b3;
  --color-light: #f1f7ff;
  --radius: 12px;
  --shadow: 0 2px 16px 0 rgba(39,85,146,0.10);
  --shadow-light: 0 1.5px 8px 0 rgba(39,85,146,0.06);
  --transition: .22s cubic-bezier(.51,1.1,.51,1);
  --gradient: linear-gradient(90deg, #275592 0%, #5174b3 100%);
  --gradient-accent: linear-gradient(90deg, #FFD43B 0%, #FFEF84 100%);
  --gradient-card: linear-gradient(115deg, #f1f5fb 0%, #edf0fa 100%);
}

/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}
p, .subheadline, ul li, ol li, .footer-contact p, .text-section p {
  font-size: 1rem;
  color: #213556;
  margin-bottom: 14px;
  font-weight: 400;
}
.subheadline {
  font-size: 1.17rem;
  color: #275592;
  letter-spacing: 0.1px;
  font-family: 'Open Sans', Arial, sans-serif;
}
strong { font-weight: 700; }

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gradient-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === FLEX LAYOUT PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(39,85,146,0.16);
  transform: translateY(-4px) scale(1.01);
}
.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: #fff;
  color: #183150;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 340px;
  min-width: 260px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #244062;
  margin-bottom: 0;
}
.testimonial-card span {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.98;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--gradient);
  box-shadow: 0 2px 14px -12px rgba(39,85,146,0.14);
  padding: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 81px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.025rem;
  position: relative;
  padding: 8px 4px;
  border-radius: 2.5px;
  transition: background 0.13s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  background: rgba(255, 255, 255, .08);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: #1a1a1a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  font-size: 1.08rem;
  padding: 11px 32px;
  box-shadow: 0 2px 24px -6px rgba(255, 212, 59, 0.16);
  cursor: pointer;
  margin-left: 18px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.04);
}
.cta-button:hover, .cta-button:focus {
  background: #ffe65a;
  color: var(--color-primary);
  box-shadow: 0 6px 30px 0 rgba(255, 212, 59, 0.30);
  transform: translateY(-2px) scale(1.01);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-left: 28px;
  cursor: pointer;
  transition: color 0.22s;
  z-index: 1001;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--color-accent);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39, 85, 146, 0.98);
  box-shadow: 0 6px 32px 0 rgba(39,85,146,0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.65,1.11,.33,1.03);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 18px 18px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  padding: 30px 32px 0 32px;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffe;
  border-radius: 8px;
  padding: 17px;
  margin-right: 0;
  margin-bottom: 4px;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #325e9e;
  color: var(--color-accent);
}

/* === MAIN & SECTION LAYOUTS === */
main {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 54px;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0px;
}
.text-section {
  background: none;
  padding: 0;
  margin-bottom: 18px;
  border: none;
}

/* === UL, LI for sections === */
ul, ol {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 18px;
}
ul li, ol li {
  list-style: disc inside;
  color: #232c3e;
  margin-bottom: 10px;
  padding-left: 8px;
}
ul li strong, ol li strong { color: var(--color-primary); }

/* === FOOTER === */
footer {
  width: 100%;
  background: var(--gradient);
  color: #fff;
  padding: 36px 0 30px 0;
  box-shadow: 0 -2px 17px -15px #bbb7ff14;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .logo {
  margin-right: 32px;
}
.footer-nav {
  flex: 1 1 220px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-direction: column;
  margin-right: 24px;
}
.footer-nav a {
  color: #f8faff;
  font-size: 1.05rem;
  opacity: 0.97;
  transition: color 0.18s;
  margin-bottom: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 0.99rem;
  color: #ebf0ff;
  line-height: 1.6;
}
.footer-contact p { margin-bottom: 11px; }

/* === CARDS, TESTIMONIALS, FEATURES === */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  .main-nav {
    gap: 14px;
  }
  footer .container {
    gap: 20px;
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  .section {
    padding: 34px 10px;
  }
  .main-nav {
    gap: 6px;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .container, .content-wrapper, main, .section {
    max-width: 100%;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-right: 0;
    margin-top: 18px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    margin-bottom: 38px;
    padding: 32px 5vw;
  }
  .testimonial-card {
    min-width: 75vw;
    padding: 14px 11px;
  }
}
@media (max-width: 480px) {
  h1, .h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  h2, .h2 {
    font-size: 1.16rem;
    margin-bottom: 9px;
  }
  .container,
  .content-wrapper,
  main, .section {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .section {
    padding: 13vw 4vw 19vw 4vw;
  }
}

/* === SPACING === */
.section ~ .section {
  margin-top: 0;
}
.card + .card {
  margin-top: 0;
}

/* === BUTTONS === */
button, .button, .cta-button {
  transition: all 0.18s;
  outline: none;
}
button:focus, .cta-button:focus {
  outline: 2px solid var(--color-accent);
}
.button-secondary {
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 26px;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.19s, transform 0.17s, color 0.17s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #193963;
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.01);
}
.button-tertiary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 25px;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.13s, color 0.13s, border-color 0.13s, transform 0.14s;
}
.button-tertiary:hover, .button-tertiary:focus {
  background: #F4F4F9;
  color: #193963;
  border-color: #193963;
}

/* === MICRO-INTERACTIONS & HOVER === */
a:hover, a:focus {
  color: var(--color-accent);
}
.cta-button:active { transform: scale(.99); }

.card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(39,85,146,0.13);
  transform: translateY(-2px);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #234168;
  box-shadow: 0 -6px 30px 0 rgba(39,85,146,0.14);
  border-top: 3px solid var(--color-accent);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 20px 24px 22px 24px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieBannerSlideUp 0.42s cubic-bezier(.67,1.13,.32,1) 1;
}
@keyframes cookieBannerSlideUp {
  0% { transform: translateY(100%); opacity:0; }
  90% { opacity: .42; }
  100% { transform: translateY(0); opacity:1;}
}
.cookie-banner__text {
  max-width: 510px;
  line-height: 1.7;
  color: #234168;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-left: 16px;
}
.cookie-banner__button {
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  cursor: pointer;
  margin: 0 8px 0 0;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner__button--secondary {
  background: #eaeef6;
  color: #234168;
}
.cookie-banner__button--secondary:hover, .cookie-banner__button--secondary:focus {
  background: #F4F4F9;
  color: var(--color-primary);
}
.cookie-banner__button--settings {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 9px 21px;
  border-radius: 8px;
  margin-left: 1px;
}
.cookie-banner__button--settings:hover, .cookie-banner__button--settings:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 17px 5vw 22px 5vw;
  }
  .cookie-banner__actions {
    margin-left:0;margin-top:6px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,45,71,0.67);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.22s;
}
@keyframes cookieModalFadeIn {
  0%{ opacity:0; }
  100%{ opacity:1;}
}
.cookie-modal {
  background: #fff;
  width: 97vw;
  max-width: 400px;
  border-radius: 18px;
  padding: 28px 26px 25px 26px;
  color: #1f3357;
  box-shadow: 0 16px 40px 0 rgba(33,53,102,0.18);
  animation: cookieModalZoomIn 0.27s;
}
@keyframes cookieModalZoomIn {
  0% { transform: scale(0.8) translateY(20px); opacity:0; }
  90% { opacity: .7; }
  100% {transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f9fafd;
  border-radius: 8px;
  padding: 11px 0 10px 12px;
  margin-bottom: 11px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 21px;
  height: 21px;
  border-radius: 5px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 6px;
}
.cookie-category--essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
}

/* === UTILITY CLASSES === */
.hide {display:none!important;}
.mt-2 {margin-top:16px!important;}
.mt-3 {margin-top:24px!important;}
.mb-1 {margin-bottom:8px!important;}
.mb-2 {margin-bottom:16px!important;}
.mb-3 {margin-bottom:24px!important;}

/* === ANIMATION UTILITY === */
.fade-in {
  animation: fadeIn 0.5s cubic-bezier(.42,.83,.46,1.05);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* === FINE-TUNING & ACCESSIBILITY === */
:focus {
  outline-width: 2px;
  outline-color: var(--color-accent);
  outline-style: dashed;
}

::-webkit-scrollbar {
  width: 11px;
  background: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 9px;
}

/* === END OF STYLE.CSS === */
