/* Reset & Normalize  ------------------------------------------------------- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  min-height: 100vh;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #f5f4ed;
  color: #234269;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #234269;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #73926A;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* Typography -------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #234269;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.2rem;
  font-weight: 600;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}

/* Container & Layout  ----------------------------------------------------- */
.container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  background: #fff;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 6px 28px 0 rgba(53,75,62,.07);
}

/* 1. Header/Nav ---------------------------------------------------------- */
header {
  background: #eaf1e4;
  border-bottom: 2px solid #cfe0bf;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 20px;
  padding: 7px 18px;
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #d5e7cf;
  color: #234269;
}
.main-nav .cta-primary {
  background: #73926A;
  color: #fff;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 10px 0 rgba(38,60,22,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #466557;
  color: #ffd96e;
  box-shadow: 0 4px 16px 0 rgba(115,146,106,0.19);
}
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #234269;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  display: none;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #d5e7cf;
  outline: none;
}

/* 2. Mobile Menu ----------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(110, 144, 105, 0.98);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.22,1.1,.59,.99);
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #234269;
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 2rem;
  padding: 8px 16px;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(53,66,105,.07);
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #466557;
  color: #FFD96E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: transparent;
  padding: 12px 12px 12px 6px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  background: #ffd96e;
  color: #234269;
}

/* Mobile nav toggle & responsive nav */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none;
  }
}

/* 3. Hero Section ---------------------------------------------------------- */
.hero {
  background: linear-gradient(96deg, #eaf1e4 70%, #f9f9f3 100%);
  border-radius: 24px;
  margin-top: 28px;
  margin-bottom: 60px;
  box-shadow: 0 6px 28px 0 rgba(115,146,106,.06);
  padding: 48px 0 36px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero h1 {
  color: #234269;
}
.hero p {
  font-size: 1.18rem;
  color: #466557;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* 4. CTA ---------------------------------------------------------- */
.cta {
  background: #73926A;
  color: #fff;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 8px 32px 0 rgba(38,60,22,.12);
}
.cta h2, .cta .cta-text {
  color: #fff;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: #234269;
  color: #FFD96E;
  padding: 15px 32px;
  border-radius: 30px 38px 34px 24px/22px 38px 32px 30px;
  margin-top: 20px;
  box-shadow: 0 4px 16px 0 rgba(35,66,105,0.08);
  border: 0;
  cursor: pointer;
  text-align: center;
  letter-spacing: .03em;
  transition: background 0.2s, color 0.19s, box-shadow 0.19s, transform 0.14s;
  text-shadow: 0 1px 1px #0002;
}
.cta-primary:hover, .cta-primary:focus {
  background: #466557;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(35,66,105,0.14);
  transform: translateY(-2px) scale(1.012);
  outline: none;
}


/* 5. Section Spacing ----------------------------------------------------- */
.feature-grid, .tool-grid, .language-course-list, .counter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 22px;
}
.feature-grid .feature, .tool-grid .tool, .language-course-list .language-course-item, .counter-grid .counter {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 24px 28px 18px 34px / 32px 14px 28px 38px; /* organic shape */
  box-shadow: 0 3px 13px 0 rgba(115,146,106,.08);
  padding: 28px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 2px solid #e9ecd9;
  transition: box-shadow 0.22s, border-color 0.2s;
  position: relative;
}
.feature-grid .feature:hover, .tool-grid .tool:hover, .language-course-list .language-course-item:hover {
  box-shadow: 0 8px 32px 0 rgba(115,146,106,.19);
  border-color: #cfe0bf;
  z-index: 3;
}
.feature img, .tool img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.counter-grid .counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f2f6ed;
  border-radius: 24px 36px 24px 38px/30px 18px 34px 44px;
  box-shadow: 0 2px 12px 0 rgba(53,75,62,.05);
}
.counter-grid .counter h3 {
  color: #73926A;
  font-size: 2.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.counter-grid .counter p {
  font-size: 1rem;
  color: #234269;
  font-family: 'Roboto', Arial, sans-serif;
}

/* 6. Card Styles --------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px 30px 18px 34px/26px 28px 23px 31px;
  box-shadow: 0 2px 13px 0 rgba(35,66,105,0.07);
  padding: 28px 24px;
  border: 2px solid #e6ecd9;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s, box-shadow 0.19s;
}
.card:hover {
  border-color: #73926A;
  box-shadow: 0 6px 18px 0 rgba(115,146,106,.15);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Text + Image Section --------------------------------------------------- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

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

/* Testimonials ----------------------------------------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
  margin-bottom: 8px;
}
.testimonial-card {
  background: #f8faf3;
  border-left: 8px solid #FFD96E;
  border-radius: 26px 20px 30px 24px/30px 34px 24px 28px;
  box-shadow: 0 4px 22px 0 rgba(53,66,105,0.08);
  padding: 28px 22px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  color: #234269;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-left-color .18s;
}
.testimonial-card:hover {
  border-left-color: #73926A;
  box-shadow: 0 8px 34px 0 rgba(115,146,106,.15);
}
.testimonial-card blockquote {
  font-size: 1.16rem;
  color: #234269;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-name {
  font-size: 1rem;
  color: #73926A;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 0.5em;
}

/* FAQ Accordion ---------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #f2f6ed;
  border-radius: 16px 28px 22px 24px/22px 28px 18px 32px;
  padding: 18px 20px;
  color: #234269;
  border: 2px solid #e6ecd9;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #234269;
}
.faq-item p {
  font-size: 1rem;
}
.faq-item:hover, .faq-item:focus-within {
  border-color: #73926A;
  box-shadow: 0 2px 14px 0 rgba(115,146,106,0.07);
}

/* Download section -------------------------------------------------------- */
.downloads-section {
  background: #f8faf3;
  border-radius: 20px 24px 28px 18px/18px 24px 22px 30px;
  padding: 18px 20px;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px 0 rgba(35,66,105,0.05);
}
.downloads-section a {
  color: #234269;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.16s;
}
.downloads-section a:hover, .downloads-section a:focus {
  color: #73926A;
}

/* Course & Tool lists ----------------------------------------------------- */
.language-course-list, .tool-grid {
  margin-bottom: 26px;
}
.language-course-item, .tool {
  border-left: 6px solid #FFD96E;
  padding: 18px 18px;
  border-radius: 18px 32px 20px 26px/20px 28px 14px 24px;
  background: #f7f8ef;
  box-shadow: 0 2px 10px 0 rgba(115,146,106,.05);
  transition: border-left-color 0.15s, box-shadow 0.15s;
}
.language-course-item:hover, .tool:hover {
  border-left-color: #73926A;
  box-shadow: 0 4px 17px 0 rgba(53,75,62,.09);
}

/* Address & Map ----------------------------------------------------------- */
.contact-details, .address-map, .opening-hours {
  margin-bottom: 18px;
}
.address-map {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #73926A;
  font-size: 1rem;
}
.opening-hours p {
  color: #466557;
  font-size: 1rem;
}

/* Social Media ------------------------------------------------------ */
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin: 18px 0;
}
.social-media-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(.2) contrast(1.2);
  transition: filter 0.15s, transform 0.12s;
}
.social-media-links a:hover img {
  filter: grayscale(0) contrast(1.4) brightness(1.2);
  transform: scale(1.10) rotate(-7deg);
}

/* Footer ------------------------------------------------------------- */
footer {
  background: #eaf1e4;
  border-top: 2px solid #cfe0bf;
  padding: 38px 0 18px 0;
  margin-top: 70px;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #466557;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 12px;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #FFD96E;
  color: #234269;
}
.contact-snippet {
  margin-bottom: 26px;
  color: #234269;
  font-size: 1rem;
  line-height: 1.7;
}
.contact-snippet img {
  width: 18px;
  height: 18px;
  display: inline;
  margin-right: 6px;
  vertical-align: middle;
}
.legal-disclaimer {
  color: #778d7d;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* Cookie Consent Banner --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 11000;
  background: #fffbe2;
  border-top: 2px solid #ffd96e;
  box-shadow: 0 -8px 30px 0 rgba(110, 144, 105, 0.18);
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 24px 17vw 22px 17vw;
  font-size: 1.08rem;
  color: #466557;
  transition: transform 0.35s cubic-bezier(.23,1.03,.69,.96);
}
.cookie-banner.hide {
  transform: translateY(180%);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  border: none;
  padding: 10px 28px;
  box-shadow: 0 2px 10px 0 rgba(115,146,106,.06);
  margin: 0 2px;
  transition: background 0.14s, color 0.13s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-accept {
  background: #73926A;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #234269;
  color: #ffd96e;
}
.cookie-reject {
  background: #FFD96E;
  color: #234269;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #f7f6ed;
  color: #73926A;
}
.cookie-settings {
  background: #eaf1e4;
  color: #466557;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #73926A;
  color: #fff;
}

/* Cookie Consent Modal --------------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 11500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(51, 61, 40, 0.38);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fff;
  max-width: 410px;
  width: 92vw;
  border-radius: 24px 36px 22px 28px/30px 24px 32px 35px;
  box-shadow: 0 12px 32px 0 rgba(53,75,62,.16);
  padding: 32px 26px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: growIn 0.35s cubic-bezier(.23,1.03,.69,.96);
}
@keyframes growIn {
  from { transform: scale(0.90); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.30rem;
  color: #234269;
  margin-bottom: 9px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: transparent;
  color: #466557;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #73926A;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-switch {
  display: inline-block;
  width: 42px; height: 24px;
  border-radius: 12px;
  background: #eaf1e4;
  position: relative;
  margin-right: 10px;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 42px;
  height: 24px;
  margin: 0;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-modal .cookie-switch label {
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #eaf1e4;
  position: absolute;
  left: 0; top: 0;
  pointer-events: none;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked + label {
  background: #73926A;
}
.cookie-modal .cookie-switch .switch-handle {
  content: '';
  display: block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #FFD96E;
  position: absolute;
  top: 1px; left: 1px;
  transition: left 0.18s;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked ~ .switch-handle {
  left: 19px;
}

.cookie-modal .cookie-category.essential label {
  font-weight: 600;
  color: #466557;
}
.cookie-modal .cookie-category.essential .cookie-switch {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .cookie-category .cookie-label {
  font-size: 1rem;
  color: #234269;
}
.cookie-modal .cookie-btns {
  margin-top: 15px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-accept {
  background: #73926A;
  color: #fff;
}
.cookie-modal .cookie-accept:hover {
  background: #234269;
  color: #ffd96e;
}
.cookie-modal .cookie-save {
  background: #FFD96E;
  color: #234269;
}
.cookie-modal .cookie-save:hover {
  background: #eaf1e4;
  color: #73926A;
}


@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero {
    padding: 30px 0 18px 0;
    margin-top: 14px;
    margin-bottom: 32px;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 8px;
  }
  .card, .feature-grid .feature, .tool, .language-course-item, .testimonial-card {
    padding: 15px 10px;
  }
  .feature-grid,.tool-grid,.counter-grid,.testimonial-slider,.card-container,.content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 10px 16px 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 538px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .main-nav a, .footer-menu a {
    padding-left: 4px;
    padding-right: 4px;
  }
  .cookie-modal {
    padding: 18px 8px 16px 8px;
    max-width: 94vw;
  }
}

/* Miscellaneous Responsive Tweaks ----------------------------------------- */
@media (max-width: 980px) {
  .feature-grid,.tool-grid,.counter-grid,.testimonial-slider,.card-container,.content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Microinteractions & Transitions ----------------------------------------- */
.feature,.tool,.card,.testimonial-card,.faq-item,.downloads-section {
  transition: box-shadow 0.20s, border-color 0.17s, background 0.18s;
}
.card:focus-within, .feature:focus-within, .tool:focus-within,
.language-course-item:focus-within, .testimonial-card:focus-within,
.faq-item:focus-within, .downloads-section:focus-within {
  border-color: #FFD96E;
  box-shadow: 0 0 0 2px #FFD96E33;
  outline: none;
}
.button, button, .cta-primary {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.16s;
}

/* Accessible Focus States ------------------------------------------------- */
:focus-visible {
  outline: 2px solid #FFD96E;
  outline-offset: 2px;
}


/* Utility ------------------------------------------------------ */
.hidden { display: none !important; }

/* End of style.css */
