/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #233F6D;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #FCFAF1;
}
a {
  color: #233F6D;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #F2B705;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
button, input, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  outline: none;
}

/* BRAND TYPOGRAPHY */
h1, .hero-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #233F6D;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #F2B705;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #233F6D;
  line-height: 1.2;
}
.subhead {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F2B705;
  font-size: 1.25rem;
  margin-bottom: 22px;
}
p, li, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2c3550;
}
strong {
  font-weight: 600;
  color: #233F6D;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* SECTIONS & SPACING (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  box-shadow: 0 6px 30px 0 rgba(35,63,109,0.05);
  background: #fff;
  position: relative;
}
.text-section {
  background: #EDEDED;
  border-left: 8px solid #F2B705;
  border-radius: 18px;
  box-shadow: 0 1px 12px 0 rgba(242,183,5,0.08);
  padding: 40px 24px;
  margin-bottom: 60px;
}

/* FLEXBOX CARD/PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(35,63,109,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.14s;
  position: relative;
  padding: 24px 24px 20px 24px;
}
.card:hover {
  box-shadow: 0 14px 32px 0 rgba(242,183,5,0.09), 0 2px 8px 0 rgba(35,63,109,0.10);
  transform: translateY(-4px) scale(1.01);
}

.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;
  padding: 20px;
  background: #fff9e5;
  border-left: 6px solid #F2B705;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px 0 rgba(242,183,5,0.10);
  font-size: 1.04em;
}
.testimonial-card p {
  color: #233F6D;
  margin-bottom: 0;
  font-size: 1.12em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card span {
  color: #233F6D;
  font-size: 0.99em;
  opacity: 0.88;
  font-style: italic;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER NAVIGATION */
header {
  background: #233F6D;
  color: #fff;
  width: 100vw;
  position: relative;
  z-index: 30;
  box-shadow: 0 3px 8px 0 rgba(35,63,109,0.04);
  min-height: 72px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 20px;
  border-radius: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background .16s, color .16s;
}
nav a:hover, nav a.active {
  background: #F2B705;
  color: #233F6D;
  text-decoration: none;
}
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #fff;
  background: #F2B705;
  border-radius: 40px;
  padding: 10px 35px;
  font-weight: 700;
  margin-left: 10px;
  box-shadow: 0 3px 12px 0 rgba(242,183,5,0.08);
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  display: inline-block;
  border: none;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #233F6D;
  color: #F2B705;
  box-shadow: 0 6px 24px 0 rgba(35,63,109,0.14);
  text-decoration: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #F2B705;
  color: #233F6D;
  font-size: 2.1rem;
  border-radius: 8px;
  border: none;
  padding: 2px 14px 2px 10px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  right: 24px;
  top: 18px;
  box-shadow: 0 2px 6px 0 rgba(35,63,109,0.07);
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #233F6D;
  color: #F2B705;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #233F6D;
  color: #fff;
  transform: translateX(100vw);
  transition: transform 0.45s cubic-bezier(.72,-0.08,.23,1.04);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  width: 100vw;
  height: 100vh;
  box-shadow: -6px 0 20px -6px rgba(35,63,109,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #EDEDED;
  color: #233F6D;
  font-size: 2.1rem;
  border-radius: 50%;
  border: none;
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 2px 14px 4px 14px;
  z-index: 1002;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2B705;
  color: #233F6D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 90%;
  margin: 50px auto 0 auto;
}
.mobile-nav a {
  width: 100%;
  text-align: center;
  font-size: 1.22rem;
  padding: 13px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #F2B705;
  border-radius: 10px;
  background: transparent;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover { 
  background: #F2B705;
  color: #233F6D;
}

/* HERO SECTION (INTRO) */
.main-hero, .hero {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #233F6D;
  color: #fff;
  border-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 6px 32px 0 rgba(35,63,109,0.13);
}

/* FEATURE LISTS & ICON STYLES */
.features-list, .services-teaser, .blog-preview-list, .event-preview-list, .services-list, .category-overview, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  list-style: none;
  width: 100%;
}
.features-list li, .category-overview li,
.services-teaser li, .blog-preview-list li, .services-list li, .event-list li {
  background: #fcfaf1;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(242,183,5,0.04);
  padding: 18px 22px;
  flex: 1 1 250px;
  min-width: 210px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  border-left: 6px solid #F2B705;
  transition: box-shadow 0.19s, transform 0.16s;
}
.features-list li img, .category-overview li img, .event-list li img, .services-list li img, .services-teaser li img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 8px;
  margin-top: 4px;
  border-radius: 8px;
}
.features-list li:hover, .category-overview li:hover, .services-list li:hover {
  box-shadow: 0 8px 24px 0 rgba(242,183,5,0.16);
  transform: translateY(-3px) scale(1.01);
}

/* BLOG & PAGINATION */
.blog-list-excerpts, .blog-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-top: 22px;
}
.blog-list-excerpts li, .blog-preview-list li {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 11px 0 rgba(35,63,109,0.06);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.16s;
}
.blog-list-excerpts li:hover, .blog-preview-list li:hover {
  box-shadow: 0 8px 22px 0 rgba(35,63,109,0.10);
  transform: scale(1.03);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 2px 0;
  align-items: center;
  justify-content: center;
}
.pagination a {
  background: #EDEDED;
  border-radius: 8px;
  color: #233F6D;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 16px;
  margin-bottom: 4px;
  transition: background 0.14s, color 0.14s;
  font-size: 1rem;
}
.pagination a.active,
.pagination a:hover {
  background: #F2B705;
  color: #233F6D;
  text-decoration: none;
}

/* FILTERS */
.blog-filters,
.date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 10px;
}
.blog-filters label, .date-filter label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233F6D;
  font-weight: 600;
}
select, input[type="date"] {
  background: #EDEDED;
  border-radius: 7px;
  padding: 7px 14px;
  color: #233F6D;
  border: 1px solid #F2B705;
  margin-left: 4px;
  margin-right: 7px;
  font-weight: 500;
  font-size: 1rem;
  transition: border 0.12s, box-shadow 0.12s;
}
select:focus, input[type="date"]:focus {
  border-color: #233F6D;
  box-shadow: 0 3px 9px rgba(35,63,109,0.10);
}

/* FOOTER */
footer {
  background: #233F6D;
  color: #fff;
  width: 100%;
  border-radius: 28px 28px 0 0;
  padding: 24px 0 10px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #F2B705;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.13s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a.active {
  background: #F2B705;
  color: #233F6D;
  text-decoration: none;
}
footer small {
  color: #ede6d3;
  font-size: 0.93rem;
  opacity: 0.7;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #233F6D;
  box-shadow: 0 -2px 24px 0 rgba(35,63,109,0.11);
  border-top: 4px solid #F2B705;
  z-index: 1100;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.35s;
  font-size: 0.99rem;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border: none;
  background: #233F6D;
  color: #fff;
  border-radius: 20px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-consent-banner button.accept {
  background: #F2B705;
  color: #233F6D;
}
.cookie-consent-banner button.accept:hover, .cookie-consent-banner button.accept:focus {
  background: #233F6D;
  color: #F2B705;
}
.cookie-consent-banner button.reject {
  background: #fff9e5;
  color: #233F6D;
  border: 2px solid #F2B705;
}
.cookie-consent-banner button.reject:hover, .cookie-consent-banner button.reject:focus {
  background: #F2B705;
  color: #233F6D;
}
.cookie-consent-banner button.settings {
  background: #EDEDED;
  color: #233F6D;
  border: 1px solid #233F6D;
  font-size: 0.98rem;
  font-weight: 400;
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: #233F6D;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,63,109,0.76);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeInBg 0.22s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  color: #233F6D;
  border-radius: 22px;
  box-shadow: 0 2px 32px 0 rgba(242,183,5,0.14);
  padding: 30px 28px 22px 28px;
  width: 95%;
  max-width: 380px;
  animation: modalBounce 0.45s cubic-bezier(.55,1.41,.14,1.02);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
@keyframes modalBounce {
  0% { transform: scale(0.85) translateY(40px); opacity: 0; }
  80% { transform: scale(1.04) translateY(-10px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  color: #F2B705;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 22px;
  background: #EDEDED;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-switch:checked {
  background: #F2B705;
}
.cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  width: 20px; height: 20px;
  left: 1px; top: 1px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 rgba(35,63,109,0.08);
  transition: left 0.17s;
}
.cookie-switch:checked:before {
  left: 23px;
}
button.cookie-modal-close {
  background: #F2B705;
  color: #233F6D;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  padding: 8px 20px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  margin-top: 12px;
}
button.cookie-modal-close:hover, button.cookie-modal-close:focus {
  background: #233F6D;
  color: #F2B705;
}

/* ARTISTIC EXTRAS: HAND-DRAWN ELEMENTS */
section:before {
  content: '';
  display: block;
  position: absolute;
  left: -36px; top: -36px;
  width: 88px; height: 88px;
  opacity: 0.12;
  z-index: 1;
  background: url('../assets/scribble.svg') no-repeat center center/contain;
  pointer-events: none;
}
section:nth-child(even):before {
  left: auto;
  right: -36px;
  top: -32px;
  transform: rotateY(180deg);
}

/* UNIQUE BUTTON & HOVER EFFECTS */
button, .cta, .pagination a, .footer-nav a, nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.15s, box-shadow 0.13s, transform 0.09s;
}
button:active, .cta:active, .pagination a:active {
  transform: scale(0.97);
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .features-list li, .blog-preview-list li, .services-list li {
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .features-list li:hover, .blog-preview-list li:hover, .services-list li:hover {
  box-shadow: 0 12px 38px rgba(242,183,5,0.14);
  transform: translateY(-7px) scale(1.02);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 900px) {
  section, .text-section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .features-list, .services-list, .blog-preview-list, .blog-list-excerpts, .category-overview, .event-list {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  nav {
    display: none;
  }
  .cta {
    padding: 8px 22px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section, .text-section {
    margin-bottom: 26px;
    padding: 18px 2px;
    border-radius: 16px;
  }
  .features-list, .services-list, .blog-preview-list, .blog-list-excerpts, .category-overview, .event-list, .card-container {
    flex-direction: column;
    gap: 10px;
  }
  .features-list li, .services-list li, .category-overview li, .card, .blog-preview-list li, .blog-list-excerpts li {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    border-radius: 13px;
    padding: 12px 10px;
  }
  .content-wrapper, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .hero, .main-hero {
    border-radius: 13px;
  }
  .testimonial-card {
    border-radius: 11px;
    padding: 11px 8px;
    gap: 9px;
  }
  .cookie-modal-content {
    padding: 18px 7px 14px 7px;
    border-radius: 9px;
    min-width: 0;
    font-size: 0.96rem;
  }
}
@media (max-width: 550px) {
  h1, .hero-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.07rem;
    margin-bottom: 6px;
  }
  .footer-nav {
    gap: 5px;
  }
}

/* FORM ELEMENTS */
label {
  cursor: pointer;
}
input[type='text'], input[type='email'], textarea {
  width: 100%;
  margin: 8px 0 16px 0;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1.5px solid #EDEDED;
  background: #fcfaf1;
  color: #233F6D;
  font-size: 1rem;
  transition: border 0.12s, box-shadow 0.12s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border: 1.5px solid #F2B705;
  box-shadow: 0 2px 7px rgba(242,183,5,0.10);
}

/* MISC*/
::-webkit-input-placeholder { color: #233F6D; opacity: 0.8; }
::-moz-placeholder { color: #233F6D; opacity: 0.8; }
:-ms-input-placeholder { color: #233F6D; opacity: 0.8; }
::placeholder { color: #233F6D; opacity: 0.8; }

/* Artistic/Creative Touches: playful circle accents on cards */
.card:after, .features-list li:after, .services-list li:after, .category-overview li:after {
  content: '';
  display: block;
  position: absolute;
  right: 12px;
  bottom: 7px;
  width: 24px;
  height: 24px;
  border-radius: 99em;
  background: #F2B705;
  opacity: 0.15;
  z-index: 10;
}

/* ACCESSIBILITY & SELECTION COLORS */
::selection { background: #F2B705; color: #233F6D; }

/* FIXED: Prevent unintended overflow */
body, html {
  overflow-x: hidden;
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
  nav {
    display: flex !important;
  }
}

/* END OF CSS */
