/* === 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 {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #FAF9F6;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222F3E;
  background: #FAF9F6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #79C000;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #558701;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222F3E;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 1px 2px 0 #79C00025;
  background: linear-gradient(90deg, #79C000 20%, #222F3E 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #222F3E;
  margin-bottom: 20px;
}
p {
  font-size: 1rem;
  line-height: 1.7;
  color: #222F3E;
  margin-bottom: 16px;
}

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


/* === HEADER NAVIGATION === */
header {
  background: #222F3E;
  padding: 0;
  width: 100%;
  box-shadow: 0 3px 28px 0 #222F3E18;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: #FAF9F6;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.2s, background 0.2s;
  padding: 6px 12px;
  border-radius: 20px;
}
header nav a:hover, header nav a:focus {
  color: #222F3E;
  background: #79C00052;
}
header .cta-primary {
  background: #79C000;
  color: #222F3E !important;
  font-weight: 800;
  border-radius: 22px;
  padding: 9px 22px;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #79C00028;
  letter-spacing: 0.04em;
}
header .cta-primary:hover, header .cta-primary:focus {
  background: #6aa900;
  color: #FAF9F6 !important;
  box-shadow: 0 4px 18px #79C00032;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
header .mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  header .container {
    gap: 12px;
  }
  header nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header nav,
  header .cta-primary {
    display: none !important;
  }
  header .mobile-menu-toggle {
    display: block;
    font-size: 2.2rem;
    color: #79C000;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 99;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background 0.2s;
  }
  header .mobile-menu-toggle:active,
  header .mobile-menu-toggle:focus {
    background: #e7f9d2;
  }
}

/* ========== MOBILE MENU ========= */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #222F3Eee;
  z-index: 1090;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.75,-0.17,.12,1.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: #79C000;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 1299;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:active {
  background: #e7f9d2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 68px;
  width: 100%;
  align-items: flex-start;
  padding: 0 34px;
}
.mobile-nav a {
  color: #FAF9F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px dotted #79C00044;
  width: 100%;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FAF9F6;
  color: #222F3E;
  border-radius: 14px;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============= HERO SECTION ============= */
.hero {
  background: #FAF9F6;
  background-image: url('../assets/hero-art.svg'), linear-gradient(135deg, #79C00017 0%, #222F3E09 80%);
  background-repeat: no-repeat;
  background-position: right 5% top 55px;
  min-height: 340px;
  border-bottom: 6px solid #79C00021;
  padding-top: 52px;
  padding-bottom: 48px;
  margin-bottom: 60px;
  box-shadow: 0 6px 32px -14px #222F3E0c;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

/* === UNIVERSAL SECTION GAP & PADDING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
  .hero {
    min-height: 190px;
    padding-top: 28px;
    padding-bottom: 24px;
  }
}

/* === FLEX PATTERNS ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 3px 18px 0 #222F3E21;
  padding: 32px 22px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 38px 0 #79C00027;
  transform: translateY(-4px) scale(1.01);
}
.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;
  margin-bottom: 24px;
  background: #FAF9F6;
  border-radius: 16px;
  box-shadow: 0 2px 14px #222F3E10;
  border: 2px solid #79C00015;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px #222F3E14;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURE GRID === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px #222F3E14;
  padding: 30px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border-left: 7px solid #79C00058;
  transition: transform 0.17s, box-shadow 0.18s, border 0.2s;
  z-index: 2;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 34px #79C00025;
  border-left: 7px solid #79C000;
}
.feature-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 2px #79C00099);
}

/* === CTA SECTION === */
.cta {
  background: #222F3E;
  color: #FAF9F6;
  border-radius: 22px;
  box-shadow: 0 10px 36px 0 #222F3E25;
  margin-bottom: 48px;
}
.cta .container {
  display: flex;
  flex-direction: column;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta h2, .cta p {
  color: #FAF9F6 !important;
}
.cta .cta-primary {
  background: #79C000;
  color: #222F3E !important;
}

/* === BUTTONS === */
.cta-primary, .btn, button, input[type='submit'], input[type='button'] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 12px 28px;
  background-color: #79C000;
  color: #222F3E;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px #79C00038;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, transform 0.15s;
  outline: none;
  letter-spacing: 0.04em;
}
.cta-primary:hover, .btn:hover, button:hover, input[type='submit']:hover {
  background: #6aa900;
  color: #FAF9F6;
  box-shadow: 0 4px 24px #79C00035;
  transform: translateY(-2px) scale(1.02);
}
.cta-primary:active, .btn:active, button:active {
  background: #222F3E;
  color: #FAF9F6;
}

/* ====== STAR RATINGS DISPLAY ====== */
.star-ratings {
  font-size: 1.3rem;
  color: #79C000;
  letter-spacing: 2px;
  margin: 6px 0 8px 0;
  user-select: none;
}

/* ====== TESTIMONIAL CARD CONTRAST ====== */
.testimonial-card p,
.testimonial-card strong,
.testimonial-card em,
.testimonial-card .star-ratings {
  color: #222F3E !important;
}
.testimonial-card em {
  font-style: italic;
  color: #79C000 !important;
}

/* ====== FOOTER STYLES ====== */
footer {
  background: #222F3E;
  color: #FAF9F6;
  border-top: 7px solid #79C00042;
  margin-top: 52px;
  padding: 0 0 0 0;
}
footer .container {
  padding: 32px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 50px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #FAF9F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 10px;
  padding: 4px 12px;
  transition: color 0.18s, background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #79C00052;
  color: #222F3E;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1rem;
  color: #FAF9F6;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 12px;
}
.contact-details img {
  height: 20px;
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
.contact-details a {
  color: #79C000;
  text-decoration: underline;
  font-weight: 700;
}

/* ======= PAGE-SPECIFIC FLEX LAYOUTS ======= */
@media (max-width: 1200px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 960px) {
  .content-wrapper,
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 20px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
  }
  footer .content-wrapper {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 10px;
  }
  .hero,
  .cta,
  .section {
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .feature-grid > div,
  .card,
  .text-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* ===== CARDS ===== */
.card {
  background: #fff;
  box-shadow: 0 3px 18px #222F3E16;
  border-radius: 14px;
  padding: 30px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Text-section in cards */
.card .text-section {
  gap: 10px;
}

/* ================================
   ===== COOKIE CONSENT BANNER =====
   ================================ */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222F3E;
  color: #FAF9F6;
  padding: 28px 20px 20px 20px;
  z-index: 2222;
  box-shadow: 0 -2px 26px #222F3E44;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  transition: transform 0.28s cubic-bezier(.51,-0.13,.38,1.18), opacity 0.19s;
  border-radius: 24px 24px 0 0;
}
#cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
#cookie-consent-banner p {
  flex: 2 1 270px;
  margin-bottom: 0;
  color: #FAF9F6;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
  margin-right: 0;
  margin-bottom: 4px;
}
#cookie-accept {
  background: #79C000;
  color: #222F3E;
  box-shadow: 0 2px 8px #79C00036;
}
#cookie-accept:hover, #cookie-accept:focus {
  background: #6aa900;
  color: #FAF9F6;
}
#cookie-reject {
  background: #FAF9F6;
  color: #222F3E;
  border: 2px solid #79C000bb;
}
#cookie-reject:hover, #cookie-reject:focus {
  background: #222F3E;
  color: #FAF9F6;
  border-color: #222F3E;
}
#cookie-settings {
  background: transparent;
  color: #79C000;
  border: 2px solid #79C00099;
}
#cookie-settings:hover, #cookie-settings:focus {
  background: #e9fad2;
  color: #222F3E;
  border-color: #79C000dd;
}

/* ===== COOKIE MODAL ===== */
#cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #222F3E58;
  z-index: 2235;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal {
  background: #fff;
  color: #222F3E;
  border-radius: 18px;
  box-shadow: 0 10px 40px #222F3E25;
  padding: 32px 26px 20px 26px;
  max-width: 420px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalFadeIn 0.35s cubic-bezier(.56,-0.23,.4,1.12);
}
@keyframes modalFadeIn {
  0% { transform: scale(0.9) translateY(35px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
#cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  margin-bottom: 10px;
  color: #222F3E;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  margin-bottom: 12px;
  user-select: none;
  cursor: pointer;
}
#cookie-modal input[type='checkbox'] {
  accent-color: #79C000;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #79C000cc;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  color: #222F3E;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.18s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: #e7f9d2;
}
#cookie-modal .modal-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal .modal-list .always-on {
  opacity: 0.55;
}

@media (max-width: 500px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.98rem;
    padding: 15px 6px 10px 9px;
    gap: 9px;
    border-radius: 18px 18px 0 0;
  }
  #cookie-modal {
    padding: 18px 4px 10px 8px;
    font-size: 0.99rem;
  }
}
/* ========================= */

/* ==== ANIMATIONS ==== */
.fadeIn {
  animation: fadeIn .3s cubic-bezier(.3,-0.35,.97,.99);
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========== UTILITY =========== */
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* =========== CUSTOM ARTISTIC ELEMENTS =========== */
/* Artistic underline for h2 */
h2 {
  position: relative;
  display: inline-block;
}
h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 6px;
  border-radius: 2px;
  margin-top: 7px;
  background: #79C000;
  opacity: 0.9;
}
@media (max-width: 425px) {
  h1, h2, h3 {
    word-break: break-word;
    font-size: 90%;
  }
  h2::after { width: 38px; }
}

/* Artistic dot background for feature-grid section */
.feature-grid {
  position: relative;
  overflow: visible;
}
.feature-grid::before {
  content: '';
  position: absolute;
  right: -22px;
  top: 38px;
  width: 102px;
  height: 102px;
  background: url('../assets/pattern-dots.svg') no-repeat center;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}

/* For consistent spacing between all cards and sections */
.section, .card-container > *, .card, .testimonial-card, .feature-grid > div {
  margin-bottom: 20px;
}

/* CUSTOM SCROLLBAR STYLES */
::-webkit-scrollbar {
  width: 8px;
  background: #f0fbe1;
}
::-webkit-scrollbar-thumb {
  background: #79C00055;
  border-radius: 6px;
}

/* ============= A11Y: FOCUS RING ============= */
:focus-visible {
  outline: 2px solid #79C000;
  outline-offset: 2px;
}


/* ===================== THE END ===================== */
