/* === CSS RESET & BASE STYLES === */
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,
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F8FBFA;
  color: #274067;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #25487A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #16A085;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #25487A;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
strong { font-weight: bold; }
p { margin-bottom: 1.1em; }
input, select, textarea, button {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === CONTAINER & LAYOUTS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(56,105,191,0.05);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
}

/* =========== HEADER & NAV =========== */
header {
  background: #F1F3F8;
  box-shadow: 0 2px 12px 0 rgba(56,105,191,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header img {
  height: 48px;
  min-width: 130px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #25487A;
  opacity: 0.90;
  font-weight: 600;
  letter-spacing: .02em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #E0EBF7;
  color: #16A085;
}
.cta-btn {
  display: inline-block;
  background: #16A085;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: 0 2px 12px 0 rgba(56,105,191,.08);
  position: relative;
  transition: background 0.22s, box-shadow 0.18s, color 0.16s, transform 0.19s;
  outline: none;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1ac9a2;
  color: #215168;
  box-shadow: 0 4px 18px 0 rgba(56,105,191,.16);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.secondary {
  background: #51D4CB;
  color: #215168;
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: #80E9CF;
  color: #16A085;
}

@media (max-width: 992px) {
  header nav {
    gap: 10px;
  }
  .cta-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* --- Mobile burger nav --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #16A085;
  background: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  margin-left: 10px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #EFFFFB;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- Mobile menu --- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1000;
  background: rgba(246, 252, 251, 0.98);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.75,0,0.25,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: #B2DFC6;
  color: #25487A;
  width: 50px; height:50px;
  margin: 20px 18px 12px 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px 0 rgba(56,105,191,.10);
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE2EE;
  color: #16A085;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 15vh;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25487A;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 48px;
  border-radius: 20px;
  background: #F1F3F8;
  transition: background 0.15s, color 0.13s;
  width: 80vw;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C2E9E0;
  color: #16A085;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(125deg, #E6F4FF 0%, #F6F7FC 70%);
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  box-shadow: 0 6px 38px 0 rgba(38,91,164,0.04);
  padding-top: 52px;
  padding-bottom: 56px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: #18485F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 0.6em;
}
.hero p {
  color: #20647A;
  font-size: 1.18rem;
  margin-bottom: 1.5em;
}
.hero .cta-btn {
  margin: 0 auto;
}
@media (max-width:768px) {
  .hero {
    padding-top: 26px;
    padding-bottom: 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .hero .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .hero h1 { font-size:2rem; }
}

/* ========== FLEX GRIDS ========== */
.features-grid, .steps-grid, .values-grid, .categories-list, .category-tiles, .catalog-grid, .testimonial-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 18px;
}
.category-tiles, .categories-list {
  gap: 24px;
}
.catalog-grid {
  gap: 24px;
  justify-content: space-between;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width:1023px) {
  .features-grid, .steps-grid, .values-grid, .categories-list, .category-tiles, .catalog-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .features-grid, .steps-grid, .values-grid, .categories-list, .category-tiles, .catalog-grid, .testimonial-list, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========== CARDS & ITEMS ========== */
.card,
.course-card,
.testimonial-card,
.category-tiles > div,
.categories-list > div,
.features-grid > div,
.values-grid > div,
.steps-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 rgba(56,105,191,.07);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.18s, border 0.14s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.card:hover,
.course-card:hover,
.testimonial-card:hover,
.category-tiles > div:hover,
.categories-list > div:hover,
.features-grid > div:hover,
.values-grid > div:hover,
.steps-grid > div:hover {
  box-shadow: 0 6px 36px 0 rgba(56,105,191,.14);
  transform: translateY(-3px) scale(1.03);
  border: 1.5px solid #C2E9E0;
}
.card img, .category-tiles img, .categories-list img, .features-grid img, .values-grid img, .steps-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 0.5em;
}
.course-card span {
  display: block;
  font-size: 0.97rem;
  color: #91A9C3;
  margin-top: 6px;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #F6FAFF;
  color: #21334A;
  border-left: 6px solid #80E9CF;
  box-shadow: 0 2px 16px 0 rgba(19,113,116,0.08);
  min-width: 230px;
  min-height: 140px;
}
.testimonial-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 4px;
}
.testimonial-card p {
  color: #25487A;
  font-size: 1.07rem;
}
.testimonial-meta {
  font-size: 1rem;
  color: #16A085;
  font-family: 'Montserrat', Arial, sans-serif;
}

.testimonial-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
@media (max-width: 768px) {
  .testimonial-card { min-width: 0; }
}

/* ========== BUTTONS & INTERACTIVES ========== */
button, .cta-btn, .pagination a {
  cursor: pointer;
  user-select: none;
  transition: background 0.17s, color 0.13s, box-shadow 0.15s, transform 0.15s;
}
.pagination {
  margin: 36px 0 0 0;
  display: flex;
  gap: 12px;
  font-size: 16px;
}
.pagination span, .pagination a {
  display: inline-block;
  padding: 7px 15px;
  background: #E8F9F7;
  color: #16A085;
  border-radius: 13px;
  box-shadow: 0 1px 5px 0 rgba(56,105,191,.03);
  font-weight: bold;
}
.pagination a:hover, .pagination a:focus {
  background: #16A085;
  color: #fff;
}
.pagination span {
  background: #16A085;
  color: #fff;
}

/* ========== SEARCH BAR ========== */
.search-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 30px 0 8px 0;
  flex-wrap: wrap;
}
.search-bar input, .search-bar select {
  border-radius: 14px;
  border: 1.5px solid #CAE5EF;
  padding: 11px 15px;
  font-size: 1rem;
  color: #274067;
  background: #F7FDFA;
  transition: border-color 0.14s;
}
.search-bar input:focus, .search-bar select:focus {
  border-color: #16A085;
}
.search-bar button {
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #16A085;
  color: #fff;
  border-radius: 16px;
  font-weight: bold;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}
.search-bar button:hover { background: #51D4CB; color:#274067; }

@media (max-width: 600px) {
  .search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .search-bar input, .search-bar select, .search-bar button {
    width: 100%;
    min-width: 0;
  }
}

/* ========== TEXT & SECTION STRUCTURE ========== */
.text-section {
  margin-bottom: 1.4em;
  line-height: 1.7;
}
.text-section p {
  margin-bottom: 0.95em;
  color: #274067;
  font-size: 1.07em;
}
.text-section ul,
.text-section ol {
  margin-left: 1.3em;
  color: #21697A;
}

.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: flex-start;
    gap: 16px;
  }
}

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

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 0;
  flex-direction: column;
}

/* ========== FAQ / ACCORDIONS ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(56,105,191,0.04);
  padding: 22px 18px;
  transition: box-shadow 0.15s, border 0.13s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 2px 25px 0 rgba(56,105,191,.12);
  border: 1.2px solid #C2E9E0;
}

/* ========== CONTACT & MAP ========== */
.contact-direct {
  margin-top: 1.8em;
  margin-bottom: 1.2em;
  background: #F1F3F8;
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-direct ul {
  margin-bottom: 0.8em;
  margin-left: 1.3em;
  color: #25487A;
}
.map-placeholder {
  margin-top: 1.26em;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  background: #FDFDFE;
  border: 1.2px dashed #CAE5EF;
  border-radius: 18px;
  color: #8d9eb8;
  font-size: 0.98em;
}

/* ========== FOOTER ========== */
footer {
  background: #F1F3F8;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  margin-top: 70px;
  padding: 32px 0 0 0;
  font-size: 0.98em;
  color: #234768;
  box-shadow: 0 -2px 14px 0 rgba(56,105,191,.05);
}
footer .container {
  flex-direction: column;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav nav {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav nav a {
  color: #25487A;
  opacity: 0.78;
  font-weight: 500;
  margin-bottom: 2px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
  padding: 3px 6px;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  background: #C2E9E0;
  color: #16A085;
}
.footer-contact {
  max-width: 340px;
  color: #15a572;
  font-size: 0.97em;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  width: 16px; height: 16px; margin-right: 6px; vertical-align: middle;
}
.footer-copy {
  border-top: 1px solid #E4F2DE;
  margin-top: 19px;
  padding: 13px 0 17px 0;
  color: #9bb7c8;
  font-size: 0.92em;
  text-align: center;
}
@media (max-width: 768px) {
  footer .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 9999;
  background: #FFFFFF;
  box-shadow: 0 -2px 16px 0 rgba(56,105,191,0.11);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.48s cubic-bezier(.57,1.78,.51,.67), opacity 0.42s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #234768;
  font-size: 1.05em;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  padding: 11px 22px;
  border-radius: 16px;
  background: #16A085;
  color: #fff;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.17s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #51D4CB;
  color: #25487A;
}
.cookie-btn.reject {
  background: #EAD5E7;
  color: #25487A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFB3E7;
  color: #851A60;
}
.cookie-btn.settings {
  background: #CAE5EF;
  color: #25487A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #B2DFC6;
  color: #16A085;
}

/* --- Cookie Settings Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(37,72,122,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 34px 26px 26px;
  min-width: 300px;
  max-width: 95vw;
  box-shadow: 0 8px 32px 0 rgba(56,105,191,.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  color: #274067;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 8px;
  border-radius: 13px;
  background: #F6F7FC;
  color: #234768;
  font-size: 1.06em;
}
.cookie-category input[type="checkbox"] {
  accent-color: #16A085;
  width: 19px;
  height: 19px;
  margin-right: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal-close {
  display: inline-block;
  background: #FFEBF2;
  color: #851A60;
  border-radius: 10px;
  padding: 6px 16px;
  margin-top: -22px;
  align-self: flex-end;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFD1E8;
}

@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 17px 8px 14px;
    border-radius: 12px;
  }
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 512px) {
  .card, .course-card, .testimonial-card, .category-tiles > div, .categories-list > div, .features-grid > div, .values-grid > div, .steps-grid > div {
    padding: 16px 8px;
    border-radius: 13px;
  }
  .section { padding: 16px 4px; }
}

/* --- Utility Classes --- */
.hide-m {
  display: block;
}
@media (max-width: 670px) {
  .hide-m {
    display: none !important;
  }
}

/* === PASTEL THEMING & MICRO-INTERACTIONS === */
body {
  background: #F8FBFA;
}
.section {
  background: #fffdfd;
}
.testimonial-card {
  background: linear-gradient(120deg, #F6FAFF 75%, #E5FFFA 100%);
  border-left: 6px solid #B8EFEA;
}
.category-tiles > div, .categories-list > div {
  background: linear-gradient(105deg, #F1F3F8 80%, #FDF6FA 100%);
}
.features-grid > div, .values-grid > div, .steps-grid > div {
  background: linear-gradient(120deg, #F7FCFA 85%, #E6F3F7 100%);
}
.card, .course-card {
  background: #FBF9FC;
  border: 1.1px solid #ECE9F5;
}
.card:hover, .course-card:hover {
  border: 1.5px solid #B8EFEA;
  box-shadow: 0 6px 34px 0 rgba(56,105,191,.16);
  background: linear-gradient(120deg, #F7FCFA 80%, #E5FFFA 100%);
}
.cta-btn, .pagination span, .pagination a {
  box-shadow: 0 2px 12px 0 rgba(22,160,133,.09);
}

/* Smooth transition for all cards and buttons */
.card, .course-card, .testimonial-card, .cta-btn, .card-container > *, .category-tiles > div, .categories-list > div {
  transition: box-shadow 0.16s, transform 0.16s, border 0.11s, background 0.13s;
}

/* Focus state for accessibility */
.card:focus-within,
.category-tiles > div:focus-within,
.cta-btn:focus {
  outline: 2px solid #80E9CF;
  outline-offset: 1.5px;
}

/* Fonts loaded from Google Fonts in HTML head:
<link href="https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap" rel="stylesheet">
*/
