/* =============================
   CSS RESET & BASE STYLES
   ============================= */
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-size: 100%;
  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;
  font-size: 16px;
  background: #F6FAF6;
  color: #22332b;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: #256D5B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #A6C824;
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #256D5B;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, li, dl, dd {
  font-size: 1rem;
  color: #22332b;
}
p {
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.25rem;
  color: #256D5B;
  margin-bottom: 24px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}
ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* =============================
   CREATIVE ARTISTIC THEME COLORS
   ============================= */
:root {
  --primary: #256D5B;
  --secondary: #A6C824;
  --accent: #F6FAF6;
  --artistic-rose: #FFA6B1;
  --artistic-sky: #00B7C2;
  --artistic-lilac: #B697F2;
  --text-dark: #22332b;
  --text-light: #fff;
}

/* =============================
   LAYOUT CONTAINERS
   ============================= */
.container {
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 4px 22px rgba(38,109,91,0.06);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.logo img {
  height: 44px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 0 2px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.2s;
  border-radius: 1px;
  position: absolute;
  left: 0; bottom: -4px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.cta.primary {
  background: var(--secondary);
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 29px;
  padding: 12px 36px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  margin-left: 24px;
  box-shadow: 0 2px 16px rgba(166,200,36,0.13);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  position: relative;
  z-index: 1;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(38,109,91,0.10);
}
/* Hide mobile nav & burger on desktop */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* =============================
   MOBILE MENU
   ============================= */
@media (max-width: 992px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    height: 46px;
    width: 46px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(38,109,91,0.11);
    cursor: pointer;
    position: absolute;
    right: 24px;
    top: 16px;
    z-index: 301;
    transition: background 0.18s, color 0.18s, transform 0.11s;
  }
  .mobile-menu-toggle:active {
    background: var(--secondary);
    color: var(--primary);
    transform: scale(0.97);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(246,250,246,0.98);
    z-index: 4005;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    box-shadow: -2px 0 22px 0 rgba(38,109,91,0.11);
    padding: 32px 21px 21px 28px;
  }
  .mobile-menu.active {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: var(--primary);
    margin-bottom: 20px;
    cursor: pointer;
    z-index: 4006;
    transition: color 0.15s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    color: var(--secondary);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 17px;
    width: 100%;
    margin-top: 10px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--primary);
    padding: 12px 8px;
    border-radius: 10px;
    transition: background 0.16s, color 0.16s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--secondary);
    color: var(--text-light);
  }
}
@media (max-width: 480px) {
  .mobile-menu {
    padding: 19px 4vw 8vw 9vw;
  }
}

/* =============================
   HERO, FEATURES, and CTA SECTIONS
   ============================= */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 32px;
    padding: 26px 5vw;
  }
}
.feature-grid, .service-cards, .blog-preview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card, .service-card, .blog-preview-card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(38,109,91,0.10), 0 1.5px 7px rgba(166, 200, 36, 0.07);
  padding: 28px 22px 20px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.19s;
}
.feature-card:hover, .service-card:hover, .blog-preview-card:hover {
  box-shadow: 0 8px 28px rgba(166, 200, 36, 0.12), 0 4px 16px rgba(38,109,91,0.10);
  transform: scale(1.03) translateY(-3px);
  z-index: 5;
}
.feature-card img {
  height: 46px;
  margin-bottom: 16px;
}
.service-card span {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--secondary);
  letter-spacing: 0.03em;
  font-weight: 600;
}

/* Artistic Pattern Overlay on feature cards (unique element) */
.feature-card:before,
.service-card:before {
  content: '';
  position: absolute;
  top: -28px; left: -28px;
  width: 60px; height: 60px;
  background: radial-gradient(circle at 15px 15px, var(--artistic-lilac) 0%, transparent 70%);
  opacity: 0.22;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.feature-card:after,
.service-card:after {
  content: '';
  position: absolute;
  bottom: -20px; right: -16px;
  width: 40px; height: 40px;
  background: radial-gradient(circle at 25px 25px, var(--artistic-rose) 0%, transparent 80%);
  opacity: 0.18;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Blog preview cards hover accent */
.blog-preview-card {
  border: 1.5px solid var(--secondary);
}

/* CTA */
.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 29px;
  padding: 12px 36px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.11s, box-shadow 0.2s;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(38,109,91,0.08);
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 8px 24px rgba(38,109,91,0.09);
}
.cta.primary {
  background: var(--secondary);
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: #fff;
}

/* =============================
   CARD, GRID AND FLEX LAYOUTS
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(38,109,91,0.08);
  padding: 22px;
  min-width: 220px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.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;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 410px;
  box-shadow: 0 4px 14px rgba(38,109,91,0.10), 0 2px 7px rgba(166, 200, 36, 0.08);
  border-left: 8px solid var(--secondary);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  color: #22332b;
  font-size: 1rem;
  font-style: italic;
  font-family: 'Open Sans', sans-serif;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
  margin-top: 2px;
}
.testimonial-card:hover {
  transform: scale(1.025) translateY(-3px);
  box-shadow: 0 10px 34px rgba(38,109,91,0.12);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

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

/* =============================
   ARTISTIC & CREATIVE DECORATIONS
   ============================= */
section {
  position: relative;
  z-index: 1;
}
/* Section backgrounds with artistic corners */
section:nth-child(even) {
  background: linear-gradient(115deg, rgba(166,200,36,0.09) 0%, rgba(255,166,177,0.08) 100%);
  border-radius: 38px 8px 24px 38px;
}
section:nth-child(odd) {
  background: linear-gradient(108deg, rgba(0,183,194,0.07) 0%, rgba(182,151,242,0.09) 82%);
  border-radius: 14px 38px 29px 12px;
}

/* =============================
   FAQ ACCORDION
   ============================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion dt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 5px;
  background: var(--accent);
  border-radius: 8px;
  padding: 11px 16px;
  cursor: pointer;
  position: relative;
  transition: background 0.13s, color 0.14s;
}
.faq-accordion dt:hover, .faq-accordion dt:focus {
  background: var(--secondary);
  color: #fff;
}
.faq-accordion dd {
  margin-left: 14px;
  margin-bottom: 8px;
  padding: 7px 12px 12px 16px;
  background: #fff;
  border-radius: 8px;
  color: #22332b;
  font-size: 1rem;
}

/* =============================
   TABLES (PRICING ETC.)
   ============================= */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(38,109,91,0.07);
  margin-bottom: 20px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 16px 12px;
  text-align: left;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid #e8ebea;
}
.pricing-table th {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 44px 0 26px 0;
  box-shadow: 0 -2px 16px rgba(38,109,91,0.14);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact p, .footer-contact a {
  color: #fff;
  opacity: 0.87;
  font-size: 0.98rem;
  line-height: 1.4;
}
.footer-contact a {
  text-decoration: underline;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-left: 12px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 20px;
  }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5100;
  background: #fff;
  box-shadow: 0 -4px 22px rgba(38,109,91,0.13);
  border-top: 4px solid var(--secondary);
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  animation: cookieBannerIn 0.7s cubic-bezier(.75,0,.26,1) 1;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 8px 18px 10px;
    align-items: flex-start;
  }
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #22332b;
  flex: 2 1 auto;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  padding: 8px 19px;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  margin-left: 0;
  box-shadow: 0 2px 7px rgba(38,109,91, 0.07);
}
.cookie-banner .accept-btn {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #eee;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #fff;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-banner .settings-btn {
  background: var(--artistic-sky);
  color: #fff;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: var(--secondary);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5300;
  background: rgba(38,109,91,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  animation: fadeInModal 0.5s cubic-bezier(.75,0,.26,1) 1;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 8px 38px rgba(38,109,91,0.23);
  padding: 32px 28px 24px 28px;
  position: relative;
  font-family: 'Open Sans', sans-serif;
  z-index: 5301;
  animation: modalPopIn 0.45s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes modalPopIn {
  0% { opacity: 0; transform: scale(0.82); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  font-size: 1.04rem;
  color: #22332b;
}
.cookie-modal .cookie-category {
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal .switch {
  width: 38px;
  height: 21px;
  background: #e6e6e6;
  border-radius: 30px;
  position: relative;
  transition: background 0.19s;
  margin-right: 5px;
}
.cookie-modal input[type="checkbox"]:checked + .switch {
  background: var(--secondary);
}
.cookie-modal .switch:after {
  content: '';
  display: block;
  position: absolute;
  top: 2.5px; left: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 4px rgba(38,109,91,0.13);
  transition: left 0.19s;
}
.cookie-modal input[type="checkbox"]:checked + .switch:after {
  left: 18px;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  border: none;
  border-radius: 7px;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 25px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.12s;
  margin-left: 0;
  box-shadow: 0 2px 8px rgba(166,200,36,0.09);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 8px; right: 8px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 5304;
  padding: 2px 6px;
  border-radius: 50%;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #eee;
  color: var(--secondary);
}


/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 1024px) {
  .feature-grid, .service-cards, .blog-preview-cards {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 550px) {
  .feature-card, .service-card, .blog-preview-card, .testimonial-card {
    min-width: 100%;
    padding: 16px 11px 11px 12px;
    border-radius: 11px;
  }
  .card {
    min-width: 100%;
  }
}
@media (max-width: 430px) {
  h1 {
    font-size: 1.68rem;
  }
  h2 {
    font-size: 1.29rem;
  }
  .container {
    padding: 0 4vw;
  }
  section {
    padding: 16px 3vw;
  }
}

/* Ensure proper spacing between all cards/sections */
.card, .feature-card, .service-card, .blog-preview-card, .testimonial-card, .feature-item {
  margin-right: 0;
  margin-bottom: 20px;
}

/* Make sure no absolute positions overlap actual content (only allowed for decoration) */

/* Extra tweaks for micro-interactions */
button:focus-visible {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 2.5px;
}
a:focus-visible {
  outline: 2.5px dashed var(--primary);
  outline-offset: 2.5px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

/* Hide scrollbars in sliders if present */
.testimonial-slider {
  overflow-x: auto;
  scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* =============================
   UTILITY CLASSES
   ============================= */
.hide {
  display: none !important;
  visibility: hidden !important;
}

/* =============================
   END OF STYLESHEET
   ============================= */
