/* ===== CSS 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  height: 100%;
  min-height: 100vh;
  background: #F4F8F7;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #365A7B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #22689d;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}
*:focus {
  outline: 2px solid #8AB7C8;
  outline-offset: 2px;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --primary: #365A7B;
  --secondary: #8AB7C8;
  --accent: #F4F8F7;
  --danger: #d54545;
  --black: #111111;
  --white: #FFFFFF;
  --success: #1db67c;
  --shadow-md: 0 4px 16px rgba(54,90,123,0.10);
  --radius: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }

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

strong, b {
  font-weight: 700;
  color: var(--primary);
}

p, li, blockquote {
  font-size: 1rem;
  color: #222;
}
blockquote {
  font-style: italic;
  color: #365A7B;
  padding-left: 20px;
  border-left: 5px solid var(--secondary);
  margin-bottom: 14px;
}

/* ===== MAIN STRUCTURE ===== */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

main {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ===== SPACING AND FLEXBOX PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 480px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(54,90,123,0.16);  
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card p {
  color: #151a26;
  margin-bottom: 4px;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(54,90,123,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #365A7B;
  letter-spacing: 0.02em;
  padding: 4px 0;
  position: relative;
  transition: color 0.21s;
}
header nav a:hover,
header nav a:focus {
  color: #8AB7C8;
}
header img {
  height: 48px;
  margin-right: 28px;
  display: block;
}
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  border-radius: 100px;
  padding: 12px 36px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(54,90,123,0.13);
  transition: background 0.22s, color 0.22s, box-shadow 0.17s, transform 0.17s;
  border: 0;
}
.cta-primary {
  background: var(--primary);
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: #222;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 24px rgba(54,90,123,0.23);
}
.cta-secondary {
  background: var(--secondary);
  color: #222;
  border: 2px solid var(--primary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 4px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.19s, color 0.17s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 900px) {
  header nav {
    display: none !important;
  }
  .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  box-shadow: 0 4px 32px rgba(54,90,123, 0.18);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.52,.16,.24,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 28px 32px 20px 0;
  cursor: pointer;
  order: 1;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  padding-left: 48px;
  margin-top: 16px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  padding: 10px 0;
  transition: color 0.19s, background 0.17s;
  width: 80vw;
  border-radius: 8px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 480px) {
  .mobile-nav {
    padding-left: 22px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(105deg, #8AB7C8 0%, #F4F8F7 100%);
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: var(--shadow-md);
  padding: 50px 0 40px 0;
  display: flex;
  align-items: center;
  min-height: 320px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  justify-content: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 900;
}
.hero p {
  font-size: 1.18rem;
  color: #222;
  max-width: 40em;
}
@media (max-width: 900px) {
  .hero {
    border-radius: 0;
    margin-bottom: 40px;
    padding: 34px 0 28px 0;
  }
}

/* ===== FEATURES & CARDS ===== */
.features, .services, .courses, .benefits, .values, .team, .about-story, .digital-resources, .about-resources, .legal, .legal-gdpr, .legal-cookies, .legal-terms, .faq, .contact-section, .about-contact, .why-contact, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.features .feature-grid, .courses .course-list, .digital-resources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 26px;
  justify-content: flex-start;
}
.features .feature-grid li, .courses .course-list li, .digital-resources ul li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px 20px 18px 20px;
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.19s;
  margin-bottom: 20px;
}
.features .feature-grid li:hover, .courses .course-list li:hover, .digital-resources ul li:hover {
  box-shadow: 0 8px 20px rgba(54,90,123,0.12);
  transform: translateY(-2px) scale(1.015);
}
.features .feature-grid img, .benefits ul img, .digital-resources ul img {
  width: 44px; height: 44px; margin-bottom: 12px;
}
.features .feature-grid h3, .courses .course-list h3, .digital-resources ul h3 {
  font-size: 1.19rem;
  color: var(--primary);
  margin-bottom: 7px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
}

@media (max-width: 950px) {
  .features .feature-grid, .courses .course-list, .digital-resources ul {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .features .feature-grid, .courses .course-list, .digital-resources ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== LIST STYLE FOR ICONS ===== */
.benefits ul, .about ul, .services ul, .about-story ul, .values ul, .team ul, .about-resources ul, .faq ul, .why-contact ul, .contact-section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}
.benefits ul li, .about ul li, .services ul li, .about-story ul li, .values ul li, .team ul li, .about-resources ul li, .faq ul li, .why-contact ul li, .contact-section ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #222;
  gap: 10px;
}
.benefits ul img, .about ul img, .services ul img, .about-story ul img,
.values ul img, .team ul img, .about-resources ul img, .faq ul img, .why-contact ul img, .contact-section ul img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* ===== FAQ ===== */
.faq, .faq-hero {
  margin-bottom: 60px;
}
.faq-question {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  padding: 22px 20px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.faq-question:hover {
  box-shadow: 0 8px 20px rgba(54,90,123,.15);
  transform: translateY(-2px) scale(1.012);
}
.faq-question h3 {
  font-size: 1.1rem;
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.faq-question .answer {
  color: #273141;
  font-size: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section .map {
  width: 100%;
  height: 220px;
  background: #e9eef3 url('../assets/map-static.jpg') center center no-repeat;
  background-size: cover;
  border-radius: var(--radius);
  margin-top: 23px;
}
.contact-section ul li, .about-contact ul li {
  padding-bottom: 2px;
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background: var(--accent);
  border-top: 1.5px solid var(--secondary);
  padding: 38px 0 20px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.16s;
}
footer nav a:hover {
  color: var(--secondary);
}

/* ===== LEGAL & INFO PAGES ===== */
.legal, .legal-gdpr, .legal-cookies, .legal-terms {
  margin-top: 30px;
  background: #fff;
  border: 2.5px solid var(--secondary);
  border-radius: var(--radius);
  padding: 38px 24px;
  box-shadow: var(--shadow-md);
}
.legal h1, .legal-gdpr h1, .legal-cookies h1, .legal-terms h1 {
  color: var(--primary);
  margin-bottom: 24px;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
  text-align: left;
  background: linear-gradient(90deg, #F4F8F7 80%, #8AB7C8 100%);
}
.thank-you ul {
  margin-bottom: 18px;
  margin-top: 10px;
  gap: 10px;
}
.thank-you .cta-primary {
  margin-top: 18px;
}

/* ===== ANIMATIONS, HOVER & TRANSITIONS ===== */
.section, .card, .testimonial-card, .faq-question {
  transition: box-shadow 0.18s, transform 0.16s;
}
.section:hover, .card:hover {
  box-shadow: 0 8px 32px rgba(54,90,123,0.16);
  transform: translateY(-2px) scale(1.015);
}
button, .cta-primary, .cta-secondary {
  transition: background 0.19s, color 0.18s, transform 0.16s, box-shadow 0.17s;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 14px;
  }
  .features, .services, .courses, .benefits, .values, .team, .about-story, .digital-resources, .about-resources, .legal, .legal-gdpr, .legal-cookies, .legal-terms, .faq, .contact-section, .about-contact, .why-contact, .thank-you {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
  footer {
    padding: 26px 0 12px 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.14rem; }
  .features .feature-grid li, .courses .course-list li,
  .digital-resources ul li, .testimonial-card, .card {
    padding: 16px 10px;
    min-width: 180px;
    max-width: 100vw;
  }
  .testimonials .content-wrapper {
    gap: 16px;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: #fff;
  border-top: 2.5px solid var(--secondary);
  box-shadow: 0 -2px 12px rgba(54,90,123,0.14);
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 12px 20px 12px;
  gap: 24px;
  font-size: 1rem;
  animation: cookie-banner-slide 0.7s;
}
@keyframes cookie-banner-slide {
  from { transform: translateY(130%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #222;
  max-width: 380px;
  font-size: 1rem;
}
.cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-accept, .cookie-decline, .cookie-settings {
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, transform 0.13s;
}
.cookie-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-decline {
  background: #e7ecec;
  color: #273141;
  border: 2px solid var(--secondary);
}
.cookie-decline:hover,
.cookie-decline:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 16px 6px 16px 6px;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(54,90,123,0.33);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.3s;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px 23px 30px;
  max-width: 390px;
  box-shadow: 0 16px 48px rgba(54,90,123,0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-up 0.25s;
}
@keyframes cookie-modal-up {
  from { transform: translateY(60px) scale(0.88); opacity: .0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.26rem;
  margin-bottom: 0;
  color: var(--primary);
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}
.cookie-modal .category label {
  flex: 1;
  color: #222;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 20px;
  background: #e7ecec;
  border-radius: 20px;
  position: relative;
  outline: none; cursor: pointer;
  transition: background 0.14s;
  border: 2px solid var(--secondary);
}
.cookie-toggle:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.16s, background 0.14s;
}
.cookie-toggle:checked:before {
  left: 18px;
  background: var(--secondary);
}
.cookie-modal .category.essential label {
  font-weight: 700; color: var(--primary);
}
.cookie-modal .category.essential .cookie-toggle {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px;
}
.cookie-modal .cookie-accept,
.cookie-modal .cookie-decline {
  font-size: 1.02rem; padding: 8px 18px;
}

/* ===== MISC ELEMENTS & UTILITIES ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F8F7;
}
::-webkit-scrollbar-thumb {
  background: #D5E1E6;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8AB7C8;
}

/* ===== END OF STYLE SHEET ===== */
