/* Base Styles & Variables */
:root {
  --primary: #06b6d4;
  --primary-light: #67e8f9;
  --primary-dark: #0891b2;
  --secondary: #8b5cf6;
  --secondary-light: #c4b5fd;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --dark-lighter: #334155;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-poppins: 'Poppins', var(--font-sans);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Container */
  --container-padding: 1rem;
}

/* Enhanced Section Spacing */
section {
  padding: 6rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }
}

/* Enhanced Container Spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Enhanced Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}

/* Enhanced Card Spacing */
.card {
  padding: 2.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
}

/* Enhanced Grid Spacing */
.grid-enhanced {
  display: grid;
  gap: 2rem;
}

@media (max-width: 768px) {
  .grid-enhanced {
    gap: 1.5rem;
  }
}

/* Enhanced Button Spacing */
.btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .btn {
    padding: 0.875rem 1.5rem;
    margin: 0.25rem;
  }
}

/* Enhanced Text Spacing */
.text-spacing-enhanced {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.text-spacing-enhanced:last-child {
  margin-bottom: 0;
}

/* Enhanced Hero Section */
.hero-enhanced {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  position: relative;
}

@media (max-width: 768px) {
  .hero-enhanced {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
}

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

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

.hero-subtitle {
  font-size: 1.375rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

/* Enhanced Stats Section */
.stats-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced Navigation */
.nav-enhanced {
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .nav-enhanced {
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link-enhanced {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link-enhanced:hover {
  background: var(--primary);
  color: white;
}

/* Enhanced Footer */
.footer-enhanced {
  padding: 4rem 0 2rem;
  background: var(--dark);
  color: white;
}

.footer-section {
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-enhanced {
    padding: 3rem 0 2rem;
  }
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Enhanced Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

/* Disable float animation on mobile */
@media (max-width: 768px) {
  .float-animation-mobile-disabled {
    animation: none !important;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced Background Elements */
.bg-gradient-enhanced {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.bg-gradient-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

/* Enhanced Service Cards */
.service-card-enhanced {
  background: white;
  border-radius: 1rem;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card-enhanced:hover::before {
  transform: scaleX(1);
}

.service-card-enhanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .service-card-enhanced {
    padding: 2rem 1.5rem;
  }
}

/* Enhanced Portfolio Grid */
.portfolio-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .portfolio-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Enhanced Contact Form */
.contact-form-enhanced {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .contact-form-enhanced {
    padding: 2rem;
  }
}

.form-group-enhanced {
  margin-bottom: 1.5rem;
}

.form-input-enhanced {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input-enhanced:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* Enhanced Skills Progress Bars */
.skill-progress-enhanced {
  margin-bottom: 2rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.skill-name {
  font-weight: 600;
  color: var(--dark);
}

.dark .skill-name {
  color: var(--white);
}

.skill-percentage {
  font-weight: 700;
  color: var(--primary);
}

.progress-bar-enhanced {
  height: 0.75rem;
  background: var(--gray-200);
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2rem;
  transition: width 1s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

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

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .service-card-enhanced {
    padding: 2rem 1.5rem;
  }
  
  .stats-enhanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-card-enhanced {
    padding: 1.5rem;
  }
  
  .stats-enhanced {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Mobile Menu Enhancements */
@media (max-width: 768px) {
  .mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
  }
  
  .nav-link-enhanced {
    display: block;
    padding: 1rem;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .dark .nav-link-enhanced {
    border-bottom-color: var(--gray-700);
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .service-card-enhanced:hover {
    transform: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .nav-enhanced,
  .hero-enhanced,
  footer {
    display: none;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .service-card-enhanced {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Enhanced Visual Effects */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax Background Effect */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text-animated {
  background: linear-gradient(270deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

/* Glow Effect */
.glow-effect {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

/* Magnetic Button Effect */
.magnetic-btn {
  position: relative;
  transition: transform 0.2s ease;
}

.magnetic-btn:hover {
  transform: scale(1.05);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.dark ::-webkit-scrollbar-track {
  background: var(--gray-800);
}

.dark ::-webkit-scrollbar-thumb {
  background: var(--primary-light);
}

/* Selection Color */
::selection {
  background: var(--primary);
  color: white;
}

::-moz-selection {
  background: var(--primary);
  color: white;
}

/* Focus Styles */
.focus-visible:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card-enhanced {
    border: 2px solid var(--gray-900);
  }
  
  .dark .service-card-enhanced {
    border-color: var(--gray-100);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Dark Mode Enhancements */
.dark .service-card-enhanced {
  background: var(--gray-800);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark .service-card-enhanced:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dark .contact-form-enhanced {
  background: var(--gray-800);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dark .form-input-enhanced {
  background: var(--gray-700);
  border-color: var(--gray-600);
  color: var(--gray-100);
}

.dark .form-input-enhanced:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* Performance Optimizations */
.service-card-enhanced,
.contact-form-enhanced,
.btn {
  will-change: transform;
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

.dark .text-enhanced {
  color: var(--gray-300);
}

.heading-enhanced {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Enhanced Colors */
.primary-enhanced {
  color: var(--primary);
}

.secondary-enhanced {
  color: var(--secondary);
}

/* Enhanced Spacing Utilities */
.space-y-enhanced > * + * {
  margin-top: 2rem;
}

.space-x-enhanced > * + * {
  margin-left: 2rem;
}

@media (max-width: 768px) {
  .space-y-enhanced > * + * {
    margin-top: 1.5rem;
  }
  
  .space-x-enhanced > * + * {
    margin-left: 1.5rem;
  }
}

/* Base Styles & Variables */
:root {
  --container-max-width: 1280px;
}

/* Dark Mode Variables */
.dark {
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --border-color: #334155;
  --card-bg: #1e293b;
  --card-hover: #334155;
}

/* Light Mode Variables */
:root {
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --card-hover: #f8fafc;
}

/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: var(--transition);
  overflow-x: hidden;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-poppins);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--text-primary);
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
  color: white;
}

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
  background-color: rgba(255, 255, 255, 0.95);
}

.dark .navbar {
  background-color: rgba(15, 23, 42, 0.8);
}

.dark .navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 2rem;
  margin-right: 0.5rem;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 2rem);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
}

/* Services Section */
.services {
  padding: 6rem 0;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

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

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

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

.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: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

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

.portfolio-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.portfolio-category {
  color: var(--primary-light);
  font-size: 0.875rem;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.2s;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-category {
  transform: translateY(0);
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
  border: 1px solid var(--border-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

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

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 2px solid var(--primary);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-text a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  color: var(--text-primary);
  background-color: var(--bg-primary);
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.25);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Stats Enhanced Styles */
.stats-enhanced {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Desktop pricing cards layout */
@media (min-width: 769px) {
  .pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow-x: visible;
    padding: 0;
  }
  
  .pricing-cards-container .bg-white,
  .pricing-cards-container .dark\:bg-dark {
    flex: 1;
    max-width: none;
    margin: 0;
    scroll-snap-align: unset;
  }
  
  /* Show all pricing cards on desktop */
  .pricing-card {
    display: block !important;
  }
  
  /* Hide navigation buttons on desktop */
  .pricing-nav-buttons {
    display: none !important;
  }
}

/* Mobile Stats - Single Line */
@media (max-width: 768px) {
  .stats-enhanced {
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .stat-item {
    flex: 1;
    min-width: 0;
    padding: 0 0.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* Portfolio - Show only 3 cards on mobile */
@media (max-width: 768px) {
  #portfolio-grid .portfolio-item:nth-child(n+4) {
    display: none;
  }
  
  #portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Hide scroll down indicator on mobile */
  .scroll-down-indicator {
    display: none;
  }
  
  /* Hide about section image on mobile */
  .about-image-container {
    display: none;
  }
  
  /* Portfolio Filter Buttons */
  .filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-btn.active {
    background: var(--primary);
    color: white;
  }
  
  .filter-btn:hover:not(.active) {
    background: var(--primary);
    color: white;
    opacity: 0.8;
  }
  
  /* Pricing cards - horizontal scroll on mobile */
  .pricing-cards-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .pricing-cards-container .bg-white,
  .pricing-cards-container .dark\:bg-dark {
    flex: 0 0 150%;
    max-width: 380px;
    margin: 0 auto;
    scroll-snap-align: center;
  }
  
  /* Hide scrollbar on mobile */
  .pricing-cards-container::-webkit-scrollbar {
    display: none;
  }
  
  .pricing-cards-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  /* Pricing navigation buttons */
  .pricing-nav-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
  }
  
  .pricing-nav-btn.active {
    background: var(--primary);
    color: white;
  }
  
  .pricing-nav-btn:hover:not(.active) {
    background: var(--primary);
    color: white;
    opacity: 0.8;
  }
  
  /* Hide non-active cards on mobile */
  .pricing-card {
    display: block;
  }
  
  .pricing-card.hidden {
    display: none;
  }
  
  @media (max-width: 768px) {
    .pricing-card.hidden {
      display: none !important;
    }
  }
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about {
  margin-bottom: 2rem;
}

.footer-links h4,
.footer-newsletter h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
  text-decoration: none;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.9375rem;
  color: var(--dark);
}

.newsletter-btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.copyright {
  color: #94a3b8;
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Back to Top Button */
/* ==========================================================================
   Theme Toggle Buttons
   ========================================================================== */
#theme-toggle,
#mobile-theme-toggle {
  outline: none !important;
  box-shadow: none !important;
}

#theme-toggle:focus,
#mobile-theme-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
#skills {
  padding: 5rem 0;
  background-color: var(--white);
}

.dark #skills {
  background-color: var(--dark);
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.skills-header {
  text-align: center;
  margin-bottom: 4rem;
}

.skills-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.dark .skills-header h2 {
  color: var(--white);
}

.skills-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark .skill-card {
  background: var(--dark-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.skill-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.skill-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.5rem;
}

.tech-skills .skill-icon {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--primary);
}

.design-skills .skill-icon {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
}

.skill-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.dark .skill-card h3 {
  color: var(--white);
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
  color: var(--dark);
}

.dark .skill-name {
  color: var(--gray-200);
}

.skill-percent {
  font-weight: 600;
}

.tech-skills .skill-percent {
  color: var(--primary);
}

.design-skills .skill-percent {
  color: var(--secondary);
}

.skill-bar-bg {
  width: 100%;
  height: 0.5rem;
  background-color: #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
}

.dark .skill-bar-bg {
  background-color: #2d3748;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 1rem;
  transition: width 1s ease-in-out;
}

.tech-skills .skill-bar-fill {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.design-skills .skill-bar-fill {
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

/* Languages Section */
.languages-section {
  margin-top: 4rem;
  text-align: center;
}

.languages-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.dark .languages-section h3 {
  color: var(--white);
}

.languages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.language-badge {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.language-badge i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.language-badge .proficiency {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.language-badge:nth-child(odd) {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--primary);
}

.language-badge:nth-child(even) {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
}

.language-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Text Contrast Utility
   ========================================================================== */
.text-contrast {
  color: #1e293b; /* Dark slate for light mode */
}

.dark .text-contrast {
  color: #f8fafc; /* Light color for dark mode */
}

/* ==========================================================================
   Navigation Active State
   ========================================================================== */
.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.dark .nav-link.active {
  color: var(--primary) !important;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Mobile navigation active state */
#mobile-menu .active {
  color: var(--primary) !important;
  font-weight: 600;
  background-color: rgba(6, 182, 212, 0.1) !important;
}

.dark #mobile-menu .active {
  color: var(--primary) !important;
  background-color: rgba(6, 182, 212, 0.2) !important;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
#pricing {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.dark #pricing {
  background-color: #0f172a;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.dark .pricing-header h2 {
  color: var(--white);
}

.pricing-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dark .pricing-card {
  background: var(--dark-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  position: relative;
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-content {
  padding: 2.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

.pricing-card.basic .pricing-icon-container {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--primary);
}

.pricing-card.standard .pricing-icon-container {
  background-color: rgba(6, 182, 212, 0.2);
  color: var(--primary);
}

.pricing-card.premium .pricing-icon-container {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.dark .pricing-title {
  color: var(--white);
}

.pricing-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin: 1.5rem 0;
  text-align: center;
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.dark .pricing-amount {
  color: var(--white);
}

.pricing-duration {
  color: var(--gray-500);
  font-size: 1rem;
  font-weight: 500;
}

.pricing-features {
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.dark .pricing-features li {
  color: var(--gray-300);
}

.pricing-features i {
  margin-right: 0.75rem;
  font-size: 1.1em;
}

.pricing-features .check {
  color: #10b981;
}

.pricing-features .x-mark {
  color: #ef4444;
  opacity: 0.7;
}

.pricing-button {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.pricing-card.basic .pricing-button,
.pricing-card.premium .pricing-button {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--dark);
}

.dark .pricing-card.basic .pricing-button,
.dark .pricing-card.premium .pricing-button {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--white);
}

.pricing-card.standard .pricing-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.pricing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.standard .pricing-button:hover {
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.pricing-footer {
  margin-top: 3rem;
  text-align: center;
}

.pricing-footer p {
  color: var(--gray-600);
  font-size: 1rem;
  margin: 0;
}

.dark .pricing-footer p {
  color: var(--gray-400);
}

.pricing-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing-footer a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .skills-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 480px) {
  .skills-header h2,
  .pricing-header h2 {
    font-size: 2rem;
  }
  
  .pricing-amount {
    font-size: 2.25rem;
  }
  
  .language-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  cursor: pointer;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .navbar-collapse.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .hero {
    padding-top: 7rem;
    padding-bottom: 4rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-content {
    text-align: center;
    margin-top: 3rem;
  }
  
  .feature-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
  }
  
  .portfolio-filter {
    flex-wrap: wrap;
  }
  
  .testimonial-card {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-bottom: 3rem;
  }
  
  .footer-about,
  .footer-links,
  .footer-newsletter {
    margin-bottom: 3rem;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
  }
  
  .newsletter-btn {
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .portfolio-filter {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
  }
  
  .back-to-top {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    bottom: 1rem;
    right: 1rem;
  }
}

/* Print Styles */
@media print {
  body {
    color: #000;
    background: #fff;
  }
  
  .no-print {
    display: none !important;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
  }
  
  .btn,
  .form-control,
  .navbar,
  .footer {
    display: none !important;
  }
}
