/* === CSS RESET & NORMALIZE (MOBILE-FIRST) === */
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 {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #1A237E;
  background: #fff;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 12px;
}
a {
  color: #283593;
  text-decoration: none;
  transition: color .2s cubic-bezier(.6,-0.28,.74,.05);
}
a:hover, a:focus {
  color: #FBC02D;
  text-decoration: underline;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600&display=swap');
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  color: #283593;
}
h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #FBC02D;
}
h3 {
  font-size: 1.12rem;
  color: #4183c4;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  background: #F4F8FF;
  border-left: 6px solid #FBC02D;
  padding: 18px 24px;
  border-radius: 12px;
  font-style: italic;
  color: #263273;
  box-shadow: 0 2px 6px rgba(40,53,147,0.08);
  margin-bottom: 10px;
}
cite {
  display: block;
  margin-top: 8px;
  font-size: 0.98em;
  color: #293468;
  font-style: normal;
  font-weight: 600;
}

/* === CONTAINER & LAYOUTS === */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(251,192,45,0.04);
}

/* === PLAYFUL COLORS === */
:root {
  --color-primary: #283593;
  --color-secondary: #FBC02D;
  --color-accent: #FFFFFF;
  --color-accent-dark: #FFC107;
  --color-fun-purple: #E040FB;
  --color-fun-blue: #40C4FF;
  --color-bg-light: #FAFAFF;
  --color-bg-card: #F6F8FF;
  --color-grey: #E3E8F0;
}

/* === HEADER & NAV === */
header {
  background: var(--color-primary);
  color: #fff;
  width: 100vw;
  position: relative;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(40,53,147,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
header img {
  max-height: 56px;
  transition: transform .18s cubic-bezier(.6,-0.28,.74,.05);
}
header a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 13px;
  margin-left: 3px;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
header nav a {
  padding: 6px 14px;
  border-radius: 18px;
  transition: background .18s, color .18s, box-shadow .3s;
}
header nav a:hover, header nav a:focus {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(251,192,45,0.25);
}
.cta-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.14rem;
  border: none;
  border-radius: 40px;
  padding: 12px 36px 13px 36px;
  box-shadow: 0 2px 8px rgba(251,192,45,0.28);
  transition: background .18s, color .16s, transform .15s, box-shadow .15s;
  outline: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 14px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-fun-blue);
  color: #fff;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 4px 18px rgba(64,196,255,0.14);
  text-decoration: none;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(110deg, var(--color-secondary) 0%, var(--color-fun-blue) 40%, var(--color-bg-light) 75%);
  background-size: 200% 100%;
  background-position: left bottom;
  padding: 64px 0 44px 0;
  animation: heroGradient 6s cubic-bezier(.6,-0.33,.93,1.07) infinite alternate;
  margin-bottom: 0;
  border-bottom: 8px solid var(--color-fun-purple);
}
@keyframes heroGradient {
  0% { background-position: left bottom; }
  100% { background-position: right top; }
}
.hero .content-wrapper {
  text-align: left;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero h1 {
  color: #283593;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 10px;
  text-align: center;
  animation: fadePopIn .8s .2s both;
}
.hero p {
  font-size: 1.175rem;
  color: #512da8;
  margin-bottom: 24px;
  text-align: center;
  animation: fadePopIn .9s .3s both;
}
@keyframes fadePopIn {
  0% { opacity: 0; transform: translateY(24px) scale(.97);}
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* === MAIN LAYOUT & SECTION SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-card);
  padding: 26px 22px;
  border-radius: 18px;
  box-shadow: 0 1.5px 7px rgba(40,53,147,0.07);
  transition: box-shadow .18s, transform .15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 15px rgba(40,53,147,0.15);
  transform: translateY(-2px) scale(1.02);
}
.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: 20px;
  background: #fff;
  border: 2.5px dashed var(--color-secondary);
  box-shadow: 0 2px 12px rgba(64,196,255,0.08);
  border-radius: 22px;
  flex-direction: column;
  animation: fadePopIn .5s both;
}
.testimonial-card blockquote {
  background: none;
  border-left: 6px solid var(--color-fun-purple);
  box-shadow: none;
  color: #283593;
  font-size: 1.1em;
}
.stars-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 1em;
  color: #FBC02D;
}
.stars-rating img {
  width: 22px;
  height: 22px;
}
.stars-rating span {
  margin-left: 5px;
  color: #283593;
  font-weight: 700;
  font-size: .93em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  background: var(--color-bg-light);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0.5px 3.5px rgba(40,53,147,0.04);
}

/* === TEAM GRID === */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.team-member {
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: 0 1.5px 6px rgba(224,64,251,0.07);
  padding: 22px 17px;
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 12px;
  border: 1.5px solid var(--color-fun-purple);
  transition: box-shadow .18s, transform .16s;
}
.team-member:hover {
  box-shadow: 0 3px 14px rgba(224,64,251,0.15);
  transform: scale(1.025) rotate(-1deg);
}

/* === HIGHLIGHT CARDS (events) === */
.highlight-card {
  background: var(--color-fun-blue);
  color: #283593;
  border-radius: 18px;
  box-shadow: 0 4px 29px rgba(40,53,147,0.05);
  padding: 24px 16px 20px 18px;
  margin-bottom: 22px;
  position: relative;
  animation: fadePopIn .6s both;
}
.highlight-card h3 {
  color: #fff;
}
.highlight-card blockquote {
  margin: 18px 0 6px 0;
  color: #1A237E;
  font-size: 1em;
  background: rgba(255,255,255,0.14);
  border-left-color: #fff;
}

/* === CONTACT PAGE LISTS === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 30px 0;
  font-size: 1.08rem;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.contact-info img {
  width: 26px;
  height: 26px;
}
.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.social-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F6F8FF;
  padding: 7px 16px;
  border-radius: 18px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #512DA8;
  font-size: 1em;
}
.social-links img {
  width: 26px;
  height: 26px;
}

.faq-list li {
  margin-bottom: 22px;
  background: var(--color-bg-card);
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(64,196,255,0.07);
}
.faq-list h3 {
  margin-bottom: 7px;
  color: var(--color-fun-purple);
}

.map-placeholder {
  background: var(--color-grey);
  border-radius: 15px;
  padding: 18px 19px;
  margin-bottom: 18px;
  font-size: 1.04em;
  color: #283593;
}

/* === LEGAL PAGES === */
.legal {
  background: var(--color-bg-light);
  color: #222;
  border-radius: 24px;
  box-shadow: 0 1.5px 6px rgba(251,192,45,0.04);
}
.legal h1, .legal h2 {
  color: #283593;
}

/* === FOOTER === */
footer {
  background: #283593;
  color: #fff;
  padding: 40px 0 30px 0;
  border-top: 8px solid var(--color-secondary);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  max-height: 48px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
footer nav a {
  color: #fff;
  font-size: .98rem;
  background: rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 3.5px 16px;
  transition: background .21s, color .18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  text-shadow: 0 0 10px #fff4;
}
footer p {
  font-size: .98rem;
  color: #FFE082;
  text-align: center;
  margin-top: 12px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 964px) {
  header .container {
    gap: 7px;
  }
}
@media (max-width: 860px) {
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  header nav {
    margin-bottom: 0;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 5px;
  }
}

@media (max-width: 900px) {
  .team-list {
    gap: 16px;
  }
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.42rem;
  }
  .hero p {
    font-size: 1.06rem;
  }
  .section, section {
    margin-bottom: 44px;
    padding: 28px 8px;
  }
  .container {
    padding: 0 5px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .content-grid, .card-container, .team-list {
    flex-direction: column;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .testimonal-card {
    gap: 12px !important;
    padding: 16px !important;
  }
}

/* === MOBILE MENU FUNCTIONALITY === */
@media (max-width: 700px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 18px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 11px;
    font-size: 2.1em;
    width: 44px;
    height: 44px;
    z-index: 105;
    box-shadow: 0 3px 15px rgba(251,192,45,0.14);
    transition: background .18s, color .16s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--color-primary);
    color: var(--color-secondary);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: 0 7px 28px rgba(40,53,147,0.18);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.87,-0.41,.19,1.44);
    pointer-events: none;
    opacity: 0;
  }
  .mobile-menu.open {
    transform: translateX(0%);
    pointer-events: all;
    opacity: 1;
    box-shadow: 0 0 100px 40px rgba(40,53,147,0.19);
    animation: menuSlideIn .27s cubic-bezier(.7,-0.07,.69,1.36);
  }
  @keyframes menuSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0%); opacity: 1; }
  }
  .mobile-menu-close {
    background: var(--color-fun-purple);
    color: #fff;
    font-size: 1.9em;
    border: none;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    position: absolute;
    right: 28px;
    top: 24px;
    cursor: pointer;
    z-index: 102;
    box-shadow: 0 1.5px 7px rgba(224,64,251,0.13);
    transition: background .16s, color .16s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--color-primary);
    color: var(--color-secondary);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 104px;
    padding-left: 36px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.22rem;
  }
  .mobile-nav a {
    color: var(--color-primary);
    padding: 10px 0;
    background: none;
    border-radius: 6px;
    font-size: 1.2em;
    transition: background .13s, color .15s;
    margin-right: 0;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-secondary);
    color: #fff;
    padding-left: 5px;
    text-decoration: none;
  }
}

/* === COOKIE BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 5000;
  background: #fffbea;
  color: #222;
  box-shadow: 0 -3px 22px rgba(40,53,147,0.21);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 20px 15px;
  animation: fadePopIn .5s both;
  border-top: 4px solid var(--color-secondary);
}
.cookie-banner p {
  flex: 2 1 380px;
  font-size: 1rem;
  color: #283593;
  margin-bottom: 0;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 22px;
  padding: 9px 22px 10px 22px;
  margin: 0 6px;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(251,192,45,0.1);
  transition: background .15s, color .15s, transform .12s;
}
.cookie-btn.reject {
  background: var(--color-fun-purple);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-fun-blue);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 18px 7px;
  }
}

/* ====== COOKIE MODAL ====== */
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.open {
  display: flex;
  position: fixed;
  z-index: 6000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,53,147,0.32);
  align-items: center;
  justify-content: center;
  animation: fadeModal .2s both;
}
@keyframes fadeModal {
  from { opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  padding: 36px 24px 28px 28px;
  border-radius: 17px;
  box-shadow: 0 2px 48px rgba(64,196,255,0.13);
  width: 95vw;
  max-width: 400px;
  position: relative;
  text-align: left;
}
.cookie-modal h2 {
  color: #283593;
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 1.35rem;
}
.cookie-category-list {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.cookie-category-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.07em;
  color: #283593;
}
.cookie-toggle-switch {
  width: 40px;
  height: 24px;
  background: #E3E8F0;
  border-radius: 12px;
  position: relative;
  transition: background .2s;
  margin-left: auto;
  margin-right: 4px;
}
.cookie-toggle-switch.checked {
  background: var(--color-fun-blue);
}
.cookie-toggle-btn {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s, background .18s;
  box-shadow: 0 2px 7px rgba(40,53,147,0.12);
}
.cookie-toggle-switch.checked .cookie-toggle-btn {
  left: 18px;
  background: var(--color-fun-blue);
}
.cookie-modal .cookie-btn {
  margin: 0 7px 0 0;
  font-size: 1em;
  min-width: 98px;
  padding: 7px 18px;
}
.cookie-modal .cookie-btn.close {
  background: var(--color-fun-purple);
  color: #fff;
  float: right;
  font-size: 1.3em;
  width: 42px;
  height: 42px;
  margin: -28px -18px 0 0;
  border-radius: 13px;
  box-shadow: 0 1.5px 7px rgba(224,64,251,0.13);
  font-weight: normal;
  padding: 0;
  min-width: 0;
}
.cookie-modal .cookie-btn.close:hover {
  background: var(--color-secondary);
}

/* === THANK YOU PAGE === */
.thanks {
  background: linear-gradient(112deg, #40C4FF 2%, #E040FB 98%);
  background-size: 200% 100%;
  color: #fff;
  border-radius: 26px;
  box-shadow: 0 6px 34px rgba(40,53,147,0.1);
}
.thanks .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 480px;
}
.thanks h1 {
  color: #fff;
  margin-bottom: 18px;
}
.thanks a.cta-btn {
  margin-top: 24px;
}

/* === SCROLLBAR & MICROINTERACTIONS === */
::-webkit-scrollbar {
  width: 11px;
  background: #FAFAFF;
}
::-webkit-scrollbar-thumb {
  background: var(--color-fun-purple);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-fun-blue);
}

/* === LINKS, BUTTONS, MICRO-ANIMATIONS === */
a, button, .cta-btn, .cookie-btn {
  transition: color .18s, background .18s, box-shadow .21s, transform .16s;
}
button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px dashed var(--color-fun-purple);
  outline-offset: 2px;
}

li strong, .feature-item strong, .card strong {
  color: var(--color-primary);
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === UTILITIES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 7px !important; }
.mb-2 { margin-bottom: 13px !important; }
.mb-3 { margin-bottom: 22px !important; }
.mt-3 { margin-top: 22px !important; }
.hide { display: none !important; }
.center { text-align: center !important; }

/* === FORMS (if any) === */
input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid #BECCF5;
  background-color: #F8FAFF;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color .19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
}
label {
  color: #1A237E;
  font-weight: 600;
  font-size: 1em;
  margin-bottom: 4px;
}

/* === SPACING ENFORCEMENT FOR ALL FLEX LAYOUTS === */
.card-container > *, .content-grid > *, .team-list > *, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}

/* ========== RESPONSIVE TYPOGRAPHY SCALE ========== */
@media (min-width: 700px) {
  h1 { font-size: 2.48rem; }
  h2 { font-size: 1.58rem; }
  h3 { font-size: 1.2rem; }
}
@media (min-width: 1200px) {
  h1 { font-size: 3.0rem; }
}

/* =================== END =================== */

