/* ==== 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, menu, 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, 
main, 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, main, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F4F4F5;
  color: #232323;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E1A541;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #204C2C;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #204C2C;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.2rem; margin-bottom: 12px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

strong, b {
  font-weight: 800;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.footer-row > div {
  flex: 1 1 220px;
  max-width: 330px;
}
.footer-bottom {
  padding: 16px 0;
  text-align: center;
  color: #888;
}

/* ==== HEADER ==== */
header {
  width: 100%;
  background: #204C2C;
  color: #fff;
  border-bottom: 6px solid #E1A541;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #E1A541;
  color: #204C2C;
}
.cta-button {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: #E1A541;
  color: #204C2C;
  padding: 12px 30px;
  border-radius: 32px;
  margin-left: 16px;
  box-shadow: 0 2px 24px 0 rgba(32,76,44,0.11);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.1s;
  border: none;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #204C2C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 18px 0 rgba(32,76,44,0.17);
  text-decoration: none;
  outline: none;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  background: #E1A541;
  color: #204C2C;
  border: none;
  border-radius: 10px;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px 0 rgba(32,76,44,0.12);
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  z-index: 2500;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #204C2C;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.87,-.4,.19,1.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #204C2C;
  background: #E1A541;
  border-radius: 50%;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
  margin-bottom: 36px;
  transition: background 0.22s, color 0.22s;
  box-shadow: 0 2px 16px 0 rgba(32,76,44,0.16);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F4F5;
  color: #204C2C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  padding: 18px 42px;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #E1A541;
  color: #204C2C;
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== MAIN SECTIONS ==== */
main section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 28px 0 rgba(32,76,44,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: linear-gradient(125deg, #E1A541 50%, #F4F4F5 100%);
  color: #204C2C;
  border-radius: 0 0 42px 42px;
  box-shadow: none;
  padding: 54px 0 50px 0;
  margin-bottom: 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #204C2C;
  font-size: 2.6rem;
  font-weight: 900;
}
.hero p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #204C2C;
  margin-bottom: 22px;
}
.hero .cta-button {
  font-size: 1.3rem;
  padding: 14px 36px;
  margin-left: 0;
}

/* ==== FEATURES & CARDS ==== */
.features, .feature-grid {
  width: 100%;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
.feature {
  background: #204C2C;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 rgba(32,76,44,0.11);
  padding: 28px 24px;
  flex: 1 1 265px;
  max-width: 340px;
  transition: transform 0.19s, box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
}
.feature:hover, .feature:focus {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 7px 30px 0 rgba(32,76,44,0.28);
}
.feature img {
  height: 48px; width: 48px; margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.3rem;
  color: #E1A541;
  font-weight: 900;
  margin-bottom: 4px;
}
.feature p {
  font-size: 1rem;
  color: #F4F4F5;
  font-weight: 600;
}

/* ==== SERVICES, BLOG, TEAM ==== */
.services ul,
.blog-articles ul,
.team ul,
.country-courses ul {
  margin-top: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services ul li,
.blog-articles ul li,
.team ul li,
.country-courses ul li {
  background: #F4F4F5;
  border-left: 6px solid #204C2C;
  border-radius: 10px;
  color: #204C2C;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 18px 24px;
  margin-bottom: 0;
  transition: box-shadow 0.16s, border 0.16s;
  box-shadow: 0 1px 6px 0 rgba(32,76,44,0.02);
}
.services ul li strong,
.country-courses ul li strong {
  color: #E1A541;
}
.services ul li span {
  display: block;
  color: #204C2C;
  font-weight: 600;
  padding-top: 7px;
  font-size: 0.98rem;
}

/* ==== NEWSLETTER & CTA ==== */
.cta-newsletter,
.cta-section,
.thankyou {
  background: #204C2C;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 3px 19px 0 rgba(32,76,44,0.21);
}
.cta-newsletter h2,
.cta-section h2,
.thankyou h1 {
  color: #E1A541;
  font-size: 2.1rem;
  letter-spacing: .02em;
}
.cta-newsletter p,
.cta-section p,
.thankyou p {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.cta-newsletter .cta-button,
.cta-section .cta-button,
.thankyou .cta-button {
  background: #E1A541;
  color: #204C2C;
  font-weight: bold;
  border-radius: 32px;
  font-size: 1.25rem;
  padding: 14px 52px;
  box-shadow: 0 2px 28px 0 rgba(255,215,89,0.18);
  margin-top: 12px;
}

/* ==== ABOUT-PAGE STORY/TEAM & TESTIMONIALS ==== */
.about-story {
  background: #fff;
}
.team {
  background: #F4F4F5;
  border: 3px solid #E1A541;
  border-radius: 20px;
}
.testimonials {
  background: #fff;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 24px;
  background: #F4F4F5;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(32,76,44,0.10);
  margin-bottom: 24px;
  color: #204C2C;
  position: relative;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-style: italic;
  color: #232323;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 800;
  color: #E1A541;
  margin-top: 4px;
  letter-spacing: .02em;
}

/* ==== CONTACT SECTION ==== */
.contact-section ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 14px 0 10px 0;
}
.contact-section li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.12rem;
  color: #204C2C;
  background: #F4F4F5;
  border-radius: 9px;
  padding: 14px 18px;
}
.contact-section li img {
  height: 28px;
}

/* ==== CARD & FEATURE LAYOUTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(32,76,44,0.09);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 290px;
  padding: 24px 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover, .card:focus {
  box-shadow: 0 5px 24px 0 rgba(32,76,44,0.17);
  transform: translateY(-3px) scale(1.01);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== FOOTER ==== */
footer {
  background: #204C2C;
  color: #fff;
  border-top: 6px solid #E1A541;
  padding: 48px 0 0 0;
}
footer img {
  height: 44px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  padding: 4px 0;
  border-radius: 6px;
  transition: background .17s;
}
footer nav a:hover, footer nav a:focus {
  background: #E1A541;
  color: #204C2C;
}
footer h4 {
  color: #E1A541;
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 1.17rem;
}
footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
}
footer .social-links a img {
  width: 26px;
  height: 26px;
  transition: filter 0.18s;
  filter: grayscale(50%);
}
footer .social-links a:hover img, footer .social-links a:focus img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ==== RESPONSIVE LAYOUTS ==== */
@media (max-width: 1024px) {
  .footer-row {
    gap: 36px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
  }
  .footer-row {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-row > div {
    max-width: 100%;
  }
  main section {
    margin-bottom: 38px;
    padding: 28px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .footer-row {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .hero {
    padding: 44px 0 32px 0;
    border-radius: 0 0 22px 22px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    margin-top: 6px;
  }
  .team, .about-story, .testimonials, .services {
    padding: 20px 8px;
    margin-bottom: 28px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  header .container {
    gap: 9px;
    min-height: 62px;
  }
  header img {
    height: 38px;
  }
  .hero h1 {
    font-size: 1.25rem;
  }
  .footer-row > div {
    min-width: 0;
    padding-bottom: 12px;
  }
}
@media (max-width: 450px) {
  main section, .content-wrapper {
    padding: 12px 4px;
    gap: 12px;
    min-width: 0;
  }
  .feature, .card {
    padding: 12px 8px;
    min-width: 0;
    font-size: 0.95rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 10px 16px;
  }
}

/* ==== MICRO-INTERACTIONS & SHADOWS ==== */
.feature, .card, .testimonial-card, .cta-button, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.25s, transform 0.22s, color 0.21s, background 0.22s;
}
.cta-button:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.96);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  z-index: 2600;
  left: 0; right: 0; bottom: 0;
  background: #204C2C;
  color: #fff;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  box-shadow: 0 -4px 32px 0 rgba(32,76,44,0.21);
  border-top: 4px solid #E1A541;
  font-size: 1rem;
  gap: 18px;
  animation: fadeInBanner 0.8s cubic-bezier(.23,1.17,.45,.98) backwards;
}
@keyframes fadeInBanner {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 20px;
  padding: 10px 28px;
  margin: 0;
  border: none;
  color: #204C2C;
  background: #E1A541;
  box-shadow: 0 2px 14px 0 rgba(225,165,65,0.07);
  transition: background 0.22s, color 0.22s, box-shadow 0.21s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #E1A541;
  box-shadow: 0 2px 18px 0 rgba(225,165,65,0.11);
  outline: none;
}
.cookie-banner button.secondary {
  background: #F4F4F5;
  color: #204C2C;
}
.cookie-banner button.secondary:hover, .cookie-banner button.secondary:focus {
  background: #E1A541;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 7px;
    gap: 11px;
    font-size: 0.98rem;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2850;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,76,44, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.42s backwards;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #204C2C;
  border-radius: 14px;
  min-width: 320px;
  max-width: 420px;
  padding: 32px 28px 24px;
  box-shadow: 0 7px 48px 0 rgba(32,76,44,0.22);
  position: relative;
  animation: slideInModal .33s cubic-bezier(.7,-0.24,.29,1.41) backwards;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes slideInModal {
  from { transform: translateY(72px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #204C2C;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: #E1A541;
  color: #204C2C;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.3rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #204C2C;
  color: #fff;
}
.cookie-modal .cookie-category {
  padding: 12px 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #E1A541;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-weight: 700;
  color: #204C2C;
  margin-right: 8px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 42px; height: 24px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E1A541;
  border-radius: 14px;
  transition: background .2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  transition: transform .2s;
  border-radius: 50%;
}
.cookie-modal .switch input:checked + .slider {
  background: #204C2C;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 15px;
  flex-direction: row;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  border-radius: 14px;
  padding: 10px 18px;
  border: none;
  color: #204C2C;
  background: #E1A541;
  transition: background 0.19s, color 0.19s;
}
.cookie-modal .cookie-actions button.secondary {
  background: #F4F4F5;
  color: #204C2C;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: #204C2C;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: 0;
    max-width: 97vw;
    padding: 18px 6vw 16px;
  }
}

/* ==== Accessibility: FOCUS RINGS ==== */
*:focus {
  outline: 2px solid #E1A541;
  outline-offset: 2px;
}

/* ==== GENERAL GEOMETRIC DECORATIVE ELEMENTS (e.g. bold underline) ==== */
section > h2, .content-wrapper > h2 {
  position: relative;
}
section > h2::after, .content-wrapper > h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 6px;
  background: #E1A541;
  border-radius: 12px;
  margin: 10px 0 0 0;
}
@media (max-width: 768px) {
  section > h2::after, .content-wrapper > h2::after {
    width: 31px;
    height: 5px;
    margin: 7px 0 0 0;
  }
}

/* ==== VISUAL HIERARCHY AND ELEVATION ==== */
section, .feature, .card, .testimonial-card, .content-wrapper {
  margin-bottom: 32px;
}

/* ==== SECTION SPACING & FLEXBOX RULES (MANDATORY PATTERNS) ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
  }
}
