/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
}
*,*::before,*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #F7F3EF;
  color: #10331b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
a:focus {
  outline: 2px dashed #27613A;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}

/* FONT SETUP */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  color: #27613A;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* BRAND COLORS - VIBRANT ENERGETIC PALETTE */
:root {
  --primary: #27613A;
  --primary-dark: #184126;
  --secondary: #8CB382;
  --accent: #F7F3EF;
  --vibrant-green: #3FF652;
  --vibrant-yellow: #FFD600;
  --electric-blue: #35CAFF;
  --vibrant-pink: #F4438C;
  --border: #D6EADA;
  --shadow: rgba(39,97,58,0.08);
  --footer-bg: #10331b;
  --footer-text: #fff;
  --contrast-bg: #fff;
  --error: #F44336;
}

/* CONTAINER & SECTION LAYOUTS */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 4vw;
    margin-bottom: 36px;
  }
}

/* FLEX PATTERNS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  min-width: 210px;
  background: var(--contrast-bg);
  padding: 26px 20px 18px 20px;
  border-radius: 20px;
  border: 2px solid var(--border);
  box-shadow: 0 2px 18px var(--shadow);
  transition: box-shadow 0.25s, border-color 0.2s, transform .18s;
}
.feature-item:hover {
  border-color: var(--vibrant-green);
  box-shadow: 0 4px 36px 0 rgba(63, 246, 82, 0.12);
  transform: translateY(-2px) scale(1.035);
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 18px var(--shadow);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.22s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(35, 202, 255, 0.11);
  transform: translateY(-1.5px) scale(1.018);
}

/* GENERIC FLEX GRIDS */
.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;
    align-items: flex-start;
    gap: 16px;
  }
}

/* TESTIMONIALS */
.testimonial-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(53,202,255,0.12);
  color: #1b301f;
  border-left: 7px solid var(--vibrant-green);
  min-width: 255px;
  max-width: 360px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}
.testimonial-card p {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* PROJECT GROUPS */
.project-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.project-item {
  background: #fff;
  padding: 21px 18px;
  border-radius: 20px;
  box-shadow: 0 2px 14px var(--shadow);
  border-left: 7px solid var(--vibrant-yellow);
  flex: 1 1 280px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.project-item:hover {
  box-shadow: 0 7px 24px rgba(255,214,0,.12);
  transform: translateY(-2px) scale(1.026);
}

/* BUTTONS & CTA STYLE */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 40px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 15px 0 rgba(39,97,58,0.08);
  border: 2px solid var(--primary);
  transition: background 0.16s, color 0.18s, box-shadow .16s, transform .15s;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: .02em;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(23,30,23,0.05);
}
.cta.primary {
  background: var(--electric-blue);
  color: #fff;
  border-color: var(--electric-blue);
  box-shadow: 0 4px 20px 0 rgba(35,202,255,0.11);
}
.cta.primary:hover, .cta.primary:focus  {
  background: var(--vibrant-pink);
  border-color: var(--vibrant-pink);
  color: #fff;
  transform: translateY(-2px) scale(1.036);
}
.cta.secondary {
  background: var(--vibrant-green);
  color: #10331b;
  border-color: var(--vibrant-green);
  box-shadow: 0 4px 18px 0 rgba(63,246,82,0.11);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--electric-blue);
  color: #fff;
  border-color: var(--electric-blue);
}

/* NAVIGATION (DESKTOP) */
header {
  background: var(--accent);
  box-shadow: 0 2px 15px 0 rgba(39,97,58,0.05);
  padding-top: 7px;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  gap: 38px;
  min-height: 65px;
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 7px 18px;
  border-radius: 30px;
  transition: background 0.18s, color 0.15s, transform .14s;
  margin-right: 2px;
}
.main-nav a.cta {
  margin-left: 22px;
  margin-right: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: var(--vibrant-green);
  transform: scale(1.08);
}

/* HIDE MOBILE NAV BY DEFAULT */
.mobile-menu-toggle {
  background: var(--electric-blue);
  color: #fff;
  border-radius: 40px;
  font-size: 2rem;
  padding: 8px 15px;
  display: none;
  margin-left: auto;
  border: 0;
  transition: background .16s, color .15s;
  z-index: 110;
  box-shadow: 0 2px 8px rgba(53,202,255,0.09);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vibrant-pink);
  color: #fff;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 86vw;
  max-width: 350px;
  background: #fff;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.57,.16,.34,1.08);
  box-shadow: -4px 0 32px 0 rgba(27, 92, 56, 0.11);
  z-index: 201;
  display: flex;
  flex-direction: column;
  padding: 42px 28px 28px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--vibrant-pink);
  color: #fff;
  border-radius: 30px;
  font-size: 2.3rem;
  line-height: 1;
  align-self: flex-end;
  margin-bottom: 22px;
  padding: 5px 17px;
  border: 0;
  box-shadow: 0 2px 12px 0 rgba(244,67,140,0.11);
  transition: background .15s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.29rem;
  color: var(--primary);
  border-radius: 22px;
  padding: 10px 0;
  transition: background 0.18s, color 0.14s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vibrant-green);
  color: #fff;
  padding-left: 5px;
}
.mobile-nav a.cta {
  background: var(--electric-blue);
  color: #fff;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
  header .container {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
  .main-nav a {
    font-size: 0.99rem;
    padding: 6px 10px;
  }
}

@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 530px) {
  .mobile-menu {
    width: 99vw;
    max-width: 100vw;
    padding: 38px 15px 16px 15px;
  }
  .logo img {
    height: 38px;
  }
  header .container {
    min-height: 40px;
    gap: 10px;
  }
}

/* BLOG & SERVICE LISTS */
.service-list,
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.service-list li, .blog-list li {
  background: #fff;
  padding: 20px 18px;
  border-left: 7px solid var(--vibrant-green);
  border-radius: 15px;
  font-size: 1.07rem;
  box-shadow: 0 2px 14px var(--shadow);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.blog-date {
  display: inline-block;
  color: var(--electric-blue);
  margin-left: 8px;
  font-size: 0.92em;
}

/* TEXT SECTIONS */
.text-section {
  max-width: 740px;
}

.text-section ul {
  margin-left: 0;
  margin-bottom: 18px;
  padding-left: 22px;
}
.text-section ul li {
  list-style: disc inside;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #234528;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .text-section {
    max-width: 100%;
    padding: 0;
  }
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0px 13px 0px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 150px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 14px;
  transition: background 0.18s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--vibrant-green);
  color: var(--primary);
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.17s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--vibrant-green);
  transform: scale(1.14) rotate(-4deg);
}
.footer-social img {
  width: 26px;
  height: 26px;
  display: block;
  filter: grayscale(0) brightness(0.2);
}
.footer-contact {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #e6f8ec;
  max-width: 280px;
}
.footer-contact strong {
  font-size: 1.06rem;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color .17s;
}
.footer-contact a:hover {
  color: var(--vibrant-green);
  text-decoration: none;
}
footer span {
  font-size: 0.96rem;
  color: #95e7a8;
}
@media (max-width: 900px) {
  footer .container {
    gap: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #27312a;
  border-top: 3px solid var(--vibrant-green);
  box-shadow: 0 -4px 24px 0 rgba(39,97,58,0.11);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 36px;
  font-size: 1rem;
  transition: transform .34s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 24px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: var(--vibrant-green);
  color: #234528;
  border: 2px solid var(--vibrant-green);
  box-shadow: 0 1px 5px 0 rgba(63, 246, 82, 0.06);
  font-size: 1rem;
  margin-right: 0;
  margin-left: 0;
  transition: background 0.15s, color 0.14s, border .15s, transform .13s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--electric-blue);
  color: #fff;
  border-color: var(--electric-blue);
}
.cookie-banner .cookie-reject {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #fff;
  color: var(--error);
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--vibrant-pink);
  color: #fff;
  border: 2px solid var(--vibrant-pink);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px 9vw 13px 9vw;
    gap: 18px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(39,97,58,0.38);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #234528;
  border-radius: 24px;
  padding: 42px 34px 30px 34px;
  max-width: 366px;
  min-width: 220px;
  box-shadow: 0 12px 64px 0 rgba(53, 202, 255, 0.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popfade .34s cubic-bezier(.6,0,.3,1.05);
}
@keyframes popfade {
  0% { opacity: 0; transform: scale(.92) translateY(18px); }
  80% { opacity: .98; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.21rem;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--vibrant-green);
  width: 22px;
  height: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 10px 24px;
  border-radius: 22px;
  background: var(--vibrant-green);
  color: #234528;
  border: 2px solid var(--vibrant-green);
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: background 0.15s, color 0.13s, border .12s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--electric-blue);
  color: #fff;
  border-color: var(--electric-blue);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 19px;
  right: 16px;
  background: none;
  color: var(--vibrant-pink);
  font-size: 2rem;
  padding: 0 3px 0 3px;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--electric-blue);
}
.cookie-category label {
  font-size: 1.02rem;
  font-weight: 600;
  color: #275147;
}
.cookie-category.essential label {
  color: #95e7a8;
}
.cookie-category.essential input { 
  accent-color: var(--primary);
}
.cookie-category.essential input {
  pointer-events: none;
  opacity: .63;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 21px 12px 21px 16px;
    max-width: 96vw;
  }
}

/* HOVERS & MICRO-INTERACTIONS */
a, .cta, .button {
  transition: background .18s, color .16s, box-shadow .15s, transform .13s;
}
section, .section, .card, .feature-item, .testimonial-card, .project-item, .service-list li, .blog-list li {
  transition: box-shadow .18s, transform .13s;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 670px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  p, li { font-size: 0.97rem; }
  .container { padding-left: 4vw; padding-right: 4vw; }
}

@media (max-width: 600px) {
  .feature-grid, .testimonial-group, .project-group {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .testimonial-card, .project-item {
    min-width: 0;
    width: 100%;
    padding: 18px 9px 18px 11px;
    border-radius: 14px;
  }
  .card-container {
    gap: 10px;
  }
}

/* UTILITIES */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 18px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 18px !important; }

/* ERROR/INFO */
.error-msg {
  color: var(--error);
  background: #ffe6ea;
  border-left: 5px solid var(--error);
  padding: 9px 15px;
  border-radius: 13px;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2.5px solid var(--electric-blue);
  outline-offset: .5px;
}

/* Hide visually-only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* 404/EMPTY STYLES */
.empty-section, .notfound-section {
  text-align: center;
  color: var(--vibrant-pink);
  font-size: 1.2rem;
}

/* THANK YOU PAGE BUTTON */
.thankyou-section .cta {
  margin: 30px auto 0 auto;
  display: flex;
}

/* Scrollbar - for desktop only */
@media (min-width: 900px) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-thumb {
    background: var(--vibrant-green);
    border-radius: 16px;
  }
}
