/* 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;
  background: transparent;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #FAFAF9;
  color: #1C2735;
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
a {
  color: #243D63;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #EA9955;
  text-decoration: underline;
}
ol, ul {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
  background: transparent;
}

/* Brand variables */
:root {
  --clr-primary: #243D63;
  --clr-secondary: #EA9955;
  --clr-accent: #F5F5F5;
  --clr-bg: #FAFAF9;
  --clr-card: #FFFFFF;
  --clr-border: #DDDDD8;
  --clr-shadow: rgba(36,61,99,0.08);
  --clr-text-main: #1C2735;
  --clr-text-muted: #545A67;
  --clr-success: #318060;
  --clr-warning: #B17A3E;
  --clr-error: #B14E3B;
  --font-display: "Georgia", "Times New Roman", Times, serif;
  --font-body: "Georgia", "Times New Roman", Times, serif;
  --transition-main: all 0.23s cubic-bezier(.4,0,.2,1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px var(--clr-shadow);
  --shadow-md: 0 4px 16px var(--clr-shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-primary);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.18;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.36rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.12rem;
}
p, li, .body-text {
  font-family: var(--font-body);
  color: var(--clr-text-main);
  font-size: 1rem;
  line-height: 1.6;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: var(--clr-primary);
}

/* Layout containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #F5F5F5 70%, #FDF6F0 100%);
  padding-top: 44px;
  padding-bottom: 44px;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 640px;
  gap: 13px;
}
.hero h1 {
  color: var(--clr-primary);
  font-size: 2.7rem;
  font-family: var(--font-display);
  line-height: 1.12;
}
.hero p {
  color: var(--clr-text-muted);
  font-size: 1.15rem;
}

/* Buttons */
.cta-btn, .cta-btn:visited {
  display: inline-block;
  appearance: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 32px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px var(--clr-shadow);
  letter-spacing: 0.01em;
  transition: background 0.23s, box-shadow 0.23s, transform 0.17s;
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--clr-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px var(--clr-shadow);
  text-decoration: none;
}


/* NAVIGATION */
header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  z-index: 102;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border 0.18s;
  background: transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--clr-secondary);
  border-bottom: 2px solid var(--clr-secondary);
}
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--clr-primary);
  margin-left: 14px;
  background: none;
  border: none;
  display: none;
  z-index: 110;
  transition: color 0.18s, background 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--clr-secondary);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: 0 4px 38px rgba(36,61,99,0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  transition: opacity 0.23s, transform 0.33s cubic-bezier(.56,.01,.34,.99);
  z-index: 120;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--clr-primary);
  align-self: flex-end;
  margin: 24px 24px 0 0;
  padding: 5px 14px;
  background: none;
  border: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--clr-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  padding: 0 46px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-primary);
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--clr-border);
  transition: color 0.17s, background 0.14s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--clr-secondary);
  background: #F9EFE6;
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 32px;
  padding-bottom: 32px;
  background: #F5F5F5;
  border-top: 1px solid var(--clr-border);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--clr-primary);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--clr-secondary);
  text-decoration: underline;
}
.footer-info {
  font-size: 0.96rem;
  color: var(--clr-text-muted);
  text-align: center;
}

/* GENERAL CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: var(--clr-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  padding: 26px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.02);
}

/* FLEXBOX LAYOUTS AS REQUESTED */
.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;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--clr-secondary);
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.01);
}
.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 12px;
  font-size: 1rem;
  color: var(--clr-primary);
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  padding: 12px 0 2px 0;
}
.feature-grid > div {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 28px 22px 20px 22px;
  flex: 1 1 256px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.018);
}
.feature-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}

/* Event Cards & Event Lists */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.event-list li {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 12px;
  border-left: 4px solid var(--clr-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event-list strong {
  font-size: 1.13rem;
  font-family: var(--font-display);
}
.tag {
  display: inline-block;
  background: var(--clr-accent);
  color: var(--clr-primary);
  font-size: 0.89rem;
  padding: 3px 12px;
  margin-left: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  font-family: var(--font-body);
}
.event-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.event-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  flex: 1 1 292px;
  min-width: 260px;
  max-width: 342px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
}
.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.018);
}

/* Service List */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 16px 0 0 0;
}
.service-list li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px 14px 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-list span {
  color: var(--clr-secondary);
  font-weight: 600;
  font-size: 0.99rem;
}

/* Team List */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 10px;
}
.team-member {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 22px 16px 16px 16px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.team-member h3 {
  margin-bottom: 9px;
  font-size: 1.13rem;
}
.team-member p {
  font-size: 0.99rem;
  color: var(--clr-text-muted);
}


/* Partner Logos */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
}
.partner-logos li {
  width: 80px;
  text-align: center;
}
.partner-logos img {
  display: block;
  max-width: 80%;
  margin: 0 auto;
  filter: grayscale(25%);
  transition: filter 0.2s;
}
.partner-logos img:hover {
  filter: none;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list li {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Legal Section */
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.legal-section h1, .legal-section h2 {
  color: var(--clr-primary);
}

/* Numbers, Steps Section */
.numbers ul, .steps-section ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  margin-left: 22px;
}
.numbers ul li, .steps-section ol li {
  font-size: 1.06rem;
  color: var(--clr-primary);
  margin-bottom: 6px;
}
.steps-section strong {
  color: var(--clr-secondary);
}

/* Contact Info */
.contact-info p {
  margin-bottom: 7px;
  font-size: 1rem;
}
.contact-info a {
  color: var(--clr-primary);
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg,#FFF 70%,#FDF6F0 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  padding: 38px 20px 46px 20px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-section h2 {
  color: var(--clr-secondary);
}

/* Thank You Section */
.thankyou {
  padding: 70px 0 50px 0;
  margin-bottom: 40px;
  text-align: center;
}
.thank-you-message {
  font-size: 1.16rem;
  color: var(--clr-success);
  margin-bottom: 20px;
  font-weight: 500;
}

/* Event Filter */
.event-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.event-filter ul {
  display: flex;
  gap: 10px;
}
.event-filter li {
  background: var(--clr-accent);
  color: var(--clr-primary);
  border-radius: var(--radius-lg);
  padding: 5px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid var(--clr-border);
  transition: background 0.17s, color 0.15s, border 0.15s;
}
.event-filter li:hover, .event-filter li.active {
  background: var(--clr-secondary);
  color: #fff;
  border: 1px solid var(--clr-secondary);
}

/* Tag colors */
.tag {
  color: var(--clr-primary);
  background: var(--clr-accent);
  border: 1px solid var(--clr-border);
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: var(--clr-primary);
  box-shadow: 0 -6px 26px -10px rgba(36,61,99,0.17);
  border-top: 1px solid var(--clr-border);
  padding: 20px 2vw;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.7s cubic-bezier(.39,.58,.57,1) both;
  transition: transform 0.33s cubic-bezier(.42,0,.58,1), opacity 0.23s;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
  margin: 0 0 0 0;
  box-shadow: 0 1px 3px rgba(36,61,99,0.07);
}
.cookie-btn.accept {
  background: var(--clr-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--clr-secondary);
  border: 1px solid var(--clr-secondary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--clr-accent);
  color: var(--clr-primary);
  border: 1px solid var(--clr-border);
}
.cookie-btn.settings:hover {
  background: var(--clr-secondary);
  color: #fff;
  border: 1px solid var(--clr-secondary);
}

.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,61,99,0.22);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px 0 rgba(36, 61, 99, 0.15);
  max-width: 400px;
  width: 94vw;
  padding: 34px 28px 28px 28px;
  position: relative;
  z-index: 10002;
  font-family: var(--font-body);
  animation: cookieModalPopIn 0.32s cubic-bezier(0.37,1.34,0.35,1.1) both;
}
@keyframes cookieModalPopIn {
  from { opacity: 0; transform: translateY(70px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--clr-primary);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--clr-primary);
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 44px;
  background: var(--clr-border);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.22s;
}
.cookie-modal .cookie-toggle[data-enabled="true"] {
  background: var(--clr-secondary);
}
.cookie-modal .toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
  box-shadow: 0 2px 6px rgba(36,61,99,0.08);
}
.cookie-modal .cookie-toggle[data-enabled="true"] .toggle-knob {
  left: 19px;
}
.cookie-modal .cookie-desc {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
  margin-left: 5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 24px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; right: 18px; top: 18px;
  font-size: 1.4rem;
  color: var(--clr-secondary);
  border: none;
  background: none;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.1rem; }
  .feature-grid, .card-container, .event-cards, .team-list, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  header .container {
    gap: 12px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
  .cta-section {
    padding: 28px 8px 34px 8px;
    margin-bottom: 24px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
  .hero {
    padding: 28px 0 28px 0;
    margin-bottom: 40px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .card-container, .event-cards, .team-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card, .feature-grid > div, .event-card, .card, .team-member {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.12rem; }
  .hero h1 { font-size: 1.33rem; }
  .footer-info { font-size: 0.93rem; }
  .event-filter span { font-size: 0.95rem; }
  .section { padding: 18px 4px; }
}

/* Accessibility & Focus Outlines */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 1px;
  border-radius: 5px;
}

/* Miscellaneous */
::-webkit-input-placeholder { color: #767676; }
::-moz-placeholder { color: #767676; }
:-moz-placeholder { color: #767676; }
:-ms-input-placeholder { color: #767676; }
::placeholder { color: #767676; opacity: 1; }


/* Utility */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-20 { gap: 20px !important; }

/* Custom Scrollbar for modal/menu */
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--clr-secondary) var(--clr-border);
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: var(--clr-border);
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: var(--clr-secondary);
  border-radius: 10px;
}
