/* ===== 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;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #144269;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ===== BRAND TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.01em;
  color: #144269;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 { font-size: 1rem; }

.subheadline {
  color: #1F7357;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.4;
}

p, li, span, .participant {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #144269;
  line-height: 1.7;
}
strong {
  font-weight: bold;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== FLEXBOX: FEATURE & BLOG GRIDS ===== */
.feature-grid, .blog-highlight-grid, .services-list, .service-details, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: flex-start;
}
.blog-highlight-grid {
  justify-content: flex-start;
}
.services-list {
  gap: 24px 24px;
}
.service-details {
  flex-direction: column;
  gap: 15px;
}
.card-container, .card-grid {
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(20,66,105,0.05), 0 1.5px 7px rgba(31,115,87,0.07);
  margin-bottom: 20px;
  min-height: 90px;
  border: 2px solid #FFDAA2;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  border-color: #1F7357;
  box-shadow: 0 8px 28px rgba(20,66,105,0.10), 0 1.5px 9px rgba(31,115,87,0.12);
}
.participant {
  font-weight: 700;
  color: #1F7357;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
}

.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20,66,105,0.05), 0 1.5px 4px rgba(31,115,87,0.10);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 20px 22px 20px;
  margin-bottom: 20px;
  border: 2.5px solid transparent;
  transition: box-shadow 0.25s, border-color 0.20s;
}
.feature img {
  width: 46px; height: 46px;
  filter: brightness(0) saturate(100%) sepia(28%) hue-rotate(325deg) saturate(320%);
}
.feature:hover {
  border-color: #FFDAA2;
  box-shadow: 0 8px 32px rgba(20,66,105,0.10), 0 1.5px 12px rgba(31,115,87,0.16);
}

.service-item {
  background: #FFFAF1;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20,66,105,0.04), 0 1.5px 4px rgba(31,115,87,0.10);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid #FFDAA2;
  transition: box-shadow 0.21s, border-color 0.19s;
}
.service-item:hover {
  border-color: #1F7357;
  box-shadow: 0 6px 20px rgba(20,66,105,0.08), 0 1.5px 7px rgba(31,115,87,0.14);
}

.blog-highlight {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20,66,105,0.05);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 2px solid #1F7357;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.blog-highlight:hover {
  box-shadow: 0 8px 28px rgba(31,115,87,0.13);
  border-color: #FFDAA2;
}

.footer-logo {
  margin-bottom: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #1F7357;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-menu a:hover {
  color: #FFDAA2;
}
.footer-contact {
  font-size: 0.98rem;
}

/* ===== CTAs & BUTTONS ===== */
.cta-btn, .cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 13px 36px;
  margin-top: 12px;
  background: #FFDAA2;
  color: #144269;
  box-shadow: 0 2px 10px rgba(255,218,162,0.14);
  transition: background 0.18s, color 0.17s, box-shadow 0.13s, transform 0.13s;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  cursor: pointer;
}
.cta-btn:focus, .cta-btn:hover,
.cta-link:focus, .cta-link:hover {
  background: #1F7357;
  color: #fff;
  box-shadow: 0 2px 18px rgba(20,66,105,0.13);
  transform: translateY(-2px) scale(1.04);
}
.cta-link {
  background: none;
  color: #1F7357;
  padding: 0;
  margin-top: 3px;
  font-size: 0.98rem;
  text-transform: none;
  font-weight: 700;
  box-shadow: none;
  border-radius: 0;
}
.cta-link:hover, .cta-link:focus {
  color: #FFDAA2;
  text-decoration: underline;
  background: none;
}

/* ===== HEADER/NAVIGATION/MOBILE MENU ===== */
header {
  background: #fff;
  box-shadow: 0 2px 11px rgba(20,66,105,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-navigation a {
  color: #1F7357;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.13s, color 0.14s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #FFDAA2;
  color: #144269;
}

/* Mobile Burger Button */
.mobile-menu-toggle {
  display: none;
  background: #1F7357;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 7px;
  border: none;
  position: relative;
  padding: 2px 18px;
  min-width: 48px;
  min-height: 46px;
  z-index: 1101;
  margin-right: 10px;
  transition: background 0.17s, color 0.12s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFDAA2;
  color: #1F7357;
  box-shadow: 0 2px 9px rgba(31,115,87,0.14);
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.67,-0.42,.31,1.29), opacity 0.19s;
  box-shadow: 0 0 0 100vw rgba(20,66,105,0.07);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #1F7357;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 18px 22px 0 0;
  padding: 4px;
  cursor: pointer;
  transition: color 0.13s, background 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  background: #1F7357;
  border-radius: 7px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 36px;
  align-items: flex-start;
  padding-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #144269;
  font-weight: 700;
  font-size: 1.28rem;
  padding: 14px 0;
  width: 90%;
  border-bottom: 2px solid #FFDAA2;
  border-radius: 0;
  transition: color 0.16s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #1F7357;
  background: #FFDAA2;
}

/* Hide nav on mobile, show hamburger */
@media (max-width: 990px) {
  .main-navigation, .cta-btn {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 550px) {
  .logo img { height: 34px; }
  header .container { height: 58px; }
}

/* ===== HERO SECTIONS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 640px) {
  section {
    padding: 30px 0;
    margin-bottom: 36px;
  }
}

/* Section backgrounds */
section:nth-child(even) {
  background: #FFFAF1;
}
/* Card & section spacing logic */
.card, .feature, .service-item, .blog-highlight, .testimonial-card {
  margin-bottom: 20px;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1200;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  background: #1F7357;
  color: #fff;
  padding: 20px 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -4px 32px rgba(20,66,105,0.16);
  gap: 22px;
  transition: transform 0.33s;
}
.cookie-banner.fade {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 10px 26px;
  margin: 0 5px;
  background: #FFDAA2;
  color: #144269;
  transition: background 0.14s, color 0.13s;
  cursor: pointer;
}
.cookie-banner button.accept {
  background: #FFDAA2;
  color: #144269;
}
.cookie-banner button.reject {
  background: #fff;
  color: #1F7357;
}
.cookie-banner button.settings {
  background: #144269;
  color: #FFDAA2;
  border: 1.2px solid #FFDAA2;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #1F7357;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,66,105,0.18);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #144269;
  max-width: 354px;
  width: 97vw;
  padding: 32px 26px 24px 26px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(20,66,105,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1400;
  animation: fadeInModal 0.33s cubic-bezier(.69,-0.31,.31,1.36);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(22px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  color: #1F7357;
  font-size: 1.25rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 20px;
}
.cookie-modal .switch input[type=checkbox] {
  display: none;
}
.cookie-modal .slider {
  cursor: pointer;
  background: #FFDAA2;
  border-radius: 20px;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.14s;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: .18s;
  box-shadow: 0 1px 4px rgba(20,66,105,0.09);
}
.cookie-modal .switch input:checked + .slider {
  background: #1F7357;
}
.cookie-modal .switch input:checked + .slider:before {
  left: 18px;
  background: #fff;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: transparent;
  border: none;
  font-size: 1.52rem;
  color: #1F7357;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #FFDAA2;
}

/* ===== UTILITY FLEX PATTERNS ===== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== SPACING AND ALIGNMENT ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1500px) {
  .container { max-width: 1100px; }
}
@media (max-width: 1200px) {
  .container { max-width: 950px; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
}
@media (max-width: 800px) {
  .feature,
  .service-item,
  .blog-highlight {
    min-width: 95vw;
    max-width: 98vw;
    width: 100%;
  }
  .feature-grid,
  .blog-highlight-grid,
  .services-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 770px){
  .content-wrapper, .text-section {
    gap: 14px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .section { padding: 25px 8px; margin-bottom: 36px; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 17px; }
  .container { padding-left: 6px; padding-right: 6px; }
  .card, .feature, .testimonials, .service-item { margin-bottom: 20px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.06rem; }
  .cta-btn, .cta-link {
    font-size: 0.93rem;
    padding: 11px 18px;
  }
  .footer-menu { gap: 6px; }
  .testimonial-card, .feature, .service-item, .blog-highlight {
    padding: 12px 7px 15px 10px;
    border-radius: 9px;
  }
  .content-wrapper { gap: 10px; }
  .footer-contact p {
    font-size: 0.88rem;
  }
}

/* ====== MISCELLANEOUS ====== */
blockquote {
  border-left: 4px solid #1F7357;
  margin: 17px 0;
  padding-left: 19px;
  color: #1F7357;
  font-style: italic;
}

::-webkit-input-placeholder { color: #aaa; }
  :-moz-placeholder { color: #aaa; }
   ::-moz-placeholder { color: #aaa; }
   :-ms-input-placeholder { color: #aaa; }

hr {
  border: none;
  border-top: 1.5px solid #144269;
  margin: 30px 0;
  opacity: 0.08;
}

/* ====== ANIMATIONS & MICRO-INTERACTIONS ====== */
a, .cta-btn, .cta-link, button,
.feature, .feature img, .testimonial-card, .service-item, .blog-highlight {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, border-color 0.19s, transform 0.15s;
}

.cta-btn:active { transform: scale(0.98); }
.card:active, .feature:active, .service-item:active, .blog-highlight:active { transform: scale(0.99); }

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

/* ====== PRINT UTILITY ====== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .main-navigation, .mobile-nav { display: none !important; }
  section { box-shadow: none !important; }
}

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