/* CSS RESET & BASE -------------------------------------------------- */
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, 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: #FAFAFA;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
a {
  color: #13315C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #F4B942;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
:focus {
  outline: 2px solid #13315C;
  outline-offset: 2px;
}

/* BRAND COLORS (CSS Variables for fallback) ------------------------ */
:root {
  --color-primary: #13315C;
  --color-secondary: #F4B942;
  --color-accent: #FFFFFF;
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-muted: #EBEBEB;
  --color-border: #E0E5ED;
  --color-text: #222;
  --color-text-light: #6C6C6C;
  --color-shadow: rgba(19,49,92,0.08);
  --radius: 12px;
  --radius-small: 8px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* GLOBAL CONTAINER & LAYOUT -------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* SECTIONS & SPACING (MANDATORY) --------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: #F7F9FA;
  box-shadow: 0 1.5px 6px var(--color-shadow);
  margin-bottom: 20px;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-surface);
  border-radius: var(--radius-small);
  box-shadow: 0 1.5px 6px var(--color-shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* TYPOGRAPHY ----------------------------------------------------- */
h1, .h1 {
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, li, address, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.subheadline {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
blockquote {
  font-size: 1.1rem;
  color: var(--color-primary);
  border-left: 3px solid var(--color-secondary);
  padding-left: 14px;
  margin-bottom: 8px;
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  font-style: italic;
  background: rgba(244,185,66,0.05);
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* HEADER & NAVIGATION -------------------------------------------- */
header {
  width: 100%;
  background: var(--color-surface);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 0;
  z-index: 98;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header img {
  height: 52px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  padding: 7px 12px;
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-small);
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a.active,
.mobile-nav a.active {
  background: var(--color-secondary);
  color: #13315C;
}
.cta-btn {
  background: var(--color-primary);
  color: #FFF;
  border-radius: var(--radius-small);
  padding: 11px 24px;
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  margin-left: 15px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-secondary);
  color: #13315C;
  box-shadow: 0 4px 14px var(--color-shadow);
}

/* MOBILE MENU ---------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 150;
  background: var(--color-primary);
  color: #FFF;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-surface);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  box-shadow: 6px 0 28px rgba(19,49,92,0.09);
  padding: 0 0 0 0;
  
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-muted);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.85rem;
  color: var(--color-primary);
  z-index: 201;
  transition: background 0.16s;
  border: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.08rem;
  color: var(--color-primary);
  padding: 12px 8px;
  width: 100%;
  border-radius: var(--radius-small);
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* MAIN HERO/INTRO SECTIONS --------------------------------------- */
main section {
  margin-bottom: 60px;
}
main .container > h1,
main .container > h2 {
  margin-bottom: 24px;
}

/* LISTS, ICONS, ICON LISTS ---------------------------------------- */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 5px;
  margin-bottom: 10px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-text);
  padding: 10px 0 10px 0;
  min-height: 30px;
}
.content-wrapper ul li img {
  height: 27px;
  width: 27px;
  object-fit: contain;
}
.content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 10px;
}
.content-wrapper ol li {
  position: relative;
  font-size: 1rem;
  color: var(--color-text);
  padding-left: 0;
}

/* BUTTONS & INTERACTIVE ELEMENTS --------------------------------- */
button, .cta-btn {
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}

/* TESTIMONIALS --------------------------------------------------- */
.testimonial-card {
  background: #F7F9FA;
  color: #13315C;
  box-shadow: 0 2px 8px var(--color-shadow);
  border-left: 6px solid var(--color-secondary);
  font-size: 1.07rem;
}
.testimonial-card blockquote {
  color: #13315C;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: var(--color-text-light);
  font-size: 0.98rem;
  margin-left: 4px;
}

/* FOOTER --------------------------------------------------------- */
footer {
  background: var(--color-surface);
  color: var(--color-primary);
  padding: 32px 0 14px 0;
  border-top: 1.5px solid var(--color-border);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 0px;
  flex-wrap: wrap;
  align-items: center;
}
footer nav a {
  color: var(--color-primary);
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: var(--radius-small);
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
footer .text-section {
  color: var(--color-text-light);
  font-size: 0.97rem;
  margin-top: 0px;
  gap: 2px;
}
footer .text-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ADDRESS -------------------------------------------------------- */
address {
  font-style: normal;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* CARD GRID (for blog articles/features) -------------------------- */
.card-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.14s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px var(--color-shadow);
}

/* ANIMATIONS & TRANSITIONS --------------------------------------- */
.cta-btn, 
button, 
.mobile-menu-toggle, 
.mobile-menu-close, 
nav a, 
.mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) ------------------------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cta-btn {
    margin-left: 0px;
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  /* STACK HEADER/LAYOUTS */
  header .container {
    flex-direction: row;
    gap: 0;
    justify-content: flex-start;
  }
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 10px;
  }
  .section, main section, .card, .testimonial-card, .feature-item {
    padding: 22px 10px;
    margin-bottom: 34px;
  }
  .card-grid, .card-container, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 490px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cta-btn { font-size: 1rem; padding: 10px 14px; }
}

/* UTILITIES ------------------------------------------------------ */
.mt-2  { margin-top: 8px!important; }
.mt-3  { margin-top: 16px!important; }
.mt-4  { margin-top: 24px!important; }
.mb-2  { margin-bottom: 8px!important; }
.mb-3  { margin-bottom: 16px!important; }
.mb-4  { margin-bottom: 24px!important; }
.gap-2 { gap: 8px!important; }
.gap-3 { gap: 16px!important; }
.gap-4 { gap: 24px!important; }

/* COOKIE CONSENT (required) -------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF;
  color: var(--color-primary);
  box-shadow: 0 -6px 24px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 5000;
  padding: 18px 32px;
  min-height: 80px;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.4,0,.2,1), opacity 0.16s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-settings-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 9px 22px;
  border-radius: var(--radius-small);
  font-weight: 600;
  font-family: 'Exo', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0px 2.5px 8px var(--color-shadow);
  border: none;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.15s;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: var(--color-primary);
  color: #FFF;
}
.cookie-btn.reject {
  background: var(--color-muted);
  color: var(--color-text);
  margin-right: 4px;
}
.cookie-btn.reject:hover {
  background: #c5c5c5;
}

/* COOKIE MODAL --------------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 410px;
  background: #FFF;
  box-shadow: 0 16px 50px var(--color-shadow);
  border-radius: var(--radius);
  z-index: 6000;
  transform: translate(-50%,-50%) scale(1);
  transition: opacity 0.25s, transform 0.32s;
  opacity: 1;
  padding: 32px 20px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(0.98);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 19px;
  height: 19px;
}
.cookie-category .category-desc {
  color: var(--color-text-light);
  font-size: 0.96em;
  margin-left: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px 10px;
    align-items: flex-start;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-modal {
    width: 98vw;
    max-width: 98vw;
    padding: 26px 7px 16px 11px;
    font-size: 0.96rem;
  }
}

/* FOCUS STATES & ACCESSIBILITY ------------------------------------ */
.cta-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, nav a:focus, .mobile-nav a:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2.5px;
}
::-webkit-input-placeholder { color: #AAA; }
::-moz-placeholder { color: #AAA; }
:-ms-input-placeholder { color: #AAA; }
::placeholder { color: #AAA; }

/* MISC ---------------------------------------------------------- */
hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 24px 0;
}

/* Hide scroll on cookie modal open, if needed (for js) ----------- */
body.modal-open {
  overflow: hidden;
}

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