/* --- 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,
main, 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #12181c;
  color: #EBF2FA;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E48F4C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff7ea;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #EBF2FA;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.25; }
h4 { font-size: 1.125rem; line-height: 1.3; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* --- Brand Colors and Utilities --- */
:root {
  --primary: #1E3443;
  --secondary: #EBF2FA;
  --accent: #E48F4C;
  --dark: #12181c;
  --metal: #53585d;
  --midgray: #353d45;
  --midorange: #e7ab72;
  --white: #fff;
  --error: #d32f2f;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
/* --- Spacing for Cards and Flex Containers --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: var(--midgray);
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(30,52,67,0.09), 0 1.5px 10px rgba(84,90,95,0.06);
  border: 1.5px solid var(--metal);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 280px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 32px rgba(228,143,76,0.14), 0 2px 6px rgba(30,52,67,0.10);
  z-index: 2;
}
.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) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
.text-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 1px 12px rgba(30,52,67,0.08);
}

/* --- Header & Navigation --- */
header {
  width: 100%;
  background: var(--dark);
  border-bottom: 2px solid var(--metal);
  box-shadow: 0 2px 18px rgba(30,52,67,0.07);
  position: relative;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  height: 84px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  letter-spacing: 0.01em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover, header nav a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
header img {
  height: 34px;
  max-width: 120px;
}
header .cta.primary {
  margin-left: auto;
  margin-right: 18px;
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
  font-size: 2rem;
  line-height: 1;
  margin-left: 8px;
  padding: 8px 16px;
  z-index: 201;
  border-radius: 6px;
  transition: background 0.2s;
}
header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
  background: var(--metal);
  color: var(--accent);
}

@media (max-width: 1080px) {
  header nav {
    gap: 12px;
  }
  header .cta.primary {
    font-size: 1rem;
    padding: 12px 18px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* --- Mobile MENU Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,24,28,0.97);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 16px 0;
  width: 85%;
  border-radius: 6px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--metal);
  color: var(--accent);
}
/* --- End Mobile Menu --- */

/* --- HERO & Feature Sections --- */
.hero {
  min-height: 320px;
  background: linear-gradient(110deg, #21252a 80%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 0 48px 0;
  margin-bottom: 60px;
  border-bottom: 1.5px solid #232b34;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--midorange);
  max-width: 650px;
  margin-bottom: 22px;
}
@media (max-width: 800px) {
  .hero {
    padding: 36px 0 36px 0;
    min-height: 170px;
  }
  .hero h1 { font-size: 1.45rem; }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 32px;
}
.features-grid > div {
  background: var(--midgray);
  border-radius: 13px;
  border: 1.5px solid var(--metal);
  padding: 28px 18px 18px 18px;
  flex: 1 0 228px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(30,52,67,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 20px;
}
.features-grid > div:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(228,143,76,0.11);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.features-grid h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.features-grid p {
  font-size: 0.99rem;
  color: var(--secondary);
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div {
    width: 100%;
  }
}

/* --- Service, Article, and Course Lists --- */
.services-list, .articles-grid, .courses-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-detail, .article-card, .course-card {
  background: var(--midgray);
  border-radius: 13px;
  border: 1.2px solid var(--metal);
  padding: 28px 20px 20px 20px;
  flex: 1 0 280px;
  min-width: 210px;
  box-shadow: 0 1px 12px rgba(30,52,67,0.08);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-detail:hover, .article-card:hover, .course-card:hover {
  border-color: var(--accent);
  box-shadow: 0 5px 24px rgba(228,143,76,0.12);
}
.service-detail img, .course-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
}
.service-detail strong,
.course-card strong {
  color: var(--accent);
  margin-top: 8px;
  font-size: 1.05rem;
}
.articles-grid .article-card a {
  margin-top: 10px;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 950px) {
  .services-list, .articles-grid, .courses-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-detail, .article-card, .course-card {
    width: 100%;
    min-width: 0;
  }
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.team-member {
  background: var(--midgray);
  border-radius: 12px;
  border: 1.2px solid var(--metal);
  padding: 26px 20px 17px 20px;
  min-width: 170px;
  flex: 1 0 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 9px rgba(30,52,67,0.07);
  margin-bottom: 20px;
}
.team-member h3 {
  color: var(--accent);
  font-size: 1.07rem;
  margin-bottom: 2px;
}
.team-member span {
  font-size: 0.98rem;
  color: var(--secondary);
  margin-bottom: 9px;
}
@media (max-width: 950px) {
  .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .team-member {
    width: 100%;
    min-width: 0;
  }
}

.faq-list, .faq-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.faq-question {
  background: var(--midgray);
  border-radius: 10px;
  border: 1.2px solid var(--metal);
  padding: 18px 18px 13px 18px;
  flex: 1 0 220px;
  margin-bottom: 20px;
}
.faq-question h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 1.07rem;
}
.faq-question p {
  color: var(--secondary);
  font-size: 0.995rem;
}
@media (max-width: 900px) {
  .faq-list, .faq-preview {
    flex-direction: column;
    gap: 12px;
  }
  .faq-question {
    min-width: 0;
    width: 100%;
  }
}

/* --- Testimonial Section --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  color: var(--dark);
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(30,52,67,0.12);
  margin-bottom: 20px;
  margin-top: 12px;
  border: 1.5px solid var(--midgray);
  font-size: 1.08rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  color: var(--dark);
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--primary);
  margin-left: 18px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(30,52,67,0.17);
  border-color: var(--accent);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- CTA Sections --- */
.cta {
  background: var(--primary);
  border-radius: 16px;
  padding: 48px 0;
  margin: 44px 0 0 0;
  box-shadow: 0 3px 20px rgba(30,52,67,0.09);
  text-align: center;
}
.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta h2 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 6px;
}
@media (max-width: 700px) {
  .cta {
    padding: 26px 0;
    margin: 30px 0 0 0;
  }
}

/* --- Buttons & Interactive Elements --- */
.cta.primary, .cta.secondary, .btn, button, input[type=submit] {
  cursor: pointer;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  margin-top: 12px;
  border-radius: 8px;
  background: var(--accent);
  border: none;
  color: var(--primary);
  box-shadow: 0 1px 6px rgba(228,143,76,0.08);
  transition: background 0.19s, color 0.18s, box-shadow 0.21s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus, .btn:hover, .btn:focus, input[type=submit]:hover {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 3px 24px rgba(228,143,76,0.18);
}
.cta.secondary {
  background: var(--dark);
  color: var(--secondary);
  border: 1px solid var(--accent);
  margin-top: 10px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* --- Inputs, Filters, Forms --- */
input[type="text"], input[type="email"], input[type="search"], textarea {
  background: var(--metal);
  color: var(--secondary);
  border: 1.5px solid var(--metal);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 15px;
  transition: border-color 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="search"]:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.category-list span {
  background: var(--metal);
  color: var(--accent);
  font-size: 0.96rem;
  padding: 7px 13px;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

/* --- Enrollment, Info, etc. --- */
.enrollment-info {
  background: var(--midgray);
  border-radius: 9px;
  border: 1px solid var(--metal);
  margin-top: 28px;
  padding: 18px 20px;
}
.enrollment-info h4 {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
  font-size: 1.06rem;
}
.enrollment-info ul {
  list-style: disc inside;
}

/* --- Footer --- */
footer {
  background: var(--dark);
  padding: 42px 0;
  border-top: 2px solid var(--metal);
  color: var(--secondary);
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}
.footer-brand img {
  width: 37px;
  height: 37px;
  border-radius: 8px;
  background: var(--white);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
footer nav a {
  color: var(--secondary);
  transition: color 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--accent);
}
.contact-info {
  font-size: 0.97rem;
  margin-top: 6px;
}
.contact-info a {
  color: var(--accent);
}
.social-media-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-media-links img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  transition: filter 0.18s;
  filter: grayscale(20%) contrast(130%) brightness(98%);
}
.social-media-links a:hover img {
  filter: none;
  background: var(--accent);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--metal);
  color: var(--secondary);
  width: 100vw;
  z-index: 9999;
  padding: 26px 18px 22px 18px;
  box-shadow: 0 -2px 16px rgba(30,52,67,0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.32s, transform 0.35s cubic-bezier(.79,-0.01,.37,1), visibility 0s 0.36s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.36s, transform 0.28s cubic-bezier(.79,-0.01,.37,1), visibility 0s;
}
.cookie-banner-message {
  font-size: 1rem;
  max-width: 480px;
  margin-right: 22px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button,
.cookie-banner .btn {
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-weight: 700;
  margin: 0 0 0 0;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .cookie-settings-btn {
  background: var(--dark);
  color: var(--secondary);
  border: 1.2px solid var(--accent);
}
.cookie-banner .btn:focus,
.cookie-banner .btn:hover,
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: var(--white);
  color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8px 16px 8px;
  }
  .cookie-banner-message {
    margin: 0 0 10px 0;
  }
  .cookie-banner-actions {
    width: 100%;
    gap: 12px;
  }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,52,67,0.78);
  z-index: 10001;
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.28s;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--midgray);
  color: var(--secondary);
  border-radius: 13px;
  padding: 36px 28px;
  max-width: 420px;
  box-shadow: 0 7px 44px rgba(30,52,67,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalFadeIn 0.25s;
}
@keyframes modalFadeIn {
  0% { transform: scale(0.97) translateY(46px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.4rem;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--metal);
  border-radius: 8px;
  padding: 12px 10px;
  font-size: 1rem;
  position: relative;
}
.cookie-cat input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-cat .mandatory {
  font-size: 0.98rem;
  color: var(--midorange);
  margin-left: 5px;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal-actions .btn {
  font-size: 1rem;
  padding: 11px 19px;
  border-radius: 5px;
}
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 17px 4vw 17px 4vw;
  }
}

/* --- Misc Alignment, Typo, Helpers --- */
.section ul,
.section ol {
  margin-left: 16px;
  margin-bottom: 14px;
  color: var(--secondary);
  font-size: 1rem;
}
.section li {
  margin-bottom: 8px;
}
.text-section ul, .text-section ol {
  color: #e0e6ee;
}
.section a:not(.cta):not(.btn) {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.18s;
}
.section a:not(.cta):not(.btn):hover,
.section a:not(.cta):not(.btn):focus {
  color: #fffffe;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Responsive Tweaks --- */
@media (max-width: 650px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 7vw;
  }
  .section, .text-section {
    padding: 26px 6vw;
  }
  .footer-brand {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .hero {
    min-height: 90px;
    padding: 19px 0 18px 0;
  }
  .section, .text-section {
    padding: 10px 3vw 25px 3vw;
  }
  .team-member, .service-detail, .article-card, .course-card, .faq-question, .testimonial-card {
    padding: 14px 8px;
    font-size: 0.98rem;
  }
}

/* --- Animations & Micro-Interactions --- */
.card, .service-detail, .feature-item,.team-member, .faq-question, .testimonial-card, .article-card, .course-card {
  transition: box-shadow 0.20s, border-color 0.18s, transform 0.18s;
}
.card:focus-within, .service-detail:focus-within, .article-card:focus-within, .course-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.card:hover, .service-detail:hover, .article-card:hover, .course-card:hover, .testimonial-card:hover, .team-member:hover {
  transform: translateY(-3px) scale(1.012);
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--metal);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- Accessibility Outlines --- */
a:focus, button:focus, .btn:focus, input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Hide visually but accessible --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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