/*
Theme Name: Travelocademy
Theme URI: https://travelocademy.com/
Author: DraftScalers
Description: Custom theme for Travelocademy, a travel and tourism training institute in Delhi. Built from the approved homepage design. No page builder needed.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: travelocademy
*/

/* ==========================================================================
   1. Fonts
   ========================================================================== */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/archivo-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #105785; /* Travelocademy blue */
  --color-accent-2: #3a7fab;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #eef5fa;
  --color-accent-200: #d6e7f2;
  --color-accent-300: #b0d0e5;
  --color-accent-400: #74aed3;
  --color-accent-500: #2f80b8;
  --color-accent-600: #0d4b72;
  --color-accent-700: #0a3c5c;
  --color-accent-800: #082f48;
  --color-accent-900: #061f30;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --radius-md: 0px;
  --gutter: clamp(20px, 5vw, 72px);
  --text-soft: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.hr { height: 2px; border: 0; margin: 0 auto; max-width: 1200px; background: var(--color-divider); }

/* ==========================================================================
   4. Components
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn:hover { color: var(--color-text); }
.btn-primary, .btn-primary:hover { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-block { width: 100%; margin-top: var(--space-2); justify-content: flex-start; text-align: left; }
.btn-lg { font-size: 15px; padding: 13px 22px; }

/* Outline button for use on photos and red bands */
.btn-on-dark {
  display: inline-flex; align-items: center; text-decoration: none;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 15px; padding: 13px 22px;
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-on-dark:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
/* Light solid button for use on red bands */
.btn-light {
  display: inline-flex; align-items: center; text-decoration: none;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 15px; padding: 13px 22px;
  background: var(--color-bg); color: var(--color-text);
}
.btn-light:hover { color: var(--color-text); background: #fff; }
.btn-sm { font-size: 14px; padding: 11px 18px; }

/* Forms */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }

/* Tags */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
}
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
.tag-outline-light { border: 1px solid var(--color-accent-400); color: var(--color-accent-400); }

/* ==========================================================================
   5. Layout helpers
   ========================================================================== */
.tl-container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.tl-pad-xl { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.tl-pad-lg { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.tl-pad-md { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.tl-pad-sm { padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); }

.tl-dark { background: var(--color-neutral-900); color: var(--color-neutral-100); }
.tl-surface { background: var(--color-surface); }
.tl-accent { background: var(--color-accent); color: var(--color-bg); }
.tl-ruled { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }

.tl-eyebrow {
  display: block; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--color-accent-700); font-weight: 600; margin-bottom: 14px;
}
.tl-eyebrow--tight { margin-bottom: 10px; }
.tl-dark .tl-eyebrow, .tl-pagehero .tl-eyebrow { color: var(--color-accent-400); }

.tl-h2 {
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.tl-h2--gap { margin-bottom: 40px; }
.tl-h2-sm { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.015em; margin: 0 0 28px; }
.tl-dark .tl-h2, .tl-dark .tl-h2-sm { color: var(--color-neutral-100); }
.tl-measure-20 { max-width: 20ch; }
.tl-measure-22 { max-width: 22ch; }
.tl-lead { font-size: 16px; line-height: 1.6; max-width: 60ch; margin: 0 0 40px; color: var(--text-soft); }
.tl-dark .tl-lead { color: var(--color-neutral-300); max-width: 56ch; }

/* Hairline grid: 2px lines between cells, the look used across the site */
.tl-grid {
  display: grid; gap: 2px;
  background: var(--color-divider); border: 2px solid var(--color-divider);
}
.tl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tl-grid--fill-150 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tl-grid--fill-160 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tl-grid--fill-220 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.tl-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   6. Header
   ========================================================================== */
.tacad-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--color-bg); border-bottom: 2px solid var(--color-divider);
}
.admin-bar .tacad-nav { top: 32px; }
.tacad-logo {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  text-decoration: none; color: inherit;
}
.tacad-logo img { height: 56px; width: auto; }
.tacad-navlinks { display: flex; align-items: center; gap: 22px; }
.tacad-navlink { color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }
.tacad-navlink:hover, .tacad-navlink[aria-current="page"] { color: var(--color-accent); }
.tacad-nav-cta { display: flex; align-items: center; gap: 24px; }
.tacad-menu-toggle { display: none; }

/* Dropdown in the header menu */
.tacad-dropdown { position: relative; }
.tacad-dropdown__toggle {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; color: inherit;
}
.tacad-dropdown__toggle::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.tacad-dropdown__toggle[data-current="true"] { color: var(--color-accent); }
.tacad-dropdown__menu {
  display: none; position: absolute; top: 100%; left: -18px; z-index: 60;
  min-width: 290px; padding: 8px 0; margin-top: 0;
  background: var(--color-bg); border: 2px solid var(--color-divider);
  box-shadow: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}
.tacad-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.tacad-dropdown__menu { margin-top: 14px; }
.tacad-dropdown:hover .tacad-dropdown__menu,
.tacad-dropdown:focus-within .tacad-dropdown__menu,
.tacad-dropdown.is-open .tacad-dropdown__menu { display: block; }
.tacad-dropdown__menu .tacad-navlink { display: block; padding: 10px 18px; }
.tacad-dropdown__menu .tacad-navlink:hover { background: color-mix(in srgb, var(--color-text) 6%, transparent); }

/* ==========================================================================
   7. Home sections
   ========================================================================== */
/* Hero */
.tl-hero {
  position: relative; min-height: calc(100vh - 71px);
  display: flex; align-items: flex-end; overflow: hidden;
}
.tl-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0; max-width: none;
}
.tl-hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20, 18, 17, 0.82) 0%, rgba(20, 18, 17, 0.62) 42%, rgba(20, 18, 17, 0.15) 100%);
}
.tl-hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
}
.tl-badge {
  display: inline-block; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff; font-weight: 600; margin-bottom: 22px;
  background: var(--color-accent); padding: 7px 12px;
}
.tl-hero__title {
  font-size: clamp(40px, 6.2vw, 82px); line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 22px; color: #fff; max-width: 16ch;
}
.tl-hero__text {
  font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; max-width: 56ch;
  margin: 0 0 30px; color: rgba(255, 255, 255, 0.9);
}
.tl-hero__stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 40px; }
.tl-hero__stat-num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(28px, 3vw, 36px); color: #fff; line-height: 1;
}
.tl-hero__stat-label {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75); margin-top: 6px;
}

/* Trust bar */
.tl-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.tl-trust__num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1;
}
.tl-trust__label {
  font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
  margin-top: 8px; opacity: 0.9;
}

/* Courses */
.tl-course {
  background: var(--color-bg); padding: clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
}
.tl-course__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tl-course__num {
  font-family: var(--font-heading); font-weight: 800; font-size: 22px;
  color: var(--color-neutral-300);
}
.tl-course__title { font-size: 22px; line-height: 1.12; margin: 0; }
.tl-course__title a { color: inherit; text-decoration: none; }
.tl-course__title a:hover { color: var(--color-accent); }
.tl-course__desc { font-size: 14px; line-height: 1.6; margin: 0; color: var(--text-soft); flex: 1; }
.tl-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tl-points li { display: flex; gap: 10px; font-size: 13px; line-height: 1.4; align-items: flex-start; }
.tl-points li::before {
  content: ""; flex: none; width: 8px; height: 8px;
  background: var(--color-accent); margin-top: 5px;
}
.tl-course .btn-block { margin-top: 6px; }
.tacad-courses-cta {
  background: var(--color-accent); color: var(--color-bg);
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.tl-courses-cta__title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.04; max-width: 20ch;
}
.tl-courses-cta__text { font-size: 15px; line-height: 1.6; margin: 0; max-width: 46ch; color: rgba(255, 255, 255, 0.9); }

/* Why us */
.tl-why { background: var(--color-bg); padding: clamp(22px, 2.2vw, 30px); }
.tl-why__num {
  font-family: var(--font-heading); font-weight: 800; font-size: 14px;
  color: var(--color-accent); letter-spacing: 0.04em;
}
.tl-why__title { font-size: 19px; line-height: 1.15; margin: 12px 0 8px; }
.tl-why__desc { font-size: 14px; line-height: 1.6; margin: 0; color: var(--text-soft); }
.tl-strip {
  margin-top: 2px; background: var(--color-accent); color: var(--color-bg);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.tl-strip__title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; max-width: 26ch;
}
.tl-strip .btn-on-dark { color: var(--color-bg); border-color: rgba(243, 242, 242, 0.6); }

/* Videos */
.tl-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.tl-video {
  position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
  border: 2px solid var(--color-neutral-800);
}
.tl-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.tl-video__btn {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer; background: #000;
}
.tl-video__btn img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.82; max-width: none; }
.tl-video__btn:hover img { opacity: 0.95; }
.tl-video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tl-video__play span {
  width: 64px; height: 64px; background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
}
.tl-video__play span::before {
  content: ""; width: 0; height: 0; border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}
.tl-videos-more { margin-top: 32px; }

/* Careers */
.tl-career { background: var(--color-bg); padding: 16px 20px; display: flex; gap: 12px; align-items: center; }
.tl-career::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--color-accent); }
.tl-career span { font-family: var(--font-heading); font-weight: 600; font-size: 15px; }

/* Logo and photo grids */
.tl-logo-cell {
  background: #fff; height: 110px; display: flex; align-items: center;
  justify-content: center; padding: 16px;
}
.tl-logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tl-photo-cell { aspect-ratio: 1; overflow: hidden; background: var(--color-surface); }
.tl-photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Testimonials marquee */
.tl-testimonials__inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 0; }
.tl-testimonials__inner .tl-eyebrow, .tl-testimonials__inner .tl-h2-sm { padding: 0 var(--gutter); }
@keyframes tacadScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tacad-marquee { overflow: hidden; }
.tacad-track {
  display: flex; gap: 16px; width: max-content;
  animation: tacadScroll 90s linear infinite; will-change: transform;
}
.tacad-marquee:hover .tacad-track { animation-play-state: paused; }
.tl-testimonial {
  flex: none; height: clamp(420px, 58vw, 640px);
  border: 2px solid var(--color-neutral-800); overflow: hidden; background: #000;
}
.tl-testimonial img { height: 100%; width: auto; max-width: none; object-fit: cover; display: block; }

/* About */
.tl-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); }
.tl-about__title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.06; letter-spacing: -0.015em; margin: 0; }
.tl-about__body { font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.tl-about__body p { margin: 0 0 18px; }
.tl-about__body > :last-child { margin-bottom: 0; }

/* Contact */
.tacad-contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.tl-contact { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.tl-contact__title { font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 20px; }
.tl-contact__text { font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 44ch; opacity: 0.95; }
.tl-contact__links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tl-contact__call, .tl-contact__call:hover {
  display: inline-flex; align-items: center; gap: 10px; color: var(--color-bg);
  text-decoration: none; font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
}
.tl-contact__wa, .tl-contact__wa:hover {
  display: inline-flex; align-items: center; gap: 10px; color: var(--color-bg);
  text-decoration: underline; font-size: 16px; font-weight: 600;
}
.tl-form {
  background: var(--color-bg); color: var(--color-text);
  padding: clamp(22px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
  border: 2px solid var(--color-accent-800);
}
.tacad-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tl-form .btn-primary { justify-content: center; font-size: 15px; padding: 13px; }
.tl-req { color: var(--color-accent); }
.tl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tl-form__error { margin: 0; padding: 10px 12px; font-size: 14px; background: var(--color-accent-100); color: var(--color-accent-800); border: 1px solid var(--color-accent-400); }
.tl-form__note { font-size: 12px; margin: 0; color: color-mix(in srgb, var(--color-text) 55%, transparent); }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.tl-footer { background: var(--color-neutral-900); color: var(--color-neutral-300); border-top: 4px solid var(--color-accent); }
.tl-footer__top {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 56px); padding-top: clamp(44px, 5vw, 72px); padding-bottom: clamp(36px, 4vw, 56px);
}
.tl-footer__brand { font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1; color: #fff; letter-spacing: -0.015em; }
.tl-footer__tag { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-400); font-weight: 600; margin: 8px 0 16px; }
.tl-footer__about { font-size: 15px; line-height: 1.65; margin: 0; max-width: 36ch; }
.tl-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tl-footer__social a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  font-family: var(--font-heading); font-weight: 800; font-size: 13px; text-decoration: none;
  color: #fff; border: 1px solid var(--color-neutral-700); background: rgba(255, 255, 255, 0.04);
}
.tl-footer__social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16, 87, 133, 0.30); }
.tl-footer__head {
  font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; padding-bottom: 10px; position: relative;
}
.tl-footer__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--color-accent); }
.tl-footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 15px; align-items: flex-start; }
.tl-footer__links a { color: var(--color-neutral-300); text-decoration: none; }
.tl-footer__links a:hover { color: #fff; transform: translateX(4px); }
.tl-footer__contact address { font-style: normal; font-size: 15px; line-height: 1.6; margin: 0 0 14px; max-width: 30ch; }
.tl-footer__phone { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: #fff !important; }
.tl-footer__cta { margin-top: 20px; gap: 10px; }
.tl-footer__bar { border-top: 1px solid var(--color-neutral-800); background: rgba(0, 0, 0, 0.22); }
.tl-footer__barrow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--color-neutral-400);
}
.tl-footer__policies { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.tl-footer__policies a { color: var(--color-neutral-400); text-decoration: none; }
.tl-footer__policies a:hover { color: #fff; }
.tl-footer__topbtn { font-family: var(--font-heading); font-weight: 800; color: #fff !important; }
@media (max-width: 1000px) {
  .tl-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tl-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .tl-footer__barrow { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   9. Inner pages
   ========================================================================== */
.tl-pagehero { background: var(--color-neutral-900); color: var(--color-neutral-100); }
.tl-pagehero__title {
  font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 0; color: #fff; max-width: 20ch;
}
.tl-pagehero__text {
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 60ch;
  margin: 20px 0 0; color: var(--color-neutral-300);
}
.tl-pagehero .tag { margin-bottom: 18px; }

.tl-prose { font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--color-text) 82%, transparent); max-width: 72ch; }
.tl-prose > * { margin-top: 0; margin-bottom: 18px; }
.tl-prose > :last-child { margin-bottom: 0; }
.tl-prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 40px; color: var(--color-text); }
.tl-prose h3 { font-size: 22px; margin-top: 32px; color: var(--color-text); }
.tl-prose ul, .tl-prose ol { padding-left: 22px; }
.tl-prose li { margin-bottom: 6px; }
.tl-prose img { height: auto; }
.tl-prose blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid var(--color-accent); }

.tl-course-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.tl-course-box { background: var(--color-surface); border: 2px solid var(--color-divider); padding: clamp(22px, 2.4vw, 32px); }
.tl-course-box h2 { font-size: 20px; margin: 0 0 16px; }
.tl-course-box .tl-points li { font-size: 14px; }
.tl-course-box .tl-cta-row { margin-top: 24px; }

.tl-posts { display: flex; flex-direction: column; gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); }
.tl-post { background: var(--color-bg); padding: clamp(22px, 2.4vw, 32px); }
.tl-post h2 { font-size: 24px; margin: 0 0 8px; }
.tl-post h2 a { color: inherit; text-decoration: none; }
.tl-post h2 a:hover { color: var(--color-accent); }
.tl-post p { margin: 0; color: var(--text-soft); }
.tl-pagination { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }


/* Long headlines on course and city pages */
.tl-pagehero__title--long { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; max-width: 30ch; }

/* Page text on course and city pages */
.tl-prose--landing { max-width: 860px; }
.tl-prose--landing ul:has(li:nth-child(9)) { columns: 2; column-gap: 40px; }
.tl-prose--landing li { break-inside: avoid; }
.tl-prose strong { color: var(--color-text); }
.tl-prose h4 { font-size: 18px; margin-top: 24px; color: var(--color-text); }
.tl-prose table { width: 100%; border-collapse: collapse; }
.tl-prose td, .tl-prose th { padding: 8px; border-bottom: 1px solid var(--color-divider); text-align: left; }

/* Faculty block */
.tl-points--lg li { font-size: 16px; line-height: 1.5; }
.tl-points--lg li::before { margin-top: 8px; }
.tl-trust--dark { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 2px solid var(--color-divider); }
.tl-trust--dark .tl-trust__num { color: var(--color-accent); }


/* Blog posts */
.tl-post-image { max-width: 860px; margin: 0 0 32px; border: 2px solid var(--color-divider); }
.tl-post-image img { width: 100%; height: auto; }
.tl-prose img { margin: 8px 0; }
.tl-post-tags { max-width: 860px; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-post-tags a {
  font-size: 12px; padding: 4px 10px; text-decoration: none;
  border: 1px solid var(--color-divider); color: var(--color-text);
}
.tl-post-tags a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.tl-post__meta { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-700); margin-bottom: 8px; }


/* ==========================================================================
   9b. Course landing pages (built for ad traffic)
   ========================================================================== */
.tl-lp-hero { background: var(--color-neutral-900); color: var(--color-neutral-100); }
.tl-lp-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 72px);
}
.tl-lp-hero .tl-badge { margin-bottom: 18px; }
.tl-lp-hero__text { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; margin: 18px 0 0; color: var(--color-neutral-300); max-width: 58ch; }
.tl-lp-ticks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; max-width: 620px; }
.tl-lp-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.35; color: #fff; }
.tl-lp-ticks li::before, .tl-check::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 6' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
.tl-lp-formcard { background: var(--color-bg); color: var(--color-text); border: 2px solid var(--color-accent); scroll-margin-top: 110px; }
.tl-lp-formcard__head { background: var(--color-accent); color: #fff; padding: 12px clamp(16px, 2vw, 24px); }
.tl-lp-formcard__title { font-family: var(--font-heading); font-weight: 800; font-size: 24px; line-height: 1.1; }
.tl-lp-formcard__sub { font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; margin-top: 4px; opacity: 0.95; }
.tl-lp-formcard .tl-form { border: 0; padding: clamp(16px, 2vw, 24px); gap: 10px; }
.tl-lp-formcard .tacad-form-row { gap: 10px; }
.tl-lp-formcard .field > label { margin-bottom: 3px; }
.tl-form--compact .input { min-height: 42px; font-size: 15px; }
.tl-form--compact .btn-primary { font-size: 16px; padding: 15px; }

.tl-lp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.tl-lp-side {
  position: sticky; top: 110px; background: var(--color-surface);
  border: 2px solid var(--color-divider); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.admin-bar .tl-lp-side { top: 142px; }
.tl-lp-side__title { font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1.1; }
.tl-lp-side .tl-points { margin-bottom: 8px; }
.tl-lp-side .tl-points li { font-size: 14px; }
.btn-wide { width: 100%; }

.tl-check { background: var(--color-bg); padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; }
.tl-check span { font-family: var(--font-heading); font-weight: 600; font-size: 15px; line-height: 1.35; }

/* Call / WhatsApp / enquire bar that stays on screen on phones */
.tl-lp-bar { display: none; }
@media (max-width: 900px) {
  .tl-lp-hero__grid, .tl-lp-body { grid-template-columns: 1fr; }
  .tl-lp-ticks { grid-template-columns: 1fr; }
  .tl-lp-side { display: none; }
  .tl-lp-hero .tl-cta-row { display: none; }
  .tl-lp-hero__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tl-lp-ticks { margin: 16px 0 0; gap: 8px; }
  .tl-lp-hero__grid { gap: 22px; padding-top: 24px; }
  .tl-lp-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--color-neutral-900); border-top: 2px solid var(--color-neutral-800);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tl-lp-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 6px;
    font-family: var(--font-heading); font-weight: 800; font-size: 15px; text-decoration: none; color: #fff;
    border-right: 1px solid var(--color-neutral-800); text-align: center; line-height: 1.15;
  }
  .tl-lp-bar a.is-primary { background: var(--color-accent); border-right: 0; }
  .page-template-landing .tl-footer { padding-bottom: 60px; }
}


/* FAQ */
.tl-faq { border: 2px solid var(--color-divider); background: var(--color-bg); max-width: 900px; }
.tl-faq__item + .tl-faq__item { border-top: 2px solid var(--color-divider); }
.tl-faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--font-heading); font-weight: 800; font-size: 17px; line-height: 1.3;
}
.tl-faq__item summary::-webkit-details-marker { display: none; }
.tl-faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 600; color: var(--color-accent);
}
.tl-faq__item[open] summary::after { content: "\2212"; }
.tl-faq__item p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--text-soft); max-width: 75ch; }

/* Mobile safety: wide tables scroll inside their box, long words wrap */
.tl-prose { overflow-wrap: anywhere; }
.tl-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tl-prose td, .tl-prose th { min-width: 120px; }
h1, h2, h3 { overflow-wrap: break-word; }


/* ==========================================================================
   9c. Smoothness and depth
   Soft shadows, gentle hover lifts and fade-in on scroll. Motion is switched
   off for visitors who ask their device for reduced motion.
   ========================================================================== */
:root {
  --shadow-sm: 0 1px 2px rgba(32, 30, 29, 0.08), 0 2px 6px rgba(32, 30, 29, 0.06);
  --shadow-md: 0 2px 4px rgba(32, 30, 29, 0.06), 0 10px 24px rgba(32, 30, 29, 0.10);
  --shadow-lg: 0 4px 8px rgba(32, 30, 29, 0.08), 0 24px 56px rgba(32, 30, 29, 0.18);
  --shadow-accent: 0 8px 22px rgba(16, 87, 133, 0.30);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Smooth state changes */
a, .btn, .btn-light, .btn-on-dark, .input, .tacad-navlink, .tl-footer__links a, .tl-post-tags a {
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

/* Header floats above the page once you scroll */
.tacad-nav { transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.tacad-nav.is-stuck {
  box-shadow: 0 6px 24px rgba(32, 30, 29, 0.14);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.tacad-dropdown__menu { box-shadow: var(--shadow-lg); animation: tlDrop 0.2s var(--ease); }
@keyframes tlDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Buttons: lift on hover, press on click */
.btn-primary { box-shadow: 0 2px 6px rgba(16, 87, 133, 0.22); }
.btn-primary:hover, .btn-light:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: var(--shadow-accent); }
.btn-light { box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }
.btn-secondary:hover, .btn-on-dark:hover { transform: translateY(-1px); }
.btn:active, .btn-light:active, .btn-on-dark:active { transform: translateY(0); box-shadow: none; }
.input:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent); background: #fff; }

/* Grids sit on a soft shadow; cells lift towards you on hover */
.tl-grid, .tl-faq, .tl-posts { box-shadow: var(--shadow-md); }
.tl-course, .tl-why, .tl-check, .tl-career, .tl-logo-cell, .tl-post {
  position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.tl-course:hover, .tl-why:hover, .tl-post:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); z-index: 2; background: #fff;
}
.tl-check:hover, .tl-career:hover, .tl-logo-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); z-index: 2; background: #fff; }
.tacad-courses-cta { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.10)); }

/* Photos: gentle zoom inside their frame */
.tl-photo-cell img, .tl-video__btn img { transition: transform 0.6s var(--ease), opacity 0.3s var(--ease); }
.tl-photo-cell:hover img { transform: scale(1.06); }
.tl-video { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tl-video:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6); }
.tl-video:hover .tl-video__btn img { transform: scale(1.04); }
.tl-video__play span { box-shadow: var(--shadow-accent); transition: transform 0.25s var(--ease); }
.tl-video:hover .tl-video__play span { transform: scale(1.1); }
.tl-testimonial { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); }
.tl-post-image { box-shadow: var(--shadow-lg); }

/* Bands get a soft light-to-dark wash so they do not look flat */
.tl-accent { background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.14) 100%); }
.tl-dark, .tl-pagehero, .tl-lp-hero, .tl-footer {
  background-image: radial-gradient(120% 90% at 85% 0%, rgba(16, 87, 133, 0.16) 0%, rgba(16, 87, 133, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18));
}
.tl-strip { box-shadow: var(--shadow-md); background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.10)); }
.tl-hero__inner { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.tl-hero__inner .btn, .tl-hero__inner .btn-on-dark { text-shadow: none; }
.tl-badge { box-shadow: var(--shadow-accent); }

/* Forms and side boxes float above the page */
.tl-form { box-shadow: var(--shadow-lg); }
.tl-lp-formcard { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.tl-lp-formcard .tl-form { box-shadow: none; }
.tl-lp-side, .tl-course-box { box-shadow: var(--shadow-md); }
.tl-lp-bar { box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28); }
.tl-faq__item summary { transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tl-faq__item summary:hover { background: #fff; color: var(--color-accent-700); }
.tl-faq__item[open] { background: #fff; }

/* Fade-in on scroll (only when the script has switched it on) */
.tl-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.tl-reveal.is-in { opacity: 1; transform: none; }

@media (hover: none) {
  .tl-course:hover, .tl-why:hover, .tl-post:hover, .tl-check:hover, .tl-career:hover, .tl-logo-cell:hover, .tl-video:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .tacad-track { animation: none !important; }
  .tl-reveal { opacity: 1; transform: none; }
}


/* Blog listing */
.tl-postcard { background: var(--color-bg); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); position: relative; }
.tl-postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); z-index: 2; background: #fff; }
.tl-postcard__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-surface); }
.tl-postcard__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tl-postcard:hover .tl-postcard__image img { transform: scale(1.05); }
.tl-postcard__body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tl-postcard__title { font-size: 19px; line-height: 1.2; margin: 0; }
.tl-postcard__title a { color: inherit; text-decoration: none; }
.tl-postcard__title a:hover { color: var(--color-accent); }
.tl-postcard__body p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--text-soft); flex: 1; }
.tl-postcard__more { font-family: var(--font-heading); font-weight: 800; font-size: 14px; text-decoration: none; }
.tl-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--color-divider); text-decoration: none; color: var(--color-text);
  font-family: var(--font-heading); font-weight: 800; font-size: 14px;
}
.tl-pagination .page-numbers.current, .tl-pagination a.page-numbers:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
@media (max-width: 900px) { .tl-postgrid { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 900px) { .tl-postgrid { grid-template-columns: 1fr 1fr; } }
@media (hover: none) { .tl-postcard:hover { transform: none; } }


/* Long homepage headline */
.tl-hero__title--long { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.04; max-width: 20ch; }

/* 6 months vs 1 year table */
.tl-compare-wrap { border: 2px solid var(--color-divider); box-shadow: var(--shadow-md); background: var(--color-bg); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tl-compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tl-compare th, .tl-compare td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--color-divider); }
.tl-compare tbody tr:last-child th, .tl-compare tbody tr:last-child td { border-bottom: 0; }
.tl-compare thead th { background: var(--color-neutral-900); color: #fff; vertical-align: bottom; border-bottom: 0; }
.tl-compare thead th.is-featured { background: var(--color-accent); }
.tl-compare__dur { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; }
.tl-compare__name { display: block; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; margin-top: 6px; opacity: 0.9; }
.tl-compare tbody th { width: 34%; font-family: var(--font-heading); font-weight: 600; color: var(--color-text); }
.tl-compare td { width: 33%; color: var(--text-soft); border-left: 1px solid var(--color-divider); }
.tl-compare td.is-featured { background: color-mix(in srgb, var(--color-accent) 6%, transparent); color: var(--color-text); font-weight: 600; }
.tl-compare tbody tr:hover th, .tl-compare tbody tr:hover td { background-color: #fff; }
.tl-yes {
  display: inline-block; width: 20px; height: 20px; vertical-align: middle;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 6' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.tl-no { color: var(--color-neutral-500); font-size: 20px; font-weight: 600; }
@media (max-width: 640px) {
  .tl-compare { font-size: 13px; }
  .tl-compare th, .tl-compare td { padding: 10px 10px; }
  .tl-compare tbody th { width: 36%; }
  .tl-compare__name { font-size: 10px; letter-spacing: 0.02em; }
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .tacad-nav { flex-wrap: wrap; gap: 12px; }
  .tacad-menu-toggle { display: inline-flex; }
  .tacad-navlinks {
    display: none; order: 10; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    border-top: 2px solid var(--color-divider); padding-top: 6px;
  }
  .tacad-navlinks.is-open { display: flex; }
  .tacad-navlink { padding: 11px 0; font-size: 16px; }
  .tacad-nav-cta { gap: 12px; }
  .tacad-dropdown__toggle { width: 100%; justify-content: space-between; text-align: left; }
  .tacad-dropdown::after { display: none; }
  .tacad-dropdown__menu,
  .tacad-dropdown:hover .tacad-dropdown__menu,
  .tacad-dropdown:focus-within .tacad-dropdown__menu {
    display: none; position: static; min-width: 0; margin: 0 0 6px; padding: 0 0 0 16px;
    border: 0; border-left: 2px solid var(--color-divider); box-shadow: none;
  }
  .tacad-dropdown.is-open .tacad-dropdown__menu { display: block; }
  .tacad-dropdown__menu .tacad-navlink { padding: 9px 0; }
}
@media (max-width: 900px) {
  .tl-about, .tl-course-detail, .tacad-contact-grid, .tacad-form-row { grid-template-columns: 1fr; }
  .tacad-courses-grid, .tacad-why-grid { grid-template-columns: 1fr; }
  .tacad-courses-cta { grid-column: span 1 !important; }
  [id] { scroll-margin-top: 24px; }
  .btn, .tacad-navlink, .tl-footer__links a { min-height: 0; }
  .tl-footer__links { gap: 14px; }
  .input { min-height: 44px; font-size: 16px; }
  .tacad-nav-cta .btn, .tacad-menu-toggle { min-height: 40px; }
  .tl-prose--landing ul:has(li:nth-child(9)) { columns: 1; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .tacad-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .tacad-nav { top: 46px; }
}
@media (max-width: 640px) {
  .tacad-nav { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .tacad-logo img { height: 44px; }
  .tacad-nav-cta { order: 5; flex-basis: 100%; gap: 10px; }
  .tacad-nav-cta .btn { flex: 1; }
}
@media (max-width: 600px) {
  .admin-bar .tacad-nav { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tacad-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   11. November 2026 brief: homepage changes
   ========================================================================== */

/* Hero: trainer line, and on phones the photo sits above the text so no face is covered */
.tl-hero__img { object-position: 50% 38%; }
.tl-hero__trainer {
  display: inline-block; margin: 0 0 18px; padding: 6px 12px;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(15px, 1.5vw, 18px);
  color: #fff; background: rgba(16, 87, 133, 0.85); border-left: 4px solid var(--color-accent-300);
  text-shadow: none;
}
@media (max-width: 700px) {
  .tl-hero { display: block; min-height: 0; background: var(--color-neutral-900); }
  .tl-hero__img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; object-position: 50% 45%; }
  .tl-hero__shade { top: auto; height: 0; }
  .tl-hero__inner { padding-top: 28px; text-shadow: none; }
  .tl-hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .tl-hero__stats { margin-top: 28px; gap: 24px; }
}

/* Careers: the four lead roles stand out */
.tl-career--lead { background: var(--color-accent-100); }
.tl-career--lead span { color: var(--color-accent-700); }

/* Logo rows with "and many more" */
.tl-logos { display: grid; gap: 2px; }
.tl-logos--10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tl-logos--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tl-many-more { margin: 14px 0 0; font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--color-accent); }
@media (max-width: 900px) {
  .tl-logos--10, .tl-logos--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .tl-logos--10, .tl-logos--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-logo-cell { height: 90px; }
}

/* Ten-photo galleries: 5 x 2 on desktop */
.tl-photos-10 { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .tl-photos-10 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tl-photos-10 > :nth-child(n+10) { display: none; } }
@media (max-width: 520px) { .tl-photos-10 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tl-photos-10 > :nth-child(n+10) { display: block; } }

/* Three featured videos with titles */
.tl-videos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tl-video-card { margin: 0; }
.tl-video-card__title { margin-top: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--color-neutral-100); }
.tl-link-on-dark, .tl-link-on-dark:hover { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-color: var(--color-accent-400); text-underline-offset: 5px; }
.tl-link-on-dark:hover { text-decoration-color: #fff; }
@media (max-width: 900px) { .tl-videos--3 { grid-template-columns: 1fr; max-width: 560px; } }

/* Quote cards */
.tl-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.tl-quote {
  margin: 0; padding: 26px 24px 22px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14); border-top: 3px solid var(--color-accent-400);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.tl-quote blockquote { margin: 0; }
.tl-quote blockquote p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--color-neutral-100); }
.tl-quote blockquote p::before { content: "\201C"; } .tl-quote blockquote p::after { content: "\201D"; }
.tl-quote__name { display: block; font-family: var(--font-heading); font-weight: 700; color: #fff; }
.tl-quote__course { display: block; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-300); margin-top: 2px; }
.tl-admin-note { padding: 14px 16px; border: 1px dashed var(--color-accent-400); color: var(--color-neutral-200); font-size: 14px; }
@media (max-width: 900px) { .tl-quotes { grid-template-columns: 1fr; } }

/* 6 months vs 1 year */
.tl-compare-intro { margin-bottom: 18px; }
.tl-compare-legend { display: flex; gap: 22px; margin: 0 0 14px; font-size: 14px; color: var(--text-soft); }
.tl-compare-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.tl-compare thead th:first-child { font-size: 14px; font-weight: 700; }
.tl-cell { display: inline-flex; align-items: flex-start; gap: 10px; }
.tl-cell .tl-yes { flex: none; margin-top: 1px; }
.tl-no {
  display: inline-block; width: 20px; height: 20px; vertical-align: middle; font-size: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%239b9797' stroke-width='2'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.tl-compare-toggle { display: none; }
@media (max-width: 640px) {
  .tl-compare-wrap { overflow: visible; }
  .tl-compare thead th:first-child { font-size: 11px; }
  .tl-compare__dur { font-size: 17px; }
  .tl-compare__name { font-size: 10px; }
  .tl-cell { gap: 6px; }
  .tl-compare tbody tr:not(.is-key) { display: none; }
  .tl-compare-wrap.is-open tbody tr:not(.is-key) { display: table-row; }
  .tl-compare-toggle {
    display: block; width: 100%; padding: 14px; border: 0; border-top: 1px solid var(--color-divider);
    background: var(--color-accent-100); color: var(--color-accent-700); cursor: pointer;
    font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  }
}

/* Short enquiry form and callback step */
.tl-phone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 8px; }
.tl-form__wa { justify-content: center; margin-top: -6px; }
.tl-callback { gap: 14px; }
.tl-callback__eyebrow { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--color-accent-700); }
.tl-callback__title { margin: 0 0 6px; padding: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; }
.tl-callback__text { margin: 0; color: var(--text-soft); }
.tl-callback__form { display: flex; flex-direction: column; gap: 12px; }
.tl-callback__form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tl-slot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--color-divider); background: #fff; cursor: pointer; font-weight: 600; }
.tl-slot:hover { border-color: var(--color-accent); }
.tl-slot input { accent-color: var(--color-accent); width: 18px; height: 18px; margin: 0; }
.tl-slot:has(input:checked) { border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); background: var(--color-accent-100); }
.tl-callback .btn-primary { justify-content: center; font-size: 15px; padding: 13px; }

/* Callback step on the Thank You page */
.tl-thanks-callback { padding-top: 0; }
.tl-thanks-callback .tl-callback { max-width: 560px; }
