@charset "UTF-8";
/*
Theme Name: NDS-Academy
Theme URI: https://kayiseit.co.za
Author: Thapelo Maluka
Author URI: https://kayiseit.co.za
Description: CSS copied from your static HTML (styles.css).
Version: 1.2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nds-academy
Tags: custom-menu, featured-images, blog, education
*/
/* NDS Chefs Academy — from static HTML styles.css */
:root {
  --nds-0: #ebd35b;
  --nds-1: #e3bd2c;
  --nds-mustard: #e6c25a;
  --nds-mustard-hover: #d4b24e;
  --nds-header-bg: #f5f5f5;
  --nds-2: #183030;
  --nds-3: #526354;
  --nds-4: #f3faf6;
  --nds-5: #ffffff;
  --nds-6: #dfe2e2;
  --nds-8: #111111;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Bricolage Grotesque', var(--font-body);
  --max: 1140px;
  --nds-container-max: 1200px;
  --header-h: 70px;
  --radius-card: 24px;
  --transition: 0.25s ease;
  --shadow: 0 4px 24px rgba(24, 48, 48, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--nds-2);
  background: var(--nds-5);
  padding-top: var(--header-h);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--nds-2);
  color: var(--nds-5);
  font-weight: 600;
  text-decoration: none;
  z-index: 10001;
  border-radius: 8px;
}
.skip-link:focus {
  top: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
}
@media (max-width: 767px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* —— Navbar (matches www.ndsacademy.co.za nds-custom-navbar) —— */
.nds-custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 99999;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nds-custom-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.99);
}

.nds-navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.nds-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}
.nds-navbar-brand:hover {
  opacity: 0.9;
}

.nds-logo-img {
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.nds-navbar-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nds-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nds-nav-menu li {
  margin: 0;
}

.nds-nav-menu a.menu-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nds-nav-menu a.menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.nds-nav-menu a.menu-link:hover {
  color: #667eea;
}

.nds-nav-menu a.menu-link:hover::after {
  width: 100%;
}

.nds-nav-menu .current-menu-item > a.menu-link,
.nds-nav-menu .current_page_item > a.menu-link {
  color: var(--nds-2);
  font-weight: 600;
}

.nds-navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  z-index: 2;
}

.nds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nds-btn-text {
  color: #4a5568;
  background: transparent;
}

.nds-btn-text:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

/* Apply (Astra-compatible class name from live site) */
.nds-navbar-actions .ast-button,
.nds-navbar-actions .nds-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--nds-8);
  background: var(--nds-0);
  border: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nds-navbar-actions .ast-button:hover,
.nds-navbar-actions .nds-apply-btn:hover {
  background: var(--nds-1);
  color: var(--nds-8);
}

.nds-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.nds-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nds-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nds-mobile-toggle.active .nds-hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nds-mobile-toggle.active .nds-hamburger span:nth-child(2) {
  opacity: 0;
}

.nds-mobile-toggle.active .nds-hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
  :root {
    --header-h: 65px;
  }

  .nds-navbar-container {
    padding: 0 1.5rem;
    height: 65px;
  }

  .nds-navbar-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    flex: none;
    justify-content: flex-start;
  }

  .nds-navbar-menu.active {
    transform: translateX(0);
  }

  .nds-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nds-nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nds-nav-menu a.menu-link {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

  .nds-nav-menu a.menu-link::after {
    display: none;
  }

  .nds-navbar-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    justify-content: stretch;
    gap: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  }

  .nds-navbar-actions .nds-btn,
  .nds-navbar-actions .ast-button,
  .nds-navbar-actions .nds-apply-btn {
    flex: 1;
    justify-content: center;
  }

  .nds-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .nds-navbar-container {
    padding: 0 1rem;
    height: 60px;
  }

  .nds-navbar-menu {
    top: 60px;
    max-height: calc(100vh - 60px);
  }
}

/* —— Hero (Elementor post-13: premise image, 50% overlay, 75px title) —— */
.hero {
  background-color: #1a1a1a;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(3rem, 10vh, 6rem) 2.5rem;
  position: relative;
  /* --overlay-opacity: 0.5 on live container */
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--nds-bg-hero, url("./assets/hero-premise.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  padding-right: clamp(0px, 4vw, 39px);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 75px);
  font-weight: 600;
  color: var(--nds-5);
  margin: 0 0 1rem;
  max-width: 56rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--nds-5);
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
  align-items: center;
}
.hero .btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}
/* Enroll: Elementor global gold / ast-global-color-0 */
.hero .btn-primary {
  background: var(--nds-0);
  color: var(--nds-8);
  border: 2px solid var(--nds-0);
}
.hero .btn-primary:hover {
  background: var(--nds-1);
  border-color: var(--nds-1);
  color: var(--nds-8);
}
/* Call Us Now: Elementor #167a973 — transparent + 3px white border */
.hero .btn-secondary {
  background: transparent;
  color: var(--nds-5);
  border: 3px solid #ffffff;
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--nds-5);
  border-color: #ffffff;
}

/* Buttons: outline white, hover gold */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

/* Mint quick bar */
.quick-bar {
  background: var(--nds-4);
  padding: 1.25rem 0;
}
.quick-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}
.quick-bar .btn-primary {
  background: var(--nds-2);
  color: var(--nds-5);
  border-color: var(--nds-2);
}
.quick-bar .btn-primary:hover {
  background: var(--nds-3);
  border-color: var(--nds-3);
  color: var(--nds-5);
}

.quick-link {
  color: var(--nds-2);
  font-weight: 600;
  text-decoration: none;
}
.quick-link:hover {
  text-decoration: underline;
}

/* Section label (uppercase small heading) */
.section-tag {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--nds-2);
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
}

/* Icon + uppercase label (matches Elementor reference) */
.nds-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nds-8);
  margin: 0 0 1rem;
  font-family: var(--font-body);
}
.nds-section-label .nds-ico {
  flex-shrink: 0;
  color: var(--nds-8);
}
.nds-section-label--center {
  display: flex;
  justify-content: center;
  width: 100%;
}
.nds-section-label--light {
  color: rgba(255, 255, 255, 0.95);
}
.nds-section-label--light .nds-ico {
  color: rgba(255, 255, 255, 0.95);
}

.section {
  padding: 120px 0;
}
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }
}
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    max-width: 100%;
  }
  .hero {
    min-height: auto;
    padding: 130px 1.5rem 80px;
  }
}
.section-intro {
  background: var(--nds-5);
}
.section-intro .section-tag {
  text-align: center;
  margin-bottom: 0.35rem;
}
.section-intro h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--nds-2);
  margin: 0 0 1rem;
  margin-bottom: 1.5rem;
}

/* “Let’s Get Started” — two-column photo row (matches live Elementor) */
.home-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  align-items: stretch;
}
.home-intro-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(24, 48, 48, 0.12);
}
.home-intro-figure img {
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .home-intro-grid {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }
  .home-intro-figure img {
    max-height: 420px;
  }
}

/* Accreditation band — pale mint, split columns (reference) */
.section-accreditation {
  background: var(--nds-4);
  padding-top: 80px;
  padding-bottom: 80px;
}
.accreditation-grid--split {
  max-width: 1000px;
  gap: 3rem 4rem;
  align-items: start;
}
.accreditation-logos--row3 img {
  max-height: 52px;
  max-width: 160px;
}
.accreditation-logos--row3 .acc-dsas img {
  max-height: 72px;
  max-width: 220px;
}
.accreditation-logos--row2 img {
  max-height: 56px;
  max-width: 200px;
}

/* Unleash — white, image overlap + copy (reference) */
.section-unleash {
  background: var(--nds-5);
}
.unleash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem 4rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.unleash-overlap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.unleash-img--primary {
  width: 88%;
  height: auto;
  border-radius: 24px;
  display: block;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.unleash-img--secondary {
  position: absolute;
  right: 0;
  bottom: -4%;
  width: 46%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(24, 48, 48, 0.22);
}
.unleash-content {
  padding: 0.5rem 0;
}
.unleash-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  color: var(--nds-2);
  margin: 0 0 1.75rem;
  line-height: 1.2;
  text-align: left;
}
.btn-pill-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  border: 2px solid var(--nds-8);
  background: transparent;
  color: var(--nds-8);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-pill-learn:hover {
  background: var(--nds-2);
  color: var(--nds-5);
  border-color: var(--nds-2);
}
.btn-pill-learn__chev {
  font-size: 1.15rem;
  line-height: 1;
}
@media (max-width: 900px) {
  .unleash-grid {
    grid-template-columns: 1fr;
  }
  .unleash-title {
    text-align: center;
  }
  .unleash-content .nds-section-label {
    justify-content: center;
    width: 100%;
  }
  .btn-pill-learn {
    display: inline-flex;
    margin: 0 auto;
  }
  .unleash-content {
    text-align: center;
  }
}

#main-content figure img {
  max-width: 100%;
  height: auto;
}

.section-steps h2,
.section-gallery--light h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--nds-2);
  margin: 0 0 1rem;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 767px) {
  .accreditation-grid {
    grid-template-columns: 1fr;
  }
}

.accreditation-block h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.accreditation-block p {
  margin: 0;
  color: var(--nds-3);
}

/* Course grid — white cards on mint */
.section-courses {
  background: var(--nds-4);
}
.section-courses-heading {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--nds-2);
  margin: 0 auto 2.5rem;
  max-width: 42rem;
  line-height: 1.35;
}
.section-courses .section-cta .btn-primary {
  background: transparent;
  color: var(--nds-2);
  border: 2px solid var(--nds-2);
}
.section-courses .section-cta .btn-primary:hover {
  background: var(--nds-1);
  border-color: var(--nds-1);
  color: var(--nds-2);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}
@media (max-width: 767px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.course-card {
  background: var(--nds-5);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(24, 48, 48, 0.06);
}
.course-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.75rem;
  color: var(--nds-2);
}
.course-card__icon svg {
  display: block;
}
@media (max-width: 767px) {
  .course-card {
    border-radius: 12px;
  }
}
.course-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--nds-2);
}
.course-card p {
  margin: 0 0 1rem;
  color: var(--nds-3);
  font-size: 0.95rem;
}

.card-link {
  font-weight: 600;
  color: var(--nds-2);
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}
.course-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}
.course-outline-link {
  font-weight: 600;
  color: var(--nds-2);
  text-decoration: none;
}
.course-outline-link:hover {
  text-decoration: underline;
}

/* Enrollment — dark band, two columns (reference) */
.section-steps {
  background: var(--nds-2);
  color: var(--nds-5);
}
.section-steps h2 {
  color: var(--nds-5);
  text-align: left;
  margin: 0 0 1.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.steps-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem 4rem;
  align-items: center;
}
.steps-split__content {
  min-width: 0;
}
.steps-split__visual img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  display: block;
  border-radius: 24px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
@media (max-width: 1024px) {
  .steps-split {
    grid-template-columns: 1fr;
  }
  .steps-split__visual img {
    margin-right: auto;
    margin-left: auto;
    max-width: 400px;
  }
  .section-steps h2 {
    text-align: center;
  }
  .steps-split__content .nds-section-label--light {
    justify-content: center;
    width: 100%;
  }
  .steps-apply-wrap {
    text-align: center;
  }
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps-list__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.steps-list__item:first-child {
  padding-top: 0;
}
.steps-list__item:last-child {
  border-bottom: none;
}
.steps-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.5rem;
}
.steps-list__num {
  font-weight: 700;
  color: var(--nds-5);
  font-size: 1rem;
}
.steps-list__head h3 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.05rem;
  color: var(--nds-5);
  font-weight: 700;
}
.steps-list__star {
  color: var(--nds-0);
  font-size: 0.95rem;
  line-height: 1;
}
.steps-list__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  padding-left: 0;
}

.steps-apply-wrap {
  margin-top: 2rem;
}
.btn-pill-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  background: var(--nds-0);
  color: var(--nds-8);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--nds-0);
  transition: background var(--transition), border-color var(--transition);
}
.btn-pill-apply:hover {
  background: var(--nds-1);
  border-color: var(--nds-1);
  color: var(--nds-8);
}

/* Gallery — pale mint, 3 columns, View More pill below (reference) */
.section-gallery--light {
  background: var(--nds-4);
  color: var(--nds-2);
  text-align: center;
}
.section-gallery--light .nds-section-label span {
  color: var(--nds-2);
}
.section-gallery--light h2 {
  color: var(--nds-2);
  margin-bottom: 2rem;
}

.gallery-view-more-wrap {
  margin: 2rem 0 0;
}
.gallery-view-more--pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  border: 2px solid var(--nds-2);
  color: var(--nds-2);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.gallery-view-more--pill:hover {
  background: var(--nds-2);
  color: var(--nds-5);
}

/* Cook Book — full-width banner with overlay (reference) */
.section-cookbook--banner {
  position: relative;
  text-align: left;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--nds-2);
  background-image: linear-gradient(105deg, rgba(24, 48, 48, 0.92) 0%, rgba(24, 48, 48, 0.45) 55%, rgba(24, 48, 48, 0.35) 100%),
    var(--nds-bg-cookbook, url("./assets/course-chef.jpg")) center/cover no-repeat;
  color: var(--nds-5);
}
.section-cookbook__overlay {
  display: none;
}
.section-cookbook__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
}
.section-cookbook--banner h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  color: var(--nds-5);
}
.section-cookbook--banner .cookbook-lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  max-width: 28rem;
}
.section-cookbook--banner .cookbook-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  font-style: italic;
}

.gallery-placeholder {
  margin-top: 2rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  color: rgba(255, 255, 255, 0.85);
}

/* Footer — light 4-column band (reference) */
.site-footer--light {
  background: var(--nds-4);
  color: var(--nds-2);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(24, 48, 48, 0.08);
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo-img {
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-about .footer-tagline {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--nds-3);
  font-size: 0.95rem;
}
.footer-widget h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--nds-2);
}
.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widget li {
  margin-bottom: 0.4rem;
}
.site-footer--light .footer-widget a {
  color: var(--nds-3);
  text-decoration: none;
}
.site-footer--light .footer-widget a:hover {
  text-decoration: underline;
  color: var(--nds-2);
}
.footer-widget p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--nds-3);
}
.site-footer--light .footer-widget strong {
  color: var(--nds-2);
}

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.75;
  color: var(--nds-3);
}

/* Accreditation logo strip */
.accreditation-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
}
.accreditation-logos img {
  max-height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Home gallery grid */
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.home-gallery-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
.home-gallery-cell {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}
.home-gallery-cell img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
@media (max-width: 900px) {
  .home-gallery-grid--three {
    grid-template-columns: 1fr;
  }
  .home-gallery-cell img {
    aspect-ratio: 16 / 11;
  }
}
@media (max-width: 600px) {
  .home-gallery-grid:not(.home-gallery-grid--three) {
    grid-template-columns: 1fr;
  }
}

/* —— Inner pages —— */
.page-hero {
  background-color: var(--nds-2);
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  padding: 5rem 2rem 2.5rem;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(24, 48, 48, 0.92) 0%, rgba(24, 48, 48, 0.55) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--nds-5);
  margin: 0;
  font-weight: 700;
}
.page-hero .page-lead {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.75rem 0 0;
  font-size: 1.1rem;
  max-width: 560px;
}
.page-hero--plain {
  background-color: var(--nds-2);
  background-image: none;
}
.page-hero--plain::before {
  display: none;
}

.page-main {
  padding: 4rem 0 5rem;
}

.page-section {
  margin-bottom: 3.5rem;
}
.page-section:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: 720px;
}
.prose p {
  margin: 0 0 1.25rem;
  color: var(--nds-3);
  font-size: 1.05rem;
}
.prose h2 {
  font-size: 1.75rem;
  color: var(--nds-2);
  margin: 2rem 0 1rem;
}
.prose h2:first-child {
  margin-top: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.two-col img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.page-bg-mint {
  background: var(--nds-4);
}

.page-bg-white {
  background: var(--nds-5);
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
  background: var(--nds-5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(24, 48, 48, 0.08);
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--nds-4);
}
.team-card figcaption {
  padding: 1rem;
  font-weight: 400;
  color: var(--nds-2);
  font-size: 0.95rem;
}

.team-card__name {
  display: block;
  font-weight: 600;
  color: var(--nds-2);
}
.team-card__role {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nds-3);
  margin-top: 0.35rem;
}
.team-card--placeholder .team-card__ph {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--nds-4), var(--nds-6));
  color: var(--nds-2);
  font-size: 2rem;
  font-weight: 700;
}

/* About page — hero + Our Story (split white / dark + overlapping image) */
.page-hero--about .page-hero-inner {
  text-align: left;
}
.page-hero--about .page-lead {
  margin-left: 0;
  margin-right: auto;
  max-width: 36rem;
}
@media (min-width: 768px) {
  .page-hero--about__br {
    display: none;
  }
  .page-hero--about__line2::before {
    content: " ";
  }
}
.page-hero--about__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--nds-5);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

.about-story-block {
  background: var(--nds-2);
  padding-bottom: 0;
}
.about-story__intro {
  background: var(--nds-5);
  padding: 3.5rem 0 5.5rem;
}
.about-story__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nds-3);
  margin: 0 0 1.35rem;
}
.about-story__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.about-story__col.prose {
  max-width: none;
}
.about-story__col.prose p {
  margin: 0;
  color: var(--nds-3);
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-story__figure-wrap {
  position: relative;
  z-index: 1;
  margin-top: -4.25rem;
  margin-bottom: 4rem;
  padding-left: 0;
  padding-right: 0;
}
.about-story__figure-full {
  margin: 0;
  padding: 0;
}
.about-story__figure-full img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
@media (max-width: 900px) {
  .about-story__row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-story__intro {
    padding-bottom: 4.5rem;
  }
  .about-story__figure-wrap {
    margin-top: -3rem;
    margin-bottom: 3rem;
  }
}

.about-journey {
  padding: 4rem 0;
  text-align: center;
}
.about-journey__icon {
  margin: 0 0 0.5rem;
  color: var(--nds-3);
  display: flex;
  justify-content: center;
}
.about-journey__icon .nds-ico {
  width: 28px;
  height: 28px;
}
.about-journey__kicker {
  font-weight: 600;
  color: var(--nds-3);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.about-journey__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nds-2);
  margin: 0 0 2rem;
  line-height: 1.25;
}
.about-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}
.about-step-card {
  background: var(--nds-5);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 20px rgba(24, 48, 48, 0.07);
}
.about-step-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}
.about-step-card__title a {
  color: var(--nds-2);
  text-decoration: none;
}
.about-step-card__title a:hover {
  text-decoration: underline;
}
.about-step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--nds-3);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .about-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark bar + yellow “View Our Gallery” (matches reference layout) */
.about-gallery-bar {
  background: #141f1f;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-gallery-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-gallery-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--nds-2);
  background: var(--nds-0);
  border: 2px solid var(--nds-0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.about-gallery-bar__btn:hover {
  background: var(--nds-1);
  border-color: var(--nds-1);
  transform: translateY(-1px);
}

/* Mission / Vision: image left, copy right */
.about-mv-blocks {
  background: var(--nds-5);
  padding: 3.5rem 0 4rem;
}
.about-mv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.75rem 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.about-mv-row:last-child {
  margin-bottom: 0;
}
.about-mv-row__media {
  margin: 0;
}
.about-mv-row__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 32px rgba(24, 48, 48, 0.12);
}
.about-mv-row__text h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--nds-2);
  margin: 0 0 1rem;
  font-weight: 700;
}
.about-mv-values__title {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}
.about-mv-row__body {
  margin: 0;
  color: var(--nds-3);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}
.about-mv-row__rule {
  border: 0;
  height: 1px;
  background: rgba(24, 48, 48, 0.15);
  margin: 1.75rem 0 0;
}
.about-values-cols--mv {
  max-width: none;
  margin: 0;
  gap: 0.35rem 2.5rem;
}
.about-mv-blocks .about-values-list {
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .about-mv-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
  }
  .about-mv-row__media img {
    aspect-ratio: 16 / 10;
  }
}

.about-values h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.about-values-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.about-values-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--nds-3);
  line-height: 1.85;
  font-size: 1.02rem;
}
@media (max-width: 600px) {
  .about-values-cols {
    grid-template-columns: 1fr;
  }
  .about-values-cols--mv {
    grid-template-columns: 1fr;
  }
}

.section-accreditation--compact.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-team-band {
  padding: 5rem 0;
  margin-top: 2rem;
}
.about-team-band__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
.about-team__title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 2rem;
  color: var(--nds-2);
}

.team-grid--about {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
@media (max-width: 1000px) {
  .team-grid--about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .team-grid--about {
    grid-template-columns: 1fr;
  }
}
.about-team-band .team-card--about {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.about-team-band .team-card--about img {
  border-radius: 28px;
  box-shadow: none;
}
.about-team-band .team-card--about figcaption {
  padding: 1rem 0.25rem 0;
}

.about-apply-strip {
  position: relative;
  margin-top: 0;
  padding: 5rem 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.about-apply-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(184deg, rgba(0, 0, 0, 0.78) 0%, rgba(24, 48, 48, 0.45) 55%);
  pointer-events: none;
}
.about-apply-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}
.about-apply-strip__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
@media (max-width: 600px) {
  .about-apply-strip__inner {
    justify-content: center;
  }
}

/* —— Services / Academy (parity with https://ndsacademy.co.za/services/) —— */
.page-hero--services {
  min-height: 65vh;
  align-items: flex-start;
  justify-content: center;
  padding: 140px 40px 100px;
  background-size: cover;
  background-position: top left;
  background-image: var(--services-hero-image);
}
.page-hero--services::before {
  display: none;
}
.page-hero--services__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(24, 48, 48, 0.88) 0%, rgba(24, 48, 48, 0.62) 100%);
  pointer-events: none;
}
.page-hero--services__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.page-hero--services__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--nds-5);
  margin: 0;
  font-weight: 700;
}
.page-hero--services__kicker {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.page-main.page-services {
  padding-top: 0;
  padding-bottom: 0;
}
.page-services-intro {
  background: var(--nds-4);
  padding: 120px 0 40px;
  text-align: center;
}
.page-services-intro__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--nds-2);
  font-weight: 700;
}
.page-services-intro__lead {
  margin: 0 auto;
  max-width: 52rem;
  color: var(--nds-3);
  font-size: 1.05rem;
  line-height: 1.65;
}
.page-services-grid-wrap {
  background: var(--nds-4);
  padding: 0 0 100px;
}
.page-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7.5rem 1.25rem;
  margin-top: 3rem;
}
.page-services-card {
  border: 1px solid var(--nds-6);
  border-radius: 24px;
  background: var(--nds-5);
  padding: 0 1.5rem 1.5rem;
  overflow: visible;
}
.page-services-card__media {
  margin: -5rem auto 1rem;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(24, 48, 48, 0.12);
}
.page-services-card__media img {
  width: 100%;
  height: auto;
  display: block;
}
.page-services-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}
.page-services-card__title a {
  color: var(--nds-2);
  text-decoration: none;
}
.page-services-card__title a:hover {
  text-decoration: underline;
}
.page-services-card__text {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  color: var(--nds-3);
  line-height: 1.6;
}
.page-services-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--nds-3);
  line-height: 1.7;
}
.page-services-card__links a {
  color: var(--nds-2);
  font-weight: 600;
  text-decoration: none;
}
.page-services-card__links a:hover {
  text-decoration: underline;
}
.page-services-legacy {
  background: var(--nds-5);
  padding: 120px 0;
}
.page-services-legacy__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}
.page-services-legacy__figure {
  flex: 1 1 45%;
  margin: 0;
  min-width: 280px;
}
.page-services-legacy__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.page-services-legacy__panel {
  flex: 1 1 40%;
  min-width: 280px;
  background: var(--nds-2);
  color: var(--nds-5);
  border-radius: 24px;
  padding: 3rem 2.5rem 2.5rem;
  border: 8px solid var(--nds-5);
  border-width: 8px 0 0 8px;
  margin-top: -3.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}
.page-services-legacy__stat {
  margin: 0 0 0.5rem;
  text-align: center;
}
.page-services-legacy__stat-num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}
.page-services-legacy__stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  opacity: 0.95;
}
.page-services-legacy__tag {
  margin: 1rem 0 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.page-services-legacy__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
}
.page-services-legacy__text {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0.92;
}
.page-services-legacy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  border: 2px solid var(--nds-0);
  background: transparent;
  color: var(--nds-0);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.page-services-legacy__btn:hover {
  background: var(--nds-0);
  color: var(--nds-2);
}
@media (max-width: 1024px) {
  .page-services-grid {
    gap: 5rem 1.25rem;
    margin-top: 2rem;
  }
  .page-services-card__media {
    margin-top: -4rem;
  }
  .page-services-legacy__grid {
    flex-direction: column;
    align-items: stretch;
  }
  .page-services-legacy__panel {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .page-hero--services {
    min-height: auto;
    padding: 120px 24px 64px;
  }
  .page-services-intro {
    padding: 64px 0 32px;
  }
  .page-services-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .page-services-card {
    border-radius: 12px;
  }
  .page-services-card__media {
    margin-top: -3rem;
    border-radius: 12px;
  }
  .page-services-grid-wrap {
    padding-bottom: 64px;
  }
  .page-services-legacy {
    padding: 64px 0;
  }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--nds-5);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(24, 48, 48, 0.08);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  color: var(--nds-2);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--nds-1);
  font-weight: 700;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--nds-3);
  line-height: 1.65;
  border-top: 1px solid var(--nds-4);
  padding-top: 1rem;
}

/* Forms */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--nds-5);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(24, 48, 48, 0.08);
}
.form-card.wide {
  max-width: 640px;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--nds-2);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--nds-6);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--nds-2);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--nds-3);
  margin-top: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info-box {
  background: var(--nds-4);
  padding: 2rem;
  border-radius: var(--radius-card);
}
.contact-info-box h3 {
  margin: 0 0 1rem;
  color: var(--nds-2);
}
.contact-info-box p {
  margin: 0 0 0.75rem;
  color: var(--nds-3);
}

/* Full gallery page */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-page-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.2s ease;
}
.gallery-page-grid a:hover img {
  transform: scale(1.02);
}

.course-outline-grid .course-card h3 {
  min-height: 3rem;
  display: flex;
  align-items: center;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* =============================================================================
   body.nds-static (same as static HTML)
   ============================================================================= */
body.nds-static {
  padding-top: var(--header-h) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--nds-3);
}

body.nds-static.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  body.nds-static {
    padding-bottom: 5.75rem;
  }
}

/* Navbar plugin expected .site-content gap fix (from custom-navbar.css) */
body.nds-static .site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Selection colour (matches brand gold) */
body.nds-static ::selection {
  background-color: var(--nds-0);
  color: var(--nds-8);
}

/* Focus rings — brand teal instead of browser default */
body.nds-static a:focus-visible,
body.nds-static button:focus-visible,
body.nds-static input:focus-visible,
body.nds-static select:focus-visible,
body.nds-static textarea:focus-visible {
  outline: 2px solid var(--nds-2);
  outline-offset: 2px;
}

body.nds-static .container {
  max-width: min(var(--max), var(--nds-container-max));
}

body.nds-static .form-card .btn {
  box-sizing: border-box;
}

/* Footer links: keep gold hover on white text */
body.nds-static .site-footer a:focus-visible {
  outline-color: var(--nds-0);
}

.page-main .prose ul,
.page-main .prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--nds-3);
}
.page-main .prose li {
  margin-bottom: 0.35rem;
}
.page-main .prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--nds-1);
  background: var(--nds-4);
  color: var(--nds-3);
  font-style: italic;
}
.page-main .prose hr {
  border: 0;
  height: 1px;
  background: var(--nds-6);
  margin: 2rem 0;
}
.page-main .prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-main .prose a {
  color: var(--nds-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-main .prose a:hover {
  color: var(--nds-1);
}
.page-main .prose h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  letter-spacing: -0.02em;
}
.page-main .prose h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.page-main .prose h1,
.page-hero-inner h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Tables (if you add any) */
.page-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.page-main th,
.page-main td {
  border: 1px solid var(--nds-6);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.page-main th {
  background: var(--nds-4);
  color: var(--nds-2);
  font-weight: 600;
}

/**
 * NDS School plugin styles (flattened from custom-style.css for browser CSS)
 * Source: nds-school-main/assets/css/custom-style.css
 */
.sub-menu {
  background: rgba(0, 0, 0, 0.2) !important;
}

.container-new {
  width: 100%;
}

.prog-list a {
  padding: 15px 10px;
  width: 100%;
  background-color: white;
  display: block;
  border-bottom: 1px solid #f2f2f2;
}
.prog-list a:hover {
  background-color: #183030;
  color: #ebd35b;
}

.split-content {
  display: flex;
}

.sidepic {
  width: 30%;
  overflow-y: auto;
  background: url("./assets/about-facility.jpg") center center/cover no-repeat;
  min-height: 400px;
  border-radius: 15px;
}

.sidepic-overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  border-radius: 15px;
}

.programs {
  width: 70%;
  padding: 10px 20px;
}

.sidebar {
  width: 30%;
  padding: 10px;
  background-color: #f2f2f2;
  overflow-y: auto;
}

.content {
  width: 70%;
  padding: 10px 20px;
}

.coursee {
  background-color: white;
  padding: 20px;
  box-shadow: 2px 2px 8px #888;
  border-radius: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.cus-btn {
  padding: 10px 20px;
  background-color: #ebd35b;
  margin: 10px 0;
  border-radius: 50px;
}

.prog-prices {
  background: #f3f9f5;
  padding: 10px;
}
.prog-prices a {
  color: #6aa4ca;
}

@media only screen and (max-width: 768px) {
  .split-content {
    display: block;
  }
  .sidepic,
  .programs,
  .sidebar,
  .content {
    width: 100%;
  }
}
/* Online registration form (WP) — optional id on static apply form */
#registration-form {
  max-width: 960px;
  margin: 40px auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}
#registration-form h4 {
  margin: 32px 0 16px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2933;
}
#registration-form h4:first-of-type {
  margin-top: 0;
}
#registration-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
}
#registration-form input[type=text],
#registration-form input[type=date],
#registration-form input[type=tel],
#registration-form input[type=email],
#registration-form select,
#registration-form textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background-color: #f9fafb;
}
#registration-form input[type=text]:focus,
#registration-form input[type=date]:focus,
#registration-form input[type=tel]:focus,
#registration-form input[type=email]:focus,
#registration-form select:focus,
#registration-form textarea:focus {
  outline: none;
  border-color: #183030;
  box-shadow: 0 0 0 3px rgba(24, 48, 48, 0.2);
  background-color: #ffffff;
}
#registration-form textarea {
  resize: vertical;
}
#registration-form input[type=file] {
  margin-top: 4px;
  margin-bottom: 12px;
}
#registration-form .form-control,
#registration-form .grid > div {
  margin-bottom: 18px;
}
#registration-form .nds-app-help {
  font-size: 0.78rem;
  color: #6b7280;
}
#registration-form input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #183030, #0f1f1f);
  color: #f9fafb;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
#registration-form input[type=submit]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
  background: linear-gradient(135deg, #111827, #020617);
}
@media only screen and (max-width: 768px) {
  #registration-form {
    padding: 20px;
    margin: 24px auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  }
}

.nds-app-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3f4f6, #e5e7eb);
  border: 1px solid #d1d5db;
}
.nds-app-section-heading strong {
  font-weight: 600;
}
.nds-app-section-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #1f2933;
  color: #f9fafb;
  font-size: 0.8rem;
}

@media print {
  .nds-custom-navbar,
  .nds-mobile-toggle,
  .skip-link {
    display: none !important;
  }
  body.nds-static {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
