/* ============================================================
   WYATT EDUCATION GROUP — DESIGN SYSTEM
   File: css/styles.css
   Version: 2026.01.00
   Brand: Wyatt Education Group | RTO 46003 | CRICOS 04130B
   Built by: Claude AI — Week 1 Production Build
   ============================================================ */

/* ============================================================
   1. CSS DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colours */
  --color-purple:       #7B2D8E;
  --color-purple-dark:  #5C1F6E;
  --color-purple-light: #f5eaf9;
  --color-blue:         #2E86C1;
  --color-blue-dark:    #1A5276;
  --color-blue-light:   #e8f4fd;
  --color-green:        #27AE60;
  --color-yellow:       #F1C40F;
  --color-orange:       #E67E22;
  --color-teal:         #00BCD4;
  --color-grey-dark:    #333333;
  --color-grey-mid:     #666666;
  --color-grey-light:   #F5F5F5;
  --color-white:        #ffffff;
  --color-dark:         #0e0016;

  /* Typography */
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body:    Arial, Helvetica, sans-serif;

  /* Layout */
  --container-max:    1200px;
  --section-padding:  80px 0;
  --radius:           8px;
  --radius-lg:        14px;
  --radius-xl:        20px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(123,45,142,0.14);
  --shadow-hover: 0 12px 36px rgba(123,45,142,0.18);

  /* Transitions */
  --transition: 0.22s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--color-grey-dark);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-purple); }
ul, ol { list-style: none; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-padding); }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-purple);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--color-grey-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--color-grey-mid);
  max-width: 560px;
  line-height: 1.7;
}
.divider {
  width: 48px;
  height: 4px;
  background: var(--color-green);
  border-radius: 2px;
  margin: 18px 0 28px;
}
.text-center { text-align: center; }
.text-white { color: var(--color-white); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(39,174,96,0.28);
}
.btn-primary:hover {
  background: #1e9950;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(39,174,96,0.36);
}
.btn-secondary {
  background: var(--color-purple);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: var(--color-purple-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
}
.btn-ghost {
  background: transparent;
  color: var(--color-purple);
  border: 2px solid var(--color-purple);
}
.btn-ghost:hover {
  background: var(--color-purple);
  color: var(--color-white);
}
.btn-yellow {
  background: var(--color-yellow);
  color: #1a1a1a;
  font-weight: 800;
}
.btn-yellow:hover {
  background: #d4a800;
  color: #1a1a1a;
  transform: translateY(-2px);
}
.btn-sm {
  font-size: 0.85rem;
  padding: 9px 22px;
}

/* ============================================================
   6. TOP BAR
   ============================================================ */
.topbar {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: var(--color-purple-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-left a {
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar-left a:hover { color: var(--color-yellow); }
.topbar-right { display: flex; gap: 10px; }
.tb-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.82);
  transition: all var(--transition);
  text-decoration: none;
}
.tb-btn:hover {
  background: var(--color-yellow);
  color: #1a1a1a;
  border-color: var(--color-yellow);
}
.tb-btn-primary {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
}
.tb-btn-primary:hover {
  background: #1e9950;
  color: var(--color-white);
}
.tb-btn-staff {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.82);
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.site-nav {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-purple);
  border-bottom: 3px solid var(--color-purple-dark);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  overflow: clip;
  flex-wrap: nowrap;
}
.nav-logo img {
  height: 46px;
  width: auto;
  max-width: 200px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0px;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.nav-menu > li { position: relative; height: 64px; display: flex; align-items: center; overflow: visible; }
.nav-menu > li > a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-white);
  padding: 6px 7px;
  border-radius: 6px;
  display: block;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--color-white);
  background: var(--color-purple-dark);
}
.nav-menu > li > a.has-drop::after {
  content: ' ▾';
  font-size: 0.68rem;
}
.nav-dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 67px;
  left: auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid #e8d5f0;
  min-width: 320px;
  z-index: 9999;
  padding: 8px 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.nav-menu > li:hover .nav-dropdown,
.nav-menu > li .nav-dropdown:hover,
.nav-menu > li:focus-within .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--color-grey-dark);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.nav-dropdown a:hover {
  color: var(--color-purple);
  background: var(--color-purple-light);
  border-left-color: var(--color-purple);
}
.nav-dropdown a:hover { color: var(--color-purple); }
.dd-name { font-weight: 600; }
.dd-meta { font-size: 0.72rem; color: var(--color-grey-mid); margin-top: 2px; }
.dd-cricos {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  padding: 1px 6px;
  border-radius: 5px;
  margin-left: 6px;
}
.dd-divider {
  border: none;
  border-top: 1px solid #f0e8f5;
  margin: 6px 0;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   8. MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,0,22,0.97);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  text-align: center;
  padding: 2px 0;
}
.mobile-menu a:hover { color: var(--color-yellow); }
.mobile-menu-apply {
  color: var(--color-yellow) !important;
  font-weight: 700;
}
.mobile-menu-enrol {
  background: var(--color-yellow);
  color: #3d1349 !important;
  padding: 10px 32px !important;
  border-radius: 25px;
  margin-top: 8px;
}
.mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.mob-close:hover {
  background: var(--color-purple);
  border-color: var(--color-purple);
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  background: linear-gradient(150deg, #1a0627 0%, #3d1554 35%, #5C1F6E 65%, #1A5276 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,45,142,0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,134,193,0.15) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241,196,15,0.12);
  border: 1px solid rgba(241,196,15,0.35);
  color: var(--color-yellow);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--color-yellow); }
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  transition: all var(--transition);
  cursor: default;
}
.hero-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.24);
  transform: translateX(5px);
}
.hero-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hero-card-code {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: var(--color-yellow);
  background: rgba(241,196,15,0.12);
  padding: 3px 8px;
  border-radius: 6px;
}
.hero-card-cricos {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
}
.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-white);
  margin-bottom: 5px;
  line-height: 1.3;
}
.hero-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
  margin-bottom: 10px;
}
.hero-card-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hc-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   10. COMPLIANCE BAR
   ============================================================ */
.compliance-bar {
  background: var(--color-grey-light);
  border-top: 1px solid #e0d0e8;
  border-bottom: 1px solid #e0d0e8;
  padding: 11px 0;
}
.compliance-bar-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.comp-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-grey-dark);
}
.comp-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: white;
  font-weight: 800;
}
.comp-sep { color: #ccc; }

/* ============================================================
   11. COURSES SECTION
   ============================================================ */
.courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.course-card {
  border-radius: var(--radius-lg);
  border: 1.5px solid #ede0f5;
  background: var(--color-white);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #d4a8e8;
}
.course-thumb {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.ct-business    { background: linear-gradient(135deg, #7B2D8E 0%, #2E86C1 100%); }
.ct-construction{ background: linear-gradient(135deg, #1A5276 0%, #2E86C1 100%); }
.ct-tiling      { background: linear-gradient(135deg, #E67E22 0%, #F1C40F 100%); }
.ct-leadership  { background: linear-gradient(135deg, #5C1F6E 0%, #00BCD4 100%); }
.ct-icon {
  font-size: 3.8rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.ct-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  font-size: 0.67rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  letter-spacing: 0.4px;
  font-family: 'Courier New', monospace;
}
.ct-nrt {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-yellow);
  color: #1a1a1a;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.course-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-purple-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-body p {
  font-size: 0.87rem;
  color: var(--color-grey-mid);
  margin-bottom: 14px;
  line-height: 1.6;
  flex: 1;
}
.cricos-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blue-light);
  border: 1px solid #b8d9f5;
  border-radius: 7px;
  padding: 6px 11px;
  margin-bottom: 14px;
}
.cricos-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-blue-dark);
  background: rgba(46,134,193,0.14);
  padding: 2px 6px;
  border-radius: 5px;
  flex-shrink: 0;
}
.cricos-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  font-family: 'Courier New', monospace;
}
.cricos-rto {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--color-grey-mid);
}
.course-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--color-purple-light);
  color: var(--color-purple-dark);
}
.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-purple);
  font-weight: 700;
  font-size: 0.87rem;
  transition: gap var(--transition);
  margin-top: auto;
}
.course-link::after { content: '→'; }
.course-link:hover { gap: 10px; color: var(--color-purple-dark); }

/* ============================================================
   12. WHY WYATT
   ============================================================ */
.why { background: var(--color-grey-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-visual {
  background: linear-gradient(145deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.why-visual::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.why-logo {
  margin-bottom: 26px;
  position: relative;
}
.why-logo img { height: 42px; width: auto; opacity: 0.9; }
.why-visual h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-yellow);
  margin-bottom: 14px;
  line-height: 1.25;
  position: relative;
}
.why-visual p {
  color: rgba(255,255,255,0.76);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
}
.values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.values-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.84);
}
.val-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.why-points { display: flex; flex-direction: column; gap: 26px; }
.why-point { display: flex; gap: 18px; align-items: flex-start; }
.why-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-purple);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-point h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-purple-dark);
  margin-bottom: 4px;
}
.why-point p {
  font-size: 0.87rem;
  color: var(--color-grey-mid);
  line-height: 1.6;
}

/* ============================================================
   13. RPL BANNER
   ============================================================ */
.rpl-banner {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-blue-dark) 100%);
  padding: 70px 0;
  text-align: center;
}
.rpl-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--color-white);
  margin-bottom: 12px;
}
.rpl-banner > .container > p {
  color: rgba(255,255,255,0.76);
  max-width: 540px;
  margin: 0 auto 16px;
  font-size: 1rem;
}
.rpl-price-display {
  display: inline-block;
  background: var(--color-yellow);
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 12px;
  margin: 16px 0 28px;
}
.rpl-features {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.rpl-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
}
.rpl-feat-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   14. INTERNATIONAL STUDENTS
   ============================================================ */
.intl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intl-panel {
  background: linear-gradient(145deg, #1A5276 0%, #2E86C1 100%);
  border-radius: var(--radius-xl);
  padding: 48px 38px;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.intl-panel::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.globe { font-size: 5rem; margin-bottom: 22px; line-height: 1; position: relative; }
.intl-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 12px;
  position: relative;
}
.intl-panel p {
  color: rgba(255,255,255,0.76);
  margin-bottom: 26px;
  font-size: 0.95rem;
  position: relative;
}
.cricos-badge-lg {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
}
.intl-features { display: flex; flex-direction: column; gap: 22px; }
.intl-feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.fi-blue   { background: var(--color-blue-light); }
.fi-purple { background: var(--color-purple-light); }
.fi-green  { background: #eaf8f1; }
.fi-orange { background: #fdf0e3; }
.intl-feat h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-grey-dark);
  margin-bottom: 4px;
}
.intl-feat p {
  font-size: 0.85rem;
  color: var(--color-grey-mid);
  line-height: 1.6;
}

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--color-grey-light); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testi-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border-left: 4px solid var(--color-purple);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); }
.testi-stars {
  color: var(--color-yellow);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testi-card blockquote {
  font-style: italic;
  color: var(--color-grey-mid);
  font-size: 0.92rem;
  line-height: 1.72;
  margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-white);
  flex-shrink: 0;
}
.testi-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-grey-dark);
}
.testi-role { font-size: 0.75rem; color: var(--color-grey-mid); margin-top: 2px; }

/* ============================================================
   16. INDUSTRY NEWS
   ============================================================ */
.news-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.news-card {
  border-radius: var(--radius-lg);
  border: 1px solid #ece4f2;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--color-white);
}
.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.news-thumb {
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nt-vet  { background: linear-gradient(135deg, #27AE60, #00BCD4); }
.nt-con  { background: linear-gradient(135deg, #E67E22, #F1C40F); }
.nt-asqa { background: linear-gradient(135deg, #7B2D8E, #5C1F6E); }
.news-thumb-icon { font-size: 3rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2)); }
.news-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.news-body { padding: 18px 20px; }
.news-date { font-size: 0.72rem; color: var(--color-grey-mid); margin-bottom: 7px; }
.news-body h4 {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  color: var(--color-grey-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-body p {
  font-size: 0.83rem;
  color: var(--color-grey-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}
.news-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-purple);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.news-link::after { content: '→'; }
.news-link:hover { gap: 9px; color: var(--color-purple-dark); }

/* ============================================================
   17. JOBS — SEEK FEED
   ============================================================ */
.jobs-section { background: var(--color-grey-light); }
.jobs-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.seek-widget {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid #ece4f2;
  padding: 28px;
}
.seek-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  gap: 12px;
}
.seek-brand { display: flex; align-items: center; gap: 10px; }
.seek-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e60278;
  font-family: Arial, sans-serif;
  letter-spacing: -1px;
}
.seek-powered { font-size: 0.72rem; color: var(--color-grey-mid); }
.seek-filter {
  font-size: 0.78rem;
  color: var(--color-grey-mid);
  background: var(--color-grey-light);
  padding: 5px 12px;
  border-radius: 8px;
}
.job-list { display: flex; flex-direction: column; }
.job-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  transition: all var(--transition);
  cursor: pointer;
  border-radius: var(--radius);
}
.job-item:last-child { border-bottom: none; }
.job-item:hover {
  background: var(--color-purple-light);
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
}
.job-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid #eee;
}
.job-info { flex: 1; min-width: 0; }
.job-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 3px;
}
.job-company {
  font-size: 0.82rem;
  color: var(--color-grey-dark);
  margin-bottom: 6px;
}
.job-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.job-meta span {
  font-size: 0.75rem;
  color: var(--color-grey-mid);
}
.job-badge {
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}
.jb-visa   { background: #eaf8f1; color: #1e9950; }
.jb-new    { background: #fff0e0; color: #d4620e; }
.seek-footer { margin-top: 20px; text-align: center; }
.seek-footer p { font-size: 0.78rem; color: var(--color-grey-mid); margin-bottom: 14px; }

/* ============================================================
   18. CTA SECTION
   ============================================================ */
.cta-section {
  background: #1a0a22;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.68);
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-contact {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.cta-contact a { color: rgba(255,255,255,0.65); }
.cta-contact a:hover { color: var(--color-yellow); }

/* ============================================================
   19. FOOTER
   ============================================================ */
.site-footer {
  padding-bottom: calc(var(--footer-pb, 48px) + env(safe-area-inset-bottom));
  background: var(--color-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 48px; width: auto; opacity: 0.9; }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-reg {
  font-size: 0.73rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.36);
}
.footer-reg strong { color: var(--color-yellow); font-weight: 700; }
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}
.social-btn-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn-logo:hover {
  transform: scale(1.1);
  border-color: rgba(255,255,255,0.25);
}
.social-fb:hover  { background: #1877F2; }
.social-ig:hover  { background: radial-gradient(circle at 30% 107%, #fdf497, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-tt        { background: #010101; border-color: #333; }
.social-tt:hover  { background: #1a1a1a; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  color: rgba(255,255,255,0.56);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-yellow); }
.compliance-footer-link {
  color: rgba(255,255,255,0.38) !important;
  font-size: 0.78rem !important;
}
.compliance-footer-link:hover { color: var(--color-yellow) !important; }
.footer-affiliates {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.affiliate-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  flex-shrink: 0;
}
.affiliate-pill {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.52);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.acknowledgement {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.36);
  max-width: 600px;
  line-height: 1.65;
}
.acknowledgement strong { color: rgba(255,255,255,0.5); }
.footer-legal {
  text-align: right;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.26);
  line-height: 1.9;
}

/* ============================================================
   20. SCROLL REVEAL ANIMATION BASE
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   21. RESPONSIVE — TABLET
   ============================================================ */


/* ============================================================
   22. RESPONSIVE — MOBILE
   ============================================================ */


/* ============================================================
   23. COURSE LOGOS BAR — NRT + AQF
   ============================================================ */
.course-logos-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f8f4fc;
  border-top: 1px solid #ede0f5;
  border-bottom: 1px solid #ede0f5;
  flex-wrap: wrap;
}
.logo-nrt {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo-aqf {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.rto-stamp {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-purple);
  background: var(--color-purple-light);
  padding: 3px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  border: 1px solid #d4a8e8;
  white-space: nowrap;
}

/* NRT / AQF compliance logos — constrained size */
.compliance-logos img {
  height: 36px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain;
}
.ct-logos img {
  height: 30px !important;
  width: auto !important;
  max-width: 75px !important;
  object-fit: contain;
}
/* ============================================================
   COURSE CARD LOGOS — NRT + AQF compact sizing
   ============================================================ */
.ct-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-grey-light);
  margin-bottom: 10px;
}
.ct-logos img {
  height: 28px !important;
  width: auto !important;
  max-width: 80px !important;
  object-fit: contain;
  display: block;
}
.rto-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-purple);
  background: var(--color-purple-light);
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}


/* ============================================================
   MOBILE RESPONSIVE — COMPREHENSIVE FIX
   ============================================================ */

/* Course card tags — fix run-together on mobile */
.ct-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.ct-tag {
  white-space: nowrap;
}

/* Homepage inline-grid sections — override on mobile */


/* Extra small — phones under 420px */


/* ============================================================
   HOMEPAGE GRID CLASSES — mobile-first
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}


/* ============================================================
   HOMEPAGE GRID CLASSES
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* ============================================================
   RESPONSIVE — LARGE TABLET / SMALL LAPTOP (max 1200px)
   ============================================================ */
@media (max-width: 1400px) {
  .nav-menu > li > a {
    font-size: 0.75rem;
    padding: 6px 5px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET  (max 960px)
   ============================================================ */
@media (max-width: 1280px) {
  /* Navigation */
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  /* Grids */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .why-grid, .intl-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { text-align: left; }
  .courses-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Container */
  .container { padding-left: 16px; padding-right: 16px; }

  /* iOS Safari — prevent input zoom on focus (font-size must be >= 16px) */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Hero — explicit padding to prevent text clipping on Android */
  .hero-section .container,
  .hero .container,
  section.hero-section > .container { 
    padding-left: 20px !important; 
    padding-right: 20px !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .hero-section, .hero { 
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  section { padding: 48px 0; }

  /* Navigation */
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  /* Topbar — hide address */
  .topbar-left span:last-child { display: none; }

  /* Topbar right — hide portal buttons on small screens, keep Apply Now */
  .tb-btn-staff { display: none; }
  .tb-btn:not(.tb-btn-primary):not(.tb-btn-staff) { display: none; }

  /* Page hero */
  .page-hero { padding: 48px 0 36px; }
  .hero-section .container { padding-top: 48px; padding-bottom: 40px; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-grid > div:last-child { display: none; }

  /* Two column sections → single column */
  .two-col-grid,
  .rpl-two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Course cards */
  .courses-grid { grid-template-columns: 1fr; }
  .ct-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .ct-tag { white-space: nowrap; }

  /* Location mini cards */
  .location-cards { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* News grid */
  .news-grid { grid-template-columns: 1fr; }

  /* Hero CTA buttons */
  .hero-actions,
  .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; text-align: center; }

  /* Hero stat trust badges */
  .hero-trust { gap: 12px; flex-wrap: wrap; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-affiliates { flex-wrap: wrap; gap: 8px; }

  /* Life in Australia */
  .feature-block { grid-template-columns: 1fr; direction: ltr; }
  .feature-img { height: 220px; }
  .feature-text { padding: 28px 20px; }
  .life-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Student Resources */
  .resources-grid { grid-template-columns: 1fr; }
  .contact-box .contact-options { flex-direction: column; align-items: center; }
  .contact-box .contact-options .btn { width: 100%; max-width: 280px; }

  /* RPL section */
  .rpl-features { flex-direction: column; align-items: center; }

  /* Brand card full width */
  .brand-card { border-radius: 16px; }

  /* Compliance bar */
  .compliance-bar-inner { gap: 10px; flex-wrap: wrap; justify-content: center; }

  /* Section headers */
  .news-section-header,
  .jobs-section-header,
  .courses-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Tips grid */
  .tips-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES  (max 420px)
   ============================================================ */
@media (max-width: 420px) {
  .hero-section .container,
  .hero .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero-section h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.5rem; }
  .tips-grid { grid-template-columns: 1fr; }
  .location-cards { grid-template-columns: 1fr 1fr; }
  .ct-logos { flex-wrap: wrap; }
  .topbar-left a:last-of-type { display: none; }
}

/* ============================================================
   FIX 3: Font alignment improvements
   ============================================================ */
.ct-title { font-family: var(--font-heading); font-size: 1rem; line-height: 1.4; margin-bottom: 8px; }
.ct-desc { font-size: 0.87rem; line-height: 1.65; color: var(--color-grey-mid); }
.ct-tag { font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.section-label { letter-spacing: 1.5px; }
h1, h2, h3, h4 { text-wrap: balance; }

/* ============================================================
   FIX 8: Topbar quick nav links (Home / About / Contact)
   ============================================================ */
.topbar-left a[href="/"],
.topbar-left a[href="about.html"],
.topbar-left a[href="contact.html"] {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,0.2);
  margin-right: 4px;
}
.topbar-left a[href="contact.html"] {
  border-right: none;
  margin-right: 12px;
}
.topbar-left a[href="/"]:hover,
.topbar-left a[href="about.html"]:hover,
.topbar-left a[href="contact.html"]:hover {
  color: white;
}

/* ============================================================
   FIX 5: Ensure readable text on light backgrounds
   ============================================================ */
.content-section a { color: var(--color-blue); }
.content-section h3, .content-section h4 { color: var(--color-grey-dark); }
/* Course hero sublinks - ensure contrast */
.course-hero-tabs a { color: var(--color-purple); background: white; }
.unit-badge.ub-core { background: #EAF3DE; color: #27500A; }
.unit-badge.ub-elec { background: var(--color-blue-light); color: var(--color-blue-dark); }

/* ============================================================
   TOPBAR — Home / About Us / Contact Us quick links
   ============================================================ */
.topbar-left a[href="/"],
.topbar-left a[href="about.html"],
.topbar-left a[href="contact.html"] {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.2);
  margin-right: 6px;
  font-weight: 500;
}
.topbar-left a[href="contact.html"] {
  border-right: 1px solid rgba(255,255,255,0.2);
  margin-right: 16px;
  padding-right: 10px;
}
.topbar-left a[href="/"]:hover,
.topbar-left a[href="about.html"]:hover,
.topbar-left a[href="contact.html"]:hover {
  color: white;
}

/* ============================================================
   COURSE CARDS — equal height, aligned CTAs
   ============================================================ */
.courses-grid { align-items: stretch; }
.course-card { display: flex; flex-direction: column; }
.ct-desc { flex: 1; min-height: 60px; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.ct-tag {
  font-size: 0.73rem; font-weight: 700;
  color: var(--color-grey-mid); background: var(--color-grey-light);
  padding: 3px 9px; border-radius: 20px;
  white-space: nowrap; border: 1px solid #e0d8ea;
}

/* Course card tags — single row, no wrap */
.ct-tags { flex-wrap: nowrap !important; overflow: hidden; }
.ct-tag { flex-shrink: 0; }


/* ============================================================
   FILTER PILLS — used on courses.html and blog.html
   ============================================================ */
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid #ded0ee;
  background: white;
  color: var(--color-grey-mid);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
  background: #fdfaff;
}
.filter-pill-active {
  background: var(--color-purple);
  color: white !important;
  border-color: var(--color-purple);
}


/* ── Cookie Consent Banner ─────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a0a24;
  color: #f0e8f6;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  border-top: 3px solid #7B2D8E;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; flex: 1; min-width: 260px; color: rgba(255,255,255,0.85); }
#cookie-banner a { color: #c89fdc; text-decoration: underline; }
#cookie-banner .cb-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
#cookie-banner .cb-accept {
  background: #7B2D8E; color: white; border: none; padding: 9px 20px;
  border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 0.85rem;
  transition: background 0.2s; white-space: nowrap;
}
#cookie-banner .cb-accept:hover { background: #5C1F6E; }
#cookie-banner .cb-decline {
  background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 16px; border-radius: 6px; cursor: pointer; font-size: 0.85rem;
  transition: all 0.2s; white-space: nowrap;
}
#cookie-banner .cb-decline:hover { border-color: rgba(255,255,255,0.6); color: white; }
