/* =========================================================
   Plasma Loop Vital — Modern Gradient CSS (Flexbox Only)
   Brand: #2E463D (primary), #82BD6B (secondary), #F5F3EF (accent)
   Fonts: Montserrat (display), Open Sans (body)
   ========================================================= */
/* 1. CSS Reset and 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, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; height: 100%; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body { min-height: 100vh; line-height: 1.6; background: #F5F3EF; }

/* 2. Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2E463D;
  background: #F5F3EF;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2E463D;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { margin-bottom: 12px; }
p, ul, ol { font-size: 1rem; margin-bottom: 12px; }

/* 3. Utility & Layout Classes */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(46,70,61,0.09);
  margin-bottom: 20px;
  min-width: 240px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Make sure there's at least 20px between all main cards/sections */
.content-wrapper, .footer-menu, .contact-details, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 700px;
}

/* 4. Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(46,70,61,0.06);
  border-bottom: 2px solid #F5F3EF;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #2E463D;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #82BD6B;
  border-bottom: 2px solid #82BD6B;
  outline: none;
}
.btn.primary {
  background: linear-gradient(90deg, #82BD6B 0%, #2E463D 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 28px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(46,70,61,0.09);
  transition: background 0.25s, transform 0.18s;
  text-decoration: none;
}
.btn.primary:hover,
.btn.primary:focus {
  background: linear-gradient(90deg, #2E463D 0%, #82BD6B 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.btn {
  background: #fff;
  color: #2E463D;
  border-radius: 24px;
  padding: 12px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 2px solid #82BD6B;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.btn:hover, .btn:focus {
  background: #82BD6B;
  color: #fff;
  box-shadow: 0 2px 8px rgba(130,189,107,0.08);
  outline: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #2E463D;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #82BD6B;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 16px rgba(46,70,61,0.07);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.55,0,0.1,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2E463D;
  cursor: pointer;
  margin: 8px 24px 16px 0;
  z-index: 10;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #82BD6B;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 30px;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #2E463D;
  text-decoration: none;
  padding: 12px 0 12px 8px;
  border-left: 4px solid transparent;
  border-radius: 3px;
  transition: color 0.22s, border-color 0.22s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #82BD6B;
  border-left: 4px solid #82BD6B;
  background: #F5F3EF;
  outline: none;
}

@media (max-width: 1100px) {
  .main-nav { gap: 12px; }
  .btn.primary { margin-left: 8px; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
  }
}

/* 5. HERO SECTION */
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  background: linear-gradient(112deg, #82BD6B 0%, #2E463D 100%);
  color: #fff;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 0 32px 0;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .btn.primary {
  filter: drop-shadow(0 4px 12px rgba(46,70,61,0.12));
  margin-left: 0;
}

/* 6. FEATURE SECTION */
.features .container > h2 {
  color: #2E463D;
  margin-bottom: 16px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul, .features ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(130,189,107,0.03);
  padding: 18px 24px 18px 18px;
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2E463D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
  margin-right: 0;
}
.features li img {
  width: 30px;
  height: 30px;
  background: #F5F3EF;
  border-radius: 50%;
  padding: 4px;
}

/* 7. ABOUT SECTION (text-section) */
.about .text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(46,70,61,0.06);
  padding: 28px 26px;
  margin-bottom: 14px;
}

/* 8. SERVICES SECTION */
.services .container > h2 {
  color: #2E463D;
  margin-bottom: 18px;
}
.services .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #F5F3EF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(130,189,107,0.07);
  padding: 26px 32px;
  flex: 1 0 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  border: 1px solid #e4e5e6;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-card:hover {
  box-shadow: 0 6px 18px rgba(52,120,67,0.11);
  transform: translateY(-3px) scale(1.01);
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2E463D;
  font-size: 1.16rem;
  margin-top: 6px;
}

/* 9. TESTIMONIALS */
.testimonials .container > h2 {
  color: #2E463D;
  margin-bottom: 18px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #2E463D;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(130,189,107,0.09);
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 260px;
  max-width: 350px;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 20px;
  border: 1.5px solid #e4e5e6;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.testimonial-card span {
  color: #82BD6B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
}
.testimonial-card p {
  margin-bottom: 4px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(130,189,107,0.18);
  border-color: #82BD6B;
}

/* 10. CTA */
.cta {
  background: linear-gradient(90deg, #82BD6B 0%, #2E463D 100%);
  color: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px 0 rgba(46,70,61,0.08);
  display: flex;
  align-items: center;
}
.cta .container {
  align-items: center;
  justify-content: center;
}
.cta .text-section {
  color: #fff;
  max-width: 650px;
  align-items: flex-start;
}
.cta .btn.primary {
  margin-top: 18px;
  box-shadow: 0 2px 14px rgba(130,189,107,0.11);
}

/* 11. LEGAL & MISC */
.legal .text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(46,70,61,0.07);
  padding: 32px 18px 20px 20px;
}
.legal h1 { margin-bottom: 18px; color: #2E463D; }
.legal h2 { color: #82BD6B; margin-top: 20px; }
.legal ul, .legal ol {
  margin-bottom: 12px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
  color: #2E463D;
}

/* 12. FOOTER */
footer {
  background: #2E463D;
  color: #fff;
  padding: 36px 0 14px 0;
}
footer .container {
  flex-direction: column;
  gap: 30px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
  align-items: center;
}
.footer-menu a {
  color: #82BD6B;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  border-bottom: 2px solid #fff;
}
.contact-details {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  gap: 8px;
}
.contact-details a {
  color: #82BD6B;
  text-decoration: underline;
  transition: color 0.15s;
}
.contact-details a:hover, .contact-details a:focus {
  color: #fff;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.social-links a img {
  height: 28px;
  width: 28px;
  filter: grayscale(0%) brightness(1);
  transition: filter 0.18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(1.25) drop-shadow(0 1px 4px #82BD6B);
}

/* 13. COOKIE CONSENT BANNER (and Modal) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 14px 0 rgba(46,70,61,0.04);
  border-top: 2px solid #82BD6B;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  min-height: 64px;
  gap: 24px;
  animation: fadeInUp 0.6s cubic-bezier(.77,0,.18,1) 0s 1;
}
.cookie-banner p {
  font-size: 1rem;
  color: #2E463D;
  flex: 2;
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: #F5F3EF;
  border-radius: 24px;
  border: 2px solid #82BD6B;
  color: #2E463D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, border-color 0.17s;
}
.cookie-btn.primary {
  background: linear-gradient(90deg, #82BD6B 0%, #2E463D 100%);
  color: #fff;
  border: 2px solid #2E463D;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #2E463D;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #82BD6B;
  color: #fff;
  border-color: #82BD6B;
  outline: none;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(46,70,61, 0.18);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px 0 rgba(46,70,61,0.12);
  padding: 40px 28px 32px 32px;
  min-width: 270px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: #2E463D;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #e3e3e3;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: #82BD6B;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 1px;
  top: 1px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  right: 26px;
  top: 24px;
  background: transparent;
  border: none;
  color: #2E463D;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 10;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #82BD6B;
}

/* 14. FORMS (if any in future) */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd6ce;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  border-color: #82BD6B;
  outline: none;
  box-shadow: 0 1px 7px 0 #d5f2cc;
}
label { font-weight: 600; color: #2E463D; margin-bottom: 6px; display: inline-block; }

/* 15. RESPONSIVE STYLES */
@media (max-width: 980px) {
  .service-card { padding: 22px 16px; }
  .features li { min-width: 150px; padding: 16px 10px; }
}
@media (max-width: 900px) {
  .card-container, .content-grid, .features ul, .features ol, .testimonials .content-wrapper, .services .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .cta, .hero {
    border-radius: 0;
    margin-bottom: 40px;
  }
  .features ul, .features ol {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .hero .container, .cta .container { padding: 0 8px; }
  .hero .content-wrapper, .cta .text-section, .about .text-section, .legal .text-section {
    padding: 20px 6px;
    max-width: 100%;
  }
  .features li, .service-card, .testimonial-card {
    min-width: 90vw;
    width: 100%;
    box-sizing: border-box;
  }
  .section { padding: 20px 7px; margin-bottom: 38px; }
  .footer-menu { gap: 10px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1rem; }
  .hero, .cta { min-height: 180px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 10px; }
  .cookie-btn, .cookie-btn.primary { font-size: 0.97rem; padding: 8px 16px; }
  .cookie-modal-content { padding: 28px 8px 20px 12px; }
}
@media (max-width: 400px) {
  .cookie-banner p { font-size: 0.92rem; }
  .footer-menu a { font-size: 0.98rem; }
  .service-card, .testimonial-card, .features li { padding-left: 6px; padding-right: 6px; }
}

/* 16. ANIMATIONS, INTERACTIONS, MICRO-INTERACTIONS */
a, button, .btn, .service-card, .testimonial-card, .footer-menu a, .main-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.16s, border-color 0.17s;
}
.service-card:active {
  box-shadow: 0 1px 7px 0 #82BD6B;
  transform: scale(0.98);
}

/* 17. EXTRA: ENSURE NO OVERLAPPING */
.content-wrapper > *, .card-container > *, .content-grid > * {
  margin-bottom: 0 !important;
}

/* 18. ACCESSIBILITY COLORS */
::selection { background: #82BD6B; color: #fff; }
:focus { outline: 2px solid #82BD6B; outline-offset: 2px; }

/* 19. SCROLLBARS (Webkit only) */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #82BD6B; border-radius: 5px; }
::-webkit-scrollbar-track { background: #F5F3EF; }

/* END Plasma Loop Vital Modern Flexbox Styles */
