/*
Theme Name: Spics Digital Marketing
Description: Modern digital marketing theme with dynamic testimonials and clients carousel. Supports English and Albanian languages.
Version: 1.0.0
Author: Spics Digital Marketing
Text Domain: spics-theme
Domain Path: /languages

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* VARIABLES */

/* Default (Dark Mode) Colors */
:root {
  /* Light mode colors */
  --primary-color: #3664F4;
  --secondary-color: #60CBFF;
  --accent-color: #E85355;
  --text-color: #f8f9fa;
  --text-color-light: #b1b1b1;
  --bg-color: #0a0a0a;
  --bg-color-alt: #141414;
  --card-bg: rgba(20, 20, 20, 0.8);
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.4);
  
  /* Futuristic colors */
  --neon-blue: #00ffff;
  --neon-purple: #ff00ff;
  --neon-green: #00ff00;
  --glass-bg: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(54, 100, 244, 0.3);
  --glow-primary: rgba(54, 100, 244, 0.6);
  --glow-secondary: rgba(96, 203, 255, 0.4);
  --glow-accent: rgba(232, 83, 85, 0.5);
  
  /* Common variables */
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
  --radius: 12px;
  --radius-large: 20px;
  --max-width: 1400px;
  --padding-x: clamp(1rem, 5%, 5rem);

  /* Add RGB color variables for rgba usage */
  --primary-color-rgb: 54, 100, 244;
  --secondary-color-rgb: 96, 203, 255;
  --accent-color-rgb: 232, 83, 85;
  
  /* Futuristic effects */
  --shadow-glow: 0 0 10px var(--glow-primary);
  --shadow-glow-hover: 0 0 40px var(--glow-primary), 0 0 80px var(--glow-secondary);
  --backdrop-blur: blur(20px);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  transition: var(--transition-slow);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: 
    radial-gradient(circle at 25% 25%, var(--glow-primary) 0%, transparent 70%),
    radial-gradient(circle at 75% 75%, var(--glow-secondary) 0%, transparent 70%); */
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: 
    linear-gradient(90deg, transparent 49%, rgba(54, 100, 244, 0.03) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(54, 100, 244, 0.03) 50%, transparent 51%);
  background-size: 50px 50px, 50px 50px;
  opacity: 0.3;
}

/* Futuristic floating elements */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  /* background-image: 
    radial-gradient(2px 2px at 100px 50px, var(--primary-color), transparent),
    radial-gradient(2px 2px at 300px 150px, var(--secondary-color), transparent),
    radial-gradient(1px 1px at 500px 250px, var(--accent-color), transparent),
    radial-gradient(1px 1px at 700px 100px, var(--primary-color), transparent),
    radial-gradient(2px 2px at 900px 200px, var(--secondary-color), transparent); */
  animation: float-particles 20s linear infinite;
}

@keyframes float-particles {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

body::after {
  opacity: 0.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}



/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}



/* MODERN NAVIGATION BAR */
.modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(20px);
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.modern-nav.scrolled {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
}

.logo img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu-toggle:hover .hamburger-line {
  background-color: white;
}



/* Mobile menu overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Ensure menu appears above overlay */
.modern-nav .nav-pills {
  z-index: 1000;
}

.nav-container {
  z-index: 9999;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--padding-x);
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-pills {
  z-index: 9999;
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.5rem;
  gap: 0.25rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-pills li {
  list-style: none;
}

.nav-pills a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-pills a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
}

.nav-pills a:hover::before {
  opacity: 1;
}

.nav-pills a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-actions {
  width: 100px; /* Placeholder for spacing */
}



/* Navigation specific styles */
.modern-nav {
  background: transparent;
}

.modern-nav.scrolled {
  background: rgba(0, 0, 0, 0.1);
}

.nav-pills {
  background: rgba(54, 100, 244, 0.1);
  border: 1px solid rgba(54, 100, 244, 0.2);
}

.nav-pills a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-pills a:hover {
  background: rgba(54, 100, 244, 0.2);
  color: white;
  box-shadow: 0 4px 12px rgba(54, 100, 244, 0.2);
}

/* HERO SECTION - FUTURISTIC REDESIGN */
.hero {
  padding-top: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
}



.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

/* .hero-content {
  padding-top: 20px;
  position: relative;
  z-index: 10;
  align-self: start;
  margin-top: 8vh;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(var(--primary-color-rgb), 0.02) 50%, transparent 100%),
    radial-gradient(circle at 30% 20%, rgba(var(--primary-color-rgb), 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(var(--secondary-color-rgb), 0.02) 0%, transparent 50%);
  z-index: -1;
  opacity: 0;
  animation: fadeIn 2s ease-out 1.5s forwards;
} */

/* HERO DECORATIVE ELEMENTS */
.hero-decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 1s forwards;
}

.deco-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.2;
  animation: pulse 3s ease-in-out infinite;
}

.deco-line-1 {
  width: 100px;
  height: 2px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.deco-line-2 {
  width: 80px;
  height: 1px;
  top: 85%;
  left: 15%;
  animation-delay: 2s;
}

.deco-line-3 {
  width: 60px;
  height: 1px;
  top: 50%;
  left: 85%;
  animation-delay: 4s;
}

.deco-circle {
  position: absolute;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.15;
  animation: rotate 10s linear infinite;
}

.deco-circle-1 {
  width: 40px;
  height: 40px;
  top: 5%;
  left: 5%;
  animation-delay: 0s;
}

.deco-circle-2 {
  width: 30px;
  height: 30px;
  top: 75%;
  left: 70%;
  animation-delay: 5s;
}

.deco-shape {
  position: absolute;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.deco-shape-1 {
  width: 20px;
  height: 20px;
  top: 15%;
  left: 80%;
  transform: rotate(45deg);
  animation-delay: 1s;
}

.deco-shape-2 {
  width: 25px;
  height: 25px;
  top: 90%;
  left: 5%;
  border-radius: 50%;
  animation-delay: 3s;
}

.deco-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

.deco-dot-1 {
  top: 30%;
  left: 20%;
  animation-delay: 0.5s;
}

.deco-dot-2 {
  top: 60%;
  left: 80%;
  animation-delay: 1.5s;
}

.deco-dot-3 {
  top: 80%;
  left: 50%;
  animation-delay: 2.5s;
}

.tech-pattern {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 40px;
  height: 40px;
  opacity: 0.08;
  animation: rotate 15s linear infinite;
}

.tech-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
  transform: rotate(45deg);
}

.tech-pattern::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  border: 1px solid var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-text {
  opacity: 0;
  animation: slideInLeft 1.2s ease-out 0.5s forwards;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.8rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2rem;
  overflow: hidden;
}

.title-line {
  display: block;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100px);
  animation: titleReveal 1s ease-out forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.8s;
  color: var(--text-color);
}

.title-line:nth-child(2) {
  animation-delay: 1.1s;
  color: var(--text-color);
}

.title-line:nth-child(3) {
  animation-delay: 1.4s;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: titleReveal 1s ease-out 1.4s forwards, textGradient 3s ease infinite alternate 2s;
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: var(--text-color-light);
  margin-bottom: 2.5rem;
  max-width: 90%;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 2.2s forwards;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  z-index: 10;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 20px rgba(var(--primary-color-rgb), 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-color);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* HERO VISUAL SECTION */
.hero-visual {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: slideInRight 1.2s ease-out 0.8s forwards;
  margin-top: -5vh;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* FLOATING SHAPES */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.floating-shape:hover {
  opacity: 0.3;
  transform: scale(1.2);
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  background: linear-gradient(135deg, var(--primary-color), var(--neon-blue));
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 20%;
  animation-delay: 1s;
  background: linear-gradient(135deg, var(--secondary-color), var(--neon-purple));
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 30%;
  animation-delay: 2s;
  background: linear-gradient(135deg, var(--accent-color), var(--neon-green));
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 10%;
  animation-delay: 3s;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shape-5 {
  width: 90px;
  height: 90px;
  top: 50%;
  left: 50%;
  animation-delay: 4s;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
}

.shape-6 {
  width: 70px;
  height: 70px;
  top: 20%;
  right: 40%;
  animation-delay: 5s;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* DIGITAL GRID */
.digital-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: gridPulse 3s ease-in-out infinite;
}

.grid-line-1 {
  width: 100%;
  height: 1px;
  top: 20%;
  animation-delay: 0s;
}

.grid-line-2 {
  width: 1px;
  height: 100%;
  left: 30%;
  animation-delay: 0.5s;
}

.grid-line-3 {
  width: 100%;
  height: 1px;
  top: 70%;
  animation-delay: 1s;
}

.grid-line-4 {
  width: 1px;
  height: 100%;
  right: 25%;
  animation-delay: 1.5s;
}

.grid-line-5 {
  width: 100%;
  height: 1px;
  top: 45%;
  animation-delay: 2s;
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.02);
  }
}

/* CLEAN SERVICE SHOWCASE */
.services-showcase {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
}

.service-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInService 0.6s ease-out forwards;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 2% 4%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(50px);
  border-radius: 33px;
  border: 1px solid rgba(54, 100, 244, 0.2);
}

.service-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
  transition: all 0.3s ease;
  animation: dotPulse 2s ease-in-out infinite;
}

.service-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Positioning */
.item-1 {
  top: 15%;
  right: 20%;
  animation-delay: 0.5s;
}

.item-2 {
  top: 30%;
  right: 45%;
  animation-delay: 1s;
}

.item-3 {
  top: 50%;
  right: 15%;
  animation-delay: 1.5s;
}

.item-4 {
  top: 70%;
  right: 35%;
  animation-delay: 2s;
}

.item-5 {
  top: 85%;
  right: 25%;
  animation-delay: 2.5s;
}

/* Hover Effects */
.service-item:hover .service-dot {
  background: var(--secondary-color);
  box-shadow: 0 0 15px rgba(var(--secondary-color-rgb), 0.5);
  transform: scale(1.3);
}

.service-item:hover .service-name {
  color: var(--text-color);
  transform: translateX(5px);
}

/* Animations */
@keyframes fadeInService {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 0.8;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* PARTICLE SYSTEM */
.particle-system {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#particleCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* HERO BACKGROUND */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: 6s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}



/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-color-light);
  border-radius: 15px;
  z-index: 10;
  opacity: 0.7;
}

.scroll-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--text-color-light);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Standard animation for pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.4s forwards;
  border: 1px solid var(--primary-color);
  transition: var(--transition-slow);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transition: var(--transition);
  z-index: -1;
}

.cta-button:hover::before {
  left: 0;
}

/* SECTION COMMON STYLES */
section {
  padding: 8rem var(--padding-x);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Center titles and subtitles in text-centered sections */
.testimonials .section-title,
.contact .section-title {
  margin-left: auto;
  margin-right: auto;
}

.section-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-color-light);
  margin-bottom: 4rem;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.testimonials .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

/* SERVICES SECTION - MODERN REDESIGN */
.services {
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-color-alt) 100%);
  position: relative;
  overflow: hidden;
  padding: 8rem var(--padding-x) 6rem;
  padding-top: 10rem;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(54, 100, 244, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 203, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 90%, rgba(232, 83, 85, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.services .section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.services .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(54, 100, 244, 0.05) 0%, 
    rgba(96, 203, 255, 0.05) 50%, 
    rgba(232, 83, 85, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 24px;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  border-radius: 26px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.service-card.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(54, 100, 244, 0.4);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(54, 100, 244, 0.3);
}

.service-card:hover::before {
  opacity: 0.8;
}

.service-card:hover::after {
  opacity: 0.3;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(54, 100, 244, 0.2);
}

.service-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 12px 48px rgba(54, 100, 244, 0.4);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.service-icon i {
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  line-height: 1.3;
}

.service-card:hover h3 {
  color: var(--primary-color);
  transform: translateX(2px);
}

.service-card p {
  color: var(--text-color-light);
  line-height: 1.5;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.service-card:hover p {
  color: var(--text-color);
  transform: translateX(2px);
}

/* Removed floating animation for better readability */

/* Service card specific adjustments */
.service-card {
  backdrop-filter: blur(30px);
  background: rgba(20, 20, 20, 0.1);
  border-color: rgba(54, 100, 244, 0.2);
}

.service-card:hover {
  background: rgba(20, 20, 20, 0.8);
  border-color: rgba(54, 100, 244, 0.5);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(54, 100, 244, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Staggered animation for cards on load */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services {
    padding: 4rem var(--padding-x);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 2rem;
    border-radius: 20px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }
  
  .service-icon i {
    font-size: 1.8rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 3rem 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .services .section-title {
    font-size: 2rem;
  }
  
  .services .section-subtitle {
    font-size: 1rem;
  }
}

/* ABOUT SECTION */
.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-features {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.feature {
  border-top: 2px solid var(--border-color);
  padding-top: 1.5rem;
  transform: translateY(50px);
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
}

.feature.animate {
  transform: translateY(0);
  opacity: 1;
}

.feature-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
  transition: var(--transition);
}

.feature h3 {
  font-size: 1.3rem;
  transition: var(--transition);
  position: relative;
  display: inline-block;
}

.feature h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.feature:hover h3::after {
  width: 100%;
}

.feature:hover .feature-number {
  transform: translateY(-5px);
}

/* WORK SECTION */
.work {
  background-color: var(--bg-color-alt);
  position: relative;
  overflow: hidden;
}

.work::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.05;
  top: -200px;
  right: -200px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-slow);
  transform: translateY(50px);
  opacity: 0;
  border: 1px solid var(--glass-border);
  position: relative;
}

.project-card.animate {
  transform: translateY(0);
  opacity: 1;
}

.project-image {
  height: 250px;
  background-color: #ddd;
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
  opacity: 1;
}

.project-image:nth-of-type(1) {
  background: linear-gradient(135deg, #3a86ff, #8338ec);
}

.project-card:nth-child(2) .project-image {
  background: linear-gradient(135deg, #ff006e, #fb5607);
}

.project-card:nth-child(3) .project-image {
  background: linear-gradient(135deg, #8338ec, #3a86ff);
}

.project-info {
  padding: 2rem;
  transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(-10px);
}

.project-info h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.project-info p {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
}

.view-project {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.view-project::after {
  content: '\f061'; /* Font Awesome arrow right */
  font-family: 'Font Awesome 5 Free';
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.view-project:hover::after {
  transform: translateX(5px);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow-hover);
  border-color: var(--primary-color);
}

/* TESTIMONIALS SECTION - MODERN REDESIGN */
.testimonials {
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-color-alt) 100%);
  position: relative;
  overflow: hidden;
  padding: 8rem var(--padding-x);
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(54, 100, 244, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 203, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 90%, rgba(232, 83, 85, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.testimonials .section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.testimonials .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 1;
}

.testimonials-container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
  cursor: pointer;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(54, 100, 244, 0.02) 0%, 
    rgba(96, 203, 255, 0.02) 50%, 
    rgba(232, 83, 85, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 24px;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  border-radius: 26px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.testimonial-card.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(54, 100, 244, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(54, 100, 244, 0.3);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover::after {
  opacity: 0.3;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(54, 100, 244, 0.3);
  transition: all 0.3s ease;
}

.client-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover .client-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(54, 100, 244, 0.4);
}

.testimonial-card:hover .client-avatar::before {
  opacity: 1;
}

.client-avatar span {
  position: relative;
  z-index: 1;
}

.client-details {
  flex: 1;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.client-position {
  font-size: 0.9rem;
  color: var(--text-color-light);
  transition: color 0.3s ease;
}

.testimonial-card:hover .client-name {
  color: var(--primary-color);
}

.testimonial-card:hover .client-position {
  color: var(--text-color);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.star {
  font-size: 1.1rem;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
}

.testimonial-card:hover .star {
  transform: scale(1.1);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.15;
  transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
  opacity: 0.3;
  transform: scale(1.1);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text {
  color: var(--text-color);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.company-logo {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color-light);
  transition: all 0.3s ease;
}

.testimonial-card:hover .company-logo {
  background: rgba(54, 100, 244, 0.2);
  color: var(--primary-color);
}

.company-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color-light);
  transition: color 0.3s ease;
}

.testimonial-card:hover .company-name {
  color: var(--text-color);
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--text-color-light);
  opacity: 0.7;
}

/* Navigation Controls */
.testimonials-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.nav-button {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nav-button:hover {
  background: rgba(54, 100, 244, 0.2);
  border-color: rgba(54, 100, 244, 0.4);
  color: var(--primary-color);
  transform: scale(1.1);
}

.nav-button:active {
  transform: scale(0.95);
}

.nav-button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.testimonials-dots {
  display: flex;
  gap: 0.75rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(54, 100, 244, 0.4);
}

.testimonial-dot.active::after {
  opacity: 1;
}

.testimonial-dot:hover {
  background: rgba(54, 100, 244, 0.6);
  transform: scale(1.1);
}

/* Staggered animation for cards */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

/* CLIENTS CAROUSEL - FULL WIDTH TILTED WITH OVERLAP */
.clients-carousel-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-color-alt) 100%);
  transform: rotate(-2deg);
  transform-origin: center;
  margin: 0;
  margin-top: -100px;
  margin-bottom: -100px;
  z-index: 10;
}

.clients-carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, 
      rgba(54, 100, 244, 0.02) 0%, 
      rgba(96, 203, 255, 0.03) 50%, 
      rgba(232, 83, 85, 0.02) 100%);
  z-index: 0;
}

.clients-carousel-section::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(54, 100, 244, 0.3) 20%, 
    rgba(96, 203, 255, 0.3) 50%, 
    rgba(232, 83, 85, 0.3) 80%, 
    transparent 100%);
  box-shadow: 0 0 20px rgba(54, 100, 244, 0.2);
}

.clients-carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: fit-content;
  animation: scrollClients 60s linear infinite;
  z-index: 2;
}

.clients-carousel-track:hover {
  animation-play-state: paused;
}

.client-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 180px;
  height: 80px;
}

.client-logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(54, 100, 244, 0.03) 0%, 
    rgba(96, 203, 255, 0.03) 50%, 
    rgba(232, 83, 85, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

.client-logo-item:hover::before {
  opacity: 1;
}

.client-logo-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(54, 100, 244, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(54, 100, 244, 0.3);
}

.client-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.client-logo-item:hover .client-logo {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Alternative design with actual logo placeholder */
.client-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(54, 100, 244, 0.2);
}

.client-logo-icon i {
  font-size: 1.2rem;
  color: white;
}

.client-logo-item:hover .client-logo-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(54, 100, 244, 0.4);
}

.client-logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.client-logo-item:hover .client-logo-text {
  color: var(--primary-color);
}

/* Fade edges for seamless loop effect */
.clients-carousel-section::before {
  background: linear-gradient(90deg, 
    var(--bg-color) 0%, 
    transparent 10%, 
    transparent 90%, 
    var(--bg-color) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Duplicate track for seamless loop */
.clients-carousel-track {
  display: flex;
  gap: 0;
}

.clients-carousel-track .client-logo-item:last-child {
  margin-right: 4rem;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Carousel section spacing and integration */
.hero + .clients-carousel-section {
  margin-top: -100px;
}

.clients-carousel-section + .services {
  padding-top: 10rem;
}

/* Enhanced responsiveness */
@media (max-width: 1200px) {
  .clients-carousel-section {
    height: 160px;
    margin: 0;
    margin-top: -80px;
    margin-bottom: -80px;
  }
  
  .services {
    padding-top: 9rem;
  }
  
  .client-logo-item {
    margin: 0 2.5rem;
    padding: 1.2rem 2rem;
    min-width: 150px;
    height: 70px;
  }
  
  .client-logo {
    font-size: 1.2rem;
  }
  
  .client-logo-icon {
    width: 35px;
    height: 35px;
  }
  
  .client-logo-icon i {
    font-size: 1rem;
  }
  
  .client-logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .clients-carousel-section {
    height: 140px;
    margin: 0;
    margin-top: -70px;
    margin-bottom: -70px;
    transform: rotate(-1deg);
  }
  
  .services {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .client-logo-item {
    margin: 0 2rem;
    padding: 1rem 1.5rem;
    min-width: 130px;
    height: 60px;
  }
  
  .client-logo {
    font-size: 1rem;
  }
  
  .client-logo-icon {
    width: 30px;
    height: 30px;
    margin-right: 0.75rem;
  }
  
  .client-logo-icon i {
    font-size: 0.9rem;
  }
  
  .client-logo-text {
    font-size: 0.9rem;
  }
  
  .clients-carousel-track {
    animation-duration: 45s;
  }
}

@media (max-width: 480px) {
  .clients-carousel-section {
    height: 120px;
    margin: 0;
    margin-top: -60px;
    margin-bottom: -60px;
  }
  
  .services {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
  
  .client-logo-item {
    margin: 0 1.5rem;
    padding: 0.8rem 1.2rem;
    min-width: 110px;
    height: 50px;
  }
  
  .client-logo {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  
  .clients-carousel-track {
    animation-duration: 40s;
  }
}

/* Enhanced responsiveness */
@media (max-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .testimonials {
    padding: 6rem var(--padding-x);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .client-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .testimonial-header {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 4rem var(--padding-x);
  }
  
  .testimonials .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .testimonials .section-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .testimonial-rating {
    margin-left: 0;
  }
  
  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .testimonials-navigation {
    gap: 1rem;
  }
  
  .nav-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 3rem 1rem;
  }
  
  .testimonial-card {
    padding: 1.25rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .client-avatar {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .testimonials .section-title {
    font-size: 2rem;
  }
}

/* CONTACT SECTION */
.contact {
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8rem var(--padding-x);
}

.contact::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, var(--glow-primary) 0%, transparent 70%),
    radial-gradient(circle at 75% 75%, var(--glow-secondary) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

/* Contact section floating elements */
.contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: 
    radial-gradient(2px 2px at 100px 50px, var(--primary-color), transparent),
    radial-gradient(2px 2px at 300px 150px, var(--secondary-color), transparent),
    radial-gradient(1px 1px at 500px 250px, var(--accent-color), transparent),
    radial-gradient(1px 1px at 700px 100px, var(--primary-color), transparent),
    radial-gradient(2px 2px at 900px 200px, var(--secondary-color), transparent);
  animation: float-particles 20s linear infinite;
  opacity: 0.4;
}

.contact-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Contact gradient orbs similar to hero */
.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.contact-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.contact-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}

.contact-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: 6s;
}



.contact .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact .section-subtitle {
  font-size: 1.2rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* Contact Container Layout */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 4rem;
  text-align: left;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(54, 100, 244, 0.05) 0%, 
    rgba(96, 203, 255, 0.05) 50%, 
    rgba(232, 83, 85, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(54, 100, 244, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(54, 100, 244, 0.3);
}

.contact-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-details p {
  color: var(--text-color-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Form Styles */
.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(54, 100, 244, 0.02) 0%, 
    rgba(96, 203, 255, 0.02) 50%, 
    rgba(232, 83, 85, 0.02) 100%);
  border-radius: 20px;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group.focused label {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(54, 100, 244, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-color-light);
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Service Checkboxes */
.services-group {
  margin-bottom: 2rem;
}

.services-group label:first-child {
  margin-bottom: 1rem;
}

.services-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.service-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.service-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(54, 100, 244, 0.3);
  transform: translateY(-1px);
}

.service-checkbox-label input[type="checkbox"] {
  display: none;
}

.service-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.service-checkbox-custom::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 10px;
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.service-checkbox-label input[type="checkbox"]:checked + .service-checkbox-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(54, 100, 244, 0.3);
}

.service-checkbox-label input[type="checkbox"]:checked + .service-checkbox-custom::after {
  opacity: 1;
  transform: scale(1);
}

.service-checkbox-label:has(input[type="checkbox"]:checked) {
  background: rgba(54, 100, 244, 0.1);
  border-color: rgba(54, 100, 244, 0.4);
  box-shadow: 0 2px 8px rgba(54, 100, 244, 0.15);
}

.service-checkbox-text {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-checkbox-label:hover .service-checkbox-text {
  color: var(--primary-color);
}

/* Service checkboxes styles */
.service-checkbox-label {
  background: rgba(20, 20, 20, 0.4);
  border-color: rgba(54, 100, 244, 0.2);
}

.service-checkbox-label:hover {
  background: rgba(20, 20, 20, 0.6);
  border-color: rgba(54, 100, 244, 0.4);
}

.service-checkbox-custom {
  border-color: rgba(54, 100, 244, 0.4);
}

.service-checkbox-label:has(input[type="checkbox"]:checked) {
  background: rgba(54, 100, 244, 0.15);
  border-color: rgba(54, 100, 244, 0.5);
}



/* Form Submit Button */
.form-submit-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-submit-btn.loading .btn-text {
  opacity: 0;
}

.form-submit-btn.loading .btn-loading {
  opacity: 1;
}

/* Error Messages */
.error-message {
  color: var(--accent-color);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error .error-message {
  opacity: 1;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(232, 83, 85, 0.1);
}

/* Success Message */
.form-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

.form-success i {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-color);
  margin: 0;
}

/* Form adjustments */
.contact-item {
  backdrop-filter: blur(30px);
  background: rgba(20, 20, 20, 0.1);
  border-color: rgba(54, 100, 244, 0.2);
}

.contact-form-container {
  background: rgba(20, 20, 20, 0.1);
  backdrop-filter: blur(30px);
  border-color: rgba(54, 100, 244, 0.2);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(20, 20, 20, 0.5);
  border-color: rgba(54, 100, 244, 0.2);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(20, 20, 20, 0.8);
  border-color: var(--primary-color);
}





/* Responsive Design */
@media (max-width: 768px) {
  .contact {
    padding: 4rem var(--padding-x);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 2rem 2rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
  }
  
  .services-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 3rem 1rem;
  }
  
  .contact-form-container {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .contact-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .services-checkboxes {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .service-checkbox-label {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .contact .section-title {
    font-size: 2rem;
  }
  
  .contact .section-subtitle {
    font-size: 1rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FOOTER */
footer {
  padding: 5rem var(--padding-x) 2rem;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-logo p {
  color: var(--text-color-light);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-column h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--text-color-light);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-column p {
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color-alt);
  border-radius: 50%;
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-icons a:hover::before {
  transform: scale(1);
}

.social-icons a:hover {
  color: white;
  transform: translateY(-5px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-color-light);
}

/* ANIMATIONS */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(58, 134, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
  }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero-container {
    gap: 2rem;
  }
  
  .floating-shape {
    opacity: 0.05;
  }
  
  .hero-visual {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content {
    padding-top: 40px;
    margin-top: 4vh;
  }
  
  .hero-visual {
    height: 45vh;
    order: -1;
    margin-top: 0;
  }
  
  .hero-title {
    font-size: clamp(2.25rem, 8.5vw, 3.5rem);
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .floating-shape {
    opacity: 0.03;
  }
  
  .service-item {
    opacity: 0.7;
  }
  
  .service-dot {
    width: 8px;
    height: 8px;
  }
  
  .service-name {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
  }
  
  .service-item:hover .service-dot {
    transform: scale(1.2);
  }
  
  .service-item:hover .service-name {
    transform: translateX(3px);
  }
  
  .grid-line {
    opacity: 0.05;
  }
  
  .gradient-orb {
    filter: blur(40px);
  }
  
  .hero-decorative-elements {
    opacity: 0.3;
  }
  
  .deco-line,
  .deco-circle,
  .deco-shape,
  .deco-dot,
  .tech-pattern {
    opacity: 0.05;
  }
  

}

/* Tablet breakpoint */
@media screen and (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Modern navigation responsive styles for tablet */
  .modern-nav .nav-center {
    position: static;
    transform: none;
    width: 100%;
  }

  .modern-nav .nav-pills {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(8px);
    border-radius: 0;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    border: none;
    border-right: 1px solid rgba(54, 100, 244, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  }

  .modern-nav .nav-pills.active {
    z-index: 9999;
    transform: translateX(0);
  }

  .modern-nav .nav-pills a {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
  }

  .modern-nav .nav-pills a:hover {
    background: rgba(54, 100, 244, 0.2);
    color: white;
    transform: translateX(5px);
  }

  .modern-nav .nav-actions {
    width: auto;
  }



  /* Hero section tablet adjustments */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    min-height: 90vh;
  }
  
  .hero-content {
    order: 2;
    padding-top: 20px;
    margin-top: 2vh;
  }
  
  .hero-visual {
    order: 1;
    height: 50vh;
    margin-top: 5vh;
  }

  /* Adjust service showcase for tablet */
  .services-showcase {
    transform: scale(0.8);
    margin-top: -5vh;
  }

  .service-item {
    padding: 1.5% 3%;
    font-size: 0.9rem;
  }

  .service-dot {
    width: 6px;
    height: 6px;
  }

  .service-name {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
  }

  /* Floating shapes adjustments */
  .floating-shape {
    opacity: 0.08;
  }

  .shape-1, .shape-2, .shape-3, .shape-4, .shape-5, .shape-6 {
    transform: scale(0.8);
  }
}

/* Mobile breakpoint */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Modern navigation responsive styles for mobile */
  .modern-nav .nav-pills {
    width: 80%;
    max-width: 280px;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(8px);
  }

  .modern-nav .nav-pills a {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
  }

  .modern-nav .nav-pills a:hover {
    background: rgba(54, 100, 244, 0.2);
    color: white;
    transform: translateX(5px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    min-height: 100vh;
  }
  
  .hero-content {
    order: 2;
    padding-top: 40px;
    margin-top: 4vh;
  }
  
  .hero-visual {
    order: 1;
    height: 40vh;
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8.5vw, 3.5rem);
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .floating-shape {
    opacity: 0.03;
  }
  
  .service-item {
    opacity: 0.7;
    padding: 2% 4%;
    font-size: 0.8rem;
  }
  
  .service-dot {
    width: 8px;
    height: 8px;
  }
  
  .service-name {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
  }
  
  .service-item:hover .service-dot {
    transform: scale(1.2);
  }
  
  .service-item:hover .service-name {
    transform: translateX(3px);
  }
  
  .grid-line {
    opacity: 0.05;
  }
  
  .gradient-orb {
    filter: blur(40px);
  }
  
  .hero-decorative-elements {
    opacity: 0.3;
  }
  
  .deco-line,
  .deco-circle,
  .deco-shape,
  .deco-dot,
  .tech-pattern {
    opacity: 0.05;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .hero::after,
  .hero::before {
    display: none;
  }
}

/* Initial state for scroll animations */
.service-card,
.project-card,
.feature {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Animated state for scroll animations */
.service-card.animate,
.project-card.animate,
.feature.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Hover animations for interactive elements */
.cta-button, 
.service-card,
.project-card,
.social-icons a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:active,
.service-card:active,
.project-card:active,
.social-icons a:active {
  transform: scale(0.98);
}

/* FLOATING GEOMETRY */
.geometry-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.geometry {
  position: absolute;
  opacity: 0.15;
  transform-origin: center;
}

.geometry-1 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  animation: float 15s ease-in-out infinite, spin 40s linear infinite;
}

.geometry-2 {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  animation: float 18s ease-in-out infinite reverse, spin 30s linear infinite reverse;
}

.geometry-3 {
  width: 120px;
  height: 40px;
  border: 3px solid var(--accent-color);
  animation: float 20s ease-in-out infinite, spin 35s linear infinite;
}

.geometry-4 {
  width: 100px;
  height: 100px;
  border-radius: 4px;
  border: 4px solid var(--primary-color);
  transform: rotate(45deg);
  animation: float 12s ease-in-out infinite reverse, pulse 8s ease-in-out infinite;
}

/* SECTIONS WITH ANIMATED BACKGROUNDS */
.services, .about, .work, .testimonials, .contact {
  position: relative;
  overflow: hidden;
}

/* Ensure all background elements are inaccessible */
.services-bg, 
.about-bg, 
.work-bg, 
.testimonials-bg, 
.testimonials-gradient-bg, 
.contact-gradient-bg,
.geometry-container,
.geometry,
.hero-particles,
.hero-particle {
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Services section background */
.services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  /* background: 
    radial-gradient(circle at 20% 30%, var(--primary-color) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--secondary-color) 0%, transparent 40%); */
  filter: blur(60px);
  animation: pulse 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* About section background */
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: 
    linear-gradient(45deg, var(--bg-color) 25%, transparent 25%),
    linear-gradient(-45deg, var(--bg-color) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--bg-color) 75%),
    linear-gradient(-45deg, transparent 75%, var(--bg-color) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  animation: slide 20s linear infinite;
}

/* Work section background */
.work-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: radial-gradient(circle at center, transparent 50%, var(--bg-color) 100%), 
              radial-gradient(circle at center, var(--accent-color) 0%, transparent 10%); */
  opacity: 0.05;
  animation: rotate 40s linear infinite;
}

/* Testimonials section background */
.testimonials-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
  background-image: 
    repeating-linear-gradient(45deg, var(--primary-color) 0, var(--primary-color) 1px, transparent 1px, transparent 50%),
    repeating-linear-gradient(135deg, var(--primary-color) 0, var(--primary-color) 1px, transparent 1px, transparent 50%);
  background-size: 30px 30px;
  animation: slide 30s linear infinite;
}

/* New testimonials gradient background */
.testimonials-gradient-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, var(--primary-color) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, var(--secondary-color) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--accent-color) 0%, transparent 40%);
  opacity: 0.06;
  filter: blur(80px);
  animation: rotate-slow 25s linear infinite, pulse 15s infinite alternate;
  z-index: 0;
}

/* Contact section background */
.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background: 
    linear-gradient(135deg, var(--primary-color) 25%, transparent 25%) -50px 0,
    linear-gradient(225deg, var(--primary-color) 25%, transparent 25%) -50px 0,
    linear-gradient(315deg, var(--primary-color) 25%, transparent 25%),
    linear-gradient(45deg, var(--primary-color) 25%, transparent 25%);
  background-size: 100px 100px;
  animation: pulse 8s ease-in-out infinite alternate;
}

/* New contact gradient background */
.contact-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(58, 134, 255, 0.07) 0%,
    rgba(131, 56, 236, 0.07) 40%,
    rgba(255, 0, 110, 0.07) 80%,
    rgba(58, 134, 255, 0.07) 100%
  );
  background-size: 300% 300%;
  filter: blur(50px);
  animation: gradient-shift 15s ease infinite;
  z-index: 0;
}

/* Animation keyframes for backgrounds and geometry */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slide {
  0% {
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  }
  100% {
    background-position: 100px 0, 100px 10px, 110px -10px, 90px 0px;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, -30px);
  }
  50% {
    transform: translate(10px, 40px);
  }
  75% {
    transform: translate(-20px, -20px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.05;
    transform: scale(1);
  }
  50% {
    opacity: 0.1;
    transform: scale(1.05);
  }
}

/* Add new animations for gradient backgrounds */
@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Micro-interactions */
.micro-animations {
    --transition-speed: 0.3s;
}

/* Button hover effects */
.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
    pointer-events: none;
}

.cta-button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Navigation hover effects removed - using modern navigation styles */

/* Service card hover effects */
.service-card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon i {
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

/* Social icon hover effects */
.social-icons a {
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Project card hover effects */
.project-card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

/* Animated counters styles */
.counter-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.3);
}

.counter-suffix {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.3);
}

.stat-item h3 {
    font-size: 1.1rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.stat-item:hover h3 {
    transform: translateX(5px);
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
    gap: 20px;
}

.stat-item {
    flex: 1 1 200px;
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.7s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.stat-item:hover::after {
    transform: rotate(30deg) translate(10%, 10%);
}

.counter-wrapper, .stat-item h3 {
    position: relative;
    z-index: 2;
}

/* Statistics background and decorations */
.statistics-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(var(--accent-color-rgb), 0.05) 0%, transparent 50%);
    opacity: 1;
    z-index: 1;
}

.stats-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    opacity: 0.15;
    filter: blur(2px);
}

.shape-1 {
    top: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    bottom: 15%;
    left: 8%;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    transform: rotate(45deg);
    animation: float 18s ease-in-out infinite reverse;
}

.shape-3 {
    top: 60%;
    right: 12%;
    width: 80px;
    height: 80px;
    border: 4px solid var(--accent-color);
    border-radius: 20px;
    animation: float 15s ease-in-out infinite;
}

/* Replace the ugly separator with a better design */
.statistics::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"%3E%3Cpath fill="%23121212" fill-opacity="1" d="M0,64L80,69.3C160,75,320,85,480,85.3C640,85,800,75,960,69.3C1120,64,1280,64,1360,64L1440,64L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    border: none;
    z-index: 3;
}

/* Adjust spacing for better visual balance */
.statistics {
    padding: 100px 0 120px;
    position: relative;
    margin: 60px 0 0;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-color-alt), #121212);
}

/* Statistics section background */
.statistics {
  background: linear-gradient(to bottom, #1e1e1e, #121212);
}

/* Make sure the next section doesn't have top padding when it follows statistics */
.statistics + section {
    padding-top: 60px;
}

/* For Safari support with sticky elements */
.stat-item, .service-card, .feature, .project-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Counter wrapper animations */
.counter-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.counter-wrapper.counting {
    animation: counting-pulse 1.5s infinite;
}

.counter-wrapper.count-complete {
    animation: count-complete-effect 0.6s forwards;
}

@keyframes counting-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes count-complete-effect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation transition classes */
.pre-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for card groups */
.service-card.pre-animation:nth-child(1),
.stat-item.pre-animation:nth-child(1) {
    transition-delay: 0s;
}
.service-card.pre-animation:nth-child(2),
.stat-item.pre-animation:nth-child(2) {
    transition-delay: 0.1s;
}
.service-card.pre-animation:nth-child(3),
.stat-item.pre-animation:nth-child(3) {
    transition-delay: 0.2s;
}
.service-card.pre-animation:nth-child(4),
.stat-item.pre-animation:nth-child(4) {
    transition-delay: 0.3s;
}

/* Button pulse animation - removed problematic pulse class */
/* Button hover effects are now handled directly in button CSS */

/* Add an RGB variable for the accent color */
:root {
    --accent-color-rgb: 64, 196, 255;
}

/* Statistics section layout */
.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,160L48,170.7C96,181,192,203,288,202.7C384,203,480,181,576,165.3C672,149,768,139,864,149.3C960,160,1056,192,1152,213.3C1248,235,1344,245,1392,250.7L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.3;
    z-index: 1;
}

.statistics .section-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.statistics .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.statistics .section-subtitle {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 800px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 60px auto 20px;
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for statistics section */
@media screen and (max-width: 768px) {
    .statistics {
        padding: 80px 0 100px;
    }
    
    .stats-container {
        margin: 40px auto 10px;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    .counter-value {
        font-size: 3.5rem;
    }
    
    .counter-suffix {
        font-size: 2rem;
    }
    
    .statistics::after {
        height: 30px;
    }
} 