/* ------------------- CSS RESET & BASE ------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
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;
}
html { font-size: 16px; }
body { line-height: 1.5; background: #FAFAF7; color: #222; }
article, aside, details, figcaption, figure, footer, header, hgroup, 
menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; padding: 0;
}
button { cursor: pointer; }

/* ------------------- FONT IMPORTS (FALLBACKS INCLUDED) ------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Georgia, Times, serif;
  background-color: #F9F9F6;
  color: #34353A;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #214B76;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.14;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, ol, li {
  font-size: 1.08rem;
  color: #45474f;
  margin-bottom: 14px;
}
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* ------------------- BRAND COLORS ------------------- */
:root {
  --primary: #214B76;
  --secondary: #F2B134;
  --accent: #F0F4F9;
  --surface: #FFFFFF;
  --on-primary: #fff;
  --on-secondary: #222;
  --neutral-muted: #EBEBE3;
}

/* ------------------ CONTAINER & BASE SPACING ------------------ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section, section {
    padding: 32px 0 24px 0;
    margin-bottom: 32px;
  }
}

/* ------------------- HEADER & NAVIGATION ------------------- */
header {
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(33,75,118,0.06);
  border-bottom: 1px solid #EBEBE3;
  padding: 0;
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;  /* vertical center */
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  padding: 0 8px 0 0;
}
.logo img { height: 38px; width: auto; display: block; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1.08rem;
}
.main-nav a {
  color: var(--primary);
  padding: 10px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.cta-btn {
  margin-left: 16px;
}

/* Mobile navigation button */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  display: none;
  margin-left: 14px;
  z-index: 210;
  padding: 5px 10px;
}
@media (max-width: 991px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------- MOBILE MENU ------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,75,118,0.95);
  color: var(--on-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.65,0,.35,1);
  z-index: 9999;
  padding-top: 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--on-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 4px 28px 18px 0;
  padding: 8px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.22rem;
  color: var(--on-primary);
  letter-spacing: .01em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color .18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* ------------- HERO SECTION ------------- */
.hero-section {
  background: linear-gradient(140deg, #F0F4F9 75%, #ffffff 100%);
  padding-top: 44px; padding-bottom: 48px;
}
.hero-section .container {
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  max-width: 650px;
}
.hero-section h1 {
  margin-bottom: 18px; color: #23446A;
  font-size: 2.7rem;
}
.hero-section .subheadline {
  color: #444; font-size: 1.18rem; margin-bottom: 28px;
  font-weight: 500;
}
.hero-section .btn-primary { margin-bottom: 10px; }

/* ------------- FEATURES SECTION ------------- */
.features-section {
  padding-bottom: 0;
  background: #F7F7F2;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.feature-grid li {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(33,75,118,0.08);
  border: 1px solid #EBEBE3;
  padding: 28px 26px 19px 26px;
  flex: 1 1 240px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  transition: box-shadow .22s, transform .23s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 28px 0 rgba(33,75,118, 0.10);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img {
  width: 44px; height: 44px; margin-bottom: 3px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #214B76;
  margin-bottom: 2px;
}
.feature-grid p {
  font-size: 1rem;
  color: #4F5662;
  margin-bottom: 0;
}

/* ------------- ABOUT SECTION & COMMONS ------------- */
.about-section, .courses-overview-section, .testimonials-section, .cta-section {
  background: transparent;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.text-section ul, .text-section ol {
  margin-top: 2px;
  margin-left: 17px;
  list-style-type: disc;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  color: #45474f;
}
.text-section a {
  color: var(--primary);
  text-decoration: underline;
  transition: color .18s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--secondary);
  text-decoration: none;
}

/* ------------- COURSES GRID ------------- */
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 22px;
}
.courses-grid > div {
  flex: 1 1 320px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid #EBEBE3;
  padding: 26px 24px 17px 24px;
  box-shadow: 0 1px 10px 0 rgba(33,75,118,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 250px;
}
.courses-grid h2 {
  font-size: 1.23rem; color: #214B76; margin-bottom: 10px;
  font-family: 'Montserrat', Georgia, serif;
}
.courses-grid p { font-size: 1.04rem; margin-bottom: 0; }

/* ------------- TESTIMONIALS ------------- */
.testimonials-section {
  background: #F0F4F9;
  padding-top: 32px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--surface);
  color: #334;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(33,75,118,0.10);
  border: 1px solid #E3E6EB;
  padding: 24px 28px 20px 32px;
  min-width: 270px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .19s;
  position: relative;
}
.testimonial-card blockquote {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.13rem;
  color: #222;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.35;
  quotes: "\201C" "\201D";
}
.testimonial-card strong { color: #214B76; font-weight: 700; }
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(33,75,118,0.16);
  transform: scale(1.018) translateY(-3px);
}

/* ------------- CTA SECTION ------------- */
.cta-section {
  background: linear-gradient(140deg, #F2B134 20%, #FDBF24 100%);
  color: #23446A;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(33,75,118,0.10);
  margin-top: 38px;
  min-height: 148px;
  text-align: center;
  padding-top: 38px;
  padding-bottom: 32px;
}
.cta-section h2 { color: #214B76; margin-bottom: 18px; }
.cta-section a.btn-primary {
  margin: 0 auto 8px auto;
  display: inline-block;
}
.cta-section p { color: #214B76; }

/* ------------- BLOG GRID ------------- */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-bottom: 32px;
}
.blog-grid article {
  background: var(--surface);
  border-radius: 13px;
  border: 1px solid #EBEBE3;
  box-shadow: 0 2px 10px 0 rgba(33,75,118,0.04);
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 370px;
  padding: 24px 20px 20px 23px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .19s;
}
.blog-grid article:hover, .blog-grid article:focus-within {
  box-shadow: 0 5px 18px 0 rgba(33,75,118,0.13);
  transform: translateY(-1.5px) scale(1.011);
}
.blog-grid h2 { font-size: 1.16rem; margin-bottom: 9px; color: #214B76; }
.blog-grid p { font-size: 1.03rem; }
.blog-grid a {
  color: var(--secondary);
  font-weight: 600;
  transition: color .16s;
}
.blog-grid a:hover, .blog-grid a:focus {
  color: #214B76;
  text-decoration: underline;
}

.search-blog {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0 0 16px 0;
  align-items: center;
}
.search-blog input[type="text"] {
  padding: 8px 13px;
  border: 1px solid #DDE1E7;
  border-radius: 6px;
  background: #F4F6F9;
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1rem;
  color: #233150;
}
.search-blog button {
  padding: 7px 16px;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background .2s, color .19s;
}
.search-blog button:hover, .search-blog button:focus {
  background: var(--secondary);
  color: var(--on-secondary);
}

/* ------------- FOOTER ------------- */
footer {
  background: #F7F7F2;
  border-top: 1px solid #E2E3E7;
  padding: 36px 0 14px 0;
  color: #243356;
  font-size: 1rem;
  font-family: 'Open Sans', Georgia, serif;
}
footer .container {
  flex-direction: column;
  gap: 15px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #214B76;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.06rem;
  position: relative;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 1rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 4px;
  vertical-align: middle;
}
.footer-contact span {
  margin-left: 12px;
}
.footer-branding {
  text-align: center;
  color: #7C837C;
  font-size: 0.95rem;
  margin-top: 9px;
  font-family: 'Montserrat', Georgia, serif;
}

/* ------------- BUTTONS & LINKS ------------- */
.btn-primary, .btn {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary) !important;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: .03em;
  box-shadow: 0 1px 6px 0 rgba(33,75,118,0.09);
  transition: background .2s, color .19s, box-shadow .22s, transform .23s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus,
.btn:hover, .btn:focus {
  background: var(--secondary);
  color: var(--on-secondary) !important;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 4px 18px 0 rgba(33,75,118,0.16);
  outline: none;
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary); font-weight: 700;
  border-radius: 6px;
}

/* ------------- GENERIC FLEXBOX UTILS ------------- */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(33,75,118,0.08);
  border: 1px solid #EBEBE3;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px 26px;
  min-width: 230px;
  transition: box-shadow .21s, transform .19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 20px 0 rgba(33,75,118,.15);
  transform: translateY(-2px) scale(1.012);
}
.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;
}
/* Utility class for classic elegant section spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .content-grid, .card-container, .feature-grid, .courses-grid, .blog-grid {
    gap: 16px !important;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, .courses-grid, .blog-grid {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact {
    flex-direction: column; align-items: flex-start; gap: 9px;
  }
}

/* ------------- LISTS, BLOCKQUOTES ------------- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li { margin-bottom: 10px; }
blockquote {
  margin: 8px 0 12px 0;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--primary);
  background: transparent;
  font-style: italic; color: #1F2E4A;
}

/* ------------- FORMS ------------- */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  padding: 10px 13px;
  font-size: 1rem;
  background: #F4F6F9;
  border: 1px solid #DDE1E7;
  border-radius: 5px;
  font-family: 'Open Sans', Georgia, serif;
  margin-bottom: 13px;
  width: 100%;
  color: #233150;
  transition: border .18s, box-shadow .19s;
}
input[type="text"]:focus, input[type="email"]:focus,
input[type="tel"]:focus, textarea:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 2px 8px 0 rgba(33,75,118,0.09);
  outline: none;
}

/* ------------- CATEGORY FILTERS (Courses) ------------- */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.04rem;
  gap: 9px;
  color: #214B76;
  margin-bottom: 18px;
}
.category-filters span { font-weight: 600; }
.category-filters a {
  color: #214B76;
  font-weight: 600;
  text-decoration: underline;
  transition: color .16s;
}
.category-filters a:hover, .category-filters a:focus { color: #F2B134; }

/* ------------- RESPONSIVENESS ------------- */
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .hero-section .subheadline { font-size: 1.02rem; }
  .about-section, .testimonials-section, .courses-overview-section,
  .cta-section, .features-section { padding: 30px 0 22px 0; }
}
@media (max-width: 575px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .footer-nav {
    flex-direction: column; gap: 14px;
  }
  .hero-section, .cta-section {
    padding-left: 0; padding-right: 0;
  }
}

/* ------------- COOKIE CONSENT BANNER ------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #214B76;
  color: #fff;
  z-index: 12009;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 -1px 16px 0 rgba(33,75,118,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 62px;
  font-size: 1rem;
  animation: cookie-banner-in .5s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-banner-in {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex; flex-direction: row; gap: 16px;
  align-items: center;
}
.cookie-banner .btn {
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 1rem;
  background: #F2B134;
  color: #214B76 !important;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  border: none;
  transition: background .18s, color .17s;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  color: #fff !important;
  background: #214B76;
  border: 1.5px solid #E9B94B;
}
.cookie-banner .btn-secondary {
  background: #F0F4F9;
  color: #214B76 !important;
}
.cookie-banner .btn-secondary:hover {
  background: #F2B134;
  color: #fff !important;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(45,53,78,0.55);
  z-index: 12011;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #34406e;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -8px 32px rgba(33,75,118,0.14), 0 1.5px 6px #E3E6EB;
  padding: 36px 32px 23px 32px;
  max-width: 98vw;
  min-width: 310px;
  font-family: 'Open Sans', Georgia, serif;
  animation: cookie-modal-in .33s cubic-bezier(.76,-0.23,.29,1.19);
  margin-bottom: 0;
  width: 420px;
  position: relative;
  display: flex; flex-direction: column; gap: 13px;
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(56px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.09rem;
  color: #214B76;
  margin-bottom: 12px;
  font-family: 'Montserrat', Georgia, serif;
}
.cookie-category {
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
}
.cookie-switch {
  width: 38px; height: 20px;
  position: relative; display: inline-block;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F0F4F9;
  transition: .2s;
  border-radius: 20px;
}
.cookie-switch input:checked + .cookie-slider {
  background: #214B76;
}
.cookie-slider:before {
  position: absolute; content: "";
  height: 15px; width: 15px;
  left: 2px; bottom: 2.5px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 1.5px 4px 0 #BBB9C4;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn {
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute; right: 16px; top: 10px;
  font-size: 1.6rem; color: #768;
  background: none; border: none; cursor: pointer;
  z-index: 12015;
}

/* Elegance: Muted tints and elegant proportions for modal */
@media (max-width: 600px) {
  .cookie-modal { width: 98vw; padding: 18px 5vw 14px 5vw; border-radius: 15px 15px 0 0; }
}

/* ------------- MICRO-ANIMATIONS / INTERACTIONS ------------- */
.btn-primary, .btn, .btn-secondary, .main-nav a, .footer-nav a, .mobile-nav a, .feature-grid li, .courses-grid > div, .testimonial-card, .blog-grid article {
  transition:   box-shadow .22s, background .2s, color .18s, border .18s, transform .23s;
}
.btn-primary:active, .btn:active, .main-nav a:active, .footer-nav a:active, .mobile-nav a:active, .feature-grid li:active, .courses-grid > div:active, .testimonial-card:active, .blog-grid article:active {
  transform: scale(0.97);
}

/* Accessibility:  focus ring + high contrast for focusable */
a:focus, button:focus, .btn:focus, input:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
  background: #FFFDE5;
}

/* ------------- SPECIAL UTILS ------------- */
.muted { color: #888; }
.primary-text { color: var(--primary);}
.secondary-text { color: var(--secondary);} 
.elegant-shadow { box-shadow: 0 4px 24px 0 rgba(33,75,118,0.06); }

/* ------------- Z-INDEX LAYERING ------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal { z-index: 999 !important; }

/* Prevent overlapping: always min-height + margin-bottom on main content */
main > section, main > .section { min-height: 60px; margin-bottom: 30px; }

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