/* 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; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: inline-block; }
table { border-collapse: collapse; border-spacing: 0; }

/* GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700,900&family=Open+Sans:wght@400,600,700&display=swap');

:root {
  --primary: #195B7F;
  --secondary: #F4B840;
  --accent: #FFFFFF;
  --pastel-blue: #D4E8F6;
  --pastel-yellow: #FFF7E3;
  --pastel-pink: #FAE2F6;
  --pastel-peach: #FFE6D2;
  --pastel-mint: #D6F5EB;
  --pastel-lavender: #E9ECFB;
  --border-radius: 18px;
  --shadow: 0 6px 24px 0 rgba(30,51,67,0.07);
}

html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--pastel-yellow);
  color: #273340;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.04em; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 12px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
p, li, blockquote, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  color: #354256;
}
p { margin-bottom: 12px; }
strong { color: var(--primary); font-weight: 700; }

/* SPACING SYSTEM */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 0;
}

/* HEADER & NAVIGATION */
header {
  background: var(--accent);
  box-shadow: 0 1px 8px 0 rgba(30,51,67,0.04);
  position: relative;
  z-index: 200;
}
header > .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 18px 20px;
  position: relative;
}
.brand-logo img {
  height: 44px;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(.4,1,.7,1);
}
.brand-logo:hover img {
  transform: scale(1.04) rotate(-2deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.20s, color 0.20s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  background: linear-gradient(90deg, var(--secondary), var(--pastel-peach));
  color: var(--primary);
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-size: 1.08rem;
  transition: background 0.23s, color 0.13s, box-shadow 0.17s;
  margin-left: 18px;
  cursor: pointer;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--primary) 60%, #5eb8d7 100%);
  color: #fff;
  box-shadow: 0 10px 32px 0 rgba(25,91,127,0.12);
}
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 26px;
  margin-top: 10px;
  margin-bottom: 2px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.17s, color 0.13s, box-shadow 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 12px 32px 0 rgba(244,184,64,0.11);
}

/* Burger Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  margin: 0 8px 0 0;
  cursor: pointer;
  z-index: 201;
  transition: background 0.28s, color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #fff6fd;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.56,.02,.67,1.7);
  box-shadow: 0 8px 32px 0 rgba(30,51,67,0.09);
  padding: 42px 24px 0 38px;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--pastel-pink);
  color: var(--primary);
  border: none;
  font-size: 2.3rem;
  border-radius: 7px;
  padding: 5px 18px 0 8px;
  align-self: flex-end;
  margin-bottom: 22px;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 90vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--primary);
  padding: 14px 4px;
  border-radius: 8px;
  margin: 0 0 2px 0;
  transition: background 0.21s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(115deg, var(--pastel-blue) 0%, var(--pastel-peach) 100%);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 2px 8px 0 rgba(30,51,67,0.02);
  margin-bottom: 56px;
  padding-bottom: 10px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  justify-content: center;
  padding: 46px 0 36px 0;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 665px;
  margin: 0 auto;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px #eaeaea, 0 1px 4px #e9ecfb9c;
}
.hero-section p {
  color: #475478;
  font-size: 1.24rem;
}

/* FEATURES GRID (from index) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin: 32px 0 0 0;
}
.feature-grid li {
  background: var(--pastel-lavender);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 20px 22px;
  flex: 1 1 217px;
  min-width: 220px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.20s, transform 0.24s;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  box-shadow: 0 10px 28px 0 rgba(30,91,127,0.15);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 2px;
}
.feature-grid h3 { color: var(--primary); font-size: 1.20rem; }

/* SERVICE LIST */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 22px;
}
.service-list li {
  background: var(--pastel-mint);
  border-radius: 14px;
  padding: 18px 30px 16px 24px;
  box-shadow: 0 2px 16px 0 rgba(30,51,67,0.06);
  font-size: 1.05rem;
  min-width: 0;
}
.service-list strong { color: var(--primary); }

/* TESTIMONIALS */
.testimonial-card {
  background: var(--pastel-pink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 28px 0 0 0;
  padding: 28px 36px 22px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card blockquote {
  font-size: 1.18rem;
  color: #333447;
  font-style: italic;
  position: relative;
  margin-right: 18px;
  margin-bottom: 0;
  line-height: 1.55;
}
.testimonial-card p {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px 0 rgba(250,226,246,0.15);
  transform: scale(1.015);
}

/* EVENT LIST */
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 18px 0;
  justify-content: space-between;
}
.event-list > div {
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 26px 20px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.15s;
  gap: 7px;
}
.event-list > div:hover {
  box-shadow: 0 9px 26px 0 rgba(38,136,100,0.10);
  transform: translateY(-2px) scale(1.012);
}
.event-list h3 {
  color: var(--primary);
  font-size: 1.12rem;
}
.event-list p {
  font-size: 1rem;
  color: #444b5b;
}

/* TEXT SECTION & CONTENT LAYOUTS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 0 0;
}
.text-section ul, .text-section ol {
  margin-top: 10px;
  margin-bottom: 8px;
  padding-left: 16px;
  list-style: disc outside;
}
.text-section li { margin-bottom: 7px; }

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--border-radius);
  background: var(--pastel-lavender);
  box-shadow: var(--shadow);
  padding: 30px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FOOTER */
footer {
  background: var(--pastel-blue);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-top: 80px;
  box-shadow: 0 -2px 7px 0 rgba(30,51,67,0.04);
  padding: 36px 0 20px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 8px;
}
.footer-brand img {
  height: 38px;
}
.footer-brand p {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(255,250,253,0.94);
  box-shadow: 0 -7px 38px 8px rgba(250,226,246,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 26px 16px 19px 14px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 18px 0 0;
  max-width: 460px;
}
.cookie-banner .cookie-btn {
  margin: 0 4px;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  font-size: 1rem;
  transition: background 0.19s, color 0.15s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .accept:hover { background: var(--primary); color: #fff; }
.cookie-banner .reject {
  background: var(--pastel-blue);
  color: var(--primary);
  margin-left: 4px;
}
.cookie-banner .reject:hover { background: var(--primary); color: #fff; }
.cookie-banner .settings {
  background: var(--pastel-pink);
  color: var(--primary);
  margin-left: 4px;
}
.cookie-banner .settings:hover { background: var(--secondary); color: var(--primary); }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,91,127,0.23);
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: #fff8fc;
  border-radius: var(--border-radius);
  box-shadow: 0 22px 84px 2px rgba(84,84,94,0.14);
  min-width: 340px;
  max-width: 97vw;
  padding: 34px 28px 23px 34px;
  z-index: 10001;
  transition: transform 0.18s, opacity 0.11s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.16rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #465b73;
}
.cookie-modal .category-desc {
  color: #576889;
  font-size: 0.95rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 18px;
}
.cookie-toggle {
  width: 40px; height: 22px;
  background: var(--pastel-blue);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  border: none;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--secondary);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  background: #fff;
  box-shadow: 0 1px 4px #e9ecfb9c;
  transition: left 0.18s;
}
.cookie-toggle[aria-checked="true"]::before {
  left: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--pastel-peach);
  color: var(--primary);
  border: none;
  border-radius: 9px;
  font-size: 1.6rem;
  padding: 5px 11px 4px 7px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-modal:focus { outline: 2px solid var(--secondary); }

/* RESPONSIVE */
@media (max-width: 1065px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .content-wrapper, .container, .footer-nav {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .main-nav { gap: 16px; }
  .feature-grid { gap: 18px; }
  .event-list { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
  .footer-nav { gap: 13px; }
  header > .container { padding: 13px 8px; }
  .hero-section .container { padding: 32px 0 26px 0; }
  .feature-grid, .event-list { flex-direction: column; align-items: stretch; }
  .content-grid, .card-container { flex-direction: column; }
  .section { padding: 28px 5px; }
  .testimonial-card, .event-list > div, .feature-grid li, .service-list li {
    padding: 20px 14px 15px 14px;
    font-size: 1em;
  }
  .footer-brand {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 584px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  .hero-section .container {
    padding: 19px 0 13px 0;
    min-height: unset;
  }
  .mobile-menu { padding-left: 9vw; }
  .cookie-modal { padding: 22px 7vw 13px 7vw; min-width: 0; }
}
@media (max-width: 430px) {
  html { font-size: 13px; }
  .container { padding: 0 5px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .footer-brand img { height: 33px; }
}

/* FOCUS INDICATORS */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* SUBTLE ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a, .cookie-btn, .cookie-toggle, .mobile-menu-close {
  transition: background 0.20s, color 0.15s, box-shadow 0.13s, transform 0.18s;
}

/* CUSTOM SCROLLBAR for modern browsers */
::-webkit-scrollbar { width: 10px; background: var(--pastel-blue); }
::-webkit-scrollbar-thumb { background: var(--pastel-peach); border-radius: 6px; }

/* UTILITIES */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 12px !important; }
.mt-4 { margin-top: 28px !important; }
.text-center { text-align: center !important; }

/* ENSURE FLEX SPACING & NO OVERLAPS */
.feature-grid > *, .event-list > *, .card-container > *, .content-grid > *, .testimonial-card, .service-list > * {
  margin-bottom: 20px;
}

/* Hide scroll behind modals & menus (when open) */
body.menu-open, body.modal-open {
  overflow: hidden;
}
