/* --- 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, main, 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;
}
/* Set default box-sizing for all elements */
*, *::before, *::after {
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
body {
  background: #F9F6EF;
  color: #2B3A67;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
a {
  color: #2B3A67;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus {
  outline: 2px solid #74C69D;
  outline-offset: 2px;
}
a:hover {
  color: #74C69D;
}
strong, b {
  font-weight: 700;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* --- BRAND FONTS --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2B3A67;
  font-weight: 700;
  letter-spacing: -0.8px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(43,58,103,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #f0f8f4;
  color: #24996B;
}

/* --- CTA BUTTON --- */
.cta-button {
  background: #74C69D;
  color: #fff;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(43,58,103,0.06);
  transition: background 0.24s, box-shadow 0.18s, color 0.18s;
  margin-left: 12px;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #2B3A67;
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(116,198,157,0.13);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #74C69D;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  z-index: 1001;
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #2B3A67;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(249,246,239,0.96);
  box-shadow: -2px 0 12px rgba(43,58,103,0.11);
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  color: #2B3A67;
  border-radius: 50%;
  margin: 20px 0 10px 0;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px rgba(43,58,103,0.07);
  border: none;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: #2B3A67;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  border-radius: 0;
  color: #2B3A67;
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #74C69D;
  background: #eaf7f0;
}
/* Hide main nav and show burger on small screens */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Hide mobile menu by default on desktop */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN & CONTENT --- */
main {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  background: none;
}
.text-section {
  background: linear-gradient(92deg, #fff 90%, #f9f6ef 100%);
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(43,58,103,0.04);
  margin-bottom: 30px;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: stretch;
  justify-content: flex-start;
}
.category-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px 0 rgba(43,58,103,0.08);
  padding: 30px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow 0.24s, transform 0.2s;
}
.category-card:hover {
  box-shadow: 0 12px 38px 0 rgba(43,58,103,0.14);
  transform: translateY(-4px);
}
.category-card h3 {
  margin-bottom: 6px;
}
.category-card a {
  color: #2B3A67;
  text-decoration: underline;
  transition: color 0.18s;
}
.category-card a:hover {
  color: #74C69D;
}

/* --- CARD & FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(43,58,103,0.08);
  padding: 24px 18px;
  margin-bottom: 20px;
  min-width: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 20px 0 rgba(116,198,157,0.13);
}
.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;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(43,58,103,0.07);
  padding: 20px;
  margin-bottom: 20px;
  color: #2B3A67;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 220px;
  max-width: 600px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-style: italic;
  color: #2B3A67;
  margin: 0 10px 0 0;
  line-height: 1.5;
  border-left: 4px solid #74C69D;
  padding-left: 13px;
  letter-spacing: -0.2px;
}
.testimonial-card p {
  margin: 0;
  font-size: 1rem;
  color: #2B3A67;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px 0 rgba(42,96,78,0.09);
  transform: translateY(-4px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(43,58,103,0.06);
  padding: 20px 16px;
  margin-bottom: 20px;
}

/* --- QUICK TIPS, CHECKLISTS --- */
.quick-tips, .checklists {
  margin-top: 22px;
  background: #eaf7f0;
  border-radius: 9px;
  padding: 18px 16px;
  box-shadow: 0 1px 5px rgba(116,198,157,0.09);
}
.quick-tips h4, .checklists h3 {
  color: #21907F;
  font-size: 1rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial,sans-serif;
}

/* --- ICONS WITHIN LISTS --- */
ul li img, .address-info img, .contact-details img, .contact-info img {
  vertical-align: middle;
  margin-right: 8px;
  width: 22px;
}

/* --- ADDRESS & CONTACT --- */
.address-info, .contact-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #e9e6d6;
  margin-top: 30px;
  padding: 0 0 12px 0;
  box-shadow: 0 -1px 16px 0 rgba(43,58,103,0.07);
}
footer .container {
  padding: 32px 20px 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  min-width: 180px;
}
.brand-info img {
  height: 36px;
  width: auto;
  margin-bottom: 3px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a, .footer-legal a {
  color: #2B3A67;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
  padding: 2px 0;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #74C69D;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a img {
  width: 32px;
  height: 32px;
  opacity: 0.82;
  transition: opacity 0.15s, transform 0.15s;
}
.social-links a:hover img {
  opacity: 1;
  transform: scale(1.07);
}
/* FOOTER LAYOUT ON SMALL SCREENS */
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

/* --- SPACING/SECTION RULES (MANDATORY) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY SCALE --- */
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  .cta-button {
    font-size: 1rem;
    padding: 10px 18px;
  }
}
@media (min-width: 769px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.23rem; }
}

/* --- RESPONSIVE LAYOUT RULES --- */
@media (max-width: 768px) {
  .content-wrapper, .categories {
    flex-direction: column;
    gap: 16px;
  }
  .categories {
    flex-wrap: wrap;
    align-items: stretch;
  }
  .category-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  footer .container {
    padding: 18px 8px 0 8px;
  }
  .text-section {
    padding: 20px 10px;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .category-card, .testimonial-card, .feature-item {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 10px 28px 0 rgba(116,198,157,0.13);
  transform: translateY(-4px);
}
.cta-button {
  transition: background 0.24s, box-shadow 0.18s, color 0.18s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2B3A67;
  color: #fff;
  width: 100vw;
  z-index: 5000;
  box-shadow: 0 -4px 24px rgba(43,58,103,0.11);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.4s, transform 0.36s cubic-bezier(.65,.05,.36,1);
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-banner p {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
  color: #fff;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.cookie-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 18px;
  padding: 9px 22px;
  border: none;
  background: #74C69D;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(43,58,103,0.07);
  margin: 0 4px;
  transition: background 0.16s, color 0.16s;
}
.cookie-button:hover, .cookie-button:focus {
  background: #fff;
  color: #2B3A67;
}
.cookie-button.reject {
  background: #e94d3c;
  color: #fff;
}
.cookie-button.reject:hover, .cookie-button.reject:focus {
  background: #fff;
  color: #e94d3c;
}
.cookie-button.settings {
  background: #fff;
  color: #2B3A67;
  border: 1px solid #2B3A67;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #74C69D;
  color: #fff;
  border: none;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 5500;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(43,58,103,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #2B3A67;
  padding: 34px 28px 28px 28px;
  border-radius: 18px;
  min-width: 320px;
  max-width: 96vw;
  min-height: 90px;
  box-shadow: 0 6px 22px rgba(43,58,103,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookieModalDrop 0.38s cubic-bezier(.5,1.7,.5,1) both;
}
@keyframes cookieModalDrop {
  from { opacity: 0; transform: translateY(-50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: #74C69D;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #2B3A67;
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  padding: 6px 0;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #74C69D;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #aaa;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* --- UTILITIES & OVERRIDE CLEANUP --- */
hr {
  border: none;
  border-bottom: 1px solid #e9e6d6;
  margin: 30px 0;
}
::-webkit-scrollbar {
  width: 8px;
  background: #f6f6f5;
}
::-webkit-scrollbar-thumb {
  background: #e9e6d6;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bfc2c9;
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid #74C69D;
  outline-offset: 2px;
}

/* --- END --- */
