/* =========================================================================
   CSS RESET & BASE TYPOGRAPHY
   ========================================================================= */
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, main, section, article, aside, nav, header, footer, figure, figcaption, hr {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: #20262E;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #20262E;
  color: #F5F5F5;
  min-height: 100vh;
  line-height: 1.6;
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* =========================================================================
   BRAND COLORS & TECH FUTURISTIC ACCENTS
   ========================================================================= */
:root {
  --primary: #27623F;
  --secondary: #ADC178;
  --accent: #F5F5F5;
  --bg-gradient: linear-gradient(135deg, #214832 0%, #3CAC4B 100%);
  --neon-green: #20FF8E;
  --neon-blue: #13E2FE;
  --neon-pink: #FF59E2;
  --header-bg: #20262E;
  --footer-bg: #17201C;
  --card-bg: #242F26;
  --card-border: #365E3D;
  --hover-shadow: 0 0 18px 2px rgba(32, 255, 142, 0.11), 0 1.5px 10px 0 rgba(0,0,0,0.13);
  --input-bg: #1C2420;
  --input-border: #3CAC4B;
  --table-bg: #29332B;
}

/* =========================================================================
   LAYOUT CONTAINERS
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* MANDATORY SECTION SPACING */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 32px 24px;
  box-shadow: 0 0 12px 0 rgba(32,255,142,0.06);
  border: 1.5px solid var(--card-border);
  position: relative;
  transition: transform 0.18s cubic-bezier(.46,.03,.52,.96), box-shadow .18s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--hover-shadow), 0 0 20px 2px var(--neon-green);
  transform: translateY(-3px) scale(1.025);
  border-color: var(--neon-green);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  background: #f5f5f52f;
  color: #222;
  padding: 20px 28px;
  margin-bottom: 24px;
  border-radius: 15px;
  box-shadow: 0 4px 24px 0 rgba(39,98,63,0.12);
  border-left: 4px solid var(--neon-green);
  min-width: 240px;
  max-width: 560px;
}
@media (min-width: 768px) {
  .testimonial-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
header {
  width: 100%;
  background: var(--header-bg);
  padding: 0 0 0 0;
  box-shadow: 0 1px 16px 0 rgba(20,255,171,.05);
  position: sticky;
  top: 0;
  z-index: 990;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 0 18px 0;
  justify-content: flex-start;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 24px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 7px;
  padding: 7px 14px;
  transition: background 0.13s, color 0.13s, box-shadow .15s;
  position: relative;
  outline: none;
  z-index: 1;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--primary);
  color: var(--neon-green);
  box-shadow: 0 0 0 2px var(--neon-green);  
}
.cta-btn, .main-nav .cta-btn {
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  padding: 11px 27px;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--neon-green),0 7px 16px -7px var(--primary);
  transition: background .14s, color .14s, box-shadow .12s, transform .11s;
}
.cta-btn:hover, .main-nav .cta-btn:hover, .cta-btn:focus {
  background: var(--neon-green);
  color: var(--primary);
  box-shadow: 0 0 24px 2px var(--neon-green),0 4px 12px 0 var(--primary);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 8px;
  cursor: pointer;
  z-index: 1200;
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #18291e;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  min-height: 100vh;
  z-index: 1200;
  padding: 28px 18px 40px 24px;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.86,0,.07,1);
  box-shadow: 0 0 64px 4px #000;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 38px;
  margin-left: auto;
  margin-top: 4px;
  margin-bottom: 10px;
  cursor: pointer;
  z-index: 1210;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 24px 0 0 0;
}
.mobile-nav a {
  font-size: 22px;
  color: var(--neon-green);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 8px 0 7px 5px;
  border-left: 4px solid transparent;
  border-radius: 4px 0 0 4px;
  transition: color .18s, background .18s, border-color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #222;
  background: var(--neon-green);
  border-color: var(--neon-green);
}
@media (min-width: 1025px) {
  .main-nav {
    flex-direction: row;
    justify-content: flex-start;
    gap: 24px;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* =========================================================================
   HERO, SECTION & TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 800;
}
h1 {font-size: 2.7rem; line-height: 1.13; margin-bottom: 14px;}
h2 {font-size: 2rem; line-height: 1.18; margin-bottom: 10px;}
h3 {font-size: 1.38rem; margin-bottom: 7px;}
h4, h5, h6 {font-size: 1.12rem;}
p, ul, ol, li, address {
  font-weight: 400;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  color: var(--accent);
}
strong {
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.01em;
}
ul, ol {
  margin-left: 18px;
  margin-top: 7px;
  margin-bottom: 7px;
}
li {
  margin-bottom: 6px;
  padding-left: 3px;
}
a {
  color: var(--neon-green);
  text-underline-offset: 3.5px;
  transition: color .16s;
}
a:hover, a:focus {
  color: var(--neon-pink);
  outline: none;
}
.brand-story {
  font-size: 1.17rem;
  color: var(--secondary);
  font-weight: 500;
}
.team-intro {
  font-size: 1.06rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
}

.text-section {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 26px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px 0 rgba(42,98,63,0.08);
}

/* =========================================================================
   BUTTONS, FORMS, LINKS
   ========================================================================= */
button, .cta-btn {
  outline: none;
}
button:focus:not(:hover) {
  box-shadow: 0 0 0 2px var(--neon-green);
}
button:active, .cta-btn:active {
  filter: brightness(0.94);
}
input, textarea, select {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1rem;
  padding: 9px 13px;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 0 8px 0 rgba(32,255,142,0.06);
  outline: none;
  transition: border-color .16s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 2px var(--neon-green);
}

/* =========================================================================
   FEATURES, SERVICE LIST, TABLES
   ========================================================================= */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
  justify-content: flex-start;
}
.service-list > div {
  flex: 1 1 250px;
  background: var(--card-bg);
  border-radius: 11px;
  box-shadow: 0 1px 12px 0 #1EA76511;
  border: 1.5px solid var(--card-border);
  padding: 27px 18px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow .17s, border-color .15s, transform .12s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-list > div:hover,
.service-list > div:focus-within {
  box-shadow: var(--hover-shadow), 0 6px 20px 0 var(--primary);
  border-color: var(--neon-green);
  transform: translateY(-2px) scale(1.025);
}
.service-list h3 {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', sans-serif;
}
.service-list span {
  color: var(--neon-green);
  font-weight: 700;
  font-size: 1.12rem;
  margin-top: 7px;
}

/* Features List */
.features ul, .feature-list, .feature-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features li, .feature-list li, .feature-item-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 0 0 0 3px;
  background: none;
  color: var(--accent);
}
.features li img,
.feature-list li img,
.feature-item-list li img {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  filter: drop-shadow(0 0 7px var(--neon-green));
}
.features strong, .feature-list strong {
  color: var(--neon-green);
  font-weight: 700;
  margin-right: 7px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  background: var(--table-bg);
  border-radius: 8px;
  overflow: hidden;
  font-size: 1.05rem;
}
thead tr {
  background: var(--primary);
  color: var(--accent);
}
th, td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1.5px solid #223E2B;
}
th {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
tbody tr {
  background: var(--card-bg);
}
tbody tr:hover {
  background: #293d2d;
}
tfoot tr {
  background: #204029;
  color: var(--accent);
}

/* =========================================================================
   TESTIMONIALS / REVIEWS
   ========================================================================= */
.testimonial-card {
  box-shadow: 0 2px 16px 0 rgba(39,98,63,0.06);
  transition: box-shadow .15s, border-color .15s, transform .1s;
}
 .testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 4px solid var(--neon-blue);
  box-shadow: 0 0 28px 2px var(--neon-blue), 0 4px 24px 0 rgba(20,255,171,0.11);
  transform: translateY(-1.5px) scale(1.015);
}
.testimonial-card span {
  font-size: 1rem;
  color: #27623F;
  font-weight: 500;
  font-style: italic;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  width: 100%;
  background: var(--footer-bg);
  padding: 40px 0 24px 0;
  border-top: 1.5px solid var(--secondary);
  margin-top: 70px;
  color: var(--secondary);
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 13px;
}
.footer-navigation a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 500;
  font-size: 1.01rem;
  transition: color .14s;
  padding: 3px 5px;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--neon-green);
}
footer address, footer p {
  color: #adc178;
  font-size: .96rem;
  line-height: 1.65;
  margin-bottom: 3px;
  font-style: normal;
  text-align: center;
}
footer a {
  color: var(--neon-green);
}

/* =========================================================================
   MISCELLANEOUS SPACING AND WHITE SPACE
   ========================================================================= */
@media (min-width: 840px) {
  section {
    padding: 60px 0 60px 0;
  }
  .container {
    padding: 0 30px;
  }
  .content-wrapper {
    gap: 32px;
  }
}
section:not(:last-of-type) {
  margin-bottom: 60px;
}

/* =========================================================================
   RESPONSIVE DESIGN: MOBILE FIRST
   ========================================================================= */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 18px;
  }
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.32rem;}
  h3 {font-size: 1.03rem;}
  /* Layouts: use flex-direction column */
  .content-grid, .text-image-section, .service-list, .card-container {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  section {
    padding: 32px 0 32px 0;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 98vw;
    padding: 16px 10px;
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 480px) {
  .main-nav img {height: 28px;}
  h1 {font-size: 1.42rem;}
  h2 {font-size: 1.18rem;}
  .service-list > div {min-width: 98vw;}
}


/* =========================================================================
   TECH-FUTURISTIC EFFECTS & ACCENTS
   ========================================================================= */
body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  background-size: cover;
}
.section, section {
  position: relative;
}
.section::before, section::before {
  content: '';
  display: block;
  position: absolute;
  left: 12px; top: 16px;
  width: 80px; height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg,var(--neon-green),var(--neon-blue),var(--neon-pink));
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.cta-btn, .main-nav .cta-btn, .cta-btn:visited {
  box-shadow: 0 0 7px 1px var(--neon-green), 0 2px 10px 0 rgba(32,255,142,0.11);
  transition: background .14s, color .14s, box-shadow .18s, transform .10s;
}
.cta-btn:focus {
  outline: 2px solid var(--neon-green);
}

/* == Micro-animations == */
.cta-btn, .main-nav a, .service-list > div, .testimonial-card, .mobile-nav a, .footer-navigation a {
  transition: all .18s cubic-bezier(.47,.03,.57,1.2);
}

a:not(.main-nav a):not(.footer-navigation a):not(.cta-btn):not(.mobile-nav a) {
  text-decoration: underline;
  color: var(--neon-green);
  transition: color .14s;
}
a:not(.main-nav a):not(.footer-navigation a):not(.cta-btn):not(.mobile-nav a):hover, a:focus {
  color: var(--neon-blue);
}

/* =========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2222;
  background: rgba(32,98,63,0.98);
  color: #fff;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -2px 32px 1px rgba(39,98,63,0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: banner-slideup .6s cubic-bezier(.56,.2,.15,1);
}
@keyframes banner-slideup {
  0% { opacity: 0; transform: translateY(40px); }
  85% { opacity: 1; transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-top: 8px;
}
.cookie-banner button {
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 20px;
  border: none;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 0 9px 0 var(--neon-green);
  background: var(--primary);
  color: var(--accent);
  transition: background .17s, color .17s;
}
.cookie-banner button.accept {
  background: var(--neon-green);
  color: #234d37;
}
.cookie-banner button.reject {
  background: #29392C;
  color: var(--neon-green);
}
.cookie-banner button.settings {
  background: var(--neon-blue);
  color: #131925;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.09);
  outline: 2px solid var(--neon-green);
}

/* --- Cookie Modal --- */
.cookie-modal-bg {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2250;
  background: rgba(20,35,25,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .38s cubic-bezier(.47,.03,.57,1.2);
}
@keyframes fadeIn {
  0%{ opacity: 0; } 100%{ opacity: 1; }
}
.cookie-modal {
  background: #212e22;
  color: var(--accent);
  border-radius: 14px;
  padding: 32px 24px 28px 24px;
  min-width: 285px;
  max-width: 99vw;
  box-shadow: 0 6px 40px 0 var(--neon-green), 0 1.5px 6px 0 #000;
  position: relative;
  animation: modalpop .36s cubic-bezier(.47,.03,.57,1.2);
}
@keyframes modalpop {
  0%{transform: scale(.91); opacity: 0;} 
  90%{transform: scale(1.03);} 
  100%{transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  color: var(--neon-green);
  margin-bottom: 13px;
  font-size: 1.37rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 17px; top: 17px;
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 1.88rem;
  cursor: pointer;
  padding: 6px;
}
.cookie-modal .modal-section {
  margin-bottom: 23px;
}
.cookie-modal .cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
}
/* Toggle Switch */
.cookie-toggle-switch {
  position: relative;
  width: 46px; height: 24px;
  display: inline-block;
}
.cookie-toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #AAA;
  border-radius: 24px;
  transition: background .23s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 19px; width: 19px;
  left: 3px;
  bottom: 2.5px;
  background-color: #efefef;
  border-radius: 50%;
  transition: transform .21s;
}
.cookie-toggle-switch input:checked + .toggle-slider {
  background-color: var(--neon-green);
}
.cookie-toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background-color: #14261d;
}
.cookie-toggle-switch input:disabled + .toggle-slider {
  background: #28332c;
  opacity: .7;
}


/* =========================================================================
   SCROLLBAR & SELECTION STYLES (for futuristic polish)
   ========================================================================= */
::selection { background: var(--neon-green); color: #222; }
::-webkit-scrollbar { width: 12px; background: #223328; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg,var(--neon-green) 20%,var(--secondary) 80%);
  border-radius: 12px;
}

/* =========================================================================
   UTILITY CLASSES
   ========================================================================= */
.hide { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* =========================================================================
   PRINT STYLE BASICS (for legal pages)
   ========================================================================= */
@media print {
  html, body { background: #fff !important; color: #222 !important; }
  nav, .main-nav, .footer-navigation, .mobile-menu, .cookie-banner, .cookie-modal-bg { display: none !important; }
  .container { max-width: 100vw !important; padding: 0; }
}
