/* 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,
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F5EAD6;
  color: #2C2B25;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #234B70;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px dashed #E6822A; outline-offset: 2px; }
a:hover, a:active {
  color: #ab3c1a;
}

/* VINTAGE RETRO SPECIFIC COLORS */
:root {
  --retro-blue: #234B70;
  --retro-mint: #59A68D;
  --retro-cream: #F5EAD6;
  --retro-sand: #E6D3B3;
  --retro-dark: #2C2B25;
  --retro-orange: #E6822A;
  --retro-yellow: #FADD4F;
  --retro-red: #AB3C1A;
  --brand-accent: #FFFFFF;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--retro-blue);
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.2rem;
  text-shadow: 1px 1px 0 var(--retro-yellow), 2px 2px 0 var(--retro-sand);
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  color: var(--retro-dark);
  border-left: 6px solid var(--retro-orange);
  padding-left: 16px;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.15rem;
  color: var(--retro-blue);
  margin-bottom: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.5px;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 10px;
  color: var(--retro-dark);
}
b {
  font-weight: 700;
  color: var(--retro-blue);
}

/* Vintage/Nostalgic font touch for section headers & CTA buttons */
.section h2, .cta-btn, .main-nav .cta-btn, .mobile-nav .cta-btn {
  font-family: 'Montserrat', cursive, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* CONTAINERS */
.container {
  max-width: 1160px;
  padding: 0 16px;
  margin-right: auto;
  margin-left: auto;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
}

/* SPACING PATTERNS (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-cream);
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(46, 41, 33, 0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff8ef;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(46, 41, 33, 0.04);
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 360px;
  padding: 24px;
}
.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: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--retro-yellow);
  color: var(--retro-dark);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(46,41,33,0.09);
  border-left: 8px solid var(--retro-orange);
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--retro-dark);
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--retro-blue);
  font-style: italic;
  margin-left: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff8ef;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(46, 41, 33, 0.04);
  padding: 24px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  border: 2px solid var(--retro-sand);
  position: relative;
}
.feature-item img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  filter: sepia(0.24) contrast(1.08) brightness(0.96);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
/* Footer */
footer {
  background: var(--retro-blue);
  color: #fff;
  padding: 42px 0 28px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: var(--brand-accent);
  font-size: 1rem;
  opacity: 0.85;
  padding-bottom: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: opacity 0.15s;
}
.footer-menu a:hover { opacity: 1; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  line-height: 1.4;
}
.footer-contact p img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: text-bottom;
  filter: sepia(0.38);
}

/* MAIN NAV */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--retro-cream);
  padding: 24px 0 20px 0;
  border-bottom: 2px solid var(--retro-sand);
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: var(--retro-blue);
  opacity: 0.88;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a.cta-btn {
  background: var(--retro-orange);
  color: #fff;
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 12px;
  font-weight: 900;
  box-shadow: 0 2px 8px 0 rgba(230,130,42,0.11);
  border: none;
  letter-spacing: 1px;
  transition: background 0.19s, color 0.18s, box-shadow 0.19s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: var(--retro-red);
  color: #FFF8EF;
  box-shadow: 0 4px 20px 2px rgba(230,130,42,0.19);
}
.main-nav a:hover:not(.cta-btn), .main-nav a:focus:not(.cta-btn) {
  background: var(--retro-mint);
  color: var(--retro-blue);
  opacity: 1;
}
.main-nav img {
  height: 36px;
  margin-right: 30px;
  margin-left: 2px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--retro-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 44px;
  position: absolute;
  right: 22px;
  top: 18px;
  cursor: pointer;
  z-index: 1201;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-orange);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--retro-blue);
  color: #FFF8EF;
  transform: translateX(-110vw);
  opacity: 0;
  z-index: 1400;
  pointer-events: none;
  transition: transform .41s cubic-bezier(.76,.01,.37,1.01), opacity .23s;
  box-shadow: 8px 0 32px -6px rgba(44,43,37,0.22);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  align-self: flex-start;
  margin: 24px 0 8px 22px;
  cursor: pointer;
  border-radius: 7px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--retro-yellow);
  background: rgba(255,255,255,0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 40px 20px 38px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #FFF8EF;
  padding: 10px 3px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a.cta-btn {
  background: var(--retro-orange);
  color: #fff;
  font-weight: 800;
  border-radius: 21px;
  letter-spacing: 1px;
  margin-top: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-blue);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
    padding: 18px 0 14px 0;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.99rem;
    padding: 6px 7px;
  }
}
@media (max-width: 820px) {
  .main-nav a {
    font-size: 0.93rem;
    padding: 5px 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    right: 18px;
    top: 21px;
    z-index: 1900;
  }
  header {
    position: relative;
    z-index: 1001;
    min-height: 62px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 46px;
  }
  .container {
    padding: 0 3vw;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* HERO, CTA & BUTTONS */
.cta-btn {
  display: inline-block;
  background: var(--retro-orange);
  color: var(--brand-accent);
  font-family: 'Montserrat', cursive, Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  text-shadow: 1px 1px 0 var(--retro-yellow);
  padding: 13px 34px;
  margin-top: 24px;
  border: none;
  border-radius: 28px;
  letter-spacing: 2px;
  box-shadow: 0 4px 18px 0 rgba(230,130,42,0.15);
  transition: background 0.18s, color 0.21s, box-shadow 0.20s, transform 0.16s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-red);
  color: #faf3de;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px 2px rgba(171,60,26,0.21);
}

/* LISTS AND BULLETS */
ul, ol {
  margin-left: 18px;
  margin-bottom: 18px;
  color: var(--retro-dark);
}
ul li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 17px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--retro-orange);
  border-radius: 50%;
}
.benefits-list, .training-overview, .benefit-bullets, .process-diagram {
  margin-bottom: 24px;
  background: #fcf4e6;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(230,130,42,0.08);
  padding: 10px 16px 8px 16px;
}
.process-diagram ol {
  list-style: decimal inside;
  margin-left: 3px;
}
.process-diagram li {
  margin-bottom: 8px;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #fcf4e6;
  color: var(--retro-dark);
  border-radius: 14px;
  padding: 24px;
  margin: 18px 0 20px 0;
  font-size: 1.07rem;
  font-style: italic;
  box-shadow: 0 2px 9px 0 rgba(46,41,33,0.05);
}

/* CARD & FEATURE STYLING */
.card {
  border: 2px dashed var(--retro-mint);
}

/* CONTACT DETAILS */
.contact-details {
  background: #fcf4e6;
  border-radius: 13px;
  box-shadow: 0 1px 7px rgba(89,166,141,0.09);
  padding: 18px 22px 12px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.01rem;
}
.contact-details p img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  filter: sepia(0.5) contrast(0.95);
}

/* -- RETRO ACCENT ELEMENTS: PATTERNS, LINES, ETC. -- */
.section {
  box-shadow: 0 4px 14px 0 rgba(44,43,37,0.053), inset 0 0 0 2px var(--retro-mint);
  border: 1.5px solid var(--retro-sand);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 38px,
    #f7dbbb 42px,
    #f7dbbb 44px,
    transparent 48px
  );
}

/* TESTIMONIALS */
.testimonial-card {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  background: var(--retro-yellow);
  border-left: 9px solid var(--retro-orange);
}

/* TABLES (for e.g. legal/policy pages) */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  background: #FFF9F4;
}
th, td {
  border: 1px solid var(--retro-sand);
  text-align: left;
  padding: 10px 16px;
}
th {
  background: var(--retro-mint);
  color: #fff;
}

/* ======= COOKIE CONSENT BANNER & MODAL ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--retro-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2000;
  box-shadow: 0 -2px 16px 0 rgba(44,43,37,0.10);
  padding: 25px 20px 23px 20px;
  font-size: 1.07rem;
  animation: cookieFadeIn .7s;
}
@keyframes cookieFadeIn { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
.cookie-banner p {
  color: #FFF8EF;
  margin-bottom: 8px;
  text-align: center;
  font-size: 1.02rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
  justify-content: center;
}
.cookie-btn {
  background: var(--retro-orange);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 9px 27px;
  box-shadow: 0 2px 7px rgba(230,130,42,0.14);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform .17s;
}
.cookie-btn:focus-visible { outline: 2px solid var(--retro-yellow); }
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-red);
  color: #fffbe7;
  transform: scale(1.04);
}
.cookie-btn.secondary {
  background: #fffbe7;
  color: var(--retro-blue);
  border: 1.5px solid var(--retro-mint);
  box-shadow: 0 2px 6px rgba(44,43,37,0.08);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--retro-mint);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #FFF8EF;
  color: var(--retro-dark);
  min-width: 92vw;
  max-width: 400px;
  padding: 30px 6vw 26px 6vw;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(44,43,37,0.35);
  z-index: 2101;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s, transform 0.31s cubic-bezier(.73,.01,.23,1.2);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.00);
}
.cookie-modal h2 {
  color: var(--retro-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  margin-bottom: 11px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--retro-orange);
  width: 19px; height: 19px;
  margin-right: 1px;
}
.cookie-modal .cookie-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--retro-dark);
}
.cookie-modal .cookie-required {
  color: var(--retro-mint);
  font-size: 0.98rem;
  font-weight: 900;
  margin-left: 2px;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--retro-blue);
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #f5ead6;
}

@media (min-width: 600px) {
  .cookie-modal { min-width: 420px; }
}

@media (max-width: 480px) {
  .cookie-modal { padding: 20px 4vw 20px 4vw; min-width: 93vw; }
}

/* ====== RESPONSIVE LAYOUTS WITH FLEXBOX ONLY ======= */
@media (max-width: 900px) {
  .footer-menu { flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .footer-contact { font-size: 0.93rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .feature-item, .card { min-width: unset; max-width: 100%; }
  .footer-menu { flex-direction: column; gap: 12px; font-size: 0.99rem; }
  .footer-contact { font-size: 0.93rem; }
  .cookie-banner { font-size: 0.95rem; padding: 17px 7px 16px 7px; }
}

@media (max-width: 900px) {
  .feature-item, .card {
    min-width: 160px;
    max-width: 100%;
    padding: 20px 10px;
  }
}
/* ------ End Responsive ------ */

/* VISUAL MICRO-INTERACTIONS (TRANSITIONS/ANIMATIONS) */
.feature-item, .card, .testimonial-card {
  transition: box-shadow .18s, transform .13s, border-color 0.18s;
}
.feature-item:hover, .feature-item:focus,
.card:hover, .card:focus {
  box-shadow: 0 6px 26px 0 rgba(89,166,141,0.13);
  border-color: var(--retro-mint);
  transform: translateY(-3px) scale(1.02);
  z-index: 1;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 30px rgba(230,130,42,.10);
  transform: scale(1.013) translateY(-2px);
  border-color: var(--retro-red);
}

/* SELECTION COLOR (for retro vibe) */
::selection {
  background: var(--retro-yellow);
  color: var(--retro-blue);
}

/* SCROLLBAR (retro style) */
body::-webkit-scrollbar {
  width: 10px;
  background: #f5ead6;
}
body::-webkit-scrollbar-thumb {
  background: var(--retro-orange);
  border-radius: 7px;
}

/* OVERRIDES FOR LAST CHILD SPACING on cards/testimonials */
.card-container > :last-child,
.feature-grid > :last-child,
.content-grid > :last-child,
.section > :last-child,
.content-wrapper > :last-child,
.footer-menu > :last-child,
.footer-contact > :last-child {
  margin-bottom: 0 !important;
}

/* UTILITIES for spacing */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ======================== END OF CSS ======================== */
