/* ===== CSS RESET & BASE ===== */
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; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F5ECDF;
  color: #17213C;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: #EF6C1C; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #17213C; text-decoration: underline; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 8px; }

/* Typography - Vintage Retro */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #17213C;
  letter-spacing: 1.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 #FFD27F;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 #FFD27F;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong { color: #D84910; }
blockquote {
  background: #FAF3E8;
  border-left: 6px solid #CF4417;
  padding: 16px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  color: #17213C;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* ========== COLORS & THEME ========== */
:root {
  --primary: #17213C;
  --secondary: #EF6C1C;
  --accent: #FFFFFF;
  --cream: #F5ECDF;
  --retro-orange: #EF6C1C;
  --retro-yellow: #FFD27F;
  --retro-navy: #17213C;
  --retro-brown: #8C6747;
  --retro-red: #CF4417;
}

/* ============= LAYOUT PATTERNS ============= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF8F2;
  border-radius: 16px;
  box-shadow: 0 6px 40px 0 rgba(24,8,0,0.05);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 rgba(24,8,0,0.075);
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 40px 0 rgba(24,8,0,0.15);
  transform: translateY(-4px) scale(1.015);
}
.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;
  background: #FFF8F2;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(23, 33, 60, 0.09);
  border: 1.5px dashed #CF4417;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(207, 68, 23, 0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.event-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 18px 0 rgba(207,68,23,0.06);
  padding: 24px 18px;
  margin-bottom: 20px;
  border: 2px solid #FFD27F;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.event-card:hover {
  border-color: #EF6C1C;
  box-shadow: 0 8px 30px 0 rgba(239,108,28,0.10);
}
.text-section {
  margin-bottom: 24px;
  padding: 0;
}
.text-section:last-child {
  margin-bottom: 0;
}

/* ==== Hero Section ==== */
.hero {
  background: repeating-linear-gradient(135deg, #FFD27F, #FFD27F 28px, #FFF8F2 28px, #FFF8F2 56px);
  padding: 0 0 48px 0;
  border-bottom: 4px double #EF6C1C;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  color: #17213C;
  text-shadow: 2px 2px 0 #FFD27F;
}
.hero p {
  font-size: 1.13rem;
  color: #594313;
  margin-bottom: 10px;
}

/* ==== Main Nav & Header ==== */
header {
  background: #FFD27F;
  border-bottom: 3px solid #EF6C1C;
  padding: 14px 0;
  width: 100%;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: #17213C;
  background: none;
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #EF6C1C;
  color: #FFF8F2;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  background: #EF6C1C;
  color: #FFF8F2 !important;
  border: none;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(207,68,23,0.10);
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  margin-left: 10px;
  font-size: 1.07rem;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D84910;
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px 0 rgba(207,68,23,0.14);
}

/* ==== Mobile Burger Menu ==== */
.mobile-menu-toggle {
  display: none;
  background: #EF6C1C;
  color: #FFFFFF;
  border: none;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-left: auto;
  z-index: 99;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #CF4417;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #FFD27F;
  transform: translateX(-103vw);
  transition: transform 0.33s cubic-bezier(.62,.12,.46,1.09);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 8px 80px 0 rgba(207,68,23,0.14);
  padding-top: 26px;
}
body.menu-open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: #FFF8F2;
  padding: 8px 17px;
  border: none;
  border-radius: 12px;
  align-self: flex-end;
  margin-right: 20px;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 1px 8px 0 rgba(23,33,60,0.08);
  transition: background 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 92vw;
  margin: 32px 16px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #17213C;
  padding: 18px 0 7px 0;
  border-bottom: 2px solid #FFD27F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFFFFF;
  background: #EF6C1C;
  border-radius: 8px;
  border-bottom: 2px solid #EF6C1C;
  padding-left: 6px;
}

/* ========== Footer ========== */
footer {
  background: #FFD27F;
  border-top: 3px solid #CF4417;
  padding: 32px 0 20px 0;
  color: #17213C;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: #8C6747;
  font-size: 1rem;
  margin-right: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-decoration: underline dotted;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #D84910;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #594313;
  margin-top: 8px;
}
.footer-contact img {
  width: 22px; height: 22px; margin-right: 7px; vertical-align: text-bottom;
}
footer img {
  max-height: 60px;
  margin-bottom: 12px;
}

/* ========== Buttons & CTAs ========== */
.cta-btn, .download-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #EF6C1C;
  color: #FFF8F2 !important;
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(239,108,28,0.10);
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus,
.download-btn:hover, .download-btn:focus {
  background: #CF4417;
  color: #FFF8F2;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(207,68,23,0.15);
}
.link {
  color: #D84910;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s;
}
.link:hover, .link:focus { color: #CF4417; }

/* ========== Forms & Tables ========== */
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #17213C;
}
select, input, textarea {
  font-size: 1rem;
  padding: 7px 13px;
  border: 1.5px solid #FFD27F;
  border-radius: 7px;
  background: #FFF8F2;
  color: #17213C;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-bottom: 8px;
}
select:focus, input:focus, textarea:focus {
  border-color: #EF6C1C;
  outline: 2px solid #EF6C1C33;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 13px 0 20px 0;
  background: #FFF8F2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px #EF6C1C22;
}
th, td {
  padding: 11px 12px;
  border-bottom: 1px solid #FFD27F;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #FFD27F;
  color: #17213C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
}
tr:last-child td { border-bottom: none; }

/* ========== Special Cards & Features ========== */
.features ul,
.membership-benefits ul,
.feature-highlights ul,
.events-list ul,
.impact-stories ul,
.external-links ul,
.guides ul,
.about-preview ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.features li, .membership-benefits ul li, .feature-highlights ul li,
.events-list ul li, .impact-stories ul li, .downloads ul li, .external-links ul li, .guides ul li, .about-preview ul li {
  background: #FFF8F2;
  border-radius: 12px;
  padding: 13px 22px;
  box-shadow: 0 2px 14px 0 rgba(23,33,60,0.06);
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.04rem;
  color: #594313;
}
.features li img, .about-preview ul li img {
  width: 22px;
  height: 22px;
  vertical-align: sub;
  margin-right: 7px;
}

/* Success/Confirmation Page */
.confirmation {
  background: repeating-linear-gradient(135deg, #FFD27F, #FFD27F 24px, #FFF8F2 24px, #FFF8F2 48px);
  border: 2.5px solid #FFD27F;
  border-radius: 17px;
  padding: 44px 22px 32px 22px;
  text-align: left;
}
.confirmation h1 {
  color: #17213C;
  margin-bottom: 16px;
  font-size: 2rem;
}

/* ========== Cookie Consent Banner ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #FFD27F;
  border-top: 3px solid #EF6C1C;
  box-shadow: 0 -1px 20px 0 #D8491022;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 12px 18px 12px;
  transition: transform 0.30s cubic-bezier(.62,.12,.46,1.09);
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-content {
  max-width: 680px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-consent-banner p {
  color: #17213C;
  font-size: 1.05rem;
  flex-basis: 350px;
}
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-consent-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 12px;
  padding: 7px 16px;
  font-size: 1rem;
  font-weight: bold;
  background: #EF6C1C;
  color: #FFF8F2;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 #8C674733;
  transition: background 0.2s, color 0.18s;
}
.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus {
  background: #CF4417;
}
.cookie-consent-actions .settings-btn {
  background: #FFF8F2;
  color: #EF6C1C;
  border: 2px solid #CF4417;
  box-shadow: none;
}
.cookie-consent-actions .settings-btn:hover,
.cookie-consent-actions .settings-btn:focus {
  background: #FFD27F;
  color: #17213C;
}
/* ===== Cookie Modal Styles ===== */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  min-width: 340px; max-width: 96vw;
  background: #FFF8F2;
  border: 3px solid #FFD27F;
  box-shadow: 0 10px 48px 0 #CF441740;
  border-radius: 22px;
  z-index: 100000;
  padding: 32px 24px 22px 24px;
  display: none;
}
.cookie-modal.open {
  display: block;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #17213C;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal .category-title {
  font-weight: 700;
  color: #EF6C1C;
}
.cookie-modal .category-toggle {
  accent-color: #EF6C1C;
  width: 20px; height: 20px;
}
.cookie-modal .cookie-essential {
  font-style: italic;
  color: #8C6747;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: #FFD27F;
  color: #CF4417;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 #CF441730;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #CF4417;
  color: #FFD27F;
}

/* ========== Link & Interaction Micro-Effects ========== */
a, button, .cta-btn, .download-btn {
  transition: background 0.18s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}

/* ========== Utility Classes ========== */
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.gap-20 { gap: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ========== Responsive Design (Mobile First) ========== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper, .footer .content-wrapper {
    flex-wrap: wrap;
    gap: 18px;
  }
  .section {
    padding: 34px 10px;
  }
}
@media (max-width: 890px) {
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header .container, .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-wrapper,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact {
    margin-top: 22px;
  }
  .section {
    padding: 22px 3vw;
    margin-bottom: 36px;
  }
  .testimonial-card, .event-card, .card {
    padding: 15px 10px;
  }
  .features ul,
  .membership-benefits ul,
  .feature-highlights ul,
  .events-list ul,
  .impact-stories ul,
  .downloads ul, .external-links ul,
  .guides ul, .about-preview ul {
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
  }
  th, td {
    font-size: .97rem;
    padding: 7px 7px;
  }
}
@media (max-width: 620px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 1.45rem; }
}
@media (max-width: 515px) {
  html { font-size: 14px; }
  h1, .hero h1 { font-size: 1.22rem; }
  .container { padding: 0 2vw; }
}

/* ========== MOBILE NAV VISIBILITY ========== */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* ========== Accessibility & Focus ========== */
a:focus, button:focus, .cta-btn:focus, .download-btn:focus {
  outline: 2.5px dashed #17213C;
  outline-offset: 2px;
}

/* =============== THEME: VINTAGE RETRO EFFECTS =============== */
.pattern-bg {
  background-image: repeating-linear-gradient(135deg, #FFD27F 0 10px, #FFF8F2 10px 20px);
}
.section {
  background: repeating-linear-gradient(135deg, #FFF8F2, #FFF8F2 50px, #FFD27F 50px, #FFD27F 100px);
}
.card {
  border: 2px solid #FFD27F;
}
.event-card {
  border-style: dashed;
}
.hero {
  background: repeating-linear-gradient(135deg, #FFD27F, #FFD27F 38px, #FFF8F2 38px, #FFF8F2 76px);
}

/* ========== Highlights (Vintage Badge/Ribbon pattern) ========== */
.feature-item:before, .testimonial-card:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 28px;
  background: #EF6C1C;
  border-radius: 8px;
  margin-right: 10px;
  margin-left: -17px;
  vertical-align: middle;
}
@media (max-width: 500px) {
  .feature-item:before, .testimonial-card:before {
    display: none;
  }
}

/* === Section Headings Ribbon Effect === */
.section h2, .content-wrapper h2 {
  display: inline-block;
  background: #FFD27F;
  padding: 0 16px 0 10px;
  border-radius: 8px 22px 18px 6px;
  box-shadow: 0 2px 10px #EF6C1C22;
  border-left: 6px solid #EF6C1C;
}

/* ===== Micro-interaction on cards/links ===== */
.card, .event-card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .event-card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 36px 0 #D849101a;
  transform: translateY(-2px) scale(1.014);
}
.link::after {
  content: ' ➔';
  font-size: 1rem;
  color: #EF6C1C;
}
.link:hover::after { color: #CF4417; }

/* ===== Special: Testimonials/Reviews for Contrast ===== */
.testimonial-card blockquote {
  color: #1f2542;
  background: #FFF8F2;
  border-left: 5px solid #EF6C1C;
  font-size: 1.18rem;
}
.testimonials-preview .testimonial-card,
.testimonials .testimonial-card {
  background: #FFF8F2;
  color: #17213C;
  border: 2px solid #FFD27F;
}

/* ==== Misc: Hide elements utility (for js) ==== */
.d-none { display: none !important; }

/* ============= END OF STYLE.CSS ============= */
