/* =========================================================
   Quantrobit Labs – Main Stylesheet (PHP version)
   ========================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --bg: #0a0a12;
  --bg-card: #0f0f1a;
  --bg-muted: #141420;
  --fg: #f8f8ff;
  --fg-muted: #8b8baa;
  --primary: #a855f7;
  --primary-faint: #a855f715;
  --accent: #06b6d4;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --radius-xl: 1.5rem;
  --transition: 0.3s ease;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 11rem;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Typography ── */
.gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #818cf8 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass morphism ── */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Glow effects ── */
.glow-purple {
  box-shadow: 0 0 80px rgba(168, 85, 247, 0.3), 0 0 160px rgba(168, 85, 247, 0.15);
}

.glow-cyan {
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.25), 0 0 120px rgba(6, 182, 212, 0.1);
}

/* ── Grid pattern ── */
.grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Animations ── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(2deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: .3;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(1.05);
  }
}

@keyframes gradient-x {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes mouse-scroll {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(8px);
    opacity: .4;
  }
}

@keyframes orb-1 {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.15) translate(30px, -20px);
  }
}

@keyframes orb-2 {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.2) translate(-40px, 30px);
  }
}

@keyframes sparkle {

  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(20deg);
  }

  75% {
    transform: rotate(-10deg);
  }
}

@keyframes slide-header-in {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.anim-fade-in-up {
  animation: fade-in-up .8s ease both;
}

.anim-fade-in {
  animation: fade-in .6s ease both;
}

.anim-scale-in {
  animation: scale-in .6s ease both;
}

.anim-marquee {
  animation: marquee 30s linear infinite;
}

.anim-float {
  animation: float 8s ease-in-out infinite;
}

.anim-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

.anim-sparkle {
  animation: sparkle 2s ease-in-out infinite;
  animation-delay: 0s;
  animation-iteration-count: infinite;
}

/* stagger helpers */
.d-100 {
  animation-delay: .1s;
}

.d-200 {
  animation-delay: .2s;
}

.d-300 {
  animation-delay: .3s;
}

.d-400 {
  animation-delay: .4s;
}

.d-500 {
  animation-delay: .5s;
}

/* hidden until animated */
.reveal {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transform: translateY(28px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 9999px;
  padding: 0 2rem;
  height: 3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left .5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 30px rgba(168, 85, 247, .35);
}

.btn-primary:hover {
  background: #9333ea;
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn-white:hover {
  background: rgba(255, 255, 255, .9);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, .2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(168, 85, 247, .4);
}

.btn-dark {
  background: var(--fg);
  color: var(--bg);
}

.btn-dark:hover {
  background: rgba(248, 248, 255, .88);
}

.btn-lg {
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1rem;
}

/* ── Hover / card effects ── */
.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

.card-hover {
  transition: all var(--transition);
}

.card-hover:hover {
  background-color: rgba(255, 255, 255, .05) !important;
  border-color: rgba(168, 85, 247, .3) !important;
}

/* gradient border */
.gradient-border {
  position: relative;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, #a855f7, #818cf8, #06b6d4) border-box;
  border: 1px solid transparent;
}

/* logo glow */
.logo-glow {
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, .5)) drop-shadow(0 0 40px rgba(6, 182, 212, .3));
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 10.5rem;
  display: flex;
  align-items: center;
  animation: slide-header-in .5s ease both;
  transition: background .4s ease, border-color .4s ease;
}

#site-header.scrolled {
  background: rgba(10, 10, 18, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

#site-header.hidden {
  transform: translateY(-110%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  height: 100%;
}

/* Logo — fills the full header height automatically */
.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-link img {
  height: 10rem;
  width: auto;
  max-width: calc(100vw - 5.5rem);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, .5)) drop-shadow(0 0 30px rgba(6, 182, 212, .2));
  transition: filter .4s ease;
}

.logo-link:hover img {
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, .6)) drop-shadow(0 0 40px rgba(6, 182, 212, .3));
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.desktop-nav a {
  position: relative;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: .75rem;
  transition: color var(--transition), background var(--transition);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: .25rem;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 9999px;
  transition: transform var(--transition);
}

.desktop-nav a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, .05);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  color: var(--fg);
  background: transparent;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, .1);
}

.hamburger svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  margin: .5rem 1rem 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(10, 10, 18, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .08);
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: .75rem;
  transition: color var(--transition), background var(--transition);
}

#mobile-menu a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, .05);
}

.mobile-cta {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 8.5rem;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .75;
}

.hero-bg-grad-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(120, 60, 220, .18), transparent);
}

.hero-bg-grad-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 70%, rgba(6, 182, 212, .1), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.hero-orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.hero-orb-1 {
  top: 15%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(120, 60, 220, .15) 0%, transparent 70%);
  animation: orb-1 12s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: 10%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, .12) 0%, transparent 70%);
  animation: orb-2 15s ease-in-out infinite 3s;
}

.hero-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, .06) 0%, transparent 70%);
  animation: pulse-glow 8s ease-in-out infinite 1s;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(168, 85, 247, .2);
  background: rgba(168, 85, 247, .05);
  backdrop-filter: blur(12px);
  margin-bottom: 1rem;
  transition: border-color var(--transition), transform var(--transition);
}

.hero-badge:hover {
  border-color: rgba(168, 85, 247, .5);
  transform: scale(1.04);
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  animation: sparkle 2s ease-in-out 3s infinite;
}

/* Heading */
.hero-h1 {
  text-align: center;
  font-size: clamp(2rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 0.75rem;
  max-width: 1100px;
}

.hero-h1 .sub {
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--accent);
  font-weight: 700;
}

/* Subtitle */
.hero-sub {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 1rem auto;
  line-height: 1.7;
}

/* CTA row */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-ctas .btn-primary .arrow {
  display: inline-block;
  animation: marquee-arrow 1.5s ease-in-out infinite;
}

@keyframes marquee-arrow {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

/* Stats row */
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-bottom: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: transparent;
  transition: background var(--transition);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  gap: .5rem;
}

.stat-cell:last-of-type {
  border-right: none;
}

.stat-cell:hover {
  background: rgba(255, 255, 255, .03);
}

.stat-val {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.stat-label {
  font-size: .75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.4;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
  animation: scroll-bob 2s ease-in-out infinite;
  z-index: 5;
}

.scroll-indicator:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .4);
  outline-offset: 4px;
  border-radius: 14px;
}

@keyframes scroll-bob {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-6px);
  }
}

.scroll-indicator svg {
  width: 22px;
  height: 36px;
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, .8);
}

.scroll-mouse-dot {
  animation: mouse-scroll 1.8s ease-in-out infinite;
}

/* ============================================================
   CLIENTS
   ============================================================ */
#clients {
  position: relative;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  overflow: hidden;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
}

.marquee-fade-l,
.marquee-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-l {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-fade-r {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-shrink: 0;
  animation: marquee 30s linear infinite;
}

.client-chip {
  flex-shrink: 0;
  padding: .75rem 2rem;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: border-color var(--transition);
}

.client-chip:hover {
  border-color: rgba(168, 85, 247, .3);
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.section-h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  right: -5%;
  top: 15%;
  width: 700px;
  height: 700px;
  background: rgba(168, 85, 247, .06);
  border-radius: 9999px;
  filter: blur(180px);
  pointer-events: none;
}

.services-bg-2 {
  position: absolute;
  left: -10%;
  bottom: 10%;
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, .05);
  border-radius: 9999px;
  filter: blur(150px);
  pointer-events: none;
}

/* ── Services Hero: Split Layout Header ── */
.services-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto 4rem;
  align-items: start;
}

@media (min-width: 768px) {
  .services-hero {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.services-hero-left .section-label {
  margin-bottom: 1.25rem;
}

.services-hero-h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0;
}

.services-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: .5rem;
}

.services-hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin: 0;
}

.services-hero-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, .3), rgba(6, 182, 212, .15), transparent);
}

.services-hero-stats {
  display: flex;
  gap: 3rem;
}

.services-hero-stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.services-hero-stat .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.services-hero-stat .stat-text {
  font-size: .8rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Services Grid: clean 3×3 ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card v2 ── */
.service-card-v2 {
  --card-accent: #a855f7;
  --card-accent-bg: rgba(168, 85, 247, .12);
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  cursor: pointer;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}

.service-card-v2:hover {
  background: rgba(255, 255, 255, .05);
  border-color: color-mix(in srgb, var(--card-accent) 40%, transparent);
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .35),
    0 0 40px color-mix(in srgb, var(--card-accent) 10%, transparent);
}

/* Top glow line */
.card-top-glow {
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.service-card-v2:hover .card-top-glow {
  opacity: 1;
}

/* Gradient overlay on hover */
.service-card-v2 .service-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.service-card-v2:hover .service-card-bg {
  opacity: .7;
}

/* Shine sweep */
.service-shine {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  overflow: hidden;
}

.service-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
  transform: translateX(-100%);
  transition: transform 1s ease;
}

.service-card-v2:hover .service-shine {
  opacity: 1;
}

.service-card-v2:hover .service-shine::after {
  transform: translateX(100%);
}

/* Content */
.service-card-v2 .service-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-v2 .service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* Icon v2 - bigger, colored background */
.service-icon-v2 {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .875rem;
  background: var(--card-accent-bg);
  border: 1px solid color-mix(in srgb, var(--card-accent) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s ease;
}

.service-card-v2:hover .service-icon-v2 {
  background: color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--card-accent) 40%, transparent);
  transform: scale(1.08);
  box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent) 20%, transparent);
}

.service-icon-v2 svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--card-accent);
  transition: color .4s ease;
}

/* Number badge */
.service-num {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .15);
  font-family: 'Inter', monospace;
  letter-spacing: .05em;
  transition: color .4s ease;
}

.service-card-v2:hover .service-num {
  color: color-mix(in srgb, var(--card-accent) 50%, transparent);
}

/* Title & desc */
.service-card-v2 h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: #fff;
  transition: color .4s ease;
}

.service-card-v2:hover h3 {
  color: #fff;
}

.service-card-v2 p {
  font-size: .9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}

/* Footer: Arrow icon */
.service-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.learn-more-link.explore-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent) 15%, transparent);
  color: var(--card-accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more-link.explore-icon-only svg {
  width: 1.2rem;
  height: 1.2rem;
}

.service-card-v2:hover .learn-more-link.explore-icon-only {
  opacity: 1;
  transform: translateX(0);
}

/* gradient backgrounds for each card */
.bg-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, .15), rgba(236, 72, 153, .08));
}

.bg-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, .15), rgba(6, 182, 212, .08));
}

.bg-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, .15), rgba(5, 150, 105, .08));
}

.bg-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, .15), rgba(234, 179, 8, .08));
}

.bg-indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(139, 92, 246, .08));
}

.bg-rose {
  background: linear-gradient(135deg, rgba(244, 63, 94, .15), rgba(239, 68, 68, .08));
}

.bg-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, .15), rgba(6, 182, 212, .08));
}

.bg-slate {
  background: linear-gradient(135deg, rgba(100, 116, 139, .15), rgba(71, 85, 105, .08));
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
#industries {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.industries-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, .05);
  border-radius: 9999px;
  filter: blur(150px);
  pointer-events: none;
}

.industry-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  cursor: pointer;
}

.industry-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .industry-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.industry-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.industry-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: .75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.industry-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.industry-card p {
  font-size: .875rem;
  color: var(--fg-muted);
  margin-top: .2rem;
}

.industry-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.industry-stat {
  font-size: .875rem;
  font-weight: 500;
  color: var(--primary);
}

.industry-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.industry-card:hover .industry-arrow {
  background: var(--primary);
  color: #fff;
}

.industry-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* icon colour helpers */
.ic-blue {
  color: #60a5fa;
}

.ib-blue {
  background: rgba(59, 130, 246, .1);
}

.ic-green {
  color: #4ade80;
}

.ib-green {
  background: rgba(34, 197, 94, .1);
}

.ic-red {
  color: #f87171;
}

.ib-red {
  background: rgba(239, 68, 68, .1);
}

.ic-yellow {
  color: #fbbf24;
}

.ib-yellow {
  background: rgba(234, 179, 8, .1);
}

.ic-purple {
  color: #c084fc;
}

.ib-purple {
  background: rgba(168, 85, 247, .1);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#about {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  right: 25%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: rgba(6, 182, 212, .05);
  border-radius: 9999px;
  filter: blur(150px);
  pointer-events: none;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.feature-inner {
  display: flex;
  gap: 1.25rem;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: .75rem;
  background: rgba(168, 85, 247, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(168, 85, 247, .2);
}

.feature-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.feature-card .desc {
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--fg-muted);
}

.check-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
#solutions {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.solutions-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .5;
}

.solutions-bg {
  position: absolute;
  left: 33%;
  top: 0;
  width: 500px;
  height: 500px;
  background: rgba(168, 85, 247, .05);
  border-radius: 9999px;
  filter: blur(150px);
  pointer-events: none;
}

.solutions-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.solution-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(6, 182, 212, .2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition);
}

.solution-card:hover .solution-icon {
  transform: scale(1.1);
}

.solution-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.solution-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.solution-card p {
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.solution-glow {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(168, 85, 247, .1);
  border-radius: 9999px;
  filter: blur(1.5rem);
  opacity: 0;
  transition: opacity .5s ease;
}

.solution-card:hover .solution-glow {
  opacity: 1;
}

/* ============================================================
   CTA
   ============================================================ */
#contact {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.cta-bg-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(168, 85, 247, .08);
  border-radius: 9999px;
  filter: blur(150px);
  pointer-events: none;
}

/* ── Modern CTA Architectural Grid ── */
.cta-wrapper {
  position: relative;
}

.cta-inner {
  background: rgba(15, 15, 26, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 2rem;
}

@media (min-width: 1200px) {
  .cta-inner {
    padding: 3rem 3rem;
  }
}

.cta-grid-modern {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .cta-grid-modern {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: stretch;
  }
}

/* Left Column */
.cta-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .25em;
  margin-bottom: 0.75rem;
}

.cta-h2-modern {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-rule-of-three {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cta-bullet {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.5;
  font-weight: 300;
}

.cta-bullet strong {
  color: #fff;
  font-weight: 600;
  min-width: 75px;
}

.cta-btns-modern .btn-white {
  width: 240px;
  padding-inline: 1rem;
}

/* Right Column CSS */
.cta-right-column {
  width: 100%;
}

#cta-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.cta-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.cta-trust-signals {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-list li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 1.5rem;
  font-weight: 300;
}

.trust-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #a855f7;
  font-size: 0.85rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

@media (min-width: 640px) {
  .contact-card {
    flex-direction: row;
    align-items: center;
  }
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.contact-card.span-full {
  grid-column: 1 / -1;
}

.card-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-label {
  font-size: .65rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .25rem;
}

.card-value {
  font-size: .85rem;
  color: var(--fg);
  font-weight: 300;
  line-height: 1.5;
  white-space: pre-line;
}

.contact-card:hover .card-value {
  color: #fff;
}

/* Interactive Form View */
.cta-form-view {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
}

.cta-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.form-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.btn-close-form {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition);
  padding: 0;
  line-height: 1;
}

.btn-close-form:hover {
  color: #fff;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(15, 15, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* Custom Select UI */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.custom-select-trigger .c-select-text.placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.custom-select-trigger .c-select-icon {
  transition: transform var(--transition);
}

.custom-select-trigger.open {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.custom-select-trigger.open .c-select-icon {
  transform: rotate(180deg);
}

/* Glassmorphism Dropdown Menu */
.custom-select-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  max-height: 250px;
  overflow-y: auto;
}

/* Custom Scrollbar for Dropdown */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.custom-select-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 0.6rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.1s ease;
}

.custom-select-option:hover {
  background: rgba(168, 85, 247, 0.2);
}

.custom-select-option:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 50px;
}

.form-btn-full {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  padding: 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-footer-trust {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.fade-in-anim {
  animation: fadeInAnim 0.4s ease forwards;
}

@keyframes fadeInAnim {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  position: relative;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(10, 10, 18, .5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

.footer-brand img {
  height: 10rem;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, .4));
}

.footer-brand p {
  margin-top: 1rem;
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  transition: background var(--transition), color var(--transition);
}

.social-link:hover {
  background: rgba(168, 85, 247, .2);
  color: var(--primary);
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer-col h3 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg);
}

.footer-col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-col a {
  font-size: .875rem;
  color: var(--fg-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: .875rem;
  color: var(--fg-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: .875rem;
  color: var(--fg-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--fg);
}

/* ============================================================
   SECTION HEADER ALIGNMENT HELPER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ============================================================
   ABOUT US
   ============================================================ */
#about {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

/* Background decorations */
.about-orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(160px);
}

.about-orb-1 {
  top: 5%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(168, 85, 247, .07);
}

.about-orb-2 {
  bottom: 10%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, .07);
}

.about-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ── Story Row ── */
.about-story-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 7rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-story-row {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
  }
}

.about-label-sm {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.about-body:last-of-type {
  margin-bottom: 0;
}

.about-story-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ── Stats Icon Cards ── */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-stat-card {
  border-radius: 1.25rem;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition),
              box-shadow var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-4px);
}

.asc-purple:hover  { border-color: rgba(168, 85, 247, .35) !important; box-shadow: 0 0 28px rgba(168, 85, 247, .18); }
.asc-cyan:hover    { border-color: rgba(6, 182, 212, .35) !important;  box-shadow: 0 0 28px rgba(6, 182, 212, .18);  }
.asc-pink:hover    { border-color: rgba(236, 72, 153, .35) !important; box-shadow: 0 0 28px rgba(236, 72, 153, .18); }

.about-stat-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-stat-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.asc-icon-purple { background: rgba(168, 85, 247, .15); color: var(--primary); border: 1px solid rgba(168, 85, 247, .25); }
.asc-icon-cyan   { background: rgba(6, 182, 212, .15);  color: var(--accent);  border: 1px solid rgba(6, 182, 212, .25);  }
.asc-icon-pink   { background: rgba(236, 72, 153, .15); color: #ec4899;        border: 1px solid rgba(236, 72, 153, .25); }

.about-stat-content {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.about-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(135deg, #a855f7, #818cf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: .82rem;
  color: var(--fg);
  font-weight: 600;
  line-height: 1.3;
}

.about-stat-sub {
  font-size: .72rem;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: .15rem;
}

/* ── Leadership ── */
.about-leadership {
  margin-bottom: 7rem;
}

.about-directors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-directors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Director card — horizontal layout */
.about-director-card {
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.4,0,.2,1),
              border-color .45s ease,
              box-shadow .45s ease;
}

.adc-purple { border-color: rgba(168, 85, 247, .12) !important; }
.adc-cyan   { border-color: rgba(6, 182, 212, .12) !important;  }

.adc-purple:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, .45) !important;
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .15),
              0 24px 60px rgba(0, 0, 0, .4),
              0 0 60px rgba(168, 85, 247, .15);
}

.adc-cyan:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, .45) !important;
  box-shadow: 0 0 0 1px rgba(6, 182, 212, .15),
              0 24px 60px rgba(0, 0, 0, .4),
              0 0 60px rgba(6, 182, 212, .15);
}

/* Shine sweep on hover */
.adc-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  border-radius: inherit;
}

.adc-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, .06) 50%,
    transparent 80%
  );
  transition: left .6s ease;
}

.about-director-card:hover .adc-shine::after {
  left: 150%;
}

/* Top glow line */
.adc-top-glow {
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity .45s ease;
}

.adc-purple .adc-top-glow {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .8), transparent);
}

.adc-cyan .adc-top-glow {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, .8), transparent);
}

.about-director-card:hover .adc-top-glow {
  opacity: 1;
}

/* Inner layout */
.adc-inner {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Avatar */
.adc-avatar-col { flex-shrink: 0; }

.adc-avatar-wrap {
  position: relative;
  width: 5rem;
  height: 5rem;
}

.adc-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: box-shadow .45s ease;
}

.adc-avatar--purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, .7), rgba(129, 140, 248, .5));
  border: 2px solid rgba(168, 85, 247, .5);
  box-shadow: 0 0 20px rgba(168, 85, 247, .35);
}

.adc-avatar--cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, .7), rgba(129, 140, 248, .5));
  border: 2px solid rgba(6, 182, 212, .5);
  box-shadow: 0 0 20px rgba(6, 182, 212, .35);
}

.adc-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
  display: block;
}

.adc-purple:hover .adc-avatar--purple {
  box-shadow: 0 0 30px rgba(168, 85, 247, .6), 0 0 60px rgba(168, 85, 247, .25);
}

.adc-cyan:hover .adc-avatar--cyan {
  box-shadow: 0 0 30px rgba(6, 182, 212, .6), 0 0 60px rgba(6, 182, 212, .25);
}

.adc-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  z-index: 1;
  opacity: .5;
  transition: opacity .45s ease;
}

.adc-avatar-ring--purple {
  background: radial-gradient(circle, rgba(168, 85, 247, .25) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

.adc-avatar-ring--cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, .25) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite 1s;
}

.about-director-card:hover .adc-avatar-ring { opacity: 1; }

.adc-avatar-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  z-index: 0;
  opacity: 0;
  transition: opacity .45s ease;
  animation: adc-pulse-ring 2s ease-in-out infinite;
}

.adc-purple .adc-avatar-pulse { border: 1px solid rgba(168, 85, 247, .3); }
.adc-cyan   .adc-avatar-pulse { border: 1px solid rgba(6, 182, 212, .3);  }

.about-director-card:hover .adc-avatar-pulse { opacity: 1; }

@keyframes adc-pulse-ring {
  0%, 100% { transform: scale(1);   opacity: .5; }
  50%       { transform: scale(1.1); opacity: .2; }
}

/* Content */
.adc-content { flex: 1; min-width: 0; }

.adc-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .2rem;
}

.adc-title {
  font-size: .83rem;
  font-weight: 600;
  margin-bottom: .9rem;
  letter-spacing: .02em;
}

.adc-title--purple { color: var(--primary); }
.adc-title--cyan   { color: var(--accent);  }

.adc-bio {
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.adc-expertise {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.1rem;
}

.adc-expertise-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fg-muted);
  margin-bottom: .6rem;
}

.adc-expertise-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.adc-expertise-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--fg-muted);
  transition: color .3s ease;
}

.about-director-card:hover .adc-expertise-item { color: var(--fg); }

.adc-check {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.adc-check--purple { color: var(--primary); }
.adc-check--cyan   { color: var(--accent);  }
.adc-check svg { width: 100%; height: 100%; }

.adc-footer { margin-top: 1.25rem; }

.adc-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .5rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.adc-linkedin svg { width: 1.1rem; height: 1.1rem; }

.adc-linkedin--purple {
  background: rgba(168, 85, 247, .12);
  color: var(--primary);
  border: 1px solid rgba(168, 85, 247, .2);
}

.adc-linkedin--cyan {
  background: rgba(6, 182, 212, .12);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, .2);
}

.adc-linkedin:hover { transform: translateY(-2px); }
.adc-linkedin--purple:hover { background: rgba(168, 85, 247, .25); border-color: rgba(168, 85, 247, .5); }
.adc-linkedin--cyan:hover   { background: rgba(6, 182, 212, .25);  border-color: rgba(6, 182, 212, .5);  }

/* ── Mission & Vision ── */
.about-mv-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 6rem;
}

@media (min-width: 640px) {
  .about-mv-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-mv-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform var(--transition), border-color var(--transition);
}

.about-mv-card:hover { transform: translateY(-4px); }

.about-mv-left  { flex-shrink: 0; }
.about-mv-right { flex: 1; min-width: 0; }

.about-mv-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-mv-icon svg { width: 1.6rem; height: 1.6rem; }

.about-mv-icon--purple {
  background: rgba(168, 85, 247, .15);
  color: var(--primary);
  border: 1px solid rgba(168, 85, 247, .25);
}

.about-mv-icon--cyan {
  background: rgba(6, 182, 212, .15);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, .25);
}

.about-mv-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}

.about-mv-body {
  font-size: .88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.about-mv-glow {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  filter: blur(2rem);
  opacity: 0;
  transition: opacity .5s ease;
}

.about-mv-card:hover .about-mv-glow { opacity: 1; }
.about-mv-glow--purple { background: rgba(168, 85, 247, .2); }
.about-mv-glow--cyan   { background: rgba(6, 182, 212, .2);  }

/* ── Trust Cards Grid ── */
.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .about-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-trust-card {
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.about-trust-card:hover { transform: translateY(-5px); }

.atc-purple:hover { border-color: rgba(168, 85, 247, .3) !important; box-shadow: 0 0 30px rgba(168, 85, 247, .12); }
.atc-cyan:hover   { border-color: rgba(6, 182, 212, .3) !important;  box-shadow: 0 0 30px rgba(6, 182, 212, .12);  }

.atc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atc-icon svg { width: 1.4rem; height: 1.4rem; }

.atc-icon--purple { background: rgba(168, 85, 247, .15); color: var(--primary); border: 1px solid rgba(168, 85, 247, .2); }
.atc-icon--cyan   { background: rgba(6, 182, 212, .15);  color: var(--accent);  border: 1px solid rgba(6, 182, 212, .2);  }

.atc-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.atc-desc {
  font-size: .82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.section-header .section-sub {
  margin-inline: auto;
}

/* ============================================================
   RESPONSIVE overrides
   ============================================================ */
@media (max-width: 1023px) {

  .desktop-nav,
  .header-cta {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  /* Ensure hero fits vertically on one screen (100vh) */
  #hero {
    padding-top: 11.5rem;
    min-height: 100vh;
  }
  .hero-badge {
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
  }
  .hero-h1 {
    margin-bottom: 0.75rem;
  }
  .hero-sub {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .hero-ctas {
    margin-bottom: 2rem;
  }
  .stats-grid {
    border-radius: 0.5rem;
  }
  .stat-cell {
    padding: 1rem 0.5rem;
    gap: 0.25rem;
  }
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}