/* Warm Pathway – Geometric Structured CSS Design System */

/* -------------------- */
/* RESET & NORMALIZATION */
/* -------------------- */
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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F9FAFB;
  color: #184A7C;
}
img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  border-style: none;
}
a {
  color: #184A7C;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #FFD166;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
}

/* --------------------------- */
/* GEOMETRIC STRUCTURED THEME  */
/* --------------------------- */
:root {
  --primary: #184A7C;
  --secondary: #FFD166;
  --accent: #F9FAFB;
  --black: #101828;
  --dark-blue: #163962;
  --body-text: #233952;
  --neutral-100: #F9FAFB;
  --neutral-200: #F3F4F6;
  --neutral-900: #101828;
  --card-shadow: 0 4px 22px 0 rgba(24, 74, 124, 0.10), 0 1.5px 6px 0 rgba(24, 74, 124, 0.03);
  --border-radius-lg: 18px;
  --border-radius-md: 12px;
  --border-radius-sm: 6px;
  --transition-main: 0.22s cubic-bezier(0.4,0.0,0.2,1);
}
/* Fallbacks for CSS vars */
body {
  background: var(--neutral-100, #F9FAFB);
}

/* -------------------- */
/* TYPOGRAPHY           */
/* -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--body-text);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-align: left;
  /* Geometric/Angular feel: uppercase, spacing for display */
  text-transform: none;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.tagline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08em;
  color: var(--secondary);
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px 0 8px 0;
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--body-text);
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* ----------------------------- */
/* LAYOUT & STRUCTURE            */
/* ----------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  /* Structured/geometric */
  padding: 0;
}

/* Card container spacing/gap patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--accent);
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius-lg);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 6px 40px 0 rgba(24,74,124,0.17), 0 3px 14px 0 rgba(24,74,124,0.09);
  transform: translateY(-5px) scale(1.026);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Geometric Structured Content Grids */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* Feature Section + Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--neutral-200);
  border-radius: var(--border-radius-md);
  padding: 26px 18px 23px 18px;
  box-shadow: 0 2px 12px rgba(24,74,124,0.06);
  min-width: 200px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-main),background 0.2s;
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item:hover {
  background: var(--secondary);
  box-shadow: 0 8px 24px rgba(24,74,124,0.13), 0 2px 8px 0 rgba(24,74,124,0.03);
}

/* Course Cards/List */
.course-card, .course-card-list .course-card {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 1px 7px 0 rgba(24,74,124,0.06);
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  flex: 1 1 247px;
  transition: border 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(24,74,124,0.13);
  transform: translateY(-3px) scale(1.02);
}

/*  ----------------------------------- */
/* CARDS, TESTIMONIALS, BLOG PREVIEW    */
/*  ----------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 10px 0 rgba(24,74,124,0.12);
  margin-bottom: 20px;
  max-width: 420px;
  min-width: 230px;
  flex: 1 1 260px;
  color: #101828;
  transition: box-shadow var(--transition-main), border 0.2s;
}
.testimonial-card .star-rating {
  font-size: 1.4rem;
  color: var(--secondary);
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-name {
  font-size: 1em;
  color: var(--primary);
  font-weight: 700;
}
.testimonials-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.blog-preview {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 1.5px 5px 0 rgba(24,74,124,0.05);
  padding: 22px 18px;
  min-width: 210px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: border 0.18s, box-shadow 0.18s, transform 0.18s;
}
.blog-preview:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(24,74,124,0.10);
  transform: translateY(-6px) scale(1.026);
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 16px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--border-radius-sm);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97em;
  font-weight: 700;
  margin-right: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Instructor Cards/Profile */
.instructor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.instructor-profile {
  background: #fff;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--primary);
  box-shadow: 0 2px 6px 0 rgba(24,74,124,0.09);
  padding: 24px 20px 18px 20px;
  min-width: 200px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: border 0.2s, box-shadow 0.2s;
}
.instructor-profile:hover {
  border-color: var(--secondary);
  box-shadow: 0 7px 24px rgba(24,74,124,0.14);
}

/* Team List (About Page) */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Utility: lists, separators */
ul, ol {
  margin-bottom: 18px;
  margin-left: 24px;
  list-style: disc;
}
ul li, ol li {
  margin-bottom: 6px;
}
ul li img {
  margin-right: 7px;
  vertical-align: middle;
}
/* Remove list style in content-wrapper, nav, etc. only, via selectors */
.content-wrapper > ul,
nav ul, .footer-menu ul {
  list-style: none;
  margin-left: 0;
}

/* -------------------------------- */
/* CALL TO ACTION BUTTONS           */
/* -------------------------------- */
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13em;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  padding: 13px 34px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 12px 0 rgba(24,74,124,0.08);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background var(--transition-main), transform var(--transition-main);
  cursor: pointer;
  margin: 0 0 12px 0;
  display: inline-block;
}
.cta-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.05) translateY(-2px);
}
.cta-btn:focus {
  outline: 2px solid var(--secondary);
}

/* --- Navigation & Header --- */
header {
  background: #fff;
  border-bottom: 2.5px solid var(--secondary);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.04em;
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 18px;
  transition: background 0.17s, color 0.14s;
  letter-spacing: 0.6px;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

header img {
  max-height: 44px;
}

/* Hide hamburger by default on desktop */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 992px) {
  header .container {
    gap: 10px;
  }
  header nav a {
    font-size: 1em;
    padding: 5px 8px;
  }
}
@media (max-width: 820px) {
  .container {
    padding: 0 8px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    min-height: 62px;
    padding: 8px 5vw;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    font-size: 1.85em;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    border: none;
    margin-left: auto;
    cursor: pointer;
    transition: background 0.17s, color 0.17s;
    box-shadow: 0 1px 6px 0 rgba(24,74,124,0.04);
    z-index: 1102;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: var(--primary);
    color: #fff;
  }
}

/* -------------- */
/* MOBILE NAV MENU */
/* -------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(24, 74, 124, 0.96);
  z-index: 1200;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(0.65,0.01,0.32,1);
  transform: translateX(100vw);
  will-change: transform;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: mobileMenuSlideIn 0.34s cubic-bezier(0.65,0.01,0.32,1);
}
@keyframes mobileMenuSlideIn {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  font-size: 2.15em;
  background: none;
  color: #fff;
  border: none;
  margin: 24px 22px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 14px;
  margin-top: 6vh;
  align-items: center;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.28em;
  text-align: center;
  padding: 18px 0;
  width: 90vw;
  border-radius: var(--border-radius-md);
  transition: background 0.19s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* --- Main --- */
main {
  min-height: 50vh;
  background: none;
}

/* ---------------------- */
/* FOOTER                 */
/* ---------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 16px 0;
  border-top: 3px solid var(--secondary);
  margin-top: 48px;
  font-size: 1.02em;
  letter-spacing: 0.3px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #fff;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 9px;
  vertical-align: middle;
}
.footer-logo img {
  max-width: 120px;
  max-height: 44px;
}
@media (max-width: 880px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-menu, .footer-contact, .footer-logo {
    margin-bottom: 10px;
  }
}

/* ------------------------------------ */
/* RESPONSIVE QUERIES                   */
/* ------------------------------------ */
@media (max-width: 1220px) {
  .container {
    max-width: 99vw;
  }
  .card, .testimonial-card, .blog-preview, .course-card, .feature-item {
    flex: 1 1 90vw;
    min-width: 180px;
  }
}
@media (max-width: 760px) {
  .content-wrapper, .card-container, .testimonials-slider, .testimonial-list, .feature-grid, .blog-list, .instructor-list, .course-card-list {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .card, .testimonial-card, .blog-preview, .course-card, .feature-item, .instructor-profile {
    min-width: 98vw;
    max-width: 100vw;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.46rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1.00rem;
  }
}

/* ------------------------------------ */
/* Cookie Consent Banner                */
/* ------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 -5px 24px 0 rgba(24,74,124,0.12);
  padding: 18px 14px 22px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1em;
  animation: cookieBannerAppear 0.6s cubic-bezier(0.52,0.13,0.31,1.03);
}
@keyframes cookieBannerAppear {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 350px;
  max-width: 720px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 17px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #fff;
  color: var(--primary);
  margin-left: 0;
  margin-right: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 7px 0 rgba(24,74,124,0.06);
}
.cookie-banner button:focus {
  outline: 2px solid var(--secondary);
}
.cookie-banner .cookie-settings-btn {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button:hover {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
    font-size: 0.96em;
  }
  .cookie-banner .cookie-message {
    max-width: 92vw;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  z-index: 10000;
  background: rgba(16,24,40,0.68);
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInModal 0.32s cubic-bezier(0.55,0.06,0.74,0.15);
}
@keyframes fadeInModal {
  0% { background: rgba(16,24,40,0.11); opacity: 0; }
  100% { background: rgba(16,24,40,0.68); opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 52px 10px rgba(24,74,124,0.17);
  padding: 36px 28px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popInModal 0.34s cubic-bezier(0.36,0.57,0.83,1.27);
}
@keyframes popInModal {
  0%   { transform: scale(0.86); opacity: 0; }
  100% { transform: scale(1.0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.34em;
  margin-bottom: 0.6em;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  font-size: 1.7em;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.15s;
  z-index: 10001;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-modal-category label {
  flex: 1 1 130px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  background: var(--neutral-200);
  border-radius: 15px;
  position: relative;
  display: inline-block;
  transition: background 0.17s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  height: 16px;
  width: 16px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.17s, background 0.17s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--secondary);
  left: 18px;
}
.cookie-modal .cookie-btn-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--primary);
  color: #fff;
  padding: 9px 24px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  font-size: 1em;
  margin-left: 0;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .cookie-btn-actions button:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Essential cookies label (always enabled) */
.cookie-modal-category.essential label {
  opacity: 0.7;
}
.cookie-modal-category.essential .cookie-toggle {
  filter: grayscale(60%);
  pointer-events: none;
  opacity: 0.60;
}

/* --------------- */
/* FOCUS VISIBLE   */
/* --------------- */
*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* --------------- */
/* MISCELLANEOUS   */
/* --------------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #e6eaf3;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* --------------- */
/* ANIMATIONS & MICRO-INTERACTIONS */
/* --------------- */
.card,
.testimonial-card,
.blog-preview,
.instructor-profile,
.course-card,
.feature-item,
.cta-btn,
.mobile-menu-toggle,
.footer-menu a,
.cookie-banner button,
.cookie-modal-content,
.cookie-modal-close {
  transition: box-shadow var(--transition-main), border var(--transition-main), transform var(--transition-main), background var(--transition-main), color var(--transition-main);
}

/* --------------- */
/* NO OVERLAPPING   */
/* --------------- */
/* Ensured by flex-wrap, min-width, and margin-bottom on all cards/items */

/* --------------- */
/* END              */
/* --------------- */
