/* 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;
  scroll-behavior: smooth;
  font-size:16px;
  background: #F7F9FB;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A2330;
  background: #F7F9FB;
  min-height: 100vh;
  line-height: 1.6;
}

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

/* ---------- GENERAL LAYOUT & GEOMETRIC GRID ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 6px 18px 0 rgba(0, 40, 96, 0.07);
}

@media (max-width: 768px) {
  .section, section {
    margin-bottom: 40px;
    padding: 24px 10px;
    border-radius: 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 87, 175, 0.07);
  padding: 28px 24px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 70, 132, 0.13);
  z-index:3;
}

.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F7F9FB;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(0,70,132,0.07);
  border: 2px solid #E4E8EE;
  max-width: 600px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: #F5B800;
  box-shadow: 0 4px 18px 0 rgba(0,70,132,0.09);
}
.testimonial-card span {
  font-size: 1rem;
  color: #004684;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card p {
  color: #242B35;
  font-size: 1.1rem;
}

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

/* --------- HEADER & NAVIGATION ---------- */
header {
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0,70,132,0.06);
  position: sticky;
  z-index: 100;
  top: 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  max-height: 48px;
  min-height: 32px;
  margin-right: 28px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  color: #004684;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.14s, color 0.17s;
  letter-spacing: 0.02em;
}
nav a:hover, .mobile-nav a:hover {
  background: #F5B800;
  color: #004684;
}
.cta-nav {
  background: #004684;
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 16px 0 rgba(0,70,132,0.08);
  transition: background 0.2s, color 0.2s;
}
.cta-nav:hover {
  background: #F5B800;
  color: #004684;
}

/* ------- MOBILE NAVIGATION ------- */
.mobile-menu-toggle {
  display: none;
  background: #F5B800;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1.9rem;
  color: #004684;
  cursor: pointer;
  transition: background 0.21s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #004684;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 0 9999px rgba(30, 37, 56, 0.07);
  padding: 44px 22px 22px 22px;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #004684;
  cursor: pointer;
  margin-bottom: 24px;
  z-index:10002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: #004684;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0 14px 0;
  font-size: 1.25rem;
  text-decoration: none;
  border-radius:6px;
  transition: background 0.15s, color 0.18s;
  background: none;
}
.mobile-nav a.cta-nav {
  color: #fff;
  background: #004684;
}

@media (max-width: 991px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------- HEADINGS & TYPOGRAPHY ----------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #00345C;
  margin-bottom:8px;
  letter-spacing: 0.01em;
  line-height: 1.16;
}
h1 { font-size: 2.8rem; margin-bottom:18px; }
h2 { font-size: 2rem; margin-bottom:10px; }
h3 { font-size: 1.25rem; margin-bottom:5px; }
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
  h3 {font-size: 1.1rem;}
}
p, ul, ol {
  margin-bottom: 10px;
  color: #242B35;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {font-weight: 700;}
em {font-style: italic;}

ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
}

ul li img, ol li img {
  vertical-align: middle;
  margin-right: 6px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Icon in list - geometric circle */
ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #F5B800;
}
ul li img {
  margin-left: -18px !important;
}
ul li {
  padding-left: 0;
}
ul li > img:first-child {
  margin-left: 0;
}

/* Remove list marker if img as first child */
ul li > img:first-child + * {
  margin-left: 6px;
}
ul li > img:first-child {
  margin-right: 6px;
}

/* -------- BUTTONS & CTA --------- */
.cta-btn, .cta-nav {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-radius: 16px;
  background: #F5B800;
  color: #004684;
  font-weight: 700;
  border: none;
  box-shadow: 0 6px 16px 0 rgba(0,87,175,0.07);
  padding: 13px 38px;
  cursor: pointer;
  margin-top:12px;
  text-align: center;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #004684;
  color: #fff;
  box-shadow: 0 10px 32px 0 rgba(0,87,175,0.16);
}

.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-radius: 22px;
  background: #004684;
  color: #fff;
  padding: 40px 18px;
  box-shadow: 0 6px 22px 0 rgba(0,70,132,0.13);
  text-align: center;
  margin: 0 auto;
}
.cta-banner h2, .cta-banner p {color:#fff;}
.cta-banner .cta-btn {
  background: #F5B800;
  color: #004684;
  box-shadow: none;
  margin-top: 18px;
}

/* ----------- FOOTER ------------- */
footer {
  background: #fff;
  border-top: 3px solid #F5B800;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 20px 12px 20px;
}
footer nav {
  display: flex;
  gap: 14px;
}
footer nav a {
  color: #004684;
  padding: 4px 8px;
  border-radius: 6px;
  background: none;
  font-size:1rem;
  font-family:'Montserrat', Arial, sans-serif;
}
footer nav a:hover {
  background: #F5B800; color:#004684;
}
.footer-contact {
  color: #242B35;
  font-size: .98rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: right;
}
footer small {
  width: 100%;
  text-align: center;
  color: #999;
  margin-top: 10px;
}
@media (max-width: 991px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}

/* ------------- COOKIE BANNER  --------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: #fff;
  box-shadow: 0 0 18px 2px rgba(0,28,53,0.15);
  border-top: 4px solid #F5B800;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  flex-wrap: wrap;
  opacity:1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.5s cubic-bezier(.77,0,.18,1);
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 9px 20px;
  border: none;
  font-weight: 600;
  margin-left: 9px;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #F5B800;
  color: #004684;
}
.cookie-banner .accept:hover {
  background: #004684;
  color: #fff;
}
.cookie-banner .reject {
  background: #E4E8EE;
  color: #004684;
}
.cookie-banner .reject:hover {
  background: #004684;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #004684;
  border: 2px solid #004684;
}
.cookie-banner .settings:hover {
  color: #fff;
  background: #004684;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 9px;
  }
  .cookie-banner button {
    margin-left: 0;
  }
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(70px);
  pointer-events:none;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left:50%;
  top: 54%;
  transform:translate(-50%,-50%) scale(1);
  z-index: 5050;
  background: #fff;
  box-shadow: 0 10px 44px 0 rgba(0,40,96,.19);
  border-radius: 24px;
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 97vh;
  opacity: 1;
  transition: transform 0.44s cubic-bezier(.77,0,.18,1), opacity 0.3s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal.hidden {
  opacity:0;
  pointer-events:none;
  transform:translate(-50%, 120%) scale(.96);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #004684;
}
.cookie-modal ul {
  list-style: none;
  padding: 0 0 0 0;
  margin: 0 0 12px 0;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size:1.03rem;
  margin-bottom: 10px;
  font-family:'Roboto', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F5B800;
  width: 1.1em; height: 1.1em;
  border-radius: 3px;
  border: 1.5px solid #004684;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top:10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 26px;
  background: none;
  border: none;
  color: #004684;
  font-size: 1.7rem;
  cursor:pointer;
  z-index: 1000;
}

/* ---- FORMS & INPUTS ---- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 13px;
  border: 1.5px solid #D1D6DE;
  border-radius: 8px;
  background: #fff;
  width: 100%;
  margin-bottom: 14px;
  box-sizing: border-box;
  outline: none;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F5B800;
}

::placeholder {
  color: #B1B8C9;
  font-size: 1rem;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #00345C;
  font-weight: 500;
}

/* --------- VISUAL EFFECTS & GEOMETRIC DECOR --------- */
/* Geometric shapes for page accents */
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: 0; 
  bottom: 0;
  width: 90px; height: 90px;
  background: rgba(245,184,0,0.09);
  border-radius: 0 0 20px 0;
  clip-path: polygon(100% 0,100% 100%,0% 100%);
  z-index: 1;
  pointer-events:none;
}
@media (max-width:500px){
  .section::after {display: none;}
}

.card::before {
  content: '';
  display: block;
  position: absolute;
  left: -16px; top: -16px;
  width: 36px; height: 36px;
  background: rgba(0,70,132,0.09);
  border-radius: 0 16px 0 0;
  z-index: 0;
}
.card:hover::before {
  background: rgba(245,184,0,0.11);
}

/* ------------ RESPONSIVE SPACING -------------- */
@media (max-width: 600px) {
  .container { padding-left:8px; padding-right:8px; }
  .cta-btn, .cta-nav { padding: 11px 18px; font-size:1rem; }
}

/* ------------- MICROINTERACTIONS -------------- */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.23s, color 0.13s, box-shadow 0.18s,
              transform 0.2s cubic-bezier(.4,2.5,.59,.94);
}
button:active, .cta-btn:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}

.arrow-link {
  display:inline-flex;
  align-items:center;
  color:#004684;
  font-weight:600;
  text-decoration:none;
  border-radius:5px;
  transition: color 0.18s, background 0.17s;
  gap:2px;
}
.arrow-link:hover {
  color:#F5B800;
  background:rgba(245,184,0,0.13);
}

/* -------- TYPOGRAPHY SCALE FOR STRUCTURE / HIERARCHY -------- */
.display-1 { font-size: 3.4rem; font-family:'Montserrat'; font-weight:700; }
.display-2 { font-size: 2.6rem; font-family:'Montserrat'; font-weight:700; }
.text-large { font-size: 1.18rem; font-family: 'Roboto'; }

/* -------- IMAGES, ICONS & AVATARS -------- */
img {
  max-width: 100%;
  height: auto;
  border-radius: 7px;
  vertical-align: middle;
}

/* ----------- MISC. UTILS ------------ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.gap-2 { gap: 14px; }

/* ------- ENSURE NO OVERLAPPING FLEX SPACING ------- */
.card-container > *,
.content-grid > *,
.text-image-section > *,
.feature-item > * {
  margin-right:0;
  margin-bottom:0;
}

/* ------- ACCESSIBILITY: FOCUS STATES ------- */
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus {
  outline: 2.5px solid #F5B800;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #F5B80040;
  z-index: 2002;
}

/* ------------- COLOR & CONTRAST CORRECTION ------------- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: #F7F9FB;
  color: #242B35;
}

/* --------- REMOVE INNER SHADOWS & SCROLLBAR FOR DECORATIVE ---------- */
.scrollable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
::-webkit-scrollbar {
  width: 12px; background: #EFF2F8; border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #D1D6DE; border-radius: 10px;
}

/* ------------- GEOMETRIC SECTION TITLES ------------- */
.section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #004684;
  position: relative;
}
.section h2::after {
  content: '';
  display: block;
  width: 36px; height: 4px;
  border-radius: 2px;
  background: #F5B800;
}
@media(max-width:600px){
  .section h2::after{ width:22px;height:3px;}
}

/* ----------- BLOG PAGE CATEGORIES ---------- */
section a[href^="#"] {
  color: #F5B800;
  font-weight:550;
  text-decoration:underline;
}

a {
  cursor:pointer;
}

/* ------------- RESPONSIVE IMAGES & ICONS -------------- */
ul li img, .text-section img {
  width: 28px; height: 28px; margin-right:8px; border-radius:0; background:none;
}
@media (max-width:700px){
  ul li img, .text-section img { width:22px;height:22px; }
}

/* ------------- GEOMETRIC/CARD SHAPE DETAILS -------------- */
.card, .testimonial-card {
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(0,70,132,0.08);
}
@media(max-width:550px){
  .card, .testimonial-card { border-radius:8px; }
}

/* ----------- MODAL OVERLAY ---------- */
.cookie-modal-overlay {
  position:fixed;
  left:0;top:0;right:0;bottom:0;
  background:rgba(22,32,55,0.17);
  z-index:5040;
  transition:opacity 0.23s;
}
.cookie-modal-overlay.hidden {
  opacity:0;
  pointer-events:none;
}

/* ------------ FORMS (if present) -------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}
form > label {
  font-size: 1rem;
  font-weight:600;
  margin-bottom:1px;
}

/* ---- COLORED BARS FOR STRUCTURAL SEPARATION ---- */
.hr-accent {
  height: 3.5px;
  border: none;
  border-radius: 2px;
  background: #F5B800;
  margin: 28px auto;
  width: 68px;
  opacity:0.78;
}

/* ----------- DESKTOP & MOBILE HIERARCHY ----------- */
@media (max-width:992px){
  .content-wrapper, .card-container, .content-grid {
    gap:16px;
  }
}

@media (max-width:480px) {
  h1 {font-size:1.15rem;}
  h2 {font-size:1.08rem;}
  .cta-banner {padding:20px 7px;}
  .cookie-modal {padding:21px 7px 17px 7px;}
}

/* ------ CLEAR FLOATS AND REMOVE GRID/COLUMN PROPS ------- */
/* (To guarantee no forbidden props, not used elsewhere) */

/* END OF STYLE.CSS */
