/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #f9fafb;
  color: #233347;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #55B4B0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #233347;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #233347;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p { margin-bottom: 14px; }

/* UTILITY */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* GRADIENT MODERN BACKGROUNDS */
.hero {
  background: linear-gradient(135deg, #E9E5D6 0%, #55B4B0 100%);
  color: #233347;
  padding: 60px 0 40px 0;
  margin-bottom: 0;
}
.features,
.services,
.cta,
section {
  background: #fff;
}
.cta {
  background: linear-gradient(135deg, #55B4B0 0%, #E9E5D6 100%);
  color: #233347;
}

/* SECTIONS & SPACING - apply required spacing patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(35, 51, 71, 0.07);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(85,180,176,0.18);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f4f8f7;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35, 51, 71, 0.08);
  color: #233347;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(85, 180, 176, 0.09);
  padding: 20px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 4px 24px rgba(85,180,176,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* TEAM GRID (flexbox only, no grid) */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-grid .feature-item {
  flex: 1 1 200px;
}

/* FEATURE GRID (flexbox only, no grid) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid .feature-item {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 360px;
}

/* NAVIGATION HEADER */
header {
  background: #233347;
  color: #fff;
  box-shadow: 0 1px 8px rgba(35,51,71,0.06);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 0;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E9E5D6;
  color: #233347;
  text-decoration: none;
}
.main-nav .cta-btn {
  background: #55B4B0;
  color: #fff;
  font-weight: bold;
  padding: 10px 22px;
  border-radius: 24px;
  margin-left: 16px;
  box-shadow: 0 2px 10px rgba(85,180,176,0.17);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #233347;
  color: #e9e5d6;
  box-shadow: 0 4px 24px rgba(35,51,71,0.09);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #55B4B0;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 8px 13px;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #233347;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #233347;
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 20px 30px 0 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #55B4B0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 40px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #55B4B0;
  color: #e9e5d6;
}

/* CTA BUTTONS */
.cta-btn,
.text-section .cta-btn {
  display: inline-block;
  background: #55B4B0;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  margin-top: 8px;
  box-shadow: 0 2px 16px rgba(85,180,176,0.16);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.12s;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #233347;
  color: #e9e5d6;
  box-shadow: 0 8px 30px rgba(35,51,71,0.17);
  transform: translateY(-3px) scale(1.04);
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
  opacity: 0.88;
}
.map-embed {
  margin-bottom: 22px;
}

/* FOOTER */
footer {
  background: #233347;
  color: #fff;
  padding: 36px 0 20px 0;
  font-size: 0.96rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  opacity: 0.93;
  transition: color 0.18s, opacity 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #55B4B0;
  opacity: 1;
}
.footer-info {
  color: #e9e5d6;
  text-align: center;
  margin-top: 6px;
}

/* TESTIMONIAL CARDS */
.testimonials .testimonial-card {
  background: #f9fafb;
  color: #233347;
  border-left: 5px solid #55B4B0;
  font-size: 1.12rem;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px rgba(85,180,176,0.09);
  position: relative;
}
.testimonial-card span {
  display: block;
  font-size: 1rem;
  color: #55B4B0;
  font-weight: 600;
  margin-left: 18px;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-style: italic;
}

/* LISTS */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* FOCUS STATES */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #55B4B0;
  outline-offset: 2px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .feature-item, .cta-btn {
  transition: box-shadow 0.2s, background 0.2s, transform 0.1s;
}

/* Z-INDEX LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 2000;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #233347;
  color: #fff;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -3px 34px rgba(85,180,176,0.13);
  font-size: 1rem;
  z-index: 3000;
  transition: transform 0.24s cubic-bezier(.83, .14, .13, .78);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 10px 20px;
  background: #55B4B0;
  border: none;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #E9E5D6;
  color: #233347;
}
.cookie-banner .cookie-settings-btn {
  background: #e9e5d6;
  color: #233347;
  border: 1px solid #55b4b0;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #55B4B0;
  color: #fff;
}

/* COOKIE MODAL (PREFERENCES) */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 51, 71, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3100;
}
.cookie-modal {
  background: #fff;
  color: #233347;
  border-radius: 18px;
  padding: 36px 34px 24px 34px;
  min-width: 330px;
  box-shadow: 0 2px 60px rgba(85,180,176,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 90vw;
  animation: modalIn 0.28s cubic-bezier(.83, .14, .13, .78);
}
@keyframes modalIn {
  0% { opacity: 0; transform: scale(0.97) translateY(20px); }
  80% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', sans-serif;
  color: #233347;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-weight: 600;
  font-size: 1.04rem;
  margin-left: 10px;
}
.cookie-modal .cookie-mod-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-mod-cat input[type="checkbox"] {
  accent-color: #55b4b0;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-cat-essential {
  opacity: 0.75;
  cursor: not-allowed;
  color: #55b4b0;
}
.cookie-modal .cookie-mod-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal button {
  background: #55B4B0;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  font-weight: bold;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-modal button.secondary {
  background: #e9e5d6;
  color: #233347;
  border: 1px solid #55b4b0;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #233347;
  color: #e9e5d6;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 930px) {
  .main-nav {
    gap: 10px;
    font-size: 0.96rem;
  }
}
@media (max-width: 900px) {
  .feature-grid, .team-grid, .card-container {
    justify-content: center;
  }
  .feature-grid .feature-item, .team-grid .feature-item {
    min-width: 180px;
    max-width: 94vw;
  }
}
@media (max-width: 820px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .feature-grid .feature-item, .team-grid .feature-item {
    min-width: 145px;
    padding: 14px 8px;
  }
  .contact-info p {
    font-size: 0.98rem;
  }
  .card {
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 12px 22px;
    font-size: 0.98rem;
  }
  .content-grid, .card-container, .feature-grid, .team-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .container {
    padding: 0 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 1rem;
    padding: 14px 8px;
  }
  .feature-grid .feature-item, .team-grid .feature-item {
    max-width: unset;
    min-width: 130px;
    width: 100%;
    padding: 10px 6px;
  }
  .footer-info {
    font-size: 0.92rem;
  }
  .cookie-modal {
    min-width: unset;
    padding: 24px 6px 16px 6px;
    width: 96vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  .header img {
    height: 35px;
  }
  .cookie-banner {
    font-size: 0.96rem;
    padding: 13px 8px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 11px;
  }
}

/* VISUAL HIERARCHY AND ACCENTS */
.feature-item h3, .feature-item p {
  margin-bottom: 0;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

/* ADDITIONAL ADJUSTMENTS FOR MODERN FEEL */
section, .features, .services {
  margin-bottom: 60px;
  padding: 40px 10px 36px 10px;
}
section:last-child, main > section:last-child, .cta:last-child {
  margin-bottom: 0;
}

/* Ensure No Content Elements Overlap: All margins at least 20px */
section,.section,.features,.services,.cta {
  margin-bottom: 60px !important;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}

/* Hide outline on mouse (show only on keyboard) */
:focus:not(:focus-visible) {
  outline: none !important;
}

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