/* RESET & BASE ===================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFF;
  color: #23395B;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
a {
  color: #138A72;
  text-decoration: none;
  transition: color .2s;
  font-weight: 700;
}
a:hover,
a:focus {
  color: #23395B;
  text-decoration: underline;
}
button,
input[type="submit"] {
  font-family: inherit;
  border: none;
  cursor: pointer;
  outline: none;
  background: none;
}
input, textarea {
  font-family: inherit;
  border-radius: 6px;
  border: 1px solid #ebebeb;
  padding: 12px;
  margin-bottom: 20px;
  width: 100%;
  font-size: 1rem;
}
input:focus, textarea:focus {
  border-color: #138A72;
}

/* BRAND FONTS (Convenient fallbacks) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #23395B;
  line-height: 1.15;
  margin-bottom: 8px;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p {
  color: #23395B;
  font-size: 1.07rem;
  margin-bottom: 14px;
}
strong { font-weight: bold; }
q {
  display: block;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #138A72;
  margin-bottom: 10px;
  font-style: italic;
}

/* LAYOUT CONTAINERS ================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* SECTIONS & SPACING =============================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}

/* FLEXBOX CUSTOM GRID CLASSES (No grid!!) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.courses-grid,
.courses-list,
.articles-grid,
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* HEADER & NAVBAR =============================== */
header {
  background: #FFFFFF;
  border-bottom: 2.5px solid #F6E6B4;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 99;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 0 0 0;
  gap: 16px;
}
.navbar > a img {
  height: 46px;
  width: auto;
  margin-right: 12px;
}
.main-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  margin-right: auto;
  margin-left: 40px;
}
.main-menu li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #23395B;
  border-radius: 6px;
  padding: 8px 18px;
  transition: background 0.2s,color 0.2s;
}
.main-menu li a:hover,
.main-menu li a:focus {
  background: #F6E6B4;
  color: #138A72;
}

/* CTA BUTTONS =============================== */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #138A72;
  color: #FFF;
  border-radius: 32px;
  padding: 12px 38px;
  font-size: 1.12rem;
  box-shadow: 0 4px 18px 0 rgba(19,138,114,0.12);
  letter-spacing: 1px;
  margin-left: 20px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  border: none;
  outline: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #23395B;
  color: #F6E6B4;
  box-shadow: 0 6px 24px 0 rgba(35,57,91,0.22);
}
.cta-btn.secondary {
  background: #F6E6B4;
  color: #23395B;
  border: 2px solid #138A72;
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: #138A72;
  color: #FFF;
}

/* ENROL BUTTONS/READ BUTTONS ================================ */
.enrol-btn,
.read-btn {
  background: #F6E6B4;
  color: #23395B;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: 2px solid #138A72;
  display: inline-block;
  margin-top: 8px;
  box-shadow: 0 1px 8px 0 rgba(19,138,114,0.07);
}
.enrol-btn:hover,
.read-btn:hover,
.enrol-btn:focus,
.read-btn:focus {
  background: #138A72;
  color: #FFF;
}

/* HERO SECTION ============================ */
.hero {
  background: #23395B;
  color: #FFF;
  border-radius: 0 0 48px 48px;
  padding: 52px 0 60px 0;
  display: flex;
  align-items: center;
  min-height: 340px;
  box-shadow: 0 6px 40px 0 rgba(35,57,91,0.09);
  margin-bottom: 60px;
}
.hero h1,
.hero p {
  color: #FFF;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #F6E6B4;
}

/* CARDS: Courses, Workshops, Teams, Articles ======= */
/* Unified card style for 'modern_bold' aesthetic */
.course-card,
.workshop-card,
.article-card,
.instructor-profile,
.short-story,
.course-detail {
  background: #F6E6B4;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(35,57,91,0.08);
  padding: 28px 20px 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  flex: 1 1 260px;
  border: 2px solid #138A72;
}
.course-card .price,
.course-detail .price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #23395B;
  font-weight: 800;
  margin: 10px 0 2px 0;
  letter-spacing: 0.5px;
}
.team-grid .instructor-profile {
  align-items: flex-start;
  background: #FFF;
  border: 2.2px solid #F6E6B4;
  box-shadow: 0 1.5px 6px 0 rgba(19,138,114,0.08);
}
.short-story {
  background: #fff;
  color: #23395B;
  border: 2px solid #138A72;
  margin-top: 30px;
}

/* FEATURES & BENEFITS ============================== */
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  flex: 1 1 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 9px 0 rgba(35,57,91,0.09);
  border: 2px solid #F6E6B4;
  padding: 20px 16px 18px 16px;
  margin-bottom: 10px;
}
.feature img {
  height: 36px;
  width: 36px;
  margin-bottom: 6px;
}
.feature h3 {
  font-size: 1.06rem;
  margin-bottom: 3px;
  font-weight: 800;
  color: #138A72;
}
.feature p {
  font-size: 1rem;
  color: #23395B;
}

/* TESTIMONIALS =================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px 20px 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(35,57,91,0.11);
  border: 2px solid #F6E6B4;
  min-width: 200px;
  min-height: 150px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card p, .testimonial-card q {
  color: #23395B;
  font-size: 1.04rem;
  margin-bottom: 0;
  font-weight: 500;
}
.testimonial-card h4 {
  color: #138A72;
  font-size: 1.12rem;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #23395B;
  font-size: 1rem;
  opacity: 0.8;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(19,138,114,0.17);
  border-color: #138A72;
}

/* BLOG HERO/SUBSCRIBE & ARTICLES =========================== */
.blog-hero {
  background: #138A72;
  color: #FFF;
  border-radius: 0 0 34px 34px;
  padding: 44px 0 44px 0;
  margin-bottom: 40px;
  display: flex;
}
.blog-hero input[type="text"] {
  border-radius: 32px;
  padding: 12px 18px;
  border: 2px solid #F6E6B4;
  background: #fff;
  color: #23395B;
  font-size: 1rem;
  margin-top: 16px;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.15s;
}
.blog-hero input[type="text"]:focus {
  border-color: #23395B;
}
.article-card {
  min-width: 240px;
  background: #F6E6B4;
  color: #23395B;
  border: 2px solid #23395B;
}

.blog-categories {
  margin-top: 30px;
}
.blog-categories h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #138A72;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
.blog-categories ul li {
  background: #FFF;
  border: 1.5px solid #F6E6B4;
  border-radius: 8px;
  color: #23395B;
  padding: 6px 16px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: bold;
  font-size: .95rem;
}

.newsletter-signup {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.newsletter-signup input[type="email"] {
  flex: 1 1 220px;
  border: 2px solid #F6E6B4;
  border-radius: 22px;
  padding: 10px 18px;
  font-size: 1rem;
}
.newsletter-signup button {
  background: #138A72;
  color: #FFF;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  margin-left: 0;
  transition: background 0.18s, color 0.18s;
}
.newsletter-signup button:hover {
  background: #23395B;
  color: #F6E6B4;
}

/* FOOTER ================================ */
footer {
  background: #23395B;
  color: #fff;
  padding: 28px 0 12px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
footer a img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}
.footer-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.footer-menu li a {
  color: #F6E6B4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: .98rem;
}
.footer-menu li a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}
.footer-contact {
  font-size: .98rem;
  color: #F6E6B4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: text-bottom;
  margin-right: 7px;
}

/* CONTACT DETAILS ================================ */
.contact-details ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details ul li img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: text-bottom;
}
.map-embed {
  margin-top: 18px;
  padding: 16px 0 0 0;
}
.map-embed img {
  border: 2.5px solid #F6E6B4;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(35,57,91,0.12);
}

/* COOKIES BANNER ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #23395B;
  color: #FFF;
  z-index: 1600;
  width: 100%;
  box-shadow: 0 -3px 20px rgba(35,57,91,0.16);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 16px;
  transition: transform 0.3s;
  gap: 36px;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-text {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: #F6E6B4;
  color: #23395B;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 24px;
  margin: 0 3px;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  box-shadow: 0 2px 6px 0 rgba(246,230,180,0.16);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #138A72;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #F6E6B4;
  border: 2px solid #F6E6B4;
}
.cookie-btn.settings:hover {
  background: #F6E6B4;
  color: #23395B;
}

/* COOKIES MODAL ======================== */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(35,57,91,0.73);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.18s;
}
.cookie-modal.active {
  display: flex;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 38px 30px 30px 30px;
  max-width: 420px;
  min-width: 290px;
  color: #23395B;
  box-shadow: 0 6px 34px 0 rgba(19,138,114,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h3 {
  font-size: 1.27rem;
  color: #138A72;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  font-size: 1.08rem;
  color: #23395B;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #F6E6B4;
  border-radius: 24px;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #138A72;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #23395B;
  left: 19px;
}
.cookie-modal .cookie-actions {
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: .97rem;
  padding: 7px 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  color: #138A72;
  font-size: 1.6rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: #23395B;
}

/* MOBILE MENU ================================ */
.mobile-menu-toggle {
  display: none;
  background: #F6E6B4;
  color: #23395B;
  padding: 13px 15px;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: 12px;
  border: none;
  box-shadow: 0 1.5px 6px 0 rgba(35,57,91,0.09);
  transition: background 0.18s, color 0.18s;
  z-index: 1201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #138A72;
  color: #FFF;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #23395B;
  color: #FFF;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
  padding: 40px 0 0 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #F6E6B4;
  font-size: 2.2rem;
  font-family: inherit;
  border: none;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
  z-index: 100;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #138A72;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 64px;
  padding-left: 38px;
  min-width: 200px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  padding: 10px 4px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6E6B4;
  color: #23395B;
}

/* RESPONSIVE/MOBILE - Always mobile first ============================== */
@media (max-width: 1020px) {
  .container {
    max-width: 92vw;
    padding: 0 7vw;
  }
  .main-menu {
    gap: 16px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .features-grid,
  .courses-grid,
  .courses-list,
  .articles-grid,
  .testimonials-row,
  .team-grid,
  .workshop-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features-grid,
  .courses-grid,
  .courses-list,
  .articles-grid,
  .testimonials-row,
  .team-grid,
  .workshop-list {
    flex-direction: column;
    gap: 18px;
  }
  .navbar {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .navbar {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    padding: 0 0 0 0;
  }
  .main-menu {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 4vw;
    max-width: 98vw;
  }
  section, .section {
    padding: 28px 0 0 0;
  }
  .content-wrapper {
    gap: 10px;
  }
  .text-image-section,
  .features-grid,
  .courses-grid,
  .courses-list,
  .articles-grid,
  .testimonials-row,
  .team-grid,
  .workshop-list,
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .blog-hero {
    border-radius: 0 0 18px 18px;
    padding: 28px 0 32px 0;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 2vw;
    max-width: 100vw;
  }
  h1 { font-size: 1.26rem; }
  h2 { font-size: 1.04rem; }
  .navbar > a img,
  footer a img { height: 32px; }
  .course-card,
  .instructor-profile,
  .workshop-card,
  .article-card {
    padding: 16px 10px 14px 10px;
    min-width: 180px;
  }
  .testimonials-row {
    gap: 12px;
  }
  .testimonial-card {
    padding: 14px 8px 12px 12px;
    min-width: 110px;
  }
  .cookie-modal-content {
    padding: 20px 9vw 14px 9vw;
    min-width: 0;
    width: 90vw;
  }
  .cta-btn,
  .enrol-btn,
  .read-btn, .cookie-btn {
    font-size: 0.91rem;
    padding: 8px 13px;
    min-width: unset;
  }
}

/* MICRO-INTERACTIONS & HOVER EFFECTS =============== */
.card-container > *,
.features-grid > *,
.courses-grid > *,
.articles-grid > *,
.team-grid > *,
.workshop-list > * {
  transition: box-shadow 0.2s,border-color 0.22s,transform 0.16s;
}
.card-container > *:hover,
.features-grid > *:hover,
.courses-grid > *:hover,
.articles-grid > *:hover,
.team-grid > *:hover,
.workshop-list > *:hover {
  box-shadow: 0 7px 22px 0 rgba(19,138,114,0.15);
  border-color: #138A72;
  transform: translateY(-2.5px) scale(1.025);
  z-index: 1;
}

/* UTILITIES ======================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ACCESSIBILITY FOCUS ============================ */
a:focus, button:focus, input:focus {
  outline: 2.5px solid #F6E6B4;
  outline-offset: 2px;
  z-index: 1;
}

/* Z-INDEX LAYERING =============================== */
.mobile-menu-toggle,
.mobile-menu,
.mobile-menu-close,
.cookie-banner,
.cookie-modal { z-index: 1600; }

/* CLASSES PER MANDATORY PATTERN =================== */
.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;
}

/* NO GRID OR COLUMN PROPERTIES ANYWHERE */