/* ==================================================
   CSS 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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}

/* ===============
   CSS VARIABLES
   =============== */
:root {
  --color-primary: #234F32;
  --color-secondary: #D9E6D2;
  --color-accent: #F0B23A;
  --color-bg: #ffffff;
  --color-dark: #1a3020;
  --color-electric-blue: #1AE0EC;
  --color-vivid-pink: #FF0087;
  --color-energy-green: #17D943;
  --color-card-bg: #fff;
  --color-grey-light: #f6f8f3;
  --color-divider: #e7e9ea;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;

  --radius: 14px;
  --shadow:
    0 4px 20px 0 rgba(27, 148, 121, 0.07),
    0 1.5px 4px 0 rgba(57, 195, 224, 0.25);
  --transition: 0.25s all cubic-bezier(.4,1,.7,1);
}

/* ===============================================
   TYPOGRAPHY & HEADINGS
   =============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-electro) !important;
  color: var(--color-electric-blue);
  background: linear-gradient(90deg, var(--color-accent), var(--color-vivid-pink) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.37rem;
  font-weight: 700;
  color: var(--color-electric-blue);
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, li, .text-section {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.13rem; }
}

/* ===============================================
   LAYOUT & CONTAINER
   =============================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 28px rgba(36,86,50,0.16);
}
.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;
    gap: 20px;
    align-items: flex-start;
  }
  .content-wrapper {
    padding: 0;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(36,86,50,0.08);
  font-size: 1.09rem;
  color: #21271c;
  font-family: var(--font-body);
}
.testimonial-card p {
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--color-dark);
}
.testimonial-card div {
  font-weight: 700;
  color: var(--color-primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 24px 0;
}
.category-list li {
  flex: 1 1 180px;
  background: var(--color-secondary);
  padding: 16px 10px;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(27, 148, 121, 0.10);
  color: var(--color-primary);
}

/* Responsive Card Columns via Flexbox */
@media (max-width: 600px) {
  .card-container, .content-grid, .category-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: 0 2px 12px rgba(32, 79, 50, 0.06);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 16px;
}
header img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.075rem;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-electric-blue);
  border-bottom: 2.5px solid var(--color-accent);
}
.btn-primary, .btn-secondary {
  padding: 13px 38px;
  font-family: var(--font-display);
  letter-spacing: 1.2px;
  font-size: 1.09rem;
  border-radius: var(--radius);
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 1.5px 10px rgba(27,224,236,0.12);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-left: 14px;
  margin-right: 0;
  margin-bottom: 0;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-electric-blue);
  color: #fff;
  transform: scale(1.06) rotate(-1.5deg);
}
.btn-secondary {
  background: #fff;
  color: var(--color-electric-blue);
  border: 2px solid var(--color-electric-blue);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-electric-blue);
  color: #fff;
  transform: scale(1.06) rotate(1.5deg);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  color: var(--color-accent);
  margin-left: 12px;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: var(--color-electric-blue);
}

/* Mobile Navigation */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 79, 50, 0.95);
  color: #fff;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.4,1,.7,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 30px 0 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 2.2rem;
  margin-bottom: 30px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 10px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-accent);
}

@media (max-width: 1020px) {
  .main-nav, .btn-primary:not(.mobile-only-btn) {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu.open {
    display: none;
  }
}

/* ===============================================
   FOOTER
   =============================================== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 28px 0;
  box-shadow: 0 -3px 18px rgba(27,198,224,0.09);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-electric-blue);
}
.text-section {
  font-size: 0.997rem;
  color: #fff;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .text-section {
    margin-top: 12px;
    font-size: 0.94rem;
  }
}

/* ===============================================
   GENERAL & UTILITIES
   =============================================== */
.section {
  background: var(--color-grey-light);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 14px rgba(32, 79, 50, 0.05);
}
ul {
  margin-left: 18px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--color-dark);
}
ul li:last-child { margin-bottom: 0; }

/* Links in content */
.content-wrapper a:not(.btn-primary):not(.btn-secondary), .text-section a {
  color: var(--color-vivid-pink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--color-accent);
  transition: color 0.14s, border 0.14s;
}
.content-wrapper a:not(.btn-primary):not(.btn-secondary):hover, .text-section a:hover {
  color: var(--color-electric-blue);
  border-bottom: 2.5px solid var(--color-electric-blue);
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  min-width: 140px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(1.03);
}

/* ===============================================
   COOKIE CONSENT BANNER & MODAL
   =============================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width:100vw;
  z-index: 9999;
  background: var(--color-electric-blue);
  color: #111;
  padding: 20px 12px 18px 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(27,224,236,0.16);
  font-size:1rem;
  gap: 16px;
  transition: transform .29s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner-content {
  flex: 1 1 320px;
  margin-right: 20px;
  font-size: 1.01rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  padding: 10px 22px;
  background: var(--color-energy-green);
  color: #fff;
  font-weight: 700;
  border-radius: 9px;
  border: none;
  font-family: var(--font-display);
  letter-spacing: 0.9px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(23, 217,67,0.11);
  transition: background 0.2s, color 0.18s;
}
.cookie-btn-accept:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn-reject, .cookie-btn-settings {
  padding: 10px 18px;
  background: #fff;
  color: var(--color-vivid-pink);
  border-radius: 9px;
  border: 2px solid var(--color-vivid-pink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.8px;
  cursor:pointer;
  transition: background 0.2s, color 0.18s, border 0.14s;
}
.cookie-btn-reject:hover, .cookie-btn-settings:hover {
  background: var(--color-vivid-pink);
  color: #fff;
  border: 2px solid transparent;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.94rem;
  }
  .cookie-banner-content {
    margin-right: 0;
  }
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,94,50,0.82);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 18px;
  max-width: 98vw;
  width: 410px;
  padding: 34px 30px 24px 30px;
  box-shadow: 0 8px 32px rgba(27,224,236,0.13);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-switch {
  width: 44px;
  height: 24px;
  appearance: none;
  background: var(--color-divider);
  outline: none;
  border-radius: 15px;
  position: relative;
  transition: background .19s;
  cursor:pointer;
}
.cookie-switch:checked {
  background: var(--color-electric-blue);
}
.cookie-switch:before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(32, 79, 50, 0.13);
  transition: left .18s, background .14s;
}
.cookie-switch:checked:before {
  left: 22px;
  background: var(--color-energy-green);
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 2;
  transition: color .13s;
}
.cookie-modal-close:hover {
  color: var(--color-vivid-pink);
}

@media (max-width: 450px) {
  .cookie-modal-content {
    padding: 20px 9px 20px 9px;
  }
}

/* ===============================================
   MICRO-INTERACTIONS & ANIMATIONS
   =============================================== */
.card, .btn-primary, .btn-secondary, .testimonial-card, .category-list li, .cookie-banner, .mobile-menu, .mobile-nav a {
  transition: box-shadow .18s, background .21s, color .14s, transform .24s;
}
.card:hover, .category-list li:hover {
  box-shadow: 0 8px 32px 0 rgba(255, 0, 135, 0.10);
  background: #fffbe9;
}

.testimonial-card:hover {
  transform: scale(1.025) rotate(-.5deg);
  box-shadow: 0 6px 24px 1px rgba(27,224,236,0.12);
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
  header .container {
    padding: 12px 14px;
  }
  .main-nav, .btn-primary:not(.mobile-only-btn) {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
}
@media (max-width: 600px) {
  h1, h2, h3 { text-align: left; }
  .section {
    padding: 16px 2px;
    margin-bottom: 24px;
  }
  .testimonial-card, .card {
    padding: 12px 6px;
    font-size: 0.96rem;
  }
  .btn-primary, .btn-secondary {
    min-width: 100px;
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* ===============================================
   ACCESSIBLE FOCUS & INTERACTIONS
   =============================================== */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 3px solid var(--color-electric-blue);
  outline-offset: 2px;
}

/* ===============================================
   CUSTOM UTILITY CLASSES & ALIGNMENTS
   =============================================== */
.align-center { text-align: center; justify-content: center; align-items: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }

/* ===============================================
   SPECIAL CLASSES (FROM PAGE STRUCTURE)
   =============================================== */
.features { display: flex; flex-wrap: wrap; gap: 20px; }
.card-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }

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