/* ---------------------------------------------------
   CSS RESET & NORMALIZATION
--------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F4F7FA;
  color: #205072;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #226887;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 1px 2px 0 rgba(79,161,115,0.07);
  line-height: 1.2;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.12rem; }
h5, h6 { font-size: 1rem; }

p, ul, ol, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #205072;
  margin-bottom: 1em;
}

b, strong { color: #226887; }
a {
  color: #226887;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4FA173;
  text-decoration: underline;
}

/* ---------------------------------------------------
    LAYOUT & CONTAINER
--------------------------------------------------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 6px 32px rgba(34,104,135,0.08), 0 1.5px 2px rgba(79,161,115,0.022);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #F4F7FA;
  box-shadow: 0 4px 18px rgba(34,104,135,0.07);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 28px 20px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(34,104,135,0.18);
  transform: translateY(-2px) scale(1.02);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border: 2.5px solid #4FA173;
  border-radius: 22px;
  box-shadow: 0 3px 18px rgba(79,161,115,0.09), 0 1px 1.5px rgba(34,104,135,0.025);
  padding: 28px 20px 18px 20px;
  flex: 1 1 235px;
  max-width: 300px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card h3 {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #205072;
  margin-bottom: 8px;
}
.service-card .price {
  color: #4FA173;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 10px 0 6px 0;
}
.service-card a {
  display: inline-block;
  background: #226887;
  color: #fff;
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
  letter-spacing: 0.03em;
  border-radius: 12px;
  padding: 9px 20px;
  margin-top: 6px;
  transition: background 0.2s, transform 0.18s;
  border: none;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(79,161,115,0.08);
}
.service-card a:hover,
.service-card a:focus {
  background: #4FA173;
  color: #fff;
  transform: scale(1.05);
  text-decoration: none;
}
.service-card:hover {
  border-color: #226887;
  box-shadow: 0 8px 34px rgba(34,104,135,0.16);
  transform: translateY(-2px) scale(1.02);
}

.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;
}

.text-section {
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #F4F7FA;
  border-left: 6px solid #4FA173;
  padding: 20px 24px;
  border-radius: 18px;
}

ul, ol {
  padding-left: 1.3em;
}
ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ul li img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-right: 8px;
}

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

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(34,104,135,0.10);
  border-left: 6px solid #226887;
  margin-bottom: 20px;
  border-radius: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(79,161,115,0.13);
  border-left-color: #4FA173;
}
.testimonial-card p {
  color: #205072;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-meta {
  margin-left: auto;
  text-align: right;
  font-size: 0.97rem;
  color: #226887;
  font-family: 'Roboto Slab', serif;
  min-width: 130px;
}
.testimonial-meta span:first-child {
  color: #4FA173;
  font-size: 1.2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 0 0 0;
}
footer .footer-content > div {
  flex: 1 1 220px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #226887;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #4FA173;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a {
  display: flex;
}
.social-links a img {
  width: 28px;
  height: 28px;
}

/* ---------------------------------------------------
    HEADER & NAVIGATION
--------------------------------------------------- */
header {
  background: #226887;
  box-shadow: 0 3px 18px rgba(79,161,115,0.06);
  padding: 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 20px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}
nav > a img {
  height: 46px;
}
nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
}
nav ul li a {
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.17s, color 0.17s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #4FA173;
  color: #fff;
}
nav ul li a.cta-btn {
  background: #4FA173;
  color: #fff;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(79,161,115,0.12);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
nav ul li a.cta-btn:hover,
nav ul li a.cta-btn:focus {
  background: #fff;
  color: #205072;
  box-shadow: 0 6px 24px rgba(34,104,135,0.13);
  transform: scale(1.07);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: #4FA173;
  color: #fff;
  border: none;
  font-size: 2.02rem;
  border-radius: 8px;
  padding: 7px 16px 9px 16px;
  margin-left: 10px;
  cursor: pointer;
  z-index: 1202;
  box-shadow: 0 1px 5px rgba(34,104,135,0.10);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #226887;
  color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,104,135,0.97);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.61,0.01,0.19,0.93);
  /* Hidden by default, show with .open class */
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 32px 24px 10px 0;
  background: #4FA173;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 12px 18px 10px 18px;
  cursor: pointer;
  box-shadow: 0 1.5px 5px rgba(79,161,115,0.14);
  transition: background 0.13s;
  z-index: 1202;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #226887;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 22px;
  padding: 48px 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.33rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 0 10px 8px;
  border-left: 7px solid transparent;
  border-radius: 4px;
  transition: background 0.17s, border-color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #4FA173;
  border-left: 7px solid #fff;
  color: #fff;
}
/* .mobile-nav .cta-btn appearance (mimic desktop) */
.mobile-nav a:last-child, .mobile-nav a.cta-btn {
  background: #4FA173;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  padding: 16px 32px;
  margin-top: 12px;
  box-shadow: 0 2px 12px rgba(79,161,115,0.12);
  border-left: none;
  display: inline-block;
}
.mobile-nav a:last-child:hover, .mobile-nav a.cta-btn:hover {
  background: #fff;
  color: #205072;
}

/* ---------------------------------------------------
    BUTTONS & CTAS
--------------------------------------------------- */
.cta-btn {
  display: inline-block;
  background: #4FA173;
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 12px 38px;
  border-radius: 16px;
  box-shadow: 0 2.5px 23px rgba(34,104,135,0.09);
  border: none;
  transition: background 0.19s, color 0.16s, box-shadow 0.18s, transform 0.16s;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #226887;
  color: #fff;
  box-shadow: 0 10px 36px rgba(34,104,135,0.17);
  transform: translateY(-1.5px) scale(1.05);
  text-decoration: none;
}
button,
input[type="submit"],
input[type="button"] {
  font-family: 'Roboto Slab', serif;
  font-size: 1.02rem;
  background: #226887;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 10px 26px;
  cursor: pointer;
  box-shadow: 0 2px 15px rgba(34,104,135,0.07);
  transition: background 0.17s, color 0.17s;
}
button:focus,
button:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #4FA173;
  color: #fff;
}

/* ---------------------------------------------------
    COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #205072;
  padding: 22px 30px;
  box-shadow: 0 -3px 22px rgba(34,104,135,0.16);
  border-top: 3.5px solid #4FA173;
  font-size: 1.02rem;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.35s cubic-bezier(0.61,0.01,0.19,0.93), opacity 0.25s;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-consent-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button,
.cookie-consent-banner .cookie-settings-btn {
  background: #4FA173;
  color: #fff;
  border-radius: 9px;
  padding: 7px 18px;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  border: none;
  margin-right: 5px;
  box-shadow: 0 1.5px 5px rgba(34,104,135,0.08);
  transition: background 0.17s, color 0.16s;
}
.cookie-consent-banner button.reject {
  background: #205072;
}
.cookie-consent-banner button:focus, .cookie-consent-banner button:hover {
  background: #226887;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: #226887;
  border: 2px solid #226887;
  margin-left: 9px;
}
.cookie-consent-banner .cookie-settings-btn:focus, .cookie-consent-banner .cookie-settings-btn:hover {
  background: #4FA173;
  color: #fff;
  border-color: #4FA173;
}

/* Cookie Preference Modal */
.cookie-modal {
  position: fixed;
  z-index: 1550;
  left: 50%;
  top: 50%;
  min-width: 340px;
  max-width: 96vw;
  width: 430px;
  background: #fff;
  color: #205072;
  border-radius: 22px;
  box-shadow: 0 5px 54px rgba(34,104,135,0.19);
  padding: 32px 24px 26px 24px;
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.24s;
}
.cookie-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 18px;
  color: #226887;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #226887;
  font-family: 'Roboto Slab', serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #4FA173;
  width: 17px;
  height: 17px;
}
.cookie-modal .essential {
  font-weight: 700;
  color: #205072;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  background: #226887;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 600;
  transition: background 0.16s;
}
.cookie-modal .cookie-modal-actions button:focus, .cookie-modal .cookie-modal-actions button:hover {
  background: #4FA173;
}
header nav ul{
  display: flex;
}
header nav ul li a{
  color: white;
}
@media (max-width: 768px) {
  /* NAV: Hamburger */
  .mobile-menu-toggle {
    display: block;
  }
  nav ul {
    display: none;
  }
  nav {
    gap: 6px;
    padding: 14px 10px;
  }
  nav > a img {
    height: 36px;
  }
  /* HEADER fix */
  header {
    box-shadow: 0 2px 9px rgba(79,161,115,0.08);
  }
  .container {
    padding: 0 8px;
  }
  .footer-content {
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 0 0;
  }
  .footer-content > div {
    width: 100%;
  }
}

/* ---------------------------------------------------
  RESPONSIVE FLEXBOX ADAPTION
--------------------------------------------------- */
@media (max-width: 1024px) {
  .service-cards {
    gap: 18px;
  }
  .footer-content {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .service-card {
    flex: 1 1 95%;
    min-width: 270px;
    max-width: none;
  }
  .service-cards {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 10px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.17rem; }
  .service-card { padding: 16px 7px; }
  .cta-btn { padding: 10px 18px; font-size: 0.99rem; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 7px;
    gap: 12px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 15px 5px 13px 5px;
    width: 97vw;
    min-width: unset;
  }
}

/* ---------------------------------------------------
  CREATIVE ARTISTIC BRAND ELEMENTS
--------------------------------------------------- */
/* Header brush underline under h1, h2 -- SVG simulated via border */
h1::after,
h2::after {
  display: block;
  content: '';
  width: 62px;
  height: 5px;
  margin-top: 10px;
  border-radius: 6px;
  background: #4FA173;
  opacity: 0.33;
}
h2::after {
  width: 50px;
  height: 4px;
}
h3::after {
  display: inline-block;
  content: '';
  width: 24px;
  height: 3px;
  border-radius: 2px;
  margin-left: 7px;
  background: #F4B400;
  opacity: 0.27;
}
hr {
  border: none;
  background: #4FA173;
  height: 2.5px;
  border-radius: 1px;
  margin: 32px 0 14px 0;
  opacity: 0.23;
}

/* Soft, creative patterns for section backgrounds */
.section:nth-child(even) {
  background: #F4F7FA;
  box-shadow: 0 6px 24px rgba(79,161,115,0.05), 0 2px 4px rgba(34,104,135,0.04);
  border-radius: 44px 22px 38px 18px/24px 38px 22px 44px;
  border-left: 5.5px dashed #4FA17358;
}

/* Subtle hover micro-interactions */
.section, .card, .service-card, .testimonial-card {
  transition: box-shadow 0.20s, background 0.13s, border-color 0.16s, transform 0.18s;
}
.section:hover {
  box-shadow: 0 10px 48px rgba(34,104,135,0.13);
  background: #E6F8EA;
  transform: scale(1.01);
}

/* Swirl underline for accent words */
b, strong {
  position: relative;
  z-index: 1;
}
b::after, strong::after {
  display: block;
  height: 5px;
  width: 100%;
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  border-radius: 50px;
  background: #4FA173;
  opacity: 0.22;
  z-index: -1;
}

/* Artistic font fallback, load via Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto+Slab:wght@400;700&display=swap');

/* ---------------------------------------------------
  UTILITIES & MISC
--------------------------------------------------- */
::-webkit-scrollbar { background: #F4F7FA; width: 12px; }
::-webkit-scrollbar-thumb {
  background: #4FA173;
  border-radius: 6px;
}
::-webkit-scrollbar-track { background: #F4F7FA; }

/* Accessibility: High contrast for testimonials text */
.testimonial-card, .testimonial-card p, .testimonial-meta {
  color: #205072 !important;
  background: #fff !important;
}

/* Remove absolute content positioning for all cards (decoration only allowed) */

/* --------------------------------------------
   END CSS
----------------------------------------------- */