/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F7FB;
  color: #274368;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
button {
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}

/* GOOGLE FONTS (preconnect and fallbacks are in HTML) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* BRAND COLORS */
:root {
  --color-primary: #325276;
  --color-primary-dark: #274368;
  --color-secondary: #F6F7FB;
  --color-bg: #FFFFFF;
  --color-accent: #FFAD2A;
  --color-accent-dark: #ffa000;
  --color-muted: #B9C5D5;
  --color-shadow: rgba(50, 82, 118, 0.10);
  --radius-md: 16px;
  --radius-lg: 36px;
  --header-height: 80px;
}

/* FLEX CONTAINERS & SPACING */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px var(--color-shadow);
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px var(--color-shadow);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
  z-index: 1;
}
.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: var(--color-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  color: #1a2233;
  font-size: 1rem;
  transition: box-shadow 0.2s;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #325276 0%, #274368 100%);
  z-index: 10;
  box-shadow: 0 2px 16px var(--color-shadow);
  min-height: var(--header-height);
  transition: box-shadow 0.2s;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 12px;
  color: #fff;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.cta-primary {
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 28px;
  padding: 12px 28px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.16s;
  display: inline-block;
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent-dark);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 20px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin-left: 10px;
  transition: color 0.2s, transform 0.18s;
  z-index: 22;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  color: var(--color-accent);
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(115deg, #325276 0%, #274368 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.22, .68, .56, 1.27);
  box-shadow: 6px 0 16px var(--color-shadow);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-start;
  transition: color 0.18s, transform 0.17s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 48px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 0 12px 12px 0;
  min-width: 64vw;
  transition: background 0.15s, color 0.15s, padding 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding-left: 12px;
}

/* HERO + HEADINGS */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p, li, ul, ol {
  font-size: 1.07rem;
  color: #325276;
  line-height: 1.7;
}
.text-section {
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  font-size: 1.03rem;
  color: #325276;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.address-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  color: #325276;
  background: transparent;
}

/* ICONS IN LISTS */
li img {
  width: 30px;
  height: 30px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
}
li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* OL/Q&A */
ol {
  counter-reset: counter1;
}
ol > li {
  list-style: none;
  position: relative;
  padding-left: 34px;
}
ol > li::before {
  counter-increment: counter1;
  content: counter(counter1) '.';
  position: absolute;
  left: 0; top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* BUTTONS GENERIC */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  border: none;
  border-radius: 36px;
  transition: background 0.21s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
button:active, .cta-primary:active {
  transform: scale(0.98);
}

/* FOOTER */
footer {
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 32px var(--color-shadow);
  padding: 34px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin: 0 auto 0 auto;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.07rem;
  padding: 2px 7px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
footer nav a:hover {
  color: var(--color-accent-dark);
  background: var(--color-secondary);
}
footer p {
  font-size: 1rem;
  color: #789;
  margin-top: 2px;
}

/* ANIMATIONS */
.section, .card, .testimonial-card, .text-section {
  opacity: 0;
  transform: translateY(28px);
  animation: sectionFadeIn 0.65s ease-out forwards;
}
@keyframes sectionFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE DESIGN (Mobile First) */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    height: var(--header-height);
  }
  header nav {
    display: none !important;
  }
  .cta-primary {
    padding: 10px 24px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 28px);
  max-width: 540px;
  z-index: 10100;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 24px var(--color-shadow), 0 -1px 10px var(--color-shadow);
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.16, .81, .42, 1.01), opacity 0.29s;
  font-size: 1rem;
  color: #325276;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-banner button {
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 20px;
  background: var(--color-secondary);
  border: 1.5px solid var(--color-accent);
  color: var(--color-primary);
  font-weight: bold;
  margin: 0 4px;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.2s, color 0.14s, border 0.14s;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: #fff;
  border: none;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-accent-dark);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(50,82,118, 0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 64px var(--color-shadow);
  max-width: 400px;
  width: 96vw;
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalFadeIn 0.45s cubic-bezier(.2,1,.32,1);
}
@keyframes cookieModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--color-primary);
  text-align: left;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #274368;
}
.cookie-switch {
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: var(--color-muted);
  border-radius: 16px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-accent);
}
.cookie-slider::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider::after {
  transform: translateX(20px);
}
.cookie-category .locked {
  color: var(--color-accent-dark);
  font-size: 1.1em;
  margin-left: 5px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal button {
  padding: 8px 18px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
  font-weight: 600;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.19s, color 0.14s;
}
.cookie-modal .accept {
  background: var(--color-accent);
  color: #fff;
  border: none;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: var(--color-accent-dark);
  color: #fff;
}

/* MISCELLANEOUS UTILITY CLASSES */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-1 { margin-top: 8px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

/* GRADIENT BACKGROUNDS FOR MODERN FEEL */
body {
  background: linear-gradient(125deg, #F6F7FB 0%, #FFFFFF 100%);
}
.section:nth-child(odd) {
  background: linear-gradient(109deg, #F6F7FB 77%, #e4ebf7 100%);
}
.cta-primary, .cookie-banner .accept, .cookie-modal .accept {
  background: linear-gradient(90deg, #FFAD2A 50%, #ffa000 100%);
}

/* MICRO-INTERACTIONS */
.cta-primary:active {
  transform: scale(0.98);
  filter: brightness(0.99);
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 6px 32px var(--color-shadow), 0 0 0 1.5px var(--color-accent);
}
.testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.testimonial-card:hover{
  box-shadow: 0 6px 32px rgba(50, 82, 118, 0.16);
  transform: translateY(-2px) scale(1.01);
}

/* INPUTS & FORM ELEMENTS (for contact or future forms) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  border: 1.5px solid var(--color-muted);
  border-radius: 12px;
  padding: 9px 15px;
  margin-bottom: 12px;
  outline: none;
  transition: border 0.17s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 1px 8px var(--color-shadow);
}

/* Ensure all cards/sections have at least 20px spacing */
.section + .section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 28px;
}

/* Hide scroll on mobile menu when open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Ensure all testimonial text is dark on light for contrast */
.testimonial-card {
  background: var(--color-secondary);
  color: #1a2233;
}

/* --- END CSS --- */
