/* ==== 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,
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 {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  font-size: 16px;
  background: #F4F6F8;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #F4F6F8;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}

a {
  color: #1A3764;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #EF8432;
}

ul, ol {
  list-style: none;
}

ol {
  list-style-type: decimal;
  margin-left: 1.5em;
}

/* ==== Typography ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3764;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

p, li, details, summary, input, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
}

.subheadline {
  font-size: 1.25rem;
  color: #1A3764;
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 24px;
}

strong {
  color: #1A3764;
  font-weight: 700;
}

/* ==== Container Utility ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==== Header & Navigation ==== */
header {
  background: linear-gradient(90deg, #1A3764 60%, #25467a 100%);
  padding: 0;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 8px 0 rgba(26, 55, 100, 0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

header img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #EF8432;
  border-bottom: 2px solid #EF8432;
}

.cta-btn {
  background: linear-gradient(90deg, #EF8432 0%, #e47721 100%);
  border-radius: 30px;
  border: none;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 28px;
  font-weight: 700;
  box-shadow: 0 4px 20px 0 rgba(239, 132, 50, 0.11);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.18s, transform 0.12s;
  margin-left: 6px;
  display: inline-block;
  white-space: nowrap;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #e47721 0%, #EF8432 100%);
  color: #fff;
  box-shadow: 0 2px 20px 0 rgba(239,132,50,0.20);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.secondary {
  background: #fff;
  color: #1A3764 !important;
  border: 2px solid #EF8432;
  box-shadow: none;
}
.cta-btn.secondary:hover {
  background: #EF8432;
  color: #fff !important;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  display: none;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #EF8432;
}

/* ==== Mobile Navigation ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1A3764;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.86,0,0.07,1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 0 20px rgba(26,55,100,0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 24px;
  right: 26px;
  cursor: pointer;
  z-index: 1101;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #EF8432;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 90px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EF8432;
}

/* ==== Hero Section ==== */
.hero {
  background: linear-gradient(106deg, #f4f6f8 40%, #e6ecf5 100%);
  padding: 0;
  margin-bottom: 60px;
}
.hero .container {
  min-height: 340px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 700px;
  margin: 60px auto;
  padding: 32px 0;
}

/* ==== Section + Spacing & Layout Pattern === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(26,55,100,0.06);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, transform 0.15s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(26,55,100,0.13);
  transform: translateY(-4px) scale(1.016);
}

.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;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(26,55,100,0.07);
  margin-bottom: 20px;
  max-width: 480px;
  min-width: 0;
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card p {
  color: #212529;
  font-size: 1.1rem;
  margin-right: 8px;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #1A3764;
  opacity: 0.88;
  font-family: 'Montserrat', Arial, sans-serif;
}

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

/* ==== Features/Services/Step Cards ==== */
.feature-grid, .service-cards, .step-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div, .service-cards > div, .step-cards > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(26,55,100,0.08);
  padding: 28px 18px 28px 28px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.feature-grid > div:hover, .service-cards > div:hover, .step-cards > div:hover {
  box-shadow: 0 6px 28px 0 rgba(26,55,100,0.17);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img, .service-cards img, .step-cards img {
  height: 44px;
  width: 44px;
  aspect-ratio: 1/1;
  margin-bottom: 14px;
}

/* ==== Timeline/Visual steps ==== */
.timeline-visual, .visual-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 0 0;
  min-height: 60px;
}
.timeline-visual img, .visual-steps img {
  height: 60px;
  width: auto;
}

/* ==== FAQ/Details (Accordion Style) ==== */
.faq-list details, .faq-toggle details {
  margin-bottom: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(26,55,100,0.09);
  padding: 14px 18px;
  transition: box-shadow 0.19s;
  cursor: pointer;
  border: 2px solid transparent;
}
.faq-list details[open], .faq-toggle details[open] {
  box-shadow: 0 2px 12px 0 rgba(26, 55, 100, 0.11);
  border-color: #EF8432;
}
.faq-list summary, .faq-toggle summary {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3764;
  font-weight: 600;
  font-size: 1.08rem;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 8px;
}

/* ==== Checklist, Tips, Boxes ==== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.tip-boxes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.tip-boxes > div {
  background: #F4F6F8;
  border-left: 4px solid #EF8432;
  border-radius: 10px;
  padding: 18px 20px;
  color: #1A3764;
  min-width: 220px;
  flex: 1 1 180px;
}

/* ==== Info & Search Box (FAQ) ==== */
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(26,55,100,0.09);
  padding: 8px 18px;
  margin-bottom: 28px;
  max-width: 420px;
}
.search-box input {
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #222;
  flex: 1 1 auto;
  padding: 6px 0;
}
.search-box img {
  height: 24px;
  width: 24px;
  margin-left: 10px;
}

/* ==== Trust Badges ==== */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.trust-badges img {
  height: 38px;
  width: auto;
}
.trust-badges span {
  color: #EF8432;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
}

/* ==== Contact/Info/Map Sections ==== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  gap: 10px;
  color: #1A3764;
}
.contact-map {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f6f8;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.98rem;
  color: #8a96ac;
}
.privacy-note img {
  height: 20px;
  width: 20px;
}

.form-section .form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==== Legal/Info Pages ==== */
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(26,55,100,0.04);
  padding: 40px 24px;
  margin-bottom: 60px;
}
.legal h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.legal h2 {
  font-size: 1.3rem;
}
.legal h3 {
  font-size: 1.1rem;
  margin-top: 18px;
}
.legal ul {
  margin-left: 18px;
  list-style: disc;
  margin-bottom: 16px;
  color: #284584;
}

.opt-out-instructions {
  background: #f4f6f8;
  color: #1A3764;
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 10px;
  font-size: 0.97rem;
}

/* ==== Footer ==== */
footer {
  background: linear-gradient(90deg, #1A3764 75%, #25467a 100%);
  color: #fff;
  padding: 38px 0 28px 0;
  box-shadow: 0 -2px 16px 0 rgba(26,55,100,0.05);
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.83;
  font-size: 0.99rem;
  transition: color 0.17s, opacity 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover { color: #EF8432; opacity: 1; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #ccd3de;
  opacity: 0.98;
  align-items: center;
  justify-content: center;
}

/* ==== Cookie Consent Banner ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1A3764;
  color: #fff;
  z-index: 2000;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 -2px 24px 0 rgba(26,55,100,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  font-size: 1rem;
  width: 100vw;
  transition: transform 0.3s cubic-bezier(0.86,0,0.07,1);
}
.cookie-banner p {
  color: #fff;
  margin-right: 12px;
  flex: 1 1 240px;
  min-width: 0;
}
.cookie-banner .cookie-btn {
  background: #EF8432;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 22px;
  margin-left: 12px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.16s;
  box-shadow: 0 2px 8px 0 rgba(239,132,50,0.11);
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover {
  background: #ff9630;
}
.cookie-banner .cookie-btn.secondary {
  background: #fff;
  color: #1A3764;
  border: 1.5px solid #EF8432;
}
.cookie-banner .cookie-btn.secondary:hover {
  background: #ffe2ca;
  color: #EF8432;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2200;
  background: #fff;
  color: #222;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(26,55,100,0.19);
  min-width: 320px;
  max-width: 98vw;
  width: 410px;
  padding: 34px 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-pop-in 0.35s cubic-bezier(0.83, 0, 0.16, 1);
}
@keyframes cookie-pop-in {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity:0; }
  77% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: #1A3764;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-modal .close-btn {
  background: none;
  border: none;
  color: #1A3764;
  font-size: 1.46rem;
  position: absolute;
  top: 22px; right: 28px;
  cursor: pointer;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f4f6f8;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cookie-modal .category-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #eee;
  border-radius: 16px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.21s;
  cursor: pointer;
}
.cookie-modal .category-toggle:checked {
  background: #EF8432;
}
.cookie-modal .category-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(0,0,0,0.11);
  transition: left 0.21s;
}
.cookie-modal .category-toggle:checked::before {
  left: 19px;
  background: #fff;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 10px 20px;
}

/* ==== RESPONSIVE DESIGN  ==== */
@media (max-width: 1050px) {
  .feature-grid > div, .service-cards > div, .step-cards > div {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 180px;
  }
  .testimonial-card {
    min-width: 180px;
    flex-basis: 280px;
  }
}

@media (max-width: 900px) {
  header .container, .footer-contact {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }

  /* Mobile Header/Nav */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 14px 10px 10px 13px;
  }
  footer .container {
    padding: 0 9px;
  }

  /* Hero */
  .hero .container {
    min-height: 200px;
    padding: 18px 8px;
  }
  .hero .content-wrapper {
    margin: 22px auto;
    padding: 20px 0;
  }

  /* Cards */
  .feature-grid, .service-cards, .step-cards, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-cards > div, .step-cards > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 0;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    flex-basis: 100%;
  }

  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .timeline-visual, .visual-steps {
    margin: 22px 0 0 0;
  }
  .checklist {
    gap: 9px;
    font-size: 0.98rem;
  }
  .tip-boxes {
    flex-direction: column;
    gap: 16px;
  }
  .trust-badges {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .legal {
    padding: 20px 6px;
    border-radius: 12px;
  }
  .cookie-modal {
    min-width: 95vw;
    width: 96vw;
    padding: 18px 4vw 16px 6vw;
    border-radius: 11px;
  }
  .cookie-modal .close-btn {
    right: 15px;
    top: 14px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.19rem; }
  .subheadline { font-size: 1rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    justify-content: flex-start;
    font-size: 0.98rem;
    padding: 11px 7px 13px 7px;
  }
}

/* ==== Transitions & Micro-interactions ==== */
.card,
.feature-grid > div,
.service-cards > div,
.step-cards > div,
.testimonial-card,
.faq-list details,
.faq-toggle details {
  transition: box-shadow 0.18s, transform 0.13s, border-color 0.14s;
}

.cta-btn, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.13s;
}

input, button, .category-toggle {
  transition: border-color 0.17s, box-shadow 0.15s, background 0.17s;
}

/* ==== Misc ==== */
::-webkit-input-placeholder { color: #adb5bd; opacity: 1; }
::-moz-placeholder { color: #adb5bd; opacity:1; }
:-ms-input-placeholder { color: #adb5bd; }
::placeholder { color: #adb5bd; opacity: 1; }

/* ==== Utility classes ==== */
.hide { display: none !important; }

/* ==== End of CSS ==== */
