/* ================= 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F4F2;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2a362c;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #199CBB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #205D40;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
}
strong, b {
  font-weight: 700;
}

/* ================= BRAND TYPE =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #205D40;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  color: #354E3B;
  font-size: 1rem;
  margin-bottom: 12px;
}
.section p, .content-wrapper > p {
  max-width: 720px;
}

/* ================= LAYOUT CONTAINERS =================== */
.container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
}

/* ================== HEADER & NAV ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 7px 0 rgba(32,93,64,0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 12px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205D40;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #199CBB;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #205D40;
  color: #fff;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 9px rgba(32,93,64,0.1);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #199CBB;
  color: #fff;
  box-shadow: 0 4px 18px rgba(25,156,187,0.08);
  transform: translateY(-2px) scale(1.03);
}

/* ============= MOBILE HEADER BURGER ============= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #205D40;
  cursor: pointer;
  padding: 6px 14px;
  margin-left: 8px;
  border-radius: 6px;
  z-index: 120;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F4F2;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========== MOBILE SLIDE-OUT NAVIGATION ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,93,64,0.93);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
  transition-delay: 0s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  padding: 18px 24px 12px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #199CBB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding: 36px 40px 0 40px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #199CBB;
  color: #fff;
}
@media (min-width: 1001px) {
  .mobile-menu {display: none;}
}

/* ================= MAIN HERO =================== */
.hero {
  padding: 64px 0 32px 0;
  background: #E8F3EE;
  border-radius: 0 0 30px 30px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
  color: #205D40;
}
.hero p {
  max-width: 670px;
  color: #2E4538;
  font-size: 1.14rem;
  margin-bottom: 28px;
}
.hero .cta-btn {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 0 22px 0;
    border-radius: 0 0 18px 18px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
}

/* ================= SECTION & CARDS =================== */
.features, .feature-grid, .feature-item {
  width: 100%;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 28px;
}
.feature-item {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(32,93,64,0.07);
  gap: 15px;
  padding: 26px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, transform 0.15s;
  min-width: 230px;
  max-width: 340px;
}
.feature-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 4px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 28px 0 rgba(25,156,187,0.13);
  transform: translateY(-4px) scale(1.02);
}
.feature-item h3{
  font-size: 1.22rem;
  color: #205D40;
}
.feature-item p{
  font-size: 1rem;
  color: #36473b;
}

@media(max-width: 1000px){
  .features .feature-grid {
    gap: 16px;
  }
  .feature-item {
    min-width: 170px;
    max-width: 100%;
  }
}
@media(max-width: 600px){
  .features .feature-grid {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
  }
}

.services-list {
  list-style: none;
  margin-bottom: 18px;
}
.services-list li {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 18px;
  padding: 22px 18px 20px 18px;
  box-shadow: 0 2px 10px rgba(32,93,64,0.07);
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2A362C;
  transition: box-shadow 0.20s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.services-list li:hover, .services-list li:focus-within {
  box-shadow: 0 5px 19px rgba(25,156,187,0.11);
  transform: translateY(-2px) scale(1.01);
}
.services-list h3 {
  font-size: 1.18rem;
  margin-bottom: 2px;
}
.services-list strong {
  color: #199CBB;
  font-weight: 700;
  margin-top: 7px;
  display: inline-block;
}

.card-container,.card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(32,93,64,0.06);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(25,156,187,0.12);
  transform: translateY(-2px) scale(1.01);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* =============== TESTIMONIALS ============== */
.testimonials {
  background: #fafdff;
  padding-top: 48px;
  padding-bottom: 36px;
  border-radius: 22px;
}
.testimonials h2{
  margin-bottom: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(32,93,64,0.09);
  transition: box-shadow 0.17s, transform 0.13s;
  min-width: 220px;
  max-width: 520px;
  color: #2A362C;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #205D40;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #199CBB;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 26px rgba(25,156,187,0.10);
  transform: translateY(-3px) scale(1.01);
}
@media(max-width: 600px){
  .testimonial-card {
    padding: 16px 12px;
    min-width: 0;
  }
}

/* =============== CTA SECTION ============== */
.cta {
  background: #205D40;
  border-radius: 19px;
  padding: 44px 0 36px 0;
  text-align: center;
  box-shadow: 0 2px 14px rgba(32,93,64,0.08);
  margin-top: 26px;
  color: #fff;
}
.cta h2 {
  color: #fff;
  margin-bottom: 18px;
}
.cta .cta-btn {
  background: #199CBB;
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(25,156,187,0.09);
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #205D40;
  box-shadow: 0 8px 22px rgba(32,93,64,0.12);
}
.cta p {
  color: #e9fff3;
  font-size: 1rem;
}

/* =========== QUICK LINKS / BLOG LIST ============ */
.quick-links {
  margin: 24px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.link {
  color: #199CBB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.18s;
}
.link:hover, .link:focus {
  color: #205D40;
  text-decoration: underline;
}
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 18px;
}
.articles-list li {
  background: #fff;
  border-radius: 13px;
  padding: 17px 16px;
  font-size: 1.08rem;
  color: #354E3B;
  box-shadow: 0 1px 6px rgba(32,93,64,0.07);
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.13s;
}
.articles-list li:hover, .articles-list li:focus-within {
  box-shadow: 0 5px 18px rgba(25,156,187,0.08);
  transform: scale(1.01);
}
.articles-list h3 {
  color: #205D40;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 1.10rem;
}

/* =========== CASE STUDIES =========== */
.case-studies-list{
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 24px;
}
.case-studies-list > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 13px rgba(32,93,64,0.09);
  padding: 23px 18px;
  min-width: 210px;
  max-width: 370px;
  flex: 1 1 240px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.11s;
}
.case-studies-list > div:hover, .case-studies-list > div:focus-within {
  box-shadow: 0 8px 20px rgba(25,156,187,0.09);
  transform: translateY(-2px) scale(1.01);
}
.case-studies-list h3 {
  color: #199CBB;
  font-size: 1.10rem;
}
.case-studies-list p {
  color: #354E3B;
  font-size: 0.99rem;
}
@media (max-width: 800px){
  .case-studies-list {
    gap: 14px;
    flex-direction: column;
  }
  .case-studies-list > div {
    min-width: 0;
    max-width: 100%;
  }
}

/* ================= FOOTER =================== */
footer {
  background: #E8F3EE;
  padding: 40px 0 25px 0;
  border-radius:  22px 22px 0 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
}
.footer-nav a {
  color: #199CBB;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #205D40;
}
.footer-contact {
  font-size: 1rem;
  color: #2A362C;
  margin-bottom: 8px;
}
.footer-contact strong {
  color: #205D40;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 128px;
}
.footer-social img {
  height: 36px;
  margin-bottom: 4px;
}
.footer-social span {
  font-size: 0.98rem;
  color: #36694D;
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-social {
    align-items: flex-start;
    min-width: 0;
  }
}

/* ========== LEGAL/POLICY SECTIONS ========= */
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(32,93,64,0.06);
  padding: 34px 22px;
  margin-bottom: 34px;
}
.legal h1 {
  font-size: 2rem;
  color: #199CBB;
  margin-bottom: 18px;
}
.legal h2 {
  color: #205D40;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.legal ul li {
  font-size: 0.99rem;
  color: #354E3B;
}

/* ============= MISCELLANEOUS ============= */
.benefits ul, .statistics ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.statistic {
  color: #199CBB;
  font-weight: 700;
  font-size: 1.16rem;
}
.team-info h3 {
  color: #199CBB;
}

.message {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(32,93,64,0.07);
  padding: 36px 22px;
  margin-bottom: 30px;
  text-align: center;
}
.message h1 {
  color: #205D40;
}
.message p {
  margin-bottom: 23px;
}

/* =============== COOKIES CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(0);
  min-width: 300px;
  max-width: 96vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 30px rgba(32,93,64,0.13);
  padding: 22px 32px 18px 32px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.17s, transform 0.25s cubic-bezier(.7,0,.16,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(100px);
}
.cookie-banner p {
  color: #205D40;
  font-size: 1.01rem;
  margin-bottom: 0;
  max-width: 500px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.cookie-btn {
  background: #205D40;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 23px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.16s, color 0.13s;
  margin-right: 7px;
}
.cookie-btn.secondary {
  background: #F4F4F2;
  color: #205D40;
  border: 1px solid #205D40;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #199CBB;
  color: #fff;
  box-shadow: 0 3px 10px rgba(25,156,187,0.08);
  outline: none;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus{
  background: #205D40;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 10px 38px rgba(32,93,64,0.21);
  max-width: 410px;
  width: 95vw;
  z-index: 502;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookie-modal-in 0.33s cubic-bezier(.8,0,.23,1);
}
@keyframes cookie-modal-in {
  0% { opacity:0; transform:translate(-50%, 16%) scale(0.87); }
  100% { opacity:1; transform:translate(-50%, -50%) scale(1); }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
}
.cookie-modal h3 {
  color: #205D40;
  font-size: 1.2rem;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #199CBB;
  cursor: pointer;
  padding: 4px 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #2A362C;
  font-family: 'Roboto', Arial, sans-serif;
}
/* Custom switch/toggle */
.cookie-switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
}
.cookie-switch input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F4F4F2;
  border-radius: 18px;
  transition: background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #199CBB;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-switch[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

/* Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,93,64,0.37);
  z-index: 501;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* =========== RESPONSIVE DESIGN =========== */
@media (max-width: 650px){
  .container{
    padding-left: 8px; padding-right: 8px;
  }
  .legal { padding: 22px 7px; }
  .footer-wrapper { gap: 11px; }
  .cookie-banner { padding: 15px 7px; }
  .cookie-modal { padding: 20px 6px 18px 10px; }
}
@media (max-width: 480px){
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.03rem; }
  .feature-item, .card, .testimonial-card {
    padding: 13px 7px;
    border-radius: 9px;
  }
  .cta {
    padding: 21px 0 17px 0;
    border-radius: 11px;
  }
  .cookie-banner {
    bottom: 8px;
    border-radius: 11px;
  }
}

/* ===================== MISC. INTERACTIONS ====================== */
*:focus {
  outline: 2px solid #199CBB;
  outline-offset: 1px;
}
::selection {
  background: #BFE3DE;
}

::-webkit-scrollbar {
  width: 8px;
  background: #eeeeee;
}
::-webkit-scrollbar-thumb {
  background: #dcebe2;
  border-radius: 4px;
}

/* Hide scrollbars for mobile nav overlay for better look */
.mobile-menu::-webkit-scrollbar {
  display: none;
}
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===================== ACCESSIBILITY COLORS FOR TESTIMONIALS ETC ==================== */
.testimonial-card, .newsletter, .message {
  color: #205D40;
  background: #fff;
}
.testimonial-card p, .testimonial-card span {
  color: #205D40;
}

/* ====================== END OF CSS ===================== */
