*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0a1628; --navy-mid: #112240; --navy-light: #1a3560;
  --white: #f8faff; --orange: #e8890a; --orange-light: #ffb547;
  --steel: #8aa4c8; --steel-dim: #3d5a80;
  --rescue: #ff7070;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 60px; display: flex; align-items: center; justify-content: space-between; background: rgba(10,22,40,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.12em; color: var(--white); display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .logo-mark { width: 36px; height: 36px;  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; color: var(--navy); clip-path: polygon(0 0,100% 0,100% 70%,85% 100%,0 100%); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: rgba(248,250,255,0.7); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange); color: var(--navy); padding: 10px 24px; font-weight: 700; font-size: 0.83rem; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; clip-path: polygon(0 0,100% 0,100% 70%,92% 100%,0 100%); transition: all 0.2s; font-family: 'DM Sans',sans-serif; }
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }

/* HERO - with animated falling/climbing visual */
.page-hero { position: relative; padding: 180px 60px 100px; background: linear-gradient(160deg,#0a1628 0%,#112240 60%,#0d1e3a 100%); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg,rgba(255,255,255,0.025) 0px,rgba(255,255,255,0.025) 1px,transparent 1px,transparent 100px), repeating-linear-gradient(0deg,rgba(255,255,255,0.025) 0px,rgba(255,255,255,0.025) 1px,transparent 1px,transparent 100px); pointer-events: none; animation: drift 20s linear infinite; }
@keyframes drift { 0%{background-position:0 0;} 100%{background-position:100px 100px;} }
.page-hero-grid { position: relative; max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.hero-pill { display: inline-block; background: var(--orange); color: var(--navy); font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.12em; padding: 6px 20px; margin-bottom: 24px; clip-path: polygon(0 0,100% 0,100% 60%,94% 100%,0 100%); animation: fadeUp 0.7s ease both; }
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 0.95; letter-spacing: 0.04em; animation: fadeUp 0.8s 0.1s ease both; }
.page-hero h1 .dim { color: rgba(248,250,255,0.25); }
.page-hero h1 .accent { color: var(--orange); }
.page-hero p { margin-top: 24px; font-size: 1.1rem; color: rgba(248,250,255,0.6); max-width: 540px; line-height: 1.7; animation: fadeUp 0.8s 0.3s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

/* hero illustration - safety harness silhouette */
.hero-illus { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; animation: fadeUp 1s 0.5s ease both; }
.hero-illus-pole { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, rgba(232,137,10,0.6), rgba(232,137,10,0.2)); transform: translateX(-50%); }
.hero-illus-joint { position: absolute; width: 24px; height: 24px; border: 3px solid var(--orange); border-radius: 50%; background: var(--navy); left: 50%; transform: translateX(-50%); }
.hero-illus-joint:nth-child(2) { top: 20%; }
.hero-illus-joint:nth-child(3) { top: 55%; }
.hero-illus-joint:nth-child(4) { top: 85%; }
.hero-illus-cable { position: absolute; left: 50%; top: 25%; width: 2px; background: rgba(255,255,255,0.4); transform-origin: top center; animation: cableSway 4s ease-in-out infinite; }
@keyframes cableSway { 0%,100%{transform:translateX(-50%) rotate(0deg);} 50%{transform:translateX(-50%) rotate(3deg);} }
.hero-illus-harness { position: absolute; left: 50%; top: calc(25% + 140px); width: 50px; height: 60px; background: var(--orange); transform: translateX(-50%); clip-path: polygon(50% 0, 100% 20%, 90% 100%, 10% 100%, 0 20%); animation: harnessSway 4s ease-in-out infinite; }
@keyframes harnessSway { 0%,100%{transform:translateX(-50%) rotate(0deg);} 50%{transform:translateX(-32%) rotate(3deg);} }
.hero-pulse { position: absolute; left: 50%; top: 20%; width: 80px; height: 80px; border: 2px solid rgba(232,137,10,0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: pulseRing 2.5s ease-out infinite; }
.hero-pulse-2 { animation-delay: 1.25s; }
@keyframes pulseRing { 0%{transform:translate(-50%,-50%) scale(0.5);opacity:1;} 100%{transform:translate(-50%,-50%) scale(2.5);opacity:0;} }

.page-hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; animation: fadeUp 0.8s 0.5s ease both; }
.ph-stat { }
.ph-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; color: var(--orange); line-height: 1; }
.ph-stat-label { font-size: 0.74rem; color: rgba(248,250,255,0.4); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }

/* PROGRAMME INTRO */
.programme-section { padding: 120px 0; }
.programme-inner { max-width: 1300px; margin: 0 auto; padding: 0 60px; }
.programme-track { padding: 80px 0; position: relative; }
.programme-track.alt-bg { background: rgba(255,255,255,0.015); }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 20px; }
.section-label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--orange); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1; letter-spacing: 0.03em; }
.section-title .dim { color: rgba(248,250,255,0.25); }

/* Track header */
.track-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; margin-bottom: 56px; }
.track-header p { font-size: 1.02rem; line-height: 1.85; color: rgba(248,250,255,0.65); margin-bottom: 16px; }
.track-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.track-feature { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(248,250,255,0.7); padding: 10px 14px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); }
.track-feature-icon { color: var(--orange); flex-shrink: 0; }

/* Video block — large prominent in each track */
.track-video { aspect-ratio: 16/9; background: linear-gradient(135deg,#0c1d3a,#0a1628); border: 1px solid rgba(255,255,255,0.08); position: relative; cursor: pointer; overflow: hidden; transition: all 0.35s; }
.track-video:hover { border-color: var(--orange); }
.track-video:hover .tv-play { transform: translate(-50%,-50%) scale(1.1); background: var(--orange); }
.tv-stripe { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 14px,rgba(255,255,255,0.012) 14px,rgba(255,255,255,0.012) 28px); }
.tv-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 88px; height: 88px; background: rgba(232,137,10,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.tv-label { position: absolute; bottom: 20px; left: 28px; right: 28px; }
.tv-tag { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.tv-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.06em; }
.tv-placeholder-text { position: absolute; top: 38%; left: 50%; transform: translateX(-50%); font-family: monospace; font-size: 0.68rem; color: rgba(255,255,255,0.13); letter-spacing: 0.1em; padding-top: 56px; }

/* COURSE CARDS - HORIZONTAL FORMAT */
.courses-list { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; }
.course-row {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 36px;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 32px; align-items: center;
  cursor: pointer; transition: all 0.35s;
  position: relative; overflow: hidden;
}
.course-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); transform: scaleY(0); transition: transform 0.3s; transform-origin: top; }
.course-row:hover { border-color: rgba(232,137,10,0.5); transform: translateX(6px); }
.course-row:hover::before { transform: scaleY(1); }
.course-row.rescue-row::before { background: var(--rescue); }
.course-row.rescue-row:hover { border-color: rgba(255,112,112,0.4); }
.course-row-icon { width: 56px; height: 56px; background: rgba(232,137,10,0.1); border: 1px solid rgba(232,137,10,0.2); display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 1.5rem; flex-shrink: 0; }
.course-row.rescue-row .course-row-icon { background: rgba(255,112,112,0.08); border-color: rgba(255,112,112,0.2); color: var(--rescue); }
.course-row-body { min-width: 0; }
.course-row-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.crt-tag { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 9px; font-weight: 700; }
.crt-tag.cat { background: rgba(232,137,10,0.15); color: var(--orange); border: 1px solid rgba(232,137,10,0.3); }
.crt-tag.cat.rescue { background: rgba(255,112,112,0.12); color: var(--rescue); border-color: rgba(255,112,112,0.3); }
.crt-tag.days { background: rgba(255,255,255,0.05); color: rgba(248,250,255,0.7); border: 1px solid rgba(255,255,255,0.1); }
.course-row-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.05em; line-height: 1.05; margin-bottom: 6px; }
.course-row-blurb { font-size: 0.88rem; color: rgba(248,250,255,0.55); line-height: 1.6; }
.course-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
.course-row-price { text-align: right; }
.crp-label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,250,255,0.35); margin-bottom: 2px; }
.crp-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; color: var(--white); line-height: 1; }
.crp-vat { font-size: 0.68rem; color: rgba(248,250,255,0.4); margin-top: 2px; }
.course-row-cta { background: var(--orange); color: var(--navy); padding: 10px 18px; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; font-family: 'DM Sans',sans-serif; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; clip-path: polygon(0 0,100% 0,100% 75%,93% 100%,0 100%); }
.course-row-cta:hover { background: var(--orange-light); }

/* RESCUE CRITICAL CALLOUT */
.rescue-banner {
  margin: 40px 0;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(255,112,112,0.08), rgba(255,112,112,0.02));
  border: 1px solid rgba(255,112,112,0.25);
  display: flex; align-items: center; gap: 28px;
}
.rescue-banner-icon { font-size: 2.5rem; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(255,112,112,0.3)); }
.rescue-banner-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.06em; color: var(--rescue); margin-bottom: 8px; }
.rescue-banner-text { font-size: 0.95rem; color: rgba(248,250,255,0.7); line-height: 1.7; }

/* CTA */
.cta-section { padding: 140px 60px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-mid) 0%, #0c1f40 100%); }
.cta-section::before { content: 'GETMIE SAFE'; position: absolute; font-family: 'Bebas Neue', sans-serif; font-size: 22vw; letter-spacing: -0.02em; color: rgba(255,255,255,0.025); top: 50%; left: 50%; transform: translate(-50%,-50%); white-space: nowrap; pointer-events: none; user-select: none; }
.cta-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.6rem, 5.5vw, 5.5rem); line-height: 0.95; letter-spacing: 0.04em; position: relative; }
.cta-sub { margin: 24px auto 40px; font-size: 1.05rem; line-height: 1.7; color: rgba(248,250,255,0.6); max-width: 560px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-primary { background: var(--orange); color: var(--navy); padding: 16px 40px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; clip-path: polygon(0 0,100% 0,100% 75%,94% 100%,0 100%); transition: all 0.25s; font-family: 'DM Sans',sans-serif; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(232,137,10,0.35); }
.btn-outline { background: transparent; color: var(--white); padding: 14px 40px; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid rgba(248,250,255,0.3); cursor: pointer; transition: all 0.25s; font-family: 'DM Sans',sans-serif; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); transform: translateY(-3px); }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(5,12,24,0.92); display: flex; align-items: center; justify-content: center; animation: fadeIn 0.2s; padding: 20px; }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
.modal { width: min(680px, 96vw); max-height: 90vh; overflow-y: auto; background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.1); position: relative; animation: scaleIn 0.25s ease; }
@keyframes scaleIn { from{transform:scale(0.92);opacity:0;} to{transform:scale(1);opacity:1;} }
.modal-top { background: var(--orange); padding: 28px 36px; position: relative; }
.modal-top.rescue-top { background: var(--rescue); }
.modal-top .mt-tag { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(10,22,40,0.7); font-weight: 700; margin-bottom: 4px; }
.modal-top h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.06em; color: var(--navy); line-height: 1; }
.modal-close { position: absolute; top: 16px; right: 20px; background: rgba(0,0,0,0.15); border: none; color: var(--navy); width: 30px; height: 30px; cursor: pointer; font-size: 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-body { padding: 32px 36px; }
.modal-meta-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 28px; }
.modal-meta { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 14px 16px; }
.modal-meta-label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,250,255,0.35); margin-bottom: 4px; }
.modal-meta-value { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.04em; color: var(--white); }
.modal-section-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 14px; margin-top: 24px; }
.modal-section-title:first-child { margin-top: 0; }
.modal-section-title.rescue-title { color: var(--rescue); }
.modal-list { display: flex; flex-direction: column; gap: 10px; }
.modal-list-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: rgba(248,250,255,0.7); line-height: 1.6; }
.modal-list-item::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.modal-list-item.rescue-item::before { color: var(--rescue); }
.modal-btn { width: 100%; padding: 16px; background: var(--orange); color: var(--navy); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; font-family: 'DM Sans',sans-serif; margin-top: 24px; transition: all 0.2s; }
.modal-btn:hover { background: var(--orange-light); }

/* FOOTER */
footer { background: #060e1e; padding: 60px; border-top: 1px solid rgba(255,255,255,0.05); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-brand .logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: rgba(248,250,255,0.4); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(248,250,255,0.45); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { background: #060e1e; padding: 20px 60px; border-top: 1px solid rgba(255,255,255,0.04); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(248,250,255,0.25); }

/* DIVIDER */
.pole-divider { height: 2px; background: linear-gradient(90deg,transparent,var(--steel-dim),var(--orange),var(--steel-dim),transparent); margin: 0 60px; position: relative; }
.pole-divider::before, .pole-divider::after { content: ''; position: absolute; top: 50%; width: 12px; height: 12px; border: 2px solid var(--orange); border-radius: 50%; transform: translateY(-50%); background: var(--navy); }
.pole-divider::before { left: 20%; }
.pole-divider::after { right: 20%; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .page-hero { padding: 140px 24px 80px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-illus { height: 280px; }
  .programme-inner { padding: 0 24px; }
  .track-header { grid-template-columns: 1fr; gap: 32px; }
  .track-features { grid-template-columns: 1fr; }
  .course-row { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .course-row-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .cta-section { padding: 80px 24px; }
  .modal-meta-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; }
  .rescue-banner { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* IMAGE SLOTS */
image-slot { display: block; --image-slot-bg: rgba(255,255,255,0.025); --image-slot-border: 1px dashed rgba(232,137,10,0.3); --image-slot-color: rgba(248,250,255,0.4); }
.img-frame { position: relative; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.img-frame::after { content: ''; position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-top: 3px solid var(--orange); border-left: 3px solid var(--orange); pointer-events: none; z-index: 3; }
.img-frame::before { content: ''; position: absolute; bottom: 0; right: 0; width: 36px; height: 36px; border-bottom: 3px solid var(--orange); border-right: 3px solid var(--orange); pointer-events: none; z-index: 3; }
.img-frame.rescue::after { border-top-color: var(--rescue); border-left-color: var(--rescue); }
.img-frame.rescue::before { border-bottom-color: var(--rescue); border-right-color: var(--rescue); }
.img-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(0deg, rgba(6,14,30,0.92) 0%, transparent 100%); z-index: 2; pointer-events: none; }
.img-caption-tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 3px; }
.img-caption-tag.rescue { color: var(--rescue); }
.img-caption-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.05em; }
.track-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.track-media image-slot { width: 100%; height: 100%; }
.track-media .img-frame { min-height: 100%; aspect-ratio: 16/9; }
@media (max-width: 900px) { .track-media { grid-template-columns: 1fr; } .track-media .img-frame { aspect-ratio: 16/9; } }

/* ════════════════════════════════════════════════ */
/* 3D RESCUE HERO + GSAP                              */
/* ════════════════════════════════════════════════ */
.hero-illus { display: block; }
.hero-3d { position: relative; width: 100%; height: 100%; min-height: 380px; cursor: grab; }
.hero-3d-hint { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,250,255,0.4); pointer-events: none; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-3d-hint::before { content: ''; width: 16px; height: 16px; border: 1.5px solid var(--orange); border-radius: 4px; opacity: 0.7; }
.s3d-nolib { background-image: repeating-linear-gradient(90deg,rgba(255,255,255,0.04) 0 1px,transparent 1px 80px), repeating-linear-gradient(0deg,rgba(255,255,255,0.04) 0 1px,transparent 1px 80px); }
.s3d-card { position: absolute; left: 0; bottom: 22px; z-index: 6; width: min(300px, 88%); background: rgba(10,22,40,0.92); backdrop-filter: blur(12px); border: 1px solid rgba(232,137,10,0.4); border-left: 3px solid var(--orange); padding: 18px 22px 20px; opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.2,.8,.2,1); pointer-events: none; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.s3d-card.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.s3d-card-x { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border: none; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); border-radius: 50%; cursor: pointer; font-size: 0.8rem; line-height: 1; transition: all 0.2s; }
.s3d-card-x:hover { background: var(--orange); color: var(--navy); }
.s3d-card-tag { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.s3d-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.04em; line-height: 1; margin-bottom: 10px; }
.s3d-card-desc { font-size: 0.85rem; line-height: 1.6; color: rgba(248,250,255,0.7); }
.gsap-on .reveal { transition: none; }
@media (max-width: 900px) { .hero-3d { min-height: 320px; } .s3d-card { left: 50%; transform: translateX(-50%) translateY(16px) scale(0.97); } .s3d-card.show { transform: translateX(-50%) translateY(0) scale(1); } }
@media (max-width: 500px) {
  .page-hero-stats { gap: 20px; }
  .ph-stat-num { font-size: 2rem; }
  .programme-inner { padding: 0 16px; }
  .programme-track { padding: 60px 0 40px; }
  .course-row { flex-direction: column; gap: 0; }
  .course-row-right { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.07); }
  .crp-num { font-size: 1.4rem; }
  .course-row-cta { padding: 10px 18px; }
}

