/* 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,
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.6;
  min-height: 100vh;
  background: #FCFAF8;
  color: #2b2c34;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  transition: background 0.2s;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; }

/* FONTS -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1 ~ h6, .subtitle, strong, nav a, .cta-btn, .footer-legal-links {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #10365B;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #9972B5;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #747DB7;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #425577;
  margin-bottom: 10px;
}
p, address, li, label {
  color: #386177;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.subtitle {
  font-size: 1.15rem;
  color: #747DB7;
  margin-bottom: 24px;
}
strong { color: #10365B; }

/* PASTEL COLOR VARIABLES ---------------------------------- */
:root {
  --brand-primary: #10365B;
  --brand-secondary: #C1A875;
  --brand-accent: #ffffff;
  --pastel-blue: #B7D5F0;
  --pastel-mint: #C9F3EB;
  --pastel-yellow: #FFF5C5;
  --pastel-lavender: #f3eafd;
  --pastel-peach: #FFEAE0;
  --pastel-pink: #FFDDE2;
  --pastel-green: #E8FADF;
  --pastel-violet: #bfc2fa;
  --text-dark: #2b2c34;
  --text-medium: #386177;
  --text-light: #ffffff;
  --shadow: 0 4px 22px 0 rgba(136,158,187,0.10);
  --radius: 22px;
  --pastel-gradient: linear-gradient(128deg,#C9F3EB,#f3eafd,#FFF5C5 85%);
  --card-bg: #fff8fa;
  --testimonial-bg: #ffffff;
  --testimonial-border: #B7D5F0;
}

/* LAYOUT ------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
main {
  flex: 1 0 auto;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(128deg, #fff8fa 80%, #f3eafd 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.card-container { 
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  min-width: 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(176,176,224,0.15);
  transform: translateY(-2px) scale(1.012);
}

.content-grid,
.feature-grid,
.language-list,
.study-tips-list,
.service-cards,
.service-list,
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  background: var(--testimonial-bg);
  border: 2px solid var(--testimonial-border);
  border-radius: calc(var(--radius) - 5px);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  box-shadow: 0 2px 18px 0 rgba(136,158,187,0.13);
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: border-color .18s, box-shadow .15s;
}
.testimonial-card p {
  color: var(--text-dark);
}
.testimonial-card cite {
  margin-left: 16px;
  color: #425577;
  font-size: 1em;
  font-style: normal;
  letter-spacing: 0.01em;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: #B7D5F0;
  box-shadow: 0 8px 28px rgba(176,176,224,0.12);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FCFAF8;
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.cta-section {
  background: var(--pastel-peach);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 40px 24px;
  margin-bottom: 0;
  box-shadow: 0 4px 22px 0 rgba(230,200,230,0.12);
}
.cta-section h2 {
  margin-bottom: 12px;
  color: #9952E2;
}

/*************************** BUTTONS & CTA *********************/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  background: var(--brand-primary);
  color: var(--brand-accent);
  border: none;
  border-radius: 32px;
  padding: 14px 34px;
  box-shadow: 0 2px 14px 0 rgba(168,156,185,0.08);
  transition: background 0.15s, transform 0.13s, box-shadow 0.18s;
  cursor: pointer;
  margin: 4px 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: #163e64;
  color: var(--brand-accent);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px 0 rgba(136,158,187,0.13);
}

/*********************** HEADER, NAV & MENU *******************/
header {
  background: var(--pastel-blue);
  padding: 0;
  box-shadow: 0 2px 12px 0 rgba(183, 213, 240, 0.13);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}
header img {
  height: 56px;
  margin-right: 15px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #425577;
  padding: 10px 8px;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
}
nav a:hover, nav a:focus {
  background: var(--pastel-mint);
  color: #10365B;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #425577;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 10px;
  z-index: 100;
  border-radius: 18px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-peach);
}

/******* MOBILE MENU ******/
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(181, 218, 250, 0.97);
  box-shadow: 0 4px 30px 0 rgba(183, 213, 240, 0.25);
  z-index: 98;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.66,.05,.49,1.07);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 12px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: #10365B;
  cursor: pointer;
  border-radius: 16px;
  padding: 7px 11px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 35px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  color: #10365B;
  font-weight: 600;
  font-size: 1.28rem;
  background: var(--pastel-lavender);
  margin-bottom: 8px;
  border-radius: 16px;
  padding: 14px 0 14px 22px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-blue);
  color: #7A58C6;
}

/************************** FOOTER *************************/
footer {
  background: #B7D5F0;
  padding: 46px 0 22px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 16px 0 rgba(180,193,223,0.13);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  margin-top: 70px;
}
.footer-main-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 26px;
}
.footer-main-nav img {
  height: 36px;
}
.footer-main-nav nav {
  gap: 12px;
}
.footer-contact, .footer-social {
  min-width: 200px;
  margin-bottom: 24px;
}
.footer-contact address,
.footer-contact a {
  color: #2b2c34;
  font-style: normal;
  font-size: 15px;
}
.footer-contact a:hover,
.footer-legal-links a:hover { color: #7A58C6; text-decoration: underline; }
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 8px;
  background: var(--pastel-blue);
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: brightness(1.15) saturate(1.6);
}
.footer-legal-links {
  font-size: 0.95rem;
  margin: 0 auto;
  color: #425577;
  text-align: center;
  margin-top: 18px;
  display: block;
  width: 100%;
}
.footer-legal-links a {
  color: #425577;
  margin: 0 2px;
  text-decoration: underline dotted;
  transition: color 0.14s;
}

/************************** TABLES *********************/
table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
th, td {
  padding: 16px 10px;
  text-align: left;
  font-size: 1.03em;
}
th {
  background: var(--pastel-violet);
  color: #10365B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
td {
  color: #425577;
  border-top: 1px solid #efeefa;
}
tr:nth-child(even) td {
  background: #FAF9FF;
}

/********** CARDS & LISTS ********************/
.service-cards > div,
.service-list > div,
.feature-grid > div,
.language-list > ul > li,
.course-list > ul > li {
  background: var(--pastel-lavender);
  border-radius: 19px;
  box-shadow: 0 3px 12px 0 rgba(179,191,221,0.06);
  padding: 24px 20px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: background 0.15s, box-shadow 0.14s;
  font-size: 1.08rem;
}
.service-cards > div:hover,
.service-list > div:hover,
.feature-grid > div:hover {
  background: #E5EAFE;
  box-shadow: var(--shadow);
}
.language-list ul,
.study-tips-list ul,
.benefits-section ul,
.course-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.benefits-section, .course-highlights, .support-highlights {
  background: var(--pastel-mint);
  border-radius: 17px;
  padding: 20px 16px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px 0 rgba(168,200,196,0.09);
}

/********* ADDRESS/CONTACT & MAP ************/
.contact-info-short, .contact-details, .address-map {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
  margin-top: 10px;
}
.contact-info-short span,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--pastel-mint);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.96rem;
  color: #425577;
  font-weight: 500;
  margin: 0 5px 8px 0;
}
.address-map {
  background: var(--pastel-peach);
  border-radius: 19px;
  padding: 20px 16px;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 rgba(223,192,169,0.11);
}
.address-map .map-placeholder {
  min-height: 80px;
  text-align: center;
  margin: 14px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pastel-yellow);
  border-radius: 12px;
  width: 100%;
}

/*********** MISC ******************/
.founder-message {
  background: var(--pastel-peach);
  border-radius: 18px;
  padding: 20px 18px;
  font-size: 1.1em;
  margin-top: 16px;
  box-shadow: 0 2px 8px 0 rgba(253,205,181,0.10);
}
.vision-section, .team-highlights {
  background: var(--pastel-mint);
  border-radius: 15px;
  padding: 17px 13px;
  font-size: 1.04em;
  margin-top: 10px;
  box-shadow: 0 2px 8px 0 rgba(192,244,229,0.08);
}
.value-proposition {
  background: var(--pastel-yellow);
  border-radius: 14px;
  padding: 10px 12px;
  display: inline-block;
  font-size: 1em;
  margin-top: 7px;
}
[class^="icon-"] {
  margin-right: 6px;
}

a[href^="mailto"]:hover {
  text-decoration: underline;
}

/***************** HOVER STATES, ANIMATION & MICRO-INTERACTIONS  *******************/
nav a, .cta-btn, .card, .testimonial-card, .mobile-nav a, .mobile-menu-toggle {
  transition: all 0.16s cubic-bezier(.64,.08,.44,1.06);
}
.card, .service-cards > div, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, background 0.14s, border 0.14s, transform 0.14s;
}
.card:hover, .service-cards > div:hover, .feature-grid > div:hover {
  transform: translateY(-3px) scale(1.02);
}
.cta-btn:active { transform: scale(0.96); }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 1px;
}

/**************** COOKIE BANNER AND MODAL ******************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--pastel-blue);
  color: #10365B;
  z-index: 2200;
  padding: 22px 18px 24px 18px;
  box-shadow: 0 -2px 18px 0 rgba(183,213,240,0.17);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  flex-direction: row;
  justify-content: space-between;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: banner-slide-in 0.8s cubic-bezier(0.03,0.74,0.34,1.24) forwards;
}
@keyframes banner-slide-in {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 260px;
  margin-right: 14px;
  color: #10365B;
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  margin-bottom: 8px;
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 2px 14px 0 rgba(183,213,240,0.13);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: var(--brand-accent);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #10365B;
  color: var(--brand-secondary);
}
.cookie-btn.settings {
  background: var(--pastel-lavender);
  color: #10365B;
  margin-left: 6px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ebe8fc;
}
.cookie-btn.reject {
  background: #FFDDE2;
  color: #CC182F;
  margin-left: 6px;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffc2ce;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(204, 204, 255, 0.49);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn 0.33s;
}
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; } 
}
.cookie-modal-content {
  background: #fff8fa;
  border-radius: 22px;
  padding: 40px 28px 34px 28px;
  box-shadow: 0 10px 40px 0 rgba(181,213,240,0.19);
  max-width: 420px;
  width: 92vw;
}
.cookie-modal-content h2 {
  color: #7A58C6;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pastel-violet);
  border-radius: 13px;
  padding: 14px 14px;
}
.cookie-category label {
  font-weight: 500;
  color: #10365B;
  font-size: 1.04rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7A58C6;
  width: 19px;
  height: 19px;
  cursor: pointer;
}
.cookie-category.essential label { color: #2b2c34; opacity: 0.73; }
.cookie-category.essential input { pointer-events: none; opacity: 0.66 }
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #7A58C6;
  cursor: pointer;
  border-radius: 12px;
  padding: 5px 10px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ebe8fc;
}

/************ RESPONSIVE BREAKPOINTS **************/
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 992px) {
  .container { max-width: 90vw; }
  nav, .footer-main-nav, .content-wrapper { gap: 14px; }
}
@media (max-width: 888px) {
  footer .container, .footer-main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-main-nav nav { gap: 9px; }
  .feature-grid, .service-cards, .content-grid, .testimonials-slider {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .container { max-width: 99vw; padding: 0 8px; }
  .section, section { padding: 25px 3vw; }
  .feature-grid, .service-cards, .content-grid, .testimonials-slider { flex-direction: column; gap: 20px; }
  .cta-section { flex-direction: column; gap: 15px; padding: 28px 10px; }
  .content-wrapper, .footer-main-nav, .footer-contact, .footer-social, .footer-legal-links { flex-direction: column; }
  header .container { flex-direction: row; gap: 12px; }
  nav {
    display: none;
    gap: 10px;
  }
  .mobile-menu-toggle { display: inline-block; }
  .cta-btn { width: 100%; padding-left: 0; padding-right: 0; font-size: 1rem; }
}
@media (max-width: 600px) {
  .testimonial-card, .card {
    flex-direction: column;
    padding: 15px 10px;
    min-width: 190px;
  }
  .cookie-banner { flex-direction: column; gap: 8px; }
  .cookie-banner p { margin-bottom: 5px; }
  .cookie-banner .cookie-btn { width: 100%; margin: 5px 0 0 0; }
  .footer-main-nav img { margin-bottom: 8px; }
}
@media (max-width: 426px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1.02rem; }
}
@media (max-width: 350px) {
  .section, section { padding: 10px 3vw; margin-bottom: 26px; }
  .cta-btn {
    font-size: 0.92rem;
    padding: 10px 7px;
  }
}

/* HIDE MAIN NAV ON MOBILE, SHOW ON DESKTOP */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .cta-btn {
    margin-right: 0; margin-left: 0;
  }
  footer .container {
    padding: 0 5vw;
  }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/******** UTILITIES *********/
.text-section { flex-direction: column; align-items: flex-start; gap: 10px; }
.centered { text-align: center; justify-content: center; }
.hidden { display: none !important; }

/****** FOCUS **********/
a:focus, button:focus { outline: 2px solid var(--brand-secondary); outline-offset: 2px;}

/****** Z-INDEX LAYERING ******/
header { z-index: 100; }
.mobile-menu { z-index: 101; }
.mobile-menu-close { z-index: 102; }
.cookie-banner { z-index: 2200; }
.cookie-modal { z-index: 2300; }

/******* NO GRID, NO COLUMNS ENFORCED ******/
/* display: grid, column-count, columns, column-gap, grid-* are not used! */
