/* --- 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.7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F4F7FA;
  color: #21395B;
  font-size: 16px;
}
img, video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #009688;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.51,.09,.28,1.26);
  word-break: break-word;
}
a:focus {
  outline: 2px solid #009688;
  outline-offset: 2px;
}
ol, ul {
  list-style: none;
  margin-left: 0;
}
ul li {
  list-style: disc inside;
}

/* --- TYPOGRAPHY (Creative Artistic / Brand) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: #21395B;
  line-height: 1.16;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
.text-section, .text-image-section, .faq-list {
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
p {
  margin-bottom: 14px;
}

/* --- CONTAINER & LAYOUT FLEX --- */
.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(33,57,91,0.13);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(.62,-0.06,.51,1.33),box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(33,57,91,0.23);
  z-index: 3;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(97deg, #fdf6e3 0%, #F4F7FA 100%);
  padding: 64px 0 48px 0;
  position: relative;
  overflow: visible;
}
.hero .container {
  z-index: 2;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-family: 'Montserrat', cursive, sans-serif;
  color: #21395B;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.2rem;
  color: #21395B;
  margin-bottom: 24px;
}

/* --- MAIN NAV & HEADER --- */
header {
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(33,57,91,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  min-height: 55px;
}
.main-nav a img {
  height: 36px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  margin-left: 32px;
}
.main-nav ul li a {
  color: #21395B;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #009688;
  color: #fff;
}
.cta-btn {
  background: #009688;
  color: #fff;
  border-radius: 24px;
  padding: 11px 28px;
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-left: 28px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.2s;
  box-shadow: 0 2px 12px 0 rgba(0,150,136,0.08);
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #21395B;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px 0 rgba(33,57,91,0.13);
  text-decoration: none;
}

/* --- BURGER MENU (Mobile) --- */
.mobile-menu-toggle {
  display: none;
  background: #009688;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 100px;
  width: 48px;
  height: 48px;
  margin-right: 18px;
  margin-left: auto;
  cursor: pointer;
  z-index: 220;
  transition: background 0.18s, color 0.13s, transform 0.2s ease;
}
.mobile-menu-toggle:active {
  background: #21395B;
}
/* Hide mobile nav on desktop */
.mobile-menu {
  display: none;
}

/*************
 * MOBILE NAV OVERLAY
 *************/
.mobile-menu {
  position: fixed;
  z-index: 400;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(241, 255, 252, 0.99);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.26s cubic-bezier(.57,.13,.64,1.36), transform 0.35s cubic-bezier(.73,.09,.21,1.21);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0%);
  box-shadow: 0 8px 32px 0 rgba(33,57,91,0.15);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 22px 8px 0;
  font-size: 2.0rem;
  background: #009688;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  cursor: pointer;
  z-index: 410;
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-close:active {
  background: #21395B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 24px 32px;
  gap: 18px;
  width: 90vw;
  max-width: 320px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 14px 0;
  color: #21395B;
  border-radius: 10px;
  transition: background 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #009688;
  color: #fff;
}

/* --- FEATURES FLEX --- */
.features {
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 4px 26px 0 rgba(33,57,91,0.08);
  padding: 60px 0 44px 0;
  margin-bottom: 56px;
}
.features .container {
  width: 100%;
}
.feature-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 32px;
  margin-top: 18px;
}
.feature-grid > div {
  background: #F4F7FA;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(33,57,91,0.04);
  padding: 24px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.19s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 20px 0 rgba(33,57,91,0.14);
  transform: translateY(-2px) scale(1.03);
  background: #e8fef7;
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
}

/* --- SERVICE LIST --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
  margin-bottom: 28px;
}
.service-list > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,150,136,0.08);
  padding: 22px 20px 16px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
  transition: box-shadow 0.18s, transform 0.21s;
  position: relative;
}
.service-list > div:hover {
  box-shadow: 0 10px 36px 0 rgba(33,57,91,0.12);
  transform: translateY(-4px) scale(1.035);
  background: #e1f5fb;
}
.service-list h3, .service-list h2 {
  color: #21395B;
  font-size: 1.13rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-list span {
  color: #009688;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-top: 6px;
}
.service-list ul {
  margin-bottom: 0;
}

/* --- FAQ LIST --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(33,57,91,0.09);
  padding: 22px 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.faq-item:hover {
  box-shadow: 0 6px 20px 0 rgba(33,57,91,0.13);
}
.faq-item h2 {
  font-size: 1.09rem;
  color: #009688;
  margin-bottom: 2px;
  font-weight: 800;
}
.faq-item p {
  font-size: 1rem;
  color: #21395B;
}

/* --- TESTIMONIALS (Slider) --- */
.testimonials {
  background: #F4F7FA;
  padding: 64px 0 56px 0;
}
.testimonials h2 {
  font-size: 2rem;
  color: #21395B;
  margin-bottom: 16px;
  font-family: 'Montserrat', cursive, sans-serif;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 6px 22px 0 rgba(33,57,91,0.10);
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  color: #21395B;
  font-size: 1.09rem;
  transition: box-shadow 0.15s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,150,136,0.12);
  transform: translateY(-4px) scale(1.03);
  background: #e8fef7;
}
.testimonial-card span {
  color: #009688;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 2px;
}
.testimonial-card strong {
  color: #21395B;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: .5px;
}

/* --- FOOTER --- */
footer {
  background: #21395B;
  color: #fff;
  padding: 48px 0 36px 0;
  width: 100vw;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.footer-brand img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 5px;
  transition: background 0.15s, color 0.14s;
}
.footer-nav a:hover {
  color: #21395B;
  background: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
}
.footer-contact a {
  color: #fff;
  font-weight: 700;
}
.footer-contact a:hover {
  color: #009688;
}

/* --- TEXT SECTION / UTILS --- */
.text-section {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul, .text-section ol {
  margin-left: 17px;
  margin-bottom: 8px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 6px;
  font-size: 1rem;
}

/* --- RESPONSIVE DESIGN (Mobile-First) --- */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
  .footer-brand img {
    height: 32px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 15px;
    margin-left: 20px;
  }
}
@media (max-width: 850px) {
  .feature-grid {
    gap: 20px;
  }
  .service-list {
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-list > div {
    min-width: 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
  .testimonials {
    padding: 38px 0 22px 0;
  }
  .footer-brand img {
    height: 26px;
  }
  .footer-nav {
    font-size: 0.97rem;
    gap: 12px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .footer-brand img {
    height: 19px;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 100%;
    font-size: 1rem;
    padding: 14px;
  }
  .faq-item {
    padding: 14px 8px 12px 10px;
    font-size: 0.97rem;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 3vw;
  }
  .mobile-nav nav {
    margin: 12px 10px 0 10px;
    width: 92vw;
  }
}
@media (max-width: 480px) {
  .main-nav {
    padding: 0 8px;
    height: 54px;
  }
  .feature-grid > div, .service-list > div {
    padding: 13px 8px 10px 12px;
    min-width: 0;
  }
  .hero {
    padding: 36px 0 22px 0;
  }
  .footer-brand img {
    height: 18px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
}

/* --- VISUALS (creative artistic accents) --- */
.section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 14px 0 rgba(33,57,91,0.05);
}
.section:nth-child(even) {
  background: #e8fef7;
}

/* --- BUTTONS, HOVERS, MICRO-INTERACTIONS --- */
button, .cta-btn {
  transition: background 0.18s, color 0.15s, transform 0.2s, box-shadow 0.15s;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}
button:focus, .cta-btn:focus {
  outline: 2px solid #009688;
  outline-offset: 2px;
}

/* --- SCROLLBAR STYLES (chrome + edge) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F7FA;
}
::-webkit-scrollbar-thumb {
  background: #e1f5fb;
  border-radius: 6px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: #21395B;
  box-shadow: 0 -2px 24px rgba(33,57,91,0.11);
  z-index: 9000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 12vw 16px 12vw;
  font-size: 1rem;
  border-top: 4px solid #009688;
  transition: transform 0.28s cubic-bezier(.73,.09,.21,1.21), opacity 0.20s;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  border: none;
  margin-left: 8px;
  margin-right: 4px;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(33,57,91,0.09);
  transition: background 0.16s, color 0.12s, box-shadow 0.18s;
}
.cookie-banner .cookie-accept {
  background: #009688;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #21395B;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #009688;
  border: 2px solid #009688;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #fdeaea;
  color: #21395B;
}
.cookie-banner .cookie-settings {
  background: #21395B;
  color: #fff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fff;
  color: #21395B;
  border: 2px solid #21395B;
}
@media (max-width: 900px) {
  .cookie-banner {
    padding: 14px 4vw 14px 4vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41, 55, 65, 0.42);
  align-items: center; justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: cookieModalFade 0.38s cubic-bezier(.73,.09,.21,1.2) both;
}
@keyframes cookieModalFade {
  0% { opacity: 0; transform: scale(0.95); }
  90% { opacity: 1; transform: scale(1.01); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-content {
  background: #fff;
  padding: 38px 24px 20px 24px;
  border-radius: 17px;
  box-shadow: 0 8px 38px 0 rgba(33,57,91,.18);
  min-width: 340px;
  max-width: 98vw;
  margin: 8vw auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #009688;
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.42rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-left: 6px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #009688;
  width: 22px;
  height: 22px;
}
.cookie-category.essential label {
  color: #21395B;
  font-weight: 700;
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-modal-footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: #009688;
  color: #fff;
  border-radius: 18px;
  border: none;
  font-size: 1.32rem;
  width: 36px; height: 36px;
  position: absolute;
  right: 18px; top: 11px;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #d63447;
}
@media (max-width: 650px) {
  .cookie-modal-content {
    min-width: 88vw;
    padding: 16px 5vw 10px 5vw;
  }
}

/* --- ARTISTIC HIERARCHY & ACCENT SHAPES --- */
.hero::before,
.hero::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100vw;
  z-index: 0;
}
.hero::before {
  background: #00968822;
  width: 370px;
  height: 180px;
  top: 26px;
  left: -80px;
}
.hero::after {
  background: #00968817;
  width: 120px;
  height: 120px;
  top: 80px;
  right: 18vw;
}
@media (max-width: 900px) {
  .hero::before {
    width: 194px; height: 88px;
    left: -28px; top: 16px;
  }
  .hero::after {
    width: 70px; height: 70px;
    right: 2vw; top: 38px;
  }
}

/* --- SEPARATOR ACCENTS --- */
.section:not(:first-child) {
  margin-top: 24px;
}
hr {
  border: none;
  border-top: 2.5px dashed #00968844;
  margin: 22px 0;
  height: 0;
}

/* --- Miscellaneous / Accessibility --- */
:focus-visible {
  outline: 2px solid #009688;
  outline-offset: 2px;
}
::-moz-focus-inner {
  border: 0;
}

/* --- Print --- */
@media print {
  header, footer, .main-nav, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff !important; }
}
