@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --ink: #112536;
  --ink2: #1c3447;
  --muted: #667887;
  --paper: #f7f8f6;
  --line: #dfe6e9;
  --brand: #0a6470;
  --brand2: #083d54;
  --accent: #c89a45;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased
}

a {
  text-decoration: none
}

.container {
  max-width: 1180px
}

.utility {
  background: var(--ink);
  color: #cbd8df;
  font-size: 12px;
  letter-spacing: .1px
}

.utility a {
  color: #fff
}

.utility .divider {
  opacity: .35;
  margin: 0 10px
}

.nav-main {
  background: #fff;
  border-bottom: 1px solid #edf1f2
}

.nav-main .navbar {
  padding: 16px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink) !important
}

.brandmark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -1px
}

.brandtext {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.05
}

.brandtext small {
  display: block;
  color: #7c8991;
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-top: 5px
}

.nav-main .nav-link {
  color: #243b4b !important;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 13px !important
}

.nav-main .nav-link:hover,
.nav-main .nav-link.active {
  color: var(--brand) !important
}

.nav-main .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px;
  box-shadow: 0 15px 35px #11253614
}

.nav-main .dropdown-item {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 2px
}

.nav-main .dropdown-item:hover {
  background: #f0f5f5;
  color: var(--brand)
}

.btn-primary-tbs {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff !important;
  border-radius: 2px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700
}

.btn-primary-tbs:hover {
  background: var(--brand2);
  border-color: var(--brand2)
}

.btn-ghost {
  border: 1px solid #b9c5cb;
  color: var(--ink);
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand)
}

.hero {
  background: var(--paper);
  min-height: 640px;
  display: flex;
  align-items: stretch
}

.hero-copy {
  padding: 92px 0 88px;
  display: flex;
  align-items: center
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700
}

.hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 17px 0 20px;
  color: var(--ink)
}

.hero h1 em {
  font-style: normal;
  color: var(--brand)
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 630px
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #17384a
}

.hero-note {
  position: absolute;
  left: 30px;
  bottom: 30px;
  background: #fff;
  padding: 19px 21px;
  width: 250px;
  box-shadow: 0 15px 35px #11253625
}

.hero-note small {
  display: block;
  color: var(--brand);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700
}

.hero-note strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  margin-top: 6px;
  line-height: 1.4
}

.intro {
  padding: 0 0 0px
}

.intro-panel {
  margin-top: 25px;
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  box-shadow: 0 18px 45px #1125360d
}

.intro-main {
  padding: 42px
}

.intro-main h2,
.section-head h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 34px;
  line-height: 1.25;
  margin: 8px 0 16px
}

.intro-main p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0
}

.intro-side {
  background: var(--ink);
  color: #fff;
  padding: 42px
}

.intro-side .number {
  font-family: "Libre Baskerville", serif;
  font-size: 52px;
  color: #fff
}

.intro-side p {
  color: #c4d2da;
  line-height: 1.65;
  font-size: 13px
}

.rule {
  height: 1px;
  background: #ffffff26;
  margin: 24px 0
}

.section {
  padding: 88px 0
}

.paper {
  background: var(--paper)
}

.section-head {
  max-width: 730px;
  margin-bottom: 44px
}

.section-head .eyebrow {
  margin-bottom: 8px
}

.section-head p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  font-size: 16px
}

.wal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff
}

.wal-copy {
  padding: 44px
}

.wal-copy h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 29px;
  margin: 8px 0 16px
}

.wal-copy p {
  color: var(--muted);
  line-height: 1.85
}

.wal-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none
}

.wal-list li {
  display: flex;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px
}

.wal-list li:last-child {
  border-bottom: 0
}

.wal-list i {
  color: var(--brand);
  margin-top: 4px
}

.wal-visual {
  min-height: 440px;
  background: url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1200&q=85') center/cover;
  position: relative
}

.wal-visual:after {
  content: "Work-Applied Learning";
  position: absolute;
  left: 25px;
  bottom: 25px;
  background: var(--ink);
  color: #fff;
  padding: 12px 15px;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.program-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  transition: .2s;
  height: 100%
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px #11253612
}

.program-top {
  padding: 30px 30px 25px;
  border-bottom: 1px solid var(--line)
}

.program-code {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700
}

.program-top h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  line-height: 1.35;
  margin: 9px 0
}

.program-top p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px
}

.program-bottom {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.program-bottom span {
  font-size: 12px;
  color: #7c8991
}

.text-link {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700
}

.text-link i {
  margin-left: 6px;
  transition: .15s
}

.text-link:hover i {
  transform: translateX(3px)
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.principle {
  background: #fff;
  padding: 30px
}

.principle .num {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700
}

.principle h4 {
  font-family: "Libre Baskerville", serif;
  font-size: 21px;
  margin: 10px 0
}

.principle p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0
}

.mission {
  background: var(--ink);
  color: #fff;
  padding: 72px 0
}

.mission h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 38px;
  line-height: 1.3
}

.mission p {
  color: #c6d4db;
  line-height: 1.8
}

.mission .quote {
  border-left: 2px solid var(--accent);
  padding-left: 24px
}

.news-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 22px
}

.news-card {
  border: 1px solid var(--line);
  background: #fff
}

.news-img {
  height: 235px;
  background: center/cover
}

.news-img.one {
  background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1000&q=85')
}

.news-img.two {
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=900&q=85')
}

.news-body {
  padding: 24px
}

.date {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  font-weight: 700
}

.news-body h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 23px;
  line-height: 1.4;
  margin: 8px 0 12px
}

.news-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted)
}

.cta {
  background: #eaf1f1;
  padding: 48px
}

.cta h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 31px;
  margin: 0 0 10px
}

.cta p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7
}

.page-hero {
  padding: 70px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line)
}

.page-hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 46px;
  margin: 12px 0
}

.breadcrumb {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #7b8a92
}

.breadcrumb a {
  color: var(--brand)
}

.content h2,
.content h3 {
  font-family: "Libre Baskerville", serif
}

.content p,
.content li {
  color: var(--muted);
  line-height: 1.85
}

.detail-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px
}

.detail-card h3 {
  font-size: 25px
}

.module-list {
  columns: 2;
  padding-left: 18px
}

.module-list li {
  break-inside: avoid;
  margin-bottom: 7px
}

.form-card {
  border: 1px solid var(--line);
  padding: 34px;
  background: #fff
}

.form-control,
.form-select {
  border-radius: 2px;
  border: 1px solid #cfd9de;
  padding: 12px 13px;
  font-size: 13px
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px #0a647012
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line)
}

.contact-item:last-child {
  border: 0
}

.contact-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 5px
}

.contact-item span {
  color: var(--muted);
  font-size: 14px
}

.footer {
  background: #0a1d2b;
  color: #aebec8;
  padding-top: 70px
}

.footer h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px
}

.footer p,
.footer a {
  font-size: 13px;
  line-height: 1.8;
  color: #aebec8
}

.footer a:hover {
  color: #fff
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700
}

.footer-bottom {
  border-top: 1px solid #ffffff14;
  margin-top: 45px;
  padding: 18px 0;
  font-size: 11px;
  color: #8195a1
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #1fb85b;
  color: #fff;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 10px 25px #0003
}

@media(max-width:991px) {
  .hero {
    min-height: auto
  }

  .hero-copy {
    padding: 65px 0
  }

  .hero-media {
    min-height: 430px
  }

  .intro-panel {
    grid-template-columns: 1fr;
    margin-top: 0
  }

  .program-grid,
  .news-grid,
  .wal {
    grid-template-columns: 1fr
  }

  .principles {
    grid-template-columns: 1fr
  }

  .section {
    padding: 65px 0
  }

  .nav-main .navbar {
    padding: 12px 0
  }

  .page-hero {
    padding: 55px 0
  }

  .page-hero h1 {
    font-size: 38px
  }
}

@media(max-width:575px) {
  .hero h1 {
    font-size: 40px
  }

  .hero-media {
    min-height: 330px
  }

  .intro-main,
  .intro-side {
    padding: 28px
  }

  .module-list {
    columns: 1
  }

  .cta {
    padding: 32px
  }
}


/* ---------- TBS FINAL VISUAL POLISH ---------- */
:root {
  --ink: #102b43;
  --ink2: #173d56;
  --muted: #66798a;
  --paper: #f6f3ed;
  --line: #dfe5e8;
  --brand: #1f6b5d;
  --brand2: #164f46;
  --accent: #b87932;
  --white: #fff;
}

/* Fine brand details */
.utility {
  background: #0b2236;
  border-bottom: 3px solid var(--accent)
}

.brandmark {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  position: relative;
  box-shadow: inset 0 0 0 1px #ffffff26;
}

.brandmark:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
}

.nav-main {
  box-shadow: 0 4px 18px rgba(16, 43, 67, .045)
}

.nav-main .nav-link {
  position: relative
}

.nav-main .nav-link:after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: .2s;
}

.nav-main .nav-link:hover:after,
.nav-main .nav-link.active:after {
  transform: scaleX(1)
}

.btn-primary-tbs {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 5px 14px rgba(31, 107, 93, .14)
}

.btn-primary-tbs:hover {
  background: var(--brand2);
  border-color: var(--brand2);
  transform: translateY(-1px)
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--ink)
}

/* Hero: more editorial and less template-like */
.hero {
  background: var(--paper);
  position: relative
}

.hero:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: var(--accent);
}

.hero-copy {
  position: relative
}

.hero-copy:after {
  content: "";
  position: absolute;
  right: 4%;
  top: 12%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(184, 121, 50, .28);
  border-radius: 50%;
}

.hero h1 {
  letter-spacing: -2px
}

.hero h1 em {
  color: var(--brand);
  position: relative
}

.hero h1 em:after {
  content: "";
  position: absolute;
  left: 3px;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: rgba(184, 121, 50, .25);
  z-index: -1;
}

.hero-media {
  border-left: 8px solid var(--accent);
  box-shadow: -20px 0 40px rgba(16, 43, 67, .08);
}

.hero-note {
  border-left: 4px solid var(--accent);
  box-shadow: 0 18px 40px rgba(16, 43, 67, .16);
}

/* Intro */
.intro-panel {
  box-shadow: 0 22px 50px rgba(16, 43, 67, .09)
}

.intro-side {
  background: linear-gradient(145deg, var(--ink), #174761);
  position: relative;
  overflow: hidden;
}

.intro-side:after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid #ffffff1c;
  border-radius: 50%;
  right: -95px;
  top: -95px;
}

/* Section labels */
.eyebrow {
  color: var(--brand)
}

.section-head h2,
.intro-main h2 {
  letter-spacing: -.6px
}

.section-head:before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 14px;
}

/* WAL */
.wal {
  box-shadow: 0 18px 45px rgba(16, 43, 67, .055)
}

.wal-copy {
  position: relative
}

.wal-copy:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
}

.wal-list li:hover {
  background: #f7faf9
}

.wal-list i {
  color: var(--accent)
}

.wal-visual:after {
  background: var(--brand);
  border-left: 3px solid var(--accent)
}

/* Programmes */
.program-card {
  position: relative;
  overflow: hidden
}

.program-card:before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(16, 43, 67, .12)
}

.program-code {
  color: var(--brand)
}

.text-link {
  color: var(--brand)
}

.text-link:hover {
  color: var(--accent)
}

/* Principles / values */
.principle {
  transition: .2s
}

.principle:hover {
  background: #fbfaf7
}

.principle .num {
  color: var(--accent)
}

/* Mission */
.mission {
  background: linear-gradient(120deg, #0b263b, #16485d);
  position: relative;
  overflow: hidden;
}

.mission:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #ffffff16;
  border-radius: 50%;
  right: -170px;
  top: -190px;
}

.mission .quote {
  border-left-color: var(--accent)
}

/* News */
.news-card {
  transition: .2s
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(16, 43, 67, .10)
}

.news-img:after {
  content: "";
  display: block;
  width: 45px;
  height: 4px;
  background: var(--accent);
  position: relative;
  top: calc(100% - 14px);
  left: 24px
}

.date {
  color: var(--brand)
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #edf3ef, #f8f4eb);
  border-top: 1px solid #dfe7e3;
  border-bottom: 1px solid #e6e0d5;
  position: relative;
}

.cta:after {
  content: "";
  position: absolute;
  right: 6%;
  top: 18px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(184, 121, 50, .25);
  border-radius: 50%;
}

/* Inner pages */
.page-hero {
  background: linear-gradient(135deg, #f6f3ed, #eef3f0);
  border-top: 1px solid #e8e3d9;
}

.page-hero h1 {
  letter-spacing: -1px
}

.breadcrumb a {
  color: var(--brand)
}

.detail-card,
.form-card {
  box-shadow: 0 12px 32px rgba(16, 43, 67, .045)
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(31, 107, 93, .10)
}

/* Footer */
.footer {
  background: #081f31
}

.footer-brand {
  position: relative;
  padding-left: 15px
}

.footer-brand:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 3px;
  height: 19px;
  background: var(--accent)
}

.footer a:hover {
  color: #fff
}

/* Floating contact */
.whatsapp {
  background: #208f62;
  box-shadow: 0 10px 28px rgba(8, 31, 49, .22)
}

.whatsapp:hover {
  background: #176e4c;
  transform: translateY(-2px)
}

@media(max-width:991px) {
  .hero:before {
    width: 4px
  }

  .hero-media {
    border-left: 0;
    border-top: 6px solid var(--accent);
    box-shadow: none
  }

  .hero-copy:after {
    display: none
  }
}


/* ===== FINAL CLIENT VISUAL PASS ===== */
:root {
  --tbs-navy: #09243d;
  --tbs-navy-2: #123d59;
  --tbs-green: #147653;
  --tbs-green-dark: #0d5d41;
  --tbs-gold: #c8942e;
  --tbs-cream: #f7f5ef;
  --tbs-line: #dfe6e8;
}

/* Hero with the supplied TBS photograph */
.hero {
  position: relative;
  min-height: 680px;
  background: #09243d;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 22, 38, .96) 0%, rgba(7, 34, 54, .86) 36%, rgba(7, 34, 54, .35) 68%, rgba(7, 34, 54, .28) 100%),
    url("../img/tbs-group-photo.jpg") center center/cover no-repeat;
  transform: scale(1.015);
  filter: saturate(.94) contrast(1.03);
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, rgba(5, 22, 38, .72));
  pointer-events: none;
}

.hero .container-fluid,
.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-copy:before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  width: 4px;
  height: 118px;
  background: var(--tbs-gold);
}

.hero .eyebrow {
  color: #e6bd69
}

.hero h1 {
  color: #fff;
  max-width: 760px;
  font-size: clamp(44px, 5.5vw, 74px);
  text-shadow: 0 3px 20px rgba(0, 0, 0, .18);
}

.hero h1 em {
  color: #65c795
}

.hero p {
  color: #edf4f7;
  max-width: 620px;
  font-size: 17px;
}

.hero-actions .btn-primary-tbs {
  background: var(--tbs-gold);
  border-color: var(--tbs-gold);
  color: #112536 !important;
}

.hero-actions .btn-primary-tbs:hover {
  background: #d9aa4d;
  border-color: #d9aa4d;
}

.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(5, 22, 38, .18);
}

.hero-actions .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .08)
}

.hero-note {
  border-left: 4px solid var(--tbs-gold);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

/* Floating quick feature strip */
.hero .hero-features {
  position: absolute;
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(1180px, calc(100% - 30px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero .hero-feature {
  background: rgba(7, 32, 53, .94);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 20px;
  min-height: 78px;
  backdrop-filter: blur(6px);
}

.hero .hero-feature strong {
  display: block;
  font-size: 13px
}

.hero .hero-feature span {
  font-size: 12px;
  color: #c5d6df
}

/* About cards */
.cardx {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cardx:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tbs-green), var(--tbs-gold));
  transition: width .3s ease;
}

.cardx:hover {
  transform: translateY(-8px);
  border-color: #cfdcdf;
  box-shadow: 0 20px 45px rgba(9, 36, 61, .12);
}

.cardx:hover:before {
  width: 100%
}

.icon {
  border-radius: 50%;
  background: #edf7f1;
  color: var(--tbs-green);
  transition: transform .25s ease, background .25s ease;
}

.cardx:hover .icon {
  transform: scale(1.07) rotate(-3deg);
  background: #e2f1e9;
}

/* About / programme detail cards */
.detail-card,
.form-card {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.detail-card:hover,
.form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(9, 36, 61, .09);
}

.detail-card:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 55px;
  background: var(--tbs-gold);
}

/* Programme cards */
.program-card {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.program-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tbs-green), var(--tbs-gold));
  z-index: 2;
}

.program-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -72px;
  bottom: -72px;
  border: 1px solid rgba(200, 148, 46, .28);
  border-radius: 50%;
  transition: transform .35s ease;
}

.program-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 24px 50px rgba(9, 36, 61, .13);
  border-color: #cbd9dc;
}

.program-card:hover:after {
  transform: scale(1.35)
}

.program-top h3 {
  transition: color .2s ease
}

.program-card:hover .program-top h3 {
  color: var(--tbs-green)
}

.program-bottom {
  background: #fff;
  border-top: 1px solid #edf1f2;
}

.text-link {
  color: var(--tbs-green)
}

.text-link:hover {
  color: var(--tbs-gold)
}

/* Values / principle cards */
.principle {
  position: relative;
  transition: transform .22s ease, background .22s ease;
}

.principle:hover {
  transform: translateY(-4px);
  background: #fffdf9;
}

.principle .num {
  color: var(--tbs-gold)
}

/* Mission strip */
.mission {
  background: linear-gradient(120deg, #09243d, #124d61);
}

.mission .quote {
  border-left-color: var(--tbs-gold)
}

/* CTA */
.cta {
  border-left: 4px solid var(--tbs-green);
  background: linear-gradient(135deg, #edf5f1, #f8f2e6);
}

.cta h2 {
  color: var(--tbs-navy)
}

/* Mobile */
@media(max-width:991px) {
  .hero {
    min-height: 720px
  }

  .hero:before {
    background:
      linear-gradient(180deg, rgba(5, 22, 38, .78) 0%, rgba(5, 22, 38, .84) 58%, rgba(5, 22, 38, .96) 100%),
      url("../img/tbs-group-photo.jpg") center/cover no-repeat;
  }

  .hero-copy {
    min-height: 600px;
    padding: 70px 0 180px
  }

  .hero-copy:before {
    display: none
  }

  .hero .hero-features {
    grid-template-columns: 1fr;
    bottom: 12px;
    gap: 5px;
  }

  .hero .hero-feature {
    padding: 13px 16px;
    min-height: auto
  }
}

@media(max-width:575px) {
  .hero {
    min-height: 760px
  }

  .hero-copy {
    padding: 55px 0 220px
  }

  .hero h1 {
    font-size: 42px
  }
}


/* ===== HERO IMAGE FIX - USE ACTUAL TBS GROUP PHOTO ===== */
.hero {
  position: relative !important;
  min-height: 680px !important;
  background: #09243d !important;
  overflow: hidden !important;
}

.hero:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    linear-gradient(90deg, rgba(5, 22, 38, .94) 0%, rgba(5, 22, 38, .82) 35%, rgba(5, 22, 38, .48) 62%, rgba(5, 22, 38, .30) 100%),
    linear-gradient(180deg, rgba(5, 22, 38, .08), rgba(5, 22, 38, .58)),
    url("../img/tbs-group-photo.jpg") center center/cover no-repeat !important;
  transform: none !important;
  filter: saturate(.92) contrast(1.02) !important;
}

.hero .container-fluid {
  position: relative !important;
  z-index: 2 !important;
}

.hero .row {
  min-height: 680px !important;
}

.hero .col-lg-7,
.hero .col-lg-5 {
  position: relative !important;
  z-index: 2 !important;
}

.hero-copy {
  min-height: 680px !important;
  position: relative !important;
  z-index: 3 !important;
}

.hero-media {
  min-height: 680px !important;
  height: 100% !important;
  position: relative !important;
  background: transparent !important;
  overflow: visible !important;
  border-left: 0 !important;
  box-shadow: none !important;
}

.hero-note {
  position: absolute !important;
  right: 38px !important;
  left: auto !important;
  bottom: 125px !important;
  z-index: 5 !important;
  width: 275px !important;
  background: rgba(255, 255, 255, .96) !important;
  border-left: 4px solid var(--tbs-gold) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25) !important;
}

.hero-features {
  z-index: 6 !important;
}

@media(max-width:991px) {

  .hero .row,
  .hero-copy,
  .hero-media {
    min-height: 720px !important
  }

  .hero:before {
    background:
      linear-gradient(180deg, rgba(5, 22, 38, .70) 0%, rgba(5, 22, 38, .78) 50%, rgba(5, 22, 38, .95) 100%),
      url("../img/tbs-group-photo.jpg") center center/cover no-repeat !important;
  }

  .hero-media {
    display: none !important
  }
}

/* =========================================================
   TBS HERO - FINAL IMPLEMENTATION
   The supplied TBS group photo is the ONLY hero image.
   ========================================================= */
.tbs-real-hero {
  position: relative !important;
  min-height: 700px !important;
  display: block !important;
  overflow: hidden !important;
  background: #071f35 !important;
}

.tbs-hero-photo {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-image: url("../img/tbs-group-photo.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  transform: scale(1.02) !important;
  filter: saturate(.92) contrast(1.04) !important;
}

.tbs-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(4, 22, 38, .96) 0%, rgba(4, 22, 38, .86) 32%, rgba(4, 22, 38, .52) 62%, rgba(4, 22, 38, .20) 100%),
    linear-gradient(180deg, rgba(4, 22, 38, .12) 0%, rgba(4, 22, 38, .12) 52%, rgba(4, 22, 38, .72) 100%) !important;
}

.tbs-hero-content {
  min-height: 700px !important;
  display: flex !important;
  align-items: center !important;
  z-index: 3 !important;
  padding-top: 30px !important;
  padding-bottom: 150px !important;
}

.tbs-real-hero .eyebrow {
  color: #e7bd68 !important;
  position: relative;
  padding-left: 15px;
}

.tbs-real-hero .eyebrow:before {
  content: "" !important;
  position: absolute !important;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: #c8942e;
}

.tbs-real-hero h1 {
  color: #fff !important;
  font-size: clamp(46px, 6vw, 78px) !important;
  line-height: 1.04 !important;
  letter-spacing: -2px !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .20);
  max-width: 820px;
}

.tbs-real-hero h1 em {
  color: #63c997 !important
}

.tbs-real-hero h1 em:after {
  background: rgba(200, 148, 46, .30) !important;
}

.tbs-real-hero p {
  color: #eef5f8 !important;
  max-width: 680px !important;
  font-size: 18px !important;
}

.tbs-real-hero .hero-actions .btn-primary-tbs {
  background: #c8942e !important;
  border-color: #c8942e !important;
  color: #102b43 !important;
}

.tbs-real-hero .hero-actions .btn-primary-tbs:hover {
  background: #dfad4c !important;
  border-color: #dfad4c !important;
}

.tbs-real-hero .hero-actions .btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .55) !important;
  background: rgba(4, 22, 38, .20) !important;
}

.tbs-real-hero .hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .10) !important;
  border-color: #fff !important;
}

.tbs-real-hero .hero-note {
  position: absolute !important;
  right: 6% !important;
  bottom: 142px !important;
  z-index: 5 !important;
  width: 285px !important;
  padding: 20px 22px !important;
  background: rgba(255, 255, 255, .97) !important;
  border-left: 4px solid #c8942e !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28) !important;
}

.tbs-real-hero .hero-note small {
  display: block !important;
  color: #147653 !important;
  font-size: 10px !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}

.tbs-real-hero .hero-note strong {
  display: block !important;
  color: #09243d !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 19px !important;
  line-height: 1.45 !important;
  margin-top: 7px !important;
}

.tbs-real-hero .hero-features {
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  width: min(1180px, calc(100% - 30px)) !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  z-index: 6 !important;
}

.tbs-real-hero .hero-feature {
  min-height: 82px !important;
  padding: 17px 20px !important;
  background: rgba(7, 31, 51, .94) !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  color: #fff !important;
  backdrop-filter: blur(7px) !important;
}

.tbs-real-hero .hero-feature strong {
  display: block !important;
  font-size: 12px !important;
  letter-spacing: .4px;
}

.tbs-real-hero .hero-feature i {
  color: #e7bd68 !important
}

.tbs-real-hero .hero-feature span {
  display: block !important;
  margin-top: 4px;
  color: #c6d6df !important;
  font-size: 12px !important;
}

@media(max-width:991px) {
  .tbs-real-hero {
    min-height: 760px !important
  }

  .tbs-hero-photo {
    background-position: center center !important;
  }

  .tbs-hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 22, 38, .68) 0%, rgba(4, 22, 38, .76) 48%, rgba(4, 22, 38, .96) 100%) !important;
  }

  .tbs-hero-content {
    min-height: 650px !important;
    padding-top: 55px !important;
    padding-bottom: 245px !important;
  }

  .tbs-real-hero .hero-note {
    right: 20px !important;
    bottom: 225px !important;
    width: 260px !important;
  }

  .tbs-real-hero .hero-features {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    bottom: 10px !important;
  }

  .tbs-real-hero .hero-feature {
    min-height: auto !important;
    padding: 12px 15px !important;
  }
}

@media(max-width:575px) {
  .tbs-real-hero {
    min-height: 800px !important
  }

  .tbs-hero-content {
    padding-bottom: 280px !important
  }

  .tbs-real-hero h1 {
    font-size: 42px !important
  }

  .tbs-real-hero .hero-note {
    bottom: 252px !important;
    right: 14px !important;
    width: 245px !important;
  }
}


/* ============================================================
   TBS HERO VISIBILITY / IMAGE BALANCE - FINAL
   Keep the supplied group photo visible behind the headline.
   ============================================================ */
.tbs-real-hero {
  min-height: 700px !important;
  background: #09243d !important;
}

.tbs-hero-photo {
  opacity: 1 !important;
  filter: saturate(1.02) contrast(1.02) brightness(.98) !important;
  transform: scale(1.015) !important;
  background-position: center 42% !important;
}

/* Lighter on the photograph, darker only where the text sits. */
.tbs-hero-overlay {
  background:
    linear-gradient(90deg,
      rgba(4, 22, 38, .82) 0%,
      rgba(4, 22, 38, .66) 25%,
      rgba(4, 22, 38, .38) 46%,
      rgba(4, 22, 38, .16) 68%,
      rgba(4, 22, 38, .08) 100%),
    linear-gradient(180deg,
      rgba(4, 22, 38, .05) 0%,
      rgba(4, 22, 38, .03) 48%,
      rgba(4, 22, 38, .30) 100%) !important;
}

/* Give the people behind the headline enough contrast/visibility. */
.tbs-real-hero .tbs-hero-content {
  min-height: 700px !important;
  padding-top: 20px !important;
  padding-bottom: 135px !important;
}

.tbs-real-hero .tbs-hero-content>.row {
  min-height: 560px !important;
  align-items: center !important;
}

.tbs-real-hero h1 {
  max-width: 690px !important;
  font-size: clamp(44px, 5.3vw, 72px) !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .30) !important;
}

.tbs-real-hero p {
  max-width: 600px !important;
  text-shadow: 0 2px 9px rgba(0, 0, 0, .24) !important;
}

/* Keep the approach card over the right side, but don't hide the group. */
.tbs-real-hero .hero-note {
  right: 5.5% !important;
  bottom: 128px !important;
  width: 300px !important;
  background: rgba(255, 255, 255, .95) !important;
}

/* Feature strip should sit cleanly over the bottom of the hero. */
.tbs-real-hero .hero-features {
  bottom: 0 !important;
  width: min(1180px, calc(100% - 30px)) !important;
  background: transparent !important;
}

.tbs-real-hero .hero-feature {
  min-height: 82px !important;
  background: rgba(7, 31, 51, .91) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
}

/* Add a very subtle highlight around the photo edge. */
.tbs-real-hero:after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  border-bottom: 1px solid rgba(200, 148, 46, .45);
  box-shadow: inset 0 -70px 100px rgba(4, 22, 38, .16);
}

@media(max-width:991px) {
  .tbs-real-hero {
    min-height: 760px !important;
  }

  .tbs-hero-photo {
    background-position: center 42% !important;
  }

  .tbs-hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(4, 22, 38, .40) 0%,
        rgba(4, 22, 38, .55) 42%,
        rgba(4, 22, 38, .82) 100%) !important;
  }

  .tbs-real-hero .tbs-hero-content {
    min-height: 650px !important;
    padding-top: 40px !important;
    padding-bottom: 245px !important;
  }
}

@media(max-width:575px) {
  .tbs-real-hero {
    min-height: 800px !important;
  }

  .tbs-real-hero .tbs-hero-content {
    padding-bottom: 280px !important;
  }

  .tbs-real-hero .hero-note {
    bottom: 252px !important;
  }
}


/* =========================================================
   ABOUT PAGE - PREMIUM INTERACTION & COLOUR SYSTEM
   ========================================================= */
.about-page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, #08243c 0%, #123f57 62%, #1a5b62 100%);
  color: #fff;
}

.about-page-hero:before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -130px;
  top: -170px;
  border: 1px solid rgba(200, 148, 46, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, .025), 0 0 0 130px rgba(255, 255, 255, .018);
}

.about-page-hero:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -110px;
  bottom: -115px;
  border: 1px solid rgba(99, 199, 151, .22);
  border-radius: 50%;
}

.about-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 45px 45px;
}

.about-page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  color: #c9dce5;
  margin-bottom: 45px;
}

.about-page-hero .breadcrumb a {
  color: #e6bd69
}

.about-page-hero .breadcrumb span {
  margin: 0 8px;
  color: #7893a4
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px
}

.about-hero-content .eyebrow {
  color: #e6bd69
}

.about-hero-content h1 {
  font-size: clamp(43px, 5.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  margin: 10px 0 18px;
  color: #fff;
}

.about-hero-content h1 em {
  color: #65c997;
  font-style: normal;
}

.about-hero-content p {
  color: #dce9ee;
  font-size: 18px;
  max-width: 650px;
}

.about-hero-line {
  width: 76px;
  height: 4px;
  background: #c8942e;
  margin-top: 28px;
}

/* Intro */
.about-intro {
  background: #fff
}

.about-intro-copy {
  padding: 18px 0 15px
}

.about-intro-copy h2 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 42px;
  line-height: 1.18;
  margin: 10px 0 22px;
}

.about-intro-copy p {
  color: #60768a;
  font-size: 17px;
  line-height: 1.85;
  max-width: 720px;
}

.about-glance-card {
  position: relative;
  height: 100%;
  min-height: 390px;
  padding: 38px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #0b304a, #164f68);
  box-shadow: 0 22px 50px rgba(9, 36, 61, .13);
}

.about-glance-card:before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -145px;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}

.about-glance-card:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: -90px;
  bottom: -85px;
  border: 1px solid rgba(200, 148, 46, .25);
  border-radius: 50%;
}

.glance-label {
  color: #e6bd69;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.glance-number {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 86px;
  line-height: 1;
  margin: 25px 0 10px;
}

.glance-number span {
  color: #65c997
}

.about-glance-card h3 {
  font-size: 20px;
  margin-bottom: 13px;
}

.about-glance-card p {
  color: #cbdde5;
  line-height: 1.7
}

.glance-rule {
  height: 1px;
  background: rgba(255, 255, 255, .15);
  margin: 26px 0
}

.glance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  position: relative;
  z-index: 2
}

.glance-tags span {
  font-size: 11px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #dce9ee;
}

/* Three cards */
.about-feature-section {
  padding: 0 0 90px;
  background: #fff;
}

.about-feature-card {
  position: relative;
  min-height: 245px;
  padding: 32px;
  border: 1px solid #e1e7e9;
  background: #fff;
  overflow: hidden;
  transition: .28s ease;
}

.about-feature-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #147653, #c8942e);
  transition: .3s ease;
}

.about-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(9, 36, 61, .11);
  border-color: #cedbde;
}

.about-feature-card:hover:before {
  width: 100%
}

.about-feature-card.featured {
  background: #f2f7f4;
  border-color: #cddfd5
}

.about-feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f4ef;
  color: #147653;
  font-size: 21px;
  margin-bottom: 25px;
  transition: .25s ease;
}

.about-feature-card:hover .feature-icon {
  transform: rotate(-5deg) scale(1.08);
  background: #dceee5;
}

.about-feature-card>span {
  position: absolute;
  right: 25px;
  top: 25px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 28px;
  color: #d6dfe2;
}

.about-feature-card h3 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
}

.about-feature-card p {
  color: #687d8d;
  line-height: 1.7
}

/* Methodology */
.about-methodology {
  background: #f5f3ee
}

.centered-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px
}

.centered-head h2 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 43px;
  margin: 8px 0 12px;
}

.centered-head p {
  color: #708392;
  font-size: 17px
}

.wal-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  border: 1px solid #dfe6e5;
  box-shadow: 0 20px 50px rgba(9, 36, 61, .07);
}

.wal-panel-main {
  padding: 52px;
  position: relative
}

.wal-panel-main:before {
  content: "WAL";
  position: absolute;
  right: 35px;
  top: 30px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 70px;
  color: #edf1ef;
  font-weight: 700;
}

.wal-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f4ef;
  color: #147653;
  font-size: 23px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.wal-panel-main h3 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 32px;
  position: relative;
  z-index: 1;
}

.wal-panel-main h3 small {
  color: #147653;
  font-size: 16px
}

.wal-panel-main p {
  color: #667c8d;
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
}

.wal-panel-side {
  background: #0b3049;
  color: #fff;
  padding: 42px 38px;
}

.wal-side-title {
  color: #e6bd69;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 16px;
}

.wal-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.wal-item:last-child {
  border-bottom: 0
}

.wal-item>span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 148, 46, .5);
  color: #e6bd69;
  font-size: 11px;
  flex: none;
}

.wal-item strong {
  display: block;
  font-size: 14px
}

.wal-item small {
  display: block;
  color: #b9ced8;
  margin-top: 3px;
  line-height: 1.4
}

/* Direction + Tabs */
.about-direction {
  background: #fff
}

.about-direction h2 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 42px;
  line-height: 1.2;
}

.about-direction>.container>.row>.col-lg-4>p {
  color: #708392;
  line-height: 1.8;
  font-size: 16px;
}

.direction-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid #e0e6e7;
  color: #147653;
  font-weight: 700;
}

.direction-note i {
  color: #c8942e
}

.direction-tabs {
  border: 1px solid #dfe6e8;
  box-shadow: 0 18px 45px rgba(9, 36, 61, .07);
}

.tbs-tabs {
  border-bottom: 1px solid #dfe6e8;
  background: #f6f8f7;
  padding: 0;
}

.tbs-tabs .nav-item {
  flex: 1
}

.tbs-tabs .nav-link {
  width: 100%;
  min-height: 78px;
  border: 0 !important;
  border-right: 1px solid #dfe6e8 !important;
  border-radius: 0 !important;
  color: #627889;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  transition: .2s ease;
  position: relative;
}

.tbs-tabs .nav-item:last-child .nav-link {
  border-right: 0 !important
}

.tbs-tabs .nav-link i {
  color: #147653
}

.tbs-tabs .nav-link:after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  background: #c8942e;
  transform: scaleX(0);
  transition: .25s ease;
}

.tbs-tabs .nav-link:hover {
  color: #09243d;
  background: #eef4f1;
}

.tbs-tabs .nav-link.active {
  color: #09243d;
  background: #fff;
}

.tbs-tabs .nav-link.active:after {
  transform: scaleX(1)
}

.tbs-tab-content {
  min-height: 315px;
  padding: 42px 48px;
  position: relative;
  overflow: hidden;
}

.tbs-tab-content:after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid #e8d9bd;
  border-radius: 50%;
}

.tbs-tab-content .tab-pane {
  position: relative;
  z-index: 1
}

.tab-number {
  display: block;
  color: #c8942e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.tab-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9f4ef;
  color: #147653;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.tbs-tab-content h3 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
  margin-bottom: 14px;
}

.tbs-tab-content p {
  color: #657b8c;
  line-height: 1.8;
  font-size: 16px;
  max-width: 650px;
}

/* Values */
.about-values {
  background: #f5f3ee
}

.about-values h2 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 42px;
  margin: 8px 0 14px;
}

.about-values .section-head>p {
  color: #718492;
  line-height: 1.8;
  max-width: 720px;
}

.values-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #cbded5;
  background: #edf6f1;
  color: #147653;
  font-size: 12px;
  font-weight: 700;
}

.value-placeholder-card {
  min-height: 190px;
  padding: 28px;
  background: #fff;
  border: 1px dashed #cfdad8;
  transition: .25s ease;
}

.value-placeholder-card:hover {
  border-style: solid;
  border-color: #b7cec3;
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(9, 36, 61, .07);
}

.placeholder-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1eee6;
  color: #b5812b;
  margin-bottom: 17px;
}

.value-placeholder-card h4 {
  color: #09243d;
  font-size: 18px
}

.value-placeholder-card p {
  color: #7a8c98;
  font-size: 14px;
  line-height: 1.6
}

/* Final CTA */
.about-final-cta {
  padding: 70px 0;
  background: #fff
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 48px;
  background: linear-gradient(135deg, #0b3049, #155363);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-cta-inner:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  top: -115px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.about-cta-inner h2 {
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 30px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.about-cta-inner .eyebrow {
  color: #e6bd69;
  position: relative;
  z-index: 1
}

.about-cta-inner .btn-primary-tbs {
  background: #c8942e;
  border-color: #c8942e;
  color: #09243d
}

.about-cta-inner .btn-outline-tbs {
  border-color: rgba(255, 255, 255, .55);
  color: #fff
}

/* Responsive */
@media(max-width:991px) {

  .about-intro-copy h2,
  .about-direction h2,
  .about-values h2 {
    font-size: 36px
  }

  .wal-panel {
    grid-template-columns: 1fr
  }

  .about-glance-card {
    min-height: 350px
  }

  .about-cta-inner {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:767px) {
  .about-page-hero {
    min-height: 380px
  }

  .about-hero-content h1 {
    font-size: 43px
  }

  .about-intro-copy {
    padding-top: 0
  }

  .about-feature-section {
    padding-bottom: 65px
  }

  .wal-panel-main {
    padding: 34px 28px
  }

  .wal-panel-side {
    padding: 32px 28px
  }

  .tbs-tabs .nav-link {
    min-height: 68px;
    font-size: 13px
  }

  .tbs-tabs .nav-link span {
    display: none
  }

  .tbs-tab-content {
    padding: 34px 28px;
    min-height: 330px
  }

  .about-cta-inner {
    padding: 34px 28px
  }
}


/* =========================================================
   PROGRAMMES PAGE - PREMIUM REDESIGN
   ========================================================= */
.programmes-hero {
  position: relative;
  min-height: 485px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #08243c, #12465c 62%, #17645e);
}

.programmes-hero:before {
  content: "";
  position: absolute;
  right: -140px;
  top: -150px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(200, 148, 46, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .015);
}

.programmes-hero:after {
  content: "PROGRAMMES";
  position: absolute;
  right: 6%;
  bottom: -32px;
  color: rgba(255, 255, 255, .035);
  font-size: 100px;
  font-weight: 800;
  letter-spacing: 7px;
}

.programmes-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.programmes-hero .breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 45px;
  color: #c9dce5
}

.programmes-hero .breadcrumb a {
  color: #e6bd69
}

.programmes-hero .breadcrumb span {
  margin: 0 8px;
  color: #7893a4
}

.programmes-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px
}

.programmes-hero-content .eyebrow {
  color: #e6bd69
}

.programmes-hero-content h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(44px, 5.3vw, 70px);
  line-height: 1.06;
  letter-spacing: -1.7px;
  margin: 10px 0 18px;
}

.programmes-hero-content h1 em {
  font-style: normal;
  color: #65c997
}

.programmes-hero-content p {
  max-width: 670px;
  color: #dce9ee;
  font-size: 18px;
  line-height: 1.75
}

.programmes-hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 28px
}

.programmes-hero .btn-outline-tbs {
  border-color: rgba(255, 255, 255, .55);
  color: #fff
}

.programme-hero-stat {
  position: absolute;
  right: 9%;
  bottom: 58px;
  z-index: 3;
  padding: 20px 25px;
  border-left: 4px solid #c8942e;
  background: rgba(255, 255, 255, .96);
  color: #09243d;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

.programme-hero-stat strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 23px
}

.programme-hero-stat span {
  font-size: 12px;
  color: #667c8b
}

/* Selector */
.programme-selector {
  padding: 82px 0 70px;
  background: #f5f3ee
}

.programme-selector-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px
}

.programme-selector-head h2 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 41px;
  margin-top: 8px
}

.programme-selector-head p {
  max-width: 470px;
  color: #718492;
  line-height: 1.75;
  margin: 0
}

.programme-tabs-wrap {
  background: #fff;
  border: 1px solid #dfe6e5;
  box-shadow: 0 18px 45px rgba(9, 36, 61, .07)
}

.programme-tabs {
  display: flex !important;
  flex-wrap: nowrap;
  border-bottom: 1px solid #dfe6e5;
  background: #f8f9f8;
}

.programme-tabs .nav-item {
  flex: 1
}

.programme-tabs .nav-link {
  width: 100%;
  height: 78px;
  border: 0 !important;
  border-radius: 0 !important;
  color: #607586;
  background: transparent;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: .2s ease;
}

.programme-tabs .nav-link i {
  color: #147653
}

.programme-tabs .nav-link:after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 3px;
  background: #c8942e;
  transform: scaleX(0);
  transition: .25s ease
}

.programme-tabs .nav-link:hover {
  background: #eef5f1;
  color: #09243d
}

.programme-tabs .nav-link.active {
  background: #fff;
  color: #09243d
}

.programme-tabs .nav-link.active:after {
  transform: scaleX(1)
}

.programme-tab-content {
  padding: 35px
}

.programme-choice-card {
  display: block;
  height: 100%;
  padding: 30px;
  border: 1px solid #dfe6e8;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: .27s ease;
  background: #fff
}

.programme-choice-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #147653, #c8942e);
  transition: .3s ease
}

.programme-choice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(9, 36, 61, .10);
  border-color: #cddadd
}

.programme-choice-card:hover:before {
  width: 100%
}

.choice-top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.choice-top span {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 29px;
  color: #d5dfe1
}

.choice-top i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f4ef;
  color: #147653
}

.choice-code {
  margin-top: 24px;
  color: #b37d27;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 11px
}

.programme-choice-card h3 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
  margin: 8px 0 12px
}

.programme-choice-card p {
  color: #708392;
  line-height: 1.7
}

.choice-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #edf0f1;
  color: #8797a1;
  font-size: 12px
}

.choice-footer strong {
  color: #147653
}

.choice-footer i {
  margin-left: 5px
}

/* Category cards in tabs */
.category-card {
  height: 100%;
  padding: 32px;
  background: #f8faf9;
  border: 1px solid #dce7e2;
  position: relative;
  overflow: hidden
}

.category-card.dark {
  background: #0b3049;
  color: #fff;
  border-color: #0b3049
}

.category-card:after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(200, 148, 46, .22);
  border-radius: 50%
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4f2eb;
  color: #147653;
  font-size: 21px;
  margin-bottom: 22px
}

.category-card.dark .category-icon {
  background: rgba(255, 255, 255, .10);
  color: #e6bd69
}

.category-card>span {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #b47e29
}

.category-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  margin: 8px 0 12px
}

.category-card p {
  color: #718492;
  line-height: 1.7
}

.category-card.dark p {
  color: #c1d3dc
}

.category-card a {
  display: inline-block;
  margin-top: 10px;
  color: #147653;
  font-weight: 700;
  text-decoration: none
}

.category-card.dark a {
  color: #e6bd69
}

/* Detailed programme sections */
.programme-detail-section {
  background: #fff
}

.programme-detail-card {
  border: 1px solid #dce4e6;
  box-shadow: 0 22px 55px rgba(9, 36, 61, .08);
  overflow: hidden
}

.programme-detail-top {
  background: linear-gradient(120deg, #09243d, #164f67);
  color: #fff;
  padding: 52px 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px
}

.detail-label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #e6bd69
}

.programme-detail-top h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 43px;
  line-height: 1.15;
  margin: 10px 0 15px
}

.programme-detail-top h2 em {
  font-style: normal;
  color: #65c997
}

.programme-detail-top p {
  max-width: 680px;
  color: #cbdde5;
  line-height: 1.75;
  margin: 0
}

.programme-stamp {
  width: 125px;
  height: 125px;
  border: 1px solid rgba(255, 255, 255, .20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  position: relative
}

.programme-stamp:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(200, 148, 46, .45)
}

.programme-stamp i {
  color: #e6bd69;
  font-size: 26px;
  margin-bottom: 7px
}

.programme-stamp span {
  font-weight: 800;
  letter-spacing: 2px
}

.programme-detail-body {
  background: #fff
}

.programme-modules {
  padding: 45px 50px
}

.detail-body-heading span {
  color: #b47e29;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase
}

.detail-body-heading h3 {
  color: #09243d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
  margin: 6px 0 24px
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.module-item {
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  background: #f7f8f7;
  border: 1px solid #edf0ef;
  transition: .2s ease
}

.module-item:hover {
  background: #edf6f1;
  border-color: #cfe0d7;
  transform: translateX(3px)
}

.module-item span {
  color: #c8942e;
  font-size: 11px;
  font-weight: 800;
  padding-top: 2px;
  flex: none
}

.module-item p {
  margin: 0;
  color: #5f7484;
  font-size: 13px;
  line-height: 1.55
}

.programme-delivery {
  background: #f5f3ee;
  padding: 45px 38px;
  border-left: 1px solid #e2e6e2
}

.delivery-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #dddeda
}

.delivery-item i {
  color: #147653;
  font-size: 18px;
  width: 25px;
  text-align: center;
  padding-top: 3px
}

.delivery-item strong {
  display: block;
  color: #09243d
}

.delivery-item small {
  display: block;
  color: #718391;
  margin-top: 3px;
  line-height: 1.5
}

/* M&E */
.programme-me-section {
  background: #f5f3ee
}

.programme-me-card {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  background: #fff;
  border: 1px solid #dce5e5;
  box-shadow: 0 22px 50px rgba(9, 36, 61, .07);
  overflow: hidden
}

.me-intro {
  padding: 52px;
  background: linear-gradient(145deg, #0b3049, #15596a);
  color: #fff;
  position: relative
}

.me-intro:after {
  content: "M&E";
  position: absolute;
  right: 25px;
  top: 25px;
  font-size: 74px;
  font-weight: 800;
  color: rgba(255, 255, 255, .045)
}

.me-intro h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 38px;
  line-height: 1.18;
  margin: 10px 0 18px;
  position: relative;
  z-index: 1
}

.me-intro h2 em {
  font-style: normal;
  color: #65c997
}

.me-intro>p {
  color: #c9dce5;
  line-height: 1.8;
  position: relative;
  z-index: 1
}

.me-intro .btn-outline-tbs {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  position: relative;
  z-index: 1
}

.me-audience {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 30px 0;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13)
}

.me-audience i {
  color: #e6bd69;
  padding-top: 3px
}

.me-audience small {
  display: block;
  color: #e6bd69;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800
}

.me-audience strong {
  display: block;
  color: #d8e6eb;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 5px
}

.me-content {
  padding: 48px 50px
}

.me-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px
}

.me-list div {
  display: flex;
  gap: 11px;
  padding: 12px 10px;
  border-bottom: 1px solid #edf0ef;
  color: #617686;
  font-size: 13px;
  line-height: 1.5;
  transition: .2s
}

.me-list div:hover {
  color: #09243d;
  background: #f7faf8
}

.me-list span {
  color: #c8942e;
  font-weight: 800;
  font-size: 10px;
  padding-top: 2px
}

/* Categories */
.programme-categories {
  background: #fff
}

.programme-categories .section-head {
  max-width: 720px;
  margin-bottom: 35px
}

.programme-categories .section-head h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #09243d;
  font-size: 40px;
  margin: 7px 0 12px
}

.programme-categories .section-head p {
  color: #708392;
  line-height: 1.75
}

.format-card {
  min-height: 290px;
  padding: 32px;
  background: #f5f8f6;
  border: 1px solid #dbe7e0;
  position: relative;
  overflow: hidden;
  transition: .27s ease
}

.format-card.green {
  background: #0d5c47;
  color: #fff;
  border-color: #0d5c47
}

.format-card.gold {
  background: #f7f1e5;
  border-color: #ead9b9
}

.format-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(9, 36, 61, .10)
}

.format-number {
  position: absolute;
  right: 25px;
  top: 20px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 32px;
  color: #d3deda
}

.format-card.green .format-number {
  color: rgba(255, 255, 255, .18)
}

.format-card.gold .format-number {
  color: #d8c49d
}

.format-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4f2eb;
  color: #147653;
  font-size: 22px;
  margin-bottom: 28px
}

.format-card.green .format-icon {
  background: rgba(255, 255, 255, .10);
  color: #e6bd69
}

.format-card.gold .format-icon {
  background: #efe3ca;
  color: #a87424
}

.format-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #09243d;
  font-size: 27px
}

.format-card.green h3 {
  color: #fff
}

.format-card p {
  color: #718391;
  line-height: 1.7
}

.format-card.green p {
  color: #c5d9d8
}

.format-card a {
  color: #147653;
  font-weight: 700;
  text-decoration: none
}

.format-card.green a {
  color: #e6bd69
}

.format-card.gold a {
  color: #a87424
}

/* CTA */
.programmes-final-cta {
  padding: 70px 0;
  background: #fff
}

.programmes-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 43px 48px;
  background: linear-gradient(135deg, #0b3049, #155363);
  position: relative;
  overflow: hidden
}

.programmes-cta-inner:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -105px;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%
}

.programmes-cta-inner h2 {
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 29px;
  margin: 8px 0 0;
  position: relative;
  z-index: 1
}

.programmes-cta-inner .eyebrow {
  color: #e6bd69;
  position: relative;
  z-index: 1
}

.programmes-cta-inner .btn-primary-tbs {
  background: #c8942e;
  border-color: #c8942e;
  color: #09243d
}

.programmes-cta-inner .btn-outline-tbs {
  color: #fff;
  border-color: rgba(255, 255, 255, .55)
}

/* Responsive */
@media(max-width:991px) {
  .programme-selector-head {
    display: block
  }

  .programme-selector-head p {
    margin-top: 15px
  }

  .programme-hero-stat {
    right: 25px;
    bottom: 30px
  }

  .programme-detail-top {
    padding: 42px 35px
  }

  .programme-stamp {
    width: 95px;
    height: 95px
  }

  .programme-modules {
    padding: 38px 32px
  }

  .programme-delivery {
    border-left: 0;
    border-top: 1px solid #e2e6e2;
    padding: 35px 32px
  }

  .programme-me-card {
    grid-template-columns: 1fr
  }

  .me-content {
    padding: 38px 32px
  }

  .programmes-cta-inner {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:767px) {
  .programmes-hero {
    min-height: 520px
  }

  .programmes-hero-content h1 {
    font-size: 43px
  }

  .programme-hero-stat {
    display: none
  }

  .programme-tabs {
    flex-wrap: wrap !important
  }

  .programme-tabs .nav-item {
    flex: 1 0 33.33%
  }

  .programme-tabs .nav-link {
    height: 70px;
    font-size: 12px
  }

  .programme-tabs .nav-link span {
    display: none
  }

  .programme-tab-content {
    padding: 20px
  }

  .module-grid,
  .me-list {
    grid-template-columns: 1fr
  }

  .programme-detail-top {
    display: block;
    padding: 38px 28px
  }

  .programme-detail-top h2 {
    font-size: 34px
  }

  .programme-stamp {
    margin-top: 25px
  }

  .programme-modules,
  .me-content {
    padding: 32px 24px
  }

  .programme-delivery {
    padding: 32px 24px
  }

  .me-intro {
    padding: 38px 28px
  }

  .programmes-cta-inner {
    padding: 34px 27px
  }
}


/* =========================================================
   TBS CLIENT BRAND SYSTEM + MEGA MENU + EVENTS
   Brand colours supplied by client:
   Scarlet #d00000 | Gray #c7c8ca | Cream #f5f1e7
   ========================================================= */
:root {
  --tbs-scarlet: #d00000;
  --tbs-gray: #c7c8ca;
  --tbs-cream: #f5f1e7;
  --tbs-ink: #242424;
  --tbs-white: #fff;
}

body {
  color: var(--tbs-ink)
}

.utility {
  background: #242424 !important;
  color: #fff !important;
  border-bottom: 3px solid var(--tbs-scarlet) !important
}

.utility a {
  color: #fff !important
}

.nav-main {
  background: #fff !important;
  border-bottom: 1px solid #e6e6e6 !important
}

.nav-main .nav-link {
  color: #242424 !important
}

.nav-main .nav-link:hover,
.nav-main .nav-link.active {
  color: var(--tbs-scarlet) !important
}

.nav-main .nav-link.active:after {
  background: var(--tbs-scarlet) !important
}

.brandmark {
  background: var(--tbs-scarlet) !important;
  color: #fff !important;
  border-color: var(--tbs-scarlet) !important
}

.btn-primary-tbs {
  background: var(--tbs-scarlet) !important;
  border-color: var(--tbs-scarlet) !important;
  color: #fff !important
}

.btn-primary-tbs:hover {
  background: #aa0000 !important;
  border-color: #aa0000 !important
}

.btn-outline-tbs {
  border-color: var(--tbs-scarlet) !important;
  color: var(--tbs-scarlet) !important
}

.btn-outline-tbs:hover {
  background: var(--tbs-scarlet) !important;
  color: #fff !important
}

.eyebrow {
  color: var(--tbs-scarlet) !important
}

.text-link,
.events-all-link {
  color: var(--tbs-scarlet) !important
}

.page-hero,
.about-page-hero,
.programmes-hero {
  border-bottom: 4px solid var(--tbs-scarlet)
}

.section-head h2,
.about-intro-copy h2,
.about-direction h2,
.about-values h2,
.programme-selector-head h2 {
  color: #242424
}

.paper,
.programme-categories {
  background: #fff
}

.mission,
.wal-panel-side,
.programme-detail-top,
.me-intro {
  background: linear-gradient(135deg, #292929, #3b3b3b) !important
}

.intro-side {
  background: #292929 !important
}

.hero-feature,
.tbs-real-hero .hero-feature {
  background: rgba(35, 35, 35, .94) !important;
  border-color: rgba(255, 255, 255, .14) !important
}

.hero-note {
  border-left-color: var(--tbs-scarlet) !important
}

.programme-stamp,
.wal-badge,
.feature-icon,
.category-icon,
.format-icon,
.tab-icon {
  color: var(--tbs-scarlet) !important
}

.tbs-tabs .nav-link.active:after,
.programme-tabs .nav-link.active:after {
  background: var(--tbs-scarlet) !important
}

.tbs-tabs .nav-link i,
.programme-tabs .nav-link i {
  color: var(--tbs-scarlet) !important
}

.about-methodology,
.programme-selector,
.programme-me-section,
.about-values {
  background: var(--tbs-cream) !important
}

.about-glance-card {
  background: linear-gradient(145deg, #2b2b2b, #454545) !important
}

.programme-choice-card:hover:before,
.about-feature-card:before {
  background: var(--tbs-scarlet) !important
}

.module-item:hover {
  background: #fbf3f3 !important;
  border-color: #e8b6b6 !important
}

.news-card,
.program-card,
.detail-card,
.format-card {
  border-color: #dedede
}

.footer {
  background: #252525 !important
}

.footer a:hover {
  color: var(--tbs-scarlet) !important
}

.whatsapp {
  background: var(--tbs-scarlet) !important
}

/* Mega menu */
.mega-parent {
  position: static !important
}

.mega-parent>.mega-menu {
  width: min(1180px, calc(100vw - 40px));
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(8px);
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 3px solid var(--tbs-scarlet) !important;
  border-radius: 0 !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .16) !important;
  background: #fff !important;
}

.mega-parent.show>.mega-menu,
.mega-parent>.mega-menu.show {
  transform: translateX(-50%) translateY(0);
}

.mega-menu .row {
  min-height: 285px
}

.mega-intro {
  padding: 36px 30px;
  background: var(--tbs-cream)
}

.mega-kicker,
.mega-title {
  display: block;
  color: var(--tbs-scarlet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 12px
}

.mega-intro h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #242424;
  font-size: 23px;
  line-height: 1.25
}

.mega-intro p {
  font-size: 13px;
  color: #6e7072;
  line-height: 1.7
}

.mega-feature-link,
.mega-highlight a {
  display: inline-block;
  margin-top: 12px;
  color: var(--tbs-scarlet) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none
}

.mega-col {
  padding: 36px 26px;
  border-left: 1px solid #ededed
}

.mega-col a {
  display: block;
  padding: 9px 0;
  color: #4d4f50 !important;
  font-size: 13px;
  text-decoration: none;
  transition: .18s
}

.mega-col a:hover {
  color: var(--tbs-scarlet) !important;
  transform: translateX(4px)
}

.mega-col a i {
  width: 20px;
  color: #a2a4a5;
  font-size: 11px
}

.mega-title {
  color: #777 !important
}

.mega-highlight {
  padding: 36px 28px;
  background: #292929;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.mega-highlight span {
  color: #c7c8ca;
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 800
}

.mega-highlight strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 20px;
  line-height: 1.4;
  margin-top: 8px
}

.mega-highlight a {
  color: #fff !important
}

@media(min-width:992px) {
  .mega-parent:hover>.mega-menu {
    display: block !important
  }
}

@media(max-width:991px) {
  .mega-parent {
    position: relative !important
  }

  .mega-parent>.mega-menu {
    width: 100%;
    left: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    border-top: 0 !important
  }

  .mega-menu .row {
    min-height: 0
  }

  .mega-intro,
  .mega-col,
  .mega-highlight {
    padding: 20px
  }

  .mega-highlight {
    display: block
  }
}

/* Upcoming Events */
.upcoming-events-section {
  background: #efefef !important;
  padding-top: 76px !important;
  padding-bottom: 68px !important
}

.events-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px
}

.events-heading h2 {
  font-size: 42px;
  font-weight: 700;
  color: #252525;
  margin: 7px 0 0
}

.events-all-link {
  font-weight: 800;
  text-decoration: none
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px
}

.event-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  min-height: 220px
}

.event-date {
  width: 72px;
  text-align: center
}

.event-date span {
  display: block;
  background: var(--tbs-scarlet);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 9px 4px
}

.event-date strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #fff;
  color: #454545;
  font-size: 20px;
  border: 1px solid #e1e1e1;
  border-top: 0
}

.event-copy .event-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #777;
  margin-bottom: 7px
}

.event-copy h3 {
  font-size: 22px;
  line-height: 1.25;
  color: #414141;
  margin: 0 0 8px
}

.event-copy p {
  font-size: 13px;
  color: #777;
  line-height: 1.55;
  margin-bottom: 13px
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #777;
  font-size: 12px
}

.event-meta i {
  width: 16px;
  color: #666
}

.events-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 42px
}

.event-feed-btn,
.event-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 20px;
  border: 2px solid var(--tbs-scarlet);
  background: #fff;
  color: var(--tbs-scarlet);
  font-weight: 800;
  text-decoration: none
}

.event-feed-btn:hover,
.event-more-btn:hover {
  background: var(--tbs-scarlet);
  color: #fff
}

.event-more-btn {
  margin-left: auto;
  padding: 0 25px
}

.newsletter-section {
  background: var(--tbs-cream);
  padding: 62px 0
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px
}

.newsletter-inner h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #242424;
  font-size: 31px;
  margin: 6px 0 7px
}

.newsletter-inner p {
  margin: 0;
  color: #707274
}

.newsletter-form {
  display: flex;
  min-width: min(520px, 100%)
}

.newsletter-form input {
  height: 52px;
  flex: 1;
  border: 1px solid var(--tbs-gray);
  padding: 0 16px;
  background: #fff;
  outline: none
}

.newsletter-form input:focus {
  border-color: var(--tbs-scarlet)
}

.newsletter-form button {
  height: 52px;
  border: 0;
  background: var(--tbs-scarlet);
  color: #fff;
  padding: 0 20px;
  font-weight: 800
}

@media(max-width:991px) {
  .events-grid {
    grid-template-columns: 1fr
  }

  .newsletter-inner {
    display: block
  }

  .newsletter-form {
    margin-top: 25px
  }
}

@media(max-width:575px) {
  .events-heading {
    display: block
  }

  .events-all-link {
    display: inline-block;
    margin-top: 15px
  }

  .event-item {
    grid-template-columns: 62px 1fr;
    gap: 15px
  }

  .event-date {
    width: 62px
  }

  .event-copy h3 {
    font-size: 19px
  }

  .events-actions {
    flex-wrap: wrap
  }

  .event-more-btn {
    margin-left: 0
  }
}

.about-extension {
  background: #fff
}

.about-extension.cream {
  background: var(--tbs-cream)
}

.about-extension h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #242424;
  font-size: 40px;
  margin: 8px 0 14px
}

.about-extension p {
  color: #71808a;
  line-height: 1.8;
  max-width: 700px
}

.extension-card {
  min-height: 220px;
  background: #292929;
  color: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 5px solid var(--tbs-scarlet)
}

.extension-card i {
  color: var(--tbs-scarlet);
  font-size: 28px;
  margin-bottom: 22px
}

.extension-card strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px
}

.extension-card span {
  color: #c7c8ca;
  margin-top: 8px
}

.events-grid-page {
  grid-template-columns: repeat(3, 1fr)
}

@media(max-width:991px) {
  .events-grid-page {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   ALL EVENTS PAGE - TBS BRAND REDESIGN
   ========================================================= */
.events-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(125deg, #252525 0%, #333 60%, #454545 100%);
  color: #fff
}

.events-hero:before {
  content: "";
  position: absolute;
  right: -150px;
  top: -170px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(208, 0, 0, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, .025), 0 0 0 130px rgba(255, 255, 255, .018)
}

.events-hero:after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(245, 241, 231, .14);
  border-radius: 50%
}

.events-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 48px 48px
}

.events-hero .breadcrumb {
  position: relative;
  z-index: 2;
  color: #c7c8ca;
  margin-bottom: 42px
}

.events-hero .breadcrumb a {
  color: #fff
}

.events-hero .breadcrumb span {
  margin: 0 8px;
  color: #888
}

.events-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px
}

.events-hero-content .eyebrow {
  color: #fff
}

.events-hero-content h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(44px, 5.3vw, 70px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 8px 0 18px
}

.events-hero-content h1 em {
  font-style: normal;
  color: #d00000
}

.events-hero-content p {
  font-size: 18px;
  line-height: 1.75;
  color: #e5e5e5;
  max-width: 650px
}

.events-hero-mark {
  position: absolute;
  right: 8%;
  bottom: 55px;
  z-index: 2;
  width: 135px;
  height: 135px;
  border: 1px solid rgba(208, 0, 0, .6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-4deg)
}

.events-hero-mark:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(245, 241, 231, .18)
}

.events-hero-mark i {
  font-size: 30px;
  color: #d00000;
  margin-bottom: 8px
}

.events-hero-mark span {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #fff
}

.events-page-section {
  padding: 82px 0;
  background: #f5f1e7
}

.events-page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 38px
}

.events-page-intro h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #242424;
  font-size: 42px;
  margin: 8px 0 12px
}

.events-page-intro p {
  color: #707274;
  line-height: 1.75;
  max-width: 720px;
  margin: 0
}

.event-outline-btn {
  border: 1px solid #d00000;
  color: #d00000;
  background: #fff;
  padding: 14px 19px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: .2s
}

.event-outline-btn:hover {
  background: #d00000;
  color: #fff
}

.events-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #dedede;
  padding: 10px;
  margin-bottom: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .04)
}

.event-filter-group {
  display: flex;
  gap: 3px
}

.event-filter {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s
}

.event-filter:hover {
  color: #d00000;
  background: #faf5f5
}

.event-filter.active {
  background: #d00000;
  color: #fff
}

.event-search {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  min-width: 270px;
  height: 42px;
  background: #fff
}

.event-search i {
  color: #999;
  margin: 0 12px
}

.event-search input {
  border: 0;
  outline: 0;
  height: 100%;
  width: 100%;
  font-size: 13px;
  color: #444
}

.all-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.full-event-card {
  display: grid;
  grid-template-columns: 105px 1fr 150px;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  min-height: 180px;
  padding: 24px;
  transition: .25s ease;
  position: relative;
  overflow: hidden
}

.full-event-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #d00000
}

.full-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .08);
  border-color: #cfcfcf
}

.full-event-date {
  width: 82px;
  text-align: center;
  border: 1px solid #d6d6d6;
  background: #fafafa
}

.full-event-date span {
  display: block;
  background: #d00000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  padding: 8px
}

.full-event-date strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  color: #333;
  font-size: 36px;
  line-height: 1;
  padding: 12px 0 2px
}

.full-event-date small {
  display: block;
  color: #777;
  font-size: 11px;
  padding: 4px 0 10px
}

.full-event-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 7px
}

.event-category {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #d00000
}

.event-status {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 8px
}

.past-status {
  background: #eeeeee;
  color: #777
}

.full-event-main h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #333;
  font-size: 25px;
  margin: 0 0 8px;
  line-height: 1.25
}

.full-event-main p {
  color: #727272;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 13px
}

.full-event-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  color: #777;
  font-size: 12px
}

.full-event-meta i {
  color: #d00000;
  margin-right: 5px
}

.full-event-action {
  text-align: right
}

.full-event-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d00000;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #d00000;
  padding-bottom: 5px
}

.full-event-action a:hover {
  gap: 12px
}

.events-empty {
  padding: 65px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed #ccc;
  margin-top: 10px
}

.empty-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: #f5f1e7;
  color: #d00000;
  font-size: 25px
}

.events-empty h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #333
}

.events-empty p {
  color: #777
}

.event-clear {
  border: 1px solid #d00000;
  background: #fff;
  color: #d00000;
  padding: 10px 18px;
  font-weight: 800
}

.event-clear:hover {
  background: #d00000;
  color: #fff
}

.events-bottom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  background: #292929;
  color: #fff;
  padding: 38px 42px;
  border-left: 5px solid #d00000
}

.events-bottom-note h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
  margin: 6px 0 7px
}

.events-bottom-note p {
  color: #c7c8ca;
  margin: 0;
  line-height: 1.6
}

.events-bottom-note .eyebrow {
  color: #fff
}

.event-primary-btn,
.event-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px
}

.event-primary-btn {
  background: #d00000;
  color: #fff
}

.event-secondary-btn {
  border: 1px solid #c7c8ca;
  color: #fff
}

.event-primary-btn:hover {
  background: #b90000;
  color: #fff
}

.event-secondary-btn:hover {
  background: #fff;
  color: #292929
}

.events-subscribe {
  padding: 62px 0;
  background: #fff
}

.events-subscribe-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px
}

.events-subscribe-inner h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: #242424;
  font-size: 31px;
  margin: 6px 0 7px
}

.events-subscribe-inner p {
  color: #707274;
  margin: 0
}

.events-subscribe-form {
  display: flex;
  min-width: min(520px, 100%)
}

.events-subscribe-form input {
  height: 52px;
  flex: 1;
  border: 1px solid #c7c8ca;
  padding: 0 16px;
  outline: 0
}

.events-subscribe-form input:focus {
  border-color: #d00000
}

.events-subscribe-form button {
  height: 52px;
  border: 0;
  background: #d00000;
  color: #fff;
  padding: 0 20px;
  font-weight: 800
}

@media(max-width:991px) {
  .events-hero-mark {
    right: 25px
  }

  .events-page-intro {
    display: block
  }

  .event-outline-btn {
    display: inline-block;
    margin-top: 20px
  }

  .events-toolbar {
    display: block
  }

  .event-filter-group {
    overflow: auto;
    margin-bottom: 10px
  }

  .event-search {
    min-width: 0;
    width: 100%
  }

  .full-event-card {
    grid-template-columns: 82px 1fr
  }

  .full-event-action {
    grid-column: 2;
    text-align: left
  }

  .events-bottom-note {
    display: block
  }

  .events-bottom-note .d-flex {
    margin-top: 20px
  }

  .events-subscribe-inner {
    display: block
  }

  .events-subscribe-form {
    margin-top: 24px
  }
}

@media(max-width:575px) {
  .events-hero {
    min-height: 500px
  }

  .events-hero-mark {
    display: none
  }

  .events-page-section {
    padding: 60px 0
  }

  .events-page-intro h2 {
    font-size: 34px
  }

  .full-event-card {
    grid-template-columns: 1fr;
    padding: 22px
  }

  .full-event-action {
    grid-column: 1
  }

  .full-event-date {
    width: 82px
  }

  .full-event-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px
  }

  .events-bottom-note {
    padding: 30px 25px
  }

  .events-subscribe-form {
    display: block
  }

  .events-subscribe-form input,
  .events-subscribe-form button {
    width: 100%
  }

  .events-subscribe-form button {
    margin-top: 7px
  }
}

/* ===== TBS NAVBAR FIX ===== */
.nav-main {
  position: sticky !important;
  top: 0 !important;
  z-index: 1090 !important;
  width: 100% !important;
  background: #fff !important;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .12) !important;
  border-bottom: 1px solid #c7c8ca !important;
}

.nav-main .navbar,
.nav-main .container {
  min-height: 86px !important;
}

.nav-main .navbar-nav {
  align-items: center !important;
  gap: 2px !important;
}

.nav-main .nav-link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 86px !important;
  padding: 0 15px !important;
  color: #17232d !important;
  font-weight: 600 !important;
  transition: .2s ease !important;
}

.nav-main .nav-link:after {
  content: "" !important;
  position: absolute !important;
  left: 15px !important;
  right: 15px !important;
  bottom: 0 !important;
  height: 3px !important;
  background: #d00000 !important;
  transform: scaleX(0) !important;
  transition: .2s ease !important;
}

.nav-main .nav-link:hover,
.nav-main .nav-link:focus,
.nav-main .nav-link.active {
  color: #d00000 !important;
}

.nav-main .nav-link:hover:after,
.nav-main .nav-link:focus:after,
.nav-main .nav-link.active:after {
  transform: scaleX(1) !important;
}

.nav-main .dropdown-menu {
  z-index: 1200 !important;
  margin-top: 0 !important;
  border: 1px solid #c7c8ca !important;
  border-top: 3px solid #d00000 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .15) !important;
}

.nav-main .brand {
  flex-shrink: 0 !important;
}

.nav-main .brandmark {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #17232d !important;
  color: #fff !important;
  border: 3px solid #d00000 !important;
}

.nav-main .brandtext {
  color: #17232d !important;
}

.nav-main .btn-primary-tbs {
  background: #d00000 !important;
  border-color: #d00000 !important;
  color: #fff !important;
}

.nav-main .btn-primary-tbs:hover {
  background: #a90000 !important;
  border-color: #a90000 !important;
  color: #fff !important;
}

@media(max-width:991px) {
  .nav-main {
    position: sticky !important;
    top: 0 !important;
  }

  .nav-main .navbar,
  .nav-main .container {
    min-height: 74px !important;
  }

  .nav-main .nav-link {
    min-height: 50px !important;
    padding: 0 12px !important;
    border-bottom: 1px solid #eceeef !important;
  }

  .nav-main .nav-link:after {
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3px !important;
    height: auto !important;
    transform: scaleY(0) !important;
  }

  .nav-main .nav-link:hover:after,
  .nav-main .nav-link.active:after {
    transform: scaleY(1) !important;
  }

  .nav-main .navbar-collapse {
    max-height: calc(100vh - 74px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .10) !important;
  }

  .nav-main .dropdown-menu {
    position: static !important;
    width: 100% !important;
    border: 0 !important;
    border-left: 3px solid #d00000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}