/* ==========================================================================
   CSS RESET & BASELINE
   ========================================================================== */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #FFF8F3;
  color: #22305A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
/* Main container max width and centering */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #22305A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3B23A;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #22305A;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.13;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
}
p, address, blockquote, small {
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
small {
  display: block;
  color: #667195;
  font-size: 0.875rem;
  margin-top: 8px;
}
blockquote {
  background: #FFF2D7;
  border-left: 5px solid #F3B23A;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  color: #22305A;
  font-style: italic;
}

/* Universal rounded corners and shadows for friendly look */
*:not(svg):not(path) {
  border-radius: 8px;
  box-sizing: border-box;
}

/* Remove rounding from images in nav/logo and footer */
header .main-nav img, footer img {
  border-radius: 0;
}

/* ==========================================================================
   LAYOUT SECTIONS AND SPACE
   ========================================================================== */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}
.content-wrapper,
.text-section,
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-start;
  }
  .text-section {
    flex-direction: column;
    flex: 1;
    min-width: 320px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  padding: 28px 24px;
  box-shadow: 0 3px 24px rgba(243,178,58, 0.08);
  margin-bottom: 20px;
  border-radius: 16px;
  position: relative;
  min-width: 220px;
  flex: 1 1 320px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px rgba(34,48,90, 0.10), 0 2px 8px rgba(243,178,58,0.10);
  transform: translateY(-3px) scale(1.012);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffefd;
  padding: 20px 20px 20px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(243,178,58,0.08);
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow .2s, background .2s;
  margin-bottom: 20px;
}
.feature-item:hover {
  box-shadow: 0 8px 16px rgba(34,48,90,0.11), 0 1.5px 6px 0 rgba(243,178,58,0.11);
  background: #FFF8F3;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}

/* Testimonials Cards and Ratings */
.testimonials-section {
  background: #FFFAF2;
  border-radius: 24px;
  box-shadow: 0 3px 32px rgba(243,178,58, 0.10);
  padding: 40px 0;
  margin: 0 0 60px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(34,48,90,0.07);
  font-size: 1.07em;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22305A;
  transition: box-shadow .18s;
  min-width: 220px;
}
.testimonial-card span,
.testimonial-card b {
  font-size: 1em;
  color: #F3B23A;
  margin-bottom: 0;
}
.testimonial-card p {
  font-size: 1.08em;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 5px 18px rgba(243,178,58,.18);
}
.ratings-summary {
  display: flex;
  align-items: center;
  color: #22305A;
  background: #FFF2D7;
  border-radius: 10px;
  padding: 7px 16px;
  font-weight: bold;
  gap: 8px;
  margin: 12px 0 0 0;
  font-size: 1.03em;
}
.ratings-summary img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 0;
  vertical-align: baseline;
}

/* CTA Section Styles */
.cta-section {
  background: #F3B23A;
  color: #22305A;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(243,178,58,.12);
  padding: 48px 0 44px 0; 
  margin-bottom: 60px;
}
.cta-section .container > .content-wrapper,
.cta-section .container .content-wrapper.text-section {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta-section h2, .cta-section p {
  color: #22305A;
}
.cta-section .cta-button {
  background: #22305A;
  color: #fff;
}

/* Confirmation Section */
.confirmation-section {
  background: #FFF2D7;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(243,178,58,.10);
  padding: 48px 0;
  margin-bottom: 60px;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
header {
  background: #ffffff;
  box-shadow: 0 2px 24px rgba(34,48,90,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
  padding: 0;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  margin: 0 0 0 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  color: #22305A;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFF2D7;
  color: #F3B23A;
}
.cta-button {
  background: #F3B23A;
  color: #22305A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.09em;
  padding: 10px 28px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 10px rgba(243,178,58,0.13);
  cursor: pointer;
  margin-left: 12px;
  transition: background .18s, color .18s, transform .18s;
  outline: none;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #22305A;
  color: #fff;
  transform: scale(1.036) translateY(-2px);
  box-shadow: 0 4px 18px rgba(34,48,90,0.14);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  background: #FFF2D7;
  color: #22305A;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 2em;
  margin-left: 12px;
  cursor: pointer;
  transition: background .17s, color .17s;
  z-index: 300;
  position: relative;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F3B23A;
  color: #22305A;
}
/* Hide nav for mobile */
@media (max-width: 900px) {
  .main-nav ul, .main-nav .cta-button { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}

/* MOBILE SLIDE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 248, 243, .98);
  box-shadow: 0 0 60px rgba(34,48,90,.08);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.8,.01,.18,1), opacity .23s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 18px 18px 0 auto;
  background: #F3B23A;
  color: #22305A;
  border: none;
  font-size: 2.1em;
  padding: 6px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #22305A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 42px auto 0 auto;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25em;
  color: #22305A;
  background: #FFF2D7;
  padding: 12px 38px;
  border-radius: 16px;
  transition: background .12s, color .12s;
  margin-bottom: 4px;
  text-align: center;
  width: 90vw;
  max-width: 350px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3B23A;
  color: #fff;
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
  background: #FFF2D7;
  border-radius: 22px;
  box-shadow: 0 3px 32px rgba(243,178,58, 0.11);
  padding: 48px 0 40px 0;
  margin-bottom: 60px;
}
.hero-section h1 {
  color: #22305A;
  font-size: 2.4em;
  margin-bottom: 18px;
}
.hero-section p {
  color: #22305A;
  opacity: 0.95;
}
.hero-section .cta-button {
  margin-top: 12px;
}
@media (max-width: 900px) {
  .hero-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-section h1 {
    font-size: 2em;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #FFFAF2;
  box-shadow: 0 -2px 28px rgba(34,48,90,0.03);
  margin-top: 60px;
  padding: 36px 0 24px 0;
  border-radius: 20px 20px 0 0;
  color: #22305A;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
}
.footer-nav a {
  color: #22305A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background .14s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F3B23A;
  color: #fff;
}
footer address {
  font-style: normal;
  color: #22305A;
  font-size: 1em;
  margin-top: 8px;
}
footer address img {
  width: 1.25em;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 0;
}
footer small {
  color: #667195;
  margin-top: 18px;
  font-size: 0.9em;
  text-align: left;
}

@media (max-width: 600px) {
  .footer-nav { font-size: 1em; gap: 3px; }
  footer address { font-size: 0.98em; }
}

/* ==========================================================================
   COOKIES CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF2D7;
  color: #22305A;
  padding: 20px 18px;
  box-shadow: 0 -2px 24px rgba(243,178,58,0.10);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 99999;
  font-size: 1em;
  transition: transform 0.32s cubic-bezier(.8,.01,.18,1), opacity .19s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner h4 {
  color: #22305A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  padding: 7px 20px;
  margin-right: 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(243,178,58,0.09);
  transition: background .17s, color .17s;
}
.cookie-banner button.accept {
  background: #F3B23A;
  color: #22305A;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #22305A;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  color: #22305A;
  border: 1.5px solid #F3B23A;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #F3B23A;
  color: #fff;
}
.cookie-banner button.settings {
  background: #FFFAF2;
  color: #22305A;
  border: 1.5px solid #F3B23A;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #F3B23A;
  color: #fff;
}

/* Cookie Settings Popup (Modal) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,48,90,0.26);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #22305A;
  border-radius: 18px;
  padding: 32px 24px 22px 24px;
  box-shadow: 0 8px 58px rgba(34,48,90,0.17);
  max-width: 400px;
  width: 93vw;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h4 {
  font-size: 1.27em;
  color: #22305A;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-weight: 600;
  font-size: 1em;
  color: #22305A;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F3B23A;
  width: 20px;
  height: 20px;
  border-radius: 7px;
}
.cookie-modal .essential-info {
  font-size: 0.97em;
  color: #667195;
  margin-top: 2px;
  margin-bottom: 7px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  padding: 7px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: #F3B23A;
  color: #22305A;
  transition: background .14s, color .14s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #22305A;
  color: #fff;
}

@media (max-width: 570px) {
  .cookie-banner {
    font-size: 0.99em;
    padding: 12px 6px 16px 9px;
    border-radius: 16px 16px 0 0;
  }
  .cookie-modal {
    padding: 19px 8px;
    border-radius: 13px;
  }
}

/* ==========================================================================
   FORM ELEMENTS & GENERAL STYLES
   ========================================================================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 9px;
  border: 1.2px solid #FFCA70;
  padding: 9px 14px;
  margin-bottom: 16px;
  outline: none;
  background: #FFFAF2;
  box-shadow: 0 1px 5px rgba(243,178,58,0.07);
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #F3B23A;
  background: #fff;
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 9px;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   SPACING & CUSTOM UTILITIES
   ========================================================================== */
.mb-0   { margin-bottom: 0   !important; }
.mb-8   { margin-bottom: 8px !important; }
.mb-16  { margin-bottom: 16px !important; }
.mb-20  { margin-bottom: 20px !important; }
.mb-24  { margin-bottom: 24px !important; }
.mb-32  { margin-bottom: 32px !important; }
.mb-40  { margin-bottom: 40px !important; }
.mt-16  { margin-top: 16px!important;  }
.mt-32  { margin-top: 32px!important;  }
.gap-12 { gap: 12px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* Ensure min spacing for ALL card/section elements */
.card, .feature-item, .testimonial-card, .section, section {
  margin-bottom: 20px;
}

/* Text classes */
.text-center { text-align: center; }
.text-left   { text-align: left;   }
.text-right  { text-align: right;  }

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ========================================================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    flex-direction: row;
    height: auto;
    gap: 12px;
  }
  .container { padding-left: 7px; padding-right: 7px; }
  .testimonial-card, .feature-item, .card {
    padding: 18px 10px;
    font-size: 0.98em;
    min-width: 160px;
  }
  .feature-grid, .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero-section, .cta-section, .testimonials-section, .confirmation-section {
    padding: 22px 0 18px 0;
    margin-bottom: 36px;
  }
  footer, .section, section {
    padding: 20px 0 18px 0;
    margin-bottom: 36px;
  }
}
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.25em;
  }
  h1 { font-size: 1.34em; }
  h2 { font-size: 1.12em; }
}

/* ==========================================================================
   UTILITY CLASSES FOR FLEX
   ========================================================================== */
.flex        { display: flex; }
.flex-row    { flex-direction: row; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-12      { gap: 12px; }
.gap-20      { gap: 20px; }

/* ==========================================================================
   ANIMATIONS and MICRO-INTERACTIONS
   ========================================================================== */
.cta-button,
.main-nav a,
.footer-nav a,
.feature-item,
.testimonial-card {
  transition: background 0.16s, color 0.16s, box-shadow 0.17s, transform 0.15s;
}
.cta-button:active {
  transform: scale(0.97);
}
@media (hover: hover) {
  .feature-item:hover,.card:hover {
    transform: translateY(-2.5px) scale(1.014);
  }
  .testimonial-card:hover {
    transform: translateY(-1.5px) scale(1.01);
  }
}

@keyframes bounce-in-top {
  0% { transform: translateY(-35px); opacity: 0; }
  60%{ transform: translateY(6px); opacity: 1; }
  100%{ transform: translateY(0); opacity: 1; }
}
.hero-section {
  animation: bounce-in-top 0.7s;
}

/* ==========================================================================
   FONT LOAD (Fontface, fallback safe, for demo only), REMOVED for brevity
   ========================================================================== */

/* ==========================================================================
   ACCESSIBILITY (FOCUS STATES)
   ========================================================================== */
:focus-visible {
  outline: 2.5px solid #F3B23A;
  outline-offset: 2px;
  z-index: 1;
}
.cta-button:focus-visible {
  outline: 3px solid #22305A;
}

/* ==========================================================================
   END
   ========================================================================== */
