/* === RESET & BASE === */
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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #F7F7F5;
  color: #244266;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #387940;
  text-decoration: none;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: #305c32;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
table{
  border-collapse: collapse;
  width: 100%;
}
th, td{
  padding: 8px 12px;
  text-align: left;
}
strong {
  font-weight: bold;
}

/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  --color-primary: #244266; /* navy shade */
  --color-secondary: #FFD1CE; /* soft salmon/peach */
  --color-accent: #F7F7F5; /* background off-white */
  --color-green: #387940; /* accent green for nature theme */
  --color-brown: #8d7550; /* earth brown */
  --color-copper: #ddb27c; /* for highlights */
  --color-focus: #305c32;
  --color-shadow: rgba(46, 78, 43, 0.10);
  --container-width: 1140px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ============== CONTAINER & SECTIONS ============== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 2px 16px var(--color-shadow);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
    border-radius: 22px;
  }
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: #244266;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}
p, li {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #2d3330;
}
.subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-brown);
  margin-bottom: 26px;
  margin-top: -9px;
  font-weight: 500;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: #244266;
  background: #F5EFE8;
  border-left: 5px solid var(--color-green);
  margin: 0 0 10px 0;
  padding: 11px 18px 11px 15px;
  border-radius: 12px 24px 24px 12px;
}

/* ============= HEADER & NAVIGATION ============= */
header {
  background: var(--color-accent);
  padding: 0;
  border-bottom: 1.5px solid #E3E1DA;
  position: relative;
  z-index: 97;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  margin-top: 0;
  margin-bottom: 0;
}
.logo img {
  height: 44px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  padding: 8px 4px;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--color-primary);
  border-radius: 8px;
  transition: background 0.15s, color 0.12s;
}
nav a:hover, nav a:focus {
  color: var(--color-green);
  background: var(--color-secondary);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 24px 36px 22px 36px;
  box-shadow: 0 2px 10px 0 rgba(56,121,64,0.07);
  border: none;
  outline: none;
  text-align: center;
  transition: box-shadow 0.2s, background 0.18s, color 0.13s, transform 0.18s;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-green);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #305c32;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(56,121,64,0.15);
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-green);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #ffd8c8;
  color: #244266;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(223,153,141,0.13);
}

/* HIDE NAV in header on MOBILE */
@media (max-width: 944px) {
  header .container nav,
  header .container .btn-primary {
    display: none;
  }
}

/* ============= MOBILE BURGER MENU ============= */
.mobile-menu-toggle {
  position: absolute;
  right: 24px;
  top: 20px;
  background: #F5EFE8;
  border-radius: 13px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--color-green);
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #E3E1DA;
  z-index: 999;
}
@media (max-width: 944px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  /* hidden by default */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F7F7F5;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.65,.06, .3, .97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: 10px 0 44px rgba(56,97,44,0.15);
}
.mobile-menu.open {
  transform: translateX(0%);
  animation: mobileMenuShow 0.3s cubic-bezier(.7,.2, .5, 1.0);
}
@keyframes mobileMenuShow {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.mobile-menu-close {
  padding: 0;
  background: none;
  color: var(--color-green);
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 30px 0 0;
  background: #F5EFE8;
  border-radius: 13px;
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  margin: 32px 0 0 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-primary);
  padding: 10px 6px 10px 0;
  border-radius: 8px;
  transition: background 0.19s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-green);
  background: var(--color-secondary);
}
@media (min-width: 945px) {
  .mobile-menu { display:none; }
  .mobile-menu-toggle { display: none !important; }
}

/* ============= HERO SECTION, FEATURES ============= */
.hero {
  background: linear-gradient(130deg,#F7F7F5 60%, #E7EDD8 98%);
  padding: 58px 0 65px 0;
  margin-bottom: 50px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 28px 0;
    margin-bottom: 32px;
    border-radius: 0 0 40px 40px;
  }
  .hero .content-wrapper {
    text-align: left;
    align-items: flex-start;
    padding: 0 4px;
  }
}

.features {
  background: #F9F7F0;
  border-radius: 40px;
  margin-bottom: 54px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.feature-grid{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0 0 0;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border-radius: 24px 34px 34px 18px;
  box-shadow: 0 1.5px 8px rgba(46, 78, 43, 0.06);
  padding: 26px 18px 18px 18px;
  margin-bottom: 20px;
  width: 240px;
  border-left: 6px solid var(--color-green);
}
.feature-grid li img {
  height: 34px; width: 34px;
  margin-bottom: 6px;
}
@media (max-width: 980px) {
  .feature-grid {
    flex-wrap: wrap;
    gap: 16px;
  }
  .feature-grid li { width: calc(50vw - 54px); min-width: 182px; }
}
@media (max-width: 700px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-grid li { width: 100%; min-width: unset; }
}

.features ul:not(.feature-grid) li, .features .content-wrapper ul li {
  font-size: 1.04rem;
  position: relative;
  margin-bottom: 14px;
  color: #305c32;
}

/* ============= SERVICE LISTS ============= */
.services-list, .services-list-detailed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 35px;
}
.services-list li, .services-list-detailed .service-block {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 8px rgba(56, 97, 44, 0.06);
  margin-bottom: 20px;
  padding: 22px 20px 18px 24px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 340px;
}
.service-block span{
  display: block;
  color: var(--color-green);
  font-weight: 700;
  margin-top: 10px;
  font-size: 1.10rem;
}
@media (max-width: 900px){
  .services-list, .services-list-detailed {
    flex-direction: column;
    gap:20px;
  }
}

/* ============= PRICING TABLES ============= */
.pricing {
  background: #F7F7F5;
  margin-bottom: 58px;
  border-radius: 36px;
}
.pricing-table {
  background: #fff;
  margin: 26px 0 30px 0;
  border-radius: 15px;
  box-shadow: 0 1px 10px 0 rgba(56,121,64,0.07);
  overflow: hidden;
  width: 100%;
}
.pricing-table th {
  background: #EDF4E6;
  font-family: var(--font-display);
  color: var(--color-green);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 13px 12px;
}
.pricing-table tr {
  border-bottom: 1.5px solid #EDF4E6;
}
.pricing-table tr:last-child {
  border-bottom: none;
}
.pricing-table td {
  font-size: 1rem;
  color: #305c32;
  background: #fff;
  vertical-align: top;
  font-family: var(--font-body);
  padding: 13px 12px;
}
@media (max-width: 650px) {
  .pricing-table th,
  .pricing-table td {
    padding: 10px 5px;
    font-size: 0.97rem;
  }
  .pricing-table {
    font-size: 0.93rem;
  }
}

.service-list{
  margin: 18px 0 0 0;
  padding-left: 16px;
}
.service-list li {
  position: relative;
  margin-bottom: 11px;
  color: var(--color-green);
  font-size: 1.01rem;
}

/* ============= TESTIMONIALS ============= */
.testimonials {
  background: #E7EDD8;
  padding: 54px 0 40px 0;
  margin-bottom: 46px;
  border-radius: 34px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 24px 36px 28px 18px;
  box-shadow: 0 2px 14px rgba(36,66,40,0.10);
  padding: 20px 20px 18px 24px;
  margin-bottom: 20px;
  max-width: 480px;
  color: #244266;
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid var(--color-green);
  font-size: 1.08rem;
  color: #244266;
}
.testimonial-card p strong {
  color: var(--color-green);
  font-size: 1.02rem;
}

/* =========== CTA AND THANK YOU ============ */
.cta {
  background: #EDF4E6;
  text-align: center;
  border-radius: 29px;
  margin-bottom: 60px;
  padding: 36px 10px 34px 10px;
}
.cta .btn-primary {
  margin-top: 20px;
}
.thankyou {
  border-radius: 32px;
  background: #fff;
  padding: 36px 18px 32px 18px;
  margin-bottom: 50px;
  box-shadow: 0 1.5px 13px rgba(46,78,43,0.09);
}

/* ============== FOOTER ============== */
footer {
  background: #244266;
  color: #faf9f5;
  padding: 32px 0 18px 0;
  margin-top: 20px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
}
footer img {
  height: 36px;
  margin-bottom: 5px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #DDE6DB;
  padding: 3px 2px;
  font-family: var(--font-body);
  font-size: 1.01rem;
  border-radius: 7px;
  transition: color 0.13s, background 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-secondary);
  background: #44670044;
}
footer .address {
  font-size: 0.97rem;
  color: #EEECE7;
  line-height: 1.5;
}
footer .address a {
  color: #beeed1;
  text-decoration: underline;
}
@media (max-width:800px) {
  footer .container { flex-direction: column; gap:20px; align-items: flex-start; }
}

/* ============= LAYOUT PATTERNS – FLEXBOX ENFORCED ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px 32px 12px 24px;
  box-shadow: 0 1px 9px rgba(46,78,43,0.08);
  overflow: hidden;
  padding: 23px 16px 18px 18px;
  flex: 1 1 230px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container { flex-direction: column; gap: 18px; }
}

/**** Micro-interactions and Transitions ****/
.card,
.card-container .card,
.services-list li,
.services-list-detailed .service-block,
.testimonial-card,
.feature-grid li {
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover,
.services-list li:hover,
.services-list-detailed .service-block:hover,
.testimonial-card:hover,
.feature-grid li:hover {
  box-shadow: 0 4.5px 24px rgba(56, 121, 64, 0.13);
  transform: translateY(-2px) scale(1.025);
}

/* ======== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  bottom:0; left: 0; right: 0;
  background: #fff7ee;
  border-top: 2.5px solid #EDF4E6;
  box-shadow: 0 -2px 20px 0 rgba(54,80,40,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 20px 23px;
  z-index: 99999;
  animation: cookieBannerFadeIn 0.53s;
}
@keyframes cookieBannerFadeIn {
  from { bottom: -80px; opacity: 0; }
  to   { bottom: 0; opacity: 1; }
}
.cookie-banner .cookie-banner-content {
  max-width: 680px;
  font-size: 1rem;
  color: var(--color-brown);
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 24px;
  border-radius: 24px;
  border: none;
  margin-right: 3px;
  transition: background 0.16s, box-shadow 0.15s;
}
.cookie-banner .accept {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 1px 11px rgba(56,121,64,0.07);
}
.cookie-banner .accept:hover { background: #305c32; }
.cookie-banner .reject {
  background: #FFD1CE;
  color: var(--color-green);
}
.cookie-banner .reject:hover { background: #ffc8be; color: #244266; }
.cookie-banner .settings {
  background: #E7EDD8;
  color: var(--color-green);
}
.cookie-banner .settings:hover { background: #c4e0ab; color: #244266; }

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 8px 18px 10px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(56,121,64,0.21);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOverlay 0.25s;
}
@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 6px 44px 4px rgba(36, 66, 40, 0.19);
  padding: 35px 27px 21px 27px;
  min-width: 280px; max-width: 98vw;
  width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px; right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-green);
  border-radius: 9px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  background: #F9F7F0;
  border-radius: 15px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-green);
}
.cookie-category.essential label {
  color: var(--color-green);
  font-weight: 700;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 23px;
  border-radius: 24px;
  border: none;
  transition: background 0.16s, box-shadow 0.15s;
}
.cookie-modal .accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-modal .accept:hover { background: #305c32; }
.cookie-modal .reject {
  background: #FFD1CE;
  color: var(--color-green);
}
.cookie-modal .reject:hover { background: #ffc8be; color: #244266; }

/* ============= UTILITY CLASSES FOR ORGANIC SHAPE ============= */
.organic-bg {
  background: linear-gradient(140deg, #E7EDD8 63%, #FFD1CE 100%);
  border-radius: 108px 44px 60px 90px/60px 88px 60px 130px;
  box-shadow: 5px 14px 36px #c4e0ab22, 0 4px 12px #ddb27c24;
}

.text-section, .content-wrapper.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* ============= ACCESSIBILITY FOCUS OUTLINE ============= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px dashed var(--color-green);
  outline-offset: 2px;
}

/* ============= MISC MEDIA QUERIES ============= */
@media (max-width: 545px) {
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.18rem; }
  .btn-primary, .btn-secondary { font-size: 0.97rem; padding: 10px 13px; border-radius: 18px; }
  .section { padding: 23px 6px; margin-bottom: 18px; }
}

/* ============= ORGANIC DIVIDERS (use as decorative only) ============= */
.organic-divider {
  width: 100%;
  height: 56px;
  background: url('../assets/organic-divider.svg') repeat-x center bottom;
  margin-top: -34px;
  margin-bottom: 45px;
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 12px;
  background: #F7F7F5;
}
::-webkit-scrollbar-thumb {
  background: #E7EDD8;
  border-radius: 14px;
}

/* === END === */
