/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FB;
  color: #1f2251;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}


/* === BASE TYPOGRAPHY === */
:root {
  --color-primary: #3B48A9;
  --color-primary-dark: #2a366e;
  --color-secondary: #EAA23B;
  --color-accent: #F5F7FB;
  --color-card-bg: #fff;
  --color-border: #e1e6ef;
  --color-shadow: rgba(59, 72, 169, 0.08);
  --color-dark-text: #23244a;
  --color-light-text: #fff;
  --color-muted: #8587a8;
  --shadow-strong: 0 8px 36px rgba(59, 72, 169, 0.12);
  --shadow-soft: 0 2px 10px rgba(59, 72, 169, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(.5,.15,.48,1.05);
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: linear-gradient(140deg, #f5f7fb 0%, #e6ecfc 100%);
  min-height: 100vh;
  color: var(--color-dark-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }
p, ul, ol { font-size: 1.05rem; color: var(--color-dark-text); margin-bottom: 14px; }
strong { color: var(--color-primary-dark); font-weight: 700; }
em { font-style: italic; color: var(--color-secondary); }

/* === GENERIC CONTAINER & LAYOUTS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* CRITICAL SPACING for .section */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  section {
    padding: 22px 8px;
    margin-bottom: 38px;
  }
}


/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: linear-gradient(90deg, #3B48A9 0%, #657bee 75%, #EAA23B 100%);
  color: var(--color-light-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 76px;
  position: relative;
  z-index: 20;
  box-shadow: 0 4px 18px rgba(59,72,169,0.12);
}
header > a img {
  max-height: 48px;
  margin-right: 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
}
nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 5px 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
nav a.cta-btn {
  background: linear-gradient(90deg, #EAA23B, #f5e07f);
  color: var(--color-primary);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(234,162,59,0.1);
  transition: var(--transition);
}
nav a.cta-btn:hover, .cta-btn:hover {
  background: linear-gradient(90deg, #f9c146, #ea8900);
  color: #fff;
}
nav a:hover:not(.cta-btn) {
  background: rgba(234,162,59, 0.13);
  color: #f9c146;
}

/* MOBILE HEADER CONTROLS */
.mobile-menu-toggle {
  display: none;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  margin-left: 16px;
  cursor: pointer;
  z-index: 30;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: #EAA23B;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(140deg, #3B48A9 30%, #EAA23B 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 30px;
  transform: translateX(-110vw);
  transition: transform 0.45s cubic-bezier(.86,0,.07,1);
  z-index: 1200;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 16px 0 20px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: #F9C146;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 2.1rem;
  padding: 10px 6px;
  border-radius: var(--radius-md);
  width: 100%;
  margin-bottom: 8px;
  background: none;
  transition: var(--transition);
}
.mobile-nav a:hover {
  background: rgba(255,255,255,0.07);
  color: #FFECB0;
}
.mobile-nav a.cta-btn {
  background: linear-gradient(93deg, #ffdc7e 0%, #EAA23B 55%);  
  color: var(--color-primary);
  margin-top: 16px;
  margin-bottom: 12px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 1.16rem;
  box-shadow: 0 4px 12px rgba(234,162,59,0.13);
}
.mobile-nav a.cta-btn:hover {
  background: linear-gradient(93deg, #FFD600 0%, #e3a63d 65%);
  color: #fff;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}


/* === HERO SECTIONS === */
section:first-of-type {
  background: linear-gradient(120deg, #eaf0ff 0%, #e6ecfc 60%, #fff1dd 100%);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}
@media (max-width: 700px) {
  section:first-of-type {
    border-radius: 0;
    box-shadow: none;
    padding-top: 32px;
  }
}


/* === FEATURES, CARDS & FLEX CONTAINERS === */
.feature-grid, .features, .card-container, .content-grid, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.feature-item {
  flex: 1 1 240px;
  max-width: 320px;
  background: var(--color-card-bg);
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 32px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform .17s, box-shadow .23s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item img {
  width: 53px;
  height: 53px;
}
.feature-item:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 10px 36px rgba(59,72,169,0.19);
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 26px 22px;
  position: relative;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(59,72,169, .11);
}

/* === TESTIMONIALS & CARDS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
.testimonial-card {
  background: #fff;
  color: #242354;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 22px 0 rgba(40,58,116,0.11);
  padding: 20px;
  flex: 1 1 290px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(59,72,169,.14);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #23244a;
  margin: 0 0 8px 0;
  text-align: center;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-secondary);
  align-self: flex-end;
}

/* === CTA BUTTONS === */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #EAA23B, #f9c850 60%, #e6ecfc 100%);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 32px;
  border: none;
  outline: none;
  border-radius: var(--radius-lg);
  font-size: 1.22rem;
  margin-top: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 11px rgba(234,162,59,0.09);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.cta-btn:focus, .cta-btn:hover {
  background: linear-gradient(80deg, #ffd87c 0%, #EAA23B 90%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(234,162,59,0.18);
}


/* === TABLES === */
table {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 2px 10px rgba(59, 72, 169, 0.07);
  margin: 22px 0;
  overflow: hidden;
}
thead {
  background: linear-gradient(85deg, #eaa23b 0%, #fff1dd 100%);
  color: var(--color-primary);
}
th, td {
  text-align: left;
  padding: 12px 13px;
  font-size: 1.01rem;
}
th {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}
tr:not(:last-child) td {
  border-bottom: 1px solid #e7e7ed;
}

tbody tr:hover {
  background: #f9fafc;
}

/* === BADGES === */
.workshop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 6px 0;
}
.workshop-badges span {
  background: linear-gradient(95deg, #e7ecfa 0%, #f2e1d1 100%);
  color: var(--color-primary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.92rem;
  padding: 5px 15px;
  border-radius: var(--radius-md);
  font-weight: 500;
  box-shadow: 0 2px 7px rgba(192,196,241, 0.11);
}


/* === UL/OL/LISTS === */
.text-section ul, .text-section ol {
  margin-left: 1em;
  margin-bottom: 12px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 10px;
  padding-left: 1.2em;
  position: relative;
  color: var(--color-dark-text);
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: linear-gradient(90deg, #EAA23B 40%, #3B48A9 100%);
  border-radius: 50%;
  margin-right: 10px;
  position: absolute;
  left: 0;
  top: 8px;
}
.text-section ol li:before {
  content: counter(li) '.';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.text-section ol {
  counter-reset: li;
}
.text-section ol li {
  counter-increment: li;
}

/* === CONTACT INFO === */
.contact-info ul, .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info li, .text-section li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.01rem;
}
.contact-info img, .text-section ul img {
  width: 22px;
  height: 22px;
}


/* === FOOTER === */
footer {
  background: linear-gradient(95deg, #3b48a9 30%, #eaa23b 100%);
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(59,72,169,0.07);
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color .19s;
  padding: 4px 0;
}
footer nav a:hover {
  color: #FFD600;
}
footer .social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  margin-top: 0px;
}
footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234,162,59,0.13);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: background .21s;
}
footer .social-links a:hover {
  background: #fff1dd;
}
footer span {
  font-size: 0.95rem;
  color: #ffe6b6;
  letter-spacing: 0.04em;
}


/* === MISC LAYOUTS (MANDATORY FLEX) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive flex direction adjustment */
@media (max-width: 768px) {
  .feature-grid,
  .testimonials,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-wrapper {
    align-items: stretch;
    padding: 0;
  }
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 1250px) {
  .container { max-width: 920px; }
}
@media (max-width: 1050px) {
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  header { flex-direction: row; }
}
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 8px; }
}
@media (max-width: 470px) {
  .cta-btn {
    font-size: 1.05rem;
    padding: 10px 16px;
  }
  header { min-height: 60px; padding: 0 7px; }
  footer { padding: 24px 0 10px 0; }
}

/* === INTERACTIVE STATES & TRANSITIONS === */
a, .cta-btn, button {
  transition: var(--transition);
}
a:active, .cta-btn:active { opacity: 0.89; }

input, textarea, select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 9px 14px;
  margin-bottom: 12px;
  font-size: 1.01rem;
  box-shadow: 0 1px 4px rgba(59,72,169,0.04);
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px #faeca2;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: linear-gradient(90deg, #3B48A9 0%, #EAA23B 100%);
  color: #fff;
  box-shadow: 0 -2px 24px rgba(59,72,169,0.13);
  padding: 20px 24px 15px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: slideInBanner .7s cubic-bezier(.6,0,.24,1);
}
@keyframes slideInBanner {
  from { transform:translateY(110%); opacity:0; }
  to   { transform:translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.02rem;
  text-align: center;
  margin-bottom: 6px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 9px 18px;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 1.5px 10px rgba(59,72,169,0.08);
  transition: var(--transition);
}
.cookie-banner .accept {
  background: linear-gradient(100deg, #ffa600, #ffc94e 80%);
  color: var(--color-primary);
}
.cookie-banner .accept:hover { background:#fffcc7; color: #e0960d; }
.cookie-banner .reject {
  background: rgba(255,255,255,0.11);
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .reject:hover {
  background: #fff1dd;
  color: var(--color-primary);
}
.cookie-banner .settings {
  background: #3B48A9;
  color: #fff;
  border: 1px solid #ffeec0;
}
.cookie-banner .settings:hover {
  background: #fff;
  color: #3B48A9;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(44,57,98,0.46);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg .37s linear;
}
@keyframes fadeInModalBg {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #333;
  border-radius: var(--radius-lg);
  max-width: 410px;
  width: 96vw;
  padding: 36px 25px 28px 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-strong);
  animation: fadeInModal .43s cubic-bezier(.53,.1,.46,1.65);
}
@keyframes fadeInModal {
  from { transform: scale(0.86); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 7px;
  font-size: 1.31rem;
}
.cookie-modal .category {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 0.8em;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  width:20px; height:20px; accent-color: var(--color-secondary);
  margin-right:4px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: var(--color-secondary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* === THANK YOU / SPECIAL PAGES === */
.thankyou {
  background: linear-gradient(110deg, #eaa23b 0%, #f7eebb 100%);
  color: var(--color-primary);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 40px 10vw;
  margin: 38px 0 21px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
}

/* === MAP/LOCATION HINTS === */
.map-location {
  background: #fffbe5;
  border: 1px solid #ffe8b1;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: var(--color-primary-dark);
  box-shadow: 0 1px 7px rgba(234,162,59,0.12);
  padding: 10px 12px;
  margin: 13px 0 11px 0;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.align-center { align-items: center; justify-content: center; }
.align-left { align-items: flex-start; justify-content: flex-start; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }


/* === SCROLLBAR STYLES (MODERN) === */
::-webkit-scrollbar {
  width: 10px;
  background: #e6ecfc;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #eaa23b 0%, #3B48A9 100%);
  border-radius: 7px;
}

/* === FOCUS RINGS === */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #EAA23B;
  outline-offset: 3px;
}

/* === FONT IMPORTS (for self-hosting, use actual files) === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* === END === */
