/* RESET and 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;
  box-sizing: border-box;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
}
html {
  /* Fix 100vw issue on mobile */
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #f8f8f9;
  color: #28527a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #28527a;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #ffc857;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background-color: transparent;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* CONTAINER + LAYOUT BASICS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* GEOMETRIC/STRUCTURED STYLE: COLORS & TYPOGRAPHY */
body, .body-font {
  font-family: 'Roboto', Arial, sans-serif;
  color: #28527a;
}
h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #28527a;
  text-transform: none;
}
h1 { font-size: 2.4rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.35rem; line-height: 1.22; }
h4 { font-size: 1.15rem; line-height: 1.25; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.6rem; }
}

p, .body-font, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #28527a;
  font-size: 1rem;
}

/* STRUCTURED SPACING: SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  position: relative;
}
@media (max-width: 575px) {
  section {
    padding: 32px 0 32px 0;
    margin-bottom: 40px;
  }
}

.content-wrapper {
  gap: 24px;
}

/* FLEXBOX GEOMETRIC LAYOUTS */
.features-grid, .content-grid, .team-grid, .services-list, .service-list, .testimonials-slider, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid, .testimonials-slider, .testimonials-list {
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .features-grid, .content-grid, .team-grid, .services-list, .service-list, .testimonials-slider, .testimonials-list {
    gap: 16px;
  }
}

.team-grid, .features-grid {
  justify-content: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 575px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}

/*****************
 * HEADER & NAV *
 *****************/
header {
  background: #fff;
  border-bottom: 3.5px solid #28527a;
  box-shadow: 0 1px 6px 0 rgba(40,82,122,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}
header a img {
  display: block;
  height: 40px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 6px 16px;
  border-radius: 7px;
  transition: background .18s, color .18s;
  color: #28527a;
  background: transparent;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #28527a;
  color: #fff;
}
nav .cta-main {
  background: #ffc857;
  color: #28527a;
  border-radius: 21px;
  font-weight: 700;
  margin-left: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px 0 rgba(40,82,122,0.09);
  transition: background .18s, color .18s;
}
nav .cta-main:hover, nav .cta-main:focus {
  background: #28527a;
  color: #ffc857;
}

/* BURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #28527a;
  background: #ffc857;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 99;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe19c;
  color: #1e3b54;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* MOBILE NAV OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #28527a;
  z-index: 1002;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  overflow-y: auto;
  /* overlay shadow */
  box-shadow: 2px 0 24px 0 rgba(40,82,122,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #ffc857;
  align-self: flex-end;
  background: none;
  margin: 18px 18px 0 0;
  border: none;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 48px 0 0 0;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: 9px;
  padding: 11px 16px;
  background: none;
  transition: background .18s, color .18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffc857;
  color: #28527a;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* MAIN: HERO CTA */
.cta-btn, .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffc857;
  color: #28527a;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 32px;
  box-shadow: 0 1.5px 10px 0 rgba(40,82,122,0.07);
  border: none;
  margin-top: 4px;
  transition: background .21s, color .21s, transform .13s;
}
.cta-btn:hover, .service-btn:hover, .cta-btn:focus, .service-btn:focus {
  background: #28527a;
  color: #ffc857;
  transform: translateY(-4px) scale(1.025);
}

/* CTA BANNER STRUCTURE */
.cta-banner {
  border-radius: 20px;
  background: #28527a;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(40,82,122,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 38px 24px 34px 24px;
  margin: 30px 0 0 0;
}
.cta-banner h2,
.cta-banner p {
  color: #fff;
  text-align: center;
}
@media (max-width: 600px) {
  .cta-banner {
    padding: 24px 10px 22px 10px;
  }
}

/**********
 * CARDS *
 **********/
.feature, .service-block, .team-member, .card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border-radius: 15px;
  border: 2.5px solid #eaf0f9;
  box-shadow: 0 2.5px 16px 0 rgba(40,82,122,0.06);
  padding: 26px 20px 22px 20px;
  min-width: 226px;
  max-width: 345px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .19s, border-color .19s;
}
.team-member {
  min-width: 180px; max-width: 320px;
}
.feature img {
  width: 44px; height: 44px; margin-bottom: 5px;
}
.feature:hover, .service-block:hover, .team-member:hover, .card:hover {
  border-color: #ffc857;
  box-shadow: 0 7px 14px 0 rgba(40,82,122,0.07);
}
.feature h3, .service-block h3, .team-member h3 {
  margin-bottom: 3px;
  color: #28527a;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature p, .service-block p, .team-member p {
  font-size: 1.06rem;
}
.service-block ul, .team-member ul {
  margin-top: 7px;
  color: #28527a;
  padding-left: 20px;
  font-size: .99rem;
}

/**************
 * TESTIMONIALS
 **************/
.testimonials-slider, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #28527a;
  border-radius: 15px;
  box-shadow: 0 3px 14px 0 rgba(40,82,122,0.08);
  border: 2.5px solid #eaf0f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 22px 20px 22px;
  min-width: 235px;
  max-width: 385px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow .15s, border-color .15s;
}
.testimonial-card:hover {
  border-color: #ffc857;
  box-shadow: 0 7px 16px 0 rgba(40,82,122,0.10);
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #28527a;
  font-weight: 500;
}
.testimonial-author {
  display: block;
  font-size: 0.94rem;
  color: #6f7e96;
  font-style: italic;
  margin-bottom: 0;
}
.star-rating {
  font-size: 1.24rem;
  color: #ffc857;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

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

/*****************
 * COURSE & INFO *
 *****************/
.services-list, .service-list {
  gap: 24px;
  flex-wrap: wrap;
}
.service-block {
  min-width: 220px;
  max-width: 350px;
}
.service-block ul {
  margin: 6px 0 10px 8px;
  padding-left: 22px;
  list-style-type: disc;
}
.course-comparison, .language-levels {
  background: #fffefd;
  border-radius: 11px;
  border: 1.5px solid #e6e6ef;
  padding: 26px 23px;
  margin-top: 28px;
  box-shadow: 0 2.5px 8px 0 rgba(40,82,122,0.04);
}
.course-comparison h3,.language-levels h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.language-levels ul {
  margin-left: 13px;
  list-style-type: disc;
}

/*****************
 * MAP/CONTACT *
 *****************/
.contact-info-list {
  margin: 22px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
}
.contact-info-list img {
  width: 26px;
  height: 26px;
}
.map-embed-placeholder {
  margin: 30px 0 12px 0;
  background: #f3f6fa;
  border: 1.6px solid #e7eef5;
  border-radius: 15px;
  padding: 28px 18px;
  text-align: center;
  font-size: 1.08rem;
}

/******************************
 * TEXT BLOCKS/SECTIONS
 ******************************/
.text-section {
  margin: 18px 0 2px 0;
}
.text-section ul {
  margin: 8px 0 0 17px;
  list-style-type: disc;
  color: #28527a;
}

/**********
 * FOOTER *
 **********/
footer {
  background: #28527a;
  color: #fff;
  padding: 36px 0 24px 0;
  margin-top: 60px;
  box-shadow: 0 -1.5px 13px 0 rgba(40,82,122,0.11);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 36px 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.footer-menu a {
  color: #ffc857;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: underline dotted;
  transition: color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.99rem;
  color: #fff;
  margin-bottom: 10px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  width: 54px;
  height: 54px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/********************************************
 * COOKIE CONSENT BANNER
 ********************************************/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff;
  border-top: 3px solid #ffc857;
  box-shadow: 0 -2.5px 16px 0 rgba(40,82,122,0.19);
  padding: 18px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100vw;
  animation: slideUpCookie .35s 1;
}
@keyframes slideUpCookie {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-consent-banner p {
  color: #28527a;
  font-family: 'Robot', Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 6px;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 0 0;
}
.cookie-btn {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .13s, color .13s, box-shadow .13s;
  color: #fff;
  background: #28527a;
}
.cookie-btn.accept {
  background: #ffc857;
  color: #28527a;
}
.cookie-btn.reject {
  background: #e84a5f;
  color: #fff;
}
.cookie-btn.settings {
  background: #28527a;
  color: #ffc857;
  border: 2px solid #ffc857;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #28527a;
  color: #ffc857;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffc857;
  color: #e84a5f;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ffc857;
  color: #28527a;
}

/* COOKIE MODAL STYLES */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(40,82,122, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  min-width: 310px;
  max-width: 98vw;
  width: 430px;
  background: #fff;
  border-radius: 14px;
  padding: 35px 28px 28px 28px;
  box-shadow: 0 4px 32px 0 rgba(40,82,122,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideInModal .34s;
}
@keyframes slideInModal {
  from { transform: scale(.86) translateY(44px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #28527a;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  color: #28527a;
}
.cookie-category .toggle {
  width: 36px; height: 20px;
  border-radius: 10px;
  background: #eaf0f9;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .13s;
  border: 1.5px solid #28527a;
}
.cookie-category .toggle.enabled {
  background: #ffc857;
}
.cookie-category .toggle:after {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1.3px;
  background: #28527a;
  transition: left .2s;
}
.cookie-category .toggle.enabled:after {
  left: 18px; background: #28527a;
}
.cookie-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 13px;
  font-size: 1.45rem;
  background: none;
  border: none;
  color: #28527a;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #e84a5f; }

/*******************
 * RESPONSIVE RULES
 *******************/
@media (max-width: 1200px){
  .container { max-width: 1000px; }
}
@media (max-width: 1000px){
  .container { max-width: 90vw; }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    height: auto;
    min-height: 62px;
    padding: 10px 9px;
  }
  section, .section { padding: 32px 0; }
}
@media (max-width: 750px) {
  .features-grid, .content-grid, .services-list, .service-list, .team-grid, .testimonials-slider, .testimonials-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature, .service-block, .team-member, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
  .container {
    max-width: 99vw;
    padding: 0 6px;
  }
}
@media (max-width: 600px) {
  .footer-menu, .footer-contact, .footer-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .footer-logo {
    margin: 0 auto 0 0;
  }
  .contact-info-list li, .footer-contact span {
    font-size: .97rem;
  }
  .course-comparison, .language-levels {
    padding: 13px 8px;
  }
}

/*********
 * MISC *
 *********/
::-webkit-scrollbar {
  width: 9px; background: #eaf0f9;
}
::-webkit-scrollbar-thumb {
  background: #ffc857; border-radius: 8px;
}
::-webkit-selection {
  background: #ffc857; color: #28527a;
}
::selection {
  background: #ffc857; color: #28527a;
}

/*******************
 * GEOMETRIC EFFECTS
 *******************/
.feature, .service-block, .testimonial-card, .team-member, .card {
  /* subtle geometric effect: left border accent */
  border-left: 11px solid #ffc857;
  box-shadow: 0 0.5px 8px 0 rgba(40,82,122,0.05), 11px 0 0 0 #ffc857 inset;
  position: relative;
}
.feature:hover, .service-block:hover, .team-member:hover, .testimonial-card:hover, .card:hover {
  border-left: 11px solid #28527a;
  box-shadow: 0 2.5px 18px 0 rgba(40,82,122,0.12);
}

/*******************
 * TYPOGRAPHY SCALE
 *******************/
.text-section p, .content-wrapper p, .service-block p, .feature p, .team-member p, .card p {
  font-size: 1.06rem;
  margin-bottom: 5px;
}
.text-section ul li, .content-wrapper ul li, .service-block ul li {
  font-size: 0.99rem;
  margin-bottom: 2px;
}

/*******************
 * MICRO-INTERACTIONS
 *******************/
.card, .feature, .service-block, .testimonial-card, .team-member {
  transition: transform .14s, box-shadow .18s, border-color .15s, background .12s;
}
.card:hover, .feature:hover, .service-block:hover, .testimonial-card:hover, .team-member:hover {
  transform: translateY(-5px) scale(1.012);
  background: #fffbe2;
}

/*******************
 * SVG ICONS in CARDS
 *******************/
.card img, .feature img, .service-block img, .team-member img, .footer-contact img, .contact-info-list img {
  filter: none;
  background: #ffc85733;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 0.8px 3px 0 rgba(40,82,122,0.07);
}

/*******************
 * UTILITIES
 *******************/
.flex { display: flex; }
.align-center { align-items: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.col { flex-direction: column; }

/*********************
 * PRINT STYLING
 *********************/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; color: #000; }
}
