/* =============================
   CSS RESET & BASELINE
============================= */
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,
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 {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #fff;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FAFAFB;
  color: #20213F;
  min-height: 100vh;
}
img {
  vertical-align: middle;
  max-width: 100%;
  border: 0;
}
a {
  color: #232D4F;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #E6B400;
  outline-offset: 2px;
}
a:hover, a:active {
  color: #E6B400;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}
/* =============================
   BRAND FONTS
============================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #232D4F;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 800; }
h4 { font-size: 1.1rem; margin-bottom: 11px; }
p, li, span, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2a3152;
}
strong {font-weight: 800;}

/* =============================
   CONTAINERS & SECTIONS
============================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(35,45,79,0.07);
}
.content-wrapper {
  width: 100%;
  margin: 0 auto 28px auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* =============================
   CREATIVE ARTISTIC STYLE COLORS
============================= */
:root {
  --color-primary: #232D4F;
  --color-secondary: #E6B400;
  --color-accent: #F3F4F6;
  --color-violet: #6741D9;
  --color-rose: #E63946;
  --color-cyan: #4ECDC4;
  --shadow-card: 0 4px 24px rgba(103,65,217,0.08);
  --radius-xl: 24px;
  --radius-md: 16px;
  --radius-xs: 6px;
}

/* Vibrant artistic background overlays - for hero + CTA */
.hero, .cta {
  background: linear-gradient(120deg, #E6B400 0%, #4ECDC4 60%, #6741D9 100%);
  background-size: 200% 200%;
  animation: creativeMove 12s linear infinite alternate;
  color: #232D4F;
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
  padding: 60px 0 50px 0;
}
@keyframes creativeMove {
  0% { background-position: 0% 40%; }
  100% { background-position: 100% 60%; }
}
.hero h1, .cta h2 {
  color: #232D4F;
  text-shadow: 0 2px 0 #FFE 
               , 0 8px 24px rgba(35,45,79,0.06);
}

/* ===============================
   NAVIGATION BAR (DESKTOP & MOBILE)
=============================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  padding: 18px 20px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav a {
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #232D4F;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .footer-nav a:hover {
  background: var(--color-secondary);
  color: #232D4F;
}
.main-nav .cta-button {
  background: #232D4F;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  margin-left: 26px;
  box-shadow: 0 4px 16px rgba(103,65,217,.08);
  transition: background 0.2s, transform 0.16s;
}
.main-nav .cta-button:hover {
  background: #E6B400;
  color: #232D4F;
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 8px 12px;
  margin-left: auto;
  border-radius: 7px;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E6B400;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 45, 79, 0.94);
  color: #fff;
  z-index: 2002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 24px 28px 0px 0;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #E6B400;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 38px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  transition: background 0.21s;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: #232D4F;
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 8px 32px rgba(103,65,217,0.09);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
}
.hero .content-wrapper {
  background: rgba(255,255,255,0.90);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 18px rgba(230,180,0,0.11);
  padding: 26px 36px;
  margin: 0 auto;
  max-width: 680px;
  align-items: flex-start;
}
.hero .cta-button {
  margin-top: 18px;
}

/* ===============================
   FEATURE CARDS & GRIDS
=============================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 22px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.23s, transform 0.17s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(230,180,0,0.16);
  transform: translateY(-2px) scale(1.013);
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff7df;
  box-shadow: 0 2px 6px rgba(230,180,0,0.08);
}

/* card, card-container, testimonial-card patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  padding: 30px 24px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,45,79,0.13);
  transform: translateY(-2px);
}

/* ===============================
   TESTIMONIALS/QUOTES CARDS
=============================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px rgba(230,180,0,0.07);
  padding: 30px 28px 22px 28px;
  margin-bottom: 20px;
  max-width: 520px;
  border: 2px solid #E6B40011;
  color: #232D4F;
}
.testimonial-card p {
  font-size: 1.14rem;
  line-height: 1.6;
  color: #131525;
  margin-bottom: 8px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-style: italic;
}
.testimonial-card span {
  color: #6741D9;
  font-size: 1rem; 
  font-weight: 800;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: center;
  display: block;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 12px;
}

/* ===============================
   CUSTOM LISTS & OUTCOMES
=============================== */
.student-outcomes, .content-wrapper ul {
  margin-top: 18px;
  margin-bottom: 22px;
}
.student-outcomes li, .content-wrapper ul li {
  font-size: 1rem;
  line-height: 1.48;
  color: #232D4F;
  margin-bottom: 9px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  position: relative;
  padding-left: 1.3em;
}
.student-outcomes li:before, .content-wrapper ul li:before {
  content: '★';
  color: #E6B400;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
}

/* ===============================
   CTA BUTTONS & INTERACTIONS
=============================== */
.cta-button,
button.cta-button {
  background: #E6B400;
  color: #232D4F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  padding: 13px 36px;
  margin-top: 16px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 22px rgba(249,222,33,0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  text-shadow: 0 1px rgba(255,255,255,0.13);
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #232D4F;
  color: #fff;
  transform: translateY(-2px) scale(1.028);
}

/* ===============================
   CONTENT GRIDS AND FLEX SPACING
=============================== */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============================
   FOOTER
=============================== */
footer {
  margin-top: 60px;
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 0 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 26px;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-info p {
  margin-bottom: 7px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 8px 0 0 0;
}
.footer-nav a {
  color: #E6B400;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.16s;
  border-radius: 5px;
  padding: 6px 12px;
}
.footer-nav a:hover {
  color: #fff;
  background: #E6B400;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
=============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232D4F;
  color: #fff;
  padding: 22px 20px 20px 20px;
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  box-shadow: 0 -4px 24px rgba(35,45,79,0.13);
  font-size: 1rem;
  justify-content: center;
  animation: cookieSlideUp 0.88s cubic-bezier(.18,1.3,.72,1) 1;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  flex: 1 1 220px;
  min-width: 120px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  background: #E6B400;
  color: #232D4F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 9px 24px;
  margin-left: 6px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, transform 0.11s;
  cursor: pointer;
  min-width: 120px;
  margin-bottom: 6px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner button:hover {
  background: #fff;
  color: #232D4F;
  transform: translateY(-1px) scale(1.03);
}
.cookie-banner .cookie-btn.reject {
  background: #E63946;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #232D4F;
  color: #fff;
}
.cookie-banner .cookie-btn.settings{
  background: #4ECDC4;
  color: #232D4F;
}
.cookie-banner .cookie-btn.settings:hover {
  background:#fff;
  color: #6741D9;
}
/* Cookie Modal Overlay */
#cookieModal {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(35,45,79,0.77);
  z-index: 4001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
#cookieModal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #232D4F;
  border-radius: var(--radius-xl);
  max-width: 420px;
  width: 98vw;
  box-shadow: 0 10px 44px rgba(103,65,217, 0.18);
  padding: 38px 30px 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  animation: cookieModalZoom 0.32s ease-in;
  position: relative;
}
@keyframes cookieModalZoom {
  from { transform: scale(0.86); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h4 {
  color: #6741D9;
}
.cookie-categories, .cookie-modal-content ul {
  list-style: none;
  margin: 0; padding: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  width: 37px;
  height: 20px;
  background: #E6B40022;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  margin-left: 3px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 37px;
  height: 20px;
  position: absolute;
  left:0;top:0;z-index:2;
  cursor: pointer;
}
.cookie-toggle span {
  display: block;
  height: 16px;
  width: 16px;
  background: #6741D9;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.14s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 19px;
  background: #E6B400;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.7rem;
  background: transparent;
  color: #6741D9;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}
.cookie-modal-close:focus {
  outline: 2px solid #E6B400;
}

/* ===============================
   ANIMATIONS & MICRO-INTERACTIONS
=============================== */
.card, .feature-grid > div, .testimonial-card, .cta-button, .cookie-banner button {
  transition: box-shadow 0.22s, background 0.16s, color 0.16s, transform 0.11s;
}
a, button, .cta-button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-close {
  transition: color 0.15s, background 0.18s, transform 0.12s;
}

/* ===============================
   MISC FORMS & ACCESSIBILITY
=============================== */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border-radius: var(--radius-xs);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #E6B400;
}
::-webkit-input-placeholder { color: #9CA4B4; }
::-moz-placeholder { color: #9CA4B4; }
:-ms-input-placeholder { color: #9CA4B4; }
::placeholder { color: #9CA4B4; }

/* ===============================
   RESPONSIVE / MOBILE FIRST
=============================== */
@media (max-width: 1020px) {
  .container {
    padding: 0 15px;
  }
  .feature-grid { gap: 20px; }
}
@media (max-width: 790px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div {
    max-width: 100%;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .footer-info {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .footer-logo {
    margin-bottom: 4px;
  }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  .hero, .cta {
    padding: 45px 0 32px 0;
  }
  .hero .content-wrapper, .cta .content-wrapper {
    padding: 20px 10px;
    max-width: 100%;
  }
  .section {
    margin-bottom: 32px;
    padding: 26px 9px;
    border-radius: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .card, .feature-grid > div, .testimonial-card {
    padding: 18px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px 14px 8px;
    font-size: 0.97rem;
    gap: 12px;
  }
  .cookie-banner button { min-width: 88px; font-size: 0.93rem; }
  .cookie-modal-content { padding: 19px 7vw 19px 7vw; }
}
@media (max-width: 460px) {
  .hero .content-wrapper, .cta .content-wrapper {
    padding: 9px 0px;
  }
  .mobile-nav a {
    font-size: 1.01rem;
    padding: 9px 3px;
    margin: 0;
  }
}

/* ===============================
   FLEXBOX PATTERNS: spacing & alignment
=============================== */
/* Already covered above but for clarity */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-grid { flex-direction: column; gap: 16px; }
}
