/* RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFFDF6;
  color: #21446E;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

:root {
  --primary: #21446E;
  --secondary: #ffdd76;
  --accent: #ffffff;
  --neutral: #FFFDF6;
  --fun-cyan: #3bd7e7;
  --fun-pink: #fa4299;
  --fun-green: #56ecb0;
  --fun-orange: #ffa321;
  --shadow: 0 2px 18px 0 rgba(33, 68, 110, 0.08);
  --radius: 22px;
  --gap-base: 20px;
  --gap-lg: 30px;
  --gap-xl: 40px;
}

/*  TYPOGRAPHY  */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.12;
}

h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--fun-pink);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
  font-size: 1rem;
}

li {
  margin-bottom: 8px;
}

p {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 13px;
}

strong, b {
  font-weight: 700;
}

a {
  color: var(--fun-pink);
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: var(--fun-cyan);
  text-decoration: underline;
}

hr {
  border: none;
  border-bottom: 1.5px dashed var(--fun-pink);
  margin: 16px 0 22px 0;
}

/* LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-base);
}
.text-section {
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-container,
.feature-grid,
.course-list,
.team-list,
.resource-list,
.seminar-list,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card-container {
  margin-bottom: 0;
}
.course-list, .seminar-list, .resource-list, .service-list {
  flex-direction: column;
  gap: 18px;
}

.card, .feature-card, .course-card, .team-member, .testimonial-card {
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.card:hover, .feature-card:hover, .course-card:hover, .team-member:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 32px 0 rgba(58, 85, 130, 0.12);
}

.feature-card {
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 10px;
  box-shadow: var(--shadow);
  border: 3px solid var(--fun-cyan);
  background: rgb(251,255,255);
  transition: border 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border: 3px solid var(--fun-pink);
  box-shadow: 0 6px 26px 0 rgba(250, 66, 153, 0.09);
}

.feature-card img {
  height: 46px;
  width: 46px;
  margin-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.faq-list, .service-list, .resource-list, .team-list, .seminar-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-list li,
.seminar-list li,
.resource-list li,
.service-list li {
  background: #f9f3f9;
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  border-left: 7px solid var(--fun-orange);
  margin-bottom: 10px;
  position: relative;
  transition: box-shadow .18s;
}
.faq-list li:hover, .service-list li:hover, .resource-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(250, 66, 153, 0.07);
}

.topic-tag {
  display: inline-block;
  background: var(--fun-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 3px 18px 3px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: .5px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, var(--secondary) 40%, var(--fun-cyan) 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 38px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 36px 0 rgba(33, 68, 110, .07);
  position: relative;
  z-index: 2;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* CTA BANNER / SECTION */
.cta {
  background: var(--fun-pink);
  padding: 44px 18px;
  margin-bottom: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.cta h2 {
  color: var(--accent);
}
.cta .cta-btn {
  margin-top: 18px;
}

/* BUTTONS & CTA */
.cta-btn, .enroll-btn, .download-btn, .register-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--fun-cyan);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 18px 0 rgba(59, 215, 231, .11);
  outline: none;
  transition: background .16s, color .16s, box-shadow .16s, transform .11s;
  margin-right: 10px;
  margin-top: 7px;
  margin-bottom: 7px;
  display: inline-block;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .enroll-btn:hover, .download-btn:hover, .register-btn:hover {
  background: var(--fun-pink);
  color: var(--accent);
  transform: scale(1.06) rotate(-1.5deg);
  box-shadow: 0 5px 40px 0 rgba(250, 66, 153, 0.19);
  text-decoration: none;
}
.cta-btn.secondary {
  background: var(--fun-green);
  color: var(--primary);
}
.cta-btn.secondary:hover {
  background: var(--fun-cyan);
  color: var(--primary);
}

.enroll-btn, .download-btn, .register-btn {
  background: var(--fun-green);
  color: var(--primary);
  padding: 10px 27px;
  font-size: 1rem;
  font-weight: 700;
}
.enroll-btn:hover, .download-btn:hover, .register-btn:hover {
  background: var(--fun-orange);
  color: var(--accent);
}

/* HEADER NAVIGATION */
header {
  padding: 13px 0 0 0;
  background: var(--accent);
  box-shadow: 0 0 16px 0 rgba(33,68,110,0.05);
  z-index: 1999;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  background: none;
  padding: 7px 14px;
  border-radius: 19px;
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--fun-cyan);
  color: var(--accent);
}

/* MOBILE MENU (HAMBURGER NAV)  */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--fun-pink);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  padding: 7px 15px 9px 15px;
  cursor: pointer;
  z-index: 3004;
  box-shadow: 0 3px 18px 0 rgba(250, 66, 153, 0.09);
  margin-left: 16px;
  transition: background 0.11s, color 0.11s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--fun-cyan);
  color: var(--primary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--accent);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 4000;
  box-shadow: 0 6px 36px 0 rgba(33,68,110,0.19);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity .18s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--fun-pink);
  color: var(--accent);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin: 20px 28px 0 0;
  cursor: pointer;
  z-index: 4010;
  transition: background 0.11s, color 0.11s;
  box-shadow: 0 2px 18px 0 rgba(250,66,153,0.13);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--fun-cyan);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 26px;
  gap: 4px;
  padding-left: 38px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 13px 0 13px 0;
  text-decoration: none;
  transition: color .12s, background .12s, transform .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--fun-pink);
  background: var(--secondary);
  transform: translateX(4px);
}

/* Show/hide nav for mobile/desktop */
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* FOOTER */
footer {
  margin-top: 28px;
  background: var(--primary);
  color: var(--accent);
  padding: 32px 0 22px 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  flex-direction: row;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-left img {
  height: 38px;
  width: auto;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-nav a {
  color: var(--fun-cyan);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 3px;
  transition: color .12s;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: var(--fun-green);
}
.footer-contact span, .footer-contact a {
  color: var(--accent);
  font-size: 1rem;
}
footer address {
  color: var(--secondary);
  font-style: normal;
  font-size: 0.98rem;
  margin-top: 3px;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--secondary);
  color: #282532;
  font-size: 1.02rem;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px 0 rgba(255,221,118,0.10);
  min-width: 250px;
  flex: 1 1 240px;
  max-width: 320px;
  margin-bottom: 20px;
  border-left: 7px solid var(--fun-pink);
  position: relative;
  z-index: 1;
  transition: box-shadow .15s, transform .11s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px 0 rgba(33,68,110,0.15);
  transform: scale(1.04) rotate(-1.5deg);
}
.testimonial-card p {
  color: #282532;
  font-size: 1.05rem;
  margin-bottom: 7px;
  font-style: italic;
}
.client-name {
  font-weight: bold;
  color: var(--fun-pink);
  letter-spacing: 0.2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.rating {
  color: var(--fun-orange);
  margin-top: 0px;
}

/* PRICING & TAGS */
.course-price, .service-price {
  font-weight: bold;
  background: var(--fun-cyan);
  color: var(--primary);
  border-radius: 999px;
  padding: 3px 13px 3.5px 11px;
  font-size: 1.02rem;
  display: inline-block;
  margin-bottom: 5px;
  letter-spacing: .6px;
}

/* FEATURE/LIST PATTERNS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD VARIANTS */
.course-card {
  border-left: 7px solid var(--fun-green);
  background: var(--accent);
  transition: border .17s, box-shadow .13s;
}
.course-card:hover {
  border-left: 7px solid var(--fun-cyan);
  box-shadow: 0 9px 29px 0 rgba(59,215,231,0.11);
}

.team-member {
  border-left: 7px solid var(--fun-green);
  background: var(--neutral);
  min-width: 220px;
}

/* FORM ELEMENTS (future use) */
input, textarea, select {
  font-family: inherit;
  border: 2px solid var(--fun-cyan);
  border-radius: 10px;
  padding: 9px 13px;
  margin-bottom: 15px;
  font-size: 1rem;
  background: #fff;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 2px solid var(--fun-pink);
}

/* MEDIA QUERIES: RESPONSIVE DESIGN */
@media (max-width: 1160px) {
  .container { padding: 0 7px; }
}
@media (max-width: 991px) {
  .hero { padding-top: 36px; padding-bottom: 36px; }
  .footer-left img { height: 32px; }
  .container { padding: 0 2vw; }
  footer .container { flex-direction: column; gap: 11px; }
  .footer-nav { flex-direction: row; gap: 11px; }
}
@media (max-width: 768px) {
  .container, .content-wrapper, .section, .card-container, .feature-grid, .testimonial-slider, .team-list, .resource-list, .course-list, .seminar-list, .faq-list, .service-list {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  .card, .feature-card, .testimonial-card, .course-card, .team-member, .faq-list li, .service-list li { min-width: 95% !important; }
  .hero { padding-top: 25px; padding-bottom: 28px; }
  .cta { padding: 26px 6px; }
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.13rem; }
}
@media (max-width: 510px) {
  .logo img { height: 25px; }
  .footer-left img { height: 20px; }
  .main-nav a, .footer-nav a { font-size: 0.96rem; }
}

/* ANIMATIONS & MICROINTERACTIONS */
@keyframes playful-bounce-y {
  0% { transform: translateY(0); }
  15% { transform: translateY(-8px); }
  30% { transform: translateY(0); }
}
@keyframes playful-bounce-x {
  0% { transform: translateX(0); }
  15% { transform: translateX(6px); }
  30% { transform: translateX(0); }
}
.cta-btn:hover, .enroll-btn:hover, .download-btn:hover, .register-btn:hover {
  animation: playful-bounce-y 0.25s;
}
.main-nav a:hover {
  animation: playful-bounce-x 0.24s;
}
.feature-card img {
  transition: transform .22s;
}
.feature-card:hover img {
  transform: rotate(-8deg) scale(1.10);
  filter: drop-shadow(0 1px 6px var(--fun-cyan));
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--fun-cyan);
  color: var(--primary);
  font-size: 1rem;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -4px 30px 0 rgba(33,68,110,0.16);
  padding: 18px 15px 18px 24px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .22s, transform .32s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-btn {
  background: var(--fun-pink);
  color: var(--accent);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  padding: 8px 18px;
  margin-left: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform .09s;
  box-shadow: 0 1px 8px 0 rgba(250,66,153,.07);
}
.cookie-banner .cookie-btn.cookie-reject {
  background: var(--fun-green);
  color: var(--primary);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--fun-cyan);
  color: var(--primary);
  border: 1.5px solid var(--fun-pink);
}
.cookie-banner .cookie-btn:hover {
  background: var(--fun-orange);
  color: var(--accent);
  transform: scale(1.05);
}
.cookie-banner p {
  margin-bottom: 0;
  color: var(--primary);
  font-size: 1rem;
}

/* COOKIE MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,68,110,0.35);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s;
}
#cookie-modal.visible { display: flex; }
#cookie-modal .cookie-modal-content {
  background: var(--accent);
  color: var(--primary);
  border-radius: 28px;
  max-width: 430px;
  padding: 36px 30px 26px 30px;
  z-index: 9002;
  box-shadow: 0 10px 38px 0 rgba(33,68,110,0.18);
  position: relative;
}
#cookie-modal h2 {
  color: var(--fun-pink);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
#cookie-modal ul {
  margin-bottom: 16px;
  padding-left: 18px;
}
#cookie-modal .close-modal-btn {
  position: absolute;
  top: 19px;
  right: 23px;
  background: var(--fun-pink);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  font-size: 1.23rem;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: background .13s, color .13s; 
  box-shadow: 0 1px 8px 0 rgba(250,66,153,.09);
}
#cookie-modal .close-modal-btn:focus, #cookie-modal .close-modal-btn:hover {
  background: var(--fun-cyan);
  color: var(--primary);
}
.cookie-pref-option {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.cookie-pref-label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--fun-cyan);
  border-radius: 22px;
  transition: .2s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--fun-green);
  border-radius: 50%;
  transition: .2s;
  border: 1.5px solid var(--primary);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--fun-pink);
}
.toggle-switch input:checked + .toggle-slider:before {
  background: var(--fun-pink);
  left: 19px;
}
/* Essential cookies disabled style */
.toggle-switch input[disabled]+.toggle-slider {
  opacity: .56;
  border: 1px dashed var(--primary);
}

@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}

/* UTILITIES */
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* MARGINS & GAPS */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.gap-24 { gap: 24px; }
.gap-18 { gap: 18px; }

/* OVERLAY & Z-INDEX LAYS FOR HEADER & BANNER */
header, .mobile-menu, .cookie-banner, #cookie-modal { z-index: 1000; }

/* ACCESSIBILITY & FOCUS */
:focus-visible {
  outline: 2px solid var(--fun-pink);
  outline-offset: 2px;
}

/* SCROLLBAR COLORS (playful style) */
::-webkit-scrollbar {
  width: 11px;
  background: var(--secondary);
  border-radius: 22px;
}
::-webkit-scrollbar-thumb {
  background: var(--fun-cyan);
  border-radius: 22px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--fun-pink);
}

/* PRINT only essential (for policies) */
@media print {
  header, .cta, footer, .mobile-menu, .cookie-banner, #cookie-modal { display: none !important; }
}
