/*! 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.6;
  font-family: 'Arial', Helvetica, sans-serif;
  background: #F1EFE7;
  color: #233750;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #58A7BB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #233750;
  text-decoration: underline;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #233750;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
ul, ol {
  margin-left: 1.25rem;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
}
dt {
  font-weight: bold;
  margin-top: 12px;
}
dd {
  margin-left: 0;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* Layout Patterns (Flex ONLY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 4px 20px rgba(88, 167, 187, 0.13);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(35, 55, 80, 0.23);
  transform: translateY(-3px) 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-left: 6px solid #58A7BB;
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: 0 2px 12px rgba(88, 167, 187, 0.12);
  margin-bottom: 20px;
  font-size: 1.125rem;
}
.testimonial-card p {
  color: #2b3540;
  font-weight: 600;
}
.testimonial-card span {
  color: #233750;
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.85;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Core Site Layout */
header {
  background: #fff;
  box-shadow: 0 3px 14px rgba(35,55,80,0.06);
  padding: 0px 0 0px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 0 #58A7BB22);
}
/* Main nav */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 6px 10px;
  letter-spacing: 0.03em;
  border-radius: 7px;
  color: #233750;
  position: relative;
  transition: background 0.14s, color 0.14s;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #58A7BB;
  color: #fff;
}

.cta-button {
  display: inline-block;
  background: #58A7BB;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.10rem;
  padding: 13px 30px;
  border-radius: 32px;
  transition: background 0.19s, color 0.19s, box-shadow 0.15s, transform 0.09s;
  box-shadow: 0 4px 18px rgba(88, 167, 187, 0.11);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  letter-spacing: 0.03em;
}
.cta-button:hover, .cta-button:focus {
  background: #233750;
  color: #F1EFE7 !important;
  box-shadow: 0 4px 25px 3px #23375018;
  transform: scale(1.04);
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #58A7BB;
  padding: 8px 10px;
  border-radius: 12px;
  margin-left: 21px;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F1EFE7;
  color: #233750;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #233750;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.44,.05,.28,1.06);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 6px 0 26px rgba(35,55,80,0.21);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F1EFE7;
  align-self: flex-end;
  padding: 18px 28px 8px 0px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #58A7BB44;
  color: #58A7BB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 20px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid #58A7BB44;
  transition: color 0.15s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #58A7BB;
}

main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* HERO SECTION */
.hero {
  background: #233750;
  color: #fff;
  padding: 60px 0 60px 0;
  position: relative;
  min-height: 350px;
  width: 100%;
  display: flex;
  align-items: center;
  /* Decorative spark vibe, energetic */
  overflow: hidden;
}
.hero .container { justify-content: center; }
.hero .content-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.hero h1 {
  color: #fff;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  text-shadow: 0 4px 28px #58A7BB45;
}
.hero p {
  color: #F1EFE7;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0;
}
.hero .cta-button {
  margin: 0 auto;
  font-size: 1.18rem;
  background: #58A7BB;
  color: #fff;
  box-shadow: 0 8px 32px #58A7BB22;
}
.hero .cta-button:hover,
.hero .cta-button:focus {
  background: #fff;
  color: #58A7BB !important;
  box-shadow: 0 2px 16px #fff38;
}

/* FEATURES SECTION */
.features {
  background: #fff;
  width: 100%;
  margin-bottom: 60px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features h2 {
  color: #233750;
  font-weight: 900;
  font-size: 2rem;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  list-style: none;
  margin: 32px 0 24px 0;
  padding: 0;
}
.features ul li {
  background: #F1EFE7;
  border-radius: 18px;
  box-shadow: 0 2px 12px #58A7BB18;
  padding: 28px 32px;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 20px;
}
.features ul li img {
  margin-bottom: 13px;
  height: 62px;
  width: auto;
}
.features ul li strong {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233750;
}
.features ul li:hover, .features ul li:focus-within {
  box-shadow: 0 6px 28px #58A7BB40;
  transform: scale(1.03);
}
.features .feature-icons {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
}
.features .feature-icons span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: bold;
  background: #58A7BB;
  color: #fff;
  border-radius: 14px;
  font-size: 1rem;
  padding: 8px 14px;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 6px #58A7BB33;
}
.features .feature-icons img {
  height: 22px;
  width: auto;
}

/* SERVICES Section */
.services {
  background: #F1EFE7;
  margin-bottom: 60px;
  width: 100%;
}
.services .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services ul {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 28px 0 0 0;
  padding: 0;
}
.services ul li {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 12px #58A7BB11;
  padding: 26px 26px 17px 26px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 210px;
  color: #233750;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.services ul li h3 {
  font-size: 1.22rem;
  color: #58A7BB;
  margin-bottom: 2px;
}
.services ul li p {
  font-size: 1rem;
}
.services ul li a {
  color: #58A7BB;
  font-weight: bold;
  margin-left: 7px;
  font-size: 0.99rem;
  transition: color 0.14s;
}
.services ul li a:hover {
  color: #233750;
}
.services ul li:hover{
  box-shadow: 0 6px 28px #58A7BB30;
  transform: scale(1.02);
}

/* CONTACT BOX */
.contact-box {
  background: #233750;
  color: #fff;
  margin-bottom: 0px;
}
.contact-box .content-wrapper {
  align-items: flex-start;
}
.contact-box h2 {
  color: #F1EFE7;
}
.contact-box ul {
  display: flex;
  flex-direction: row;
  gap: 48px;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 0;
  justify-content: flex-start;
}
.contact-box ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  padding: 9px 0;
  background: none;
  color: #F1EFE7;
}
.contact-box ul li img {
  height: 26px;
  width: auto;
}

/* Text section utility */
.text-section {
  background: #fff;
  border-radius: 18px;
  padding: 38px 28px;
  box-shadow: 0 2px 12px #23375017;
  margin-bottom: 28px;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 10px;
  list-style: disc inside;
}
.text-section ul li {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 1rem;
}
.text-section h2 {
  margin-top: 0;
  color: #233750;
}
.text-section h1 {
  margin-top: 0;
}

/* FAQ Block */
dl { margin-bottom: 18px; }
dt {
  color: #58A7BB;
  font-size: 1.08rem;
}
dd {
  color: #233750;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #233750;
  color: #F1EFE7;
  padding: 38px 0 18px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-right: 24px;
}
.footer-branding img {
  height: 39px;
}
.footer-branding span {
  font-size: 1rem;
  color: #F1EFE7BB;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 200px;
  margin: 0 28px;
}
.footer-nav a {
  color: #58A7BB;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F1EFE7;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
  color: #F1EFE7C0;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.footer-contact img {
  height: 16px;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 300;
  background: #fff;
  color: #233750;
  box-shadow: 0 -4px 26px #23375030;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-size: 1rem;
  animation: bannerSlideIn 0.7s cubic-bezier(.4,1.9,.5,1.01);
}
@keyframes bannerSlideIn {
  from {transform: translateY(100%);}
  to {transform: translateY(0);}
}
.cookie-banner-message {
  flex: 1 1 0;
  line-height: 1.4;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: #58A7BB;
  color: #fff;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  margin-left: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #233750;
  color: #fff;
  box-shadow: 0 2px 10px #23375012;
}
.cookie-btn.settings {
  background: #fff;
  border: 1.5px solid #58A7BB;
  color: #58A7BB;
}
.cookie-btn.settings:hover {
  background: #58A7BB;
  color: #fff;
}
.cookie-btn.reject {
  background: #233750;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #233750;
  border: 1.5px solid #233750;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 301;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 55, 80, 0.44);
  justify-content: center;
  align-items: center;
  animation: cookieFadeIn 0.17s;
}
.cookie-modal.open { display: flex !important; }
@keyframes cookieFadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal-box {
  background: #fff;
  padding: 36px 26px 28px 26px;
  border-radius: 20px;
  box-shadow: 0 8px 38px #23375080;
  min-width: 330px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: modalPopIn 0.36s cubic-bezier(.54,.04,.28,1.06);
}
@keyframes modalPopIn {
  from {transform: scale(0.93) translateY(24px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
}
.cookie-modal-header h2 {
  color: #233750;
  font-size: 1.24rem;
  margin: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #233750;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 2px 6px;
  align-self: flex-start;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-category input[type="checkbox"] {
  accent-color: #58A7BB;
  width: 20px;
  height: 20px;
}
.cookie-category-label {
  font-size: 1.08rem;
  color: #233750;
  font-weight: 600;
}
.cookie-category-desc {
  font-size: 0.97rem;
  color: #536689;
}
.cookie-category-essential {
  opacity: 0.6;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}


/* Micro-interactions & Effects */
button, .cta-button {
  transition: background 0.18s, color 0.14s, box-shadow 0.16s, transform 0.18s;
}
.card, .testimonial-card, .services ul li, .features ul li {
  transition: box-shadow 0.22s, transform 0.13s;
}

/* Responsive */
@media (max-width: 1100px) {
  .features ul, .services ul, .contact-box ul {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-branding {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .footer-nav {
    margin: 0 8px;
  }
  .footer-contact {
    margin-top: 20px;
  }
  footer .container {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 10px;
  }
  .card, .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
  }
  .section, .text-section, .content-wrapper {
    padding: 28px 9vw !important;
  }
  .contact-box .content-wrapper {
    padding: 28px 12px !important;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  header .container {
    flex-direction: row;
    height: 62px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 40px 0;
    min-height: 210px;
  }
  .cta-button {
    font-size: 0.98rem;
    padding: 11px 15px;
    margin-left: 8px;
  }
  .features ul, .services ul {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features ul li, .services ul li {
    min-width: 0;
    max-width: 100vw;
    margin-bottom: 12px;
    padding: 22px 10px;
  }
  .feature-icons {
    gap: 8px !important;
  }
  .features .feature-icons span {
    font-size: 0.93rem;
    padding: 6px 13px;
  }
  .contact-box ul {
    flex-direction: column;
    gap: 10px;
  }
  .footer-branding img {
    height: 28px;
  }
  .footer-nav {
    min-width: unset;
    margin: 0;
    gap: 7px;
  }
  .footer-contact {
    font-size: 0.88rem;
  }
  .card, .testimonial-card, .text-section {
    padding: 20px 10px;
    min-width: 0;
    max-width: 100vw;
  }
  .cookie-modal-box {
    padding: 23px 8px 14px 10px;
    min-width: 96vw;
    max-width: 99vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}
@media (max-width: 520px) {
  .container { padding: 0 2vw; }
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1rem; }
  .section, .content-wrapper, .text-section {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .hero {
    padding-top: 15px;
    padding-bottom: 10px;
    min-height: 110px;
  }
  .cookie-banner {
    padding: 10px 6px;
    flex-direction: column;
    gap: 10px;
    font-size: 0.96rem;
  }
  .cookie-modal-box {
    padding: 13px 5px 7px 6px;
  }
}

/* Colorful energetic elements */
.cta-button, .feature-icons span, .cookie-btn, .services ul li h3 {
  /* Give energetic box-shadows */
  box-shadow: 0 3px 17px #58A7BB22, 0 1.5px 4px #F1EFE744;
}

/* Focus states for accessibility */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2.5px solid #58A7BB;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 10px;
  background: #F1EFE7;
}
::-webkit-scrollbar-thumb {
  background: #58A7BB44;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #58A7BB;
}

/* Utility */
.hidden { display: none !important; }

/* Micro-animation for card hover */
.card:hover, .services ul li:hover, .features ul li:hover {
  transform: translateY(-2px) scale(1.015);
}

/* Section spacing utility */
section:not(:last-of-type) {
  margin-bottom: 60px;
}

/* Extra: visually energetic line under headings */
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  border-radius: 8px;
  background: #58A7BB;
  margin-top: 8px;
  margin-bottom: 0;
}

/***** FLEXBOX ONLY! (NO grid, columns, columns-*, break-inside etc.) ****/
