/* 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 { line-height: 1.15; -webkit-text-size-adjust: 100%; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  background: #FAF8F3;
  color: #232B29;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border-radius: 10px; }

/* BRAND & THEME COLORS */
:root {
  --color-primary: #1A3559;
  --color-secondary: #E9E6D7;
  --color-accent: #6EB2DA;
  --color-warm1: #F5EEE4;
  --color-warm2: #F7C59F;
  --color-warm3: #FFD8B1;
  --color-shadow: rgba(26, 53, 89, 0.10);
  --color-black: #232B29;
  --color-white: #fff;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.3; }
h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.4; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, li, blockquote { font-size: 1rem; margin-bottom: 13px; color: #232B29; }
strong { font-weight: 700; }
blockquote {
  background: var(--color-warm1);
  color: var(--color-primary);
  font-style: italic;
  border-left: 4px solid var(--color-warm2);
  padding: 16px 24px 16px 28px;
  margin: 0 0 10px 0;
  border-radius: 12px 18px 18px 12px;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 3px 15px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section,
.cta-section,
.features-section {
  background: var(--color-warm1);
  border-radius: 16px;
  padding: 32px 20px;
  margin-bottom: 38px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* FLEX SPACING - MANDATORY PATTERNS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: var(--color-warm1);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  transition: transform 0.18s, box-shadow 0.20s;
}
.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(26,53,89,0.15);
}
.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;
  margin-bottom: 24px;
  max-width: 700px;
  background: var(--color-warm3);
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: box-shadow 0.2s, transform 0.18s;
  flex: 1 1 280px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px #f7c59f44;
  transform: translateY(-2px) scale(1.015);
}
.testimonial-info {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, var(--color-secondary) 60%, var(--color-warm3) 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 32px var(--color-shadow);
  padding: 60px 0 42px 0;
  margin-bottom: 48px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.3rem;
  font-weight: 800;
}
.hero p {
  max-width: 540px;
  margin-bottom: 18px;
  color: var(--color-black);
  font-size: 1.15rem;
}


/* NAVIGATION */
header {
  background: var(--color-white);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.main-nav a {
  color: var(--color-primary);
  padding: 7px 16px;
  border-radius: 16px;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
}
.main-nav a.cta-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 18px;
  font-weight: 700;
  box-shadow: 0 3px 12px #6eb2da33;
  margin-left: 8px;
  transition: background 0.16s, box-shadow 0.17s;
}
.main-nav a.cta-primary:hover {
  background: var(--color-primary);
  color: var(--color-warm2);
  box-shadow: 0 7px 22px #1a355930;
}
.main-nav img {
  height: 36px;
  margin-right: 18px;
  border-radius: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 18px;
  font-size: 2.1rem;
  padding: 6px 18px 2px 18px;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 2001;
  cursor: pointer;
  box-shadow: 0 1px 5px #6eb2da33;
  transition: background 0.15s, color .13s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-warm3);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: var(--color-secondary);
  box-shadow: 0 0 40px #1a355940;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.8,0,.32,1);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  padding: 28px 38px 40px 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 9px #6eb2da33;
  transition: background .17s, color .13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: var(--color-primary); color: var(--color-secondary); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  border-radius: 16px;
  padding: 13px 0 13px 6px;
  transition: background .11s, color .13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 0;
  margin-top: 52px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 10px var(--color-shadow);
  font-size: 1rem;
}
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 8px 24px 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 168px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0;
  border-radius: 11px;
  opacity: 0.85;
  transition: opacity 0.14s, background 0.13s;
}
.footer-nav a:hover {
  background: var(--color-warm2);
  color: var(--color-primary);
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
footer div{
  color: var(--color-secondary) !important;
}
.contact-info img {
  height: 17px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 6px;
}
.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 8px;
}
.social-links a {
  display: inline-flex;
  padding: 6px;
  background: var(--color-warm3);
  border-radius: 50%;
  transition: background 0.17s;
}
.social-links a:hover,
.social-links a:focus {
  background: var(--color-accent);
}
.social-links img {
  width: 23px; height: 23px; border-radius: 50%; }

/* FEATURE GRID & EVENT LIST */
.feature-grid,
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid > div,
.event-list > div {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 25px 18px;
  flex: 1 1 240px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: transform 0.16s, box-shadow 0.15s;
}
.feature-grid > div:hover,
.event-list > div:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 18px #f7c59f65;
}
.feature-grid img, .event-list img {
  min-height: 38px; width: 38px; margin-bottom: 8px;
}
.commitment-icons, .experience-icons, .event-icons {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.commitment-icons img, .experience-icons img, .event-icons img {
  width: 41px; height: 41px; border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 2px 10px #dacda326;
}

/* BUTTONS & CTA */
.cta-primary, .cta-primary:visited {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white) !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 24px;
  box-shadow: 0 4px 18px #6eb2da44;
  margin-top: 10px;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s, transform .15s;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-warm3) !important;
  box-shadow: 0 10px 28px #1a355930;
  transform: translateY(-1px) scale(1.02);
}
/* Secondary and ghost buttons (cookie modal) */
.button-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
  border-radius: 18px;
  font-size: 1rem;
  padding: 9px 20px;
  margin-right: 8px;
  box-shadow: 0 1.5px 5px #1a355922;
  transition: background .14s, border .12s, color .13s, box-shadow .15s;
  cursor: pointer;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-warm2);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.button-ghost {
  background: transparent;
  color: var(--color-accent);
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  padding: 8px 18px;
  transition: background .13s, color .13s;
  cursor: pointer;
}
.button-ghost:hover, .button-ghost:focus {
  background: var(--color-warm3);
  color: var(--color-primary);
}

/* GENERAL LISTS & STRUCTURE */
ul {
  margin-bottom: 13px;
  padding-left: 18px;
}
ul li {
  padding-left: 0;
  margin-bottom: 7px;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: var(--color-warm2);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.2em;
}

/* TESTIMONIAL CARDS - HIGH CONTRAST ON TEXT */
.testimonials {
  margin-top: 36px;
  padding-bottom: 22px;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 0;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.testimonial-info {
  color: var(--color-black);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* CONTACT INFO WIDGETS */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-warm1);
  box-shadow: 0 -2px 18px #1a355930;
  padding: 25px 18px;
  min-height: 86px;
  gap: 24px;
  border-radius: 18px 18px 0 0;
  transition: transform 0.25s cubic-bezier(.6,0,.22,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-right: 18px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26,53,89,0.32);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 34px 24px 28px 24px;
  border-radius: 23px;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 16px 48px #1a355965;
  animation: fadeInUp .36s cubic-bezier(.5,1.8,.5,.96);
  gap: 12px;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 11px;
  color: var(--color-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--color-white);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 1rem;
  box-shadow: 0 2px 9px #1a355914;
}
.cookie-category.essential {
  opacity: 0.8;
}
.cookie-category label {
  flex: 1 1 auto;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-toggle {
  width: 37px; height: 22px;
  background: var(--color-warm3);
  border-radius: 13px;
  position: relative;
  outline: none;
  border: none;
  margin-left: 0.4em;
  cursor: pointer;
  transition: background .14s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-accent);
}
.cookie-toggle .toggle-knob {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px; height: 16px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 2px #1a355911;
  transition: left .18s;
}
.cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 17px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  align-self: flex-end;
  color: var(--color-primary);
  font-size: 1.45rem;
  cursor: pointer;
  margin-bottom: 3px;
  border-radius: 50%;
  width: 33px; height: 33px;
  transition: background .13s, color .15s;
}
.cookie-modal .modal-close:hover {
  background: var(--color-warm2);
  color: var(--color-white);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(60px) scale(0.91); }
  100% { opacity: 1; transform: none; }
}


/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 1020px) {
  .feature-grid > div, .event-list > div { min-width: 160px; }
  .container { max-width: 96vw; }
  .footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-nav { font-size: 0.95rem; }
  .content-wrapper { gap: 13px; }
}
@media (max-width: 820px) {
  .container { max-width: 98vw; }
  .footer { flex-direction: column; gap: 17px; padding: 25px 5px 22px 5px; }
  .footer-nav { flex-direction: row; gap: 22px; }
  .social-links { margin-top: 0; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .container { padding: 0 8px; }
  .footer { flex-direction: column; gap: 18px; align-items: flex-start; }
  .section { padding: 25px 7px; }
  .cta-primary { font-size: 1.09rem; padding: 11px 18px; }
  .feature-grid, .event-list { flex-direction: column; gap: 18px; }
  .feature-grid > div, .event-list > div { min-width: unset; width: 100%; }
}
@media (max-width: 570px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.12rem; }
  .hero { padding: 30px 0 22px 0; border-radius: 0 0 22px 22px; }
  .footer { padding: 17px 2px 13px 2px; font-size: 0.97rem; }
  .footer-nav { gap: 14px; font-size: 0.93rem; }
  .section, .text-section, .cta-section, .features-section { padding: 13px 3px; }
  .mobile-menu { padding: 14px 12px 20px 13px; min-width: 0; }
  .testimonial-card { min-width: unset; }
  .feature-grid, .event-list { gap: 11px; }
}

/* Ensure testimonial text has excellent contrast */
.testimonial-card blockquote {
  background: transparent;
  color: var(--color-primary);
  font-size: 1.07rem;
}
/* Hide banner if no JS fallback */
.cookie-banner { display: none; }

/* JS will add .active to show */
.cookie-banner.active { display: flex; }
/* JS will add .open to mobile-menu */

/* --- END OF CSS --- */
