/* 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, 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, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  outline: none;
  font: inherit;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

/* BASE THEME ------------------------------------------------- */
:root {
  --color-primary: #386641;
  --color-secondary: #BC4749;
  --color-accent: #FFF3E1;
  --color-dark-bg: #16191a;
  --color-light-bg: #fff;
  --color-neutral: #232d28;
  --color-heading: #eafbe7;
  --color-card-bg: #232d28;
  --color-footer-bg: #181d1c;
  --color-testimonial-bg: #fff;
  --color-testimonial-text: #232d28;
  --neon-green: #63FF96;
  --neon-peach: #FFEB90;
  --box-radius: 15px;
  --box-shadow: 0 4px 24px 0 rgba(60, 255, 177, 0.09);
  --transition-fast: 0.15s cubic-bezier(.92,.23,.23,1);
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans Pro', 'Arial', sans-serif;
  color: var(--color-accent);
  background: linear-gradient(140deg, #232d28 80%, #386641 120%);
  min-height: 100vh;
}

/* CONTAINERS --------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* TYPOGRAPHY --------------------------------------------------*/
h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2.3rem;
  color: var(--neon-green);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 0 6px #58ffb6, 0 0 2px #37623766;
}
h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.7rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-shadow: 0 0 4px #bc4749aa;
}
h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.2rem;
  color: var(--neon-green);
  margin-bottom: 2px;
  text-shadow: 0 0 2px #48d06bcc;
}
h4,h5,h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--color-accent);
}
p, ul li, ol li {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--color-accent);
}
strong {
  color: var(--neon-peach);
  font-weight: bold;
}
.subheadline {
  color: var(--neon-peach);
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

/* NAVIGATION --------------------------------------------------*/
header {
  background: rgba(34, 39, 36, 0.97);
  width: 100%;
  box-shadow: 0 2px 12px rgba(56, 102, 65, 0.13);
  position: sticky;
  top: 0;
  z-index: 60;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 16px 0;
}
.main-nav a {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.02rem;
  color: var(--color-accent);
  padding: 7px 12px;
  border-radius: 8px;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: rgba(99, 255, 150, 0.08);
  color: var(--neon-green);
}
.cta-primary {
  color: var(--color-dark-bg)!important;
  background: var(--neon-green);
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: bold;
  border-radius: 80px;
  font-size: 1.02rem;
  letter-spacing: .05em;
  padding: 7px 20px;
  box-shadow: 0 0 10px 2px #3cffb191;
  border: none;
  outline: none;
  transition: background var(--transition-fast), box-shadow .18s cubic-bezier(.67,.65,.16,1.01);
}
.cta-primary:hover,.cta-primary:focus {
  background: #60f7be;
  color: var(--color-dark-bg)!important;
  box-shadow: 0 0 19px 5px #3cffafb7, 0 0 2px #16191a88;
  text-shadow: 0 0 4px #fff3e1;
}

/* MOBILE MENU -------------------------------------------------*/
.mobile-menu-toggle {
  position: absolute;
  right: 28px;
  top: 17px;
  z-index: 99;
  width: 38px;
  height: 38px;
  color: var(--neon-green);
  background: #232d28;
  border-radius: 7px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 8px 0 #38664155;
  border: 1.5px solid #38664144;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #3cffb116;
  color: #fff3e1;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #232d28ee;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.79,.17,.06,1.08);
  padding-top: 32px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2rem;
  color: var(--neon-peach);
  background: #16191af1;
  border-radius: 100px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  border: 1.5px solid #FFF3E1;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #bc4749;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 44px 36px;
  width: 100%;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.18rem;
  font-weight: bold;
  color: var(--neon-green);
  padding: 13px 9px 13px 3px;
  border-radius: 8px;
  border-left: 4px solid #38664125;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #3cffb115;
  color: #fff3e1;
  border-color: var(--neon-green);
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO & PAGE SECTIONS ----------------------------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: unset;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

/* FEATURES, CARDS, FLEX GRIDS ---------------------------------*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
  width: 100%;
}
.features-grid > div {
  background: var(--color-card-bg);
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 210px;
  flex: 1 1 220px;
  padding: 28px 26px 22px 26px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #24693c33;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform 0.18s cubic-bezier(.33,1.04,.23,1.14);
}
.features-grid > div:hover, .features-grid > div:focus {
  box-shadow: 0 7px 32px 0 #3cffaf82;
  border-color: var(--neon-green);
  transform: translateY(-4px) scale(1.025);
}
.features-grid img {
  width: 40px; height: 40px; margin-bottom: 4px;
  filter: drop-shadow(0 1px 5px #3cffaf23);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--box-radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow);
  border: 1.5px solid #24693c33;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  color: var(--color-testimonial-text);
  border-radius: var(--box-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 #bdfbce1a;
  border: 2px solid #38664122;
  font-size: 1rem;
  max-width: 480px;
  min-width: 210px;
  width: 100%;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform 0.16s cubic-bezier(.4,.87,.29,.98);
}
.testimonial-card strong {
  color: var(--color-primary);
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.04rem;
  margin-top: 10px;
  letter-spacing: .01em;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* UL, LI IN SERVICES -----------------------------------------*/
ul {
  margin-left: 10px;
}
ul li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 18px;
  color: var(--color-accent);
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 11px;
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 100px;
  box-shadow: 0 1px 5px #3cffaf44;
}
ul li:last-child { margin-bottom: 0; }

/* BUTTONS ----------------------------------------------------*/
button, .cta-primary, .main-nav a.cta-primary {
  font-family: 'Montserrat', 'Arial', sans-serif;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

/* LINKS ------------------------------------------------------*/
a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}
a:focus, a:hover { color: var(--neon-green); }
a.cta-primary:focus, a.cta-primary:hover {
  color: var(--color-dark-bg)!important;
}

/* FOOTER -----------------------------------------------------*/
footer {
  padding: 32px 0 16px 0;
  background: var(--color-footer-bg);
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.footer-nav a {
  color: var(--color-accent);
  opacity: .75;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #fff3e1;
  opacity: 1;
}
.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}
.footer-brand span {
  color: #b6dcb7;
  font-size: 0.97rem;
}

/* RESPONSIVE -------------------------------------------------*/
@media (max-width: 990px) {
  body { font-size: 15px; }
  .container {
    padding: 0 12px;
  }
  .features-grid > div, .testimonial-card {
    min-width: 180px;
    font-size: 0.98rem;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.01rem; }
  main, section, .content-wrapper {
    gap: 20px;
  }
  .content-wrapper {
    padding: 0;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    flex: 1 1 100%;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 24px 8px;
  }
  section {
    padding: 24px 0 24px 0;
    margin-bottom: 36px;
  }
  .footer-nav { gap: 12px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 5px;
  }
  .cta-primary {
    font-size: 0.96rem;
    padding: 5.5px 16px;
  }
  .features-grid > div, .testimonial-card {
    padding: 17px 10px 14px 10px;
    font-size: 0.95rem;
  }
}

/* COOKIE CONSENT BANNER ---------------------------------------*/
.cookie-banner {
  position: fixed;
  z-index: 20000;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232d28;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 24px 0 #81ffb636;
  border-top: 2.5px solid #386641;
  gap: 16px;
  animation: slideUpCookie 0.7s cubic-bezier(.71,1.02,.23,1.01);
}
@keyframes slideUpCookie {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: var(--neon-peach);
  font-size: 1.04rem;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
  align-items: center;
}
.cookie-buttons button {
  padding: 7px 18px;
  font-size: 1rem;
  border-radius: 30px;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: bold;
  margin: 2px;
  border: 1.5px solid #3cffb1;
  box-shadow: 0 1px 5px #3cffaf23;
  transition: background var(--transition-fast), color var(--transition-fast), border var(--transition-fast);
}
.cookie-buttons .accept-cookies {
  background: var(--neon-green);
  color: var(--color-dark-bg);
}
.cookie-buttons .accept-cookies:hover, .cookie-buttons .accept-cookies:focus {
  background: #60f7be;
  color: #181d1c;
}
.cookie-buttons .reject-cookies {
  background: #232d28;
  color: var(--neon-peach);
  border: 1.5px solid #ffeb90;
}
.cookie-buttons .reject-cookies:hover, .cookie-buttons .reject-cookies:focus {
  background: #bc4749;
  color: #fff3e1;
  border-color: #bc4749;
}
.cookie-buttons .settings-cookies {
  background: #232d28;
  color: var(--color-accent);
  border: 1.5px solid #3cffb1;
}
.cookie-buttons .settings-cookies:hover, .cookie-buttons .settings-cookies:focus {
  background: #376237;
  color: #fff3e1;
}
/* COOKIE MODAL ------------------------------------------------*/
.cookie-modal {
  position: fixed;
  z-index: 21000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 45, 40, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  animation: fadeInCookie 0.45s cubic-bezier(.33,1.09,.46,.98);
}
@keyframes fadeInCookie {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-card-bg);
  border-radius: var(--box-radius);
  padding: 38px 23px 30px 27px;
  min-width: 320px;
  max-width: 97vw;
  min-height: 160px;
  box-shadow: 0 2px 32px 0 #3cffaf52;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--neon-peach);
}
.cookie-modal-content h2 {
  color: var(--neon-green);
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
  font-size: 1.055rem;
}
.cookie-category label {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--color-accent);
  font-weight: bold;
  cursor: pointer;
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 12px;
  font-size: 1.4rem;
  background: #181d1c;
  color: #bc4749;
  border-radius: 50%;
  width: 32px; height: 32px;
  border: 1.5px solid #bc4749;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #bc4749;
  color: #fff3e1;
}
/* Switch (toggle) for cookie modal --- */
.cookie-switch {
  height: 24px;
  width: 48px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #38664144;
  border-radius: 22px;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: var(--neon-green);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: #232d28;
}

/* UTILITIES --------------------------------------------------*/
::-webkit-scrollbar {
  width: 8px;
  background: #232d2833;
}
::-webkit-scrollbar-thumb {
  background: #38664155;
  border-radius: 10px;
}
.highlight {
  color: var(--neon-peach);
  font-weight: bold;
}

/* MICRO-INTERACTIONS/ANIMATIONS ------------------------------*/
.card, .features-grid > div, .testimonial-card {
  transition:
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    transform 0.17s cubic-bezier(.41,.75,.23,1.11);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 #bc474954, 0 2px 8px #fff3e145;
  border-color: var(--color-secondary);
  transform: translateY(-3px) scale(1.016);
}

/* FORMS & INPUTS ---------------------------------------------*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.8px solid #38664177;
  padding: 8px 12px;
  outline: none;
  margin-bottom: 16px;
  background: #232d28;
  color: var(--color-accent);
  transition: border-color var(--transition-fast);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon-green);
}

/* OVERRIDES FOR READABILITY: Testimonials on dark BG ---------*/

strong {
  color: var(--color-primary);
}

/* SPACING & FLEX WRAPPERS ------------------------------------*/
/* Implement Mandatory Flexbox Rules - already in .features-grid, .card-container, .testimonial-slider etc. */

/* SAFEGUARD: Prevent overlaps */
.card, .features-grid > div, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid, .features-grid, .testimonial-slider {
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* OVERRIDE for narrow screens */
@media (max-width: 420px) {
  .footer-brand img {
    width: 22px; height: 22px;
  }
  h1,h2,h3 { word-break: break-word; }
}

/* END OF CSS */
