/* === RESET & BASE STYLES === */
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, menu, 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,
main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f8fafc;
  color: #202840;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #185F5D;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #0d3432;
  text-decoration: underline;
}
ul, ol {
  list-style: disc inside;
  margin-left: 18px;
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* ==== TYPOGRAPHY HIERARCHY ====*/
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #185F5D;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #185F5D;
  margin-bottom: 14px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #235154;
  margin-bottom: 8px;
}
p, li, th, td, label {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
}
p {
  color: #212c35;
  margin-bottom: 12px;
}

.table {
  width: 100%;
  font-size: 1rem;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(31,76,85,0.07);
}
table {
  width: 100%;
  font-size: 1rem;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}
thead th {
  background: #f0f3f8;
  color: #185F5D;
  font-weight: 600;
  padding: 13px 10px;
  text-align: left;
}
tbody td {
  padding: 13px 10px;
  border-bottom: 1px solid #eaeaea;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* ==== LAYOUT CONTAINERS (FLEXBOX ONLY) ====*/
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === SECTIONS / PADDING / SPACING === */
section {
  width: 100%;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(31,76,85,0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(24,95,93,0.12);
  transform: translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f5f7fa;
  border-left: 4px solid #185F5D;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 2px 9px rgba(31,76,85,0.04);
  color: #202840;
}
.testimonial-card strong {
  color: #185F5D;
  font-size: 1.05em;
  font-weight: 600;
}
.testimonial-card div {
  color: #F9C846;
  font-size: 1.2em;
  letter-spacing: 3px;
  line-height: 1.2;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, #f6fafc 85%, #e8eff3 100%);
  padding: 50px 0 38px 0;
  margin-bottom: 14px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 19px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #185F5D;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.15rem;
  color: #393e49;
  margin-bottom: 8px;
  max-width: 670px;
}

/* === BUTTONS & CTAs === */
.cta {
  display: inline-block;
  padding: 12px 28px;
  background: #185F5D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(24,95,93,0.05);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  outline: none;
  text-align: center;
}
.cta.primary {
  background: #185F5D;
  color: #fff;
}
.cta.secondary {
  background: #F9C846;
  color: #185F5D;
}
.cta:hover, .cta:focus {
  background: #11706b;
  box-shadow: 0 4px 16px rgba(10,42,54,0.11);
  transform: translateY(-1px) scale(1.04);
  color: #fff;
}

/* ===== NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 1px solid #e7eced;
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 10px 20px;
  justify-content: flex-start;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #185F5D;
  background: none;
  padding: 7px 15px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #ecf1f2;
  color: #0d3432;
}
.main-nav img {
  max-height: 40px;
  margin-right: 14px;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #185F5D;
  border: none;
  font-size: 2rem;
  padding: 7px 12px;
  margin-left: auto;
  border-radius: 7px;
  transition: background 0.2s;
  z-index: 101;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ecf1f2;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #185F5D;
  z-index: 200;
  transition: transform 0.38s cubic-bezier(0.48,0.07,0.77,1.21);
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 205;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 70px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 11px 26px;
  border-radius: 9px;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s;
  min-width: 170px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9C846;
  color: #185F5D;
}

/* === FOOTER === */
footer {
  background: #f6fafc;
  border-top: 1px solid #e7eced;
  margin-top: 46px;
  padding: 30px 0 12px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #185F5D;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #0d3432;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #4e6680;
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.footer-brand img {
  max-height: 30px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #f5f6f9;
  color: #185F5D;
  box-shadow: 0 -2px 16px rgba(31,76,85,0.08);
  border-top: 1px solid #e7eced;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px;
  font-family: 'Nunito', Arial, sans-serif;
  gap: 24px;
  animation: fadeInCookie 0.5s;
}
@keyframes fadeInCookie { from { opacity:0; transform: translateY(40px);} to { opacity:1; transform: translateY(0);} }
.cookie-banner-text {
  max-width: 580px;
  color: #223a46;
  font-size: 1rem;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
}
.cookie-banner-btns .cta,
.cookie-banner-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  padding: 10px 22px;
  min-width: 110px;
  cursor: pointer;
  transition: background 0.21s, color 0.21s, transform 0.11s;
}
.cookie-banner-btns .cta {
  background: #185F5D;
  color: #fff;
}
.cookie-banner-btns .cta:hover, .cookie-banner-btns .cta:focus {
  background: #11706b;
  color: #fff;
}
.cookie-banner-btns .cookie-reject-btn {
  background: #ecf1f2;
  color: #185F5D;
}
.cookie-banner-btns .cookie-reject-btn:hover, .cookie-banner-btns .cookie-reject-btn:focus {
  background: #dddde2;
  color: #11706b;
}
.cookie-banner-btns .cookie-settings-btn {
  background: transparent;
  color: #185F5D;
  border: 2px solid #185F5D;
  padding: 10px 18px;
}
.cookie-banner-btns .cookie-settings-btn:hover, .cookie-banner-btns .cookie-settings-btn:focus {
  border-color: #11706b;
  color: #11706b;
  background: #ecf1f2;
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom: 0;
  background: rgba(24,95,93,0.25);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 38px 30px 24px 30px;
  max-width: 460px;
  min-width: 240px;
  box-shadow: 0 6px 22px rgba(31,76,85,0.09);
  color: #202840;
  font-family: 'Nunito', Arial, sans-serif;
  animation: scaleInModal 0.34s;
  position: relative;
}
@keyframes scaleInModal { from { opacity:0; transform: scale(0.95);} to { opacity:1; transform: scale(1);} }
.cookie-modal-content h2 {
  margin-bottom: 14px;
  color: #185F5D;
}
.cookie-category {
  margin-bottom: 18px;
}
.cookie-category label {
  font-weight: 570;
  font-size: 1rem;
  color: #185F5D;
}
.cookie-category-toggle {
  margin-left: 12px;
  accent-color: #185F5D;
}
.cookie-category .essential {
  color: #999;
  font-size: 0.95em;
}

.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 8px; right: 16px;
  font-size: 1.7rem;
  color: #185F5D;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;height: 40px;
  display: flex;align-items: center;justify-content: center;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ecf1f2;
}
.cookie-modal-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
}

/* ======= MISC COMPONENTS ========= */
hr {
  border: 0;
  border-top: 1px solid #eaeaea;
  margin: 30px 0;
}
blockquote {
  font-style: italic;
  margin-left: 12px;
  color: #185F5D;
  border-left: 3px solid #F9C846;
  padding-left: 12px;
}

/* === SPACING HELPERS === */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pt-40 { padding-top: 40px !important; }

/* ======= RESPONSIVE DESIGN ========= */
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.21rem; }
  .main-nav {
    display: none;
  }
  .footer-brand { flex-direction: column; gap: 7px; }
  .section,
  section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .testimonial-card {
    padding: 16px 11px;
    gap: 13px;
  }
  .card-container, .content-grid {
    gap: 11px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero {
    padding: 27px 0 18px 0;
    margin-bottom: 4px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 1.27rem; }
  h2 { font-size: 1.07rem; }
  .footer-nav { gap: 14px; }
}
@media (max-width: 700px) {
  .content-wrapper,
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
}

/* === UTILITY CLASSES ==*/
.d-none { display: none !important; }

/* === Accessibility Focus Ring === */
a:focus, button:focus, input:focus, select:focus {
  outline: 2px solid #F9C846;
  outline-offset: 2px;
}

/* ======== PRINT STYLES ======== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #223a46; background: #fff; }
}

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Nunito:wght@400;600;700&display=swap');
