/* ===== 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: #FBF7F5; /* soft pastel off-white */
  color: #153A5B;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #153A5B;
  --secondary: #FDD26E;
  --accent: #FFFFFF;
  --pastel-1: #FFE9EC; /* PINKISH */
  --pastel-2: #D5F2EA; /* MINT */
  --pastel-3: #FDF6E3; /* SOFT YELLOW */
  --pastel-4: #E3E6FD; /* LAVENDER */
  --pastel-5: #F3EAF7; /* LILAC */
  --heading: 'Montserrat', Arial, sans-serif;
  --body: 'Open Sans', Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 6px 20px 0 rgba(21,58,91,0.07), 0 1.5px 4px 0 rgba(21,58,91,0.10);
  --transition: all 0.25s cubic-bezier(0.68,0.05,0.07,1.01);
}

@media (max-width: 480px) {
  html { font-size: 15px; }
}
@media (max-width: 340px) {
  html { font-size: 14px; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  font-weight: 700;
  color: #153A5B;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-family: var(--body);
  font-size: 1.07rem;
  color: #38506c;
}
p {
  margin-bottom: 18px;
}
blockquote {
  font-style: italic;
  color: #273d53;
  background: var(--pastel-2);
  border-left: 4px solid var(--secondary);
  padding: 16px 22px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}
cite {
  font-family: var(--heading);
  font-size: 1rem;
  color: #2e305d;
  opacity: 0.85;
  margin-bottom: 10px;
  display: block;
}
strong {
  font-weight: 700;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  transition: box-shadow 0.23s;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px 0 rgba(21,58,91,0.14);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-5);
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 rgba(21,58,91,0.07);
  border: 1.5px solid #ead8f2;
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid var(--secondary);
  color: #222c37;
}
.testimonial-card cite, .testimonial-card p {
  color: #2f3a44;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-3);
  border-radius: var(--radius);
  padding: 22px 18px 20px 18px;
  box-shadow: 0 1.5px 6px 0 rgba(21,58,91,0.08);
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 20px 0 rgba(21,58,91,0.14);
}
.feature-item img {
  width: 41px;
  height: 41px;
  margin-bottom: 6px;
}

.text-section {
  background: var(--pastel-1);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 1px 12px 0 rgba(21,58,91,0.05);
}
.course-list, .team-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
}
.course-item, .team-member, .faq-item {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  flex: 1 1 255px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s;
}
.course-item:hover, .team-member:hover, .faq-item:hover {
  box-shadow: 0 10px 32px 0 rgba(21,58,91,0.13);
}
.faq-list {
  gap: 22px;
}

.map-placeholder {
  margin-top: 16px;
  background: var(--pastel-2);
  border-radius: var(--radius);
  padding: 20px 18px;
  color: #274455;
  font-size: 1.08rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: linear-gradient(90deg, #E3E6FD 0%, #FDD26E 100%);
  box-shadow: 0 2px 8px 0 rgba(21,58,91,0.07);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 10px 20px;
  min-height: 72px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform 0.22s;
}
.logo:hover img {
  transform: scale(1.06) rotate(-3deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 0 auto;
  justify-content: center;
}
.main-nav a {
  font-family: var(--heading);
  font-size: 1.08rem;
  color: #3C4B67;
  opacity: 0.82;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition), box-shadow 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #153A5B;
  opacity: 1;
  box-shadow: 0 2px 8px 0 rgba(241,192,150,0.25);
}
.cta-button {
  background-color: #FDD26E;
  color: #153A5B;
  font-family: var(--heading);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 32px;
  font-size: 1.09rem;
  margin-left: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(21,58,91,0.08);
  border: none;
  display: inline-block;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #FFECB1;
  color: #255875;
  box-shadow: 0 6px 16px 0 rgba(241,192,150,0.22);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background 0.2s;
  z-index: 1022;
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #31496e;
  color: #FDD26E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(236,234,249,0.96);
  box-shadow: 0 0 44px 0 rgba(21,58,91,0.13);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.33s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 34px 20px 24px;
  gap: 14px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  border: none;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.24s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8e44ad;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}
.mobile-nav a {
  font-family: var(--heading);
  font-size: 1.2rem;
  color: #2c3240;
  background: #FDF6E3;
  padding: 11px 21px;
  border-radius: 12px;
  margin-bottom: 3px;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDD26E;
  color: #153A5B;
}

@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 10px;
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 10px;
  }
  .text-image-section, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .course-list, .team-list, .faq-list {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== HERO / GENERAL ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  padding: 0 8px;
}
@media (max-width: 520px) {
  section { padding: 30px 0; }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== BUTTON / LINK STYLES ===== */
a, button {
  outline: none;
}
a:active, .cta-button:active, button:active {
  filter: brightness(0.92);
}
.cta-button:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2.5px solid var(--pastel-5);
  outline-offset: 2px;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, #E3E6FD 0%, #FDD26E 100%);
  border-top: 2.5px solid #efe5f8;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 20px 14px 20px;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--heading);
  font-size: 1.03rem;
  margin: 0 12px;
}
.footer-nav a {
  color: #3f5485;
  opacity: 0.87;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5b2a98;
  opacity: 1;
}
.footer-contact p {
  color: #33435B;
  font-size: 1rem;
  margin-top: 6px;
  line-height: 1.4;
  word-break: break-word;
}
footer img {
  height: 34px;
  width: auto;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 5px 10px 5px;
  }
  .footer-contact {
    text-align: center;
  }
}

/* ===== LISTS ===== */
ul, ol {
  list-style: disc inside;
  margin-bottom: 18px;
}
.text-section ul, .text-section ol {
  margin-left: 15px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 2px;
}

/* ===== FORM (if needed) ===== */
input, textarea, select {
  border: 1.6px solid #E3E6FD;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #fafaff;
  margin-bottom: 12px;
  transition: border 0.22s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 8px rgba(241,192,150,0.12);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
section, .card, .feature-item, .testimonial-card, .course-item, .team-member, .faq-item {
  animation: fadeInUp 0.6s cubic-bezier(0.21,0.71,0.36,1) both;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0;
  bottom: 0;
  background: #fdf6e3;
  color: #22354C;
  box-shadow: 0 0 18px 0 rgba(21,58,91,0.10);
  border-top: 3px solid var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 29px 18px 29px;
  gap: 15px;
  font-size: 1rem;
  transition: transform 0.3s;
  max-width: 96vw;
  left: 2vw;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner strong {
  font-family: var(--heading);
  font-size: 1.05rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 7px;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: var(--heading);
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 22px;
  border: none;
  font-size: 1rem;
  margin-right: 8px;
  min-width: 110px;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
.cookie-btn-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #ffe9ab;
}
.cookie-btn-reject {
  background: #ffe9ec;
  color: #7d4357;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #fcdbe2;
}
.cookie-btn-settings {
  background: #e3e6fd;
  color: #3a3986;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #dfd3fc;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26, 30, 60, 0.30);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.3s cubic-bezier(0.21,0.71,0.36,1);
  pointer-events: auto;
}
.cookie-modal.hide { display: none; }
.cookie-modal-content {
  background: #FAF8FD;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(112, 71, 175, 0.13);
  max-width: 420px;
  width: 92vw;
  padding: 36px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-size: 1.07rem;
  color: #2b2e45;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  font-family: var(--heading);
  font-weight: 700;
  margin-bottom: 11px;
  color: #462479;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f7f4;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-category label {
  cursor: pointer;
  font-family: var(--body);
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #DFD3FC;
  border-radius: 20px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.23s;
}
.cookie-toggle input[type='checkbox'] {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 4px; top: 4px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.22s, background 0.19s;
  box-shadow: 0 1px 4px 0 rgba(50, 42, 82, 0.10);
}
.cookie-toggle input:checked + span {
  left: 20px;
  background: #b38ef9;
}
.cookie-modal-close {
  position: absolute;
  right: 19px; top: 15px;
  font-size: 1.27rem;
  background: none;
  border: none;
  color: #a08ccb;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #683ace;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn-accept,
.cookie-modal .cookie-btn-reject {
  min-width: 95px;
  font-size: 0.98rem;
}
.cookie-modal .cookie-btn-settings {
  min-width: 90px;
  font-size: 0.98rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .team-list, .course-list, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav { flex-direction: row; gap: 10px; margin: 0 0 12px 0; }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cookie-modal-content { padding: 25px 7vw 13px 7vw; }
}

/* Ensure minimum margins between cards/sections */
.card, .feature-item, .course-item, .faq-item, .team-member, .testimonial-card, section {
  margin-bottom: 20px;
}

/* Misc: Prevent content overflow on mobile */
html { overflow-x: hidden; }
body { overflow-x: hidden; background: #FBF7F5; }

/* ===== MICRO-INTERACTIONS ===== */
.card, .feature-item, .team-member, .course-item, .faq-item, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.17s;
}
.card:hover, .feature-item:hover, .team-member:hover, .course-item:hover, .faq-item:hover, .testimonial-card:hover {
  box-shadow: 0 10px 20px 0 rgba(21,58,91,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* ===== VISUAL HIERARCHY ===== */
.text-section {
  margin-bottom: 24px;
}

/* ===== UTILITY CLASSES ===== */
.dreamy-bg {
  background: linear-gradient(120deg, #FDD26E 10%, #E3E6FD 60%, #FFE9EC 100%);
}

/* ===== END OF STYLE.CSS ===== */