:root {
  --bg: #f5f7fb;
  --bg-soft: #eef3ff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #e7edf9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #52607a;
  --primary: #4d6ef5;
  --primary-strong: #3a5de2;
  --accent: #7c5cf2;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
li {
    display: inline;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  color: var(--text);
}

body :is(h1, h2, h3, h4, h5, h6, p, a, span, li, strong, em, small, label, button, input, textarea, select, figcaption, summary, blockquote, td, th) {
  animation: global-text-glitter 3s ease-in-out infinite alternate;
}

@keyframes global-text-glitter {
  from {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  to {
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.72), 0 0 5px rgba(124, 156, 255, 0.45);
  }
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.footer-email {
  color: var(--muted);
}

.footer-email:hover {
  color: var(--text);
}

.footer-brand-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand-logo {
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 156, 255, 0.5);
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.18), rgba(167, 139, 250, 0.2));
}

.footer-hours {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.business-hours {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.business-hours strong {
  color: var(--text);
}

.nav {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand::before {
  content: "APS";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  background: #1fb6a6;
  color: #07121d;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand span {
  color: var(--primary);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-logo img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(124, 156, 255, 0.25);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.brand-text span {
  color: var(--primary);
}

.logo-showcase {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  margin: 32px 0 44px;
}

.logo-card {
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.2), rgba(167, 139, 250, 0.15));
  padding: 24px;
  min-height: 220px;
}

.logo-card img {
  width: min(180px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(93, 124, 240, 0.33));
}

.logo-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.05em;
}

.logo-copy p,
.logo-copy li {
  color: var(--muted);
  line-height: 1.7;
}
ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #ffffff top: 80px;
    left: -100%;
    text-align: center;
    transition;
    all 0.5s;
}
nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
}
.logo-copy ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.video-card {
  background: rgba(17, 24, 39, 0.76);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  background: rgba(15, 23, 42, 0.9);
}

.video-frame video {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  background: #0f172a;
}

.video-brand-mark {
  position: absolute;
  right: 14px;
  bottom: 42px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100px;
  height: 40px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}

.video-brand-mark img {
  display: block;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.video-card-content {
  padding: 22px 22px 24px;
}

.video-card-content h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.video-card-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.nav-links {
  display: flex;
  order: 3;
  flex: 1 0 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.nav-links a,
.site-footer p {
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a {
  color: #1f2937;
}

.nav-cta {
  margin-left: auto;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.site-footer p,
.site-footer .footer-email,
.site-footer .footer-hours,
.site-footer .brand-text,
.site-footer .brand-text span {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer .footer-email:hover {
  color: #ffffff;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta,
.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 12px 24px rgba(94, 108, 242, 0.35);
}

.nav-cta {
  padding: 0.8rem 1.15rem;
}

.primary-btn {
  padding: 1rem 1.5rem;
}

.secondary-btn {
  padding: 1rem 1.5rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 90px 0 60px;
}

.aps-wordmark {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.aps-wordmark img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.training-page .aps-wordmark img {
  width: 160px;
}

.training-page .nav {
  gap: 14px;
}

.training-page .nav-links {
  gap: 14px;
}

.training-page .nav-links a {
  font-size: 0.84rem;
  white-space: nowrap;
}

.training-page .nav-cta {
  padding: 0.75rem 0.9rem;
  white-space: nowrap;
}

.career-enquiry-section {
  background:
    linear-gradient(115deg, rgba(8, 35, 75, 0.93), rgba(12, 73, 123, 0.78)),
    url("assets/APS/APS MAIN/careerbg2.jpg") center / cover no-repeat;
  color: #ffffff;
}

.career-enquiry-layout,
.partner-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.career-enquiry-copy h1,
.partner-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.career-enquiry-copy .eyebrow,
.partner-hero .eyebrow {
  color: #f7b731;
}

.career-team-tagline {
  margin: -8px 0 14px;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.career-enquiry-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.career-enquiry-copy .career-intro {
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 600;
}

.career-team-image {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(250px, 34vw, 420px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 20px 48px rgba(3, 16, 35, 0.3);
}

.career-enquiry-form,
.partner-enquiry-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: #ffffff;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 20px 60px rgba(4, 20, 44, 0.2);
}

.career-enquiry-form input,
.career-enquiry-form textarea,
.career-enquiry-form select,
.partner-enquiry-form input,
.partner-enquiry-form textarea,
.partner-enquiry-form select {
  width: 100%;
  border: 1px solid rgba(24, 49, 83, 0.18);
  border-radius: 10px;
  background: #ffffff;
  padding: 13px 14px;
  color: #183153;
  font: inherit;
}

.career-enquiry-form textarea,
.partner-enquiry-form textarea {
  min-height: 150px;
}

.career-enquiry-form input::placeholder,
.career-enquiry-form textarea::placeholder,
.partner-enquiry-form input::placeholder,
.partner-enquiry-form textarea::placeholder {
  color: #64748b;
}

.career-enquiry-form select option,
.partner-enquiry-form select option {
  color: #183153;
}

.resume-upload {
  display: grid;
  gap: 10px;
  color: #52607a;
  font-size: 0.92rem;
  font-weight: 600;
}

.career-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: #f7b731;
  padding: 13px 26px;
  color: #0c2d62;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.career-hero-cta:hover,
.career-hero-cta:focus-visible {
  transform: translateY(-2px);
  background: #ffd166;
}

.partner-hero {
  display: flex;
  min-height: 430px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 28, 61, 0.82), rgba(8, 28, 61, 0.25)),
    url("assets/partner3.jpg") center 45% / cover no-repeat;
  color: #ffffff;
}

.partner-hero-content {
  padding-top: 82px;
  padding-bottom: 82px;
}

.partner-hero-content > p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 1.7;
}

.partner-clients {
  overflow: hidden;
  background: #ffffff;
}

.partner-clients .section-heading {
  text-align: center;
}

.partner-clients .section-heading h2 {
  margin: 0 auto;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-logo {
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  padding: clamp(16px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-align: center;
}

.client-logo.google {
  color: #4285f4;
  letter-spacing: -0.06em;
}

.client-logo.ey {
  color: #2e2e38;
  font-style: italic;
}

.client-logo.guidepoint {
  color: #07549a;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.client-logo.xerox {
  color: #e11b22;
}

.client-logo.northern-trust {
  color: #003b71;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
}

.client-logo.samsung {
  color: #1428a0;
  letter-spacing: 0.04em;
}

.client-logo.aws {
  color: #232f3e;
}

.client-logo.cisco {
  color: #049fd9;
}

.client-logo.apple {
  color: #111111;
}

.client-logo.ibm {
  color: #1261fe;
  font-family: Georgia, serif;
  letter-spacing: 0.04em;
}

.client-logo.csc {
  color: #0067a0;
}

.client-logo.philips {
  color: #0756a4;
}

.client-logo.delta-air-lines {
  color: #003366;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
}

.client-logo.ohio-state {
  color: #bb0000;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.client-logo.nysc {
  color: #167342;
}

.client-logo.capital-one {
  color: #004977;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.partner-enquiry-section {
  background:
    linear-gradient(110deg, rgba(7, 33, 71, 0.88), rgba(11, 70, 119, 0.78)),
    url("assets/partner3.jpg") center / cover no-repeat;
  color: #ffffff;
}

.partner-enquiry-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.partner-enquiry-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.resume-upload input {
  padding: 0.75rem !important;
}

.who-we-are-video-hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100vh - 82px));
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0c2d62 url("assets/101.jpg") center / cover no-repeat;
  color: #ffffff;
}

.who-we-are-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-background-brand {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 24px;
  display: block;
  width: min(230px, calc(100% - 48px));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  padding: 8px 10px;
}

.hero-background-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.who-we-are-video-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 47, 0.84), rgba(7, 24, 47, 0.58));
}

.who-we-are-video-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}

.who-we-are-video-content h1 {
  max-width: 800px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.who-we-are-video-content p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.12rem;
  line-height: 1.8;
}

.who-we-are-video-content .eyebrow {
  color: #f7b731;
}

.about-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dce8f3 url("assets/aboutus.jpg") center / cover no-repeat;
}

.page-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-page-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.blogs-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.blogs-page-hero::before,
.blogs-page-hero::after,
.e-learning-hero::before,
.e-learning-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.about-page-hero > .container {
  position: relative;
  z-index: 2;
}

.about-mission {
  background:
    linear-gradient(105deg, rgba(7, 28, 57, 0.88), rgba(10, 55, 91, 0.76)),
    url("assets/Who%20we%20are.jpg") center / cover no-repeat;
  color: #ffffff;
}

.about-mission .split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.about-mission .eyebrow {
  color: #f7b731;
}

.about-mission h2 {
  max-width: 620px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.about-mission .values-card {
  display: grid;
  gap: 14px;
}

.about-mission .value-item {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.about-mission .value-item strong {
  display: block;
  margin-bottom: 6px;
}

.about-mission .value-item span {
  color: var(--muted);
  line-height: 1.6;
}

.blogs-page-hero::before {
  z-index: 0;
  inset: -24px;
  background: url("assets/blogs.jpeg") center / cover no-repeat;
  filter: blur(20px);
}

.blogs-page-hero::after {
  z-index: 1;
  inset: 0;
  background: rgba(255, 255, 255, 0.48);
}

.blogs-page-hero > .container {
  position: relative;
  z-index: 2;
}

.e-learning-hero::before {
  inset: -4px;
  background: url("assets/2.jpg") center / cover no-repeat;
  filter: blur(2px);
}

.e-learning-hero::after {
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
}

.job-openings-hero {
  background:
    linear-gradient(110deg, rgba(7, 27, 54, 0.9), rgba(12, 57, 96, 0.72)),
    url("assets/APS/APS%20MAIN/careerbg2.jpg") center 45% / cover no-repeat;
  color: #ffffff;
}

.job-openings-hero .eyebrow {
  color: #dbeafe;
}

.job-openings-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.job-openings-hero .lead {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

.job-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.job-overview-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.job-overview-card h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.job-overview-card p {
  color: var(--muted);
  line-height: 1.75;
}

.job-overview-card .secondary-btn {
  margin-top: 8px;
}

.about-page-hero .about-hero-grid > div {
  max-width: 680px;
}

.about-page-hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.iso-certification-section {
  background: #ffffff;
}

.iso-certification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.iso-certification-layout h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.iso-certification-layout .lead {
  max-width: 650px;
  margin-top: 22px;
  line-height: 1.75;
}

.iso-certification-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.job-openings-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.job-listing-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.job-listing-card h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.05em;
}

.job-listing-card p {
  color: var(--muted);
  line-height: 1.7;
}

.job-listing-card .primary-btn {
  margin-top: 8px;
}

.job-email-link {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.job-openings-empty h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.job-openings-empty > p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px auto 28px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.72rem;
}

.hero-copy h1,
.section-heading h2,
.about-panel h2,
.contact-wrap h2 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.25rem);
  max-width: 620px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 20px 0 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-list {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 30px 0 0;
  color: var(--muted);
  flex-wrap: wrap;
}

.trust-list li {
  position: relative;
  padding-left: 20px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-card {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(29, 111, 191, 0.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(78, 195, 193, 0.2), transparent 34%),
    rgba(15, 22, 36, 0.8);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.metric-card,
.mini-card {
  background: rgba(18, 24, 39, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  color: white;
}

.metric-card {
  position: relative;
  z-index: 1;
  width: min(78%, 330px);
  padding: 28px 24px;
  transform: translate(-18px, 28px);
}

.metric-card .label,
.mini-card span {
  display: block;
  color: var(--muted);
}

.metric-card strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 10px 0 8px;
}

.metric-card small {
  color: var(--muted);
}

.mini-card {
  position: absolute;
  right: 30px;
  bottom: 34px;
  width: 200px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.mini-card strong {
  margin-top: 7px;
  display: block;
  font-size: 1.5rem;
}

.dot-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-group span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.stats {
  padding: 30px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.6);
  padding: 20px 24px;
}

.stats-grid div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 10px;
  text-align: center;
}

.stats-grid strong {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.stats-grid span {
  color: var(--muted);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.client-item {
  position: relative;
  min-height: 138px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0;
  text-align: center;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  color: white;
  font-weight: 600;
  overflow: hidden;
}

.client-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.client-item:hover .client-image {
  transform: scale(1.04);
  opacity: 0.68;
}

.client-item span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(4, 11, 18, 0.9));
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2,
.about-panel h2,
.contact-wrap h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 700px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card.has-image {
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.service-card-content {
  padding: 22px 24px 26px;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 156, 255, 0.4);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.2), rgba(167, 139, 250, 0.2));
  color: white;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.service-card p,
.about-copy p,
.project-info span {
  color: var(--muted);
  line-height: 1.7;
}

.alt-bg {
  background: rgba(238, 243, 255, 0.8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.about-copy {
  font-size: 1.08rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.blog-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-content {
  padding: 22px;
}

.blog-category {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.blog-card-content > p:not(.blog-category) {
  color: var(--muted);
  line-height: 1.65;
}

.blog-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

.project-card {
  position: relative;
  min-height: 330px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(9, 15, 27, 0.5);
}

.project-one {
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.08), rgba(11, 16, 32, 0.75)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80");
}

.project-two {
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.08), rgba(11, 16, 32, 0.75)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80");
}

.project-three {
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.08), rgba(11, 16, 32, 0.75)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80");
}

.project-info {
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(12, 16, 26, 0.95));
  padding: 22px 20px 20px;
}

.project-info h3 {
  margin: 8px 0 0;
  font-size: 1.7rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 36px;
  background: rgba(12, 18, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 42px 32px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1rem;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-visual {
  margin-top: 24px;
  max-width: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-visual img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.global-presence {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #f5f8ff;
  color: var(--text);
  padding: 20px;
}

.global-presence > .eyebrow {
  margin: 0 0 8px;
  color: var(--primary-strong);
}

.global-presence h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.25;
}

.global-map {
  margin: 8px 0 0;
}

.global-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.global-map figcaption {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select:invalid {
  color: #a8b5cf;
}

.contact-form select option {
  color: #111827;
}

.course-search {
  width: min(100%, 520px);
  margin: 0 0 28px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
}

.course-search::placeholder {
  color: var(--muted);
}

.training-page .service-card {
  position: relative;
}

.training-page .service-card::after {
  content: "ONLINE";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(5, 17, 25, 0.82);
  color: #e9fffb;
  font-size: 0.68rem;
  font-weight: 700;
}

#trainingCatalog article[hidden] {
  display: none;
}

.site-footer {
  padding: 20px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0d;
}

.chatbot-widget {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 999px;
  width: 64px;
  height: 64px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(29, 111, 191, 0.38);
}

.chat-panel {
  width: 320px;
  background: rgba(10, 18, 28, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}

.chat-panel.open {
  display: block;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(17, 25, 36, 0.9);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.chat-close {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-messages {
  max-height: 220px;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.message.bot {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  align-self: flex-start;
}

.message.user {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  align-self: flex-end;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-input-row input {
  flex: 1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}

.chat-input-row button {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(165px, 0.85fr) minmax(210px, 1.05fr) minmax(275px, 1.25fr) minmax(180px, 0.85fr);
  align-items: center;
  gap: 20px 24px;
}

.footer-certification {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
}

.footer-certification-item {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.footer-certification-item img {
  display: block;
  width: min(100%, 240px);
  height: auto;
  border-radius: 4px;
}

.footer-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: start;
  gap: 36px;
  padding: 28px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-company-summary {
  max-width: 680px;
  justify-self: start;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.footer-company-summary h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.footer-company-summary p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  text-align: center;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: start;
  gap: 12px 20px;
  padding: 4px 0;
}

.footer-navigation a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-navigation a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-aps-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 10px;
}

.footer-aps-logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.footer-aps-logo {
  gap: 10px;
}

.footer-contact {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-contact a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #ffffff;
}

.footer-social {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.footer-social .social-links {
  gap: 9px;
}

.footer-social .social-link {
  width: 38px;
  height: 38px;
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .footer-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-navigation {
    justify-content: flex-start;
  }

  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 20px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-grid,
  .about-grid,
  .about-mission .split-layout,
  .iso-certification-layout,
  .job-overview-grid,
  .job-listings,
  .contact-wrap,
  .career-enquiry-layout,
  .partner-enquiry-layout,
  .card-grid,
  .blog-grid,
  .project-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 0;
  }

  .hero {
    padding-top: 60px;
  }

  .partner-hero {
    min-height: 360px;
  }

  .who-we-are-video-hero {
    min-height: 560px;
  }

  .career-enquiry-form,
  .partner-enquiry-form {
    width: 100%;
  }

  .site-footer .footer-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact,
  .footer-social {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 1200px) {
  .container {
    width: min(100% - 40px, 960px);
  }

  .nav {
    height: auto;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .training-page .nav-links a {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 36px, 720px);
  }

  .section {
    padding: 76px 0;
  }

  .card-grid,
  .blog-grid,
  .project-grid,
  .client-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-enquiry-layout,
  .partner-enquiry-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .career-team-image {
    height: clamp(220px, 48vw, 340px);
    border-radius: 18px;
  }

  .career-enquiry-form,
  .partner-enquiry-form {
    min-width: 0;
  }

  .contact-wrap {
    padding: 30px 24px;
  }

  .who-we-are-video-hero {
    min-height: min(680px, calc(100svh - 120px));
  }

  .chatbot-widget {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

  .nav {
    gap: 12px;
  }

  .aps-wordmark img,
  .training-page .aps-wordmark img {
    width: min(180px, 52vw);
  }

  .nav-cta {
    padding: 0.7rem 0.85rem;
    font-size: 0.82rem;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .nav-links a,
  .training-page .nav-links a {
    font-size: 0.84rem;
  }

  .partner-hero {
    min-height: 340px;
  }

  .partner-hero-content,
  .who-we-are-video-content {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-grid,
  .about-grid,
  .iso-certification-layout,
  .job-overview-grid,
  .job-listings,
  .contact-wrap,
  .career-enquiry-layout,
  .partner-enquiry-layout,
  .card-grid,
  .blog-grid,
  .project-grid,
  .stats-grid,
  .client-grid,
  .video-grid,
  .logo-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    min-height: 340px;
  }

  .metric-card {
    transform: none;
  }

  .mini-card {
    right: 12px;
    bottom: 12px;
    width: min(190px, calc(100% - 24px));
    padding: 14px;
  }

  .client-logo-grid {
    gap: 10px;
  }

  .client-logo {
    padding: 12px;
    font-size: clamp(1.15rem, 6vw, 1.65rem);
  }

  .contact-wrap {
    gap: 24px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .global-presence {
    padding: 14px;
  }

  .footer-overview {
    padding: 24px 0;
  }

  .footer-navigation {
    gap: 10px 16px;
  }

  .chatbot-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-panel {
    width: min(320px, calc(100vw - 24px));
  }

  .chat-toggle {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body :is(h1, h2, h3, h4, h5, h6, p, a, span, li, strong, em, small, label, button, input, textarea, select, figcaption, summary, blockquote, td, th) {
    animation: none;
  }
}
