:root {
  --white: #ffffff;
  --blue-900: #0d1635;
  --blue-700: #3a6b1c;
  --blue-500: #3a6b1c;
  --red-700: #c97a11;
  --red-500: #f2a531;
  --gray-900: #1f2933;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(15, 39, 68, 0.08);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--blue-900);
}

.section-intro {
  margin: 0 0 28px;
  color: var(--gray-700);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-900);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-list a {
  font-weight: 600;
  color: var(--gray-700);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--blue-900);
  border-bottom-color: var(--red-500);
}

.socials {
  display: flex;
  gap: 8px;
}

.social {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social:hover {
  transform: translateY(-2px);
  border-color: var(--blue-500);
}

.hero {
  padding: 84px 0 66px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  transition: transform 0.25s ease;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--blue-900);
  line-height: 1.15;
}

.hero p {
  margin: 0 0 20px;
  color: var(--gray-700);
}

.hero-copy-old h1,
.hero-copy-old p {
  opacity: 0;
  transform: translateX(-28px);
  animation: heroMessageLTR 0.9s ease forwards;
}

.hero-copy-old h1 {
  animation-delay: 0.12s;
}

.hero-copy-old p {
  animation-delay: 0.34s;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.home-hero .hero-grid {
  grid-template-columns: 1fr 1fr;
}

.home-hero .media-box {
  min-height: 400px;
}

.hero-copy-new {
  display: none;
  opacity: 0;
}

.hero-message.show-new .hero-copy-old {
  display: none;
}

.hero-message.show-new .hero-copy-new {
  display: block;
  animation: textFadeIn 0.9s ease forwards;
}

.hero-message.show-new .hero-copy-new h1 {
  opacity: 0;
  animation: textFadeIn 0.9s ease forwards;
}

.hero-message.show-new .hero-copy-new p {
  opacity: 0;
  animation: textFadeIn 0.9s ease forwards;
}

.hero-message.show-new .hero-copy-new h1 {
  animation-delay: 0.08s;
}

.hero-message.show-new .hero-copy-new p:nth-of-type(1) {
  animation-delay: 0.15s;
}

.hero-message.show-new .hero-copy-new p:nth-of-type(2) {
  animation-delay: 0.3s;
}

.btn {
  display: inline-block;
  background: var(--blue-700);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(58, 107, 28, 0.26);
}

.btn.red {
  background: var(--red-700);
}

.btn.red:hover {
  background: var(--red-500);
  box-shadow: 0 8px 18px rgba(178, 31, 45, 0.24);
}

.media-box {
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--gray-700);
  font-weight: 600;
  text-align: center;
  padding: 24px;
}

.badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-900);
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 8px 14px;
  background: #e5e7eb;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  box-shadow: 0 2px 0 rgba(15, 39, 68, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-500);
}

.card-icon {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background: #eef2f7;
  border: 1px solid #d7dee9;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 0 16px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px;
  background: #eef2f7;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--gray-700);
}

.testimonial-wrap {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.testimonial-item {
  display: none;
}

.testimonial-item.active {
  display: block;
}

.quote {
  font-size: 1.1rem;
  color: var(--blue-900);
  margin: 0 0 16px;
}

.t-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--gray-100);
}

.progress {
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: var(--gray-100);
  margin-top: 14px;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red-500);
  animation: progress6 6s linear infinite;
}

@keyframes progress6 {
  from { width: 0%; }
  to { width: 100%; }
}

.cta-band {
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 20px;
  align-items: center;
}

.cta-band h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.cta-band p {
  margin: 0;
  color: #dbe7f8;
}

.number-list {
  display: grid;
  gap: 14px;
}

.number-item {
  border-left: 4px solid var(--blue-700);
  border: 1px solid var(--gray-300);
  border-left-width: 4px;
  border-radius: 8px;
  padding: 16px;
}

.number-tag {
  color: var(--red-700);
  font-weight: 800;
  margin-right: 8px;
}

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tab-btn {
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
}

.tab-btn.active {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile-visual {
  height: 60px;
  border-radius: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
}

.jobs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

.filter-box {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: 92px;
}

.filter-box h4 {
  margin: 0 0 10px;
  color: var(--blue-900);
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
  margin-bottom: 10px;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.job-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.job-head {
  width: 100%;
  border: 0;
  background: var(--white);
  text-align: left;
  padding: 16px;
  font: inherit;
  font-weight: 700;
  color: var(--blue-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.job-body {
  display: none;
  padding: 0 16px 16px;
  color: var(--gray-700);
}

.job-item.open .job-body {
  display: block;
  animation: fadeUp 0.35s ease;
}

.job-meta {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.bullets {
  padding-left: 18px;
  margin: 8px 0 0;
}

.bullets li { margin-bottom: 6px; }

.toc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.toc {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 12px;
  position: sticky;
  top: 88px;
  height: fit-content;
}

.toc a {
  display: block;
  padding: 8px;
  border-radius: 8px;
  color: var(--gray-700);
  font-weight: 600;
}

.toc a:hover { background: var(--gray-100); }

.accordion {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  border: 0;
  background: var(--white);
  text-align: left;
  padding: 14px;
  font: inherit;
  font-weight: 700;
  color: var(--blue-900);
  cursor: pointer;
}

.acc-content {
  display: none;
  padding: 0 14px 14px;
  color: var(--gray-700);
}

.accordion.open .acc-content {
  display: block;
}

.drawer {
  position: fixed;
  right: -460px;
  top: 0;
  width: min(440px, 95vw);
  height: 100vh;
  background: var(--white);
  border-left: 1px solid var(--gray-300);
  box-shadow: -8px 0 30px rgba(15, 39, 68, 0.08);
  padding: 20px;
  overflow: auto;
  transition: right 0.3s ease;
  z-index: 150;
}

.drawer.open { right: 0; }

.drawer-close {
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font-size: 1.5rem;
  cursor: pointer;
  float: right;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--gray-300);
  background: #fbfcfe;
}

.footer-grid {
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-info h3,
.contact-form h3 {
  margin-top: 0;
  color: var(--blue-900);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.disclaimer {
  border-top: 1px solid var(--gray-300);
  padding: 14px 0 24px;
  color: var(--gray-700);
  font-size: 0.9rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMessageLTR {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .hero-grid,
  .cta-band,
  .jobs-layout,
  .toc-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filter-box,
  .toc {
    position: static;
  }

  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-wrap { flex-wrap: wrap; padding: 10px 0; }
}

@media (max-width: 540px) {
  .tile-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
}

/* Premium 3D Enhancement Layer */
body {
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 111, 184, 0.08), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(215, 55, 69, 0.08), transparent 26%),
    #ffffff;
}

.site-header {
  backdrop-filter: saturate(130%) blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

.hero,
.section {
  position: relative;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: none;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 260px;
  height: 260px;
  right: -80px;
  top: 10px;
  background: radial-gradient(circle at 30% 30%, #8db7f0 0%, #8cd63f 50%, #8fdc63 100%);
  filter: blur(1px);
  box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.2), 0 22px 40px rgba(31, 78, 134, 0.2);
  transform: translate(var(--mx, 0px), var(--my, 0px));
  animation: orbFloat 12s ease-in-out infinite;
}

.hero::after {
  width: 140px;
  height: 140px;
  right: 160px;
  top: 180px;
  background: radial-gradient(circle at 30% 30%, #f98a95 0%, #f2a531 55%, #c97a11 100%);
  box-shadow: inset -12px -10px 24px rgba(0, 0, 0, 0.2), 0 10px 28px rgba(178, 31, 45, 0.24);
  transform: translate(calc(var(--mx, 0px) * -0.7), calc(var(--my, 0px) * -0.7));
  animation: orbFloat 9s ease-in-out infinite reverse;
}

.hero > .container,
.section > .container {
  position: relative;
  z-index: 1;
}

.media-box {
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 24px 50px rgba(15, 39, 68, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform-style: preserve-3d;
}

.cards-grid,
.tile-grid {
  perspective: 1000px;
}

.card,
.tile,
.number-item,
.testimonial-wrap,
.filter-box,
.toc,
.job-item,
.accordion {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border-color: rgba(180, 194, 216, 0.5);
  box-shadow:
    0 16px 34px rgba(15, 39, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card::before,
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.card:hover::before,
.tile:hover::before {
  transform: translateX(130%);
}

.card:hover,
.tile:hover {
  border-color: rgba(47, 111, 184, 0.6);
  box-shadow:
    0 20px 42px rgba(15, 39, 68, 0.14),
    0 0 0 1px rgba(47, 111, 184, 0.16);
}

.card-icon {
  background: linear-gradient(160deg, #eef4ff 0%, #e0ecff 100%);
  border-color: rgba(47, 111, 184, 0.2);
  box-shadow: 0 8px 16px rgba(47, 111, 184, 0.14);
}

.btn {
  background: #3a6b1c;
  box-shadow: 0 10px 20px rgba(58, 107, 28, 0.22);
}

.btn.red {
  background: linear-gradient(140deg, #f2a531 0%, #c97a11 100%);
  box-shadow: 0 10px 20px rgba(178, 31, 45, 0.22);
}

.btn:hover {
  transform: translateY(-3px) scale(1.015);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, #0d1635 0%, #8fdc63 55%, #132043 100%);
  box-shadow: 0 24px 48px rgba(15, 39, 68, 0.26);
}

.cta-band::after {
  content: none;
  position: absolute;
  width: 170px;
  height: 170px;
  left: -50px;
  bottom: -65px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f98a95 0%, #f2a531 55%, #c97a11 100%);
  opacity: 0.9;
  animation: orbFloat 10s ease-in-out infinite;
}

.testimonial-wrap {
  position: relative;
}

.testimonial-wrap::before {
  content: none;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d9e9ff 0%, #8fb6e8 60%, #8cd63f 100%);
  opacity: 0.35;
}

[data-animate] {
  transform: translateY(16px) scale(0.985);
}

[data-animate].visible {
  transform: translateY(0) scale(1);
}

@keyframes orbFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  50% { transform: translateY(-14px) translateX(6px) rotate(8deg); }
  100% { transform: translateY(0) translateX(0) rotate(0deg); }
}

@media (max-width: 840px) {
  .hero::before { width: 180px; height: 180px; right: -70px; }
  .hero::after { width: 96px; height: 96px; right: 90px; top: 190px; }
  .brand-logo { width: 184px; height: 52px; }
}

/* Header/Footer Theme Overrides */
.site-header {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding-top: 10px;
}

.site-header .nav-wrap {
  min-height: 88px;
  padding: 0 22px;
  border-radius: 999px;
  background: #3a6b1c;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 72px;
  min-width: 360px;
  max-width: 100%;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
}

.brand-logo {
  height: 68px;
  width: 68px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  align-items: baseline;
  flex: 1 1 auto;
  font-size: clamp(1.2rem, 1.9vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 840px) {
  .brand {
    min-width: 0;
    padding: 8px 14px 8px 10px;
    gap: 10px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-text {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }
}

.brand-text-main {
  color: #ffffff;
}

.brand-text-accent {
  color: #f2a531;
}

.nav-list a {
  color: #0d1635;
  padding: 8px 12px;
  border-radius: 10px;
  border-bottom: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: #0d1635;
  background: transparent;
}

.nav-list a.active {
  background: rgba(242, 165, 49, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 219, 0.4);
}

.social {
  border-color: rgba(255, 232, 170, 0.55);
  color: #ffffff;
  background: rgba(255, 244, 214, 0.08);
}

.social:hover {
  border-color: rgba(255, 232, 170, 0.95);
  background: rgba(242, 165, 49, 0.18);
}

.login-mini {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 232, 170, 0.55);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 244, 214, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.login-mini svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.login-mini:hover,
.login-mini.active {
  transform: translateY(-2px);
  border-color: rgba(255, 232, 170, 0.95);
  background: rgba(242, 165, 49, 0.88);
}

.site-footer {
  background: #3a6b1c;
  border-top: 0;
}

.contact-info h3,
.contact-form h3 {
  color: #0d1635;
}

.site-footer p,
.site-footer label,
.site-footer .disclaimer {
  color: #0d1635;
}

.site-footer strong {
  color: #0d1635;
}

.disclaimer {
  border-top: 1px solid rgba(255, 244, 200, 0.28);
}

.card:hover,
.tile:hover,
.number-item:hover,
.testimonial-wrap:hover,
.filter-box:hover,
.toc:hover,
.job-item:hover,
.accordion:hover,
.media-box:hover {
  transform: perspective(1100px) translateY(6px) rotateX(-2deg);
  box-shadow:
    0 -12px 24px rgba(31, 78, 134, 0.2),
    0 0 0 1px rgba(47, 111, 184, 0.2),
    0 -12px 26px rgba(178, 31, 45, 0.14);
}

/* Testimonial Card Carousel Override */
.testimonial-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.testimonial-item {
  display: block;
  position: absolute;
  top: 20px;
  left: 50%;
  width: min(420px, 66%);
  min-height: 280px;
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid rgba(180, 194, 216, 0.5);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 39, 68, 0.1);
  transform: translateX(-50%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
}

.testimonial-item .quote {
  color: #0d1635;
}

.testimonial-item.center {
  transform: translateX(-50%) translateZ(0) scale(1);
  opacity: 1;
  z-index: 3;
  filter: none;
}

.testimonial-item:hover {
  box-shadow:
    0 -12px 24px rgba(31, 78, 134, 0.2),
    0 0 0 1px rgba(47, 111, 184, 0.2),
    0 -12px 26px rgba(178, 31, 45, 0.14);
}

.testimonial-item.center:hover {
  transform: translateX(-50%) translateY(6px) rotateX(-2deg) scale(1);
}

.testimonial-item.left:hover {
  transform: translateX(calc(-50% - 250px)) translateY(6px) rotateX(-2deg) scale(0.88);
}

.testimonial-item.right:hover {
  transform: translateX(calc(-50% + 250px)) translateY(6px) rotateX(-2deg) scale(0.88);
}

.testimonial-item.left,
.testimonial-item.right {
  opacity: 0.9;
  z-index: 2;
  filter: saturate(0.7) brightness(0.8);
}

.testimonial-item.left {
  transform: translateX(calc(-50% - 250px)) scale(0.88);
}

.testimonial-item.right {
  transform: translateX(calc(-50% + 250px)) scale(0.88);
}

.testimonial-item.left::after,
.testimonial-item.right::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.3);
}

.testimonial-item.hidden {
  opacity: 0;
  transform: translateX(-50%) scale(0.82);
  z-index: 1;
}

.progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  margin-top: 0;
}

.progress > span {
  width: 0%;
  animation: none;
}

@media (max-width: 900px) {
  .testimonial-wrap {
    min-height: 390px;
  }

  .testimonial-item {
    width: min(430px, 78%);
    min-height: 300px;
  }

  .testimonial-item.left {
    transform: translateX(calc(-50% - 110px)) scale(0.92);
  }

  .testimonial-item.right {
    transform: translateX(calc(-50% + 110px)) scale(0.92);
  }
}

@media (max-width: 640px) {
  .testimonial-wrap {
    min-height: 360px;
  }

  .testimonial-item {
    width: min(560px, 96%);
    min-height: 260px;
    top: 12px;
  }

  .testimonial-item.left,
  .testimonial-item.right {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.9);
  }
}

@media (max-width: 840px) {
  .site-header .nav-wrap {
    min-height: 78px;
    border-radius: 24px;
    padding: 10px 16px;
  }
}

/* Services Process Route */
.process-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}

.route-track {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 58px;
  height: 4px;
  border-radius: 999px;
  background: rgba(215, 55, 69, 0.28);
  overflow: hidden;
}

.route-wave {
  position: absolute;
  inset: 0;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215, 55, 69, 0.1) 0%, rgba(215, 55, 69, 0.9) 50%, rgba(215, 55, 69, 0.1) 100%);
  animation: routeFlow 2.2s linear infinite;
}

.process-step {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(180, 194, 216, 0.5);
  border-radius: 12px;
  padding: 26px 18px 18px;
  min-height: 180px;
  box-shadow: 0 10px 24px rgba(15, 39, 68, 0.08);
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(215, 55, 69, 0) 0%,
    rgba(215, 55, 69, 0.14) 50%,
    rgba(215, 55, 69, 0) 100%
  );
  transform: translateX(-140%);
  opacity: 0;
  animation: stepRedFlowSeq 3s linear infinite;
  pointer-events: none;
}

.process-step:nth-of-type(1)::after {
  animation-delay: 0s;
}

.process-step:nth-of-type(2)::after {
  animation-delay: 1s;
}

.process-step:nth-of-type(3)::after {
  animation-delay: 2s;
}

.step-dot {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f2a531;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(215, 55, 69, 0.25);
}

.process-step h3 {
  margin: 0 0 8px;
  color: #0d1635;
}

.process-step p {
  margin: 0;
  color: #4b5563;
}

@keyframes routeFlow {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

@keyframes stepRedFlowSeq {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    transform: translateX(160%);
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    transform: translateX(160%);
    opacity: 0;
  }
}

@media (max-width: 840px) {
  .process-route {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 14px;
  }

  .route-track {
    left: 18px;
    right: auto;
    top: 24px;
    width: 4px;
    height: calc(100% - 44px);
  }

  .route-wave {
    width: 100%;
    height: 32%;
    background: linear-gradient(180deg, rgba(215, 55, 69, 0.1) 0%, rgba(215, 55, 69, 0.9) 50%, rgba(215, 55, 69, 0.1) 100%);
    animation: routeFlowVertical 2.2s linear infinite;
  }

  .step-dot {
    left: 18px;
    top: 26px;
    transform: translateX(0);
  }

  .process-step {
    padding-left: 44px;
  }
}

@keyframes routeFlowVertical {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(340%); }
}

/* Unique Industries Page */
.industries-hero-ux {
  padding-top: 54px;
}

.industries-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.industries-intro {
  background: linear-gradient(160deg, #ffffff 0%, #eef4fd 100%);
  border: 1px solid rgba(175, 196, 224, 0.8);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 14px 30px rgba(15, 39, 68, 0.08);
}

.industries-kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(215, 55, 69, 0.12);
  color: #c97a11;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industries-intro h1 {
  margin: 14px 0 10px;
  color: #0d1635;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.16;
}

.industries-intro p {
  margin: 0;
  color: #4b5563;
}

.industries-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.industries-metrics div {
  background: #ffffff;
  border: 1px solid rgba(190, 204, 223, 0.85);
  border-radius: 12px;
  padding: 10px;
}

.industries-metrics strong {
  display: block;
  color: #8fdc63;
  font-size: 1.05rem;
}

.industries-metrics span {
  color: #6b7280;
  font-size: 0.85rem;
}

.industries-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(173, 194, 221, 0.85);
  box-shadow: 0 14px 30px rgba(15, 39, 68, 0.12);
  min-height: 360px;
}

.industries-hero-media .ph-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #ffffff;
  background: rgba(15, 39, 68, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.industry-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.industry-panel {
  background: #ffffff;
  border: 1px solid rgba(180, 198, 223, 0.75);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 55%;
  box-shadow: 0 12px 26px rgba(15, 39, 68, 0.08);
}

.industry-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-panel-copy {
  padding: 16px 14px;
}

.industry-panel-copy h3 {
  margin: 0 0 8px;
  color: #0d1635;
  font-size: 1.05rem;
}

.industry-panel-copy p {
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 0.92rem;
}

.industry-panel-copy span {
  color: #c97a11;
  font-weight: 700;
  font-size: 0.84rem;
}

.industry-method {
  border: 1px solid rgba(178, 197, 223, 0.82);
  border-radius: 16px;
  padding: 24px 20px;
  background: linear-gradient(160deg, #ffffff 0%, #eef4fd 100%);
  box-shadow: 0 12px 26px rgba(15, 39, 68, 0.08);
}

.method-line {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}

.method-line::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215, 55, 69, 0.22) 0%, rgba(215, 55, 69, 0.85) 50%, rgba(215, 55, 69, 0.22) 100%);
}

.method-line article {
  background: #ffffff;
  border: 1px solid rgba(186, 202, 224, 0.82);
  border-radius: 12px;
  padding: 28px 14px 14px;
  position: relative;
}

.method-line article::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f2a531;
}

.method-line h3 {
  margin: 0 0 8px;
  color: #0d1635;
  font-size: 1rem;
}

.method-line p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .industries-shell,
  .industry-showcase,
  .method-line {
    grid-template-columns: 1fr;
  }

  .industry-panel {
    grid-template-columns: 1fr;
  }

  .industry-panel img {
    min-height: 220px;
  }

  .method-line::before {
    display: none;
  }
}

/* Auth + Dashboards */
.auth-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.auth-side,
.auth-card,
.dashboard-card,
.admin-list-box {
  border: 1px solid rgba(176, 194, 218, 0.8);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 39, 68, 0.08);
}

.auth-side,
.auth-card {
  padding: 22px;
}

.auth-side h1,
.auth-card h2 {
  margin: 0 0 10px;
  color: #0d1635;
}

.auth-role-switch,
.auth-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.auth-role-btn,
.auth-mode-btn {
  border: 1px solid #cbd5e1;
  background: #f8fbff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  color: #8fdc63;
  cursor: pointer;
}

.auth-role-btn.active,
.auth-mode-btn.active {
  background: #f2a531;
  border-color: #f2a531;
  color: #ffffff;
}

.auth-hint {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.auth-error,
.auth-success {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.auth-error {
  background: rgba(215, 55, 69, 0.12);
  color: #9f1b28;
  border: 1px solid rgba(215, 55, 69, 0.28);
}

.auth-success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.submission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-card {
  padding: 18px;
  margin-bottom: 16px;
}

.dashboard-card h2 {
  margin-top: 0;
  color: #0d1635;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #d8e0eb;
  border-radius: 10px;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1300px;
  background: #ffffff;
}

.dash-table th,
.dash-table td {
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #edf1f6;
  padding: 9px 10px;
  font-size: 0.86rem;
  text-align: left;
  white-space: nowrap;
}

.dash-table th {
  background: #eef4fc;
  color: #132043;
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
}

.admin-list-box {
  padding: 16px;
  height: fit-content;
}

.admin-list-box h3 {
  margin: 0 0 10px;
  color: #0d1635;
}

.employee-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.employee-list li {
  border: 1px solid #d2dce9;
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #8fdc63;
  cursor: pointer;
  background: #f8fbff;
}

.employee-list li.active {
  background: #f2a531;
  border-color: #f2a531;
  color: #ffffff;
}

@media (max-width: 980px) {
  .auth-wrap,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .submission-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-shell {
  min-height: 100vh;
  background: #f5f8fc;
}

.dash-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* Mobile Header Menu */
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  display: block;
}

@media (max-width: 900px) {
  .site-header .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

.site-header .nav-wrap > .nav-list,
  .site-header .nav-wrap > .socials {
    width: 100%;
  }

  .site-header .nav-wrap > .nav-list {
    display: none;
  }

  .site-header .nav-wrap > .socials {
    display: flex;
    width: auto;
    margin-left: auto;
    gap: 8px;
  }

  .site-header .nav-wrap.menu-open > .nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
  }

  .site-header .nav-wrap.menu-open > .socials {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .site-header .nav-wrap.menu-open > .nav-list a {
    display: block;
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero .media-box {
    margin-top: 6px;
  }
}

/* Final Service Image Fit Override */
.card-icon {
  width: 100% !important;
  height: 170px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin: 0 0 16px !important;
  background: transparent !important;
}

.card-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  background: transparent !important;
  display: block !important;
}

.premium-ph {
  text-align: left;
  align-content: start;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(232, 241, 252, 0.9) 100%),
    repeating-linear-gradient(
      135deg,
      rgba(31, 78, 134, 0.06) 0px,
      rgba(31, 78, 134, 0.06) 8px,
      rgba(255, 255, 255, 0) 8px,
      rgba(255, 255, 255, 0) 16px
    );
}

.premium-ph img,
.premium-ph .ph-video {
  width: 100%;
  height: 100%;
  max-height: 290px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(180, 194, 216, 0.6);
  box-shadow: 0 10px 22px rgba(15, 39, 68, 0.12);
  display: block;
}

.ph-caption {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 600;
}

.ph-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(140deg, #f2a531 0%, #c97a11 100%);
  box-shadow: 0 6px 14px rgba(178, 31, 45, 0.24);
}

/* Unique Deliverables Board */
.deliverables-board {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  grid-template-areas:
    "d1 d2"
    "d1 d3";
  gap: 18px;
  padding: 14px;
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(245, 249, 255, 0.95) 0%, rgba(231, 240, 252, 0.95) 100%),
    repeating-linear-gradient(0deg, rgba(31, 78, 134, 0.06) 0px, rgba(31, 78, 134, 0.06) 1px, transparent 1px, transparent 24px);
  border: 1px solid rgba(185, 201, 224, 0.8);
}

.deliverables-rail {
  position: absolute;
  left: 42%;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(215, 55, 69, 0.18) 0%, rgba(215, 55, 69, 0.85) 45%, rgba(215, 55, 69, 0.18) 100%);
}

.deliverables-rail::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 15px;
  height: 70px;
  border-radius: 999px;
  background: rgba(215, 55, 69, 0.92);
  filter: blur(0.5px);
  animation: railPulse 2.4s linear infinite;
}

.deliverable-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(177, 196, 222, 0.8);
  border-radius: 14px;
  padding: 22px 18px 18px;
  box-shadow: 0 12px 26px rgba(15, 39, 68, 0.08);
}

.deliverable-card::before {
  content: "";
  position: absolute;
  top: 26px;
  width: 42px;
  height: 2px;
  background: rgba(215, 55, 69, 0.75);
}

.d1 { grid-area: d1; min-height: 280px; }
.d2 { grid-area: d2; min-height: 130px; }
.d3 { grid-area: d3; min-height: 130px; }
.d1::before { right: -42px; }
.d2::before, .d3::before { left: -42px; }

.deliverable-no {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: linear-gradient(140deg, #f2a531 0%, #c97a11 100%);
}

.deliverable-card h3 {
  margin: 0 0 8px;
  color: #0d1635;
}

.deliverable-card p {
  margin: 0;
  color: #4b5563;
}

@keyframes railPulse {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(145px); opacity: 1; }
  100% { transform: translateY(290px); opacity: 0.85; }
}

@media (max-width: 920px) {
  .deliverables-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "d1"
      "d2"
      "d3";
  }

  .deliverables-rail {
    left: 28px;
    top: 20px;
    bottom: 20px;
  }

  .d1::before,
  .d2::before,
  .d3::before {
    left: -34px;
    right: auto;
    width: 34px;
  }
}
