@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');
@import url('components.css');
@import url('scroll-reveal-card.css');
@import url('sections/partnerships.css');
@import url('sections/why-us.css');
@import url('sections/careers.css');
@import url('sections/resources.css');
@import url('sections/faq.css');
@import url('sections/contact.css');
@import url('sections/footer.css');

:root {
  /* Premium ink + lavender palette (Poppr-inspired, blue-violet family) */
  --ink: #0c0d1a;
  --deep: #141528;
  --violet-900: #1e1a35;
  --violet-700: #4a3f72;
  --violet-500: #6e5fad;
  --periwinkle: #9490c4;
  --lavender: #b8a9e8;
  --lavender-soft: #d4c8f5;
  --mist: #e8e4f3;
  --cream: #f6f4fa;
  --surface: #faf9fc;

  --bg-main: var(--ink);
  --bg-nav: rgba(12, 13, 26, 0.82);

  --blue-start: #3d3566;
  --blue-mid: #6e5fad;
  --blue-end: #9490c4;

  --primary-teal: #9490c4;
  --primary-teal-hover: #b8a9e8;

  --text-primary: var(--cream);
  --text-secondary: rgba(246, 244, 250, 0.62);
  --text-muted: rgba(246, 244, 250, 0.38);
  --text-body: #5c5678;

  --navy: var(--ink);
  --purple-mid: var(--violet-500);
  --purple-light: var(--lavender);
  --purple-pale: var(--mist);
  --accent-muted: var(--periwinkle);

  --border-light: rgba(246, 244, 250, 0.08);

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(ellipse at 50% 0%, var(--violet-900) 0%, var(--ink) 55%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-teal { color: var(--primary-teal); }

/* Buttons - Sleek Premium Pill Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 1.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-heading);
  border-radius: 50px; /* Pill shape */
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lavender-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: var(--lavender-soft);
  box-shadow: 0 12px 40px rgba(12, 13, 26, 0.25);
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.text-blue-gradient {
  background: linear-gradient(120deg, var(--lavender) 0%, var(--periwinkle) 50%, var(--cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(246, 244, 250, 0.22);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(246, 244, 250, 0.06);
  border-color: rgba(196, 181, 253, 0.45);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}

.btn-dark:hover {
  background: var(--violet-700);
  border-color: var(--violet-700);
  transform: translateY(-2px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.55rem 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--ink);
  padding: 0.4rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* SEQUENCED LOGO HOVER — logo slides back, name replaces in place */
.nav-logo {
  position: relative;
  display: block;
  width: 168px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon-wrapper {
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%) translateX(0) scale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 1;
  transition:
    transform 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.4s ease;
  z-index: 2;
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.logo-text-wrapper {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(52px);
  display: flex;
  align-items: center;
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.25, 1, 0.5, 1) 0.06s,
    opacity 0.4s ease 0.06s;
  z-index: 1;
  pointer-events: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  white-space: nowrap;
}

body.nav-open {
  overflow: hidden;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lavender) 0%, var(--periwinkle) 100%);
  transition: var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-menu-cta {
  display: none;
}

.nav-cta {
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (hover: hover) {
  .nav-logo:hover .logo-icon-wrapper {
    transform: translateY(-50%) translateX(-52px) scale(0.82);
    opacity: 0.15;
  }

  .nav-logo:hover .logo-text-wrapper {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 7.5rem;
  padding-bottom: 3rem;
  z-index: 0;
}

/* Video Background */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16; /* lower opacity to keep text highly readable */
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  /* Dark tech radial gradient overlay */
  background: radial-gradient(
    circle at 30% 30%,
    rgba(20, 21, 40, 0.65) 0%,
    rgba(12, 13, 26, 0.94) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text-wrapper {
  max-width: 850px;
  margin-top: 0;
}

.hero-anim {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

.nav-container {
  opacity: 0;
  transform: translateY(-20px);
  will-change: transform, opacity;
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 780px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  margin-top: 0;
}

.section-label {
  font-family: var(--font-mono);
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  font-weight: 600;
}

.scroll-indicator {
  display: none !important;
}

/* Hero Canvas */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-text-wrapper {
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    margin-bottom: 1.75rem;
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-logo {
    width: 140px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(88%, 320px);
    height: 100vh;
    height: 100dvh;
    background: var(--ink);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    padding: 5.5rem 1.5rem 2rem;
    transition: right var(--transition-normal);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.35rem 0;
  }
  
  .nav-cta {
    display: none;
  }

  .nav-menu-cta {
    width: 100%;
    margin-top: 2rem;
    text-align: center;
    flex-shrink: 0;
  }
  
  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-text-wrapper {
    margin-top: 0.5rem;
  }

  .hero-video-overlay {
    background: linear-gradient(0deg, rgba(12, 13, 26, 0.96) 0%, rgba(12, 13, 26, 0.82) 100%);
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.25rem;
  }
  
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
  }
}

/* ============================================================
   SERVICES SECTION
   ────────────────────────────────────────────────────────────
   Card content/text  → edit js/services-config.js
   Animation & layout → change variables below
   Button look        → .service-pill block further down
   ============================================================ */
.services {
  /* ── Customization variables (edit these) ── */
  --svc-card-height: 300px;
  --svc-reveal-speed: 3.5s;
  --svc-reveal-ease: cubic-bezier(0.12, 0.85, 0.18, 1);
  --svc-image-speed: 3.2s;
  --svc-body-gap: 0.5rem;
  --svc-body-lift: -14px;
  --svc-pill-gap: 0.4rem;
  --svc-pills-max-height: 260px;
  --svc-content-pad-hover: 1.35rem 2rem 1.4rem;

  padding: 8rem 0;
  position: relative;
  margin-top: 100vh; /* Pushes the services section below the fixed hero */
  z-index: 10; /* Ensure it scrolls over the hero */
  /* Soft lavender/purple — modern, creative, light */
  background: linear-gradient(
    155deg,
    var(--mist) 0%,
    var(--cream) 45%,
    var(--surface) 100%
  );
  border-top: none;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1); /* Subtle shadow on top edge */
}

/* Atmospheric glow blob behind cards */
.services::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(110, 95, 173, 0.06) 0%,
    rgba(148, 144, 196, 0.03) 50%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services .section-label {
  color: var(--violet-700);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
  text-transform: uppercase;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.services-header .section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: -2px;
  color: var(--ink);
}

.services-header .section-subtitle {
  color: var(--text-body);
  font-size: 1.15rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: var(--svc-card-height);
  min-height: var(--svc-card-height);
  background: #1a1a2e;
  border: 1px solid rgba(226, 232, 240, 0.35);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  text-align: left;
  transition:
    transform var(--svc-reveal-speed) var(--svc-reveal-ease),
    border-color var(--svc-reveal-speed) var(--svc-reveal-ease),
    box-shadow var(--svc-reveal-speed) var(--svc-reveal-ease),
    height var(--svc-reveal-speed) var(--svc-reveal-ease);
  box-shadow: 0 4px 24px rgba(15, 14, 42, 0.06);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  outline: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(110, 95, 173, 0.06) 0%, rgba(148, 144, 196, 0.04) 100%);
  opacity: 0;
  transition: opacity var(--svc-reveal-speed) var(--svc-reveal-ease);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-active {
  height: auto;
  min-height: var(--svc-card-height);
  overflow: visible;
  transform: translateY(-8px);
  border-color: rgba(184, 169, 232, 0.35);
  box-shadow: 0 24px 48px rgba(12, 13, 26, 0.12);
}

.service-card:hover::before,
.service-card:focus-visible::before,
.service-card.is-active::before {
  opacity: 1;
}

.service-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(184, 169, 232, 0.2), 0 24px 48px rgba(12, 13, 26, 0.12);
}

/* Card Image */
.card-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 16px;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform var(--svc-image-speed) var(--svc-reveal-ease),
    filter var(--svc-image-speed) var(--svc-reveal-ease);
  display: block;
  filter: blur(0) brightness(1);
}

.service-card:hover .card-img,
.service-card:focus-visible .card-img,
.service-card.is-active .card-img {
  transform: scale(1.08);
  filter: blur(7px) brightness(0.55);
}

.card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(10, 8, 35, 0.92) 0%,
    rgba(10, 8, 35, 0.55) 50%,
    rgba(10, 8, 35, 0.18) 100%
  );
  transition: background var(--svc-image-speed) var(--svc-reveal-ease);
}

.service-card:hover .card-img-overlay,
.service-card:focus-visible .card-img-overlay,
.service-card.is-active .card-img-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 8, 35, 0.98) 0%,
    rgba(10, 8, 35, 0.82) 45%,
    rgba(10, 8, 35, 0.55) 100%
  );
}

/* Card content — heading + buttons move together as one group */
.card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  transition: padding var(--svc-reveal-speed) var(--svc-reveal-ease);
}

.card-content > * {
  pointer-events: auto;
}

/* Group: title + pills move up together on hover */
.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: auto;
  position: relative;
  z-index: 3;
  transform: translateY(0);
  transition:
    gap var(--svc-reveal-speed) var(--svc-reveal-ease),
    transform var(--svc-reveal-speed) var(--svc-reveal-ease);
}

.service-card:hover .card-body,
.service-card:focus-visible .card-body,
.service-card.is-active .card-body {
  gap: var(--svc-body-gap);
  transform: translateY(var(--svc-body-lift));
}

/* Tighter padding on hover — more room for pills */
.service-card:hover .card-content,
.service-card:focus-visible .card-content,
.service-card.is-active .card-content {
  padding: var(--svc-content-pad-hover);
}

/* Soft blue glow behind heading — follows card-body */
.card-glow {
  position: absolute;
  bottom: 2rem;
  left: 1.2rem;
  width: 55%;
  height: 40%;
  background: radial-gradient(
    ellipse at 30% 40%,
    rgba(110, 95, 173, 0.45) 0%,
    rgba(148, 144, 196, 0.2) 40%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity var(--svc-reveal-speed) var(--svc-reveal-ease),
    transform var(--svc-reveal-speed) var(--svc-reveal-ease);
  pointer-events: none;
  filter: blur(10px);
  z-index: 1;
}

.service-card:hover .card-glow,
.service-card:focus-visible .card-glow,
.service-card.is-active .card-glow {
  opacity: 1;
  transform: scale(1);
}

.service-card .card-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

/* Pills container — flex wrap, auto-width buttons */
.card-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: var(--svc-pill-gap);
  width: 100%;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height var(--svc-reveal-speed) var(--svc-reveal-ease);
}

.service-card:hover .card-pills,
.service-card:focus-visible .card-pills,
.service-card.is-active .card-pills {
  max-height: var(--svc-pills-max-height);
  overflow: visible;
  pointer-events: auto;
}

/* Pill buttons — width fits text content automatically */
.service-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: -0.2px;
  white-space: nowrap;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition:
    border-color 0.35s ease,
    color 0.35s ease;
}

/* Border shine — only the pill outline glows, no outer box */
.service-pill::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    100deg,
    transparent 15%,
    rgba(184, 169, 232, 0.2) 38%,
    rgba(148, 144, 196, 0.9) 52%,
    rgba(184, 169, 232, 0.2) 68%,
    transparent 88%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-pill:hover,
.service-pill:focus-visible {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(184, 169, 232, 0.75);
  box-shadow: none;
  transform: translateY(0);
}

.service-pill:hover::after,
.service-pill:focus-visible::after {
  opacity: 1;
}

/* Slightly dim others so hovered border stands out */
.card-pills:hover .service-pill:not(:hover):not(:focus-visible) {
  opacity: 0.6;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.7);
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
}

/* Show More */
.services-cta #showMoreBtn {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  padding: 0.95rem 2.8rem;
  font-size: 0.95rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-cta #showMoreBtn:hover,
.services-cta #showMoreBtn:focus-visible {
  background: var(--violet-700);
  border-color: var(--violet-700);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 6rem 0;
  }

  /* Touch: reveal on tap */
  .service-card.is-active {
    height: auto;
    min-height: var(--svc-card-height);
  }

  .service-card.is-active .card-body {
    gap: var(--svc-body-gap);
    transform: translateY(var(--svc-body-lift));
  }

  .service-card.is-active .card-content {
    padding: var(--svc-content-pad-hover);
  }

  .service-card.is-active .card-pills {
    max-height: var(--svc-pills-max-height);
  }

  .service-card.is-active .card-glow {
    opacity: 1;
    transform: scale(1);
  }
}

.hidden {
  display: none !important;
}
