/* 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; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit;}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: #F5F7FA;
  color: #22223b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; padding-left: 0; }
a { color: #1D428A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FFB800; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Montserrat:wght@400;600;700&display=swap');

:root {
  --primary: #1D428A;
  --secondary: #FFB800;
  --accent: #F5F7FA;
  --danger: #e63946;
  --success: #44b38c;
  --gray-light: #f7f7fb;
  --gray: #bbc3ce;
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Montserrat', Arial, sans-serif;
}

/* LAYOUT CONTAINER */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

/* HEADER: BRAND + NAV */
header {
  background: var(--primary);
  box-shadow: 0 2px 24px 0 rgba(29,66,138,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 20px 0;
}
header a img { height: 54px; width: auto; }
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  padding: 6px 0px;
  border-radius: 6px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
header .btn-primary {
  margin-left: 20px;
}

/* BUTTONS */
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  border-radius: 28px;
  padding: 12px 34px;
  display: inline-block;
  box-shadow: 0 3px 16px rgba(255,184,0,0.10);
  transition: background 0.2s, color 0.15s, box-shadow 0.15s, transform 0.12s;
  border: none;
  cursor: pointer;
  letter-spacing: .5px;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 24px rgba(29,66,138,0.18);
}

/* MAIN STRUCTURE & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--primary);
}
h1 {font-size: 2.7rem; line-height: 1.13; margin-bottom: 20px;}
h2 {font-size: 2.1rem; line-height: 1.16; margin-bottom: 14px;}
h3 {font-size: 1.35rem; line-height: 1.22; margin-bottom: 10px;}
h4 {font-size: 1.1rem; line-height: 1.25;}
h2, h3, h4, h5, h6 { margin-top: 0; }
p, ul li, ol li, blockquote, span { 
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #22223b;
  margin-bottom: 18px;
}
strong { color: var(--primary); }

blockquote {
  font-style: italic;
  font-weight: 600;
  color: #22223b;
  background: #fff6e5;
  border-left: 4px solid var(--secondary);
  padding: 14px 18px;
  border-radius: 10px 28px 16px 10px;
  margin: 0 0 12px 0;
}

/* SECTION SPACING & FLEXBOX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(29,66,138,0.06);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.10s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(255,184,0,0.18);
  transform: translateY(-2px) scale(1.01);
}
.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;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 235px;
  box-shadow: 0 3px 14px 0 rgba(29,66,138,0.07);
  border-left: 8px solid var(--secondary);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  padding: 0;
}
.testimonial-card span {
  color: #555;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO/BANNER/CTA */
main > section:first-child {
  background: linear-gradient(90deg, #FFB800 0%, #FFECDD 100%);
  border-radius: 0 0 36px 36px;
  margin-bottom: 30px;
  min-height: 230px;
  box-shadow: 0 1px 12px rgba(255,184,0,0.06);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: #1D428A;
}
.text-section ul li {
  margin-bottom: 10px;
  color: #22223b;
}

/* ICONS & ARTISTIC ACCENTS */
ul li img, .footer-contact img, .text-section p img {
  height: 28px;
  width: 28px;
  vertical-align: middle;
  margin-right: 7px;
  border-radius: 6px;
  box-shadow: 0 1px 5px 0 rgba(255,184,0,0.10);
}

/* ARTISTIC COLORFUL BULLETS */
ul li:before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 50%, var(--primary) 100%);
  margin-right: 10px;
  vertical-align: middle;
}
ul li img {
  margin-left: -24px;
  margin-right: 8px;
  background: #fff;
  vertical-align: middle;
  border-radius: 6px;
  box-shadow: 0 1px 3px 0 rgba(255,184,0,0.08);
}
ul li img + strong,
ul li img + span {
  margin-left: 5px;
}
ul li img:before {display:none;}

.text-section ul li:before { display: none; }

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus { color: var(--secondary); }
.footer-contact {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 26px;
  align-items: center;
}
.footer-contact img { margin-right: 4px; }

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 300;
  height: 48px;
  width: 48px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.3rem;
  border-radius: 14px;
  border: none;
  box-shadow: 0 2px 8px rgba(255,184,0,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: #fff;
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.7,.2,.18,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px 24px 32px;
  box-shadow: 0 0px 22px rgba(29,66,138,0.09); 
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: -1px 0 10px rgba(29,66,138,0.09);
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.0rem;
  border: none;
  border-radius: 12px;
  padding: 6px 18px;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.23rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  outline: none;
}

/* Hide main nav on mobile */
@media (max-width: 900px) {
  header nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0 !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* CONTENT RESPONSIVE LAYOUT */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    gap: 12px;
    padding: 16px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* FORMS, INPUTS (if any) */
input, textarea, select {
  background: #fff;
  border: 1.6px solid var(--gray);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff7e5;
  color: #1D428A;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 24px 20px 22px 20px;
  width: 100%;
  box-shadow: 0 -3px 24px rgba(29,66,138,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2023;
  gap: 20px;
  transition: transform 0.28s cubic-bezier(.67,.05,.31,1.02), opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 9px 24px;
  margin: 0;
  box-shadow: 0 2px 12px rgba(255,184,0,0.12);
  transition: background 0.13s, color 0.15s;
}
.cookie-banner .btn-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .btn-accept:hover { background: var(--primary); color: #fff; }
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--danger);
  border: 1.4px solid var(--danger);
}
.cookie-banner .btn-reject:hover {
  background: var(--danger);
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #fff;
  color: var(--primary);
  border: 1.4px solid var(--primary);
}
.cookie-banner .btn-settings:hover {
  background: var(--primary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,66,138,0.13);
  z-index: 2048;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal .modal-content {
  background: #fff7e5;
  border-radius: 20px;
  padding: 35px 36px 30px 36px;
  max-width: 410px;
  min-width: 295px;
  color: var(--primary);
  box-shadow: 0 8px 40px rgba(255,184,0,0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: scaleFadeIn 0.44s cubic-bezier(.71,0,.22,1.03);
}
@keyframes scaleFadeIn {
  from { opacity: 0; transform: scale(0.93) translateY(20px);} to { opacity: 1; transform: scale(1) translateY(0);}
}
.cookie-modal h3 { font-size: 1.35rem; }
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.35rem;
  border: none;
  border-radius: 8px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .modal-close:hover {
  background: var(--primary);
  color: #fff;
}

/* UTILITIES & CLASSES */
.text-center {text-align: center;}
.mt-2 {margin-top: 16px;}
.mt-3 {margin-top: 24px;}
.mt-4 {margin-top: 40px;}
.mb-2 {margin-bottom: 16px;}
.mb-3 {margin-bottom: 24px;}
.mb-4 {margin-bottom: 40px;}
.rounded {border-radius: 16px;}
.shadow {box-shadow: 0 3px 12px rgba(29,66,138,0.07);}

/**** ARTISTIC & CREATIVE ACCENTS ****/
/* Colorful wavy underline for display headings */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: '';
  display: block;
  height: 9px;
  width: 80px;
  border-radius: 12px 0 16px 10px;
  background: linear-gradient(90deg, var(--secondary), #EE79A6 80%);
  position: absolute;
  left: 0;
  bottom: -8px;
  opacity: 0.53;
  z-index: -1;
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .cookie-modal .modal-content    { min-width: 90vw;  padding: 18px 10px 18px 10px; }
}

/* ARTSY ACCENT DOTS IN BUTTONS */
.btn-primary:after {
  content: '';
  display: inline-block;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  margin-left: 12px;
  background: radial-gradient(circle at 60% 40%, #ffb800 65%, #ffe5a0 90%);
  vertical-align: middle;
  opacity: .63;
  position: relative;
  top: 1px;
  transition: opacity .18s;
}
.btn-primary:hover:after {
  opacity: 1;
}

/* Unique creative underline for nav active (simulate with .active on nav a, add this class in JS if needed) */
header nav a.active, .mobile-nav a.active {
  background: var(--secondary);
  color: var(--primary)!important;
  position: relative;
}
header nav a.active::after, .mobile-nav a.active::after {
  content: '';
  display: block;
  height: 6px;
  width: 60%;
  margin: 0 auto;
  background: #1D428A;
  border-radius: 10px;
  opacity: .18;
  margin-top: 2px;
}

/* Animations & Interaction Effects */
.card, .testimonial-card, .btn-primary, .cookie-banner, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: box-shadow 0.18s, background 0.16s, color 0.15s, transform 0.13s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* Accessibility: Ensure contrast in testimonials */
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  background: #fff;
  color: #22223b;
}
.testimonial-card blockquote {
  color: #334;
  font-weight: 600;
}

/* Miscellaneous: Tables, etc. (Mostly plain) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
}
th, td {
  border: 1.3px solid var(--gray);
  padding: 8px 14px;
  text-align: left;
}
th {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}

/* Hide cookie banner if accepted */
.cookie-banner.hide { display: none;}
.cookie-modal.hide { display: none; }

/* For accessibility - focus outlines */
a:focus, button:focus, .btn-primary:focus, .mobile-menu-close:focus {
  outline: 2px dashed #1D428A;
  outline-offset: 2px;
}

/* Ensure all cards/sections have minimum 20px vertical margin */
section, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* ENFORCE CONSISTENT FLEX PATTERNS */
.card-container, .content-grid, .testimonial-container, .features, .footer-contact, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Disable grid/columns (just to be extra sure) */
[class*="grid"], [class*="column"] {
  display: flex !important;
  flex-wrap: wrap !important;
}

/******* END *******/
