/* === 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: #FFFFFF;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #16467D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #24A472;
}
ul, ol {
  padding-left: 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #16467D;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, .subheadline, li, dl, dd {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.165rem;
  color: #167753;
}
strong {
  font-weight: 700;
}

/* === LAYOUT CONTAINERS & GENERAL SPACING === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === MAIN NAVIGATION === */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #ECEFF1;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
  position: relative;
  z-index: 30;
  background: #FFFFFF;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo-link img {
  height: 40px;
  width: auto;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.navigation li {
  margin-bottom: 0;
}
.navigation a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #16467D;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.navigation a:hover,
.navigation a:focus {
  background: #ECEFF1;
  color: #24A472;
}
.cta-primary {
  background: #16467D;
  color: #FFFFFF !important;
  padding: 10px 26px;
  border-radius: 26px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.22s, color 0.18s;
  box-shadow: 0 2px 12px rgba(36,164,114,0.04);
  margin-left: 16px;
  text-align: center;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #24A472;
  color: #FFFFFF;
  box-shadow: 0 4px 24px rgba(22,71,125,0.06);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #16467D;
  cursor: pointer;
  margin-left: 20px;
  transition: color 0.18s;
  z-index: 35;
}
.mobile-menu-toggle:hover {
  color: #24A472;
}

/* === MOBILE NAVIGATION MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -8px 0 32px rgba(22,70,125,0.09);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.5,1,.5,1);
  display: flex;
  flex-direction: column;
  padding: 24px 22px 48px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #16467D;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #24A472;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #16467D;
  padding: 12px 0 10px 8px;
  border-radius: 5px;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #ECEFF1;
  color: #24A472;
}
@media (max-width: 1024px) {
  .navigation {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .navigation {
    gap: 12px;
  }
  .cta-primary {
    padding: 8px 18px;
    margin-left: 8px;
  }
  .logo-link img {
    height: 32px;
  }
}
@media (max-width: 768px) {
  .navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === HERO SECTIONS === */
.hero {
  display: flex;
  align-items: center;
  min-height: 320px;
  background: #F7FAFC;
  padding: 72px 0 32px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
}
.hero h1 {
  margin-bottom: 12px;
}
.hero .subheadline {
  margin-bottom: 28px;
}

/* === FEATURES, CARDS, CATEGORIES - FLEX ONLY === */
.features {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features .container {
  padding: 0 20px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-grid, .features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 16px;
  padding-left: 0;
}
.feature-grid li, .features ul li {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(22,70,125,0.06);
  padding: 28px 22px 22px 22px;
  flex: 1 1 275px;
  min-width: 270px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.21s;
}
.feature-grid li:hover, .features ul li:hover {
  box-shadow: 0 6px 32px rgba(36,164,114,0.09);
  transform: translateY(-4px) scale(1.016);
}
.feature-grid img, .features ul img {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
}
.features .content-wrapper.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.category-card {
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 2px 15px rgba(22, 70, 125, 0.06);
  padding: 28px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 230px;
  min-width: 215px;
  max-width: 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.category-card:hover {
  box-shadow: 0 8px 32px rgba(22,119,83,0.12);
  transform: translateY(-4px) scale(1.01);
}
.category-card img {
  width: 32px;
  height: 32px;
}

/* === SERVICES & LISTS === */
.services {
  margin-bottom: 60px;
  padding: 40px 0;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding-left: 0;
}
.service-list li {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(36,164,114,0.07);
  padding: 28px 20px;
  flex: 1 1 290px;
  min-width: 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.service-list li:hover {
  box-shadow: 0 7px 28px rgba(36,164,114,0.14);
  transform: translateY(-3px) scale(1.012);
}
.service-price {
  color: #167753;
  font-size: 0.96rem;
  margin-left: 8px;
  font-weight: 600;
}

/* --- Content Grids & Flex Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(22,70,125, 0.055);
  margin-bottom: 20px;
  padding: 22px 18px;
  position: relative;
  min-width: 230px;
  flex: 1 1 270px;
  transition: box-shadow 0.195s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(36,164,114,0.14);
  transform: 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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFFFFF;
  padding: 20px;
  border-radius: 11px;
  box-shadow: 0 2px 18px rgba(36,164,114,0.09);
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(22,70,125,0.15);
  transform: scale(1.008);
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.44;
}
.testimonial-person {
  color: #16467D;
  font-size: 0.96rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === ABOUT, LEGAL, CONTACT === */
.about-section, .contact-details-section, .legal-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 2px 18px rgba(22,70,125,0.05);
  padding: 32px 24px;
}
.trusted-team-overview {
  margin-top: 36px;
  background: #F7FAFC;
  border-radius: 10px;
  padding: 26px 24px 20px 24px;
  color: #222;
  box-shadow: 0 1px 8px rgba(22,70,125,0.06);
}
.contact-details dt {
  font-weight: bold;
  color: #16467D;
  margin-top: 18px;
}
.contact-details dd {
  margin-left: 0;
  margin-bottom: 10px;
}

/* === CTA SECTION (Call to Action) === */
.cta-section {
  padding: 60px 0 64px 0;
  background: #F7FAFC;
  text-align: center;
}
.cta-section .container {
  align-items: center;
}
.cta-section h2 {
  margin-bottom: 20px;
  color: #16467D;
  font-size: 2rem;
}
.cta-section p {
  margin-bottom: 22px;
}
.cta-section .cta-primary {
  font-size: 1.18rem;
  padding: 14px 38px;
}

/* === TIP CARDS & TABS === */
.categories-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.categories-tabs a {
  color: #16467D;
  background: #ECEFF1;
  border-radius: 21px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, color 0.16s;
}
.categories-tabs a:hover, .categories-tabs a:focus {
  background: #24A472;
  color: #FFF;
}

.tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.tip-card {
  flex: 1 1 300px;
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 2px 16px rgba(36,164,114,0.07);
  padding: 22px 20px 18px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.tip-card:hover {
  box-shadow: 0 6px 24px rgba(22,70,125,0.13);
  transform: scale(1.008);
}

.format-description, .upcoming-events-list {
  margin-top: 32px;
  background: #F7FAFC;
  border-radius: 9px;
  padding: 20px 20px 12px 20px;
  box-shadow: 0 1px 8px rgba(36,164,114,0.04);
}
.upcoming-events-list ul, .format-description ul { list-style-type: disc; }

.confirmation-section {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7FAFC;
  padding: 80px 0 56px 0;
}

/* === FOOTER === */
footer {
  background: #F7FAFC;
  border-top: 1px solid #ECEFF1;
  margin-top: 60px;
  padding: 36px 0 0 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ECEFF1;
}
.footer-brand {
  min-width: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand img {
  width: 100px;
  height: auto;
  margin-bottom: 8px;
}
.footer-menu {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  min-width: 160px;
}
.footer-menu a {
  color: #16467D;
  padding: 3px 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #24A472;
}

@media (max-width: 800px) {
  .footer-menu { gap: 14px; }
  .content-wrapper { gap: 28px; }
  footer .content-wrapper { flex-direction: column; gap: 22px; }
}
@media (max-width: 640px) {
  .footer-brand img { width: 70px; }
}
@media (max-width: 520px) {
  footer .content-wrapper { gap: 8px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  box-shadow: 0 -2px 18px rgba(22,70,125,0.09);
  z-index: 160;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  transition: transform 0.3s cubic-bezier(.5,1,.5,1), opacity 0.16s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  max-width: 460px;
  line-height: 1.58;
  margin-right: 24px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 22px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #ECEFF1;
  color: #16467D;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.accept {
  background: #24A472;
  color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #16467D;
  color: #FFF;
}
.cookie-btn.reject {
  background: #ECEFF1;
  color: #167753;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #167753;
  color: #FFF;
}
.cookie-btn.settings {
  border: 1px solid #ECEFF1;
  background: #FFF;
  color: #16467D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ECEFF1;
  color: #167753;
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 12px;
    gap: 20px;
  }
  .cookie-banner-message {
    margin-right: 0;
    margin-bottom: 7px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36, 70, 125, 0.17);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #FFF;
  box-shadow: 0 8px 28px rgba(22,70,125,0.13);
  border-radius: 16px;
  padding: 36px 28px 28px 28px;
  min-width: 300px;
  max-width: 97vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #16467D;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-modal-body {
  font-size: 1rem;
  color: #222;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #24A472;
  width: 22px;
  height: 22px;
}
.cookie-category.essential input {
  accent-color: #24A472;
  cursor: not-allowed;
}
.cookie-category-label {
  font-weight: 600;
  color: #16467D;
}
.cookie-category-desc {
  font-size: 0.96rem;
  color: #666;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}

/* === UTILITY CLASSES & MICROINTERACTIONS === */
::-webkit-input-placeholder { color: #818181; }
::-moz-placeholder { color: #818181; }
:-ms-input-placeholder { color: #818181; }
::placeholder { color: #818181; }

hr {
  border: none;
  border-top: 1px solid #ECEFF1;
  margin: 32px 0;
}

/* === FORM ELEMENTS (if any in expansions) === */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid #ECEFF1;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #FAFAFB;
  transition: border-color 0.17s;
}
input:focus, select:focus, textarea:focus {
  border-color: #24A472;
  outline: none;
}
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 10px 26px;
  background: #16467D;
  color: #FFF;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s;
  margin-bottom: 0;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #24A472;
  color: #FFF;
  box-shadow: 0 4px 16px rgba(22,70,125,0.13);
}

/* === RESPONSIVENESS === */
@media (max-width: 1100px) {
  .container {
    max-width: 1000px;
  }
  .card, .category-card, .feature-grid li, .service-list li, .tip-card {
    min-width: 185px;
    max-width: 98vw;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
  .feature-grid, .categories-grid, .service-list, .tip-cards, .card-container, .content-grid {
    gap: 16px;
  }
  .feature-grid li, .category-card, .service-list li, .tip-card {
    flex: 1 1 210px;
    min-width: 150px;
  }
  .footer-menu {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 94vw;
    padding: 0 10px;
  }
  .main-nav {
    height: 60px;
  }
  .hero {
    min-height: 230px;
    padding: 30px 0 16px 0;
  }
  .footer-brand img {
    width: 62px;
  }
  .card-container, .content-wrapper, .service-list, .feature-grid, .categories-grid, .tip-cards {
    flex-direction: column;
    gap: 11px;
  }
  .card, .category-card, .feature-grid li, .service-list li, .tip-card {
    max-width: 98vw;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    gap: 12px;
    padding: 16px 10px 14px 12px;
  }
  .about-section, .features, .services, .contact-details-section, .legal-section {
    padding: 24px 0;
  }
  .cta-section {
    padding: 34px 0 40px 0;
  }
  .categories-tabs {
    gap: 9px;
    flex-wrap: wrap;
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.08rem; }
  .hero {
    padding: 18px 0 8px 0;
    min-height: 110px;
  }
  .cta-section .cta-primary { font-size: 1rem; padding: 10px 12px; }
  .card, .tip-card, .category-card, .feature-grid li, .service-list li {
    padding: 12px 8px;
  }
  .testimonial-card {
    padding: 12px 6px 11px 6px;
  }
}

/* === Z-INDEX UTILITY (for overlays, menu, banner) === */
.mobile-menu { z-index: 100; }
.cookie-banner { z-index: 160; }
.cookie-modal { z-index: 200; }
.main-nav { z-index: 30; }

/* === END CSS === */
