@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Utility: Infinite bounce for CTA */
.animate__bounce {
  animation-iteration-count: infinite !important;
}

/* Optional: Subtle fade-in for cards */
.animate__fadeInCustom {
  animation: fadeInCustom 1.1s cubic-bezier(.4, 2, .6, 1) both;
}

@keyframes fadeInCustom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.particles-js-canvas-el {
  pointer-events: none !important;
  z-index: 0 !important;
}

.particles-js-canvas-el {
  pointer-events: none !important;
  z-index: 0 !important;
}

footer,
.footer,
.footer * {
  pointer-events: auto !important;
  z-index: 10 !important;
  position: relative;
}

.partners-marquee img {
  transition: transform 0.22s cubic-bezier(.4, 2, .6, 1), box-shadow 0.22s, filter 0.22s;
  filter: grayscale(0.1) brightness(0.98);
  z-index: 1;
}

.partners-marquee img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px 0 rgba(0, 230, 208, 0.18), 0 2px 16px 0 rgba(0, 0, 0, 0.10);
  filter: none;
  z-index: 2;
}

.tech-stack-section img {
  transition: transform 0.22s cubic-bezier(.4, 2, .6, 1) !important;
  box-shadow: none !important;
  filter: none !important;
}

.tech-stack-section img:hover {
  transform: scale(1.15) rotate(-4deg) !important;
  box-shadow: 0 6px 24px 0 rgba(0, 230, 208, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10) !important;
  filter: brightness(1.15) drop-shadow(0 0 6px #00e6d0) !important;
  z-index: 2 !important;
}

/* --- Card Section Styles (from homepage) --- */
.services-section {
  background: #181a1b !important;
  padding: 5rem 0 4rem 0;
  text-align: center;
  background-image: none !important;
}

.services-badge {
  display: inline-block;
  background: transparent;
  color: #309290;
  border: 1.5px solid #309290;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25em 1.2em;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.services-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.7rem;
}

.services-subtitle {
  color: #bfc3c6;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.8rem auto;
}

.services-cards-row {
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.service-card {
  background: #232425;
  border-radius: 1.3rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  padding: 2.2rem 2rem 1.7rem 2rem;
  width: 320px;
  max-width: 95vw;
  text-align: left;
  transition: transform 0.22s cubic-bezier(.4, 2, .6, 1), box-shadow 0.22s, background 0.22s;
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
}

.service-card:hover,
.service-card:focus {
  box-shadow: 0 12px 36px rgba(48, 146, 144, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
  background: #232f2f;
  border-color: #309290;
  z-index: 2;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}

.service-desc {
  color: #bfc3c6;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.services-cta-btn {
  margin-top: 1.5rem;
  background: transparent;
  color: #309290;
  border: 2px solid #309290;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.7rem 2.2rem;
  font-size: 1.08rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  box-shadow: none;
  display: inline-block;
}

.services-cta-btn:hover,
.services-cta-btn:focus {
  background: #309290;
  color: #fff;
  border-color: #309290;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 991px) {
  .services-cards-row {
    gap: 1.2rem;
  }

  .service-card {
    padding: 1.5rem 1.1rem 1.2rem 1.1rem;
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partners-section {
  background: #181a1b;
  text-align: center;
  padding: 4rem 0 3rem 0;
  margin-bottom: 8rem !important;
  /* Increased for more visible space */
}

.partners-marquee-outer {
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  min-height: 80px;
}

.partners-marquee {
  display: flex;
  align-items: center;
  gap: 5vw;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
  height: 100%;
}

.partners-marquee img {
  display: block;
  margin-top: auto;
  margin-bottom: auto;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.10), 0 1.5px 8px 0 rgba(255, 255, 255, 0.10);
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px;
}

.partners-marquee img {
  filter: grayscale(0.1) brightness(0.98);
  transition: filter 0.2s;
}

.partners-marquee img:hover {
  filter: none;
}

@media (max-width: 600px) {
  .partners-marquee img {
    height: 38px;
  }

  .partners-marquee {
    gap: 2vw;
  }
}

.tech-stack-grid .tech-icon {
  background: #232425;
  border-radius: 1.1rem;
  padding: 1.1rem 0.5rem;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.10);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-stack-grid .tech-icon:hover {
  background: #2e3a3a;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 32px 0 rgba(0, 230, 208, 0.13);
}

.tech-stack-section img {
  transition: transform 0.22s cubic-bezier(.4, 2, .6, 1) !important;
  box-shadow: none !important;
  filter: none !important;
}

.tech-stack-section img:hover {
  transform: scale(1.15) rotate(-4deg) !important;
  box-shadow: 0 6px 24px 0 rgba(0, 230, 208, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10) !important;
  filter: brightness(1.15) drop-shadow(0 0 6px #00e6d0) !important;
  z-index: 2 !important;
}

.tech-stack-icons-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
}

/* --- Restore Hero Button Design and Animation --- */
.hero-btn-main {
  background: #309290 !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 2rem !important;
  padding: 0.65rem 1.7rem 0.65rem 1.5rem !important;
  box-shadow: 0 4px 18px rgba(48, 146, 144, 0.18) !important;
  border: none !important;
  font-size: 1rem !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: hero-btn-breathing 2.8s ease-in-out infinite alternate !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5em !important;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s !important;
}

.hero-btn-main:hover,
.hero-btn-main:focus {
  background: #26736f !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 32px rgba(48, 146, 144, 0.28) !important;
}

@keyframes hero-btn-breathing {
  0% {
    box-shadow: 0 4px 18px rgba(48, 146, 144, 0.18);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 8px 32px rgba(48, 146, 144, 0.32);
    transform: scale(1.045);
  }

  100% {
    box-shadow: 0 4px 18px rgba(48, 146, 144, 0.18);
    transform: scale(1);
  }
}

.hero-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #309290 !important;
  font-weight: 700;
  border-radius: 2rem !important;
  padding: 0.65rem 1.7rem !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5em !important;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
  background: #309290 !important;
  color: #fff !important;
  border-color: #309290 !important;
  transform: translateY(-2px) scale(1.04) !important;
}

.hero-btn-outline::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 230, 208, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  z-index: -1;
  pointer-events: none;
}

.hero-btn-outline:hover::after,
.hero-btn-outline:focus::after {
  width: 220%;
  height: 220%;
  opacity: 1;
}

.about-cards-section .services-cards-row {
  display: flex;
  gap: 2.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Make single-column Mission/Vision cards wider */
.about-cards-section .services-cards-row .service-card {
  max-width: 600px !important;
  width: 100%;
}

@media (max-width: 767px) {
  .core-values-row {
    flex-direction: column !important;
    gap: 1.2rem !important;
    align-items: center !important;
  }

  .core-values-row .service-card {
    width: 100% !important;
    max-width: 98vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Desktop: always row */
@media (min-width: 768px) {
  .core-values-row {
    flex-direction: row !important;
    gap: 2.2rem !important;
    align-items: stretch !important;
    justify-content: center !important;
  }
}

/* Mobile: column */
@media (max-width: 767px) {
  .core-values-row {
    flex-direction: column !important;
    gap: 1.2rem !important;
    align-items: center !important;
  }

  .core-values-row .service-card {
    min-width: 0 !important;
    max-width: 98vw !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .about-cards-section>div[style*="max-width:1400px"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (min-width: 992px) {
  .core-values-row .service-card {
    max-width: 540px !important;
    width: 100%;
  }
}

.partners-section,
section.partners-section {
  margin-bottom: 3rem !important;
  padding-top: 0.5rem !important;
}

.tech-stack-section,
section.tech-stack-section {
  margin-top: 0 !important;
  padding-top: 1.5rem !important;
}

.partners-section,
.tech-stack-section {
  background: transparent !important;
}

#particles-js {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0 !important;
  pointer-events: none;
}

body,
main,
header,
section,
.container {
  position: relative;
  z-index: 1;
}

html,
body {
  overflow: visible !important;
}

.about-cards-section,
.services-section {
  background: transparent !important;
}

.service-category-section,
.page-section {
  background: transparent !important;
}

.contact-cta-section {
  background: transparent !important;
}

/* Contact form field text and label color fix for dark backgrounds */
#contactForm label {
  color: #fff !important;
  margin-bottom: 0.45rem;
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Match contact form fields and button to home page UI/UX */
#contactForm .form-control {
  border-radius: 1.1rem;
  box-shadow: none;
  border: 1.5px solid #36393b;
  background: #232425;
  color: #fff;
  font-size: 1.08rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}

#contactForm .form-control:focus {
  border-color: #36393b;
  box-shadow: 0 0 0 0.13rem rgba(54, 57, 59, 0.13);
  outline: none;
}

#contactForm .form-control::placeholder {
  color: #bfc3c6;
  opacity: 1;
}

#contactForm label,
#contactForm .form-floating>label {
  color: #bfc3c6;
}

#contactForm .form-control:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 1000px #232425 inset !important;
}

/* Fix overlapping label and placeholder in Bootstrap floating labels */
#contactForm .form-floating>.form-control:not(:placeholder-shown)~label,
#contactForm .form-floating>.form-control:focus~label {
  opacity: 1;
  transform: scale(0.85) translateY(-1.2rem) translateX(0.15rem);
  background: none;
  color: #00e6d0;
}

/* Remove floating label effect for contact form */
#contactForm .form-floating>label {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  color: #00e6d0 !important;
  background: transparent;
  font-size: 1rem;
  left: auto;
  top: auto;
  padding: 0 0 0.3rem 0;
  pointer-events: auto;
  transition: none;
  display: block;
  margin-bottom: 0.2rem;
}

#contactForm .form-floating {
  position: relative;
  margin-bottom: 1.7rem;
}

#contactForm .form-floating>.form-control {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

/* Enhanced contact form fields and button */
#contactForm .pill-field,
#contactForm .pill-field:focus {
  border-radius: 1.1rem;
  box-shadow: none;
  border: 1.5px solid #36393b;
  background: #232425;
  color: #fff;
  font-size: 1.08rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

#contactForm .btn,
#contactForm .pill-btn {
  border-radius: 2rem !important;
  background: #309290 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem !important;
  padding: 0.65rem 1.7rem 0.65rem 1.5rem !important;
  box-shadow: 0 4px 18px rgba(48, 146, 144, 0.18) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: hero-btn-breathing 2.8s ease-in-out infinite alternate !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5em !important;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s !important;
}

#contactForm .btn:hover,
#contactForm .btn:focus,
#contactForm .pill-btn:hover,
#contactForm .pill-btn:focus {
  background: #26736f !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 32px rgba(48, 146, 144, 0.28) !important;
}

#contactForm label[for="name"],
#contactForm label[for="email"],
#contactForm label[for="details"] {
  margin-left: 1rem;
}

@media (max-width: 600px) {
  .navbar-brand img {
    height: 32px !important;
    max-width: 36px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-right: 6px !important;
  }

  .navbar-brand span {
    font-size: 1.05rem !important;
    white-space: nowrap;
  }

  /* Remove custom flex and margin from container and toggler */
  #mainNav .container {
    flex-wrap: unset !important;
    display: unset !important;
    align-items: unset !important;
  }

  .navbar-toggler {
    margin-left: unset !important;
    margin-right: unset !important;
    position: unset !important;
    z-index: unset;
  }

  #mainNav .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100vw !important;
    background: #181a1b !important;
    z-index: 2000 !important;
    padding: 1.5rem 1rem 2rem 1rem !important;
    border-radius: 0 0 1.2rem 1.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }

  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
  }

  .navbar-nav .nav-link {
    width: 100%;
    padding: 0.8rem 0 !important;
    font-size: 1.15rem !important;
    border-bottom: 1px solid #232425;
  }

  .navbar-collapse {
    z-index: 3000 !important;
    border-radius: 0 !important;
  }

  #mainNav {
    background: #181a1b !important;
    z-index: 4000 !important;
  }

  .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")) !important;
    width: 2rem !important;
    height: 2rem !important;
    background-size: 2rem 2rem !important;
    display: inline-block !important;
  }

  .navbar-toggler {
    width: 44px !important;
    height: 44px !important;
    padding: 0.25rem !important;
  }
}

@media (max-width: 991.98px) {

  .navbar-toggler,
  .navbar-toggler-icon {
    z-index: 99999 !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-size: 2rem 2rem !important;
    width: 2rem !important;
    height: 2rem !important;
  }
}

@media (max-width: 767px) {

  .software-grid,
  .labeling-grid,
  .maintenance-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .service-details-card,
  .software-grid-card {
    padding: 1rem 0.5rem !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .container,
  .container-fluid {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }
}

/* ===== Tech Stack Categorized Layout ===== */
.tech-categories-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  padding: 0 1rem;
}

.tech-category-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tech-category-label {
  color: #bfc3c6;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.tech-group-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #232425;
  border-radius: 3rem;
  padding: 0.9rem 1.8rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(48, 146, 144, 0.12);
  transition: box-shadow 0.22s, border-color 0.22s;
}

.tech-group-pill:hover {
  box-shadow: 0 4px 24px rgba(0, 230, 208, 0.15);
  border-color: rgba(48, 146, 144, 0.35);
}

.tech-group-pill img {
  height: 40px !important;
  width: 40px !important;
  max-height: 40px !important;
  max-width: 40px !important;
  transition: transform 0.22s cubic-bezier(.4, 2, .6, 1);
}

.tech-group-pill img:hover {
  transform: scale(1.18) rotate(-4deg);
}

/* Full-row marquee group */
.tech-full-row-group {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.tech-marquee-outer {
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tech-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: tech-marquee-scroll 25s linear infinite;
}

.tech-marquee-track img {
  height: 38px !important;
  width: 38px !important;
  max-height: 38px !important;
  max-width: 38px !important;
  transition: transform 0.22s cubic-bezier(.4, 2, .6, 1);
  flex-shrink: 0;
}

.tech-marquee-track img:hover {
  transform: scale(1.15);
}

@keyframes tech-marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== Development Process Section ===== */
.dev-process-section {
  background: transparent;
  text-align: center;
  padding: 3.5rem 1rem 4rem 1rem;
}

.process-steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .process-steps-row {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .process-step {
    transform: scale(0.95);
    transform-origin: center top;
  }

  .process-icon {
    width: 60px;
    height: 60px;
  }
}

.process-steps-row-2 {
  margin-top: 1rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #00e6d0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #00e6d0;
  font-size: 1.6rem;
  transition: background 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
}

/* Hover effect removed per user request
.process-step:hover .process-icon {
  background: rgba(0, 230, 208, 0.1);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 230, 208, 0.25);
}
*/

.process-label {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.process-connector {
  font-size: 2.2rem;
  color: #00e6d0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 64px;
  margin-top: -32px;
}

.arrow-anim {
  display: inline-block;
  animation: arrow-move 1.2s infinite alternate cubic-bezier(.4, 2, .6, 1);
}

@keyframes arrow-move {
  0% {
    transform: translateX(0);
    opacity: 0.7;
  }

  100% {
    transform: translateX(8px);
    opacity: 1;
  }
}

/* Responsive: tech stack and process */
@media (max-width: 900px) {
  .tech-categories-row {
    gap: 1.2rem;
  }

  .tech-group-pill {
    padding: 0.7rem 1.2rem;
    gap: 0.7rem;
  }

  .tech-group-pill img {
    height: 32px;
    width: 32px;
  }

  .process-steps-row {
    gap: 0.3rem;
  }

  .process-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .process-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .tech-categories-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .tech-group-pill img {
    height: 28px;
    width: 28px;
  }

  .process-steps-row {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .process-connector {
    padding-bottom: 0;
  }

  .process-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}

/* ── Expertise Cards with BG Image ── */
.service-card-bg {
  position: relative;
  background-color: #1a1f2e;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border-radius: 1.3rem;
  isolation: isolate;
}

.service-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 1.3rem;
  z-index: 0;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 1.3rem;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.85) 35%,
      rgba(0, 0, 0, 0.5) 65%,
      rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.service-card-bg:hover .service-card-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.8) 35%,
      rgba(0, 0, 0, 0.45) 65%,
      rgba(0, 0, 0, 0.3) 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  width: 100%;
}

.service-card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00e6d0;
  margin-bottom: 0.5rem;
}

.service-card-bg .service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-card-bg .service-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}