/* ================= CSS RESET & BASE =================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F4F6FA;
  color: #284477;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #284477;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #F7A900;
}
ul, ol {
  padding-left: 1.15em;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #284477;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; font-weight: 600; }
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  body { font-size: 15px; }
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* =================== HEADER ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(40,68,119,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand-logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
}
header nav a {
  color: #284477;
  padding: 7px 10px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: #F4F6FA;
  color: #F7A900;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  background: #284477;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 26px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(40,68,119,0.06);
  cursor: pointer;
  margin-left: 10px;
  text-align: center;
  transition: background 0.20s, box-shadow 0.20s, color 0.20s;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F7A900;
  color: #284477 !important;
  box-shadow: 0 4px 18px rgba(247,169,0,0.13);
  outline: none;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  background: #F7A900;
  color: #284477 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 10px 22px;
  border-radius: 26px;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.20s, color 0.20s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #284477;
  color: #fff !important;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #284477;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 6px;
  z-index: 45;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F4F6FA;
}

/* ================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 60px rgba(40,68,119,0.12);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.77,0.2,0.05,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #F4F6FA;
  color: #284477;
  border: none;
  font-size: 2.2rem;
  padding: 10px 16px;
  margin-left: auto;
  margin-right: 15px;
  margin-top: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #F7A900;
  color: #fff;
}
.mobile-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 28px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #284477;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 14px;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F4F6FA;
  color: #F7A900;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============== MAIN LAYOUT SPACING ================ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============= HERO SECTION ============== */
.hero {
  background: linear-gradient(120deg, #F4F6FA 70%, #fff 100%);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 68px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  gap: 20px;
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  color: #3d567a;
  margin-bottom: 10px;
}
.hero .cta-primary {
  margin-top: 15px;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: 30px;
  }
  .hero .content-wrapper {
    max-width: 100%;
  }
  .hero h1 { font-size: 2rem; }
}

/* ============ FEATURES ============ */
.features .content-wrapper {
  align-items: flex-start;
}
.feature-grid,
.course-list,
.course-overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(40,68,119,0.06);
  padding: 26px 22px 18px 22px;
  min-width: 200px;
  max-width: 285px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item:hover {
  box-shadow: 0 6px 38px rgba(40,68,119,0.11);
  transform: translateY(-4px) scale(1.02);
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 7px;
}
.feature-item h3 {
  font-size: 1.12rem;
  color: #284477;
  margin-bottom: 3px;
}
.feature-item p {
  color: #3d567a;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .feature-grid, .course-list, .course-overview-cards {
    flex-direction: column;
    gap: 22px;
  }
  .feature-item, .course-card {
    max-width: 100%;
    min-width: unset;
  }
}

/* =========== COURSE CARDS =========== */
.course-list, .course-overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.course-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(40,68,119,0.05);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.course-card:hover {
  box-shadow: 0 6px 26px rgba(40,68,119,0.10);
  transform: translateY(-4px) scale(1.018);
}
.course-card h3 {
  color: #284477;
  font-size: 1.13rem;
}
.course-card p {
  color: #3d567a;
  margin-bottom: 5px;
  font-size: 0.99rem;
}
.course-card .tag {
  display: inline-block;
  background: #F7A900;
  color: #fff;
  font-size: 0.88rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 12px;
  border-radius: 20px;
  margin-top: 8px;
  align-self: flex-start;
}

/* Filters for course levels */
.level-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-top: 15px;
  margin-bottom: 12px;
}
.level-filters button {
  background: #F4F6FA;
  border: 1px solid #284477;
  color: #284477;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  padding: 6px 16px;
  margin-right: 2px;
  font-size: 0.95rem;
  transition: background 0.18s, color 0.18s, border 0.15s;
  cursor: pointer;
}
.level-filters button:hover, .level-filters button:focus {
  background: #F7A900;
  color: #fff;
  border-color: #F7A900;
}


/* ================ BLOG LISTING ================ */
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.blog-post {
  background: #fff;
  padding: 28px 22px 20px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(40,68,119,0.08);
  min-width: 230px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.blog-post.featured {
  border: 1.5px solid #F7A900;
}
.blog-post h2 {
  font-size: 1.15rem;
  color: #284477;
  margin-bottom: 5px;
}
.blog-post p {
  color: #3d567a;
  font-size: 1rem;
}
.blog-post a {
  color: #F7A900;
  font-weight: 600;
  font-size: 0.98rem;
  align-self: flex-start;
  margin-top: 9px;
  transition: color 0.14s;
}
.blog-post a:hover {
  color: #284477;
}

.categories ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.categories li {
  background: #F4F6FA;
  border-radius: 14px;
  padding: 7px 17px;
  color: #284477;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
  box-shadow: 0 2px 8px rgba(40,68,119,0.04);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 18px;
}
.topic-tags span {
  background: #284477;
  color: #fff;
  border-radius: 13px;
  padding: 6px 15px;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 10px rgba(40,68,119,0.045);
}

/* =============== TESTIMONIALS =============== */
.testimonials .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #284477;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(40,68,119,0.08);
  padding: 20px 27px 16px 27px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 400px;
  transition: box-shadow 0.18s, transform 0.14s;
  font-size: 1.04rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(40,68,119,0.15);
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card p {
  color: #284477;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.testimonial-meta {
  color: #435d86;
  font-size: 0.97rem;
  font-style: italic;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0px;
}
.star-rating img {
  width: 19px;
  height: 19px;
}

/* Student stories & audio testimonials */
.student-stories, .video-quotes {
  margin-top: 35px;
  margin-bottom: 14px;
}

@media (max-width: 850px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========== MISC SECTIONS ========== */
.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: 22px;
  }
}

.stats ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.stats li {
  background: #FFF;
  color: #284477;
  border-radius: 12px;
  padding: 15px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(40,68,119,0.06);
  min-width: 140px;
}
@media (max-width: 700px) {
  .stats ul { flex-direction: column; gap: 15px; }
  .stats li { min-width: unset; }
}

.address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.map-embed {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(70%);
  opacity: 0.70;
  transition: filter 0.18s, opacity 0.18s;
}
.social-links a:hover img {
  filter: none;
  opacity: 1;
}

/* =========== FOOTER ============ */
footer {
  background: #fff;
  border-top: 1px solid #ecedf1;
  padding: 36px 0 25px 0;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-content > a img {
  height: 35px;
  margin-bottom: 7px;
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a {
  color: #435d86;
  font-size: 0.97rem;
  padding: 3px 8px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #F4F6FA;
  color: #F7A900;
}
.legal-text {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 0 0;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  color: #435d86;
  font-size: 0.97rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 5px;
}
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ============= CONTACT DETAILS ============= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d567a;
  font-size: 1rem;
}
.contact-details img {
  width: 19px;
  height: 19px;
}

/* ============ THANK YOU ============ */
.thank-you .text-section ul {
  margin-top: 8px;
  margin-bottom: 16px;
}
.thank-you .cta-primary {
  margin-top: 22px;
}

/* =========== GDPR/LEGAL LISTS ========== */
main ul, main ol {
  margin-top: 8px;
  margin-bottom: 18px;
}
main ul li, main ol li {
  margin-bottom: 7px;
}

/* ============ Cookie Consent Banner ============= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 200;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(40,68,119,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 22px;
  opacity: 1;
  transition: opacity 0.25s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: #264477;
  font-size: 1rem;
  flex: 1 1 70%;
  margin-bottom: 0 !important;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 500;
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  margin-top: 0;
  cursor: pointer;
  background: #F4F6FA;
  color: #284477;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.accept {
  background: #F7A900;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #284477;
  color: #fff;
}
.cookie-banner button.settings {
  border: 1.2px solid #e3e7ef;
  background: #fff;
  color: #284477;
}
.cookie-banner button.settings:hover {
  background: #F7A900;
  color: #fff;
}
.cookie-banner button.reject {
  background: #F4F6FA;
  color: #284477;
}
.cookie-banner button.reject:hover {
  background: #ffd787;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 12px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 8px;
  }
}

/* ============= Cookie Settings Modal ============= */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,68,119,0.14);
  z-index: 210;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 24px rgba(40,68,119,0.14);
  padding: 36px 24px 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: cookie-slide-in 0.32s cubic-bezier(0.77,0.3,0.22,1.0);
}
@keyframes cookie-slide-in {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.14rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-size: 1rem;
  color: #284477;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F7A900;
  width: 19px;
  height: 19px;
}
.cookie-category.essential label {
  font-weight: bold;
  color: #284477;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-buttons button {
  min-width: 90px;
}

/* === UTILITIES & FLEXBOX HELPERS === */
.flex,
.card-container,
.card,
.content-grid {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }

.card-container {
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  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 QUERIES ========== */
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .section, section {
    padding: 24px 2px;
    margin-bottom: 40px;
  }
  .feature-item, .course-card {
    padding: 18px 10px 12px 10px;
  }
}

/* ========== MICRO-INTERACTIONS & ANIMATIONS ========== */
.cta-primary, .cta-secondary, .course-card, .feature-item, .testimonial-card, .blog-post {
  transition: box-shadow 0.18s, background 0.20s, color 0.18s, transform 0.17s;
}

/* ========== INPUTS & FORMS (if forms added) ========== */
input, textarea, select {
  font-family: inherit;
  background: #fff;
  border: 1.1px solid #e3e7ef;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 14px;
  margin-bottom: 16px;
  color: #284477;
  transition: border 0.13s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F7A900;
  box-shadow: 0 0 0 2px #F4F6FA;
  outline: none;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =========== ACCESSIBILITY/FOCUS STATES ========== */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #F7A900;
  outline-offset: 2px;
}

/* =========== SCROLLBAR (subtle for accent) ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #F4F6FA;
}
::-webkit-scrollbar-thumb {
  background: #e4e7ed;
  border-radius: 8px;
}

/* =========== END ========== */
