/* ==== CSS RESET & NORMALIZATION ==== */
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,
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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.7;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F7F2;
  color: #21436E;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
a {
  text-decoration: none;
  color: #57A773;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #21436E;
  text-decoration: underline;
}
ul,
ol {
  margin: 16px 0;
  padding-left: 24px;
}

/* ===== BRAND FONTS (Load via Google Fonts in HTML) ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: #21436E;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.65rem; margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 6px; }

@media (min-width: 600px) {
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.45rem; }
}

p, li, span, label, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* ===== CUSTOM ARTISTIC/CREATIVE ACCENT FONTS (for hero, cta, etc.) ===== */
.subheadline, .cta-btn {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  letter-spacing: 0.03em;
}

/* ============ LAYOUT STRUCTURE ============ */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-section {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(33,67,110,0.06), 0 1.5px 6px 0 rgba(87,167,115,0.04);
  padding: 36px 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper { padding: 0; }
  .text-section { padding: 24px 10px; }
}

/* ============ FLEXBOX PATTERN CLASSES ============ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(33,67,110,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F7F7F2;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(87,167,115,0.07);
  padding: 24px 18px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(33,67,110,0.10);
  transform: translateY(-3px) scale(1.03);
}
.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: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2.5px 16px 0 rgba(33,67,110,0.095);
  min-width: 250px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
  border: 2.5px dashed #57A773;
}
.testimonial-card p {
  color: #21436E;
  font-size: 1.04rem;
  text-align: center;
}
.testimonial-card span {
  font-size: 0.95rem;
  background: #F7F7F2;
  color: #21855d;
  border-radius: 8px;
  padding: 2.5px 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features ul, .features ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.features li {
  font-size: 1.05rem;
  color: #21436E;
}
.features li strong {
  color: #57A773;
}

/* ============ HEADER NAVIGATION ============ */
header {
  width: 100%;
  background: linear-gradient(90deg, #f7f7f2 60%, #d3f9d8 120%);
  border-bottom: 3.5px solid #57A773;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #21436E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  position: relative;
  padding: 4px 0;
}
header nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: #57A773;
  border-radius: 2.5px;
  transition: width .2s cubic-bezier(.19,1,.22,1);
  margin-top: 2px;
}
header nav a:hover::after, header nav a:focus::after {
  width: 100%;
}
header img {
  height: 45px;
  margin-right: 10px;
}
.cta-btn {
  display: inline-block;
  background: #21436E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 0;
  border-radius: 13px;
  font-size: 1.07rem;
  padding: 9px 22px;
  margin-left: 14px;
  box-shadow: 0 3.5px 12px 0 rgba(33,67,110,0.09);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #57A773;
  color: #fff;
  box-shadow: 0 8px 36px #57A77342;
  text-decoration: none;
  transform: scale(1.035);
}

/* ==== MOBILE NAVIGATION BURGER ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #21436E;
  background: none;
  border: none;
  padding: 7px 15px;
  border-radius: 7px;
  cursor: pointer;
  margin-left: 10px;
  z-index: 50;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e6f6ee;
}
@media (max-width: 1000px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ==== MOBILE MENU OVERLAY ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #21436E;
  z-index: 150;
  padding-top: 35px;
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin-left: 22px;
  transition: color 0.2s;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #57A773;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 45px;
  width: 100%;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #57A773;
  color: #fff;
  text-decoration: none;
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================= MAIN HERO SECTION ============= */
.hero {
  background: linear-gradient(120deg, #f7f7f2 60%, #e1fff2 110%);
  border-radius: 22px;
  margin-top: 28px;
  margin-bottom: 48px;
  box-shadow: 0 2.5px 16px #57A77324;
  padding: 50px 0 44px 0;
}
.hero .content-wrapper {
  text-align: left;
  align-items: flex-start;
  gap: 19px;
}
.hero h1 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #21436E;
  font-size: 2.3rem;
  text-shadow: 1.5px 2px 0 #57a77333;
  margin-bottom: 4px;
}
.hero .subheadline {
  color: #57A773;
  font-size: 1.15rem;
  margin-bottom: 13px;
  font-weight: 500;
}
@media (min-width: 680px) {
  .hero .content-wrapper { text-align: left; align-items: flex-start; }
  .hero h1 { font-size: 3rem; }
  .hero .subheadline { font-size: 1.25rem; }
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 28px 0;
    margin-top: 18px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* ============== SERVICES (cards/list) ============= */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: flex-start;
}
.services .service-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 9px 0 rgba(33,67,110,0.06);
  padding: 28px 19px 18px 19px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  border-left: 6px solid #57A773;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.16s;
}
.services .service-item:hover {
  box-shadow: 0 8px 28px 0 #21436e26;
  transform: translateY(-2.5px) scale(1.02);
}
.services .service-item h3 {
  font-weight: 700;
  color: #21436E;
  font-size: 1.2rem;
}
.services .service-item p {
  color: #333;
  margin-bottom: 4px;
}
.services .service-item a {
  color: #57A773;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.18s;
}
.services .service-item a:hover, .services .service-item a:focus {
  color: #21436E;
}
.services .service-item span {
  color: #21855d;
  background: #e6f6ee;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 7px;
}
@media (max-width: 900px) {
  .services .service-list {
    flex-direction: column;
    gap: 21px;
  }
  .services .service-item {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: #f2f9f1;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 34px 0 30px 0;
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(33,67,110,0.10);
  background: #fff;
  border: 2.5px dashed #57A773;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 13px;
    min-width: 0;
  }
}

/* ========== FEATURES SECTION ========== */
.features {
  background: #f6fefd;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 34px 0 24px 0;
}
.features ul, .features ol {
  gap: 12px;
}
.features strong {
  color: #21855d;
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(93deg, #21436E 85%, #57A773 120%);
  color: #fff;
  margin-top: 48px;
  padding: 42px 0 16px 0;
  border-radius: 20px 20px 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #F7F7F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 2.5px 0;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #d3f9d8;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-brand img {
  height: 42px;
}
.footer-contact {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  margin-top: 4px;
}
.footer-contact a {
  color: #d3f9d8;
  font-weight: bold;
  text-decoration: underline;
}
footer .cta-btn {
  margin-left: 0;
  background: #57A773;
  color: #fff;
  margin-top: 18px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px 0 rgba(87,167,115,0.10);
}
.footer-contact p { color: #f7f7f2; }
@media (max-width: 1100px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2001;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: #21436E;
  color: #fff;
  padding: 22px 26px;
  box-shadow: 0 -2px 24px #21436e71;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 16px 16px 0 0;
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  margin-left: 0;
  margin-right: 12px;
  cursor: pointer;
  background: #57A773;
  color: #fff;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 7px 0 rgba(87,167,115,0.14);
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #21436E;
  color: #d3f9d8;
}
.cookie-banner .cookie-btn.reject {
  background: #e2531b;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #c04009;
}
.cookie-banner .cookie-btn.settings {
  background: #F7F7F2;
  color: #21436E;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #d3f9d8;
  color: #21855d;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.99rem;
    padding: 15px 13px;
  }
  .cookie-banner .cookie-btn { margin-right: 8px; }
}
/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 99998;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,67,110,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  color: #21436E;
  border-radius: 13px;
  max-width: 370px;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 4.5px 28px #21436e36;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: modalIn 0.38s cubic-bezier(0.88,0,0.17,1);
}
@keyframes modalIn {
  0% { transform: scale(0.8) translateY(30px); opacity: 0; }
  85% { opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #21436E;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  margin-bottom: 9px;
}
.cookie-modal label input[type='checkbox'] {
  accent-color: #57A773;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 9px;
}
.cookie-modal .cookie-btn { margin: 0; font-size: 1rem; padding: 8px 23px; }
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 17px;
  background: none;
  border: none;
  color: #21436E;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover{
  color: #e2531b;
}
@media (max-width: 450px) {
  .cookie-modal {
    max-width: 95vw;
    padding: 17px 9px 12px 9px;
  }
}

/* ======= WHITE SPACE & CONTENT SPACING RULES ======== */
main {
  margin-bottom: 80px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 36px;
    padding: 25px 6px;
  }
}
.card, .testimonial-card, .services .service-item {
  margin-bottom: 20px;
}
.card-container, .service-list, .content-grid {
  gap: 20px;
}

/* ============= FORMS & INTERACTIVES ============= */
input,
select,
textarea {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #57A773;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  margin-bottom: 25px;
  outline: none;
  transition: border 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #21436E;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  background: #57A773;
  color: #fff;
  border-radius: 10px;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 9px 20px;
  transition: background 0.19s, color 0.17s, transform 0.14s;
}
button:hover, button:focus {
  background: #21436E;
  color: #d3f9d8;
  transform: scale(1.04);
}

/* ============= MICRO-INTERACTIONS ========== */
.cta-btn, .services .service-item, .card, .testimonial-card, .cookie-btn, .footer-menu a, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.18s, color 0.13s, box-shadow 0.17s, transform 0.19s;
}

/* ============= SPECIAL ARTISTIC DECORATIVE (SUBTLE) ========== */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  right: 1.5vw;
  top: 14%;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, #57A77330 65%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 1000px) {
  .hero::after { display: none; }
}

/* ========= ARTISTIC/CREATIVE STYLE ACCENTS ========= */
h1, h2, h3 {
  text-shadow: 1.2px 2.7px 0 #57a7731a;
  letter-spacing: 0.005em;
}
section, .hero {
  box-shadow: 0 2.5px 17px 0 #21855d0b;
  position: relative;
}
/* Artistic wavy underline for strong accents */
h2::after, h3::after {
  content: '';
  display: inline-block;
  width: 51px;
  height: 7px;
  border-radius: 3.5px;
  background: #57A773;
  margin-left: 11px;
  margin-bottom: 4px;
  vertical-align: middle;
  opacity: .22;
}

/* =================== RESPONSIVE BREAKPOINTS ================== */
@media (max-width: 768px) {
  .footer-brand {
    font-size: 1rem;
  }
  .footer-menu, .footer-contact {
    font-size: 0.9rem;
  }
}
@media (max-width: 460px) {
  footer .container { gap: 7px; padding: 0 3px; }
  .footer-brand img { height: 28px; }
}

/* =========== PRINT OPTIMIZATION ============ */
@media print {
  header, nav, .mobile-menu, footer, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
