/* --- CSS RESET & 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;
}
article, aside, details, figcaption, figure,  
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #222;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  appearance: none;
}

/* --- BRAND SYSTEM VARIABLES --- */
:root {
  --primary: #203864;
  --secondary: #D9CCB4;
  --accent: #F49C1E;
  --text: #222222;
  --bg-light: #fffefa;
  --bg-darker: #f8f3ea;
  --border: #ece5dd;
  --shadow: 0 4px 24px rgba(32, 56, 100, 0.09);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@media (max-width: 540px) {
  :root {
    --radius: 12px;
    --radius-sm: 8px;
  }
}

/* --- TYPOGRAPHY --- */
body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  background: var(--bg-light);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.22rem;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.3;
}
p, li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #222;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
blockquote {
  font-family: var(--font-body);
  background: var(--secondary);
  color: #222;
  border-left: 5px solid var(--accent);
  padding: 16px 24px;
  margin: 22px 0;
  font-size: 1.17rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-style: italic;
}

/* --- LAYOUT STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 920px) {
  .section {
    padding: 32px 4vw;
    margin-bottom: 36px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 26px 2vw;
    margin-bottom: 22px;
  }
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 14px rgba(32, 56, 100, 0.08);
  position: relative;
  z-index: 900;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 24px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(32,56,100,0.12));
}
nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}
nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
nav a.cta-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  margin-left: 18px;
  padding: 10px 28px;
  font-size: 1.14rem;
  font-family: var(--font-display);
  box-shadow: 0 2px 8px rgba(244,156,30,0.12);
  transition: background 0.2s, color 0.2s, transform 0.12s;
  letter-spacing: 0.03em;
}
nav a.cta-btn:hover {
  background: #fff;
  color: var(--primary);
  transform: scale(1.045);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 1102;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff;
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.67,-0.13,.42,1.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  overflow-y: auto;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  margin-top: 24px;
  margin-left: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 1103;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.22rem;
  padding: 16px 0 8px 8px;
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  width: 85vw;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 1150px) {
  nav {
    gap: 7px;
  }
}
@media (max-width: 920px) {
  header .container {
    gap: 8px;
  }
  nav a.cta-btn {
    margin-left: 6px;
  }
}
@media (max-width: 820px) {
  nav {
    gap: 6px;
  }
}
@media (max-width: 820px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 820px) {
  .mobile-menu {
    display: flex;
  }
}

/* --- MAIN SECTIONS & FLEX LAYOUTS --- */
.feature-grid,
.course-list,
.methodology-grid,
.instructor-profiles,
.case-study-list,
.faq-list,
.blog-post-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > li,
.methodology-grid > div,
.instructor-profiles > div,
.course-list > li,
.case-study-list > div,
.blog-post-previews > article,
.faq-list > div {
  background: var(--bg-darker);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 390px;
  transition: transform 0.14s, box-shadow 0.18s, background 0.13s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > li img,
.methodology-grid > div img,
.instructor-profiles > div img {
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(32,56,100,0.09));
}
.feature-grid > li:hover,
.methodology-grid > div:hover,
.instructor-profiles > div:hover,
.course-list > li:hover,
.case-study-list > div:hover,
.faq-list > div:hover,
.blog-post-previews > article:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(32,56,100,0.21);
  transform: translateY(-3px) scale(1.035);
  z-index: 2;
}

.text-section {
  margin-bottom: 36px;
}
.text-section:last-child {
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow 0.13s, background 0.13s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px 26px 22px;
  gap: 13px;
}
.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) {
  .content-grid, .card-container, .feature-grid, .methodology-grid, .instructor-profiles, .case-study-list, .blog-post-previews, .faq-list {
    flex-direction: column !important;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  box-shadow: 0 2px 18px rgba(32,56,100,0.09);
  border-left: 5px solid var(--accent);
  color: #212436;
  font-size: 1.09rem;
  position: relative;
  transition: box-shadow 0.13s, border-color 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(244,156,30,0.14);
  border-left-color: var(--primary);
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

/* --- BUTTONS --- */
.cta-btn,
button,
input[type=submit],
.cookie-btn {
  font-family: var(--font-display);
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 32px;
  font-size: 1.12rem;
  border: none;
  cursor: pointer;
  margin: 12px 0 0 0;
  transition: background 0.16s, color 0.16s, transform 0.11s;
  box-shadow: 0 2px 8px rgba(244,156,30,0.13);
  position: relative;
  z-index: 1;
  display: inline-block;
  letter-spacing: 0.01em;
  outline: none;
}
.cta-btn:hover,
button:hover,
input[type=submit]:hover,
.cookie-btn:hover,
.cta-btn:focus,
button:focus,
input[type=submit]:focus,
.cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(32,56,100,0.16);
  transform: scale(1.045);
}

/* --- TAGS & BADGES --- */
.tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  border-radius: 8px;
  padding: 3px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* --- NEWSLETTER, SOCIAL, CONTACT --- */
.newsletter-signup {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin-top: 32px;
  font-size: 1.05rem;
}
.newsletter-signup h3 {
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.newsletter-signup a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s;
}
.newsletter-signup a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.social-links a {
  background: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(32,56,100,0.11);
  transition: box-shadow 0.14s, background 0.13s;
}
.social-links a:hover {
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(244,156,30,0.21);
}
.social-links img {
  max-height: 30px;
}
.contact-summary p, .contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.02rem;
  color: #373737;
}
.contact-summary img, .contact-details img {
  height: 20px;
  width: 20px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  font-size: 1.02rem;
  padding: 44px 0 0 0;
  margin-top: 40px;
  box-shadow: 0 -3px 10px rgba(32,56,100,0.07);
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 20px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  margin-bottom: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer p {
  color: white !important;
}
footer nav a {
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.13s;
}
footer nav a:hover { color: var(--accent); }
footer .newsletter-signup {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}
@media (max-width: 920px) {
  footer .content-wrapper {
    gap: 22px 10px;
  }
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  footer {
    padding: 18px 0 0 0;
  }
}

/* --- MODALS & ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(56px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 2000;
  background: #fffdfa;
  color: #234;
  box-shadow: 0 -2px 18px rgba(32,56,100,0.10);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 22px 20px 20px 20px;
  animation: fadeUp 0.8s cubic-bezier(.59,1.68,.3,-0.37) 1;
  font-size: 1.05rem;
}
.cookie-banner .cookie-text {
  flex: 2 1 300px;
  margin-right: 12px;
  min-width: 180px;
}
.cookie-banner .cookie-actions {
  flex: 1 1 180px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  border: none;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-right: 0;
  box-shadow: 0 1px 4px rgba(244,156,30,0.06);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--bg-darker);
  color: var(--primary);
  font-weight: 400;
  border: 1px solid var(--primary);
}
.cookie-btn:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: var(--primary);
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px 0;
    padding: 15px 9px 14px 9px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,56,100,0.32);
  z-index: 2100;
  animation: fadeDown 0.7s;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: #fffdfa;
  z-index: 2110;
  border-radius: var(--radius);
  box-shadow: 0 8px 34px rgba(32,56,100,0.24);
  max-width: 420px;
  width: 97vw;
  padding: 38px 28px 32px 28px;
  animation: modalSlide 0.38s cubic-bezier(.47,1.62,.3,-0.44) 1;
  font-family: var(--font-body);
  color: #252729;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.23rem;
  font-family: var(--font-display);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  font-size: 1.03rem;
}
.cookie-modal .toggle {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}
.cookie-modal .toggle input[type=checkbox] {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  margin-right: 5px;
  outline: 2px solid var(--primary);
}
.cookie-modal .toggle input[disabled] {
  background: var(--secondary);
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: transparent;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cookie-modal-close:hover {
  color: var(--accent);
}

/* --- SPECIAL/CREATIVE ARTISTIC ACCENTS --- */
.section {
  background: transparent;
  border-radius: var(--radius);
}
h1, h2, h3, h4, .cta-btn, .tag, .newsletter-signup h3, .mobile-nav a {
  text-shadow: 1px 2px 4px rgba(244,156,30,0.04);
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  margin-top: 8px;
  border-radius: 5px;
  background: var(--accent);
  opacity: 0.52;
}
[type='checkbox']::after {
  border-radius: 40%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- CATEGORY / FILTERS --- */
.categories-filter,
.filter-options {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 25px;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.categories-filter span,
.filter-options span {
  border-radius: 7px;
  background: var(--secondary);
  color: var(--accent);
  font-weight: 600;
  padding: 4px 13px;
  margin-right: 4px;
  transition: background 0.13s, color 0.13s;
}
.categories-filter span:hover, .filter-options span:hover {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

/* --- BLOG LIST ARTICLES --- */
.blog-post-previews article {
  background: var(--bg-darker);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 18px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 240px;
  max-width: 420px;
  transition: transform 0.13s, box-shadow 0.17s;
}
.blog-post-previews article h2 {
  font-size: 1.19rem;
  margin-bottom: 7px;
}
.blog-post-previews article a {
  color: var(--primary);
  font-weight: 700;
  transition: color 0.18s;
}
.blog-post-previews article a:hover {
  color: var(--accent);
}

/* --- FAQS --- */
.faq-list > div {
  background: var(--secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.faq-list strong {
  color: var(--primary);
  font-family: var(--font-display);
}

/* --- MISC & UTILS --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- RESPONSIVE FONTS & SPACING --- */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.7rem;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1rem;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 5vw;
  }
}

/* --- THANK YOU CONFIRMATION --- */
.confirmation-message {
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 24px;
  text-align: center;
  font-size: 1.04rem;
}
.next-steps-info {
  margin-top: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(32,56,100,0.10);
  padding: 18px 22px;
  text-align: left;
}
.next-steps-info h2 {
  margin-bottom: 11px;
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- END --- */
