/* --- CSS RESET & NORMALIZATION --- */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #E5EFFF;
  color: #1A3A5D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, .cta-btn {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
/* --- RETRO PATTERNED BACKGROUNDS & EFFECTS --- */
body {
  background:
    repeating-linear-gradient(-45deg, #f6dec9 0 12px, transparent 12px 24px),
    #E5EFFF;
}
/* --- TYPOGRAPHY (Retro Display + Body) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #1A3A5D;
  text-shadow: 1px 1px 0 #EFAF18, 2px 2px 0 #f6dec9;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; line-height: 1.15; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: 1.38rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  background: #fffbe6;
  border-left: 4px solid #EFAF18;
  padding: 12px 20px;
  border-radius: 10px;
  margin: 0 0 10px 0;
  color: #522f0f;
}
strong { font-weight: 700; }
em { font-style: italic; }
/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  box-shadow: 0 3px 16px 0 rgba(26,58,93, 0.10), 0 2px 8px #f6dec9;
  padding: 32px 28px;
  margin-bottom: 32px;
  border: 3px solid #EFAF18;
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 22px 10px;
    border-radius: 13px;
    margin-bottom: 24px;
    gap: 12px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffefb;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px 0 rgba(239,175,24,0.10), 0 1.5px 7px #c9beaa;
  border: 2.5px solid #EFAF18;
}
.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;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 22px 4px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}
/* --- HEADER (Retro Flavor) --- */
header {
  background: #1A3A5D;
  border-bottom: 4px solid #EFAF18;
  padding-top: 0.5rem;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px 10px 20px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fffbe6;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #EFAF18;
  color: #1A3A5D;
  box-shadow: 0 2px 9px #f6dec9;
}
.cta-btn {
  background: #eebf36;
  color: #1A3A5D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 900;
  letter-spacing: 1.8px;
  padding: 11px 28px;
  border-radius: 28px;
  box-shadow: 0 2px 7px #EFAF18, 0 1px 7px #eee;
  border: 2.5px solid #fffbe6;
  margin-left: 18px;
  display: inline-block;
  transition: background 0.15s, transform 0.15s, box-shadow 0.13s;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1A3A5D;
  color: #fffbe6;
  border-color: #EFAF18;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 23px #c9beaa, 0 1px 14px #EFAF18;
}
header img {
  height: 52px;
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 4px 6px 8px;
  }
  header nav, header .cta-btn {
    display: none;
  }
  header img {
    height: 38px;
  }
}
/* --- MOBILE BURGER MENU STYLES --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 41;
  background: #fffbe6;
  color: #1A3A5D;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.05rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 12px #EFAF18, 0 1px 7px #fffbe6;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EFAF18;
  box-shadow: 0 4px 22px #c9beaa, 0 1px 14px #EFAF18;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 92vw;
  max-width: 420px;
  height: 100vh;
  background: #fffbe6;
  box-shadow: 8px 0 44px -8px #1A3A5D99;
  z-index: 50;
  transform: translateX(-110vw);
  transition: transform 0.28s cubic-bezier(.6,.06,.39,.95);
  padding: 24px 16px 24px 26px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%) scale(1);
}
.mobile-menu-close {
  background: #1A3A5D;
  color: #fffbe6;
  border: none;
  align-self: flex-end;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EFAF18;
  color: #1A3A5D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1A3A5D;
  background: none;
  padding: 8px 8px;
  border-radius: 7px;
  width: 100%;
  text-align: left;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EFAF18;
  color: #fffbe6;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
/* --- MAIN PAGE/SECTION STYLES --- */
main {
  min-height: 69vh;
  padding-top: 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  main { padding-top: 4px; }
  section {
    margin-bottom: 32px;
    padding: 18px 2px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.faq .text-section h3 {
  color: #EFAF18;
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  position: relative;
}
.faq .text-section h3::before {
  content: 'Q:';
  margin-right: 7px;
  font-weight: bold;
  color: #1A3A5D;
}
/* --- CARD AND FLEXBOX COMPONENTS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f6dec9;
  border-radius: 13px;
  padding: 20px 19px;
  margin-bottom: 16px;
  border: 2px solid #EFAF18;
  box-shadow: 0 1px 6px #EFAF1844;
}
@media (max-width: 768px) {
  .feature-item {
    padding: 13px 7px;
    border-radius: 7px;
  }
}
/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 18px;
  background: #fffbe6;
  border-radius: 30px 6px 32px 6px;
  box-shadow: 0 4px 14px #f6dec988, 0 2px 14px #EFAF18;
  border: 2.5px solid #EFAF18;
  color: #1A3A5D;
  font-size: 1.09rem;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #835d32;
  font-size: 1.12rem;
}
.testimonial-card div {
  font-size: 0.99rem;
  color: #1A3A5D;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    border-radius: 13px 6px 14px 6px;
    gap: 10px;
  }
}
/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.07rem;
  color: #1A3A5D;
}
.contact-details img {
  width: 1.15em;
  vertical-align: middle;
  margin-right: 9px;
}
/* --- FOOTER STYLES --- */
footer {
  background: #1A3A5D;
  color: #eee3b4;
  border-top: 4px solid #EFAF18;
  padding: 38px 0 0 0;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 48px;
  align-items: flex-start;
  justify-content: space-between;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  width: 100%;
}
footer img {
  height: 48px;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fdeed1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 2px 0;
  border-radius: 3px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #EFAF18;
  color: #1A3A5D;
}
.footer-contact {
  font-size: 0.98rem;
  color: #eee3b4;
  line-height: 1.4;
}
.footer-contact a {
  color: #EFAF18;
  text-decoration: underline dotted;
  transition: color 0.15s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fffbe6;
}
@media (max-width: 768px) {
  footer .container {
    padding: 0 4px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  footer img {
    height: 31px;
  }
  .footer-contact { font-size: 0.89rem; }
}
/* --- LINKS & BUTTONS GENERAL --- */
a {
  transition: color 0.16s, background 0.11s, box-shadow 0.13s;
}
a:focus { outline: 2px solid #EFAF18; outline-offset: 2px; }
button:focus, .cta-btn:focus { outline: 2.5px solid #EFAF18; outline-offset: 4px; }
/* --- RETRO BADGES & DECORATIVE ELEMENTS --- */
.card::before, .feature-item::before, section[data-badge]:before {
  content: attr(data-badge);
  display: none; /* Example: you can enhance retro badges if needed */
}
/* --- TABLES --- */
table {
  width: 100%;
  background: #fffbe6;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  padding: 10px 16px;
  border-bottom: 1px solid #EFAF18;
  font-size: 1rem;
  color: #1A3A5D;
  text-align: left;
}
th {
  background: #f6dec9;
  font-weight: 700;
}
/* --- FORM ELEMENTS BASE (INPUTS ETC, IF NEEDED) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px;
  border-radius: 7px;
  border: 1.5px solid #EFAF18;
  background: #fffbe6;
  color: #1A3A5D;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #EFAF18;
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 99;
  background: #fffbe6;
  color: #1A3A5D;
  box-shadow: 0 3px 32px #c9beaa, 0 2px 14px #EFAF18;
  border-radius: 17px;
  border: 2px solid #EFAF18;
  padding: 19px 22px 23px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 0.38s, transform 0.36s, visibility 0.13s;
}
.cookie-banner.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner-text {
  font-size: 0.98rem;
  color: #1A3A5D;
  margin-bottom: 6px;
}
.cookie-banner-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner-buttons .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 28px;
  padding: 8px 22px;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  margin-right: 4px;
  margin-bottom: 2px;
  cursor: pointer;
}
.cookie-btn-accept {
  background: #EFAF18;
  color: #1A3A5D;
  border: 2.5px solid #fffbe6;
  box-shadow: 0 2px 7px #EFAF1844;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #1A3A5D;
  color: #fffbe6;
}
.cookie-btn-reject {
  background: #fffbe6;
  color: #EFAF18;
  border: 2.5px solid #EFAF18;
  box-shadow: 0 1.5px 5px #c9beaa99;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #EFAF18;
  color: #fffbe6;
}
.cookie-btn-settings {
  background: #1A3A5D;
  color: #fffbe6;
  border: 2px solid #EFAF18;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #EFAF18;
  color: #1A3A5D;
}
@media (max-width: 500px) {
  .cookie-banner {
    left: 4px;
    right: 4px;
    padding: 12px 4px 18px 8px;
  }
  .cookie-banner-buttons {
    gap: 7px;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 110;
  background: rgba(26,58,93,0.66);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.21s cubic-bezier(.4,.26,.42,1);
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
  justify-content: center;
}
.cookie-modal-content {
  background: #fffbe6;
  border-radius: 18px;
  border: 2.5px solid #EFAF18;
  box-shadow: 0 5px 24px #EFAF1877, 0 3px 11px #c9beaa;
  padding: 30px 32px 26px 32px;
  width: 96vw;
  max-width: 395px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #1A3A5D;
  animation: modalSlideUp 0.33s cubic-bezier(.41,.78,.41,1);
}
@keyframes modalSlideUp {
  from { transform: translateY(120px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal-header {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A3A5D;
  margin-bottom: 6px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #522f0f;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #EFAF18;
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.cookie-category-essential {
  font-weight: 700;
  color: #835d32;
  opacity: 0.88;
}
.cookie-modal-btn-close {
  align-self: flex-end;
  margin-top: -11px;
  margin-right: -4px;
  background: #1A3A5D;
  color: #fffbe6;
  border: none;
  border-radius: 52%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-btn-close:hover, .cookie-modal-btn-close:focus {
  background: #EFAF18;
  color: #1A3A5D;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-actions .cookie-btn {
  flex: 1;
  padding: 8px 0;
  font-size: 1rem;
}
/* --- ANIMATIONS & TRANSITIONS --- */
.card, .content-wrapper, .section, .cta-btn, .feature-item, .footer-contact, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.14s, background 0.18s, color 0.18s, border 0.17s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 10px 44px #f6dec9cc, 0 2px 13px #EFAF18;
}
/* Subtle retro (dotted) pattern on cards */
.card, .testimonial-card, .feature-item {
  background-image: repeating-linear-gradient(135deg,#fffbe6 0 6px,#faecd5 6px 12px);
  background-size: 10px 10px;
}
/* --- SCROLLBAR (Retro + Accessibility) --- */
::-webkit-scrollbar {
  width: 9px;
  background: #faecd5;
}
::-webkit-scrollbar-thumb {
  background: #EFAF18;
  border-radius: 6px;
}
/* --- UTILS --- */
.mt-3 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 18px !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
/* --- RESPONSIVE TYPOGRAPHY --- */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.01rem; }
  p, li, blockquote, .cookie-banner-text {
    font-size: 0.99rem;
  }
}
/* --- COLOR ACCESSIBILITY (Testimonial/Review Contrast) --- */
.testimonial-card, .testimonial-card * {
  color: #1A3A5D !important;
}
.testimonial-card blockquote {
  color: #835d32 !important;
  background: none !important;
}
/* --- Remove unwanted absolute/overlap in flex --- */
.card, .feature-item, .testimonial-card, .content-wrapper, .section {
  position: relative;
  z-index: 1;
}
/* --- END --- */
