:root {

  color-scheme: dark;

  --bg: #08090d;

  --bg-soft: #0c0e14;

  --panel: #10131b;

  --panel-raised: #131722;

  --text: #f4f5f8;

  --muted: #a0a5b2;

  --quiet: #727887;

  --line: rgba(190, 199, 222, .13);

  --cyan: #62d8ef;

  --violet: #9c83ff;

  --gradient: linear-gradient(110deg, #5ad7ed 0%, #7c9bff 53%, #ad7aff 100%);

  --shell: 1180px;

  --radius: 18px;

  font-synthesis: none;

}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {

  min-width: 320px;

  margin: 0;

  overflow-x: hidden;

  background: var(--bg);

  color: var(--text);

  font: 400 15px/1.7 "DM Sans", "Segoe UI", sans-serif;

  -webkit-font-smoothing: antialiased;

}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { font-family: "Space Grotesk", "DM Sans", sans-serif; letter-spacing: -.045em; }

p { color: var(--muted); }

::selection { color: #08090d; background: #7edcf2; }

:focus-visible { outline: 2px solid #78dff0; outline-offset: 4px; }

.container { width: min(var(--shell), calc(100% - 56px)); margin-inline: auto; }

.section-anchor { scroll-margin-top: 88px; }

.skip {

  position: fixed;

  z-index: 200;

  top: -80px;

  left: 18px;

  padding: 10px 14px;

  border-radius: 8px;

  background: var(--text);

  color: var(--bg);

}

.skip:focus { top: 16px; }

.page-glow {

  position: fixed;

  z-index: -1;

  inset: 0;

  pointer-events: none;

  background:

    radial-gradient(ellipse 42% 28% at 82% 10%, rgba(80, 119, 205, .10), transparent 72%),

    radial-gradient(ellipse 38% 30% at 8% 79%, rgba(120, 71, 176, .08), transparent 75%);

}

.gradient-text {

  color: transparent;

  background: var(--gradient);

  background-clip: text;

  -webkit-background-clip: text;

}

.eyebrow {

  display: block;

  margin-bottom: 14px;

  color: var(--cyan);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: .16em;

}

/* Compact, sticky navigation */

.site-header {

  position: sticky;

  z-index: 100;

  top: 0;

  height: 74px;

  border-bottom: 1px solid rgba(255, 255, 255, .055);

  background: rgba(8, 9, 13, .82);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  transition: background .2s, box-shadow .2s;

}

.site-header.is-scrolled {

  background: rgba(8, 9, 13, .96);

  box-shadow: 0 12px 38px rgba(0, 0, 0, .24);

}

.nav-shell { display: flex; height: 100%; align-items: center; gap: 24px; }

.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; white-space: nowrap; }

.brand-mark {

  display: grid;

  width: 38px;

  height: 38px;

  place-items: center;

  border-radius: 10px;

  background: var(--gradient);

  color: #0a0c12;

  font: 700 14px/1 "Space Grotesk", sans-serif;

  letter-spacing: -.075em;

}

.brand-mark span { color: #25213a; }

.brand-wordmark { color: #e8eaf0; font-size: 14px; font-weight: 500; letter-spacing: -.03em; }

.brand-wordmark strong { color: #fff; font-weight: 700; }

.site-nav {

  display: flex;

  align-items: center;

  gap: 3px;

  margin-left: auto;

  padding: 4px;

  border: 1px solid rgba(255, 255, 255, .07);

  border-radius: 999px;

  background: rgba(255, 255, 255, .025);

}

.nav-link {

  padding: 8px 11px;

  border-radius: 999px;

  color: #a1a7b5;

  font-size: 13px;

  font-weight: 600;

  line-height: 1.3;

  transition: color .18s, background .18s;

}

.nav-link:hover, .nav-link.is-active { background: rgba(144, 164, 213, .12); color: #fff; }

.nav-contact {

  display: inline-flex;

  flex: 0 0 auto;

  align-items: center;

  gap: 12px;

  padding: 10px 15px;

  border-radius: 999px;

  background: var(--gradient);

  box-shadow: 0 7px 25px rgba(83, 124, 220, .16);

  color: #090b12;

  font-size: 13px;

  font-weight: 700;

  transition: transform .2s, box-shadow .2s;

}

.nav-contact:hover, .btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(111, 126, 238, .28); }

.nav-contact span { font-size: 15px; }

.menu-btn {

  display: none;

  width: 42px;

  height: 40px;

  flex: 0 0 auto;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  border: 1px solid var(--line);

  border-radius: 11px;

  background: var(--panel);

  cursor: pointer;

}

.menu-btn span { width: 18px; height: 1.5px; background: var(--text); transition: transform .2s, opacity .2s; }

.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }

.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */

.hero {

  position: relative;

  overflow: hidden;

  background:

    radial-gradient(ellipse 44% 64% at 79% 34%, rgba(57, 78, 142, .15), transparent 77%),

    radial-gradient(ellipse 30% 40% at 13% 98%, rgba(100, 53, 146, .08), transparent 80%),

    var(--bg);

}

.hero-grid {

  position: absolute;

  inset: 0;

  pointer-events: none;

  opacity: .21;

  background-image: radial-gradient(rgba(141, 156, 190, .8) .7px, transparent .7px);

  background-size: 28px 28px;

  mask-image: linear-gradient(90deg, transparent 7%, #000 88%);

}

.hero-inner {

  position: relative;

  display: grid;

  min-height: 590px;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 54px;

  padding-block: 54px 48px;

}

.hero-copy { position: relative; z-index: 2; max-width: 590px; }

.availability {

  display: inline-flex;

  min-height: 34px;

  align-items: center;

  gap: 9px;

  margin-bottom: 18px;

  padding: 6px 12px;

  border: 1px solid rgba(71, 194, 139, .2);

  border-radius: 999px;

  background: rgba(31, 120, 81, .1);

  color: #83e3ae;

  font-size: 12.5px;

  font-weight: 600;

  line-height: 1.4;

}

.live-dot {

  width: 7px;

  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #64dfa0;

  box-shadow: 0 0 0 4px rgba(80, 214, 155, .11);

  animation: statuspulse 2s infinite;

}

.hero-eyebrow { margin-bottom: 20px; color: #a8b2c8; font-size: 12px; }

.hero-eyebrow span { padding-inline: 5px; color: #727b8e; }

.hero h1 {

  margin: 0 0 8px;

  font-size: clamp(60px, 4.7vw, 70px);

  font-weight: 700;

  line-height: .98;

  letter-spacing: -.07em;

}

.title-period { color: #fff; }

.typed-role {

  min-height: 36px;

  margin: 0 0 13px;

  overflow: hidden;

  color: #d3d9e7;

  font: 600 clamp(20px, 1.7vw, 24px)/1.5 "Space Grotesk", sans-serif;

  letter-spacing: -.02em;

}

.role-accent { color: #72d6ec; }

.blink-cursor { margin-left: 3px; color: #a88aff; animation: blink 1s step-end infinite; }

.hero-desc { max-width: 520px; margin: 0 0 21px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; }

.hero-desc a { color: #edf2ff; border-bottom: 1px dotted rgba(179, 197, 235, .62); }

.hero-desc a:hover { color: var(--cyan); }

.stats-row { display: grid; max-width: 580px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin: 0 0 32px; }

.stat { min-width: 0; padding: 1px 11px 0 0; }

.stat + .stat { padding-left: 12px; border-left: 1px solid var(--line); }

.stat strong { display: block; color: #f2f5fb; font: 600 clamp(28px, 2.4vw, 34px)/1.15 "Space Grotesk", sans-serif; letter-spacing: -.06em; white-space: nowrap; }

.stat span { display: block; margin-top: 8px; color: #8d95a6; font-size: 12px; line-height: 1.4; }

.stats-disclaimer { margin: 10px 0 17px; color: #777f8d; font-size: 10px; line-height: 1.45; }

.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero-actions .btn { min-height: 48px; font-size: 14px; }

.btn {

  display: inline-flex;

  min-height: 46px;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 11px 18px;

  border: 1px solid transparent;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 700;

  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;

}

.btn-gradient { background: var(--gradient); color: #090b12; }

.btn-outline { border-color: rgba(181, 193, 221, .24); background: rgba(255, 255, 255, .025); color: #e7eaf1; }

.btn-outline:hover { transform: translateY(-2px); border-color: rgba(112, 210, 235, .62); background: rgba(90, 144, 185, .08); }

.mini-socials { display: flex; align-items: center; gap: 9px; margin-top: 19px; }

.mini-socials a {

  display: grid;

  width: 34px;

  height: 34px;

  place-items: center;

  border: 1px solid var(--line);

  border-radius: 9px;

  background: rgba(255, 255, 255, .025);

  color: #c4ccdc;

  font-size: 13px;

  font-weight: 700;

  transition: border-color .2s, color .2s, background .2s;

}

.mini-socials a:hover { border-color: rgba(98, 216, 239, .48); background: rgba(98, 216, 239, .08); color: #fff; }

.social-note { margin-left: 5px; color: #72798a; font-size: 10px; font-weight: 700; letter-spacing: .14em; }

.hero-visual { position: relative; display: grid; min-height: 450px; place-items: center; isolation: isolate; }

.portrait-orbit { position: absolute; border: 1px solid rgba(108, 139, 213, .2); border-radius: 50%; pointer-events: none; }

.orbit-one { width: min(440px, 96%); aspect-ratio: 1; animation: orbfloat 12s ease-in-out infinite; }

.orbit-two { width: min(365px, 80%); aspect-ratio: 1; border-style: dashed; border-color: rgba(155, 128, 233, .19); }

.portrait-slot {

  position: relative;

  display: grid;

  width: min(360px, 78%);

  aspect-ratio: 1;

  place-items: center;

  overflow: hidden;

  border: 1px solid rgba(154, 174, 231, .36);

  border-radius: 50%;

  background: linear-gradient(145deg, #151b2a, #10111a 76%);

  box-shadow: 0 0 0 9px rgba(130, 163, 221, .035), 0 25px 90px rgba(0, 0, 0, .38);

}

.portrait-slot img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 38%; }

.float-chip {

  position: absolute;

  z-index: 3;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 11px 14px;

  border: 1px solid rgba(154, 174, 219, .22);

  border-radius: 13px;

  background: rgba(15, 19, 29, .94);

  box-shadow: 0 14px 38px rgba(0, 0, 0, .32);

  animation: chipfloat 5s ease-in-out infinite;

}

.chip-top { top: 48px; right: 0; }

.chip-bottom { bottom: 52px; left: 0; animation-delay: -2.4s; }

.chip-mark {

  display: grid;

  width: 34px;

  height: 34px;

  flex: 0 0 auto;

  place-items: center;

  border: 1px solid rgba(76, 195, 205, .2);

  border-radius: 9px;

  background: rgba(69, 183, 197, .11);

  color: #8ce2e7;

  font-size: 10px;

  font-weight: 800;

}

.chip-mark-violet { border-color: rgba(155, 128, 233, .24); background: rgba(131, 98, 205, .13); color: #c1a8ff; }

.float-chip strong { display: block; font-size: 12px; font-weight: 700; line-height: 1.4; }

.visual-caption { position: absolute; right: 7px; bottom: 7px; color: #7c879e; font-size: 9px; font-weight: 700; letter-spacing: .14em; }

/* Focus Areas: accessible, continuously scrolling marquee */
.focus-strip {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.06);
  background: rgba(16,19,29,.55);
}
.focus-inner { display: flex; min-height: 68px; align-items: center; gap: clamp(18px,2.6vw,36px); }
.focus-label { flex: 0 0 auto; color: #818a9c; font-size: 11px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }
.focus-marquee {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-block: 13px;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
}
.focus-marquee:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.focus-track { display: flex; align-items: center; width: max-content; animation: mr-focus-scroll 30s linear infinite; will-change: transform; }
.focus-group { display: flex; align-items: center; flex: 0 0 auto; }
.focus-item {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  padding-right: 46px;
  color: #c9cedb;
  font-size: clamp(14px,1vw,16px);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  transform-origin: center;
  transition: transform .24s ease, color .24s ease, text-shadow .24s ease;
}
.focus-item::after { content: "·"; position: absolute; right: 19px; color: #7971bc; }
.focus-marquee:hover .focus-track,
.focus-marquee:focus-within .focus-track { animation-play-state: paused; }
.focus-item:hover { transform: scale(1.1); color: #89d6ff; text-shadow: 0 0 18px rgba(125,119,255,.4); }
@keyframes mr-focus-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Shared section rhythm and headings */

.section { position: relative; padding-block: 76px; }

.experience-section, .gallery-section, .credentials-section, .courses-section, .testimonials-section { padding-block: 68px; }

.about-section, .experience-section, .gallery-section, .testimonials-section { background: rgba(12, 14, 20, .74); }

.expertise-section, .work-section, .credentials-section { background: rgba(8, 9, 13, .76); }

.section h2 { margin: 0; font-size: clamp(32px, 3.2vw, 43px); font-weight: 600; line-height: 1.12; letter-spacing: -.055em; }

.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }

.heading-row > p { max-width: 360px; margin: 0 0 4px; font-size: 15px; line-height: 1.7; }

.heading-row .eyebrow { margin-bottom: 13px; }

.section-intro .eyebrow { margin-bottom: 15px; }

/* About Me — centered, single-column personal introduction */
.about-section { padding-block: clamp(76px,7.5vw,104px); }
.about-layout { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-centered-content { display: flex; width: 100%; max-width: 830px; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.about-centered-content .about-eyebrow { margin: 0; }
.about-centered-content h2 { margin: 0; max-width: 830px; font-size: clamp(36px,4vw,48px); line-height: 1.18; letter-spacing: -.04em; text-wrap: balance; }
.about-centered-content .about-lead { margin: 0; max-width: 790px; color: #e1e3ec; font-size: clamp(17px,1.45vw,20px); font-weight: 500; line-height: 1.6; }
.about-centered-content .about-description { margin: 0; max-width: 730px; color: #a4aabc; font-size: clamp(15px,1.15vw,17px); line-height: 1.72; }

/* Expertise cards */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.service-card {

  position: relative;

  min-height: 235px;

  padding: 25px 25px 23px;

  overflow: hidden;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: linear-gradient(145deg, rgba(20, 24, 34, .94), rgba(13, 16, 24, .96));

  transition: transform .22s, border-color .22s, box-shadow .22s;

}

.service-card::before { position: absolute; inset: 0; background: radial-gradient(circle at 0 0, rgba(92, 175, 212, .1), transparent 62%); content: ""; opacity: 0; transition: opacity .22s; }

.service-card:hover { transform: translateY(-4px); border-color: rgba(105, 190, 215, .35); box-shadow: 0 18px 42px rgba(0, 0, 0, .2); }

.service-card:hover::before { opacity: 1; }

.service-card > * { position: relative; }

.service-no { position: absolute !important; top: 23px; right: 24px; color: #687184; font-size: 11px; font-weight: 600; }

.service-icon {

  display: grid;

  width: 43px;

  height: 43px;

  margin-bottom: 20px;

  place-items: center;

  border: 1px solid rgba(103, 172, 214, .18);

  border-radius: 12px;

  background: rgba(74, 129, 179, .1);

  color: #88d9e8;

  font-size: 20px;

}

.service-card h3 { margin: 0 0 9px; font-size: 19px; font-weight: 600; line-height: 1.25; }

.service-card p { min-height: 53px; margin: 0 0 17px; font-size: 14px; line-height: 1.65; }

.skill-tags, .work-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.skill-tags span, .work-tags span { padding: 4px 9px; border: 1px solid rgba(143, 166, 207, .16); border-radius: 999px; background: rgba(102, 130, 176, .07); color: #b1c2d7; font-size: 11px; line-height: 1.4; }

/* Professional journey */

.journey-list { border-top: 1px solid var(--line); }

.journey-item { display: grid; grid-template-columns: 150px 20px minmax(0, 1fr) 35px; gap: 18px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line); }

.journey-date { padding-top: 4px; color: #8ed8eb; font-size: 12px; font-weight: 700; letter-spacing: .06em; }

.journey-node { width: 10px; height: 10px; margin-top: 8px; border: 2px solid #79d6e8; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px rgba(121, 214, 232, .08); }

.journey-type { color: #9299a8; font-size: 11px; font-weight: 700; letter-spacing: .12em; }

.journey-body h3 { margin: 5px 0 7px; font-size: 21px; font-weight: 600; }

.journey-body p { max-width: 710px; margin: 0; font-size: 14px; line-height: 1.75; }

.journey-index { justify-self: end; color: #687084; font: 500 13px "Space Grotesk", sans-serif; }

/* Photo placeholders - no illustrative or generated event imagery */

.gallery-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 16px; }

.gallery-placeholder {

  display: flex;

  min-height: 255px;

  align-items: flex-start;

  justify-content: flex-end;

  flex-direction: column;

  padding: 25px;

  overflow: hidden;

  border: 1px dashed rgba(139, 157, 196, .28);

  border-radius: var(--radius);

  background:

    radial-gradient(circle at 87% 12%, rgba(75, 122, 176, .13), transparent 48%),

    linear-gradient(145deg, #121620, #0d1017);

}

.gallery-main { min-height: 285px; background: radial-gradient(circle at 82% 12%, rgba(113, 90, 190, .18), transparent 55%), linear-gradient(145deg, #151722, #0d1017); }

.gallery-symbol { margin-bottom: auto; color: #8aa3c5; font-size: 35px; line-height: 1; opacity: .75; }

.gallery-label { color: #8bd1e2; font-size: 10px; font-weight: 700; letter-spacing: .13em; }

.gallery-placeholder h3 { margin: 8px 0 5px; font-size: 19px; font-weight: 600; }

.gallery-placeholder p { max-width: 280px; margin: 0; font-size: 13px; line-height: 1.6; }

.gallery-note, .testimonial-note { margin: 16px 0 0; color: #858c9b; font-size: 12px; }

/* Training themes */

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.work-card {

  display: flex;

  min-height: 270px;

  align-items: flex-start;

  flex-direction: column;

  padding: 24px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: linear-gradient(150deg, #121621, #0e1118);

  transition: transform .22s, border-color .22s;

}

.work-card:hover { transform: translateY(-4px); border-color: rgba(141, 126, 226, .35); }

.work-index { color: #8f99ab; font-size: 10px; font-weight: 700; letter-spacing: .13em; }

.work-icon { margin: 20px 0 12px; color: #9e8df0; font-size: 25px; line-height: 1; }

.work-card h3 { margin: 0 0 9px; font-size: 19px; font-weight: 600; line-height: 1.35; }

.work-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.7; }

.work-tags { margin-top: auto; }

/* Credentials */

.credentials-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }

.credentials-note { max-width: 390px; margin: 17px 0 0; font-size: 14px; line-height: 1.7; }

.credential-list { display: grid; gap: 13px; }

.credential-card {

  display: grid;

  grid-template-columns: 48px minmax(0, 1fr) 20px;

  gap: 16px;

  align-items: center;

  padding: 20px;

  border: 1px solid var(--line);

  border-radius: 15px;

  background: linear-gradient(140deg, rgba(21, 25, 36, .86), rgba(14, 16, 24, .9));

  transition: transform .2s, border-color .2s;

}

.credential-card:hover { transform: translateX(3px); border-color: rgba(105, 190, 215, .32); }

.credential-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(76, 195, 205, .2); border-radius: 13px; background: rgba(69, 183, 197, .1); color: #8ce2e7; font-size: 11px; font-weight: 800; }

.credential-mark-violet { border-color: rgba(155, 128, 233, .23); background: rgba(131, 98, 205, .12); color: #c1a8ff; }

.credential-type { color: #8f99aa; font-size: 10px; font-weight: 700; letter-spacing: .12em; }

.credential-card h3 { margin: 4px 0; font-size: 17px; font-weight: 600; line-height: 1.3; }

.credential-card p { margin: 0; font-size: 12px; }

.credential-arrow { color: #828ba0; font-size: 16px; }

/* Testimonials */

.section-heading { max-width: 680px; margin: 0 auto 34px; }

.section-heading.center { text-align: center; }

.section-heading h2 { margin-bottom: 13px; }

.section-heading > p { margin: 0 auto; font-size: 15px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }

.quote-card {

  display: flex;

  min-height: 300px;

  flex-direction: column;

  padding: 24px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: linear-gradient(150deg, #131721, #0d1017);

}

.quote-mark { height: 27px; color: #a78aff; font: 500 40px/.95 "Space Grotesk", sans-serif; }

.quote-card blockquote { flex: 1; margin: 12px 0 22px; color: #d7dbe5; font-size: 14px; line-height: 1.8; }

.quote-author { display: flex; align-items: center; gap: 11px; padding-top: 15px; border-top: 1px solid var(--line); }

.avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(128, 154, 206, .23); border-radius: 50%; background: #182133; color: #c7d7ef; font-size: 11px; font-weight: 700; }

.quote-author b { display: block; font-size: 12px; }

.quote-author small { display: block; margin-top: 2px; color: #8d96a8; font-size: 11px; }

.testimonial-note { text-align: center; }

/* Contact and footer */

.contact-section { padding-top: 70px; padding-bottom: 90px; background: var(--bg); }

.contact-box {

  position: relative;

  overflow: hidden;

  border: 1px solid rgba(130, 139, 216, .25);

  border-radius: 25px;

  background:

    radial-gradient(ellipse 55% 100% at 50% 110%, rgba(107, 89, 205, .22), transparent 80%),

    radial-gradient(circle at 0 0, rgba(53, 164, 196, .08), transparent 42%),

    #10131c;

}

.contact-inner { position: relative; padding: 62px 24px; text-align: center; }

.contact-inner .eyebrow { margin-bottom: 13px; }

.contact-inner h2 { font-size: clamp(34px, 4vw, 51px); }

.contact-inner > p { max-width: 500px; margin: 15px auto 24px; font-size: 15px; }

.contact-actions { justify-content: center; }

.contact-email { display: inline-block; margin-top: 20px; border-bottom: 1px dotted #8f9eba; color: #b6c8e8; font-size: 13px; }

.contact-email:hover { color: #fff; }

.site-footer { border-top: 1px solid var(--line); background: #07080b; }

.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; padding-block: 35px; }

.footer-inner > p { margin: 0; font-size: 13px; line-height: 1.8; }

.footer-inner > p span { color: #777f8e; }

.footer-links { display: grid; grid-template-columns: repeat(2, max-content); justify-content: end; gap: 8px 20px; }

.footer-links a { color: #a3adbf; font-size: 12px; transition: color .18s; }

.footer-links a:hover, .footer-bottom a:hover { color: var(--cyan); }

.footer-bottom { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: #7a8291; font-size: 11px; }

.footer-bottom a { color: #a6b0c1; transition: color .18s; }

/* Scroll reveals and restrained motion */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .62s ease, transform .62s cubic-bezier(.2, .7, .25, 1); }

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.card-grid .reveal:nth-child(2), .work-grid .reveal:nth-child(2), .testimonial-grid .reveal:nth-child(2) { transition-delay: .07s; }

.card-grid .reveal:nth-child(3), .work-grid .reveal:nth-child(3), .testimonial-grid .reveal:nth-child(3) { transition-delay: .14s; }

@keyframes blink { 50% { opacity: 0; } }

@keyframes orbfloat { 50% { transform: translateY(-10px); } }

@keyframes chipfloat { 50% { translate: 0 -6px; } }

@keyframes statuspulse { 50% { box-shadow: 0 0 0 7px rgba(80, 214, 155, .035); } }

@media (max-width: 1100px) {

  .nav-shell { gap: 12px; }

  .site-nav {

    position: absolute;

    top: 66px;

    right: 28px;

    left: 28px;

    display: none;

    max-height: calc(100vh - 82px);

    align-items: stretch;

    flex-direction: column;

    gap: 2px;

    overflow-y: auto;

    padding: 10px;

    border: 1px solid rgba(142, 163, 215, .22);

    border-radius: 16px;

    background: rgba(13, 16, 24, .98);

    box-shadow: 0 24px 70px rgba(0, 0, 0, .56);

  }

  .site-nav.is-open { display: flex; }

  .nav-link { padding: 11px 13px; border-radius: 9px; font-size: 14px; }

  .nav-contact { margin-left: auto; }

  .menu-btn { display: flex; }

  .hero-inner { gap: 28px; }

  .hero-visual { min-height: 405px; }

  .portrait-slot { width: min(320px, 78%); }

  .float-chip { padding: 9px 11px; }

  .float-chip strong { font-size: 11px; }

  .chip-top { right: -2px; }

  .chip-bottom { left: -2px; }

  .credentials-layout { gap: 45px; }

  .gallery-grid { grid-template-columns: 1.1fr 1fr 1fr; }

}

@media (max-width: 880px) {

  .container { width: min(var(--shell), calc(100% - 44px)); }

  .section { padding-block: 72px; }

  .experience-section, .gallery-section, .credentials-section, .courses-section, .testimonials-section { padding-block: 66px; }

  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-block: 58px 48px; }

  .hero-copy { max-width: 650px; }

  .hero-visual { width: min(100%, 560px); min-height: 430px; margin-inline: auto; }

  .portrait-slot { width: min(350px, 72%); }

  .orbit-one { width: min(440px, 92%); }

  .orbit-two { width: min(365px, 77%); }

  .focus-inner { align-items: center; flex-direction: row; gap: 16px; padding-block: 0; }

  .focus-item { padding-right: 38px; font-size: 14px; }
  .focus-item::after { right: 16px; }

  .heading-row { align-items: flex-start; flex-direction: column; gap: 12px; }

  .heading-row > p { max-width: 560px; }

  .credentials-layout { grid-template-columns: 1fr; gap: 24px; }

  .about-centered-content { max-width: 740px; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-main { grid-column: 1 / -1; min-height: 250px; }

  .testimonial-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .quote-card:last-child, .work-card:last-child { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; }

  .footer-links { grid-column: 2; grid-row: 1; }

}

@media (max-width: 600px) {

  .container { width: calc(100% - 36px); }

  .site-header { height: 66px; }

  .brand { gap: 8px; }

  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }

  .brand-wordmark { font-size: 12px; }

  .site-nav { top: 60px; right: 18px; left: 18px; }

  .nav-contact { gap: 6px; padding: 9px 11px; font-size: 11px; }

  .menu-btn { width: 39px; height: 38px; }

  .hero-inner { gap: 20px; padding-block: 48px 40px; }

  .availability { max-width: 100%; margin-bottom: 15px; padding: 6px 10px; font-size: clamp(10px, 3.2vw, 12px); }

  .hero-eyebrow { margin-bottom: 16px; font-size: 10px; }

  .hero h1 { font-size: clamp(51px, 12vw, 64px); }

  .typed-role { min-height: 27px; margin-bottom: 9px; font-size: clamp(16px, 4.2vw, 18px); white-space: nowrap; }

  .hero-desc { margin-bottom: 17px; font-size: 14px; }

  .stats-row { margin-bottom: 28px; }

  .stat { padding-right: 5px; }

  .stat + .stat { padding-left: 6px; }

  .stat strong { font-size: clamp(18px, 5.2vw, 24px); }

  .stat span { margin-top: 7px; font-size: clamp(10px, 2.8vw, 11px); }

  .stats-disclaimer { margin: 8px 0 14px; font-size: 9px; }

  .btn { min-height: 44px; padding: 10px 14px; font-size: 12px; }

  .hero-actions { gap: 12px; }

  .hero-actions .btn { min-height: 46px; font-size: 12.5px; }

  .social-note { font-size: 9px; letter-spacing: .1em; }

  .hero-visual { min-height: 345px; }

  .portrait-slot { width: min(290px, 76%); }

  .orbit-one { width: min(360px, 94%); }

  .orbit-two { width: min(310px, 82%); }

  .float-chip { max-width: 84%; gap: 8px; padding: 8px 9px; }

  .chip-mark { width: 30px; height: 30px; }

  .float-chip strong { font-size: 10px; }

  .chip-top { top: 24px; right: 0; }

  .chip-bottom { bottom: 35px; left: 0; }

  .visual-caption { right: 2px; bottom: 0; font-size: 8px; }

  .focus-label { font-size: 10px; }
  .focus-item { padding-right: 30px; font-size: 13px; }
  .focus-item::after { right: 12px; }

  .section { padding-block: 56px; }

  .experience-section, .gallery-section, .credentials-section, .courses-section, .testimonials-section { padding-block: 52px; }

  .section h2 { font-size: clamp(31px, 8vw, 39px); }

  .heading-row { margin-bottom: 26px; }

  .heading-row > p, .section-heading > p { font-size: 14px; }

  .about-centered-content { gap: 24px; }
  .about-centered-content h2 { font-size: clamp(30px,8vw,40px); }
  .about-centered-content .about-lead { font-size: 17px; }
  .about-centered-content .about-description { font-size: 15px; }

  .card-grid { grid-template-columns: 1fr; gap: 12px; }

  .service-card { min-height: 0; padding: 22px; }

  .service-card p { min-height: 0; }

  .journey-item { grid-template-columns: 18px minmax(0, 1fr); gap: 10px 13px; padding-block: 20px; }

  .journey-date { grid-column: 2; grid-row: 1; font-size: 11px; }

  .journey-node { grid-column: 1; grid-row: 1; margin-top: 6px; }

  .journey-body { grid-column: 2; grid-row: 2; }

  .journey-body h3 { font-size: 19px; }

  .journey-body p { font-size: 13px; }

  .journey-index { display: none; }

  .gallery-grid, .testimonial-grid, .work-grid { grid-template-columns: 1fr; }

  .gallery-main { grid-column: auto; min-height: 235px; }

  .gallery-placeholder { min-height: 210px; padding: 22px; }

  .quote-card:last-child, .work-card:last-child { grid-column: auto; }

  .quote-card { min-height: 0; padding: 22px; }

  .quote-card blockquote { font-size: 14px; }

  .work-card { min-height: 0; padding: 22px; }

  .credential-card { grid-template-columns: 42px minmax(0, 1fr) 16px; gap: 12px; padding: 16px; }

  .credential-mark { width: 42px; height: 42px; }

  .credential-card h3 { font-size: 15px; }

  .credential-card p { font-size: 11px; }

  .contact-section { padding-block: 52px 68px; }

  .contact-inner { padding: 48px 18px; }

  .contact-inner > p { font-size: 14px; }

  .footer-inner { gap: 18px; padding-block: 28px; }

  .footer-links { grid-template-columns: 1fr; justify-content: end; gap: 6px; }

  .footer-links a { font-size: 11px; }

  .footer-bottom { min-height: 52px; }

}

@media (max-width: 370px) {

  .container { width: calc(100% - 30px); }

  .nav-shell { gap: 7px; }

  .brand-wordmark { font-size: 11px; }

  .nav-contact { padding-inline: 8px; font-size: 10px; }

  .menu-btn { width: 36px; }

  .hero h1 { font-size: 50px; }

  .hero-desc { font-size: 14px; }

  .stat { padding-right: 3px; }

  .stat + .stat { padding-left: 4px; }

  .stat strong { font-size: clamp(16px, 5vw, 18px); }

  .stat span { font-size: 10px; }

  .hero-actions { gap: 12px; }

  .hero-actions .btn { padding-inline: 11px; font-size: 11px; }

  .hero-visual { min-height: 310px; }

  .float-chip { max-width: 88%; }

  .float-chip strong { font-size: 9px; }

}

@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }

  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

  .reveal { opacity: 1; transform: none; }

}

/* EXPERTISE SECTION REFINEMENT */

.expertise-section .heading-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}

.expertise-section .heading-row > div {
  width: 100%;
  min-width: 0;
}

.expertise-section .heading-row h2 {
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
}

.expertise-section .heading-row > p {
  max-width: none;
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .expertise-section .heading-row h2,
  .expertise-section .heading-row > p {
    white-space: normal;
    text-wrap: wrap;
  }
}


/* ABOUT ME — COMPACT TEXT SPACING */

.about-section .about-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.about-section .about-centered-content .about-eyebrow,
.about-section .about-centered-content h2,
.about-section .about-centered-content .about-lead,
.about-section .about-centered-content .about-description {
  margin: 0;
}

@media (max-width: 600px) {
  .about-section .about-centered-content {
    gap: 8px;
  }
}



/* ABOUT ME — FINAL COMPACT SPACING FIX */

.about-section {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

.about-section .about-centered-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0 !important;
}

/* About Me label → Heading */
.about-section .about-centered-content .about-eyebrow {
  margin: 0 0 10px !important;
}

/* Main heading */
.about-section .about-centered-content h2 {
  margin: 0 !important;
}

/* Heading → Subheading: 8px */
.about-section .about-centered-content .about-lead {
  margin: 8px 0 0 !important;
}

/* Subheading → Supporting text: 8px */
.about-section .about-centered-content .about-description {
  margin: 8px 0 0 !important;
}

/* Mobile */
@media (max-width: 600px) {
  .about-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}


/* EXPERTISE SECTION — COMPACT SPACING */

.expertise-section .heading-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px !important;
  margin-bottom: 8px !important;
}

/* Label → Heading */
.expertise-section .heading-row .eyebrow {
  margin-bottom: 10px !important;
}

/* Main heading */
.expertise-section .heading-row h2 {
  margin: 0 !important;
}

/* Heading → Supporting text */
.expertise-section .heading-row > p {
  margin: 0 !important;
  line-height: 1.5;
}

/* Supporting text → Six cards */
.expertise-section .card-grid {
  margin-top: 0 !important;
}



/* ============================================
   PROFESSIONAL JOURNEY — SIX MILESTONE CARDS
============================================ */

.experience-section .heading-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
}

.experience-section .heading-row > div {
  width: 100%;
  min-width: 0;
}

.experience-section .heading-row h2 {
  max-width: none;
  white-space: normal;
}

.experience-section .heading-row > p {
  max-width: 760px;
  margin: 0;
  color: #a5acbb;
  font-size: 15px;
  line-height: 1.5;
}

/* TIMELINE */

.experience-section .journey-list {
  position: relative;
  display: grid;
  gap: 16px;
  border-top: none;
}

.experience-section .journey-list::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 173px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(98,216,239,.54),
    rgba(156,131,255,.3),
    transparent
  );
  pointer-events: none;
}

/* EACH MILESTONE */

.experience-section .journey-item {
  position: relative;
  display: grid;
  grid-template-columns: 151px 20px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 0;
  border: none;
  outline-offset: 4px;
}

/* LEFT SIDE NUMBERING */

.experience-section .journey-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 25px;
}

.experience-section .journey-index {
  display: block;
  color: #9ba4b8;
  font: 600 21px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
  transition: color .3s ease;
}

.experience-section .journey-side-label {
  color: #808a9f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  transition: color .3s ease;
}

/* TIMELINE NODE */

.experience-section .journey-node {
  position: relative;
  z-index: 1;
  display: block;
  width: 12px;
  height: 12px;
  margin: 30px 0 0 4px;
  border: 2px solid #6bcfe9;
  border-radius: 50%;
  background: #101721;
  box-shadow: 0 0 0 6px #10131b;

  transition:
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

/* MILESTONE CARD */

.experience-section .journey-body {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(181,192,218,.14);
  border-radius: 16px;

  background: linear-gradient(
    140deg,
    rgba(20,24,34,.96),
    rgba(13,16,24,.98)
  );

  transition:
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

/* CARD TOP LABELS */

.experience-section .journey-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.experience-section .journey-type {
  color: #8894ab;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  transition: color .3s ease;
}

.experience-section .journey-period {
  padding: 4px 9px;
  border: 1px solid rgba(126,151,197,.18);
  border-radius: 999px;

  background: rgba(105,125,166,.065);
  color: #989faf;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;

  transition:
    color .3s ease,
    border-color .3s ease;
}

/* TITLE */

.experience-section .journey-body h3 {
  margin: 0 0 15px;
  color: #d5dae5;

  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.3;

  transition: color .3s ease;
}

/* THREE DESCRIPTION POINTS */

.experience-section .journey-points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-section .journey-points li {
  position: relative;
  padding-left: 22px;

  color: #a3aabb;
  font-size: 14px;
  line-height: 1.65;

  transition: color .3s ease;
}

.experience-section .journey-points li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 3px;

  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: #6cbdcf;
  box-shadow: 0 0 0 3px rgba(108,189,207,.1);
}

/* ============================================
   HOVER — GREY TEXT CHANGES TO WHITE
============================================ */

.experience-section .journey-item:hover .journey-body,
.experience-section .journey-item:focus-visible .journey-body {
  transform: translateY(-3px);

  border-color: rgba(111,201,239,.52);

  background: linear-gradient(
    135deg,
    rgba(27,35,49,.98),
    rgba(16,21,33,.98)
  );

  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

/* All text turns white on hover */

.experience-section .journey-item:hover h3,
.experience-section .journey-item:hover .journey-points li,
.experience-section .journey-item:hover .journey-type,
.experience-section .journey-item:hover .journey-period,
.experience-section .journey-item:hover .journey-index,
.experience-section .journey-item:hover .journey-side-label,

.experience-section .journey-item:focus-visible h3,
.experience-section .journey-item:focus-visible .journey-points li,
.experience-section .journey-item:focus-visible .journey-type,
.experience-section .journey-item:focus-visible .journey-period,
.experience-section .journey-item:focus-visible .journey-index,
.experience-section .journey-item:focus-visible .journey-side-label {
  color: #ffffff;
}

/* Timeline node glow */

.experience-section .journey-item:hover .journey-node,
.experience-section .journey-item:focus-visible .journey-node {
  background: #74ddec;
  border-color: #b4eeff;

  box-shadow:
    0 0 0 6px rgba(98,216,239,.13),
    0 0 18px rgba(98,216,239,.19);
}

/* RESPONSIVE */

@media (max-width: 850px) {

  .experience-section .journey-list::before {
    left: 13px;
  }

  .experience-section .journey-item {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 9px;
  }

  .experience-section .journey-date {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  .experience-section .journey-node {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 5px 0 0 8px;
  }

  .experience-section .journey-index {
    font-size: 17px;
  }
}

@media (max-width: 600px) {

  .experience-section .heading-row {
    margin-bottom: 18px;
  }

  .experience-section .journey-list {
    gap: 13px;
  }

  .experience-section .journey-body {
    padding: 18px 16px;
    border-radius: 13px;
  }

  .experience-section .journey-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .experience-section .journey-points li {
    font-size: 13px;
  }

  .experience-section .journey-period {
    font-size: 9px;
  }

  .experience-section .journey-side-label {
    font-size: 9px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .experience-section .journey-body,
  .experience-section .journey-points li,
  .experience-section .journey-node,
  .experience-section .journey-body h3 {
    transition: none;
  }

  .experience-section .journey-item:hover .journey-body,
  .experience-section .journey-item:focus-visible .journey-body {
    transform: none;
  }
}



/* ANIMATED 5:4 PHOTO-DECK GALLERY */

.gallery-section .gallery-heading {
  margin-bottom: 26px;
}

.gallery-section .gallery-heading .eyebrow {
  margin-bottom: 10px;
}

.gallery-section .gallery-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 43px);
  line-height: 1.15;
}

.gallery-section .gallery-heading p {
  margin: 8px 0 0;
  color: #a4abbb;
  font-size: 15px;
}

/* Gallery layout */

.gallery-machine {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(0, 620px)
    minmax(180px, 1fr);
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.gallery-deck-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.gallery-deck-label {
  color: #74cfe9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

/* Left stack of cards */

.gallery-deck {
  position: relative;
  width: 196px;
  height: 195px;
  max-width: 100%;
  margin: 23px auto 10px;
  isolation: isolate;
}

.gallery-deck-card,
.gallery-fly {
  overflow: hidden;
  border: 1px solid rgba(166,184,239,.28);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    #1b2637,
    #11151f 50%,
    #231c36
  );
  box-shadow: 0 14px 35px rgba(0,0,0,.26);
}

.gallery-deck-card {
  position: absolute;
  left: 10px;
  top: 10px;
  width: min(160px, 85%);
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;

  transform:
    translate(
      var(--stack-x, 0px),
      var(--stack-y, 0px)
    )
    rotate(var(--stack-angle, 0deg));

  transition: opacity .15s ease;
}

.gallery-deck-card::after,
.gallery-fly::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  pointer-events: none;
}

.gallery-card-monogram {
  font: 700 25px/1 "Space Grotesk", sans-serif;
  color: rgba(172,195,238,.6);
}

.gallery-card-id {
  position: absolute;
  right: 14px;
  bottom: 11px;
  color: #b4c0df;
  font-size: 10px;
  font-weight: 700;
}

.gallery-deck-hint {
  margin: 10px 0 0;
  max-width: 195px;
  text-align: center;
  font-size: 12px;
  color: #828a9e;
}

/* Central television-style screen */

.gallery-display-side {
  min-width: 0;
}

.gallery-tv {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;

  border: 1px solid rgba(125,164,225,.27);
  border-radius: 20px;

  background:
    radial-gradient(
      ellipse 75% 75% at 50% 47%,
      rgba(67,102,157,.13),
      transparent 76%
    ),
    #0b0f17;

  box-shadow:
    0 0 0 7px rgba(106,143,219,.035),
    0 30px 80px rgba(0,0,0,.29);
}

.gallery-tv::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(154,171,210,.09);
  border-radius: 11px;
  pointer-events: none;
}

.gallery-tv-standby {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gallery-tv-mark {
  font: 700 clamp(42px,6vw,80px)/1
    "Space Grotesk", sans-serif;
  color: rgba(134,153,214,.2);
}

.gallery-tv-message {
  color: #7d8aa2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}

/* Flying photograph card */

.gallery-fly {
  position: fixed;
  z-index: 900;
  pointer-events: none;
  isolation: isolate;
  transform-origin: top left;
  display: grid;
  place-items: center;
  will-change: transform;
}

.gallery-fly img,
.gallery-flight-missing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .22s ease;
}

.gallery-fly img {
  display: block;
  object-fit: cover;
}

.gallery-fly.is-revealed img {
  opacity: 1;
}

.gallery-fly.is-revealed .gallery-card-monogram,
.gallery-fly.is-revealed .gallery-card-id {
  opacity: 0;
}

.gallery-flight-missing {
  display: none;
  place-items: center;
  padding: 12px;
  background: #111621;
  color: #bbc6d9;
  text-align: center;
}

.gallery-fly.is-missing img {
  display: none;
}

.gallery-fly.is-revealed.is-missing
.gallery-flight-missing {
  display: grid;
  opacity: 1;
}

/* Controls */

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
}

.gallery-now {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gallery-now-label {
  color: #8b97ae;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.gallery-now strong {
  color: #e9eefb;
  font-size: 14px;
  font-weight: 600;
}

.gallery-pause {
  padding: 9px 14px;
  border: 1px solid rgba(153,168,214,.28);
  border-radius: 999px;
  background: #151a27;
  color: #dce4f3;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.gallery-pause:hover {
  border-color: #79cdea;
  color: #fff;
}

/* Responsive design */

@media (max-width: 1000px) {
  .gallery-machine {
    grid-template-columns: 180px minmax(0,1fr);
    gap: 22px;
  }

  .gallery-balance {
    display: none;
  }

  .gallery-deck {
    width: 160px;
    height: 170px;
  }

  .gallery-deck-card {
    width: min(130px,83%);
  }
}

@media (max-width: 660px) {
  .gallery-machine {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
  }

  .gallery-deck-side {
    align-items: flex-start;
  }

  .gallery-deck {
    align-self: flex-start;
    width: 132px;
    height: 120px;
    margin: 12px 0 0 8px;
  }

  .gallery-deck-card {
    width: 98px;
    border-radius: 9px;
  }

  .gallery-deck-hint {
    max-width: 100%;
    text-align: left;
  }

  .gallery-tv {
    border-radius: 13px;
  }

  .gallery-controls {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-fly,
  .gallery-fly img {
    transition: none !important;
  }
}

/* =========================================
   FIX: GALLERY ANIMATION OVERLAPPING SECTIONS
========================================= */

/* Keep all flying cards inside the Gallery */
.gallery-machine {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Flying cards now belong to the gallery,
   not the browser viewport */
.gallery-fly {
  position: absolute !important;
  z-index: 5 !important;
  pointer-events: none;
}

/* Prevent Gallery content from overlapping
   the sections below it */
.gallery-section {
  position: relative;
  isolation: isolate;
}

/* Preserve normal scrolling */
.gallery-display-side,
.gallery-deck-side {
  position: relative;
}


/* =========================================
   GALLERY: LEFT → CENTER → RIGHT
========================================= */

.gallery-machine {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-template-columns:
    minmax(125px, 1fr)
    minmax(0, 600px)
    minmax(125px, 1fr);

  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 18px 0 28px;
}

/* LEFT AND RIGHT COLLECTIONS */

.gallery-deck-side,
.gallery-completed-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.gallery-completed-side .gallery-deck-label,
.gallery-deck-side .gallery-deck-label {
  align-self: center;
}

.gallery-completed-side .gallery-deck {
  isolation: isolate;
}

.gallery-machine .gallery-deck {
  flex-shrink: 0;
}

/* COLLECTED IMAGE CARDS */

.gallery-collected-card {
  opacity: 0;
  transition: opacity .18s ease;
}

.gallery-collected-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-collected-card .gallery-done-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: #131827;
  color: #b7c4df;
  font-size: 12px;
}

.gallery-collected-card.is-missing img {
  display: none;
}

.gallery-collected-card.is-missing
.gallery-done-fallback {
  display: grid;
}

.gallery-collected-card .gallery-card-id {
  z-index: 1;
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(0,0,0,.45);
  color: #fff;
}

/* KEEP ANIMATION INSIDE GALLERY */

.gallery-machine .gallery-fly {
  position: absolute !important;
  z-index: 10 !important;
  transform-origin: top left;
  pointer-events: none;
}

/* IMAGE REVEAL */

.gallery-machine .gallery-fly.is-revealed img {
  opacity: 1;
}

.gallery-machine .gallery-fly.is-revealed
.gallery-card-monogram,
.gallery-machine .gallery-fly.is-revealed
.gallery-card-id {
  opacity: 0;
}

.gallery-deck-hint {
  white-space: nowrap;
}

/* CENTRAL SCREEN */

.gallery-tv {
  aspect-ratio: 5 / 4;
}

/* TABLET */

@media (max-width: 1100px) {
  .gallery-machine {
    grid-template-columns:
      minmax(110px, 1fr)
      minmax(0, 560px)
      minmax(110px, 1fr);
    gap: 12px;
  }

  .gallery-machine .gallery-deck {
    width: 132px;
    height: 135px;
    margin: 18px auto 8px;
  }

  .gallery-machine .gallery-deck-card {
    width: 98px;
  }

  .gallery-deck-hint {
    font-size: 10px;
  }
}

/* MOBILE */

@media (max-width: 660px) {
  .gallery-machine {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-machine .gallery-deck-side {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }

  .gallery-machine .gallery-completed-side {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
  }

  .gallery-machine .gallery-display-side {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .gallery-machine .gallery-deck {
    width: 112px;
    height: 114px;
    margin: 10px 0 2px;
  }

  .gallery-machine .gallery-deck-card {
    width: 88px;
  }

  .gallery-machine .gallery-deck-label {
    align-self: auto;
    font-size: 9px;
  }

  .gallery-machine .gallery-deck-hint {
    margin: 5px 0 0;
    font-size: 10px;
    white-space: normal;
  }

  .gallery-machine .gallery-completed-side
  .gallery-deck-hint {
    text-align: right;
  }

  .gallery-machine .gallery-tv {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-machine .gallery-fly,
  .gallery-machine .gallery-collected-card {
    transition: none !important;
  }
}


/* CREDENTIALS — RECOGNITION */

.recognition-area {
  margin-top: 42px;
}

.recognition-heading {
  margin-bottom: 20px;
}

.recognition-heading .eyebrow {
  margin-bottom: 10px;
}

.recognition-heading h2 {
  margin: 0;
}

.recognition-heading p {
  margin: 8px 0 0;
  font-size: 15px;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.recognition-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #151924, #0e1119);

  transition:
    border-color .3s ease,
    background .3s ease,
    transform .3s ease;
}

.recognition-label {
  color: #79d6eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.recognition-card h3 {
  margin: 0;
  color: #e0e4ef;
  font-size: 21px;
}

.recognition-card p {
  margin: 0;
  color: #a2aaba;
  font-size: 14px;
  line-height: 1.65;
}

.recognition-link {
  margin-top: auto;
  color: #a5cde5;
  font-size: 13px;
  font-weight: 600;
}

.recognition-card:hover {
  transform: translateY(-3px);
  border-color: rgba(98,216,239,.5);
  background: #19202d;
}

.recognition-card:hover h3,
.recognition-card:hover p,
.recognition-card:hover .recognition-link {
  color: #fff;
}

@media (max-width: 650px) {
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .recognition-area {
    margin-top: 30px;
  }

  .recognition-card {
    min-height: 0;
    padding: 20px;
  }
}



/* VIEW ALL CREDENTIALS BUTTON */

.credentials-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  padding: 12px 20px;
  border: 1px solid rgba(98,216,239,.45);
  border-radius: 999px;
  background: rgba(98,216,239,.07);
  color: #e9edf8;
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
  transition:
    background .25s ease,
    transform .25s ease,
    border-color .25s ease;
}

.credentials-view-btn:hover {
  background: rgba(98,216,239,.16);
  border-color: #62d8ef;
  transform: translateY(-2px);
}

.credentials-view-btn span {
  color: #62d8ef;
}

/* MODAL OVERLAY */

.credentials-modal {
  position: fixed;
  inset: 0;
  width: min(1100px, calc(100% - 36px));
  max-width: 1100px;
  max-height: min(88vh, 900px);
  max-height: min(88dvh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;

  border: 1px solid rgba(136,153,211,.32);
  border-radius: 22px;
  background: #0b0e16;
  color: #f4f5f8;

  box-shadow: 0 35px 100px rgba(0,0,0,.55);
}

.credentials-modal::backdrop {
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(9px);
}

.credentials-modal-inner {
  padding: clamp(20px, 4vw, 42px);
}

/* MODAL HEADER */

.credentials-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.credentials-modal-header h2 {
  margin: 12px 0;
  font: 600 clamp(28px, 4vw, 42px)/1.2
    "Space Grotesk", sans-serif;
}

.credentials-modal-header p {
  max-width: 620px;
  margin: 0;
  color: #aab2c2;
  font-size: 15px;
  line-height: 1.7;
}

.credentials-modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: #191e2b;
  color: white;
  font-size: 27px;
  cursor: pointer;
}

.credentials-modal-close:hover {
  background: #30384b;
}

/* MODAL CONTENT */

.credentials-group-title {
  margin: 26px 0 16px;
  font: 600 19px "Space Grotesk", sans-serif;
  color: #f1f3f8;
}

.credentials-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.credentials-detail-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 23px;
  border: 1px solid rgba(181,192,218,.14);
  border-radius: 16px;
  background: linear-gradient(145deg,#151a25,#10141d);

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.credentials-card-mark {
  display: grid;
  min-width: 48px;
  min-height: 48px;
  padding: 8px;
  place-items: center;
  border: 1px solid rgba(98,216,239,.25);
  border-radius: 12px;
  background: rgba(98,216,239,.09);
  color: #79daee;
  font-weight: 700;
  font-size: 14px;
}

.credentials-card-category {
  color: #8ca4bd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.credentials-detail-card h4 {
  margin: 0;
  color: #e2e6f0;
  font: 600 18px/1.3 "Space Grotesk",sans-serif;
}

.credentials-detail-card p {
  margin: 0;
  color: #9da7ba;
  font-size: 13px;
  line-height: 1.7;
}

.credentials-card-link {
  margin-top: auto;
  color: #86d7ef;
  font-size: 13px;
  font-weight: 600;
}

.credentials-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98,216,239,.5);
  background: linear-gradient(145deg,#1b2534,#141a26);
}

.credentials-detail-card:hover h4,
.credentials-detail-card:hover p {
  color: #fff;
}

.recognition-modal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .credentials-modal-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 580px) {
  .credentials-modal {
    width: calc(100% - 20px);
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 15px;
  }

  .credentials-modal-grid,
  .recognition-modal-grid {
    grid-template-columns: 1fr;
  }

  .credentials-detail-card {
    padding: 18px;
  }

  .credentials-modal-header h2 {
    font-size: 29px;
  }

  .credentials-modal-header p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .credentials-detail-card,
  .credentials-view-btn {
    transition: none;
  }
}



/* CLIENT TESTIMONIAL PHOTOS */

.testimonials-section .avatar-photo {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(135,164,218,.3);
  border-radius: 50%;
  background: #182133;
}

.testimonials-section .avatar-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonials-section .avatar-initials {
  font-size: 12px;
  font-weight: 700;
  color: #dce8f9;
}


/* ==========================================
   MANISH RAJPAL — PREMIUM FOUR COLUMN FOOTER
========================================== */

.site-footer {
  position: relative;
  background: #090d17;
  border-top: 1px solid rgba(155,175,215,.14);
}

/* FOUR COLUMN LAYOUT */

.site-footer .mr-footer-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(0, .9fr)
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(30px, 4vw, 65px);

  align-items: start;

  padding-top: 62px;
  padding-bottom: 52px;
}

/* BRAND */

.mr-footer-brand {
  max-width: 300px;
}

.mr-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mr-footer-logo .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.mr-footer-name {
  color: #f4f5fa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.mr-footer-brand p {
  margin: 18px 0;
  color: #91a1bd;
  font-size: 14px;
  line-height: 1.75;
}

/* SOCIAL LINKS */

.mr-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.mr-footer-socials a {
  display: grid;
  width: 40px;
  height: 40px;

  place-items: center;

  border: 1px solid rgba(143,167,207,.2);
  border-radius: 9px;

  background: #141d2c;
  color: #9eafcc;

  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.mr-footer-socials a:hover {
  transform: translateY(-3px);
  background: rgba(98,216,239,.12);
  border-color: rgba(98,216,239,.55);
  color: #fff;
}

/* COLUMN HEADINGS */

.mr-footer-column h3 {
  margin: 3px 0 22px;

  color: #f5f6fa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* FOOTER NAVIGATION */

.mr-footer-column nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.mr-footer-column a {
  color: #899bb8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;

  transition:
    color .25s ease,
    transform .25s ease;
}

.mr-footer-column a:hover,
.mr-footer-column a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

/* BOTTOM COPYRIGHT */

.site-footer .mr-footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;

  padding: 18px 0 24px;
  border-top: 1px solid rgba(151,166,201,.18);
}

.mr-footer-bottom p {
  margin: 0;
  color: #778ba8;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

.mr-footer-divider {
  padding: 0 6px;
  color: #52617c;
}

/* FLOATING BACK TO TOP */

.mr-back-to-top {
  position: fixed;
  z-index: 90;

  right: 27px;
  bottom: 27px;

  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;

  border: 1px solid rgba(138,170,240,.4);
  border-radius: 11px;

  background: linear-gradient(
    135deg,
    #25c2ee,
    #6f4ef0
  );

  color: #09101c;

  box-shadow: 0 7px 24px rgba(65,107,220,.22);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.mr-back-to-top:hover {
  transform: translateY(-4px);

  box-shadow:
    0 12px 30px rgba(88,112,230,.35);
}

/* TABLET */

@media (max-width: 900px) {

  .site-footer .mr-footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 36px 45px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .mr-footer-brand {
    max-width: 100%;
  }

}

/* MOBILE */

@media (max-width: 600px) {

  .site-footer .mr-footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 30px 20px;

    padding-top: 40px;
    padding-bottom: 36px;
  }

  .mr-footer-brand {
    grid-column: 1 / -1;
  }

  .mr-footer-name {
    font-size: 18px;
  }

  .mr-footer-column h3 {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .mr-footer-column nav {
    gap: 12px;
  }

  .mr-footer-column a {
    font-size: 12.5px;
    overflow-wrap: anywhere;
  }

  .mr-footer-brand p {
    font-size: 13px;
  }

  .mr-footer-bottom p {
    font-size: 11px;
  }

  .mr-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 370px) {
  .site-footer .mr-footer-grid {
    grid-template-columns: 1fr;
  }

  .mr-footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  .mr-footer-column a,
  .mr-footer-socials a,
  .mr-back-to-top {
    transition: none;
  }

}



/* GALLERY — IMPROVED IMAGE FITTING */

/* Central flying card */
.gallery-machine .gallery-fly img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #0b0f17;
}

/* Collected photos on the right */
.gallery-machine .gallery-collected-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Maintain television display proportions */
.gallery-machine .gallery-tv {
  width: 100%;
  aspect-ratio: 5 / 4;
}

/* Keep animation inside Gallery */
.gallery-machine {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.gallery-section {
  position: relative;
}

.gallery-showcase {
  position: relative;
  width: 100%;
  min-height: 80vh;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(171, 186, 229, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 17, 23, 0.8), rgba(10, 12, 18, 0.9));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 16px;
}

.credential-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;
  min-height: 176px;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(213, 220, 240, 0.14);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(17, 21, 31, 0.95), rgba(9, 12, 18, 0.96));
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 1024px) {
  .credential-card:nth-child(4),
  .credential-card:nth-child(5) {
    width: min(100%, 315px);
    justify-self: center;
  }

  .credential-card:nth-child(4) {
    grid-column: 1;
  }

  .credential-card:nth-child(5) {
    grid-column: 3;
  }
}

.credential-card:hover,
.credential-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(121, 198, 232, 0.38);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.credential-card-link {
  text-decoration: none;
}

.credential-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(120, 207, 228, 0.2);
  background: rgba(87, 195, 217, 0.1);
  color: #9be9f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.credential-mark-violet {
  border-color: rgba(180, 158, 255, 0.25);
  background: rgba(130, 113, 205, 0.12);
  color: #d0c0ff;
}

.credential-mark-cyan {
  border-color: rgba(125, 227, 190, 0.22);
  background: rgba(79, 181, 155, 0.12);
  color: #aaf5d6;
}

.credential-mark-purple {
  border-color: rgba(172, 137, 255, 0.28);
  background: rgba(124, 90, 196, 0.14);
  color: #ddcdfd;
}

.credential-mark-indigo {
  border-color: rgba(111, 163, 255, 0.28);
  background: rgba(88, 103, 180, 0.12);
  color: #bfd2ff;
}

.credential-type {
  display: block;
  color: #8c96ad;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.credential-card h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

.credential-card p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.credential-arrow {
  color: #9aa5ba;
  font-size: 18px;
  justify-self: end;
}

.courses-section {
  background: rgba(11, 12, 18, 0.7);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(188, 198, 227, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 19, 27, 0.97) 0%, rgba(10, 12, 18, 0.97) 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 161, 255, 0.55);
  box-shadow: 0 20px 46px rgba(38, 72, 125, 0.14);
}

.course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, rgba(84, 85, 153, 0.22), rgba(5, 46, 52, 0.72));
  border-bottom: 1px solid rgba(168, 182, 221, 0.12);
}

.course-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(15, 18, 24, 0.38);
  border: 1px solid rgba(140, 174, 255, 0.25);
  color: #cfdcff;
  font-size: 22px;
}

.course-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11, 16, 27, 0.62);
  border: 1px solid rgba(159, 176, 229, 0.2);
  color: #d8e4ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0;
  padding: 18px 18px 12px;
  font-size: clamp(1.2rem, 1.4vw, 1.5rem);
  line-height: 1.35;
}

.course-card p {
  margin: 0;
  padding: 0 18px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.course-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0 18px;
  display: grid;
  gap: 12px;
}

.course-card li {
  position: relative;
  padding-left: 24px;
  color: #dbe3f3;
  font-size: 0.9rem;
  line-height: 1.5;
}

.course-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #7be9b1;
  font-weight: 700;
}

.course-button {
  margin: auto 18px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5ad7ed 0%, #7a8dff 52%, #a978ff 100%);
  color: #07101b;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.course-button:hover,
.course-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 1024px) {
  .credential-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gallery-showcase {
    min-height: 62vh;
    max-height: 72vh;
    border-radius: 20px;
  }

  .credential-list,
  .course-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-slide,
  .credential-card,
  .course-card,
  .course-button {
    transition: none !important;
  }
}

/* ============================================================
   MR CREDENTIALS — FIVE-CARD RESPONSIVE LAYOUT (2026-11-11)
   Override the old left/right split and nested three-column grid.
   Scoped entirely to #credentials so other sections are untouched.
   ============================================================ */
#credentials .credentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 42px);
  align-items: stretch;
}

#credentials .section-intro {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

#credentials .credentials-note {
  max-width: 650px;
  margin: 16px auto 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

#credentials .credential-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  margin-inline: auto;
}

#credentials .credential-card {
  position: relative;
  display: flex;
  flex: 0 1 calc((100% - 40px) / 3);
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 214px;
  padding: 26px;
  overflow: hidden;
  border-radius: 18px;
  box-sizing: border-box;
  grid-column: auto;
}

#credentials .credential-card > div {
  width: 100%;
  min-width: 0;
  flex: 1;
}

#credentials .credential-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

#credentials .credential-type {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .09em;
}

#credentials .credential-card h3 {
  margin: 7px 0 9px;
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

#credentials .credential-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

#credentials .credential-arrow {
  position: absolute;
  top: 27px;
  right: 26px;
  line-height: 1;
}

#credentials .credential-card:hover,
#credentials .credential-card:focus-visible {
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  #credentials .credential-card {
    flex-basis: calc((100% - 20px) / 2);
    min-height: 205px;
  }
}

@media (max-width: 620px) {
  #credentials .credentials-layout { gap: 25px; }
  #credentials .credential-list { gap: 14px; }
  #credentials .credential-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 22px;
    gap: 12px;
  }
  #credentials .credential-arrow { top: 23px; right: 22px; }
  #credentials .credential-card h3 { font-size: 17px; }
  #credentials .credential-card p { font-size: 13px; }
}

/* ============================================================
   MR COURSES — CONSISTENT CARD SPACING (2026-11-11)
   Keep all six courses and the existing three/two/one-column grid.
   Prevent the learning outcomes from touching the Enquire Now CTA.
   ============================================================ */
#courses .course-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 24px;
}

#courses .course-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 510px;
  padding-bottom: 22px;
  min-width: 0;
}

#courses .course-card-top {
  flex: 0 0 auto;
  min-height: 86px;
  align-items: center;
  padding: 18px 22px;
}

#courses .course-icon {
  flex: 0 0 auto;
}

#courses .course-level {
  max-width: calc(100% - 66px);
  line-height: 1.3;
  text-align: center;
}

#courses .course-card h3 {
  flex: 0 0 auto;
  margin: 0 0 12px;
  padding: 20px 22px 0;
  font-size: clamp(19px, 1.35vw, 23px);
  line-height: 1.34;
}

#courses .course-card p {
  flex: 0 0 auto;
  margin: 0 0 19px;
  padding-inline: 22px;
  font-size: 14px;
  line-height: 1.65;
}

#courses .course-card ul {
  flex: 0 0 auto;
  display: grid;
  gap: 11px;
  margin: 0 0 27px;
  padding: 0 22px;
}

#courses .course-card li {
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.5;
}

#courses .course-button {
  flex: 0 0 auto;
  width: auto;
  min-height: 46px;
  margin: auto 22px 0;
  padding-inline: 18px;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 1024px) {
  #courses .course-grid { gap: 20px; }
  #courses .course-card { min-height: 505px; }
}

@media (max-width: 760px) {
  #courses .course-grid {
    grid-auto-rows: auto;
    gap: 18px;
  }
  #courses .course-card {
    min-height: 0;
    padding-bottom: 20px;
  }
  #courses .course-card-top { padding: 18px 20px; }
  #courses .course-card h3 { padding-inline: 20px; }
  #courses .course-card p { padding-inline: 20px; }
  #courses .course-card ul { padding-inline: 20px; }
  #courses .course-button { margin-inline: 20px; }
}


/* ========================================================
   TESTIMONIALS: FULL-WIDTH, RIGHT-TO-LEFT INFINITE MARQUEE
   Original three authentic quotes + six labeled review summaries.
   Existing sections/credential and course fixes are unchanged.
   ======================================================== */
#testimonials { overflow: hidden; }
#testimonials .section-heading { margin-bottom: clamp(28px, 3vw, 42px); }

#testimonials .testimonial-marquee {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  padding-block: 8px 14px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
}
#testimonials .testimonial-marquee:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
#testimonials .testimonial-track {
  --marquee-gap: 18px;
  display: flex;
  align-items: stretch;
  gap: var(--marquee-gap);
  width: max-content;
  animation: mr-testimonials-scroll 70s linear infinite;
  will-change: transform;
}
#testimonials .testimonial-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: var(--marquee-gap);
}
#testimonials .testimonial-group .quote-card {
  display: flex;
  flex: 0 0 clamp(290px, 24vw, 370px);
  width: clamp(290px, 24vw, 370px);
  min-height: 340px;
  min-width: 0;
  margin: 0;
  padding: 25px;
  flex-direction: column;
  border: 1px solid rgba(178,194,228,.15);
  border-radius: 18px;
  background: linear-gradient(150deg, #141927, #0c1018 88%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .09);
  transition: border-color .2s ease, background .2s ease;
  /* marquee cards must not inherit scroll-reveal opacity */
  opacity: 1;
  transform: none;
}
#testimonials .testimonial-group .quote-card:hover {
  border-color: rgba(102,205,243,.42);
  background: linear-gradient(145deg, #192134, #101522);
}
#testimonials .quote-mark {
  height: 28px;
  font-size: 38px;
  line-height: 1;
  color: #a98aff;
}
#testimonials .quote-card blockquote,
#testimonials .quote-card .testimonial-summary {
  display: block;
  flex: 1 1 auto;
  margin: 14px 0 24px;
  color: #d5dce8;
  font-size: 16px;
  line-height: 1.8;
}

/* UNIFORM TESTIMONIAL QUOTATION MARKS */

#testimonials .testimonial-summary-card .quote-mark {
  height: 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: #a98aff;
}

#testimonials .testimonial-summary-label {
  display: block;
  margin-top: 4px;
  color: #90a7cc;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .10em;
  font-weight: 700;
}
#testimonials .testimonial-summary-card .testimonial-summary { margin-top: 12px; }
#testimonials .quote-author {
  margin-top: auto;
  min-width: 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
#testimonials .quote-author > span:last-child { min-width: 0; }
#testimonials .quote-author b { color: #f2f4f9; font-size: 13px; }
#testimonials .quote-author small { font-size: 11px; line-height: 1.45; }
#testimonials .testimonial-group .avatar-photo {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}
#testimonials .testimonials-source-note {
  margin: 18px auto 0;
  text-align: center;
  color: #818b9f;
  font-size: 11px;
  line-height: 1.7;
}
#testimonials .testimonials-source-note a {
  color: #9dcdec;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#testimonials .testimonial-marquee:hover .testimonial-track,
#testimonials .testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}
@keyframes mr-testimonials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--marquee-gap) / 2))); }
}
@media (max-width: 700px) {
  #testimonials .testimonial-track { --marquee-gap: 13px; animation-duration: 78s; }
  #testimonials .testimonial-group .quote-card {
    flex-basis: min(82vw, 345px);
    width: min(82vw, 345px);
    min-height: 360px;
    padding: 20px;
  }
  #testimonials .testimonial-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  #testimonials .testimonial-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  #testimonials .testimonial-track {
    animation: none !important;
    will-change: auto;
  }
  #testimonials .testimonial-group[aria-hidden="true"] { display: none; }
  #testimonials .testimonial-group .quote-card { transition: none; }
}


/* ============================================
   MR CONTACT SECTION — REDESIGNED
============================================ */

#contact.contact-section {
  padding: 95px 0 110px;
  background: #0e121e;
}

#contact .mr-contact-heading {
  max-width: 690px;
  margin: 0 auto 50px;
  text-align: center;
}

#contact .mr-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 17px;
  margin-bottom: 20px;
  border: 1px solid rgba(64, 200, 243, .28);
  border-radius: 100px;
  background: rgba(17, 146, 188, .13);
  color: #43d1f4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

#contact .mr-contact-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -.055em;
}

#contact .mr-contact-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #a5b0cb;
  font-size: 16px;
  line-height: 1.8;
}

/* TWO COLUMN LAYOUT */

#contact .mr-contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

/* LEFT CONTACT CARDS */

#contact .mr-contact-details {
  display: grid;
  gap: 18px;
  min-width: 0;
}

#contact .mr-contact-detail {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 105px;
  padding: 22px;
  border: 1px solid rgba(169, 188, 224, .13);
  border-radius: 13px;
  background: #121827;
  color: inherit;
  transition: border-color .25s, transform .25s;
}

#contact .mr-contact-detail:hover {
  border-color: rgba(98, 216, 239, .4);
  transform: translateY(-2px);
}

#contact .mr-contact-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  background: rgba(10, 169, 215, .13);
  color: #1cd7ff;
}

#contact .mr-contact-icon svg {
  width: 23px;
  height: 23px;
}

#contact .mr-contact-detail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

#contact .mr-contact-detail-copy strong {
  color: #f5f6fa;
  font-size: 14px;
}

#contact .mr-contact-detail-copy > span {
  color: #9cc8f1;
  font-size: 14px;
  overflow-wrap: anywhere;
}

#contact .mr-contact-detail-copy small {
  color: #8495b7;
  font-size: 12px;
  line-height: 1.5;
}

/* RIGHT CONTACT FORM */

#contact .mr-contact-form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 15px;
}

#contact .mr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#contact .mr-contact-form input:not([type="hidden"]),
#contact .mr-contact-form select,
#contact .mr-contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 13px 18px;
  border: 1px solid rgba(147, 171, 212, .15);
  border-radius: 12px;
  outline: none;
  background: #121827;
  color: #f5f6fa;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}

#contact .mr-contact-form input::placeholder,
#contact .mr-contact-form textarea::placeholder {
  color: #7183a8;
}

#contact .mr-contact-form select {
  cursor: pointer;
}

#contact .mr-contact-form select option {
  background: #121827;
  color: #f5f6fa;
}

#contact .mr-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

#contact .mr-contact-form input:focus,
#contact .mr-contact-form select:focus,
#contact .mr-contact-form textarea:focus {
  border-color: #66c8ee;
  box-shadow: 0 0 0 3px rgba(66, 176, 232, .13);
}

#contact .mr-contact-selected-course {
  margin: 0;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(74, 149, 225, .1);
  color: #aee2ff;
  font-size: 12px;
}

#contact .mr-contact-selected-course[hidden] {
  display: none;
}

/* SUBMIT BUTTON */

#contact .mr-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 2px;
  padding: 12px 20px;
  border: none;
  border-radius: 100px;
  background: linear-gradient(
    110deg,
    #0acbf4,
    #8254eb
  );
  color: #07111b;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 9px 25px rgba(31, 155, 226, .2);
  transition: transform .2s, box-shadow .2s;
}

#contact .mr-contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(48, 155, 236, .3);
}

#contact .mr-contact-submit svg {
  width: 19px;
  height: 19px;
}

#contact .mr-contact-form-note {
  margin: 0;
  color: #8794ae;
  font-size: 11px;
  text-align: center;
}

#contact .mr-contact-status {
  margin: 0;
  color: #aee2ff;
  font-size: 12px;
  text-align: center;
}

#contact .mr-contact-status:empty {
  display: none;
}

/* RESPONSIVE DESIGN */

@media (max-width: 820px) {
  #contact .mr-contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #contact .mr-contact-details {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  #contact.contact-section {
    padding: 65px 0 75px;
  }

  #contact .mr-contact-heading {
    margin-bottom: 32px;
  }

  #contact .mr-contact-heading h2 {
    font-size: 38px;
  }

  #contact .mr-contact-heading p {
    font-size: 14px;
  }

  #contact .mr-contact-detail {
    min-height: 90px;
    padding: 17px;
  }

  #contact .mr-contact-layout {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #contact .mr-contact-detail,
  #contact .mr-contact-submit {
    transition: none;
  }
}


/* ==========================================
   MR EXPERTISE — TECHNOLOGY LOGOS
========================================== */

#expertise .service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 8px;
  overflow: hidden;
  line-height: 1;
}

#expertise .service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}


/* ==========================================
   MR CREDENTIALS — ORIGINAL LOGOS & BADGES
========================================== */

#credentials .credential-logo {
  width: 64px;
  height: 64px;
  padding: 3px;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.075);
}

#credentials .credential-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 9px;
}

/* Hide fallback when logo loads successfully */
#credentials .credential-logo img + .cred-fallback {
  display: none;
}

/* Display fallback if image is unavailable */
#credentials .credential-logo .cred-fallback {
  color: #bedbf6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Mobile */
@media (max-width: 620px) {
  #credentials .credential-logo {
    width: 58px;
    height: 58px;
  }
}


/* ==========================================
   COURSES SECTION — BUTTON SPACING FIX
========================================== */

/* Let each row fit its content */
#courses .course-grid {
  grid-auto-rows: auto;
  align-items: stretch;
}

/* Remove unnecessary forced card height */
#courses .course-card {
  min-height: 0;
  height: 100%;
  padding-bottom: 20px;
}

/* Reduce space below the learning points */
#courses .course-card ul {
  margin-bottom: 17px;
}

/* Keep buttons aligned at the bottom */
#courses .course-button {
  margin-top: auto;
  margin-bottom: 0;
}

/* Tablet and mobile */
@media (max-width: 1024px) {
  #courses .course-card {
    min-height: 0;
  }
}


/* MCT CREDENTIAL — LOGO FIT */

#credentials .credential-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#credentials .credential-logo {
  width: 64px;
  height: 64px;
  padding: 4px;
}



/* ==========================================
   HERO — THREE FLOATING CREDENTIAL PILLS
========================================== */

.hero-visual .chip-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 3px;
  border: 1px solid rgba(150, 175, 225, .22);
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.hero-visual .chip-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Consistent appearance */
.hero-visual .float-chip {
  z-index: 4;
  min-height: 52px;
  gap: 10px;
  padding: 8px 12px;
}

.hero-visual .float-chip strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

/* Third floating credential */
.hero-visual .chip-ai {
  position: absolute;
  right: -8px;
  bottom: 5px;
  max-width: 250px;
  animation-delay: -1.5s;
}

/* Keep AWS positioned toward bottom-left */
.hero-visual .chip-bottom {
  bottom: 65px;
  left: 0;
}

/* Tablet adjustments */
@media (max-width: 880px) {
  .hero-visual .chip-ai {
    right: 0;
    bottom: 5px;
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .hero-visual .float-chip {
    max-width: 72%;
    min-height: 46px;
    padding: 7px 9px;
  }

  .hero-visual .chip-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .hero-visual .float-chip strong {
    font-size: 9px;
  }

  .hero-visual .chip-top {
    top: 18px;
    right: 0;
  }

  .hero-visual .chip-bottom {
    left: 0;
    bottom: 75px;
  }

  .hero-visual .chip-ai {
    right: 0;
    bottom: 8px;
  }
}



/* ==========================================
   MR FOOTER — ORIGINAL SOCIAL BRAND ICONS
========================================== */

#footer .mr-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

/* Social icon containers */
#footer .mr-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 10px;

  border: 1px solid rgba(150, 170, 215, 0.2);
  border-radius: 12px;
  background: #151c29;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* Consistent SVG sizes */
#footer .mr-footer-socials svg {
  display: block;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

/* Email */
#footer .mr-social-email {
  color: #66c9ef;
}

/* LinkedIn brand blue */
#footer .mr-social-linkedin {
  color: #0A66C2;
}

/* WhatsApp brand green */
#footer .mr-social-whatsapp {
  color: #25D366;
}

/* Hover animations */
#footer .mr-footer-socials a:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 170, 235, 0.45);
  background: #1c2638;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

#footer .mr-footer-socials a:focus-visible {
  outline: 2px solid #66c9ef;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #footer .mr-footer-socials a {
    transition: none;
  }
}


/* ==========================================
   MR HERO — ORANGE ORBIT + FOUR FLOATING PILLS
========================================== */

/* OUTER CIRCLE — SUBTLE ORANGE */
.hero-visual .orbit-one {
  border: 1.5px solid rgba(242, 104, 14, 0.68);

  box-shadow:
    0 0 22px rgba(242, 104, 14, 0.08);
}

/* Leave the inner portrait border unchanged */

/* FLOATING PILL — ENTERPRISE AI CONSULTANT */
.hero-visual .chip-consultant {
  position: absolute;

  top: 155px;
  left: 0;

  right: auto;
  bottom: auto;

  z-index: 5;

  max-width: 235px;

  animation: chipfloat 5.5s ease-in-out infinite;
  animation-delay: -2s;
}

/* ICON CONTAINER */
.hero-visual .chip-consultant .consultant-icon {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  padding: 5px;

  border: 1px solid rgba(242, 104, 14, 0.35);
  border-radius: 10px;

  background: rgba(242, 104, 14, 0.12);
  color: #F7A25B;
}

/* ICON SIZE */
.hero-visual .chip-consultant svg {
  display: block;
  width: 25px;
  height: 25px;
}

/* REFINED DESKTOP PILL POSITIONS */
.hero-visual .chip-top {
  top: 45px;
  right: 0;
}

.hero-visual .chip-bottom {
  left: 0;
  bottom: 72px;
}

.hero-visual .chip-ai {
  right: 0;
  bottom: 5px;
}

/* TABLET */
@media (min-width: 601px) and (max-width: 880px) {
  .hero-visual .chip-consultant {
    top: 145px;
    left: 0;
  }
}

/* MOBILE — KEEP ALL PILLS CLEAR OF THE FACE */
@media (max-width: 600px) {

  .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: stretch;
    gap: 12px;

    min-height: 0;
    padding-top: 15px;
  }

  /* Portrait occupies first full row */
  .hero-visual .portrait-slot {
    grid-column: 1 / -1;
    grid-row: 1;

    width: min(290px, 76vw);
    margin-inline: auto;
  }

  /* Center orange orbit behind portrait */
  .hero-visual .orbit-one {
    top: 15px;
    left: 50%;
    right: auto;
    bottom: auto;

    width: min(310px, 84vw);

    transform: translateX(-50%);
    animation: none;
  }

  /* Four cards become a compact two-column grid */
  .hero-visual .float-chip {
    position: relative;

    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    width: 100%;
    max-width: none;
    min-height: 60px;

    margin: 0;
    padding: 9px;

    gap: 8px;

    animation: none;
    transform: none;
  }

  .hero-visual .chip-top {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-visual .chip-bottom {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-visual .chip-ai {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-visual .chip-consultant {
    grid-column: 2;
    grid-row: 3;
  }

  .hero-visual .chip-logo,
  .hero-visual .chip-consultant .consultant-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .hero-visual .chip-logo svg {
    width: 21px;
    height: 21px;
  }

  .hero-visual .float-chip strong {
    font-size: 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .hero-visual .chip-consultant {
    animation: none;
  }
}



/* ==========================================
   HERO STATISTICS — CONSISTENT SPACING
========================================== */

.hero .stats-row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
  gap: 0;
  margin-bottom: 32px;
}

.hero .stat {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 18px;
}

.hero .stat:first-child {
  padding-left: 0;
}

.hero .stat + .stat {
  padding-left: 18px;
  border-left: 1px solid rgba(190, 199, 222, 0.16);
}

.hero .stat strong {
  display: block;
  white-space: nowrap;
}

.hero .stat span {
  display: block;
  white-space: nowrap;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .hero .stats-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .hero .stat {
    padding: 0 12px;
  }

  .hero .stat:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }
}



/* =========================================
   CLIENT LOGO MARQUEE
========================================= */

.client-strip {
  background: #0d1019;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.client-strip .focus-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 105px;
}

.client-strip .focus-label {
  flex: 0 0 225px;
  white-space: normal;
  color: #aab5cc;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.client-strip .focus-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 15px 0;
}

.client-strip .focus-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: mr-focus-scroll 65s linear infinite;
}

.client-strip .focus-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
}

.client-strip .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 155px;
  width: 155px;
  height: 65px;
}

.client-strip .client-logo img {
  display: block;
  width: 100%;
  max-width: 145px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-strip .client-logo img[hidden],
.client-strip .client-logo-fallback[hidden] {
  display: none;
}

.client-strip .client-logo-fallback {
  color: #cbd3e4;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.client-strip .client-logo:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Pause when hovering */
.client-strip .focus-marquee:hover .focus-track,
.client-strip .focus-marquee:focus-within .focus-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .client-strip .focus-inner {
    flex-direction: column;
    gap: 8px;
    padding-block: 15px;
  }

  .client-strip .focus-label {
    flex: 0 0 auto;
    text-align: center;
    font-size: 10px;
  }

  .client-strip .focus-marquee {
    width: 100%;
  }

  .client-strip .client-logo {
    flex-basis: 120px;
    width: 120px;
    height: 55px;
  }

  .client-strip .client-logo img {
    max-width: 110px;
    max-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-strip .focus-track {
    animation: none;
  }

  .client-strip .focus-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .client-strip .focus-group[aria-hidden="true"] {
    display: none;
  }
}



/* CLIENT LOGO VISIBILITY IMPROVEMENTS */

.client-strip .client-logo img {
  opacity: 1;
}

/* Black wordmarks: use a readable white treatment */
.client-strip .client-logo img[src$="airbus.svg"],
.client-strip .client-logo img[src$="Accenture.svg.webp"],
.client-strip .client-logo img[src$="infosys.svg"] {
  filter: brightness(0) invert(1);
}

/* Increase visibility of dark-blue logos */
.client-strip .client-logo img[src$="Volvo_logo.svg.webp"],
.client-strip .client-logo img[src$="Cognizant_logo_2022.svg.webp"] {
  filter: brightness(1.5);
}

/* DEWA: preserve its multicolored artwork */
.client-strip .client-logo img[src$="Dubai-Electricity-and-Water-Authority@4x-thumb.png"] {
  background: #f4f7fb;
  border-radius: 4px;
  padding: 5px;
  box-sizing: border-box;
}


/* Recognition credential icons */

.credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* India's ChangeMakers - Purple */
.credential-icon.credential-mark-purple {
  color: #b58af7;
}

/* The Indian Achievers - Indigo Blue */
.credential-icon.credential-mark-indigo {
  color: #7f9cff;
}

.credential-card-link:hover .credential-icon svg {
  transform: scale(1.08);
}

.credential-icon svg {
  transition: transform 0.25s ease;
}


/* Updated client logos */
.client-strip .client-logo img[src$="ACN_BIG.D.svg"],
.client-strip .client-logo img[src$="wipro.webp"],
.client-strip .client-logo img[src$="EY.png"] {
  filter: none !important;
  background: transparent;
  opacity: 1;
  object-fit: contain;
}

\
/* ==========================================
   MR — TWO-LEVEL TRAINING DOMAIN CATALOGUE
========================================== */

#courses {
  background: #0b0d15;
  scroll-margin-top: 95px;
}

#courses [hidden] {
  display: none !important;
}

/* SCREEN 1 — SIX CATEGORY CARDS */

#courses .domain-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

#courses .domain-category-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 290px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(180, 190, 220, 0.16);
  background: linear-gradient(145deg, #161b2a, #0e111c);
  color: #f4f6ff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

#courses .domain-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 164, 255, .7);
  box-shadow: 0 20px 44px rgba(35, 67, 125, .2);
}

#courses .domain-category-card:focus-visible,
#courses .domain-back-button:focus-visible,
#courses .domain-enquire-button:focus-visible {
  outline: 2px solid #76d5ff;
  outline-offset: 4px;
}

#courses .domain-category-number {
  color: #9ca8c0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
}

#courses .domain-category-icon {
  margin-top: 22px;
  font-size: 36px;
  line-height: 1;
  color: #78cffa;
}

#courses .domain-category-card h3 {
  margin: 22px 0 10px;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.3;
  color: #f5f6fc;
}

#courses .domain-category-card p {
  margin: 0 0 24px;
  padding: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #aab3c7;
}

#courses .domain-category-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #83d7fb;
  font-size: 13px;
  font-weight: 700;
}

/* SCREEN 2 — CATEGORY DETAIL VIEW */

#courses .domain-detail-view {
  margin-top: 38px;
  animation: domainReveal .3s ease both;
}

#courses .domain-back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(180, 190, 220, .22);
  border-radius: 12px;
  background: #171c2b;
  color: #d9e2f5;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#courses .domain-back-button:hover {
  border-color: #79cafa;
  color: #84d8fc;
}

#courses .domain-detail-heading {
  margin: 35px 0 30px;
}

#courses .domain-detail-heading h3 {
  margin: 12px 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: #f5f7ff;
}

#courses .domain-detail-heading p {
  max-width: 760px;
  padding: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #abb5ca;
}

/* RELEVANT COURSE CARDS */

#courses .domain-training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#courses .domain-training-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 215px;
  padding: 24px;
  border: 1px solid rgba(180, 190, 220, .16);
  border-radius: 20px;
  background: linear-gradient(145deg, #171b2a, #10131e);
  transition: border-color .25s ease;
}

#courses .domain-training-card:hover {
  border-color: rgba(125, 170, 255, .6);
}

#courses .domain-training-number {
  color: #81d2f8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

#courses .domain-training-card h4 {
  margin: 17px 0 26px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 650;
  color: #f5f6fc;
  overflow-wrap: break-word;
}

#courses .domain-enquire-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 43px;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(110deg, #5ad7ed, #ad7aff);
  color: #0a0e19;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s ease;
}

#courses .domain-enquire-button:hover {
  opacity: .88;
}

@keyframes domainReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */

@media (max-width: 1000px) {
  #courses .domain-category-grid,
  #courses .domain-training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  #courses .domain-category-grid,
  #courses .domain-training-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #courses .domain-category-card {
    min-height: 250px;
    padding: 22px;
  }

  #courses .domain-training-card {
    min-height: 190px;
  }

  #courses .domain-detail-heading {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #courses .domain-detail-view {
    animation: none;
  }

  #courses .domain-category-card,
  #courses .domain-training-card,
  #courses .domain-enquire-button {
    transition: none;
  }
}


/* =========================================
   MR COURSES — DROPDOWN DOMAIN FILTER
   + ORIGINAL DETAILED COURSE CARDS
========================================= */

/* CATEGORY SELECTION PANEL */

#courses .mr-course-filter {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;

  margin: 44px 0 32px;
  padding: 25px 30px;

  border: 1px solid rgba(160, 180, 220, 0.2);
  border-radius: 20px;

  background: linear-gradient(
    120deg,
    rgba(29, 37, 61, 0.95),
    rgba(15, 18, 30, 0.98)
  );
}

#courses .mr-course-filter-main {
  width: 100%;
  max-width: 580px;
  min-width: 0;
}

#courses .mr-course-filter-main label {
  display: block;
  margin-bottom: 13px;

  color: #8dd9fa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* SELECT FIELD */

#courses .mr-course-select-wrap {
  position: relative;
  width: 100%;
}

#courses .mr-course-select-wrap select {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;
  min-height: 58px;
  padding: 15px 48px 15px 19px;

  border: 1px solid rgba(155, 176, 227, 0.32);
  border-radius: 13px;

  background: #101626;
  color: #f5f7ff;

  font-family: inherit;
  font-size: 16px;
  font-weight: 650;

  cursor: pointer;
  transition: border-color .2s ease;
}

#courses .mr-course-select-wrap select:hover {
  border-color: #74d0f8;
}

#courses .mr-course-select-wrap select:focus {
  outline: 2px solid #74d0f8;
  outline-offset: 3px;
}

#courses .mr-course-select-wrap select option {
  background: #101626;
  color: #f5f7ff;
}

#courses .mr-course-chevron {
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-55%);

  color: #8dd9fa;
  font-size: 26px;
  pointer-events: none;
}

/* COURSE COUNT */

#courses .mr-course-filter-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;

  flex: 0 0 auto;
  padding-bottom: 9px;
}

#courses .mr-course-count {
  color: #f4f6fc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

#courses .mr-course-filter-meta > span:last-child {
  color: #9ca8be;
  font-size: 12px;
}

/* SELECTED DOMAIN HEADING */

#courses .mr-course-domain-heading {
  margin: 0 0 25px;
}

#courses .mr-course-domain-heading h3 {
  margin: 12px 0 10px;

  color: #f7f7fc;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 700;
}

#courses .mr-course-domain-heading p {
  max-width: 790px;
  margin: 0;
  padding: 0;

  color: #aab3c6;
  font-size: 15px;
  line-height: 1.7;
}

/* ORIGINAL STYLE COURSE CARDS */

#courses #mr-course-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

#courses #mr-course-list .course-card {
  min-height: 490px;
  height: 100%;

  border-radius: 22px;
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

#courses #mr-course-list .course-card:hover {
  transform: translateY(-5px);

  border-color: rgba(126, 172, 255, 0.65);

  box-shadow:
    0 20px 45px rgba(34, 68, 131, 0.18);
}

#courses #mr-course-list .course-card h3 {
  overflow-wrap: anywhere;
}

#courses #mr-course-list .course-card ul {
  margin-bottom: 30px;
}

#courses #mr-course-list .course-card li {
  line-height: 1.55;
}

#courses #mr-course-list .course-button {
  border-radius: 11px;
  font-weight: 700;
}

/* TABLET */

@media (max-width: 1000px) {
  #courses #mr-course-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* MOBILE */

@media (max-width: 680px) {

  #courses .mr-course-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;

    margin-top: 30px;
    padding: 20px;
  }

  #courses .mr-course-filter-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  #courses .mr-course-select-wrap select {
    font-size: 14px;
  }

  #courses #mr-course-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #courses #mr-course-list .course-card {
    min-height: 0;
  }

  #courses .mr-course-domain-heading h3 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #courses #mr-course-list .course-card {
    transition: none;
  }
}


/* ==========================================
   AWS LOGO — EXPERTISE SECTION
========================================== */

#expertise .aws-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;
  padding: 5px;

  border: 1px solid rgba(145, 177, 224, 0.2);
  border-radius: 12px;

  background: #182334;
  overflow: hidden;
  box-sizing: border-box;
}

#expertise .aws-expertise-logo {
  display: block;

  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
  object-position: center;

  opacity: 1;
  filter: none;
  border-radius: 4px;
}

/* Subtle visual improvement */
#expertise .service-card:hover .aws-service-icon {
  border-color: rgba(110, 206, 255, 0.55);
  background: #1c2c42;
}


/* =========================================
   MR FOOTER — CREDENTIAL BADGES
========================================= */

.mr-footer-credentials {
  margin-top: 24px;
  max-width: 320px;
}

/* Small section label */
.mr-footer-credentials-label {
  display: block;
  margin-bottom: 13px;

  color: #8493ae;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

/* Four compact badges in one row */
.mr-footer-badges {
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 11px;
  align-items: center;
}

/* Badge container */
.mr-footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  padding: 6px;
  border: 1px solid rgba(158, 178, 218, 0.22);
  border-radius: 12px;

  background: #141c2b;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

/* Reused credential icon */
.mr-footer-badge .credential-mark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  min-width: 44px;

  margin: 0;
  padding: 2px;

  overflow: hidden;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

/* Keep original badge proportions */
.mr-footer-badge .credential-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

/* Show text fallback only when image is unavailable */
.mr-footer-badge .credential-mark img + .cred-fallback {
  display: none;
}

.mr-footer-badge .cred-fallback {
  color: #e2e9fc;
  font-size: 12px;
  font-weight: 800;
}

/* Hover effect */
.mr-footer-badge:hover {
  transform: translateY(-4px);

  background: #1c2940;
  border-color: rgba(105, 204, 255, 0.6);
}

.mr-footer-badge:focus-visible {
  outline: 2px solid #6bcffa;
  outline-offset: 3px;
}

/* Small screens */
@media (max-width: 480px) {
  .mr-footer-badges {
    grid-template-columns: repeat(4, 52px);
    gap: 9px;
  }

  .mr-footer-badge {
    width: 52px;
    height: 52px;
    padding: 5px;
  }

  .mr-footer-badge .credential-mark {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mr-footer-badge {
    transition: none;
  }
}



/* AWS ICON — MATCH OTHER EXPERTISE ICONS */

#expertise .aws-service-icon,
#expertise .service-card:hover .aws-service-icon {
  width: 50px;
  height: 50px;

  padding: 5px;
  border: 1px solid rgba(103, 172, 214, 0.18);
  border-radius: 12px;

  background: rgba(74, 129, 179, 0.1);

  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

/* Remove extra effects from the AWS image */
#expertise .aws-expertise-logo,
#expertise .service-card:hover .aws-expertise-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter: none !important;
  box-shadow: none !important;
  opacity: 1;
}


#certnexus-courses {
  scroll-margin-top: 110px;
}
