/* ------------------ CSS RESET & NORMALIZE ------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1C2845;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.7em;
  margin-bottom: 20px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
:focus {
  outline: 2px solid #134074;
  outline-offset: 2px;
}

/* ------------------ BRAND VARS (Fallbacks) ------------------ */
:root {
  --color-primary: #134074;
  --color-secondary: #E6EFF6;
  --color-accent: #FABC3C;
  --color-text: #1C2845;
  --color-card: #fff;
  --color-shadow: rgba(19, 64, 116, 0.08);
  --color-border: #C5D0E6;
  --radius: 16px;
  --shadow: 0 6px 24px var(--color-shadow);
}

/* Fallback for custom properties */
body {
  background: #fff;
}


/* ------------------ TYPOGRAPHY ------------------ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
  line-height: 1.15;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.15;
  text-transform: uppercase;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

p, li, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
.text-center {
  text-align: center;
}

/* --- Visual Hierarchy for Cards and Features --- */
.feature-item h3, .features-list h3, .blog-list h3, .category-filters {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ------------------ CONTAINERS & LAYOUT ------------------ */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.content-wrapper.text-center {
  align-items: center;
  text-align: center;
}

/* Flex layout utility containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -10px;
}
.card {
  background: var(--color-card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border: 1.5px solid var(--color-border);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 32px rgba(19,64,116,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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  background: var(--color-secondary);
  border-radius: var(--radius);
  border: 1.5px solid var(--color-border);
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(19, 64, 116, 0.07);
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  color: #1C2845;
  font-size: 1.05rem;
}
.testimonial-card strong {
  font-size: 0.99rem;
  color: #134074;
}

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

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.features-list > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--color-secondary);
  border-radius: var(--radius);
  border: 1.2px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(19,64,116,0.06);
  padding: 20px 22px 18px 22px;
  min-width: 200px;
  flex: 1 1 220px;
  transition: transform 0.13s, box-shadow 0.13s;
}
.features-list > div:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 18px rgba(19,64,116,0.09);
}
.features-list img {
  width: 44px;
  aspect-ratio: 1/1;
  margin-bottom: 8px;
}

/* Blog Section */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-list article {
  display: flex;
  flex-direction: column;
  background: var(--color-secondary);
  border: 1.2px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(19,64,116,0.07);
  min-width: 240px;
  flex: 1 1 280px;
  padding: 22px 20px 18px 22px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-list article:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 18px rgba(19,64,116,0.10);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.015em;
  font-size: 1rem;
}
.category-filters a {
  background: var(--color-card);
  padding: 6px 16px;
  border-radius: 22px;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background .13s, color .13s, box-shadow .15s;
}
.category-filters a:hover {
  background: var(--color-accent);
  color: #134074;
  box-shadow: 0 2px 8px rgba(250, 188, 60, 0.08);
}

/* ------------------ HEADER & NAVBAR ------------------ */
header {
  background: #fff;
  box-shadow: 0 3px 20px rgba(19,64,116,0.06);
  border-bottom: 1.5px solid #D6E2F2;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 900;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.logo img {
  width: 168px;
  height: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
}
nav a {
  padding: 9px 0 9px 0;
  color: #134074;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  transition: color 0.13s, border-color 0.19s;
}
nav a:hover {
  color: #FABC3C;
  border-bottom: 2px solid #FABC3C;
}
.btn {
  border-radius: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border: none;
  box-shadow: 0 4px 16px rgba(250, 188, 60, 0.08);
  cursor: pointer;
  transition: box-shadow 0.15s, background .12s, color .12s, transform .10s;
}
.btn-primary {
  background: var(--color-accent);
  color: #134074;
  border: 1.5px solid #fbe6b4;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffd465;
  color: #194a7e;
  transform: scale(1.04);
}
.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border: 1.5px solid #f5f8fc;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #194a7e;
  color: #fff;
}

/* Hide on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #134074;
  padding: 0 10px;
  margin-left: 10px;
  cursor: pointer;
  transition: color .18s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  color: #FABC3C;
}

/* ------------------ MOBILE NAV MENU ------------------ */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(0.74,0.01,0.21,1.00);
  box-shadow: 0 10px 40px rgba(19,64,116,0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #134074;
  align-self: flex-end;
  margin: 22px 18px 2px 0;
  background: none;
  border: none;
  transition: color .18s;
  z-index: 1202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FABC3C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  margin: 0 0 0 24px;
  padding: 18px 0 0 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #134074;
  padding: 10px 0;
  letter-spacing: 0.03em;
  border-bottom: 1.5px solid #E6EFF6;
  width: fit-content;
  transition: color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FABC3C;
}

/* Hamburger menu: show on mobile only */
@media (max-width: 968px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .btn.btn-primary {
    margin-left: 0;
  }
}

@media (max-width: 968px) {
  .mobile-menu {
    width: 90vw;
    max-width: 410px;
    min-width: 260px;
  }
}

/* ------------------ HERO + CALL TO ACTION ------------------ */
.hero {
  background: linear-gradient(105deg, #E6EFF6 72%, #FABC3C 120%);
  border-bottom: 1.5px solid #C5D0E6;
  padding: 65px 0 55px 0;
  min-height: 310px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #134074;
  font-size: 2.4rem;
  letter-spacing: 0.01em;
}
.hero p {
  color: #1C2845;
  font-size: 1.15rem;
  max-width: 630px;
}
.hero .btn {
  margin-top: 17px;
}

/* ------------------ SPECIAL ELEMENTS ------------------ */
.contact-info ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info li {
  display: flex;
  align-items: center;
  font-size: 1.09rem;
  color: var(--color-primary);
}
.contact-info img {
  width: 28px;
  margin-right: 12px;
}

/* ------------------ LISTS ------------------ */
ul {
  list-style: disc inside;
  padding-left: 24px;
  margin-bottom: 18px;
  margin-top: 8px;
}
/* For policies */
.content-wrapper ul {
  margin-bottom: 18px;
  margin-top: 8px;
}
.content-wrapper li {
  margin-bottom: 10px;
  color: #1C2845;
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #E6EFF6;
  border-top: 2.5px solid #C5D0E6;
  padding: 35px 0 11px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 220px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #14487A;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .16s, text-decoration .16s;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #FABC3C;
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 2 2 300px;
}
.footer-contact img {
  width: 42px;
  margin-bottom: 4px;
}
footer address {
  font-style: normal;
  color: #1C2845;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0;
}
footer a {
  color: #1C2845;
}
footer a:hover {
  color: #134074;
}

/* ------------------ COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F8FAFB;
  border-top: 1.5px solid #C5D0E6;
  box-shadow: 0 -4px 16px rgba(19,64,116,0.10);
  padding: 24px 20px 16px 20px;
  z-index: 1800;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
  font-size: 1.065rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #1C2845;
  max-width: 500px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner .btn {
  min-width: 120px;
  font-size: 0.98rem;
  padding: 8px 18px;
  border-radius: 10px;
}
.cookie-banner .btn-primary {
  background: #FABC3C;
  color: #134074;
  border: 1.2px solid #F0DCAB;
}
.cookie-banner .btn-primary:hover {
  background: #ffd465;
}
.cookie-banner .btn-secondary {
  background: #134074;
  color: #fff;
  border: 1.2px solid #e6eff6;
}
.cookie-banner .btn-secondary:hover {
  background: #1c2845;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2001;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 64, 116, 0.16);
  justify-content: center;
  align-items: center;
  transition: opacity 0.28s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 40px 28px 28px 28px;
  box-shadow: 0 0 40px rgba(19,64,116,0.18);
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #134074;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #E6EFF6;
  border: 1.5px solid #C5D0E6;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FABC3C;
  transition: left 0.19s, background 0.14s;
}
.cookie-toggle input[type="checkbox"]:checked + .slider {
  left: 20px;
  background: #134074;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* ------------------ RESPONSIVE DESIGN ------------------ */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-contact {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.43rem; }
  h3 { font-size: 1.09rem; }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .hero { padding: 42px 0 35px 0; }
  .features-list, .testimonials, .card-container, .content-grid, .blog-list {
    flex-direction: column;
    gap: 20px;
  }
  .features-list > div, .testimonial-card, .card {
    min-width: unset;
    width: 100%;
    flex: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .section {
    margin-bottom: 28px;
    padding: 28px 6px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 525px) {
  .logo img {
    width: 125px;
  }
  .btn {
    font-size: 0.96rem;
    padding: 9px 14px;
  }
  .hero h1 {
    font-size: 1.27rem;
  }
  .footer-contact img {
    width: 32px;
  }
}

/* ------------------ GEOMETRIC ELEMENTS & STRUCTURE ------------------ */
/* For geometric_structured flavor: add angular corners, shapes, polygonal effects */
.features-list > div, .testimonial-card, .card, .blog-list article {
  clip-path: polygon(6% 0, 94% 0, 100% 16%, 100% 90%, 94% 100%, 6% 100%, 0 90%, 0 16%);
  border-radius: 18px;
}
.section, .content-wrapper, .hero {
  border-radius: 22px 22px 11px 11px;
}

/* Little triangles for CTA */
.btn-primary::after {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background: url('assets/icons/icon-cta-arrow.svg') no-repeat center center / 100% 100%;
  margin-left: 10px;
}

/* Remove icon on buttons that do not need it */
.btn-primary.no-arrow::after { display: none; }

/* -------------- MICROS & TRANSITIONS --------------*/
.btn, .features-list > div, .card, .blog-list article, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s, background 0.12s, border 0.22s;
}
.btn:active {
  transform: scale(.97);
}
.category-filters a:active {
  transform: scale(.96);
}

/* ------------------- ACCESSIBILITY -------------------*/
body, .hero p, .testimonials p, .testimonial-card p {
  color: #1C2845;
}
.testimonial-card p, .testimonial-card strong {
  color: #1C2845;
}

/* --- Utility --- */
.mt-4 { margin-top: 28px; }
.mb-4 { margin-bottom: 28px; }

/* ------------------ PRINT ------------------ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container, .section, .content-wrapper { background: #fff !important; color: #1C2845 !important; }
}
