@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Inter', sans-serif;
  
  /* Color Palette */
  --bg-dark: #050505;
  --bg-light: #f8fafc;
  
  --text-dark: #f8fafc;
  --text-light: #0f172a;
  --text-muted-dark: #94a3b8;
  --text-muted-light: #64748b;
  
  --primary: #8b5cf6; /* Electric Purple */
  --secondary: #ec4899; /* Vivid Pink */
  --accent: #06b6d4; /* Cyan */
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 16px;
  
  --transition-normal: 0.3s ease;
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-dark);
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

body.light-mode {
  background-color: var(--bg-light);
  color: var(--text-light);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gradient-accent {
  background: linear-gradient(to right, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes spotlightSweep {
  0% {
    opacity: 0;
    transform: translateX(-18%) translateY(0) rotate(-18deg) scale(0.98);
  }
  20% {
    opacity: 0.55;
  }
  70% {
    opacity: 0.35;
    transform: translateX(10%) translateY(-6%) rotate(-14deg) scale(1.02);
  }
  100% {
    opacity: 0;
    transform: translateX(24%) translateY(-10%) rotate(-10deg) scale(1.06);
  }
}

.animate-spotlight {
  animation: spotlightSweep 4.8s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Glow effects */
.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

body.light-mode .glow-circle {
  opacity: 0.15;
}

.expertise-section {
  padding: 120px 0;
  background-color: #ffffff;
  color: #0f172a;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.expertise-header {
  margin-bottom: 80px;
}

.expertise-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.expertise-header .section-title {
  color: #0f172a;
  font-size: 2.8rem;
  margin-bottom: 16px;
  max-width: 800px;
}

.expertise-header .section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 60px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.expertise-bg-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background-image: radial-gradient(circle, rgba(139, 92, 246, 0.1) 2px, transparent 2px);
  background-size: 20px 20px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.expertise-item {
  display: flex;
  gap: 24px;
  z-index: 1;
}

.expertise-icon {
  flex-shrink: 0;
  color: var(--primary);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: flex-start;
}

.expertise-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0f172a;
}

.expertise-content p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq-section {
  padding: 120px 0;
  background-color: var(--bg-dark);
  position: relative;
  z-index: 10;
}

body.light-mode .faq-section {
  background-color: var(--bg-light);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-header {
  margin-bottom: 60px;
  text-align: center;
}

.faq-header .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-subtitle {
  margin-top: 14px;
  color: var(--text-muted-dark);
  font-size: 1.05rem;
}

body.light-mode .faq-subtitle {
  color: var(--text-muted-light);
}

.faq-group {
  margin-top: 54px;
}

.faq-group:first-of-type {
  margin-top: 0;
}

.faq-group-title {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

body.light-mode .faq-group-title {
  color: var(--text-light);
}

.faq-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.faq-header-pill {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

body.light-mode .faq-header-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.faq-header-pill h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  transition: color 0.4s ease;
}

body.light-mode .faq-header-pill h4 {
  color: var(--text-light);
}

.faq-icon {
  color: #c084fc; /* Light purple for inactive chevron */
  transition: transform 0.4s ease;
}

.faq-icon-active {
  color: #8b5cf6; /* Vibrant purple for active chevron */
  transition: transform 0.4s ease;
}

/* Active State Styles */
.faq-header-pill.active {
  background: #1a1528; /* Dark purple/black from image */
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.faq-header-pill.active h4 {
  color: #a78bfa; /* Bright purple text */
}

.faq-answer-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  z-index: 1;
  position: relative;
}

.faq-wrapper.open .faq-answer-container {
  max-height: 520px;
}

.faq-answer-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 40px 40px;
  padding: 30px 50px 40px; 
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.light-mode .faq-answer-content {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: none;
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.1);
}

.faq-answer-content p {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

body.light-mode .faq-answer-content p {
  color: var(--text-muted-light);
}

@media (max-width: 768px) {
  .faq-header-pill {
    padding: 20px 24px;
    border-radius: 30px;
  }
  .faq-header-pill h4 {
    font-size: 1rem;
    padding-right: 16px;
  }
  .faq-answer-content {
    padding: 50px 30px 30px;
    border-radius: 0 0 30px 30px;
  }
  .faq-answer-content p {
    font-size: 1rem;
  }
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  pointer-events: auto;
  transition: transform 180ms ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.floating-icon-inner {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  color: #0f172a;
}

body.light-mode .floating-icon-inner {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.10);
  color: #0f172a;
}

body:not(.light-mode) .floating-icon-inner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.95);
}

.floating-icon:hover .floating-icon-inner {
  border-color: rgba(139, 92, 246, 0.55);
}

.floating-icon.is-active .floating-icon-inner {
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.22);
}

/* Colorful gradients (tech-ish) */
.floating-icon-inner[class*="grad-"] {
  color: #0b1220;
}

body:not(.light-mode) .floating-icon-inner[class*="grad-"] {
  color: rgba(255, 255, 255, 0.95);
}

.grad-ai { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 28%, rgba(139,92,246,0.25) 100%); }
.grad-agents { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(6,182,212,0.28) 100%); }
.grad-web { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(236,72,153,0.24) 100%); }
.grad-crm { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(34,197,94,0.22) 100%); }
.grad-voice { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(245,158,11,0.22) 100%); }
.grad-seo { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(59,130,246,0.22) 100%); }
.grad-chat { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(168,85,247,0.22) 100%); }
.grad-llm { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(20,184,166,0.22) 100%); }
.grad-secure { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(148,163,184,0.22) 100%); }
.grad-fast { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(239,68,68,0.20) 100%); }
.grad-automation { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(99,102,241,0.22) 100%); }
.grad-global { background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.75) 26%, rgba(2,132,199,0.22) 100%); }

/* Dark mode: keep gradients visible but glassy */
body:not(.light-mode) .grad-ai,
body:not(.light-mode) .grad-agents,
body:not(.light-mode) .grad-web,
body:not(.light-mode) .grad-crm,
body:not(.light-mode) .grad-voice,
body:not(.light-mode) .grad-seo,
body:not(.light-mode) .grad-chat,
body:not(.light-mode) .grad-llm,
body:not(.light-mode) .grad-secure,
body:not(.light-mode) .grad-fast,
body:not(.light-mode) .grad-automation,
body:not(.light-mode) .grad-global {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .floating-icons {
    display: none;
  }
}


.footer {
  padding: 80px 0 40px;
  background-color: #030303; /* Force dark background */
  color: #f8fafc;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-desc {
  margin-top: 16px;
  color: var(--text-muted-dark);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-group h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.link-group a {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.footer-contact-form {
  flex: 0 0 320px;
}

.footer-contact-form .form-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 700;
  /* Applying the text gradient to match image */
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background-color: #fff;
  color: #333;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-submit-btn {
  background-color: #8b5cf6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
  background-color: #7c3aed;
}

@media (max-width: 992px) {
  .footer-top {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  .footer-contact-form {
    flex: 1 1 100%;
    margin-top: 20px;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Space for navbar */
}

.hero-spotlight {
  position: absolute;
  z-index: -1;
  width: 140%;
  height: 170%;
  top: -160px;
  left: -120px;
  opacity: 0;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  left: -150px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: var(--secondary);
  bottom: -200px;
  right: -200px;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
}

.animated-text-container {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.service-scroller {
  height: 3rem;
  overflow: hidden;
  position: relative;
  width: 380px;
  text-align: left;
}

.scrolling-text {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

body.light-mode .hero-subtitle {
  color: var(--text-muted-light);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid var(--glass-border);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .hero-spotlight {
    width: 160%;
    height: 180%;
    top: -140px;
    left: -140px;
  }
  .hero-title { font-size: 3rem; }
  .animated-text-container { font-size: 1.8rem; flex-direction: column; }
  .service-scroller { height: 2.2rem; width: 100%; text-align: center; }
  .scrolling-text { left: 50%; transform: translateX(-50%); animation: slideUpCenterMobile 0.5s forwards; }
}

@keyframes slideUpCenterMobile {
  0% { transform: translate(-50%, 100%); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

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

.navbar.scrolled {
  padding: 16px 0;
  /* Dark-mode: keep nav readable on light sections */
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-mode .navbar.scrolled {
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-dark);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.55);
}

body.light-mode .theme-toggle {
  color: var(--text-light);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

body.light-mode .mobile-menu-toggle {
  color: var(--text-light);
}

.mobile-btn {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  .desktop-btn {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    opacity: 0;
    pointer-events: none;
  }
  body.light-mode .nav-links {
    background: var(--bg-light);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    font-size: 1.5rem;
  }
  .mobile-btn {
    display: inline-block;
    margin-top: 20px;
  }
}

.process-section {
  padding: 120px 0;
  background-color: #ffffff; /* Explicit light background */
  color: #0f172a;
  position: relative;
  z-index: 10;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.process-header .section-title {
  color: #0f172a;
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.process-header .section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

.process-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.process-card {
  background: #f8faff; /* Very slight purple tint on white */
  border-radius: 24px;
  padding: 40px;
  flex: 1;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15); /* Soft purple glow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
  text-align: left;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.25);
}

.process-card.highlight {
  box-shadow: 0 10px 50px rgba(139, 92, 246, 0.2);
  transform: scale(1.05);
  z-index: 3;
}

.process-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #0f172a;
  font-weight: 800;
}

.process-card p {
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

.process-arrow {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

@media (max-width: 992px) {
  .process-cards {
    flex-direction: column;
    gap: 40px;
  }
  .process-arrow {
    display: none;
  }
  .process-card.highlight {
    transform: scale(1);
  }
}

.robot-embed-section {
  padding: 90px 0;
  position: relative;
  z-index: 5;
}

.robot-embed-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.robot-embed-copy {
  text-align: left;
}

.robot-embed-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.robot-embed-subtitle {
  color: var(--text-muted-dark);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 40ch;
}

.robot-embed-frameWrap {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 10;
}

.robot-embed-iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .robot-embed-grid {
    grid-template-columns: 1fr;
  }
  .robot-embed-copy {
    text-align: center;
  }
  .robot-embed-subtitle {
    margin: 0 auto;
  }
}


.robot-root {
  --head-yaw: 0deg;
  --head-pitch: 0deg;

  position: relative;
  width: min(440px, 42vw);
  aspect-ratio: 1 / 1.1;
  margin: 0 auto;
  user-select: none;
  pointer-events: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
}

.robot-layer {
  position: absolute;
  inset: 0;
  background-image: var(--robot-src);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Base: full robot image */
.robot-base {
  transform: translateZ(0);
}

/* Arms: clipped zones + auto wave */
.robot-arm {
  transform-origin: 50% 26%;
  animation: robotWave 2.4s ease-in-out infinite;
}

.robot-arm-left {
  clip-path: polygon(0% 18%, 48% 18%, 48% 62%, 0% 62%);
  transform-origin: 33% 28%;
  animation-delay: -0.4s;
}

.robot-arm-right {
  clip-path: polygon(52% 18%, 100% 18%, 100% 62%, 52% 62%);
  transform-origin: 67% 28%;
  animation-delay: -1.1s;
}

@keyframes robotWave {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(6deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

/* Head: clipped zone + mouse tracking */
.robot-head {
  clip-path: ellipse(20% 14% at 50% 16%);
  transform-origin: 50% 18%;
  transform:
    perspective(600px)
    rotateY(var(--head-yaw))
    rotateX(var(--head-pitch))
    translateZ(0);
}

/* Small breathing motion so it feels alive */
.robot-base {
  animation: robotBreath 4.8s ease-in-out infinite;
}

@keyframes robotBreath {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
  .robot-root {
    width: min(360px, 86vw);
  }
}


.services {
  padding: 120px 0;
  position: relative;
  z-index: 10;
  background-color: var(--bg-dark); /* Ensure the section stays dark */
}

.services-header {
  margin-bottom: 80px;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.dark-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dark-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.0));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.dark-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.dark-card:hover::before {
  opacity: 1;
}

.dark-card > * {
  position: relative;
  z-index: 1;
}

.service-icon-wrapper {
  color: var(--primary);
  margin-bottom: 32px;
  background: rgba(139, 92, 246, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.dark-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.dark-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
}

.dark-card p {
  color: var(--text-muted-dark);
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 32px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.btn-link:hover {
  gap: 12px;
  color: var(--secondary);
}

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

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

.stats-section {
  background-color: #ffffff; /* Sits on the white background matching Process */
  padding: 50px 0;
  position: relative;
  z-index: 10;
}

.stats-box {
  background-color: #0b0618; /* Deep dark purple/black */
  border-radius: 32px;
  padding: 40px 48px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  max-width: 960px;
  margin: 0 auto;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.stats-title-area {
  flex: 1;
}

.stats-title-area h2 {
  color: #fff;
  font-size: 2rem;
  line-height: 1.4;
  margin: 0;
}

.stats-title-area .text-gradient {
  background: linear-gradient(90deg, #d946ef, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-desc-area {
  flex: 0 0 380px;
}

.stats-desc-area p {
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

.stats-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: 32px;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 165px;
}

.stat-icon-wrapper {
  color: #fff;
  margin-bottom: 18px;
}

.stat-number {
  font-size: 2.7rem;
  font-weight: 800;
  color: #d946ef; /* Bright pink/magenta */
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 1024px) {
  .stats-header {
    flex-direction: column;
    text-align: center;
  }
  .stats-desc-area {
    flex: auto;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .stats-box {
    padding: 40px 24px;
    border-radius: 26px;
  }
  .stats-title-area h2 {
    font-size: 1.7rem;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .stat-number {
    font-size: 2.55rem;
  }
  .stat-label {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.strategy-section {
  padding: 120px 0;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.strategy-bg-blob {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.strategy-header {
  position: relative;
  z-index: 2;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.strategy-header .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.strategy-header .section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
}

.strategy-nodes-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.strategy-row {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  justify-content: center;
}

.row-forward {
  flex-direction: row;
}

.row-reverse {
  flex-direction: row-reverse;
}

.strategy-node {
  background: #ffffff;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(139, 92, 246, 0.05);
}

.strategy-node:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.node-bg-number {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color 0.4s ease;
}

.strategy-node:hover .node-bg-number {
  color: rgba(139, 92, 246, 0.35);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.node-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.node-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.node-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}

.strategy-arrow-connector {
  position: absolute;
  right: calc(50% - 380px);
  top: 260px;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .strategy-arrow-connector {
    display: none;
  }
  .strategy-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .strategy-row.row-forward,
  .strategy-row.row-reverse {
    flex-direction: column;
    align-items: center;
  }
  .strategy-nodes-container {
    gap: 20px;
  }
  .strategy-row {
    gap: 20px;
  }
  .strategy-node {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 280px;
    border-radius: 40px;
  }
}

.tech-slider-section {
  padding: 60px 0;
  background-color: #ffffff; 
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.slider-container {
  background-color: #0b0618; /* Dark pill container like the image */
  border-radius: 40px; /* Reduced from 60px for tighter fit */
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* Gradient masks for smooth fading at the edges */
.slider-container::before,
.slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-container::before {
  left: 0;
  background: linear-gradient(to right, #0b0618 10%, transparent 100%);
  border-radius: 40px 0 0 40px;
}

.slider-container::after {
  right: 0;
  background: linear-gradient(to left, #0b0618 10%, transparent 100%);
  border-radius: 0 40px 40px 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  /* Adjust animation time based on duplication */
  animation: scroll 30s linear infinite;
  padding-left: 20px;
  width: max-content;
}

/* Pause on hover */
.slider-container:hover .slider-track {
  animation-play-state: paused;
}

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

.slider-card {
  flex-shrink: 0;
  width: 140px;
  height: 200px;
  border-radius: 70px; /* Vertical pill shape */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 30px rgba(139, 92, 246, 0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Add a bright inner glow simulating the image */
.slider-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 70px;
  box-shadow: inset 0 20px 40px rgba(59, 130, 246, 0.15); /* Soft blue inner glow from image */
  pointer-events: none;
}

.slider-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: inset 0 0 50px rgba(139, 92, 246, 0.15);
}

.slider-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.slider-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .slider-container {
    padding: 30px 20px;
    border-radius: 30px;
  }
  .slider-container::before,
  .slider-container::after {
    width: 60px;
  }
  .slider-card {
    width: 110px;
    height: 160px;
  }
  .slider-icon {
    transform: scale(0.8);
  }
  .slider-name {
    font-size: 0.85rem;
  }
}

.why-choose-us {
  padding: 120px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.wcu-header {
  margin-bottom: 80px;
}

.wcu-header .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wcu-layout {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Organic Blob Background */
.wcu-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite alternate;
  z-index: 0;
  box-shadow: inset 0 0 50px rgba(255,255,255,0.2);
}

@keyframes morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(5deg); }
}

/* Card Base Styles */
.wcu-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 30px;
  padding: 32px 24px;
  width: 320px;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: center;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wcu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.3);
  z-index: 10;
}

.wcu-icon-wrapper {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border-radius: 50% 50% 50% 0; /* Leaf drop shape like image */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon Colors */
.center-icon { background: #000; border-radius: 50%; }
.tl-icon { background: #3b82f6; border-radius: 50% 50% 0 50%; }
.bl-icon { background: #22c55e; border-radius: 50%; }
.tr-icon { background: #d946ef; border-radius: 50% 50% 50% 0; }
.br-icon { background: #0ea5e9; border-radius: 50%; }

.wcu-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.wcu-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* Specific Card Positioning */
.center-card {
  position: relative;
  background: rgba(230, 230, 255, 0.85); /* Slightly purple tint */
  z-index: 2;
  width: 340px;
  padding: 40px 30px;
}

.tl-card { top: 50px; left: 0; }
.bl-card { bottom: 50px; left: 0; }
.tr-card { top: 50px; right: 0; }
.br-card { bottom: 50px; right: 0; }

@media (max-width: 1100px) {
  .wcu-layout {
    min-height: 1000px;
  }
  .wcu-card { width: 280px; }
  .center-card { width: 300px; }
  .wcu-blob { width: 500px; height: 500px; }
}

@media (max-width: 768px) {
  .wcu-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
    min-height: auto;
  }
  .wcu-card {
    position: relative;
    width: 100%;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
  .center-card {
    width: 100%;
  }
  .wcu-blob {
    display: none; /* Hide blob on mobile for cleaner layout */
  }
}

.about-page {
  padding-top: 150px;
  padding-bottom: 120px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted-dark);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-image .visual-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.contact-page {
  padding-top: 150px;
  padding-bottom: 120px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact-info .hero-subtitle {
  max-width: 500px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-detail-item p {
  font-size: 1.2rem;
  font-weight: 500;
}

.contact-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-muted-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.services-page-wrapper {
  padding: 160px 0 100px; /* Extra top padding for navbar */
  background-color: var(--bg-dark);
  min-height: 100vh;
}

body.light-mode .services-page-wrapper {
  background-color: var(--bg-light);
}

.services-page-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.badge-pill {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid #8b5cf6;
  border-radius: 50px;
  color: #8b5cf6;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.services-page-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

body.light-mode .services-page-title {
  color: var(--text-light);
}

.services-page-subtitle {
  color: var(--text-muted-dark);
  font-size: 1.1rem;
}

body.light-mode .services-page-subtitle {
  color: var(--text-muted-light);
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-light-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

body.light-mode .service-light-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.service-light-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.18);
}

body.light-mode .service-light-card:hover {
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.16);
}

.service-card-image-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image overlay tint to match the purple hue from image */
.service-card-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(139, 92, 246, 0.25);
  pointer-events: none;
}

body.light-mode .service-card-image-wrapper::after {
  background: rgba(139, 92, 246, 0.18);
}

.service-card-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #a855f7; /* Vibrant purple */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
  z-index: 2;
  border: 4px solid #111; /* Separate from image on dark cards */
}

body.light-mode .service-card-badge {
  border-color: #ffffff;
}

.service-card-content {
  padding: 40px 30px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

body.light-mode .service-card-content h3 {
  color: var(--text-light);
}

.service-card-content p {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

body.light-mode .service-card-content p {
  color: var(--text-muted-light);
}

.read-more-btn {
  background: none;
  border: none;
  color: #8b5cf6;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.read-more-btn:hover {
  color: #d946ef;
}

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

@media (max-width: 768px) {
  .services-page-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .services-page-title {
    font-size: 2.2rem;
  }
}

