/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F8F8;
  color: #152F43;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.015em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #25A18E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #152F43;
  outline: none;
}
ul, ol {
  padding-left: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.16;
  color: #152F43;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #D4DDE5;
  padding: 12px 16px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #E9F1F6;
  font-weight: 700;
}

/* --- CONTAINER & GENERAL STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(21,47,67,0.08);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- CARD & FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .services-list > div {
  background: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(21,47,67,0.06);
  padding: 32px 20px 24px 20px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .services-list > div:hover {
  box-shadow: 0 4px 22px 0 rgba(37,161,142,0.12);
  transform: translateY(-6px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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: 16px;
  padding: 20px;
  background: #E9F1F6;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(21,47,67,0.06);
  max-width: 540px;
  color: #152F43;
}
.testimonial-card strong {
  color: #25A18E;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.services-list > div {
  min-width: 220px;
  flex: 1 1 220px;
}

/* --- BUTTONS & CTA --- */
.cta-btn, .cookie-btn, .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: #25A18E;
  border: none;
  padding: 14px 32px;
  border-radius: 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,161,142,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus, .cookie-banner button:hover, .cookie-modal button:hover {
  background: #152F43;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(21,47,67,0.13);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
.cookie-btn.reject {
  background: #a4b0bb;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #25A18E;
  border: 1.5px solid #25A18E;
}
.cookie-btn.settings:hover {
  background: #25A18E;
  color: #fff;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(21,47,67,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 38px;
  justify-content: space-between;
  padding: 12px 0;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
}
nav ul li a {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  color: #152F43;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #E9F1F6;
  color: #25A18E;
}
nav > a img, .footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #25A18E;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 103;
  box-shadow: 0 1px 4px rgba(21,47,67,0.08);
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #152F43;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  background: #fff;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  box-shadow: -8px 0 32px 0 rgba(21,47,67,0.17);
  z-index: 102;
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(0.43,0.21,0.23,0.91);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #25A18E;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #152F43;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 40px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.12rem;
  color: #152F43;
  font-weight: 500;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  transition: background 0.14s, color 0.14s;
  background: none;
  border-radius: 10px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8F8F8;
  color: #25A18E;
}
@media (max-width: 1023px) {
  nav ul, nav .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MAIN & PAGE SECTIONS --- */
main {
  min-height: 50vh;
  margin-top: 16px;
  margin-bottom: 24px;
}
.services-list > div h3 {
  color: #152F43;
  margin-bottom: 8px;
  font-size: 1.14rem;
}
.services-list > div span {
  color: #25A18E;
  font-size: 1.08rem;
  font-weight: 700;
  display: block;
  margin-top: 8px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.membership-options, .package-descriptions {
  background: #F8F8F8;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 18px;
}
.confirmation-info {
  background: #E9F1F6;
  padding: 12px 18px;
  border-radius: 7px;
  margin-bottom: 16px;
}
/* Contact details formatting */
.contact-details p {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* --- FOOTER --- */
footer {
  background: #152F43;
  color: #fff;
  padding: 44px 0 24px 0;
  margin-top: 36px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.footer-logo img {
  height: 48px;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li a {
  color: #25A18E;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.17s;
}
footer ul li a:hover, footer ul li a:focus {
  color: #fff;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 1rem;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin: 16px 0 0 0;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0%) brightness(110%) saturate(0.5) drop-shadow(0 1px 4px #0001);
  transition: filter 0.16s;
}
.footer-social a:hover img {
  filter: grayscale(0%) brightness(90%) saturate(1.3);
}
.legal-disclaimer {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.82;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #152F43;
  color: #fff;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -2px 16px rgba(21,47,67,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 1100;
  font-size: 1.05rem;
  animation: slideUp 0.45s cubic-bezier(0.42,0,0.23,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  margin: 0 6px;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 32px;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top:0; left:0; width: 100vw; height:100vh;
  background: rgba(21,47,67,0.35);
  z-index: 2000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  color: #152F43;
  border-radius: 14px;
  max-width: 430px;
  width: 97vw;
  padding: 32px 24px 20px 24px;
  box-shadow: 0 8px 48px rgba(21,47,67,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadePopup 0.45s cubic-bezier(0.42,0,0.23,1);
}
@keyframes fadePopup {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: 'Montserrat',sans-serif;
}
.cookie-modal .cookie-category {
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: #a4b0bb;
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #25A18E;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  left: 3px;
  top: 4px;
  background: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #25A18E;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #152F43;
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 1167px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .footer-info {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 8px;
  }
  nav { gap: 14px; }
  .services-list {
    flex-direction: column;
    gap: 18px;
  }
  .card, .services-list > div {
    width: 100%;
    min-width: 0;
    padding: 22px 14px 18px 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px 8px;
  }
  .footer-info, .footer-social, .footer-logo, .legal-disclaimer, footer ul {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .section { padding: 22px 4px; }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 640px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-info {
    gap: 12px;
  }
}

/* --- ADDITIONAL MICRO-INTERACTIONS --- */
.cta-btn, .cookie-btn {
  transition: box-shadow 0.18s, background 0.19s, transform 0.18s;
}
.cta-btn:active {
  transform: scale(0.96);
}

/* --- VISUAL SEPARATORS --- */
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #25A18E;
  outline-offset: 2px;
}

/* --- OVERRIDE FOR HIDDEN --- */
[hidden], .cookie-modal-overlay[aria-hidden='true'] {
  display: none !important;
}

/* --- END --- */
