/* -----------------------------------------
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #233D4D;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 8px 16px;
  text-align: left;
}
strong { font-weight: bold; }
em { font-style: italic; }
/* -----------------------------------------
   CUSTOM FONT LOADING
----------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFFFFF;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233D4D;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 20px;
}

h1 { font-size: 2.5rem; margin-top: 12px; }
h2 { font-size: 2rem; margin-top: 20px; }
h3 { font-size: 1.2rem; margin-top: 16px; }
h4 { font-size: 1.1rem; margin-top: 14px; }

p, ul, ol, table, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #233D4D;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* -----------------------------------------
   STRUCTURE & LAYOUT
----------------------------------------- */
.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 32px 0;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.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: 16px;
  box-shadow: 0 3px 16px rgba(35,61,77,0.08), 0 1.5px 6px rgba(35,61,77,0.10);
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 360px;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,61,77,0.14), 0 2.5px 8px rgba(60,174,163,0.12);
  transform: translateY(-4px) scale(1.012);
}
.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #F4D35E;
  color: #233D4D;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,61,77, 0.08);
  font-size: 1.08rem;
  flex-direction: column;
  max-width: 640px;
}
.testimonial-card p {
  color: #233D4D;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-card strong {
  color: #233D4D;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(60,174,163,0.07);
  padding: 30px 22px 24px 22px;
  min-width: 190px;
  max-width: 265px;
  flex: 1 1 190px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 5px solid #3CAEA3;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-grid li img {
  height: 38px;
  width: 38px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 32px rgba(60,174,163, 0.15);
  transform: translateY(-4px) scale(1.02) skewY(-1.5deg);
}

/* -----------------------------------------
   NAVIGATION
----------------------------------------- */
header {
  width: 100vw;
  background: #233D4D;
  box-shadow: 0 2px 8px rgba(35,61,77, 0.04);
  position: relative;
  min-height: 56px;
  z-index: 1100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  height: 68px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #FFFFFF;
  padding: 6px 11px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4D35E;
  color: #233D4D;
}
.main-nav img {
  width: 131px;
  height: 36px;
  display: block;
  margin-right: 12px;
  margin-left: 0;
}
.cta-primary {
  background: #3CAEA3;
  color: #fff!important;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(60,174,163, 0.12);
  padding: 10px 26px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.18s, color 0.14s, box-shadow 0.19s, transform 0.13s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #359C92;
  color: #F4D35E!important;
  transform: translateY(-2px) scale(1.022);
  box-shadow: 0 4px 18px rgba(60,174,163, 0.20);
}

/* Burger (Mobile Menu) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 2.1rem;
  color: #F4D35E;
  padding: 6px 10px;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 1110;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #233D4D;
  color: #3CAEA3;
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #233D4D;
  z-index: 2000;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.85,-0.01,.33,1.05);
  box-shadow: 0 10px 40px 0 rgba(0,0,0,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #F4D35E;
  border: none;
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2100;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 70px;
  gap: 18px;
  width: 100vw;
  padding-left: 32px;
  padding-top: 16px;
}
.mobile-nav a {
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F4D35E;
  padding: 12px 0 12px 8px;
  border-radius: 8px;
  transition: background 0.17s, color 0.15s;
  width: 80vw;
  max-width: 440px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3CAEA3;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 13px;
    padding-right: 8px;
    padding-left: 8px;
    height: 54px;
  }
  .main-nav img {
    width: 104px;
    height: 29px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    height: 44px;
  }
}
@media (max-width: 768px) {
  header {
    min-height: 40px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* -----------------------------------------
   HERO, CTA, BLOCKQUOTE
----------------------------------------- */
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  line-height: 1.4;
  font-style: italic;
  background: #3CAEA3;
  color: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 22px;
  box-shadow: 0 5px 22px rgba(35,61,77,0.08);
  border-left: 5px solid #F4D35E;
}

@media (max-width: 560px) {
  blockquote {
    font-size: 1rem;
    padding: 15px 11px;
  }
}

/* -----------------------------------------
   TABLES
----------------------------------------- */
table caption {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  color: #233D4D;
  margin-bottom: 9px;
}
table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(35,61,77,0.10);
  margin-bottom: 28px;
  margin-top: 6px;
}
th {
  background: #F4D35E;
  color: #233D4D;
  font-weight: 600;
}
td {
  border-bottom: 1px solid #EAEAEA;
}
tr:last-child td {
  border-bottom: none;
}

/* -----------------------------------------
   LISTS & LINKS
----------------------------------------- */
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
  font-size: 1rem;
}
ul li, ol li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 15px;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #3CAEA3;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 7px;
}
a {
  color: #3CAEA3;
  text-underline-offset: 3px;
  transition: color 0.13s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #233D4D;
  text-decoration: underline;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
footer {
  background: #233D4D;
  color: #fff;
  padding: 44px 0 30px 0;
  margin-top: 64px;
}
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #F4D35E;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.17s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #3CAEA3;
  color: #fff;
}
.footer-address {
  text-align: center;
  color: #F4D35E;
  font-size: 0.98rem;
  margin-bottom: 10px;
  word-break: break-all;
}
.footer-address a {
  color: #fff;
  font-weight: 600;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.footer-logo img {
  width: 70px;
  height: 70px;
}
@media (max-width:768px) {
  footer {
    padding: 28px 0 15px 0;
    margin-top: 40px;
  }
  .footer-logo img {
    width: 52px;
    height: 52px;
  }
}

/* -----------------------------------------
   BUTTONS, FORMS & INTERACTIVE
----------------------------------------- */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}
button:active, .cta-primary:active {
  filter: brightness(0.94);
}

button:focus-visible {
  outline: 2px dashed #F4D35E;
  outline-offset: 3px;
}

/* -----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .content-grid, .card-container, .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 20px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature-grid li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100vw;
  }
}

/* -----------------------------------------
   GEOMETRIC / STRUCTURED ACCENTS
----------------------------------------- */
section {
  position: relative;
}
section::after {
  content: '';
  display: block;
  position: absolute;
  top: 18px;
  right: -12px;
  width: 56px;
  height: 56px;
  background: rgba(60,174,163,0.09);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 0;
  pointer-events: none;
}
section:nth-child(2n)::after {
  left: -18px;
  top: auto;
  bottom: 18px;
  right: auto;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: rgba(244,211,94, 0.13);
}
@media (max-width: 768px) {
  section::after {
    width: 32px;
    height: 32px;
    right: -6px;
    top: 8px;
  }
}

/* -----------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #233D4D;
  color: #fff;
  z-index: 4000;
  box-shadow: 0 -2px 16px rgba(35,61,77,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 8px 20px 8px;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 16px;
  animation: slideBanner 0.55s cubic-bezier(.62,.01,.42,1.04);
}
@keyframes slideBanner {
  0% { transform: translateY(70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #3CAEA3;
  color: #FFF;
  border: none;
  padding: 9px 21px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 2px;
  transition: all 0.12s;
  cursor: pointer;
  outline: none;
}
.cookie-banner button.reject {
  background: #F4D35E;
  color: #233D4D;
}
.cookie-banner button.settings {
  background: #fff;
  color: #233D4D;
  border: 1.5px solid #3CAEA3;
}
.cookie-banner button:hover, 
.cookie-banner button:focus {
  filter: brightness(0.97) drop-shadow(0 1.5px 9px #3CAEA3);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  background: rgba(35,61,77,0.56);
  position: fixed;
  z-index: 4200;
  left: 0; right: 0; top: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.17s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #233D4D;
  border-radius: 22px;
  box-shadow: 0 4px 40px rgba(35,61,77,0.19);
  padding: 38px 26px 32px 26px;
  max-width: 428px;
  min-width: 220px;
  width: 93vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  animation: slideUpModal 0.33s cubic-bezier(.38,.14,.46,1.12);
}
@keyframes slideUpModal {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #233D4D;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}
.cookie-category .switch {
  width: 38px;
  height: 20px;
  background: #EAEAEA;
  border-radius: 12px;
  position: relative;
  margin-left: auto;
  transition: background .19s;
  cursor: pointer;
}
.cookie-category .switch[aria-checked="true"] {
  background: #3CAEA3;
}
.switch .slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 100%;
  transition: left 0.16s;
}
.switch[aria-checked="true"] .slider {
  left: 20px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.6rem;
  color: #233D4D;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  outline: none;
}
.cookie-modal .modal-close:hover {
  color: #3CAEA3;
}
.cookie-modal .modal-actions {
  margin-top: 7px;
  display: flex;
  gap: 12px;
}
.cookie-modal .modal-actions button {
  padding: 9px 17px;
  border-radius: 10px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  background: #3CAEA3;
  color: #fff;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-actions button.reject {
  background: #F4D35E;
  color: #233D4D;
}
.cookie-modal .modal-actions button:focus, .cookie-modal .modal-actions button:hover {
  filter: brightness(0.95);
}

/* -----------------------------------------
   TRANSITIONS & MICRO-INTERACTIONS
----------------------------------------- */
.card, .cta-primary, .feature-grid li, .mobile-menu, .main-nav a, .testimonial-card, .footer-menu a, .cookie-banner button, .cookie-modal, .mobile-nav a {
  transition-property: box-shadow, background, color, transform, filter;
  transition-duration: .18s;
}

/* -----------------------------------------
   ACCESSIBILITY
----------------------------------------- */
:focus-visible {
  outline: 2px solid #3CAEA3;
  outline-offset: 2px;
}

/* -----------------------------------------
   UTILITIES + SPACING HIERARCHY
----------------------------------------- */
.mb-20 { margin-bottom: 20px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mt-24 { margin-top: 24px!important; }
.mt-16 { margin-top: 16px!important; }
.pb-32 { padding-bottom: 32px!important; }
.pt-24 { padding-top: 24px!important; }

/* Ensure no element overlaps on all screens */
.card, .feature-grid li, .testimonial-card {
  margin-bottom: 20px;
}

/* Style strong and em in testimonials for contrast */
.testimonial-card strong, .testimonial-card em {
  color: #233D4D;
  background: none;
  padding: 0;
}

/* Hide elements for accessibility */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
