/* =============================
    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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}

/* =============================
    BRAND & DESIGN VARIABLES
============================= */
:root {
  --primary: #244267;
  --secondary: #3CB266;
  --accent: #DDF4F1;
  --white: #ffffff;
  --black: #181A1B;
  --grey: #f6f7fa;
  --border: #c6eae5;
  --header-shadow: 0 4px 24px rgba(36,66,103,0.10);
  --shadow-card: 0 2px 10px rgba(60,178,102,0.10);
  --shadow-hover: 0 6px 24px rgba(36,66,103,0.17);
  --radius-small: 10px;
  --radius-large: 24px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =============================
    BODY & TYPOGRAPHY
============================= */
body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--accent);
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}
strong {
  color: var(--secondary);
  font-weight: 700;
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

/* Artistic, lively headings animation */
h1, h2, h3 {
  transition: color 0.2s, text-shadow 0.3s;
}
h1:hover, h2:hover {
  color: var(--secondary);
  text-shadow: 2px 2px 0 var(--accent);
}

/* =============================
    CONTAINER & LAYOUT
============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.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: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  min-width: 250px;
  max-width: 480px;
  margin-bottom: 20px;
  flex: 1;
  min-height: 140px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.03);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 24px;
  border-radius: var(--radius-small);
  background: var(--accent);
  box-shadow: var(--shadow-card);
  min-width: 220px;
  margin-bottom: 20px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 180px;
  transition: box-shadow 0.3s, transform 0.2s;
  margin-bottom: 20px;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.03);
}

/* Artistic brush effect on some blocks */
.hero, .cta-btn, .service-item, .testimonial-card, .feature {
  position: relative;
  z-index: 1;
}
.hero:before {
  content: '';
  position: absolute;
  left: -30px;
  top: -40px;
  width: 130px;
  height: 100px;
  background: var(--secondary);
  opacity: 0.09;
  border-radius: 90px 30px 90px 10px;
  z-index: 0;
  pointer-events: none;
}

/* =============================
    HERO & PROMINENT SECTIONS
============================= */
.hero {
  background: var(--accent);
  position: relative;
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
  border-radius: 0 0 54px 54px / 0 0 24px 24px;
  box-shadow: 0 2px 22px 0 rgba(60,178,102,0.08);
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  padding-top: 18px;
}

/* =============================
    BUTTONS & CTA
============================= */
.cta-btn,
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-small);
  padding: 13px 33px;
  font-size: 1.15rem;
  border: none;
  letter-spacing: 0.02em;
  outline: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 1px 5px rgba(36,66,103,0.03);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus,
.mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 18px rgba(60,178,102,0.18);
  transform: translateY(-2px) scale(1.045);
}
.cta-btn:active {
  background: var(--secondary);
}

/* Artistic decorative brush on active cta */
.cta-btn:before {
  content: '';
  position: absolute;
  left: -16px;
  top: 30%;
  width: 28px;
  height: 18px;
  background: var(--secondary);
  opacity: 0.07;
  border-radius: 13px 50px 13px 10px;
  z-index: 0;
  pointer-events: none;
}

/* =============================
    NAVIGATION
============================= */
header {
  width: 100%;
  background: var(--white);
  box-shadow: var(--header-shadow);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 32px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.008em;
  position: relative;
  padding: 6px 7px 6px 7px;
  border-radius: var(--radius-small);
  transition: color 0.17s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  background: var(--accent);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  padding: 7px 18px;
  margin-left: 18px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  transition: color 0.12s, background 0.13s;
  z-index: 995;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}

/* =============================
    MOBILE MENU
============================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,66,103,0.93);
  z-index: 9000;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.30s cubic-bezier(0.77,0.2,0.05,1.0),opacity 0.18s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--white);
  background: var(--secondary);
  border-radius: 50%;
  padding: 15px 16px 13px 16px;
  margin-top: 32px;
  margin-left: 25px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 48px;
  padding: 24px 40px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  color: var(--white);
  font-size: 1.22rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(221,244,241,0.15);
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(221,244,241,0.13);
}

/* =============================
    FOOTER
============================= */
footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 38px;
  padding-bottom: 28px;
  border-radius: 45px 45px 0 0 / 22px 22px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo-socials img {
  max-width: 90px;
  margin-bottom: 12px;
}
.footer-contact p {
  font-size: 0.93rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-direction: row;
  align-items: flex-start;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.15s, text-decoration 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

/* =============================
    SERVICE & CARD LISTS
============================= */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 25px;
  justify-content: flex-start;
}
.service-item {
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 16px 20px;
  min-width: 240px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  gap: 14px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.service-item strong, .service-item .price {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.12rem;
  margin-top: 14px;
  letter-spacing: 0.016em;
}
.service-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px) scale(1.035);
}
.service-item img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}

/* =============================
    TABLES
============================= */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  overflow: hidden;
}
.comparison-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--secondary);
  color: var(--white);
  padding: 15px 10px;
  font-size: 1.08rem;
}
.comparison-table tbody td {
  font-size: 1rem;
  padding: 12px 8px;
  border-top: 1px solid var(--border);
  color: var(--primary);
  text-align: center;
}
.comparison-table tbody tr:nth-child(even) {
  background: var(--grey);
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--secondary);
}

/* =============================
    TESTIMONIALS
============================= */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 7px;
}
.testimonial-card {
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  min-width: 230px;
  max-width: 430px;
  flex: 1 1 220px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.11rem;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-weight: 500;
}
.testimonial-details {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonial-details span {
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stars {
  color: #ffb930;
  font-size: 1.18rem;
  letter-spacing: 1.5px;
  font-family: var(--font-display);
  text-shadow: 0 0 2px #fff7df;
}

/* =============================
    TEXT-SECTION & CONTENT
============================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.text-section ul, .text-section ol {
  margin-left: 16px;
  margin-bottom: 8px;
}
.text-section li {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--primary);
}
.text-section strong {
  color: var(--secondary);
  font-weight: 700;
}

/* =============================
    MODALS, BANNERS, ANIMATIONS
============================= */
/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -3px 21px rgba(36,66,103,0.13);
  border-top: 2px solid var(--secondary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 28px 19px 20px;
  gap: 16px;
  animation: banner-slide-in 0.43s cubic-bezier(0.77,0.12,0.13,1) 1;
}
@keyframes banner-slide-in {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  margin-bottom: 0.5em;
  color: var(--primary);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 24px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-small);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.cookie-banner button.cookie-settings {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner button.accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner button.reject {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner button.accept:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner button.reject:hover {
  background: #ee6a7c;
  color: var(--white);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 10500;
  width: 96vw;
  max-width: 410px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-large);
  box-shadow: 0 8px 40px rgba(36,66,103,0.18);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modal-pop 0.35s;
}
@keyframes modal-pop {
  from { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal-close {
  font-size: 1.7rem;
  align-self: flex-end;
  color: var(--secondary);
  background: transparent;
  border-radius: 50%;
  margin-bottom: 0;
  margin-top: -6px;
  padding: 3px 8px;
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--secondary);
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-buttons button {
  padding: 9px 22px;
  font-size: 1rem;
  font-family: var(--font-display);
}

/* =============================
    RESPONSIVE DESIGN
============================= */
@media (max-width: 1000px) {
  .hero {
    padding: 44px 0 32px 0;
  }
  .section {
    padding: 34px 10px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 99vw;
  }
  .feature-grid,
  .service-list,
  .testimonials,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .card, .service-item, .feature, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 600px) {
  h1, .hero h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .section, .hero {
    padding: 22px 0 12px 0;
  }
  .cookie-modal {
    padding: 12px 6vw;
  }
  .cookie-banner {
    padding: 10px 6px 8px 6px;
  }
}

/* =============================
    ARTISTIC DECORATIVE ELEMENTS
============================= */
.section, .feature, .testimonial-card, .service-item, .cookie-banner, .cookie-modal {
  /* Subtle colored border left for artistic accent */
  border-left: 5px solid var(--secondary);
  /* Artistic border can be swapped for more brushlike effect with an SVG bg img */
}

/* =============================
    ADDITIONAL INTERACTIVE EFFECTS
============================= */
.card, .feature, .service-item, .testimonial-card {
  transition: box-shadow 0.28s, transform 0.13s;
}
.card:active, .feature:active, .service-item:active {
  transform: scale(0.97);
}
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.16s, background 0.14s, color 0.13s, transform 0.12s;
}
.cta-btn:focus-visible, .cookie-banner button:focus-visible, .cookie-modal .cookie-modal-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
/* Hamburger transition */
.mobile-menu {
  transition: transform 0.3s, opacity 0.2s;
}

/* Hide cookie modal by default when not active (should be toggled via JS) */
.cookie-modal {
  display: none;
}
.cookie-modal.active {
  display: flex;
}

/* =============================
    CUSTOM SCROLLBARS
============================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: var(--accent);
}

/* ============================
  PRINT - Ensure minimalist
============================ */
@media print {
  header, footer, .main-nav, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section {
    padding: 0;
    margin-bottom: 22px;
  }
}
