/* Theme.css - Modern Tech/Robotic Design System for ReturnDev */

:root {
  /* Primary Colors - with RGB values for glow effects */
  --primary-color: #00f5ff;
  --primary-color-rgb: 0, 245, 255;
  --primary-dark: #00c3cc;
  --primary-dark-rgb: 0, 195, 204;
  --primary-light: #7affff;
  --primary-light-rgb: 122, 255, 255;
  
  /* Secondary Colors */
  --secondary-color: #ff416c;
  --secondary-color-rgb: 255, 65, 108;
  --secondary-dark: #e02e57;
  --secondary-dark-rgb: 224, 46, 87;
  --secondary-light: #ff7a9e;
  --secondary-light-rgb: 255, 122, 158;
  
  /* Accent Colors */
  --accent-color: #7928ca;
  --accent-color-rgb: 121, 40, 202;
  --accent-dark: #5b1e99;
  --accent-dark-rgb: 91, 30, 153;
  --accent-light: #9d50fb;
  --accent-light-rgb: 157, 80, 251;
  
  /* Background Colors */
  --bg-dark: #0a0b10;
  --bg-dark-rgb: 10, 11, 16;
  --bg-medium: #13141f;
  --bg-medium-rgb: 19, 20, 31;
  --bg-light: #1c1e2f;
  --bg-light-rgb: 28, 30, 47;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-primary-rgb: 255, 255, 255;
  --text-secondary: #c9d1d9;
  --text-secondary-rgb: 201, 209, 217;
  --text-tertiary: #8b949e;
  --text-tertiary-rgb: 139, 148, 158;
  
  /* UI Colors */
  --success-color: #00f1a6;
  --success-color-rgb: 0, 241, 166;
  --warning-color: #ffd60a;
  --warning-color-rgb: 255, 214, 10;
  --error-color: #fe2e55;
  --error-color-rgb: 254, 46, 85;
  --info-color: #0099ff;
  --info-color-rgb: 0, 153, 255;
  
  /* Animation Durations */
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition-slow: 0.8s;

  /* Glow Strength */
  --glow-strong: 0 0 20px 2px;
  --glow-medium: 0 0 15px 1px;
  --glow-subtle: 0 0 10px 0.5px;
}

/* Light Mode Colors */
body:not(.dark-mode) {
  --primary-color: #0099ff;
  --primary-color-rgb: 0, 153, 255;
  --primary-dark: #0077cc;
  --primary-dark-rgb: 0, 119, 204;
  --primary-light: #66bdff;
  --primary-light-rgb: 102, 189, 255;
  
  --secondary-color: #ff416c;
  --secondary-color-rgb: 255, 65, 108;
  
  --accent-color: #7928ca;
  --accent-color-rgb: 121, 40, 202;
  
  --bg-dark: #f0f5ff;
  --bg-dark-rgb: 240, 245, 255;
  --bg-medium: #ffffff;
  --bg-medium-rgb: 255, 255, 255;
  --bg-light: #f5f8ff;
  --bg-light-rgb: 245, 248, 255;
  
  --text-primary: #18214d;
  --text-primary-rgb: 24, 33, 77;
  --text-secondary: #384067;
  --text-secondary-rgb: 56, 64, 103;
  --text-tertiary: #606588;
  --text-tertiary-rgb: 96, 101, 136;

  /* Lighter glow for light mode */
  --glow-strong: 0 0 25px 5px;
  --glow-medium: 0 0 20px 3px;
  --glow-subtle: 0 0 15px 1px;
}

/* Global Tech Elements */
.tech-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.tech-line {
  height: 2px;
  width: 40px;
  background: var(--primary-color);
  position: relative;
}

.tech-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  margin: 0 8px;
  position: relative;
}

.tech-circle.pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.6;
  top: 0;
  left: 0;
  animation: pulse 2s infinite;
}

.tech-badge {
  display: inline-block;
  padding: 4px 8px;
  background: var(--primary-dark);
  color: var(--text-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
}

.tech-circuit {
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: -10px;
  right: -10px;
  background-image: 
    radial-gradient(circle at 20% 20%, transparent 70%, var(--primary-color) 70%, var(--primary-color) 72%, transparent 72%),
    radial-gradient(circle at 80% 80%, transparent 70%, var(--primary-color) 70%, var(--primary-color) 72%, transparent 72%),
    linear-gradient(45deg, transparent 48%, var(--primary-color) 48%, var(--primary-color) 52%, transparent 52%);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.tech-dots {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.tech-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
}

.tech-dots .dot:nth-child(2) {
  animation: blink 1.5s infinite 0.5s;
}

.tech-dots .dot:nth-child(3) {
  animation: blink 1.5s infinite 1s;
}

.tech-line-horizontal {
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 12px 0;
}

.tech-ring {
  position: absolute;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  top: -5px;
  left: -5px;
  opacity: 0.6;
  z-index: 0;
  animation: rotate 10s linear infinite;
}

.tech-blueprint {
  margin: 40px auto;
  text-align: center;
  max-width: 400px;
}

.tech-blueprint img {
  max-width: 100%;
  opacity: 0.7;
}

/* Modern Card Designs */
.benefit-card {
  background-color: var(--bg-medium);
  border-radius: 12px;
  padding: 30px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.15);
}

.benefit-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  z-index: 1;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 15px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
}

.benefit-icon:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 45%, transparent 50%);
  top: 0;
  left: 0;
  animation: shimmer 3s infinite;
}

/* Main Services Section Cards */
.service-card {
  position: relative;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.service-tech span {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
}

.service-card .btn-modern {
  display: inline-block;
  margin-top: auto;
}

/* Small buttons for services cards */
.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Timeline Design */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.process-timeline:before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(var(--primary-color-rgb), 0.2);
  top: 0;
  bottom: 0;
  left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-circle {
  width: 60px;
  height: 60px;
  background-color: var(--bg-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.2);
}

.step-number {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.marker-progress circle {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 3;
  stroke-dasharray: 157;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease;
  transform: rotate(-90deg);
  transform-origin: center;
  opacity: 0.6;
}

.marker-line {
  width: 2px;
  height: 40px;
  background-color: rgba(var(--primary-color-rgb), 0.4);
  margin-top: 5px;
}

.timeline-content {
  background-color: var(--bg-medium);
  border-radius: 12px;
  padding: 25px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.timeline-content:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--bg-medium);
  left: -10px;
  top: 25px;
}

.timeline-icon {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.timeline-tips {
  background-color: rgba(var(--primary-color-rgb), 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  border-left: 3px solid var(--primary-color);
}

.timeline-tips h4 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 10px;
}

.timeline-tips ul {
  padding-left: 20px;
  margin: 0;
}

.timeline-tips li {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* Process Note */
.process-note {
  display: flex;
  align-items: flex-start;
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  position: relative;
  border-left: 4px solid var(--info-color);
}

.note-icon {
  margin-right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--info-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.note-content {
  flex-grow: 1;
}

.note-content h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--info-color);
}

/* Job Cards */
.job-card {
  background-color: var(--bg-medium);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.15);
}

.job-card-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(var(--text-tertiary-rgb), 0.1);
  position: relative;
}

.job-card-body {
  padding: 20px;
}

.job-card-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(var(--primary-color-rgb), 0.03);
  border-top: 1px solid rgba(var(--text-tertiary-rgb), 0.1);
}

.job-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  transition: background-color var(--transition-fast);
}

.tech-tag:hover {
  background-color: rgba(var(--primary-color-rgb), 0.2);
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.full-time {
  background-color: rgba(var(--success-color-rgb), 0.1);
  color: var(--success-color);
}

.badge.contract {
  background-color: rgba(var(--warning-color-rgb), 0.1);
  color: var(--warning-color);
}

.badge.part-time {
  background-color: rgba(var(--info-color-rgb), 0.1);
  color: var(--info-color);
}

.job-meta {
  display: flex;
  gap: 15px;
}

.job-meta span {
  display: flex;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.job-meta i {
  margin-right: 5px;
}

.btn-apply {
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-radius: 30px;
  font-weight: 500;
  transition: background-color var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-apply:hover {
  background-color: var(--primary-dark);
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--bg-medium);
  border-radius: 12px;
  padding: 30px;
  margin: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  max-width: 400px;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  opacity: 0.2;
  margin-bottom: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  position: relative;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.author-info p {
  margin: 0 0 8px 0;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.author-social a {
  color: var(--text-tertiary);
  margin-right: 10px;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.author-social a:hover {
  color: var(--primary-color);
}

/* Culture Items */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.culture-item {
  text-align: center;
  padding: 20px;
}

.culture-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.culture-item:hover .culture-icon {
  transform: scale(1.1);
}

.culture-item h4 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.culture-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Modern Grid Layout */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 1s;
  z-index: -1;
}

.btn:hover:before {
  transform: translateX(100%);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-text {
  margin-right: 10px;
}

.btn-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  40%, 60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .modern-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .process-timeline:before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .marker-circle {
    width: 40px;
    height: 40px;
  }
  
  .step-number {
    font-size: 1rem;
  }
  
  .modern-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .modern-grid {
    grid-template-columns: 1fr;
  }
  
  .job-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .btn-apply {
    width: 100%;
    text-align: center;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Life at ReturnDev Section */
.company-gallery {
  margin: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform var(--transition-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  font-weight: 500;
  font-size: 0.9rem;
}

.life-highlights {
  margin-top: 60px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  padding: 25px;
  background-color: var(--bg-medium);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.highlight-content {
  flex-grow: 1;
}

.highlight-content h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

.highlight-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: var(--bg-medium);
  position: relative;
  transition: box-shadow var(--transition-fast);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

.toggle-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 15px;
}

.toggle-icon .plus,
.toggle-icon .minus {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.toggle-icon .minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .toggle-icon .plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .toggle-icon .minus {
  opacity: 1;
  transform: rotate(0);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 300px;
}

.faq-tech-line {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width var(--transition-medium);
}

.faq-item.active .faq-tech-line {
  width: 100%;
}

.faq-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.faq-cta h3 {
  margin-top: 0;
  color: var(--text-primary);
}

.faq-cta p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* Call to Action Section */
.cta-section,
.cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.9));
    overflow: hidden;
    z-index: 1;
}

[data-theme="light"] .cta-section,
[data-theme="light"] .cta {
    background: linear-gradient(135deg, rgba(236, 246, 255, 0.95), rgba(214, 235, 255, 0.9));
}

.cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(81, 162, 255, 0.2);
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
}

[data-theme="light"] .cta-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 220, 255, 0.3);
    box-shadow: 
        0 30px 60px rgba(100, 120, 150, 0.15),
        0 0 40px rgba(81, 162, 255, 0.15);
}

.cta-content:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 40px 70px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(81, 162, 255, 0.3);
}

[data-theme="light"] .cta-content:hover {
    box-shadow: 
        0 40px 70px rgba(100, 120, 150, 0.2),
        0 0 50px rgba(81, 162, 255, 0.2);
}

.cta-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}

.cta-content:hover:before {
    left: 200%;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff, #a3c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

[data-theme="light"] .cta-content h2 {
    background: linear-gradient(135deg, #2c5282, #4d7eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(77, 126, 255, 0.3);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="light"] .cta-content p {
    color: rgba(31, 41, 55, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 3D Decoration Elements */
.cta-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cta-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(81, 162, 255, 0.5);
    box-shadow: 0 0 20px rgba(81, 162, 255, 0.7);
    animation: cta-particle-float 8s infinite ease-in-out;
}

.cta-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-particle:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.cta-particle:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

.cta-particle:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.cta-orbits {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
}

.cta-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: cta-orbit-rotate 20s infinite linear;
}

.cta-orbit:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cta-orbit:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 15s;
    animation-direction: reverse;
}

.cta-orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #4d7eff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(77, 126, 255, 0.8);
}

.cta-orbit:nth-child(1) .cta-orbit-dot {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cta-orbit:nth-child(2) .cta-orbit-dot {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cta .btn-modern {
    position: relative;
    overflow: hidden;
    padding: 16px 36px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.cta .btn-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-outline-modern {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta .btn-outline-modern:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .cta .btn-outline-modern {
    border: 2px solid rgba(77, 126, 255, 0.5);
    color: #4d7eff;
}

[data-theme="light"] .cta .btn-outline-modern:hover {
    border-color: rgba(77, 126, 255, 0.8);
    background: rgba(77, 126, 255, 0.1);
}

@keyframes cta-particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
}

@keyframes cta-orbit-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .cta-content {
        padding: 40px 30px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-orbits {
        display: none;
    }
}

@media (max-width: 767px) {
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta .btn-modern {
        padding: 14px 28px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cta-section, .cta {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Additional Animation Keyframes */
@keyframes dash {
  to {
    stroke-dashoffset: 565;
  }
}

/* Additional Responsive Adjustments */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-rows: repeat(3, 180px);
  }
  
  .gallery-item.large {
    grid-column: span 3;
    grid-row: span 1;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
  }
  
  .gallery-item.large {
    grid-column: span 2;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    padding: 40px 20px;
  }
  
  .cta-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  
  .gallery-item.large {
    grid-column: span 1;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-lg {
    width: 100%;
    text-align: center;
  }
}

/* Footer Styles */
.site-footer {
    position: relative;
    padding: 60px 0 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(11, 17, 32, 0.95) 100%);
    overflow: hidden;
}

body:not(.dark-mode) .site-footer {
    background: linear-gradient(180deg, var(--light-bg) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

body:not(.dark-mode) .social-links a {
    background: rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-newsletter {
    position: relative;
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-newsletter form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 12px;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body:not(.dark-mode) .footer-newsletter form {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    min-width: 0;
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 5px;
}

.footer-newsletter button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .footer-newsletter form {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 20px;
    }

    .footer-newsletter input {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 90px;
    }

    body:not(.dark-mode) .footer-newsletter input {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .footer-newsletter button {
        width: 100%;
        height: 45px;
        border-radius: 8px;
        margin: 0;
        margin-top: 5px;
    }
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

body:not(.dark-mode) .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .site-footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .footer-links h3,
    .footer-services h3,
    .footer-newsletter h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-newsletter form {
        max-width: 400px;
        margin: 0 auto 12px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-links,
    .footer-services,
    .footer-newsletter {
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after,
    .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-newsletter form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .footer-newsletter button {
        width: 100%;
        height: 40px;
        border-radius: 20px;
    }
    
    .footer-logo h2 {
        font-size: 1.6rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* 3D Cursor Effects */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.8);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.cursor-dot.active {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(var(--secondary-color-rgb), 0.8);
}

.cursor-circle {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.cursor-circle.active {
  width: 60px;
  height: 60px;
  border-color: var(--secondary-color);
  opacity: 0.8;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9997;
}

/* 3D Floating Objects */
.hero-3d-objects,
.section-3d-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(4px);
  pointer-events: none;
}

.floating-shape.shape-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
  top: 20%;
  left: 10%;
  animation: float 15s ease-in-out infinite, rotate 20s linear infinite;
}

.floating-shape.shape-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at center, var(--secondary-color), transparent 70%);
  top: 60%;
  right: 10%;
  animation: float 12s ease-in-out infinite reverse, rotate 15s linear infinite reverse;
}

.floating-shape.shape-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at center, var(--accent-color), transparent 70%);
  bottom: 10%;
  left: 20%;
  animation: float 10s ease-in-out infinite, rotate 10s linear infinite;
}

.floating-shape.shape-4 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at center, var(--primary-light), transparent 70%);
  top: 15%;
  right: 25%;
  animation: float 8s ease-in-out infinite reverse, rotate 8s linear infinite reverse;
}

.floating-shape.shape-5 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at center, var(--secondary-light), transparent 70%);
  bottom: 20%;
  right: 30%;
  animation: float 18s ease-in-out infinite, rotate 18s linear infinite;
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Glowing Elements */
.glow-text {
  text-shadow: var(--glow-subtle) rgba(var(--primary-color-rgb), 0.7);
}

.glow-box {
  box-shadow: var(--glow-subtle) rgba(var(--primary-color-rgb), 0.3);
}

.glow-border {
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  box-shadow: var(--glow-subtle) rgba(var(--primary-color-rgb), 0.3);
}

.hero-title {
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(var(--primary-color-rgb), 0.3);
  text-shadow: var(--glow-medium) rgba(var(--primary-color-rgb), 0.7);
  animation: pulse 2s infinite;
}

/* Glassmorphism Card Effects */
.glass-card {
  background: rgba(var(--bg-medium-rgb), 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  box-shadow: 0 8px 32px rgba(var(--bg-dark-rgb), 0.2);
}

.glass-card:hover {
  border-color: rgba(var(--primary-color-rgb), 0.5);
  box-shadow: 0 8px 32px rgba(var(--primary-color-rgb), 0.2);
}

/* Modern Buttons with Hover Effects */
.btn-modern {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-medium);
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.btn-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  box-shadow: 0 7px 20px rgba(var(--primary-color-rgb), 0.5);
  transform: translateY(-3px);
}

.btn-outline-modern {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-outline-modern:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

/* Enhanced Section Titles */
.section-title-modern {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.section-title-modern::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
}

.section-title-modern::after {
  content: attr(data-text);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--primary-color-rgb), 0.1);
  opacity: 0.3;
  white-space: nowrap;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid transparent;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-circle:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top: 5px solid var(--secondary-color);
  animation-duration: 0.8s;
  animation-direction: reverse;
}

.loader-circle:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top: 5px solid var(--accent-color);
  animation-duration: 0.6s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--bg-dark-rgb), 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-input-container {
    position: absolute;
    top: calc(100% + 15px);
    right: -15px;
    width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-input-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.search-highlight {
    color: var(--primary-color);
    font-weight: 500;
}

/* Light mode styles */
[data-theme="light"] .search-input,
body:not(.dark-mode) .search-input {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

[data-theme="light"] .search-results,
body:not(.dark-mode) .search-results {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .search-result-title,
body:not(.dark-mode) .search-result-title {
    color: #333;
}

[data-theme="light"] .search-result-description,
body:not(.dark-mode) .search-result-description {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .search-result-item,
body:not(.dark-mode) .search-result-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-result-item:hover,
body:not(.dark-mode) .search-result-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .search-input-container {
        position: fixed;
        top: 70px;
        left: auto;
        right: 20px;
        width: calc(100% - 40px);
        max-width: 350px;
    }

    .search-results {
        position: fixed;
        top: 130px;
        left: auto;
        right: 20px;
        width: calc(100% - 40px);
        max-width: 350px;
        max-height: calc(100vh - 150px);
    }
}

.close-search {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.close-search:hover {
  transform: rotate(90deg);
  color: var(--primary-color);
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .cursor-dot, .cursor-circle, .cursor-trail {
    display: none;
  }
  
  body {
    cursor: auto !important;
  }
  
  .floating-shape {
    opacity: 0.1;
  }
  
  .section-title-modern::after {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .floating-shape {
    transform: scale(0.7);
  }
  
  .section-title-modern::after {
    display: none;
  }
}

/* 3D Tech Sphere */
.tech-sphere {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: rotate 20s linear infinite;
}

.sphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--primary-light), var(--primary-color));
  box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.8);
}

.sphere-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-1 {
  width: 120px;
  height: 120px;
  animation-duration: 15s;
}

.orbit-2 {
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%) rotateX(60deg);
  animation-duration: 20s;
}

.orbit-3 {
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) rotateY(60deg);
  animation-duration: 25s;
}

.sphere-particle {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 15px rgba(var(--secondary-color-rgb), 0.8);
}

.particle-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit1 15s linear infinite;
}

.particle-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation: orbit2 20s linear infinite;
}

.particle-3 {
  bottom: 20%;
  left: 20%;
  animation: orbit3 25s linear infinite;
}

.particle-4 {
  top: 30%;
  right: 20%;
  animation: orbit2 18s linear infinite reverse;
}

.particle-5 {
  bottom: 10%;
  right: 30%;
  animation: orbit3 22s linear infinite reverse;
}

@keyframes orbit1 {
  0% {
    transform: translateX(-50%) rotate(0deg) translateY(-60px) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg) translateY(-60px) rotate(-360deg);
  }
}

@keyframes orbit2 {
  0% {
    transform: translateY(-50%) rotate(0deg) translateX(80px) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg) translateX(80px) rotate(-360deg);
  }
}

@keyframes orbit3 {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

/* Floating Cube */
.floating-cube {
  position: relative;
  width: 150px;
  height: 150px;
  transform-style: preserve-3d;
  animation: rotateCube 20s linear infinite;
}

.cube-face {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.7;
  border: 1px solid rgba(var(--primary-color-rgb), 0.5);
  background: rgba(var(--primary-color-rgb), 0.1);
  background: linear-gradient(45deg, 
    rgba(var(--primary-color-rgb), 0.05), 
    rgba(var(--secondary-color-rgb), 0.15)
  );
  box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.3);
}

.face-front {
  transform: translateZ(75px);
}

.face-back {
  transform: translateZ(-75px) rotateY(180deg);
}

.face-left {
  transform: translateX(-75px) rotateY(-90deg);
}

.face-right {
  transform: translateX(75px) rotateY(90deg);
}

.face-top {
  transform: translateY(-75px) rotateX(90deg);
}

.face-bottom {
  transform: translateY(75px) rotateX(-90deg);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg);
  }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.dark-mode .theme-toggle {
    background: rgba(13, 17, 23, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body:not(.dark-mode) .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle i.active {
    opacity: 1;
}

.fa-sun {
    color: #ffd700;
}

.fa-moon {
    color: #7aa2f7;
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 15px;
        right: 70px;
        width: 35px;
        height: 35px;
    }

    .theme-toggle i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .theme-toggle {
        top: 15px;
        right: 60px;
        width: 32px;
        height: 32px;
    }
}

/* Stats Section */
.stats-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(var(--bg-dark-rgb), 0.9), rgba(var(--bg-medium-rgb), 0.8));
  overflow: hidden;
  z-index: 1;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.1), transparent 70%);
  z-index: -1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-block {
  position: relative;
  text-align: center;
  padding: 40px 25px;
  border-radius: 15px;
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  transform: translateY(30px);
  opacity: 0.5;
}

.stat-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.05), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.8s ease;
  transform: rotate(30deg);
}

.stat-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(var(--primary-color-rgb), 0.4);
}

.stat-block:hover::before {
  opacity: 1;
}

.stat-block.active {
  transform: translateY(0);
  opacity: 1;
  animation: stat-appear 0.8s forwards ease-out;
}

@keyframes stat-appear {
  0% {
    transform: translateY(30px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.stat-block:hover .stat-icon {
  transform: scale(1.2);
}

.counter {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.counter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer-counter 2s infinite;
  opacity: 0;
}

.stat-block.active .counter::after {
  opacity: 1;
}

@keyframes shimmer-counter {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.plus {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.8;
  position: relative;
  top: -5px;
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
}

.stat-block h3 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 15px 0 0;
  position: relative;
}

.stat-block h3::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Visual Decoration Elements */
.stat-block .tech-decoration {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .counter {
    font-size: 3rem;
  }
  
  .plus {
    font-size: 2rem;
  }
  
  .stat-block {
    min-height: 180px;
    padding: 30px 20px;
  }
}

/* Make counter and plus sign container */
.stat-block .counter-container {
  display: flex;
  align-items: start;
  justify-content: center;
  margin-bottom: 5px;
}

/* About Us Section Styles */
.about {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  padding: 40px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.05), transparent 70%);
  z-index: -1;
}

.about-subtitle {
  font-size: 1.6rem;
  margin: 20px 0 15px;
  position: relative;
  display: inline-block;
}

.about-subtitle .highlight {
  position: relative;
  z-index: 1;
}

.about-subtitle .highlight::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(var(--primary-color-rgb), 0.2);
  z-index: -1;
  transform: skewX(-10deg);
}

.about-text p.lead {
  font-size: 1.15rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
  padding: 20px 0;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  position: relative;
}

.mini-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: rgba(var(--primary-color-rgb), 0.05);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.mini-stat:hover::before {
  transform: scale(1);
}

.mini-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.mini-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 5px;
}

.about-values {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  border-radius: 8px;
  background-color: rgba(var(--primary-color-rgb), 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.value-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.tech-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.about-3d-element {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-dots {
  position: absolute;
  top: 20%;
  right: 20%;
  display: flex;
}

.tech-dots .dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin: 0 4px;
  opacity: 0.6;
  animation: blink 1.5s infinite alternate;
}

.tech-dots .dot:nth-child(2) {
  animation-delay: 0.5s;
}

.tech-dots .dot:nth-child(3) {
  animation-delay: 1s;
}

.tech-line-horizontal {
  position: absolute;
  bottom: 30%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.5;
}

.tech-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(var(--primary-color-rgb), 0.3);
  border-radius: 50%;
  top: 60%;
  left: 20%;
  opacity: 0.6;
  animation: rotate 20s linear infinite;
}

.tech-ring::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.tech-circuit {
  position: absolute;
  width: 100px;
  height: 80px;
  border-top: 2px solid rgba(var(--primary-color-rgb), 0.4);
  border-right: 2px solid rgba(var(--primary-color-rgb), 0.4);
  top: 40%;
  right: 10%;
  opacity: 0.6;
}

.tech-circuit::before,
.tech-circuit::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.tech-circuit::before {
  top: -4px;
  left: -4px;
}

.tech-circuit::after {
  top: -4px;
  right: -4px;
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-3d-element {
    min-height: 300px;
    order: -1;
  }
}

/* How We Work Section - Completely Redesigned */
.how-we-work {
  background: linear-gradient(135deg, #0c0f2e, #16163e);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

body.light-mode .how-we-work {
  background: linear-gradient(135deg, #eaeeff, #e4e8ff);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.process-step {
  background: rgba(20, 22, 48, 0.7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 102, 255, 0.15);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .process-step {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(94, 102, 255, 0.1);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.process-step h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

body.light-mode .process-step h3 {
  color: #16163e;
}

.step-number {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #5e66ff, #9d6bff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(94, 102, 255, 0.5);
  z-index: 2;
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

body.light-mode .process-step p {
  color: #444;
}

.process-tech-icon {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 1.4rem;
  color: rgba(94, 102, 255, 0.7);
  transition: color 0.3s ease;
}

.process-tech-dots {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 6px;
}

.process-tech-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.process-tech-dots .dot:nth-child(1) {
  background-color: #5e66ff;
}

.process-tech-dots .dot:nth-child(2) {
  background-color: #7e6aff;
}

.process-tech-dots .dot:nth-child(3) {
  background-color: #9d6bff;
}

/* Button styling matching reference */
.how-we-work-cta {
  text-align: center;
  margin-top: 60px;
}

.how-we-work-cta .btn-modern {
  background: linear-gradient(135deg, #5e66ff, #9d6bff);
  color: white;
  border: none;
  padding: 14px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(94, 102, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
}

.how-we-work-cta .btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(94, 102, 255, 0.4);
}

.how-we-work-cta .btn-modern i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.how-we-work-cta .btn-modern:hover i {
  transform: translateX(3px);
}

/* Medium screens */
@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens */
@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Revolutionary 3D How We Work Section - Complete Redesign */
.how-we-work {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(125deg, #0a0d26, #191e45);
  perspective: 1200px;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.17, 0.84, 0.44, 1);
}

/* Light mode support */
body.light-mode .how-we-work {
  background: linear-gradient(125deg, #f0f5ff, #e8ecff);
}

/* 3D Space Background */
.space-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation-name: twinkle;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1); }
}

/* Flowing grid lines */
.grid-lines {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(to right, rgba(94, 102, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(60deg);
  transform-origin: center;
  animation: grid-flow 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

body.light-mode .grid-lines {
  background-image: 
    linear-gradient(to right, rgba(94, 102, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 102, 255, 0.1) 1px, transparent 1px);
}

@keyframes grid-flow {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(50px); }
}

/* Floating elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* ==== How We Work Section - 3D Process Cards ==== */
.how-we-work {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0e1339, #1a1a3a);
    overflow: hidden;
    perspective: 1000px;
    z-index: 1;
}

/* Light mode support */
body.light-mode .how-we-work {
    background: linear-gradient(135deg, #e8f0ff, #d9e6ff);
    color: #333;
}

/* Space background with twinkling stars */
.space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.space-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eef, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ddf, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 80px, #eef, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 300px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 400px 150px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 500px 100px, #ddf, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 280px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 180px 280px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 600px 600px;
    opacity: 0.3;
    animation: twinkle 10s ease-in-out infinite alternate;
}

body.light-mode .space-background::before {
    opacity: 0.1;
}

/* Grid lines effect */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(100, 100, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(100, 100, 255, 0.1) 1px, transparent 1px);
    animation: grid-flow 15s linear infinite;
}

body.light-mode .grid-lines {
    background-image:
        linear-gradient(to right, rgba(0, 0, 100, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 100, 0.05) 1px, transparent 1px);
}

/* Section Header Styles */
.how-we-work .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-we-work .section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), #6b59d3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(107, 89, 211, 0.5);
}

.how-we-work .section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

body.light-mode .how-we-work .section-header p {
    color: rgba(0, 0, 0, 0.7);
}

/* Floating elements */
.floating-element {
    position: absolute;
    z-index: 0;
    opacity: 0.6;
}

.floating-cube {
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: float-rotate 15s infinite linear;
    position: relative;
}

.floating-cube .face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(107, 89, 211, 0.4);
    background: rgba(107, 89, 211, 0.1);
    box-shadow: 0 0 15px rgba(107, 89, 211, 0.3) inset;
}

.floating-cube .front {
    transform: translateZ(40px);
}

.floating-cube .back {
    transform: translateZ(-40px) rotateY(180deg);
}

.floating-cube .left {
    transform: rotateY(-90deg) translateZ(40px);
}

.floating-cube .right {
    transform: rotateY(90deg) translateZ(40px);
}

.floating-cube .top {
    transform: rotateX(90deg) translateZ(40px);
}

.floating-cube .bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

.floating-sphere {
    width: 100px;
    height: 100px;
    position: relative;
    animation: pulse 4s infinite alternate ease-in-out;
}

.floating-sphere .orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(107, 89, 211, 0.3);
    border-radius: 50%;
    animation: float-rotate 8s infinite linear;
}

.floating-sphere .orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Process Container and Ring */
.process-container {
    position: relative;
    height: 600px;
    margin: 40px auto;
    perspective: 1200px;
}

.process-ring {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
}

/* Process Cards */
.process-card {
    position: absolute;
    width: 300px;
    height: 380px;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -190px;
    background: rgba(20, 20, 50, 0.85);
    border-radius: 15px;
    border: 1px solid rgba(107, 89, 211, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(107, 89, 211, 0.4);
    backdrop-filter: blur(5px);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    z-index: 1;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(
        140deg, 
        transparent 20%, 
        rgba(94, 102, 255, 0.8) 40%, 
        rgba(157, 107, 255, 0.8) 60%, 
        transparent 80%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.process-card:hover::before {
    opacity: 1;
    background: linear-gradient(
        140deg, 
        transparent 0%, 
        rgba(94, 102, 255, 1) 30%, 
        rgba(157, 107, 255, 1) 70%, 
        transparent 100%
    );
    animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

body.light-mode .process-card {
    background: rgba(245, 245, 255, 0.85);
    border: 1px solid rgba(107, 89, 211, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 0 20px rgba(107, 89, 211, 0.2);
}

.process-card.active {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(107, 89, 211, 0.6),
                0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.process-card-content {
    position: relative;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.process-card h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-right: 70px;
    position: relative;
    transition: all 0.3s ease;
    transform: translateZ(5px);
}

body.light-mode .process-card h3 {
    color: #16163e;
}

.process-card .step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 50, 0.85);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    transform: translateZ(20px) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.17, 0.84, 0.44, 1);
    box-shadow: 
        0 0 30px rgba(94, 102, 255, 0.4),
        0 0 0 1px rgba(94, 102, 255, 0.2),
        inset 0 0 15px rgba(94, 102, 255, 0.2);
    z-index: 10;
    text-shadow: 0 0 10px rgba(94, 102, 255, 0.5);
    overflow: hidden;
}

.process-card .step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(94, 102, 255, 0.1), rgba(157, 107, 255, 0.1)),
        linear-gradient(-45deg, rgba(94, 102, 255, 0.1), rgba(157, 107, 255, 0.1));
    z-index: -1;
}

.process-card .step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        transparent 0deg,
        transparent 310deg,
        var(--primary-color) 360deg
    );
    z-index: -2;
    opacity: 0.7;
    animation: rotate-step 4s linear infinite;
}

.process-card .step-number span {
    transform: rotate(-45deg);
    display: block;
}

body.light-mode .process-card .step-number {
    background: rgba(245, 245, 255, 0.95);
    box-shadow: 
        0 0 30px rgba(94, 102, 255, 0.3),
        0 0 0 1px rgba(94, 102, 255, 0.1),
        inset 0 0 15px rgba(94, 102, 255, 0.1);
}

.process-card:hover .step-number {
    transform: translateZ(30px) rotate(45deg) scale(1.1);
    background: rgba(30, 30, 70, 0.95);
    box-shadow: 
        0 0 40px rgba(94, 102, 255, 0.6),
        0 0 0 1px rgba(94, 102, 255, 0.4),
        inset 0 0 20px rgba(94, 102, 255, 0.3);
}

body.light-mode .process-card:hover .step-number {
    background: rgba(255, 255, 255, 1);
}

@keyframes rotate-step {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.process-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

body.light-mode .process-card p {
    color: rgba(0, 0, 0, 0.7);
}

.process-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.process-card .process-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(94, 102, 255, 0.2), rgba(157, 107, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(94, 102, 255, 0.2);
    position: relative;
    z-index: 2;
    transform: translateZ(5px);
    transition: all 0.3s ease, transform 0.5s cubic-bezier(0.17, 0.84, 0.44, 1);
    overflow: hidden;
}

.process-card .process-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-card:hover .process-icon {
    transform: translateZ(15px) scale(1.1);
    color: #fff;
    background: linear-gradient(135deg, rgba(94, 102, 255, 0.9), rgba(157, 107, 255, 0.9));
    box-shadow: 0 8px 25px rgba(94, 102, 255, 0.4);
}

.process-card:hover .process-icon::before {
    transform: translateX(100%);
}

.process-card .process-dots {
    display: flex;
    gap: 8px;
}

.process-card .dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: translateZ(5px) rotate(45deg);
}

.process-card .dot-1 {
    background: rgba(94, 102, 255, 0.7);
    animation: pulse-dot 2s infinite alternate ease-in-out;
}

.process-card .dot-2 {
    background: rgba(125, 104, 255, 0.7);
    animation: pulse-dot 2s infinite alternate ease-in-out 0.3s;
}

.process-card .dot-3 {
    background: rgba(157, 107, 255, 0.7);
    animation: pulse-dot 2s infinite alternate ease-in-out 0.6s;
}

.process-card:hover .dot {
    opacity: 1;
    transform: translateZ(15px) rotate(45deg);
    box-shadow: 0 0 10px currentColor;
}

@keyframes pulse-dot {
    0% {
        transform: translateZ(5px) rotate(45deg) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: translateZ(5px) rotate(45deg) scale(1.1);
        opacity: 0.9;
    }
}

.process-card .card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    z-index: 0;
}

/* Navigation Controls */
.process-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 100;
}

.process-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 30, 60, 0.8);
    border: 1px solid rgba(107, 89, 211, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.light-mode .process-btn {
    background: rgba(245, 245, 255, 0.85);
    border: 1px solid rgba(107, 89, 211, 0.3);
    color: var(--primary-color);
}

.process-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 89, 211, 0.4);
}

/* CTA Button */
.how-we-work-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-process {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(107, 89, 211, 0.4);
}

.btn-process:hover {
    background: #5649b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 89, 211, 0.5);
}

.btn-process i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-process:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes grid-flow {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes float-rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .process-container {
        height: 500px;
    }
    
    .process-card {
        width: 280px;
        height: 350px;
        margin-left: -140px;
        margin-top: -175px;
    }
    
    .how-we-work .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .how-we-work {
        padding: 70px 0;
    }
    
    .process-container {
        height: 450px;
    }
    
    .process-card {
        width: 240px;
        height: 320px;
        margin-left: -120px;
        margin-top: -160px;
    }
    
    .process-card .step-number {
        font-size: 2rem;
    }
    
    .process-card h3 {
        font-size: 1.7rem;
    }
    
    .process-card p {
        font-size: 0.9rem;
    }
    
    .how-we-work .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .process-container {
        height: 400px;
    }
    
    .process-card {
        width: 220px;
        height: 300px;
        margin-left: -110px;
        margin-top: -150px;
    }
    
    .process-card .process-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .btn-process {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

.process-card .step-number::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.4s ease;
}

.process-card:hover .step-number::after {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Clients Section */
.clients {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}



.clients .section-header {
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 5;
}

.client-logo {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

[data-theme="light"] .client-logo {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 210, 230, 0.3);
    box-shadow: 0 10px 30px rgba(100, 120, 150, 0.1);
}

.client-logo img {
    max-width: 80%;
    max-height: 60%;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.client-logo:hover {
    transform: translateY(-10px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(81, 162, 255, 0.3);
}

[data-theme="light"] .client-logo:hover {
    box-shadow: 0 20px 40px rgba(100, 120, 150, 0.15),
                0 0 30px rgba(81, 162, 255, 0.2);
}

.client-logo:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

/* Client Badge */
.client-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #4a6cf7, #2950c3);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    z-index: 10;
}

.client-logo:hover .client-badge {
    opacity: 1;
    transform: translateY(0) scale(1.05);
}

/* Badge Type Styles */
.client-badge:nth-child(2) {
    background: linear-gradient(135deg, #4a6cf7, #2950c3);
}

.client-badge:nth-child(odd) {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
}

.client-badge:nth-child(3n) {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

/* 3D Floating Elements */
.client-floating-element {
    position: absolute;
    pointer-events: none;
}

.client-orb {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float-orb 15s infinite linear;
}

.orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(81, 162, 255, 0.2);
    animation: rotate-ring 20s infinite linear;
}

.orb-ring:nth-child(1) {
    border-width: 4px;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
}

.orb-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-direction: reverse;
    border-color: rgba(255, 120, 120, 0.2);
}

.orb-core {
    position: absolute;
    width: 30%;
    height: 30%;
    top: 35%;
    left: 35%;
    background: radial-gradient(circle, rgba(81, 162, 255, 0.8), rgba(81, 162, 255, 0.3));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(81, 162, 255, 0.5);
    animation: pulse-core 4s infinite ease-in-out;
}

[data-theme="light"] .orb-core {
    background: radial-gradient(circle, rgba(81, 162, 255, 0.6), rgba(81, 162, 255, 0.2));
}

@keyframes float-orb {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(0, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, 20px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-core {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .client-logos {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .client-orb {
        width: 150px;
        height: 150px;
        top: 5%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .client-logos {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .client-logo {
        height: 120px;
    }
    
    .client-orb {
        width: 100px;
        height: 100px;
    }
}

.live-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-button i {
    font-size: 1.2rem;
}

.chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

body.dark-mode .chat-box {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    color: var(--text-color);
    margin: 0;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: transparent;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.received {
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 15px 15px 15px 0;
}

body.dark-mode .chat-message.received {
    background: rgba(255, 255, 255, 0.05);
}

.chat-message.sent {
    margin-left: auto;
    background: var(--primary-color);
    padding: 12px 15px;
    border-radius: 15px 15px 0 15px;
}

.message-time {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    opacity: 0.7;
}

.chat-message-input {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chat-message-input input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

body.dark-mode .chat-message-input input {
    background: rgba(255, 255, 255, 0.05);
}

.chat-message-input input:focus {
    outline: none;
}

.chat-message-input button {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-message-input button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .chat-box {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-button {
        padding: 12px 20px;
    }

    .chat-button span {
        display: none;
    }

    .chat-button i {
        font-size: 1.5rem;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}



header.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode header.scrolled {
    background: rgba(13, 17, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode header.scrolled .main-nav a,
body.light-mode header.scrolled .search-toggle i {
    color: #fff;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

body.light-mode .main-nav a {
    color: var(--primary-color);
}

body.light-mode .main-nav a:hover {
    color: var(--primary-dark);
}

.main-nav a.active {
    color: var(--primary-dark);
}

body.light-mode .main-nav a.active {
    color: var(--primary-dark);
}

.search-toggle {
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.search-toggle i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

body.light-mode .search-toggle i {
    color: var(--primary-color);
}

body.light-mode .search-toggle:hover i {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        padding: 80px 20px 30px;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 20px;
        transition: 0.3s ease;
    }

    body.light-mode .main-nav {
        background: rgba(13, 17, 23, 0.95);
    }

    .main-nav.active {
        top: 0;
    }

    .main-nav li {
        margin: 16px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.1rem;
        padding: 10px;
        display: block;
        color: #fff;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-container {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-input-container.active {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .mobile-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        cursor: pointer;
        z-index: 1000;
    }

    .bar {
        width: 25px;
        height: 2px;
        background-color: var(--text-color);
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .theme-toggle {
        position: static;
        transform: none;
    }

    .search-input-container {
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        width: auto;
        transform: scale(0);
    }

    .search-input-container.active {
        transform: scale(1);
    }

    .search-results {
        position: fixed;
        top: 120px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

@keyframes highlightSection {
    0% {
        background: rgba(var(--primary-color-rgb), 0.1);
    }
    100% {
        background: transparent;
    }
}

section.highlight-section {
    animation: highlightSection 2s ease-out;
}
/* Theme.css - Modern Tech/Robotic Design System for ReturnDev */

:root {
  /* Primary Colors - with RGB values for glow effects */
  --primary-color: #00f5ff;
  --primary-color-rgb: 0, 245, 255;
  --primary-dark: #00c3cc;
  --primary-dark-rgb: 0, 195, 204;
  --primary-light: #7affff;
  --primary-light-rgb: 122, 255, 255;
  
  /* Secondary Colors */
  --secondary-color: #ff416c;
  --secondary-color-rgb: 255, 65, 108;
  --secondary-dark: #e02e57;
  --secondary-dark-rgb: 224, 46, 87;
  --secondary-light: #ff7a9e;
  --secondary-light-rgb: 255, 122, 158;
  
  /* Accent Colors */
  --accent-color: #7928ca;
  --accent-color-rgb: 121, 40, 202;
  --accent-dark: #5b1e99;
  --accent-dark-rgb: 91, 30, 153;
  --accent-light: #9d50fb;
  --accent-light-rgb: 157, 80, 251;
  
  /* Background Colors */
  --bg-dark: #0a0b10;
  --bg-dark-rgb: 10, 11, 16;
  --bg-medium: #13141f;
  --bg-medium-rgb: 19, 20, 31;
  --bg-light: #1c1e2f;
  --bg-light-rgb: 28, 30, 47;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-primary-rgb: 255, 255, 255;
  --text-secondary: #c9d1d9;
  --text-secondary-rgb: 201, 209, 217;
  --text-tertiary: #8b949e;
  --text-tertiary-rgb: 139, 148, 158;
  
  /* UI Colors */
  --success-color: #00f1a6;
  --success-color-rgb: 0, 241, 166;
  --warning-color: #ffd60a;
  --warning-color-rgb: 255, 214, 10;
  --error-color: #fe2e55;
  --error-color-rgb: 254, 46, 85;
  --info-color: #0099ff;
  --info-color-rgb: 0, 153, 255;
  
  /* Animation Durations */
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition-slow: 0.8s;

  /* Glow Strength */
  --glow-strong: 0 0 20px 2px;
  --glow-medium: 0 0 15px 1px;
  --glow-subtle: 0 0 10px 0.5px;
}

/* Light Mode Colors */
body:not(.dark-mode) {
  --primary-color: #0099ff;
  --primary-color-rgb: 0, 153, 255;
  --primary-dark: #0077cc;
  --primary-dark-rgb: 0, 119, 204;
  --primary-light: #66bdff;
  --primary-light-rgb: 102, 189, 255;
  
  --secondary-color: #ff416c;
  --secondary-color-rgb: 255, 65, 108;
  
  --accent-color: #7928ca;
  --accent-color-rgb: 121, 40, 202;
  
  --bg-dark: #f0f5ff;
  --bg-dark-rgb: 240, 245, 255;
  --bg-medium: #ffffff;
  --bg-medium-rgb: 255, 255, 255;
  --bg-light: #f5f8ff;
  --bg-light-rgb: 245, 248, 255;
  
  --text-primary: #18214d;
  --text-primary-rgb: 24, 33, 77;
  --text-secondary: #384067;
  --text-secondary-rgb: 56, 64, 103;
  --text-tertiary: #606588;
  --text-tertiary-rgb: 96, 101, 136;

  /* Lighter glow for light mode */
  --glow-strong: 0 0 25px 5px;
  --glow-medium: 0 0 20px 3px;
  --glow-subtle: 0 0 15px 1px;
}

/* Global Tech Elements */
.tech-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.tech-line {
  height: 2px;
  width: 40px;
  background: var(--primary-color);
  position: relative;
}

.tech-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  margin: 0 8px;
  position: relative;
}

.tech-circle.pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.6;
  top: 0;
  left: 0;
  animation: pulse 2s infinite;
}

.tech-badge {
  display: inline-block;
  padding: 4px 8px;
  background: var(--primary-dark);
  color: var(--text-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
}

.tech-circuit {
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: -10px;
  right: -10px;
  background-image: 
    radial-gradient(circle at 20% 20%, transparent 70%, var(--primary-color) 70%, var(--primary-color) 72%, transparent 72%),
    radial-gradient(circle at 80% 80%, transparent 70%, var(--primary-color) 70%, var(--primary-color) 72%, transparent 72%),
    linear-gradient(45deg, transparent 48%, var(--primary-color) 48%, var(--primary-color) 52%, transparent 52%);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.tech-dots {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.tech-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
}

.tech-dots .dot:nth-child(2) {
  animation: blink 1.5s infinite 0.5s;
}

.tech-dots .dot:nth-child(3) {
  animation: blink 1.5s infinite 1s;
}

.tech-line-horizontal {
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 12px 0;
}

.tech-ring {
  position: absolute;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  top: -5px;
  left: -5px;
  opacity: 0.6;
  z-index: 0;
  animation: rotate 10s linear infinite;
}

.tech-blueprint {
  margin: 40px auto;
  text-align: center;
  max-width: 400px;
}

.tech-blueprint img {
  max-width: 100%;
  opacity: 0.7;
}

/* Modern Card Designs */
.benefit-card {
  background-color: var(--bg-medium);
  border-radius: 12px;
  padding: 30px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.15);
}

.benefit-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  z-index: 1;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 15px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
}

.benefit-icon:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 45%, transparent 50%);
  top: 0;
  left: 0;
  animation: shimmer 3s infinite;
}

/* Main Services Section Cards */
.service-card {
  position: relative;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.service-tech span {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
}

.service-card .btn-modern {
  display: inline-block;
  margin-top: auto;
}

/* Small buttons for services cards */
.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Timeline Design */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.process-timeline:before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(var(--primary-color-rgb), 0.2);
  top: 0;
  bottom: 0;
  left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-circle {
  width: 60px;
  height: 60px;
  background-color: var(--bg-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.2);
}

.step-number {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.marker-progress circle {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 3;
  stroke-dasharray: 157;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease;
  transform: rotate(-90deg);
  transform-origin: center;
  opacity: 0.6;
}

.marker-line {
  width: 2px;
  height: 40px;
  background-color: rgba(var(--primary-color-rgb), 0.4);
  margin-top: 5px;
}

.timeline-content {
  background-color: var(--bg-medium);
  border-radius: 12px;
  padding: 25px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.timeline-content:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--bg-medium);
  left: -10px;
  top: 25px;
}

.timeline-icon {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.timeline-tips {
  background-color: rgba(var(--primary-color-rgb), 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  border-left: 3px solid var(--primary-color);
}

.timeline-tips h4 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 10px;
}

.timeline-tips ul {
  padding-left: 20px;
  margin: 0;
}

.timeline-tips li {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* Process Note */
.process-note {
  display: flex;
  align-items: flex-start;
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  position: relative;
  border-left: 4px solid var(--info-color);
}

.note-icon {
  margin-right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--info-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.note-content {
  flex-grow: 1;
}

.note-content h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--info-color);
}

/* Job Cards */
.job-card {
  background-color: var(--bg-medium);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.15);
}

.job-card-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(var(--text-tertiary-rgb), 0.1);
  position: relative;
}

.job-card-body {
  padding: 20px;
}

.job-card-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(var(--primary-color-rgb), 0.03);
  border-top: 1px solid rgba(var(--text-tertiary-rgb), 0.1);
}

.job-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  transition: background-color var(--transition-fast);
}

.tech-tag:hover {
  background-color: rgba(var(--primary-color-rgb), 0.2);
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.full-time {
  background-color: rgba(var(--success-color-rgb), 0.1);
  color: var(--success-color);
}

.badge.contract {
  background-color: rgba(var(--warning-color-rgb), 0.1);
  color: var(--warning-color);
}

.badge.part-time {
  background-color: rgba(var(--info-color-rgb), 0.1);
  color: var(--info-color);
}

.job-meta {
  display: flex;
  gap: 15px;
}

.job-meta span {
  display: flex;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.job-meta i {
  margin-right: 5px;
}

.btn-apply {
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-radius: 30px;
  font-weight: 500;
  transition: background-color var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-apply:hover {
  background-color: var(--primary-dark);
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--bg-medium);
  border-radius: 12px;
  padding: 30px;
  margin: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  max-width: 400px;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  opacity: 0.2;
  margin-bottom: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  position: relative;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.author-info p {
  margin: 0 0 8px 0;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.author-social a {
  color: var(--text-tertiary);
  margin-right: 10px;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.author-social a:hover {
  color: var(--primary-color);
}

/* Culture Items */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.culture-item {
  text-align: center;
  padding: 20px;
}

.culture-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.culture-item:hover .culture-icon {
  transform: scale(1.1);
}

.culture-item h4 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.culture-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Modern Grid Layout */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 1s;
  z-index: -1;
}

.btn:hover:before {
  transform: translateX(100%);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-text {
  margin-right: 10px;
}

.btn-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  40%, 60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .modern-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .process-timeline:before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .marker-circle {
    width: 40px;
    height: 40px;
  }
  
  .step-number {
    font-size: 1rem;
  }
  
  .modern-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .modern-grid {
    grid-template-columns: 1fr;
  }
  
  .job-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .btn-apply {
    width: 100%;
    text-align: center;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Life at ReturnDev Section */
.company-gallery {
  margin: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform var(--transition-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  font-weight: 500;
  font-size: 0.9rem;
}

.life-highlights {
  margin-top: 60px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  padding: 25px;
  background-color: var(--bg-medium);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.highlight-content {
  flex-grow: 1;
}

.highlight-content h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

.highlight-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: var(--bg-medium);
  position: relative;
  transition: box-shadow var(--transition-fast);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

.toggle-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 15px;
}

.toggle-icon .plus,
.toggle-icon .minus {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.toggle-icon .minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .toggle-icon .plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .toggle-icon .minus {
  opacity: 1;
  transform: rotate(0);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 300px;
}

.faq-tech-line {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width var(--transition-medium);
}

.faq-item.active .faq-tech-line {
  width: 100%;
}

.faq-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.faq-cta h3 {
  margin-top: 0;
  color: var(--text-primary);
}

.faq-cta p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* Call to Action Section */
.cta-section,
.cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.9));
    overflow: hidden;
    z-index: 1;
}

[data-theme="light"] .cta-section,
[data-theme="light"] .cta {
    background: linear-gradient(135deg, rgba(236, 246, 255, 0.95), rgba(214, 235, 255, 0.9));
}

.cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(81, 162, 255, 0.2);
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
}

[data-theme="light"] .cta-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 220, 255, 0.3);
    box-shadow: 
        0 30px 60px rgba(100, 120, 150, 0.15),
        0 0 40px rgba(81, 162, 255, 0.15);
}

.cta-content:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 40px 70px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(81, 162, 255, 0.3);
}

[data-theme="light"] .cta-content:hover {
    box-shadow: 
        0 40px 70px rgba(100, 120, 150, 0.2),
        0 0 50px rgba(81, 162, 255, 0.2);
}

.cta-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}

.cta-content:hover:before {
    left: 200%;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff, #a3c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

[data-theme="light"] .cta-content h2 {
    background: linear-gradient(135deg, #2c5282, #4d7eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(77, 126, 255, 0.3);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="light"] .cta-content p {
    color: rgba(31, 41, 55, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 3D Decoration Elements */
.cta-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cta-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(81, 162, 255, 0.5);
    box-shadow: 0 0 20px rgba(81, 162, 255, 0.7);
    animation: cta-particle-float 8s infinite ease-in-out;
}

.cta-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-particle:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.cta-particle:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

.cta-particle:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.cta-orbits {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
}

.cta-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: cta-orbit-rotate 20s infinite linear;
}

.cta-orbit:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cta-orbit:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 15s;
    animation-direction: reverse;
}

.cta-orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #4d7eff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(77, 126, 255, 0.8);
}

.cta-orbit:nth-child(1) .cta-orbit-dot {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cta-orbit:nth-child(2) .cta-orbit-dot {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cta .btn-modern {
    position: relative;
    overflow: hidden;
    padding: 16px 36px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.cta .btn-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-outline-modern {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta .btn-outline-modern:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .cta .btn-outline-modern {
    border: 2px solid rgba(77, 126, 255, 0.5);
    color: #4d7eff;
}

[data-theme="light"] .cta .btn-outline-modern:hover {
    border-color: rgba(77, 126, 255, 0.8);
    background: rgba(77, 126, 255, 0.1);
}

@keyframes cta-particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
}

@keyframes cta-orbit-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .cta-content {
        padding: 40px 30px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-orbits {
        display: none;
    }
}

@media (max-width: 767px) {
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta .btn-modern {
        padding: 14px 28px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cta-section, .cta {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Additional Animation Keyframes */
@keyframes dash {
  to {
    stroke-dashoffset: 565;
  }
}

/* Additional Responsive Adjustments */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-rows: repeat(3, 180px);
  }
  
  .gallery-item.large {
    grid-column: span 3;
    grid-row: span 1;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
  }
  
  .gallery-item.large {
    grid-column: span 2;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    padding: 40px 20px;
  }
  
  .cta-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  
  .gallery-item.large {
    grid-column: span 1;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-lg {
    width: 100%;
    text-align: center;
  }
}

/* Footer Styles */
.site-footer {
    position: relative;
    padding: 60px 0 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(11, 17, 32, 0.95) 100%);
    overflow: hidden;
}

body:not(.dark-mode) .site-footer {
    background: linear-gradient(180deg, var(--light-bg) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

body:not(.dark-mode) .social-links a {
    background: rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-newsletter {
    position: relative;
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-newsletter form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 12px;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body:not(.dark-mode) .footer-newsletter form {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    min-width: 0;
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 5px;
}

.footer-newsletter button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .footer-newsletter form {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 20px;
    }

    .footer-newsletter input {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 90px;
    }

    body:not(.dark-mode) .footer-newsletter input {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .footer-newsletter button {
        width: 100%;
        height: 45px;
        border-radius: 8px;
        margin: 0;
        margin-top: 5px;
    }
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

body:not(.dark-mode) .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .site-footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .footer-links h3,
    .footer-services h3,
    .footer-newsletter h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-newsletter form {
        max-width: 400px;
        margin: 0 auto 12px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-links,
    .footer-services,
    .footer-newsletter {
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after,
    .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-newsletter form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .footer-newsletter button {
        width: 100%;
        height: 40px;
        border-radius: 20px;
    }
    
    .footer-logo h2 {
        font-size: 1.6rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* 3D Cursor Effects */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.8);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.cursor-dot.active {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(var(--secondary-color-rgb), 0.8);
}

.cursor-circle {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.cursor-circle.active {
  width: 60px;
  height: 60px;
  border-color: var(--secondary-color);
  opacity: 0.8;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9997;
}

/* 3D Floating Objects */
.hero-3d-objects,
.section-3d-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(4px);
  pointer-events: none;
}

.floating-shape.shape-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
  top: 20%;
  left: 10%;
  animation: float 15s ease-in-out infinite, rotate 20s linear infinite;
}

.floating-shape.shape-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at center, var(--secondary-color), transparent 70%);
  top: 60%;
  right: 10%;
  animation: float 12s ease-in-out infinite reverse, rotate 15s linear infinite reverse;
}

.floating-shape.shape-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at center, var(--accent-color), transparent 70%);
  bottom: 10%;
  left: 20%;
  animation: float 10s ease-in-out infinite, rotate 10s linear infinite;
}

.floating-shape.shape-4 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at center, var(--primary-light), transparent 70%);
  top: 15%;
  right: 25%;
  animation: float 8s ease-in-out infinite reverse, rotate 8s linear infinite reverse;
}

.floating-shape.shape-5 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at center, var(--secondary-light), transparent 70%);
  bottom: 20%;
  right: 30%;
  animation: float 18s ease-in-out infinite, rotate 18s linear infinite;
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Glowing Elements */
.glow-text {
  z-index: 1000;
  text-shadow: var(--glow-subtle) rgba(var(--primary-color-rgb), 0.7);
}

.glow-box {
  box-shadow: var(--glow-subtle) rgba(var(--primary-color-rgb), 0.3);
}

.glow-border {
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  box-shadow: var(--glow-subtle) rgba(var(--primary-color-rgb), 0.3);
}

.hero-title {
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(var(--primary-color-rgb), 0.3);
  text-shadow: var(--glow-medium) rgba(var(--primary-color-rgb), 0.7);
  animation: pulse 2s infinite;
}

/* Glassmorphism Card Effects */
.glass-card {
  background: rgba(var(--bg-medium-rgb), 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  box-shadow: 0 8px 32px rgba(var(--bg-dark-rgb), 0.2);
}

.glass-card:hover {
  border-color: rgba(var(--primary-color-rgb), 0.5);
  box-shadow: 0 8px 32px rgba(var(--primary-color-rgb), 0.2);
}

/* Modern Buttons with Hover Effects */
.btn-modern {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-medium);
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.btn-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  box-shadow: 0 7px 20px rgba(var(--primary-color-rgb), 0.5);
  transform: translateY(-3px);
}

.btn-outline-modern {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-outline-modern:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

/* Enhanced Section Titles */
.section-title-modern {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.section-title-modern::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
}

.section-title-modern::after {
  content: attr(data-text);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--primary-color-rgb), 0.1);
  opacity: 0.3;
  white-space: nowrap;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid transparent;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-circle:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top: 5px solid var(--secondary-color);
  animation-duration: 0.8s;
  animation-direction: reverse;
}

.loader-circle:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top: 5px solid var(--accent-color);
  animation-duration: 0.6s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--bg-dark-rgb), 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-input-container {
    position: fixed;
    top: 80px;
    right: 50px;
    width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-input-container::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: rgba(13, 17, 23, 0.95);
    transform: rotate(45deg);
    z-index: -1;
}

[data-theme="light"] .search-input-container::before,
body:not(.dark-mode) .search-input-container::before {
    background: rgba(255, 255, 255, 0.95);
}

.search-input-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.search-highlight {
    color: var(--primary-color);
    font-weight: 500;
}

/* Light mode styles */
[data-theme="light"] .search-input,
body:not(.dark-mode) .search-input {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

[data-theme="light"] .search-results,
body:not(.dark-mode) .search-results {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .search-result-title,
body:not(.dark-mode) .search-result-title {
    color: #333;
}

[data-theme="light"] .search-result-description,
body:not(.dark-mode) .search-result-description {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .search-result-item,
body:not(.dark-mode) .search-result-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-result-item:hover,
body:not(.dark-mode) .search-result-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile styles */
@media (max-width: 768px) {
    .search-input-container {
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        width: auto;
    }

    .search-results {
        position: fixed;
        top: 130px;
        left: 20px;
        right: 20px;
        max-height: calc(100vh - 150px);
    }
}

.close-search {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.close-search:hover {
  transform: rotate(90deg);
  color: var(--primary-color);
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .cursor-dot, .cursor-circle, .cursor-trail {
    display: none;
  }
  
  body {
    cursor: auto !important;
  }
  
  .floating-shape {
    opacity: 0.1;
  }
  
  .section-title-modern::after {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .floating-shape {
    transform: scale(0.7);
  }
  
  .section-title-modern::after {
    display: none;
  }
}

/* 3D Tech Sphere */
.tech-sphere {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: rotate 20s linear infinite;
}

.sphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--primary-light), var(--primary-color));
  box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.8);
}

.sphere-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-1 {
  width: 120px;
  height: 120px;
  animation-duration: 15s;
}

.orbit-2 {
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%) rotateX(60deg);
  animation-duration: 20s;
}

.orbit-3 {
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) rotateY(60deg);
  animation-duration: 25s;
}

.sphere-particle {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 15px rgba(var(--secondary-color-rgb), 0.8);
}

.particle-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit1 15s linear infinite;
}

.particle-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation: orbit2 20s linear infinite;
}

.particle-3 {
  bottom: 20%;
  left: 20%;
  animation: orbit3 25s linear infinite;
}

.particle-4 {
  top: 30%;
  right: 20%;
  animation: orbit2 18s linear infinite reverse;
}

.particle-5 {
  bottom: 10%;
  right: 30%;
  animation: orbit3 22s linear infinite reverse;
}

@keyframes orbit1 {
  0% {
    transform: translateX(-50%) rotate(0deg) translateY(-60px) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg) translateY(-60px) rotate(-360deg);
  }
}

@keyframes orbit2 {
  0% {
    transform: translateY(-50%) rotate(0deg) translateX(80px) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg) translateX(80px) rotate(-360deg);
  }
}

@keyframes orbit3 {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

/* Floating Cube */
.floating-cube {
  position: relative;
  width: 150px;
  height: 150px;
  transform-style: preserve-3d;
  animation: rotateCube 20s linear infinite;
}

.cube-face {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.7;
  border: 1px solid rgba(var(--primary-color-rgb), 0.5);
  background: rgba(var(--primary-color-rgb), 0.1);
  background: linear-gradient(45deg, 
    rgba(var(--primary-color-rgb), 0.05), 
    rgba(var(--secondary-color-rgb), 0.15)
  );
  box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.3);
}

.face-front {
  transform: translateZ(75px);
}

.face-back {
  transform: translateZ(-75px) rotateY(180deg);
}

.face-left {
  transform: translateX(-75px) rotateY(-90deg);
}

.face-right {
  transform: translateX(75px) rotateY(90deg);
}

.face-top {
  transform: translateY(-75px) rotateX(90deg);
}

.face-bottom {
  transform: translateY(75px) rotateX(-90deg);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg);
  }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.dark-mode .theme-toggle {
    background: rgba(13, 17, 23, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body:not(.dark-mode) .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle i.active {
    opacity: 1;
}

.fa-sun {
    color: #ffd700;
}

.fa-moon {
    color: #7aa2f7;
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 15px;
        right: 70px;
        width: 35px;
        height: 35px;
    }

    .theme-toggle i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .theme-toggle {
        top: 15px;
        right: 60px;
        width: 32px;
        height: 32px;
    }
}

/* Stats Section */
.stats-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(var(--bg-dark-rgb), 0.9), rgba(var(--bg-medium-rgb), 0.8));
  overflow: hidden;
  z-index: 1;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.1), transparent 70%);
  z-index: -1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-block {
  position: relative;
  text-align: center;
  padding: 40px 25px;
  border-radius: 15px;
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  transform: translateY(30px);
  opacity: 0.5;
}

.stat-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.05), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: rotate(30deg);
}

.stat-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(var(--primary-color-rgb), 0.4);
}

.stat-block:hover::before {
  opacity: 1;
}

.stat-block.active {
  transform: translateY(0);
  opacity: 1;
  animation: stat-appear 0.6s forwards ease-out;
}

@keyframes stat-appear {
  0% {
    transform: translateY(30px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.stat-block:hover .stat-icon {
  transform: scale(1.2);
}

.counter {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.counter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer-counter 2s infinite;
  opacity: 0;
}

.stat-block.active .counter::after {
  opacity: 1;
}

@keyframes shimmer-counter {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.plus {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.8;
  position: relative;
  top: -5px;
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
}

.stat-block h3 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 15px 0 0;
  position: relative;
}

.stat-block h3::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Visual Decoration Elements */
.stat-block .tech-decoration {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .counter {
    font-size: 3rem;
  }
  
  .plus {
    font-size: 2rem;
  }
  
  .stat-block {
    min-height: 180px;
    padding: 30px 20px;
  }
}

/* Make counter and plus sign container */
.stat-block .counter-container {
  display: flex;
  align-items: start;
  justify-content: center;
  margin-bottom: 5px;
}

/* About Us Section Styles */
.about {
  position: relative;
  padding: clamp(50px, 8vw, 100px) 0;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.about-text {
  padding: clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.05), transparent 70%);
  z-index: -1;
}

.about-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin: clamp(15px, 3vw, 20px) 0 clamp(10px, 2vw, 15px);
  position: relative;
  display: inline-block;
}

.about-subtitle .highlight {
  position: relative;
  z-index: 1;
}

.about-subtitle .highlight::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(6px, 1.5vw, 10px);
  background-color: rgba(var(--primary-color-rgb), 0.2);
  z-index: -1;
  transform: skewX(-10deg);
}

.about-text p.lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin-bottom: clamp(15px, 3vw, 25px);
  line-height: 1.6;
}

.about-text p {
  margin-bottom: clamp(15px, 3vw, 20px);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.about-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 15px);
  margin: clamp(20px, 4vw, 30px) 0;
  border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
  padding: clamp(15px, 3vw, 20px) 0;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 20px);
  position: relative;
  flex: 1;
  min-width: 80px;
}

.mini-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: clamp(4px, 1vw, 8px);
  background-color: rgba(var(--primary-color-rgb), 0.05);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.mini-stat:hover::before {
  transform: scale(1);
}

.mini-stat-number {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.mini-stat-label {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--text-secondary);
  margin-top: 5px;
  text-align: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(10px, 2vw, 15px);
  margin: clamp(20px, 4vw, 30px) 0;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(12px, 2.5vw, 15px) clamp(8px, 1.5vw, 10px);
  border-radius: clamp(4px, 1vw, 8px);
  background-color: rgba(var(--primary-color-rgb), 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.value-item i {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--primary-color);
  margin-bottom: clamp(8px, 1.5vw, 10px);
}

.value-item span {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  line-height: 1.3;
}

.tech-badge {
  position: absolute;
  top: clamp(-10px, -2vw, -15px);
  right: clamp(15px, 4vw, 30px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: clamp(4px, 1vw, 5px) clamp(10px, 2.5vw, 15px);
  border-radius: clamp(15px, 3vw, 20px);
  font-weight: 600;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.about-3d-element {
  position: relative;
  height: 100%;
  min-height: clamp(300px, 40vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-dots {
  position: absolute;
  top: 20%;
  right: 20%;
  display: flex;
}

.tech-dots .dot {
  width: clamp(6px, 1.5vw, 8px);
  height: clamp(6px, 1.5vw, 8px);
  background-color: var(--primary-color);
  border-radius: 50%;
  margin: 0 clamp(2px, 0.5vw, 4px);
  opacity: 0.6;
  animation: blink 1.5s infinite alternate;
}

.tech-dots .dot:nth-child(2) {
  animation-delay: 0.5s;
}

.tech-dots .dot:nth-child(3) {
  animation-delay: 1s;
}

.tech-line-horizontal {
  position: absolute;
  bottom: 30%;
  left: 10%;
  width: 80%;
  height: clamp(1px, 0.3vw, 2px);
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.5;
}

.tech-ring {
  position: absolute;
  width: clamp(100px, 20vw, 150px);
  height: clamp(100px, 20vw, 150px);
  border: clamp(1px, 0.3vw, 2px) solid rgba(var(--primary-color-rgb), 0.3);
  border-radius: 50%;
  top: 60%;
  left: 20%;
  opacity: 0.6;
  animation: rotate 20s linear infinite;
}

.tech-ring::before {
  content: '';
  position: absolute;
  width: clamp(6px, 1.5vw, 10px);
  height: clamp(6px, 1.5vw, 10px);
  background-color: var(--primary-color);
  border-radius: 50%;
  top: clamp(-3px, -0.8vw, -5px);
  left: 50%;
  transform: translateX(-50%);
}

.tech-circuit {
  position: absolute;
  width: clamp(70px, 12vw, 100px);
  height: clamp(56px, 10vw, 80px);
  border-top: clamp(1px, 0.3vw, 2px) solid rgba(var(--primary-color-rgb), 0.4);
  border-right: clamp(1px, 0.3vw, 2px) solid rgba(var(--primary-color-rgb), 0.4);
  top: 40%;
  right: 10%;
  opacity: 0.6;
}

.tech-circuit::before,
.tech-circuit::after {
  content: '';
  position: absolute;
  width: clamp(6px, 1.5vw, 8px);
  height: clamp(6px, 1.5vw, 8px);
  border-radius: 50%;
  background-color: var(--primary-color);
}

.tech-circuit::before {
  top: clamp(-3px, -0.8vw, -4px);
  left: clamp(-3px, -0.8vw, -4px);
}

.tech-circuit::after {
  top: clamp(-3px, -0.8vw, -4px);
  right: clamp(-3px, -0.8vw, -4px);
}

@keyframes blink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Tablet Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 40px);
  }
  
  .about-3d-element {
    min-height: clamp(250px, 35vw, 300px);
    order: -1;
  }
  
  .about-values {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .about-stats {
    justify-content: center;
    gap: clamp(15px, 4vw, 20px);
  }
  
  .mini-stat {
    min-width: 70px;
  }
  
  .about-values {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: clamp(8px, 2vw, 12px);
  }
  
  .value-item {
    padding: clamp(10px, 2vw, 12px) clamp(6px, 1vw, 8px);
  }
  
  .tech-badge {
    right: clamp(10px, 3vw, 15px);
    top: clamp(-8px, -1.5vw, -10px);
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .about-stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .mini-stat {
    flex-direction: row;
    min-width: 200px;
    justify-content: space-between;
    padding: 10px 20px;
  }
  
  .mini-stat-label {
    margin-top: 0;
    margin-left: 15px;
  }
  
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-ring {
    left: 10%;
  }
  
  .tech-circuit {
    right: 5%;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .mini-stat {
    min-width: 150px;
  }
}

/* How We Work Section - Completely Redesigned */
.how-we-work {
  background: linear-gradient(135deg, #0c0f2e, #16163e);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

body.light-mode .how-we-work {
  background: linear-gradient(135deg, #eaeeff, #e4e8ff);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.process-step {
  background: rgba(20, 22, 48, 0.7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 102, 255, 0.15);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .process-step {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(94, 102, 255, 0.1);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.process-step h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

body.light-mode .process-step h3 {
  color: #16163e;
}

.step-number {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #5e66ff, #9d6bff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(94, 102, 255, 0.5);
  z-index: 2;
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

body.light-mode .process-step p {
  color: #444;
}

.process-tech-icon {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 1.4rem;
  color: rgba(94, 102, 255, 0.7);
  transition: color 0.3s ease;
}

.process-tech-dots {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 6px;
}

.process-tech-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.process-tech-dots .dot:nth-child(1) {
  background-color: #5e66ff;
}

.process-tech-dots .dot:nth-child(2) {
  background-color: #7e6aff;
}

.process-tech-dots .dot:nth-child(3) {
  background-color: #9d6bff;
}

/* Button styling matching reference */
.how-we-work-cta {
  text-align: center;
  margin-top: 60px;
}

.how-we-work-cta .btn-modern {
  background: linear-gradient(135deg, #5e66ff, #9d6bff);
  color: white;
  border: none;
  padding: 14px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(94, 102, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
}

.how-we-work-cta .btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(94, 102, 255, 0.4);
}

.how-we-work-cta .btn-modern i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.how-we-work-cta .btn-modern:hover i {
  transform: translateX(3px);
}

/* Medium screens */
@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens */
@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Revolutionary 3D How We Work Section - Complete Redesign */
.how-we-work {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(125deg, #0a0d26, #191e45);
  perspective: 1200px;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.17, 0.84, 0.44, 1);
}

/* Light mode support */
body.light-mode .how-we-work {
  background: linear-gradient(125deg, #f0f5ff, #e8ecff);
}

/* 3D Space Background */
.space-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation-name: twinkle;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1); }
}

/* Flowing grid lines */
.grid-lines {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(to right, rgba(94, 102, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(60deg);
  transform-origin: center;
  animation: grid-flow 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

body.light-mode .grid-lines {
  background-image: 
    linear-gradient(to right, rgba(94, 102, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 102, 255, 0.1) 1px, transparent 1px);
}

@keyframes grid-flow {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(50px); }
}

/* Floating elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* ==== How We Work Section - 3D Process Cards ==== */
.how-we-work {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0e1339, #1a1a3a);
    overflow: hidden;
    perspective: 1000px;
    z-index: 1;
}

/* Light mode support */
body.light-mode .how-we-work {
    background: linear-gradient(135deg, #e8f0ff, #d9e6ff);
    color: #333;
}

/* Space background with twinkling stars */
.space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.space-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eef, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ddf, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 80px, #eef, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 300px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 400px 150px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 500px 100px, #ddf, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 280px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 180px 280px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 600px 600px;
    opacity: 0.3;
    animation: twinkle 10s ease-in-out infinite alternate;
}

body.light-mode .space-background::before {
    opacity: 0.1;
}

/* Grid lines effect */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(100, 100, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(100, 100, 255, 0.1) 1px, transparent 1px);
    animation: grid-flow 15s linear infinite;
}

body.light-mode .grid-lines {
    background-image:
        linear-gradient(to right, rgba(0, 0, 100, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 100, 0.05) 1px, transparent 1px);
}

/* Section Header Styles */
.how-we-work .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-we-work .section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), #6b59d3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(107, 89, 211, 0.5);
}

.how-we-work .section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.8);
}

body.light-mode .how-we-work .section-header p {
    color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Floating elements */
.floating-element {
    position: absolute;
    z-index: 0;
    opacity: 0.6;
}

.floating-cube {
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: float-rotate 15s infinite linear;
    position: relative;
}

.floating-cube .face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(107, 89, 211, 0.4);
    background: rgba(107, 89, 211, 0.1);
    box-shadow: 0 0 15px rgba(107, 89, 211, 0.3) inset;
}

.floating-cube .front {
    transform: translateZ(40px);
}

.floating-cube .back {
    transform: translateZ(-40px) rotateY(180deg);
}

.floating-cube .left {
    transform: rotateY(-90deg) translateZ(40px);
}

.floating-cube .right {
    transform: rotateY(90deg) translateZ(40px);
}

.floating-cube .top {
    transform: rotateX(90deg) translateZ(40px);
}

.floating-cube .bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

.floating-sphere {
    width: 100px;
    height: 100px;
    position: relative;
    animation: pulse 4s infinite alternate ease-in-out;
}

.floating-sphere .orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(107, 89, 211, 0.3);
    border-radius: 50%;
    animation: float-rotate 8s infinite linear;
}

.floating-sphere .orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Process Container and Ring */
.process-container {
    position: relative;
    height: 600px;
    margin: 40px auto;
    perspective: 1200px;
}

.process-ring {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
}

/* Process Cards */
.process-card {
    position: absolute;
    width: 300px;
    height: 380px;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -190px;
    background: rgba(20, 20, 50, 0.85);
    border-radius: 15px;
    border: 1px solid rgba(107, 89, 211, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(107, 89, 211, 0.4);
    backdrop-filter: blur(5px);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    z-index: 1;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(
        140deg, 
        transparent 20%, 
        rgba(94, 102, 255, 0.8) 40%, 
        rgba(157, 107, 255, 0.8) 60%, 
        transparent 80%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.process-card:hover::before {
    opacity: 1;
    background: linear-gradient(
        140deg, 
        transparent 0%, 
        rgba(94, 102, 255, 1) 30%, 
        rgba(157, 107, 255, 1) 70%, 
        transparent 100%
    );
    animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

body.light-mode .process-card {
    background: rgba(245, 245, 255, 0.85);
    border: 1px solid rgba(107, 89, 211, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 0 20px rgba(107, 89, 211, 0.2);
}

.process-card.active {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(107, 89, 211, 0.6),
                0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.process-card-content {
    position: relative;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.process-card h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-right: 70px;
    position: relative;
    transition: all 0.3s ease;
    transform: translateZ(5px);
}

body.light-mode .process-card h3 {
    color: #16163e;
}

.process-card .step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 50, 0.85);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    transform: translateZ(20px) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.17, 0.84, 0.44, 1);
    box-shadow: 
        0 0 30px rgba(94, 102, 255, 0.4),
        0 0 0 1px rgba(94, 102, 255, 0.2),
        inset 0 0 15px rgba(94, 102, 255, 0.2);
    z-index: 10;
    text-shadow: 0 0 10px rgba(94, 102, 255, 0.5);
    overflow: hidden;
}

.process-card .step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(94, 102, 255, 0.1), rgba(157, 107, 255, 0.1)),
        linear-gradient(-45deg, rgba(94, 102, 255, 0.1), rgba(157, 107, 255, 0.1));
    z-index: -1;
}

.process-card .step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        transparent 0deg,
        transparent 310deg,
        var(--primary-color) 360deg
    );
    z-index: -2;
    opacity: 0.7;
    animation: rotate-step 4s linear infinite;
}

.process-card .step-number span {
    transform: rotate(-45deg);
    display: block;
}

body.light-mode .process-card .step-number {
    background: rgba(245, 245, 255, 0.95);
    box-shadow: 
        0 0 30px rgba(94, 102, 255, 0.3),
        0 0 0 1px rgba(94, 102, 255, 0.1),
        inset 0 0 15px rgba(94, 102, 255, 0.1);
}

.process-card:hover .step-number {
    transform: translateZ(30px) rotate(45deg) scale(1.1);
    background: rgba(30, 30, 70, 0.95);
    box-shadow: 
        0 0 40px rgba(94, 102, 255, 0.6),
        0 0 0 1px rgba(94, 102, 255, 0.4),
        inset 0 0 20px rgba(94, 102, 255, 0.3);
}

body.light-mode .process-card:hover .step-number {
    background: rgba(255, 255, 255, 1);
}

@keyframes rotate-step {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.process-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

body.light-mode .process-card p {
    color: rgba(0, 0, 0, 0.7);
}

.process-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.process-card .process-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(94, 102, 255, 0.2), rgba(157, 107, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(94, 102, 255, 0.2);
    position: relative;
    z-index: 2;
    transform: translateZ(5px);
    transition: all 0.3s ease, transform 0.5s cubic-bezier(0.17, 0.84, 0.44, 1);
    overflow: hidden;
}

.process-card .process-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-card:hover .process-icon {
    transform: translateZ(15px) scale(1.1);
    color: #fff;
    background: linear-gradient(135deg, rgba(94, 102, 255, 0.9), rgba(157, 107, 255, 0.9));
    box-shadow: 0 8px 25px rgba(94, 102, 255, 0.4);
}

.process-card:hover .process-icon::before {
    transform: translateX(100%);
}

.process-card .process-dots {
    display: flex;
    gap: 8px;
}

.process-card .dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: translateZ(5px) rotate(45deg);
}

.process-card .dot-1 {
    background: rgba(94, 102, 255, 0.7);
    animation: pulse-dot 2s infinite alternate ease-in-out;
}

.process-card .dot-2 {
    background: rgba(125, 104, 255, 0.7);
    animation: pulse-dot 2s infinite alternate ease-in-out 0.3s;
}

.process-card .dot-3 {
    background: rgba(157, 107, 255, 0.7);
    animation: pulse-dot 2s infinite alternate ease-in-out 0.6s;
}

.process-card:hover .dot {
    opacity: 1;
    transform: translateZ(15px) rotate(45deg);
    box-shadow: 0 0 10px currentColor;
}

@keyframes pulse-dot {
    0% {
        transform: translateZ(5px) rotate(45deg) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: translateZ(5px) rotate(45deg) scale(1.1);
        opacity: 0.9;
    }
}

.process-card .card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    z-index: 0;
}

/* Navigation Controls */
.process-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 100;
}

.process-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 30, 60, 0.8);
    border: 1px solid rgba(107, 89, 211, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.light-mode .process-btn {
    background: rgba(245, 245, 255, 0.85);
    border: 1px solid rgba(107, 89, 211, 0.3);
    color: var(--primary-color);
}

.process-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 89, 211, 0.4);
}

/* CTA Button */
.how-we-work-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-process {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(107, 89, 211, 0.4);
}

.btn-process:hover {
    background: #5649b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 89, 211, 0.5);
}

.btn-process i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-process:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes grid-flow {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes float-rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .process-container {
        height: 500px;
    }
    
    .process-card {
        width: 280px;
        height: 350px;
        margin-left: -140px;
        margin-top: -175px;
    }
    
    .how-we-work .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .how-we-work {
        padding: 70px 0;
    }
    
    .process-container {
        height: 450px;
    }
    
    .process-card {
        width: 240px;
        height: 320px;
        margin-left: -120px;
        margin-top: -160px;
    }
    
    .process-card .step-number {
        font-size: 2rem;
    }
    
    .process-card h3 {
        font-size: 1.7rem;
    }
    
    .process-card p {
        font-size: 0.9rem;
    }
    
    .how-we-work .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .process-container {
        height: 400px;
    }
    
    .process-card {
        width: 220px;
        height: 300px;
        margin-left: -110px;
        margin-top: -150px;
    }
    
    .process-card .process-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .btn-process {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

.process-card .step-number::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.4s ease;
}

.process-card:hover .step-number::after {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Clients Section */
.clients {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}



.clients .section-header {
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 5;
}

.client-logo {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

[data-theme="light"] .client-logo {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 210, 230, 0.3);
    box-shadow: 0 10px 30px rgba(100, 120, 150, 0.1);
}

.client-logo img {
    max-width: 80%;
    max-height: 60%;
    transition: transform 0.5s ease;
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo:hover {
    transform: translateY(-10px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(81, 162, 255, 0.3);
}

[data-theme="light"] .client-logo:hover {
    box-shadow: 0 20px 40px rgba(100, 120, 150, 0.15),
                0 0 30px rgba(81, 162, 255, 0.2);
}

.client-logo:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

/* Client Badge */
.client-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #4a6cf7, #2950c3);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    z-index: 10;
}

.client-logo:hover .client-badge {
    opacity: 1;
    transform: translateY(0) scale(1.05);
}

/* Badge Type Styles */
.client-badge:nth-child(2) {
    background: linear-gradient(135deg, #4a6cf7, #2950c3);
}

.client-badge:nth-child(odd) {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
}

.client-badge:nth-child(3n) {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

/* 3D Floating Elements */
.client-floating-element {
    position: absolute;
    pointer-events: none;
}

.client-orb {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float-orb 15s infinite linear;
}

.orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(81, 162, 255, 0.2);
    animation: rotate-ring 20s infinite linear;
}

.orb-ring:nth-child(1) {
    border-width: 4px;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
}

.orb-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-direction: reverse;
    border-color: rgba(255, 120, 120, 0.2);
}

.orb-core {
    position: absolute;
    width: 30%;
    height: 30%;
    top: 35%;
    left: 35%;
    background: radial-gradient(circle, rgba(81, 162, 255, 0.8), rgba(81, 162, 255, 0.3));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(81, 162, 255, 0.5);
    animation: pulse-core 4s infinite ease-in-out;
}

[data-theme="light"] .orb-core {
    background: radial-gradient(circle, rgba(81, 162, 255, 0.6), rgba(81, 162, 255, 0.2));
}

@keyframes float-orb {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(0, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, 20px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-core {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .client-logos {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .client-orb {
        width: 150px;
        height: 150px;
        top: 5%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .client-logos {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .client-logo {
        height: 120px;
    }
    
    .client-orb {
        width: 100px;
        height: 100px;
    }
}

.live-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-button i {
    font-size: 1.2rem;
}

.chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

body.dark-mode .chat-box {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    color: var(--text-color);
    margin: 0;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: transparent;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.received {
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 15px 15px 15px 0;
}

body.dark-mode .chat-message.received {
    background: rgba(255, 255, 255, 0.05);
}

.chat-message.sent {
    margin-left: auto;
    background: var(--primary-color);
    padding: 12px 15px;
    border-radius: 15px 15px 0 15px;
}

.message-time {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    opacity: 0.7;
}

.chat-message-input {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chat-message-input input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

body.dark-mode .chat-message-input input {
    background: rgba(255, 255, 255, 0.05);
}

.chat-message-input input:focus {
    outline: none;
}

.chat-message-input button {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-message-input button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .chat-box {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-button {
        padding: 12px 20px;
    }

    .chat-button span {
        display: none;
    }

    .chat-button i {
        font-size: 1.5rem;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode header.scrolled {
    background: rgba(13, 17, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode header.scrolled .main-nav a,
body.light-mode header.scrolled .search-toggle i {
    color: #fff;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

body.light-mode .main-nav a {
    color: var(--primary-color);
}

body.light-mode .main-nav a:hover {
    color: var(--primary-dark);
}

.main-nav a.active {
    color: var(--primary-dark);
}

body.light-mode .main-nav a.active {
    color: var(--primary-dark);
}

.search-toggle {
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.search-toggle i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

body.light-mode .search-toggle i {
    color: var(--primary-color);
}

body.light-mode .search-toggle:hover i {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        padding: 80px 20px 30px;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 20px;
        transition: 0.3s ease;
    }

    body.light-mode .main-nav {
        background: rgba(13, 17, 23, 0.95);
    }

    .main-nav.active {
        top: 0;
    }

    .main-nav li {
        margin: 16px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.1rem;
        padding: 10px;
        display: block;
        color: #fff;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-container {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-input-container.active {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .mobile-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        cursor: pointer;
        z-index: 1000;
    }

    .bar {
        width: 25px;
        height: 2px;
        background-color: var(--text-color);
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .theme-toggle {
        position: static;
        transform: none;
    }

    .search-input-container {
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        width: auto;
        transform: scale(0);
    }

    .search-input-container.active {
        transform: scale(1);
    }

    .search-results {
        position: fixed;
        top: 120px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

@keyframes highlightSection {
    0% {
        background: rgba(var(--primary-color-rgb), 0.1);
    }
    100% {
        background: transparent;
    }
}

section.highlight-section {
    animation: highlightSection 2s ease-out;
}