/* =========================================================
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #F9F8F3;
  color: #31291E;
  font-family: 'Open Sans', Arial, sans-serif;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #21A398;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #043B5C; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
}
input, textarea, button {
  outline: none;
  border-radius: 8px;
}

/* =========================================================
   Brand Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #043B5C;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem;    line-height: 1.2; }
h3 { font-size: 1.4rem;  line-height: 1.25; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.7rem; }
}
p, li, blockquote, label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #31291E;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: #043B5C;
}

/* =========================================================
   Spacing & Container
   ========================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(210,112,0,0.07);
}
@media (max-width: 768px) {
  .section { padding: 24px 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(32,21,1,0.08);
  margin-bottom: 20px;
  padding: 30px 20px;
  position: relative;
  flex: 1 1 340px;
  min-width: 260px;
  transition: box-shadow 0.15s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(32,21,1,0.14);
}

.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.feature-item {
  background: #F9F8F3;
  box-shadow: 0 2px 8px 0 rgba(34,60,80,0.07);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 230px;
  min-width: 200px;
  transition: box-shadow 0.18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  background: #FFF9F4;
  border-radius: 8px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 5px 24px 0 rgba(34,60,80,0.10);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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; gap: 18px; }
  .feature-grid, .features { flex-direction: column; }
}

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 24px;
  font-size: 1em;
  list-style: disc inside;
  line-height: 1.6;
}
ul ul, ol ul {
  margin-top: 6px;
}
li {
  margin-bottom: 10px;
}

blockquote {
  border-left: 5px solid #FFD3B0;
  padding-left: 18px;
  margin-bottom: 12px;
  color: #283245;
  background: #fff6ec;
  border-radius: 12px;
}
blockquote footer {
  font-size: 0.96em;
  color: #134962;
  font-weight: 700;
  margin-top: 9px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =========================================================
   Buttons & CTAs
   ========================================================= */
.cta-primary, .cta-primary:visited {
  display: inline-block;
  background: #21A398;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  border: none;
  border-radius: 32px;
  padding: 14px 32px;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(32,21,1,0.10);
  transition: background 0.17s, box-shadow 0.13s, transform 0.18s;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #043B5C;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(32,21,1,0.13);
  transform: translateY(-2px) scale(1.025);
}

button {
  background: #FFD3B0;
  color: #043B5C;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  margin: 0 7px 0 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(210,112,0,0.06);
}
button:hover, button:focus {
  background: #21A398;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(34,60,80,0.11);
}

/* For form fields if relevant in extensions */
input[type="text"],
input[type="email"],
textarea {
  border: 1px solid #F0D3C2;
  padding: 10px 14px;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(34,60,80,0.05);
  transition: border 0.15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #21A398;
}

/* =========================================================
   Header & Navigation
   ========================================================= */
header {
  background: #fff;
  padding: 0;
  box-shadow: 0 4px 18px 0 rgba(34, 60, 80, 0.02);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px; padding-bottom: 15px;
}
header img {
  height: 54px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.main-nav a {
  color: #043B5C;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 16px;
  border-radius: 18px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: #F9F8F3;
  color: #21A398;
}

/* Responsive hide main-nav and show burger on mobile */
.mobile-menu-toggle {
  display: none;
  height: 48px; width: 48px;
  background: #FDE0C7;
  color: #043B5C;
  border: none;
  border-radius: 14px;
  font-size: 2.2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  margin-left: 14px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #21A398;
  color: #fff;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 1px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 0px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  header img { height: 42px; }
}
/* ========== Mobile Menu Overlay ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,251,247,0.98);
  z-index: 1200;
  display: flex;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.77,0,.175,1), opacity 0.18s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin: 72px 0 0 0;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #043B5C;
  font-weight: 600;
  border-radius: 13px;
  padding: 12px 16px;
  min-width: 160px;
  transition: background 0.18s, color 0.13s;
  display: block;
  margin-bottom: 2px;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD3B0;
  color: #043B5C;
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  background: #FFD3B0;
  color: #043B5C;
  border: none;
  border-radius: 12px;
  height: 44px; width: 44px;
  font-size: 1.8rem;
  z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #21A398;
  color: #fff;
}

/* =========================================================
   Hero Section (Index Page)
   ========================================================= */
.hero {
  background: #FFD3B0;
  border-radius: 0 0 40px 40px;
  padding: 60px 0 64px 0;
  box-shadow: 0 6px 18px 0 rgba(210,112,0,0.09);
}
.hero h1 {
  color: #043B5C;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #362606;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .hero { padding: 38px 0 34px 0; }
}

/* =========================================================
   Testimonials & Cards
   ========================================================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffdfa;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(200,120,21,0.07);
  border-left: 6px solid #21A398;
  max-width: 800px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 22px 0 rgba(32,21,1,0.10);
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: #043B5C;
  margin-bottom: 0;
}
.testimonial-card footer {
  color: #31291E;
  font-size: 1rem;
  padding-top: 10px;
}

/* ENSURE CONTRAST: Testimonial text is always dark on light bg */
.testimonial-card p, .testimonial-card blockquote, .testimonial-card footer {
  color: #043B5C;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: #043B5C;
  color: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 44px 0 25px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 1em;
}
footer img { height: 42px; border-radius: 8px; }
footer a { color: #FFD3B0; }
footer a:hover, footer a:focus { color: #fff; text-decoration: underline; }
.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  align-items: flex-end;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .footer-nav {
    align-items: flex-start;
    margin-top: 18px;
  }
}

/* =========================================================
   Utility: Responsive, Flex Spacing & Patterns
   ========================================================= */
@media (max-width: 900px) {
  .card-container,
  .content-grid,
  .feature-grid,
  .testimonial-card {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .section { padding: 18px 2px; }
}

/* Margin/gap utility classes (for manual overrides if needed) */
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.gap-20 { gap: 20px !important; }
.gap-12 { gap: 12px !important; }

/* Card images (feature icons) */
.feature-item img, .contact-details img {
  border-radius: 10px;
  background: #FFF9F4;
  margin-right: 14px;
}
/* Contact Details Styling (Contact Page) */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff8f2;
  border-radius: 14px;
  padding: 20px 18px;
  margin-bottom: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  color: #26323a;
}
.contact-details img {
  min-width: 28px;
  height: 28px;
}

/* =========================================================
   Cookie Consent Banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #FFD3B0;
  color: #362606;
  box-shadow: 0 -2px 12px 0 rgba(32,21,1,0.08);
  padding: 20px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
  transition: transform 0.22s cubic-bezier(.42,0,.58,1),opacity 0.13s;
}
.cookie-banner.hide {
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  min-width: 120px;
  font-size: 1rem;
  background: #043B5C;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-banner button:hover,
.cookie-banner .cookie-settings-btn:hover {
  background: #21A398;
}
.cookie-banner .reject {
  background: #FFD3B0;
  color: #043B5C;
  border: 2px solid #043B5C;
}
.cookie-banner .reject:hover {
  background: #fff;
  color: #043B5C;
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: rgba(30,30,30,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #043B5C;
  border-radius: 20px;
  max-width: 370px;
  width: calc(100% - 24px);
  padding: 32px 22px 22px 22px;
  box-shadow: 0 12px 44px 0 rgba(34,60,80,0.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  color: #043B5C;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-category label {
  color: #31291E;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px; right: 20px;
  background: #FFD3B0;
  color: #043B5C;
  border-radius: 14px;
  border: none;
  font-size: 1.3rem;
  padding: 5px 9px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover {
  background: #21A398;
  color: #fff;
}

/* ================================
   Animations & Micro-interactions
   ================================ */
.cta-primary, button, .mobile-menu, .mobile-menu-toggle, .feature-item, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition-property: background, color, box-shadow, transform, opacity;
  transition-duration: 0.15s, 0.13s, 0.18s, 0.18s, 0.12s;
  transition-timing-function: cubic-bezier(.42,0,.58,1);
}

/* =================================
   Misc Utility Classes
   ================================= */
.rounded {
  border-radius: 20px !important;
}
.shadow {
  box-shadow: 0 2px 13px 0 rgba(32,21,1,0.10) !important;
}
.bg-accent {
  background: #F9F8F3 !important;
}

/* =================================
   Print minimal fixes
   ================================= */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  header, footer {
    box-shadow: none !important;
    background: #fff !important;
    color: #043B5C !important;
  }
}

/* =================================
   Accessibility
   ================================= */
:focus {
  outline: 2px dotted #21A398;
  outline-offset: 2px;
}

/* End of Style Sheet */