/* ===== 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #F7F7F2;
  color: #21406A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ===== VARIABLES (with fallback for old browsers) ===== */
:root {
  --brand-primary: #21406A;
  --brand-secondary: #9AC359;
  --brand-accent: #F7F7F2;
  --pastel-blue: #D9E4F5;
  --pastel-green: #C7E9B0;
  --pastel-yellow: #FFF6C3;
  --pastel-pink: #FAE1E8;
  --pastel-lavender: #E7D7FB;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-soft: 0 4px 24px 0 rgba(33,64,106,0.06);
  --radius-card: 18px;
  --radius-btn: 22px;
  --radius-sm: 10px;
  --color-link-hover: #5277ab;
  --color-btn-hover: #b5d39a;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--brand-primary);
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
}
p, ul li, ol li, address {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #25426E;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.2rem;
  color: #547AAD;
  margin-bottom: 24px;
}
strong, b {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  position: relative;
  transition: box-shadow .22s, transform .22s;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(33,64,106,0.12);
  transform: translateY(-2px) scale(1.016);
}
.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;
  margin-bottom: 24px;
  background: #fffcea;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border-left: 6px solid var(--brand-secondary);
  transition: box-shadow .22s, border-color .22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 16px 36px rgba(154, 195, 89, 0.13);
  border-left: 6px solid #b1d273;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #60804F;
  margin-top: 6px;
  font-style: italic;
}
.feature-item {
  background: #FAE1E8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s, box-shadow .22s, background .22s;
}
.feature-item:hover {
  background: #E7D7FB;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(244,182,192,.12);
}

/* ===== MAIN NAVIGATION ===== */
header {
  background: linear-gradient(90deg, #E7D7FB 0%, #D9E4F5 100%);
  box-shadow: 0 2px 18px rgba(61, 86, 110, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 16px 0;
}
.main-nav img {
  width: 44px;
  height: auto;
  margin-right: 14px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  transition: background .13s, color .13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-lavender);
  color: var(--color-link-hover);
}
.cta-primary {
  background: var(--brand-secondary);
  color: #1c3033;
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 700;
  box-shadow: 0 2px 18px rgba(154,195,89,.06);
  transition: background .16s, color .12s, box-shadow .14s;
  margin-left: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-btn-hover);
  color: #194C63;
  box-shadow: 0 8px 24px rgba(154,195,89,.13);
}

/* HIDE DEFAULT BURGER ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* ===== HERO & PAGE BUILDER SECTIONS ===== */
.hero, .contact-hero, .thanks {
  background: linear-gradient(120deg, #E7D7FB 0%, #FAE1E8 70%, #FFF6C3 100%);
  padding: 70px 0 54px 0;
  margin-bottom: 48px;
  border-radius: 0 0 28px 28px;
}
.hero .container, .contact-hero .container, .thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1, .contact-hero h1, .thanks h1 {
  color: #347499;
  font-size: 2.2rem;
}
.hero p, .contact-hero p, .thanks p {
  color: #446195;
  margin-bottom: 20px;
}

/* ===== CARDS, SERVICE, FEATURES, FAQ ===== */
.feature-grid, .service-list, .tool-list, .resource-list, .platforms-overview .course-platforms,
.language-offers-grid, .local-courses, .course-listings, .course-comparison-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.service-card, .platform-card, .language-offer,
.course-item, .comparison-card, .library-overview, .local-initiatives {
  background: #D9E4F5;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow .22s, background .16s, transform .15s;
  font-family: var(--font-body);
}
.service-card:hover, .platform-card:hover, .language-offer:hover, .course-item:hover, .comparison-card:hover {
  background: #FFF6C3;
  box-shadow: 0 16px 32px rgba(33,64,106,0.11);
  transform: translateY(-2px) scale(1.011);
}
.comparison-card {
  font-size: 1.01rem;
  border-left: 5px solid #FAE1E8;
}

/* TOOL ICONS with TEXT */
.tool-list p {
  display: flex;
  align-items: center;
  background: #E7D7FB;
  border-radius: var(--radius-sm);
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.tool-list img {
  width: 28px; height: 28px;
  margin-right: 5px;
}
.resource-list h3 {
  margin-top: 18px;
}

/* TRUST ICON LIST */
.trust-elements {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.trust-elements p {
  display: flex;
  align-items: center;
  background: #C7E9B0;
  border-radius: var(--radius-sm);
  gap: 10px;
  padding: 8px 14px;
  font-size: 1.01rem;
  font-family: var(--font-body);
  color: #284e3b;
}
.trust-elements img {
  width: 24px; height: 24px;
  margin-right: 5px;
}

/* ACCORDION (FAQ) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 14px;
}
.faq-item {
  background: #E7D7FB;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  transition: box-shadow .18s;
}
.faq-item h3 {
  font-size: 1.15rem;
  color: #3979A9;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.faq-item p {
  font-size: 1rem;
  color: #24528A;
}
.faq-item:hover {
  box-shadow: 0 8px 24px rgba(179,167,213,0.12);
}

/* BUTTONS & CTA & LINKS */
button, .cta-primary {
  outline: none;
  border: none;
}
button:focus, .cta-primary:focus {
  outline: 2px dashed var(--brand-secondary);
  outline-offset: 3px;
}

/* MAP EMBED BLOCK */
.map-embed {
  background: #FAE1E8;
  border-radius: var(--radius-card);
  padding: 18px 18px 18px 60px;
  margin-bottom: 20px;
  font-size: 0.98rem;
  position: relative;
}

/* THANK YOU INFO */
.next-steps-info {
  background: #D9E4F5;
  border-radius: var(--radius-card);
  padding: 18px 22px;
  margin: 18px 0 4px 0;
}
.next-steps-info ul {
  margin-left: 12px;
  list-style: disc;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, #E7D7FB 0%, #C7E9B0 100%);
  padding: 40px 0 18px 0;
  margin-top: 40px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 16px rgba(120,176,115,.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav a {
  color: #295179;
  font-family: var(--font-display);
  font-size: 0.99rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: background .13s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-green);
  color: #fff;
}
footer address {
  font-style: normal;
  font-size: 0.99rem;
  color: #154067;
  margin-left: 2px;
  margin-bottom: 0;
}
footer address a {
  color: #60804F;
  text-decoration: underline dotted;
}
footer address a:hover {
  color: #7eb052;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 20px;
  background: var(--brand-secondary);
  color: #295179;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 130;
  border: none;
  transition: background 0.13s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e6f6c9;
}
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242, 245, 230, 0.97);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.34s cubic-bezier(.65,.01,.32,1);
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
}
body.mobile-menu-open .mobile-menu {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 34px 8px 0;
  font-size: 2.2rem;
  color: #154067;
  background: none;
  border: none;
  padding: 6px 16px 6px 6px;
  border-radius: 50%;
  transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e5eade;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 28px;
  width: 100%;
  padding-left: 40px;
}
.mobile-nav a {
  color: #21406A;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 14px;
  padding: 12px 8px 12px 0;
  transition: background .13s, color .14s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D9E4F5;
  color: #347499;
}

@media (max-width: 1090px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 92vw;
  }
  .main-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.22rem; }
  .hero, .contact-hero, .thanks { padding: 38px 0 30px 0; margin-bottom: 32px; }
  .container { padding: 0 8px; }
  .section { margin-bottom: 42px; padding: 24px 8px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .card-container, .content-grid,
  .feature-grid, .service-list, .tool-list,
  .platforms-overview .course-platforms, .language-offers-grid,
  .local-courses, .course-listings, .course-comparison-cards {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .service-card, .platform-card, .feature-item,
  .comparison-card, .next-steps-info, .faq-item, .course-item, .library-overview,
  .local-initiatives {
    min-width: 0;
    flex: 1 1 90vw;
  }
  .trust-elements { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .footer-nav { flex-direction: column; gap: 8px; }
  footer { padding: 33px 0 12px 0; }
}
@media (max-width: 510px) {
  .container { padding: 0 2px; }
  .section { padding: 8px 2px; }
  .main-nav a, .footer-nav a { font-size: 0.96rem; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 190;
  background: #FFF6C3;
  color: #24446B;
  box-shadow: 0 6px 26px rgba(154,195,89,0.15);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 32px 18px 22px;
  gap: 13px;
  font-family: var(--font-body);
  animation: cookieSlideIn 0.8s cubic-bezier(.63,.03,.27,1.34);
}
@keyframes cookieSlideIn {
  0% { opacity:0; transform: translateY(160px); }
  80% { opacity:1; transform: translateY(-7px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 0.98rem;
  color: #24446B;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-family: var(--font-display);
  padding: 8px 20px;
  margin-right: 2px;
  background: var(--brand-secondary);
  color: #17481f;
  box-shadow: 0 2px 8px rgba(154,195,89,0.09);
  font-weight: 600;
  border: none;
  transition: background .12s, color .12s, box-shadow .13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #b5d39a;
  color: #124436;
  box-shadow: 0 4px 16px rgba(154,195,89,0.17);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #215972;
  border: 1px solid #b7a0df;
  font-weight: 500;
  margin-left: 0;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #E7D7FB;
  border-color: #9770dc;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(77,92,109,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: cookieModalFade 0.28s;
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #E7D7FB;
  max-width: 374px;
  width: 98vw;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 44px rgba(33,64,106,0.13);
  padding: 32px 26px 28px 28px;
  position: relative;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #284772;
  animation: cookieModalAppear .36s cubic-bezier(.65,.01,.32,1);
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: scale(.86) translateY(68px); }
  85% { opacity: 1; transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2, .cookie-modal h3 {
  font-family: var(--font-display);
  color: #21406A;
  margin-bottom: 7px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 20px;
  top: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #21406A;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0 0 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: #294C71;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"]:not(:disabled) {
  accent-color: #9AC359;
  width: 18px;
  height: 18px;
}
.cookie-modal input[type="checkbox"]:disabled {
  accent-color: #9AC359;
  opacity: 0.51;
}
.cookie-modal .cookie-actions {
  gap: 12px;
  margin-top: 18px;
  align-self: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner { max-width: 96vw; left: 2vw; right: 2vw; padding: 14px 10px 10px 12px; }
  .cookie-modal { max-width: 99vw; padding: 17px 6px 13px 11px; }
}

/* ===== ACCESSIBILITY / MISC ===== */
:focus-visible {
  outline: 2px dashed #b7a0df;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #A6B6D4; }
::-moz-placeholder { color: #A6B6D4; }
:-ms-input-placeholder { color: #A6B6D4; }
::placeholder { color: #A6B6D4; }

/* ===== SCROLLBAR STYLES (subtle pastel) ===== */
body::-webkit-scrollbar {
  width: 13px;
  background: #D9E4F5;
}
body::-webkit-scrollbar-thumb {
  background: #bcd0e7;
  border-radius: 50px;
}

/* ===== CUSTOM PASTEL BULLETS ===== */
ul, ol {
  margin-bottom: 10px;
  margin-left: 18px;
}
ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  background: linear-gradient(120deg, #9AC359, #E7D7FB 80%);
  border-radius: 55%;
}

/* ===== PRINT — PLAIN PASTELS ===== */
@media print {
  * { background: none !important; color: #222 !important; box-shadow: none !important; }
  .main-nav, .footer-nav, .hero, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display: none !important; }
  .container { max-width: none !important; }
}
/* END OF STYLE */
