/* Base Styles */
:root {
  --primary-color: #10b981; /* Green */
  --primary-dark: #059669; /* Dark Green */
  --primary-light: #a7f3d0; /* Light Green */
  --primary-lighter: #d1fae5; /* Very Light Green */
  --secondary-color: #0ea5e9; /* Blue */
  --secondary-dark: #0284c7; /* Dark Blue */
  --secondary-light: #bae6fd; /* Light Blue */
  --accent-color: #f59e0b; /* Amber */
  --accent-dark: #d97706; /* Dark Amber */
  --accent-light: #fde68a; /* Light Amber */
  --dark-color: #1e293b;
  --dark-light: #334155;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --gray-light: #94a3b8;
  --gray-lighter: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
  --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --font-primary: "Outfit", sans-serif;
  --font-secondary: "Plus Jakarta Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s ease;
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  transition: var(--transition-smooth);
  will-change: transform; /* Optimize for animations */
}

/* Lazy loading support */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s ease;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-svg {
  width: 80px;
  height: 80px;
  color: var(--primary-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.loading-bar {
  width: 200px;
  height: 4px;
  background-color: var(--gray-lighter);
  border-radius: 4px;
  margin-top: 20px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  animation: loading 2s ease infinite;
}

@keyframes loading {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s
    cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

body:hover .cursor,
body:hover .cursor-follower {
  opacity: 1;
}

.cursor.active {
  width: 20px;
  height: 20px;
  background-color: rgba(16, 185, 129, 0.5);
}

.cursor-follower.active {
  width: 50px;
  height: 50px;
  background-color: rgba(16, 185, 129, 0.05);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--dark-color);
  transition: color 0.3s ease;
}

p {
  margin-bottom: 15px;
  color: var(--gray-color);
  transition: color 0.3s ease;
  font-size: 1.05rem;
  line-height: 1.8;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-subtitle {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-align: center;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1);
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-subtitle:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.section-subtitle::before,
.section-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.5;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.section-subtitle:hover::before,
.section-subtitle:hover::after {
  width: 40px;
  opacity: 0.8;
}

.section-subtitle::before {
  left: -40px;
}

.section-subtitle::after {
  right: -40px;
}

.section-title {
  font-size: 2.8rem;
  margin-top: 10px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark-color);
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title:hover::after {
  width: 100px;
}

.section-description {
  color: var(--gray-color);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 20px auto 0;
  transition: opacity 0.5s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn i {
  margin-left: 8px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover i {
  transform: translateX(8px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-5px);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background-color: var(--light-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  overflow: hidden;
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  border-color: transparent;
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Header Styles */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  padding: 15px 0;
}

#header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(10deg);
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0;
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  margin-right: 30px;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition-smooth);
}

/* Hero Section */
#hero {
  padding: 200px 0 120px;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
  animation: float-slow 15s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
  animation: float-slow 15s ease-in-out infinite 2s;
}

@keyframes float-slow {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.hero-shape-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border: 2px dashed rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  z-index: 0;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
  transform: translateY(30px);
  opacity: 0;
  animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.badge-icon {
  margin-right: 8px;
  color: var(--primary-color);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--dark-color);
  font-weight: 800;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.2;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.hero-image {
  flex: 1;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

.image-wrapper {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-wrapper:hover {
  transform: translateY(-10px);
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover img {
  box-shadow: var(--box-shadow-hover);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 15px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px) scale(1.05);
}

.card-1 {
  top: -20px;
  left: -20px;
  animation: float 5s ease-in-out infinite;
}

.card-2 {
  bottom: -20px;
  right: -20px;
  animation: float 5s ease-in-out infinite 2.5s;
}

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

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-card:hover .card-icon {
  transform: rotate(10deg);
}

.card-text {
  font-weight: 600;
  color: var(--dark-color);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease;
  animation: fade-in 1s ease forwards 1s;
  opacity: 0;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.scroll-down:hover {
  opacity: 0.8;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 10px;
  }
  100% {
    opacity: 0;
    top: 30px;
  }
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  transform: rotate(45deg);
  margin: -5px;
  animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* Clients Section */
#clients {
  padding: 60px 0;
  background-color: white;
  border-top: 1px solid var(--gray-lighter);
  border-bottom: 1px solid var(--gray-lighter);
}

.clients-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-title {
  margin-bottom: 30px;
  text-align: center;
}

.client-title span {
  font-size: 1.1rem;
  color: var(--gray-color);
  position: relative;
  font-weight: 500;
}

.client-title span::before,
.client-title span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: var(--gray-color);
  opacity: 0.3;
  transition: width 0.5s ease, opacity 0.5s ease;
}

.client-title:hover span::before,
.client-title:hover span::after {
  width: 70px;
  opacity: 0.6;
}

.client-title span::before {
  left: -70px;
}

.client-title span::after {
  right: -70px;
}

.clients-slider {
  width: 100%;
  overflow: hidden;
}

.clients-track {
  display: flex;
  animation: scroll-left 30s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

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

.client-logo {
  flex: 0 0 auto;
  padding: 0 30px;
  opacity: 0.7;
  transition: var(--transition-smooth);
  filter: grayscale(100%);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Services Section */
#services {
  background-color: white;
  position: relative;
}

.section-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.pattern-1 {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  opacity: 0.05;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 15s linear infinite alternate;
}

.pattern-2 {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 250px;
  height: 250px;
  background: var(--secondary-color);
  opacity: 0.05;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 15s linear infinite alternate-reverse;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  50% {
    border-radius: 30% 70% 70% 30% / 70% 30% 70% 30%;
  }
  75% {
    border-radius: 70% 30% 30% 70% / 30% 70% 30% 70%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  perspective: 1000px;
  height: 350px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-front {
  background-color: white;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--gray-lighter);
}

.service-card:hover .card-front {
  box-shadow: var(--box-shadow-hover);
}

.card-back {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--box-shadow);
}

.service-card:hover .card-back {
  box-shadow: var(--box-shadow-hover);
}

.card-back h3 {
  color: white;
  margin-bottom: 20px;
}

.service-features {
  text-align: left;
  margin-bottom: 25px;
  width: 100%;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.service-features li:hover {
  transform: translateX(5px);
}

.service-features li i {
  margin-right: 10px;
  color: white;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.service-icon i {
  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.service-link {
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.service-link:hover {
  transform: translateX(5px);
}

.service-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Timeline Item Animation */
.timeline-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-reveal {
  opacity: 1;
  transform: translateX(0);
}

/* Portfolio Item Animation */
.portfolio-item {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* About Section */
#about {
  background-color: var(--primary-lighter);
  position: relative;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-shape-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.03;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.about-shape-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  opacity: 0.03;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.image-wrapper {
  position: relative;
  z-index: 1;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, rgba(16, 185, 129, 0.3), rgba(14, 165, 233, 0.3));
  border-radius: var(--border-radius-lg);
  opacity: 0.5;
  z-index: 2;
}

.about-experience {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--gradient-primary);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--box-shadow);
  z-index: 3;
}

.about-experience .number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-experience .text {
  font-size: 0.9rem;
}

.about-pattern {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--primary-color);
  border-radius: var(--border-radius-lg);
  z-index: 0;
}

.about-video {
  position: absolute;
  bottom: -20px;
  left: 30px;
  display: flex;
  align-items: center;
  z-index: 3;
}

.video-btn {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.video-btn::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  animation: pulse-border 1.5s ease-out infinite;
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.about-video span {
  color: var(--dark-color);
  font-weight: 600;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.about-features {
  margin: 30px 0;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateX(5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.feature-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.feature-text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.cta-info {
  display: flex;
  align-items: center;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text span {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.info-text strong {
  font-size: 1.1rem;
  color: var(--dark-color);
}

/* Counter Section */
#counter {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://via.placeholder.com/1920x1080");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.9;
  z-index: 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.counter-item {
  padding: 20px;
  transition: transform 0.3s ease;
}

.counter-item:hover {
  transform: translateY(-10px);
}

.counter-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.counter-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1;
  color: white;
}

.counter-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Portfolio Section */
#portfolio {
  background-color: white;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  padding: 12px 25px;
  margin: 0 5px 10px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--gray-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
}

.filter-btn.active::before,
.filter-btn:hover::before {
  width: 100%;
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-category {
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: inline-block;
}

.overlay-content {
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-item:hover .overlay-content {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.portfolio-description {
  margin-bottom: 15px;
}

.portfolio-description p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.portfolio-link {
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.portfolio-link span {
  margin-right: 5px;
}

.portfolio-link i {
  transition: var(--transition);
}

.portfolio-link:hover i {
  transform: translateX(5px);
}

.portfolio-cta {
  text-align: center;
  margin-top: 50px;
}

/* Process Section */
#process {
  background-color: var(--primary-lighter);
  position: relative;
}

.process-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.process-shape-1 {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  opacity: 0.2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.process-shape-2 {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 250px;
  height: 250px;
  background: var(--secondary-color);
  opacity: 0.2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 50px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: -50px;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  margin-left: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: white;
  transform: rotate(45deg);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.timeline-icon i {
  font-size: 1.5rem;
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Testimonials Section */
#testimonials {
  background-color: white;
}

.testimonial-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-slider {
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-card {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--gray-lighter);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.2;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--accent-color);
  margin-right: 3px;
}

.testimonial-text {
  margin-bottom: 25px;
}

.testimonial-text p {
  font-style: italic;
  color: var(--gray-color);
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid var(--primary-light);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.author-info p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  margin: 0 10px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
}

.swiper-pagination {
  position: static;
  width: auto;
  margin: 0 20px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ddd;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--gradient-primary);
  width: 25px;
  border-radius: 10px;
}

/* CTA Section */
#cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  background-image: url("https://via.placeholder.com/1920x1080");
  background-size: cover;
  background-position: center;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content .section-subtitle {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-content .section-title {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-content .section-description {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.cta-heading {
  text-align: center;
  margin-bottom: 20px;
}

.main-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.main-subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.cta-content .section-title {
  margin-top: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Contact Section */
#contact {
  background-color: var(--primary-lighter);
  position: relative;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contact-shape-1 {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  opacity: 0.2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.contact-shape-2 {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 250px;
  height: 250px;
  background: var(--secondary-color);
  opacity: 0.2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.contact-content {
  display: flex;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: rotate(10deg);
}

.contact-icon i {
  font-size: 1.5rem;
}

.contact-text h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.contact-text p {
  color: var(--gray-color);
}

.social-links h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.contact-form {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 25px;
  width: 100%;
}

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

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  color: var(--primary-color);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid var(--gray-lighter);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  transition: var(--transition);
  background-color: #f8fafc;
}

.textarea-group textarea {
  padding-top: 15px;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background-color: white;
}

.input-group textarea {
  height: 150px;
  resize: none;
}

/* Map Section */
#map {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  position: relative;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
#footer {
  background-color: var(--dark-color);
  color: white;
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-social .social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  min-width: 160px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: white;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-column:hover h3::after {
  width: 60px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
  margin-right: 15px;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 20px;
  transition: color 0.3s ease;
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.5);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.8);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 50px;
  }

  .contact-content {
    flex-direction: column;
  }

  .process-timeline {
    padding-left: 30px;
  }

  .timeline-number {
    left: -30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    border-radius: 0 0 20px 20px;
    margin-right: 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom-links a {
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn {
    padding: 12px 25px;
  }

  .counter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-item {
    justify-content: center;
  }
}

/* Performance optimizations */
@media print {
  .preloader,
  .cursor,
  .cursor-follower,
  .back-to-top,
  .hero-particles,
  .floating-card {
    display: none !important;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
