/* Omphile Mooketsi — Quiet Desk (Style 1 / Direction A) */
:root {
  --primary: #1F4E5F;
  --secondary: #5B8A8A;
  --accent: #E08A3C;
  --accent-hover: #c97830;
  --bg: #F7F5F2;
  --stone: #E8E4DE;
  --text: #2C2C2A;
  --muted: #6B6B66;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow: 0 8px 28px rgba(31, 78, 95, 0.08);
  --shadow-hover: 0 12px 32px rgba(31, 78, 95, 0.12);
  --max: 1120px;
  --header-h: 72px;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4, .brand, .btn {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: inherit;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* —— Header / Nav —— */
.site-header {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--white);
}
.brand:hover { color: var(--white); opacity: 0.92; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
}
.nav > a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}
.nav > a:not(.btn):hover,
.nav > a:not(.btn)[aria-current="page"] { color: var(--white); }
.nav > a:not(.btn)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.header-cta { margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

/* —— Hero —— */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--text);
  margin-bottom: 1.1rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-art {
  position: relative;
  aspect-ratio: 1 / 0.95;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 70%, #7aa0a0 100%);
  box-shadow: var(--shadow);
}
.hero-art svg { width: 100%; height: 100%; }

/* —— Sections —— */
.section { padding: 3.75rem 0; }
.section-flush-top { padding-top: 0; }
.section-head { max-width: 38rem; margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  margin-bottom: 0.65rem;
  color: var(--text);
}
.section-head p { color: var(--muted); }
.section-head--tight { margin-bottom: 1.25rem; }
.section-head--tight h3 {
  font-size: 1.2rem;
  color: var(--text);
}
.section-muted { background: var(--stone); }
.section-teal { background: var(--primary); color: var(--white); }
.section-teal .section-head h2,
.section-teal h2 { color: var(--white); }
.section-teal .section-head p,
.section-teal .muted { color: rgba(255, 255, 255, 0.75); }

/* CTA band (shared across pages) */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-copy { max-width: 36rem; }
.cta-copy h2 { margin-bottom: 0.6rem; color: var(--white); }
.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.card-on-stone { background: var(--white); }
.card-stack > .card + .card { margin-top: 1rem; }
.card-spaced { margin-bottom: 1.25rem; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.card .card-link:hover { color: var(--accent); }

/* —— Page banner —— */
.page-banner {
  background: var(--primary);
  color: var(--white);
  padding: 3.25rem 0 2.75rem;
}
.page-banner .eyebrow {
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.6rem;
  color: var(--white);
}
.page-banner > .container > p,
.page-banner .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  font-size: 1.1rem;
}

/* —— Prose / split —— */
.prose { max-width: 42rem; }
.prose p + p { margin-top: 1rem; }
.prose h2, .prose h3 { margin: 1.75rem 0 0.75rem; color: var(--text); }
.prose .eyebrow + h2 { margin-top: 0; }
.prose a,
.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.prose a:hover,
.text-link:hover { color: var(--accent); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.split-title { margin-bottom: 1rem; color: var(--text); }

/* —— Pills / stats —— */
.pill-list,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.pill {
  background: var(--stone);
  color: var(--primary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}
.section-muted .pill { background: var(--white); }
.pill-accent {
  background: rgba(224, 138, 60, 0.15);
  color: #a85f1c;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  text-align: center;
  border: 1px solid var(--stone);
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.stat span { color: var(--muted); font-size: 0.9rem; }

/* —— Courses —— */
.course-list { display: grid; gap: 1rem; }
.course-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}
.course-item--simple { grid-template-columns: 1fr; }
.section-muted .course-item {
  border-color: rgba(44, 44, 42, 0.06);
}
.course-item .num {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  width: 2rem;
}
.course-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}
.course-item p { color: var(--muted); font-size: 0.95rem; }

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}
.contact-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.contact-card h2,
.form-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.contact-card .lead-muted {
  margin-bottom: 1rem;
}
.contact-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(44, 44, 42, 0.08);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-row a { color: var(--text); }
.contact-row a:hover { color: var(--accent); }

/* —— Forms —— */
.form {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.form .form-title { margin-bottom: 0; }
.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.form .label-optional {
  font-weight: 400;
  color: var(--muted);
}
.form input,
.form textarea,
.form select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--stone);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(91, 138, 138, 0.2);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form .btn { justify-self: start; }

/* —— Footer —— */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  margin-top: auto;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.footer-brand {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.footer-tagline {
  font-size: 0.95rem;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}
.footer-grid h4 {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.footer-grid a {
  display: block;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.preview-note { color: rgba(255, 255, 255, 0.45); font-style: italic; }

/* —— Utilities —— */
.muted { color: var(--muted); }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.card-body-gap { margin: 0.75rem 0 1.25rem; }
.btn-mt { margin-top: 1.25rem; }
.phone-stack { display: grid; gap: 0.35rem; }
.phone-stack a {
  font-weight: 600;
  color: var(--primary);
}
.phone-stack a:hover { color: var(--accent); }

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav > a:not(.btn)[aria-current="page"]::after { display: none; }
  .nav > a:not(.btn)[aria-current="page"] { color: var(--accent); }
  .header-cta {
    margin: 1rem 0 0;
    width: 100%;
  }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .course-item { grid-template-columns: auto 1fr; }
  .course-item .btn { grid-column: 2; justify-self: start; margin-top: 0.25rem; }
  .course-item--simple { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* Quiet Desk compatibility overlay for existing ASP.NET/Bootstrap markup. Logic-neutral visual rules only. */
:root { --quiet-primary: #1F4E5F; --quiet-secondary: #5B8A8A; --quiet-accent: #E08A3C; --quiet-bg: #F7F5F2; --quiet-stone: #E8E4DE; --quiet-text: #2C2C2A; --quiet-muted: #6B6B66; }
body { background-color: var(--quiet-bg) !important; background-image: none !important; color: var(--quiet-text); font-family: "Source Sans 3", system-ui, sans-serif; }
.navbar.navbar-inverse { background: var(--quiet-primary) !important; border: 0 !important; border-radius: 0 !important; min-height: 72px; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.navbar.navbar-inverse .container { width: min(100% - 2.5rem, 1120px); }
.navbar-inverse .navbar-brand { color: #fff !important; font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 42px; }
.navbar-inverse .navbar-nav > li > a { color: rgba(255,255,255,.88) !important; font-family: "DM Sans", system-ui, sans-serif; font-weight: 500; padding-top: 25px; padding-bottom: 25px; transition: color .2s, background .2s; }
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { color: #fff !important; background: rgba(255,255,255,.08) !important; }
.navbar-inverse .navbar-toggle { border-color: rgba(255,255,255,.45); margin-top: 19px; } .navbar-inverse .navbar-toggle:hover { background: rgba(255,255,255,.1); }
.body-content { width: min(100% - 2.5rem, 1120px); margin: 0 auto; padding: 2rem 0 3rem; background: transparent !important; }
.body-content h1, .body-content h2, .body-content h3, .body-content h4, .body-content h5 { font-family: "DM Sans", system-ui, sans-serif; color: var(--quiet-text); font-weight: 700; letter-spacing: -.02em; }
.body-content a { color: var(--quiet-primary); } .body-content a:hover { color: var(--quiet-accent); text-decoration: none; }
.body-content .jumbotron, .body-content .well, .body-content .panel, .body-content .thumbnail { background: #fff; border: 1px solid var(--quiet-stone); border-radius: 14px; box-shadow: 0 8px 28px rgba(31,78,95,.08); }
.body-content .jumbotron { padding: 2.5rem; } .body-content .panel-heading { background: var(--quiet-stone); border-color: var(--quiet-stone); color: var(--quiet-text); font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; } .body-content .panel-footer { background: #fff; border-color: var(--quiet-stone); }
.body-content .table { background: #fff; border: 1px solid var(--quiet-stone); border-radius: 14px; overflow: hidden; } .body-content .table > thead > tr > th { background: var(--quiet-primary); color: #fff; border-color: var(--quiet-primary); font-family: "DM Sans", system-ui, sans-serif; } .body-content .table > tbody > tr > td { border-color: var(--quiet-stone); } .body-content .table-striped > tbody > tr:nth-of-type(odd) { background: var(--quiet-bg); }
.body-content input.form-control, .body-content textarea.form-control, .body-content select.form-control { border: 1.5px solid var(--quiet-stone); border-radius: 10px; background: #fff; color: var(--quiet-text); box-shadow: none; } .body-content .form-control:focus { border-color: var(--quiet-secondary); box-shadow: 0 0 0 3px rgba(91,138,138,.2); }
.body-content .btn { border-radius: 999px; font-family: "DM Sans", system-ui, sans-serif; font-weight: 600; padding: .7rem 1.35rem; border-width: 2px; } .body-content .btn-primary { background: var(--quiet-accent); border-color: var(--quiet-accent); } .body-content .btn-primary:hover, .body-content .btn-primary:focus { background: #c97830; border-color: #c97830; } .body-content .btn-default { color: var(--quiet-primary); background: transparent; border-color: var(--quiet-secondary); } .body-content .btn-default:hover, .body-content .btn-default:focus { color: #fff; background: var(--quiet-secondary); border-color: var(--quiet-secondary); }
.body-content .alert { border: 0; border-radius: 14px; } .body-content .breadcrumb { background: var(--quiet-stone); border-radius: 999px; }
.body-content hr { border-top-color: var(--quiet-stone); } footer { border-top: 0 !important; color: var(--quiet-muted); padding: 1.5rem 0; }
@media (max-width: 767px) { .navbar-inverse .navbar-nav > li > a { padding-top: 12px; padding-bottom: 12px; } .body-content { width: min(100% - 1.5rem, 1120px); padding-top: 1.25rem; } }
/* Static entry-point compatibility overlay; preserves carousel/content/scripts. */
#header { background: var(--quiet-primary) !important; height: 72px; border: 0 !important; box-shadow: 0 2px 12px rgba(0,0,0,.12); } #header #logo img { max-height: 48px; width: auto; } #header .nav-menu > li > a { color: rgba(255,255,255,.88) !important; font-family: "DM Sans", system-ui, sans-serif; font-weight: 600; } #header .nav-menu > li > a:hover, #header .nav-menu > li.menu-active > a { color: #fff !important; }
#intro { margin-top: 0 !important; background: var(--quiet-bg) !important; } #intro .carousel-background { display: none !important; } #intro .carousel-container { position: relative; min-height: 420px; background: var(--quiet-bg); } #intro .carousel-content { max-width: 760px; margin: 0 auto; text-align: center; } #intro .carousel-content h2 { color: var(--quiet-text) !important; font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; } #intro .carousel-content p { color: var(--quiet-muted) !important; } #intro .btn-get-started { background: var(--quiet-accent) !important; border: 2px solid var(--quiet-accent) !important; border-radius: 999px !important; font-family: "DM Sans", system-ui, sans-serif; font-weight: 600; padding: .75rem 1.45rem; } #intro .btn-get-started:hover { background: #c97830 !important; border-color: #c97830 !important; }
#footer { background: var(--quiet-primary) !important; color: rgba(255,255,255,.88) !important; } #footer h4, #footer a { color: rgba(255,255,255,.88) !important; } #footer .copyright, #footer .credits { color: rgba(255,255,255,.62) !important; }
