/* === RESET & BASE STYLES === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #f9fafb;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  background: #f9fafb;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #0056A6;
  text-decoration: none;
}
a:hover, a:focus {
  color: #FF3E7F;
  text-decoration: underline;
}
button, .primary-cta {
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  border: none;
  outline: none;
}
:root {
  --brand-primary: #0056A6;
  --brand-secondary: #FFD23F;
  --brand-accent: #FF3E7F;
  --brand-white: #fff;
  --brand-bg: #f9fafb;
  --gray-100: #eceff3;
  --gray-200: #dae2ea;
  --gray-700: #404B5A;
  --shadow: 0 3px 12px 0 rgba(61,104,255,0.07);
  --radius: 16px;
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--brand-primary);
  text-shadow: 0 1px 0 rgba(255,255,255,0.03);
}
h1 { font-size: 2.7rem; line-height: 1.18; margin-bottom: 20px; color: var(--brand-accent); }
h2 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--brand-primary); }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p {
  margin-bottom: 12px;
  font-size: 1.08rem;
  color: #333950;
}
ol, ul {
  margin-bottom: 18px;
  padding-left: 1.35em;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
strong { font-weight: bold; }

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  padding: 36px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* --- FLEXBOX PATTERNS --- */
.card-container,
.feature-list,
.card-grid,.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--brand-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 14px 18px;
  min-width: 260px;
  flex: 1 1 310px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  gap: 20px;
}
.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: var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(61,104,255,0.07);
  margin-bottom: 20px;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAV === */
header {
  background: var(--brand-primary);
  padding: 0;
  box-shadow: 0 2px 10px 0 rgba(0,86,166,0.10);
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 900;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  min-height: 64px;
  background: var(--brand-primary);
}
.main-nav img {
  height: 42px;
  width: auto;
  margin-right: 16px;
}
.main-nav a {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 6px;
  transition: background 0.14s, color 0.17s, box-shadow 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  text-decoration: none;
}
.primary-cta {
  background: var(--brand-accent);
  color: #fff !important;
  padding: 11px 28px;
  font-size: 1.13rem;
  border-radius: 32px;
  box-shadow: 0 4px 10px rgba(255,62,127,0.10);
  font-family: 'Baloo 2', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.05em;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.14s;
  margin-left: 16px;
  outline: none;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary) !important;
  box-shadow: 0 7px 18px 0 rgba(255,210,63,0.15);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 910;
  box-shadow: 0 1px 5px 0 rgba(0,0,0,0.06);
  transition: background 0.16s;
}
.mobile-menu-toggle:active {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-primary);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.83,0,0.17,1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  align-self: flex-end;
  margin: 18px 20px 14px 0;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.15s;
}
.mobile-menu-close:active {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
  padding: 2px 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-primary);
  background: var(--brand-secondary);
}

/* Hide Main Nav on Mobile, Show Burger */
@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* === FOOTER === */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 52px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  margin-right: 12px;
  font-size: 1rem;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}
footer .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: column;
  font-size: 1.05rem;
}
footer .contact-info img {
  vertical-align: middle;
  height: 20px;
  margin-right: 8px;
}

/* ==== HOMEPAGE & CARD ELEMENTS ==== */
.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.features-list { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.content-wrapper > ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-wrapper > ul li {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 1.10rem;
  gap: 11px;
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.content-wrapper > ul li img {
  width: 26px; height: 26px;
  margin-right: 7px;
}

.content-wrapper > a:not(.primary-cta),
.content-wrapper a:not(.primary-cta) {
  color: var(--brand-accent);
  font-weight: bold;
  transition: color 0.13s;
  margin-top: 8px;
}
.content-wrapper > a:not(.primary-cta):hover { color: var(--brand-primary); }

/* === TESTIMONIALS === */
.testimonial-card {
  background: #fffbe8;
  color: #232425;
  border-left: 6px solid var(--brand-accent);
  margin-bottom: 20px;
  max-width: 560px;
  font-size: 1.1rem;
  box-shadow: 0 4px 24px rgba(255,210,63,0.10);
  position: relative;
}
.testimonial-card p {
  font-size: 1.13rem;
  margin-bottom: 7px;
  color: #22253B;
}
.testimonial-card span {
  font-weight: 700;
  color: #0056A6;
  font-size: 1rem;
}
.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 3px;
}
.testimonial-card img {
  height: 23px;
  width: 23px;
}

/* === FORM STYLES === */
label { display: block; margin-top: 18px; margin-bottom: 6px; color: var(--brand-primary); font-weight: 700; }
input[type=text], input[type=email], textarea {
  width: 100%;
  padding: 11px 15px;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 9px;
  background: #fff;
  margin-bottom: 12px;
  outline: none;
  transition: border 0.18s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: var(--brand-accent);
}
textarea { resize: vertical; min-height: 70px; }

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20000;
  width: 100vw;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 16px;
  box-shadow: 0 -2px 25px 0 rgba(0,86,166,0.12);
  animation: bounceInUp 0.9s cubic-bezier(0.19,0.82,0.43,1);
}
@keyframes bounceInUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-message {
  font-size: 1.05rem;
  flex: 1 1 320px;
  line-height: 1.5;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--brand-accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .settings-btn { background: var(--gray-100); color: var(--brand-primary); }
.cookie-banner .settings-btn:hover { background: var(--brand-accent); color: #fff; }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 55%;
  transform: translate(-50%,-55%) scale(0.98);
  z-index: 21000;
  padding: 36px 24px 26px 24px;
  background: #fff;
  color: var(--brand-primary);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px 0 rgba(0,86,166,0.24);
  min-width: 320px; max-width: 95vw;
  max-width: 390px;
  animation: fadeInScale 0.42s cubic-bezier(0.22,1,0.36,1);
  display: none;
  flex-direction: column;
  gap: 18px;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.88); }
  to   { opacity: 1; transform: translate(-50%,-55%) scale(0.98); }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h3 {
  font-size: 1.21rem;
  margin-bottom: 14px;
  color: var(--brand-accent);
}
.cookie-modal label {
  margin: 0 0 12px 0;
  color: var(--brand-primary);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--brand-primary);
  width: 19px;
  height: 19px;
}
.cookie-modal button {
  background: var(--brand-accent);
  color: #fff;
  border-radius: 14px;
  padding: 7px 21px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal button:hover { background: var(--brand-secondary); color: var(--brand-primary); }
.cookie-modal .modal-close {
  background: transparent;
  color: var(--brand-accent);
  border: none;
  position: absolute;
  right: 18px; top: 14px;
  font-size: 1.5rem;
  padding: 0;
  cursor: pointer;
  z-index: 21001;
}

/* === BADGE, CATEGORY, MISC === */
.category-badge {
  display: inline-block;
  color: var(--brand-primary);
  background: var(--brand-secondary);
  border-radius: 12px;
  font-size: 0.99rem;
  font-weight: 700;
  padding: 3px 12px;
  margin-left: 4px;
  letter-spacing: 0.01em;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  .container {
    max-width: 100vw;
    padding-left: 8px; padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    padding: 22px 6px 22px 6px;
  }
  .section {
    padding: 18px 0;
  }
  footer {
    padding: 24px 0 12px 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 0; padding-right: 0;
  }
  .section {
    padding: 18px 2px;
    margin-bottom: 36px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.13rem; }
  .content-wrapper {
    padding: 13px 1px 13px 1px;
    margin-bottom: 16px;
  }
  .card-container,
  .feature-list,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 13px 11px;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    gap: 9px;
  }
  footer .container {
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 8px 3px;
    font-size: 0.97rem;
    text-align: left;
  }
  .cookie-banner .cookie-actions { gap: 7px; }
  .cookie-modal {
    min-width: 0;
    max-width: 98vw;
    padding: 21px 10px 19px 10px;
  }
}

/* === MICRO-INTERACTIONS === */
input, textarea, button, .primary-cta {
  transition: box-shadow 0.15s, border 0.12s, background 0.15s, color 0.10s, transform 0.14s;
}
input:focus, textarea:focus {
  box-shadow: 0 0 0 2px var(--brand-secondary);
  border-color: var(--brand-accent);
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px rgba(0,86,166,0.11), var(--shadow);
  transform: translateY(-2px) scale(1.04);
  z-index: 2;
}
.card .primary-cta {
  margin-top: 12px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(255,62,127,0.17),var(--shadow);
}

/* === MISC === */
::-webkit-scrollbar {
  width: 11px;
  background: var(--gray-200);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 100px;
}

/* === Vibrant/Energetic COLOR ACCENTING === */
body {
  background: linear-gradient(120deg, #f2f9ff 80%, #ffd23f29 100%);
}
h1, h2, h3, h4, h5, h6 {
  text-shadow:
    0 1px 0 rgba(255,223,63,0.03),
    0 2px 12px #ffd23f18;
}
.main-nav, footer {
  background: linear-gradient(90deg, #0056A6 87%, #FF3E7F 100%);
}
.primary-cta {
  box-shadow: 0 3px 16px 0 #FF3E7F25;
  text-shadow: 0 1px 2px #fff2;
}

/* === PRINTABLE/ACCESSIBILITY === */
@media print {
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #222 !important; }
  .content-wrapper { box-shadow: none; }
}

/* === END === */
