:root {
  --primary-color: #0f172a;
  --accent-color: #3b82f6;
  --background-color: #f8fafc;
  --text-color: #1e293b;
  --text-color-light: #ffffff;
  --text-color-muted: rgba(255, 255, 255, 0.8);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
  --section-padding: 5rem 2rem;
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-padding);
}

/* Header - Fixed */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  transition: var(--transition);
}

.logo-link:hover {
  transform: translateY(-1px);
  color: var(--accent-color);
}

.logo-link i {
  font-size: 1.8rem;
  color: var(--accent-color);
  transition: var(--transition);
}

.logo-link:hover i {
  transform: rotate(5deg);
}

.logo-text {
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 0.75rem 0;
  transition: var(--transition);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), #60a5fa);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 4px 0;
  transition: var(--transition);
  border-radius: 1px;
}

.menu-toggle:hover .hamburger-line {
  background: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  margin-top: 80px; /* Add margin-top to account for fixed header */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.9) 50%,
    rgba(51, 65, 85, 0.85) 100%
  );
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(147, 51, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  color: var(--accent-color);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-greeting {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.hero-name {
  display: block;
  background: linear-gradient(135deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 4.5rem;
  font-weight: 900;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-scroll i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hero-image-container {
  position: relative;
  flex-shrink: 0;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(59, 130, 246, 0.1),
    rgba(147, 51, 234, 0.1)
  );
  pointer-events: none;
}

.hero-tech-badges {
  position: absolute;
  top: -20px;
  right: -20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-badge {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: fadeInScale 0.6s ease-out both;
  animation-delay: var(--delay);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: scale(1.1) rotate(5deg);
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-color);
}

.tech-badge i {
  font-size: 1.5rem;
  color: white;
}

/* Tooltip styles for tech badges */
.tech-badge {
  position: relative;
  cursor: pointer;
}

.tech-badge::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tech-badge::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.tech-badge:hover::before,
.tech-badge:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Focus styles for accessibility */
.tech-badge:focus::before,
.tech-badge:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-outline-dark {
  background-color: transparent;
  border: 2px solid #374151;
  color: #1f2937;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-outline-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.05),
    transparent
  );
  transition: left 0.5s;
}

.btn-outline-dark:hover {
  background-color: #374151;
  border-color: #374151;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(55, 65, 81, 0.3);
}

.btn-outline-dark:hover::before {
  left: 100%;
}

.btn-secondary {
  background: white;
  border: 2px solid #e5e7eb;
  color: #1f2937;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.05),
    transparent
  );
  transition: left 0.5s;
}

.btn-secondary:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover::before {
  left: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.section-badge i {
  color: var(--accent-color);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(221, 221, 221, 0.182);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Projects Section */
.projects-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.project-link.disabled {
  background: #6b7280;
  cursor: not-allowed;
}

.project-link.disabled:hover {
  transform: none;
  background: #6b7280;
}

.project-content {
  padding: 2rem;
}

.project-category {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.project-description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.projects-cta {
  text-align: center;
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-body {
  padding: 1.5rem;
}

.project-body h3 {
  margin-bottom: 0.75rem;
}

.project-body p {
  margin-bottom: 1.5rem;
  color: #64748b;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-badges span {
  background-color: #e2e8f0;
  color: var(--primary-color);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-links {
  display: flex;
  gap: 1rem;
}

/* Project Links Bottom */
.project-links-bottom {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-links-bottom .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

/* Project Status Badges */
.project-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.completed {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.status-badge.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.status-badge.development {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

/* Enhanced Project Links */
.project-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.project-link.disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.1);
}

/* Projects CTA Section */
.projects-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-cta .btn {
  margin: 0 0.75rem;
}

/* Enhanced Project Card Hover Effects */
.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-card:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.project-card:hover .project-content {
  transform: translateY(-5px);
}

/* Project Category Styling */
.project-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2),
    rgba(147, 51, 234, 0.2)
  );
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Responsive improvements for projects */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-links-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }

  .project-links-bottom .btn {
    width: 100%;
  }

  .projects-cta .btn {
    display: block;
    margin: 1rem auto;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .project-card {
    margin: 0 1rem;
  }

  .project-tech {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tech-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.divider-line {
  height: 2px;
  width: 100px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    transparent
  );
  border-radius: 1px;
}

.divider-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2rem;
  gap: 0.75rem;
}

.divider-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 0;
}

.divider-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
  text-align: center;
  letter-spacing: 0.3px;
  margin: 0;
}

.divider-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  animation: pulse 2s infinite;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.divider-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  }
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.about-text .lead {
  font-size: 1.3rem;
  color: var(--text-color);
  line-height: 1.6;
}

.about-text p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tech-showcase {
  text-align: center;
}

.tech-showcase h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tech-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.tech-item span {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #60a5fa);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-info .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
}

.stat-info .stat-label {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-top: 0.25rem;
}

/* Responsive Design for About and Tech */
@media (max-width: 768px) {
  .about-section {
    padding: 4rem 0;
  }

  .about-text .lead {
    font-size: 1.1rem;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .tech-item {
    padding: 1rem 0.5rem;
  }

  .tech-item i {
    font-size: 1.5rem;
  }

  .tech-item span {
    font-size: 0.8rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-text .lead {
    font-size: 1rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Testimonials */
.testimonials {
  background-color: #f1f5f9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.client-details h4 {
  margin-bottom: 0.25rem;
}

.client-details p {
  color: #64748b;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: white;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-email {
  width: 100%;
}

.email-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.email-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.email-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #60a5fa);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.email-card:hover .email-icon {
  transform: scale(1.1);
}

.email-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.email-card p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-social {
  text-align: center;
  width: 100%;
}

.contact-social h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.social-link i {
  font-size: 1.2rem;
}

/* Experience Section */
.experience-section {
  padding: 6rem 0;
  background: white;
}

.experience-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color), #60a5fa);
  transform: translateX(-50%);
}

.experience-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.experience-item:nth-child(odd) {
  flex-direction: row;
}

.experience-item:nth-child(even) {
  flex-direction: row-reverse;
}

.experience-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin: 0 2rem;
}

.marker-icon {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), #60a5fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 5;
}

.experience-item:hover .marker-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.marker-line {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-color), transparent);
  transform: translateX(-50%);
  z-index: -1;
}

.experience-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
}

.experience-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-date {
  background: linear-gradient(135deg, var(--accent-color), #60a5fa);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.experience-role {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
}

.experience-description p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.experience-achievements {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateX(5px);
}

.achievement-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.achievement-item span {
  color: var(--text-color);
  font-weight: 500;
}

/* Upwork Section */
.upwork-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.upwork-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(147, 51, 234, 0.1) 0%,
      transparent 50%
    );
  animation: particleFloat 20s ease-in-out infinite;
}

.upwork-profile {
  position: relative;
  z-index: 1;
}

.upwork-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.upwork-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

.upwork-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.upwork-avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.upwork-card:hover .avatar-image {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.verification-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.upwork-info {
  flex: 1;
}

.upwork-name {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.upwork-name h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.verification-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.upwork-title {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.upwork-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1rem;
}

.upwork-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #60a5fa);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.upwork-cta {
  text-align: center;
}

.btn-upwork {
  background: linear-gradient(135deg, #4f81ec, #4a70c5);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.btn-upwork:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(78, 84, 200, 0.4);
  color: white;
  text-decoration: none;
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.9) 50%,
    rgba(51, 65, 85, 0.85) 100%
  );
}

.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(147, 51, 234, 0.1) 0%,
      transparent 50%
    );
  animation: particleFloat 25s ease-in-out infinite reverse;
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-logo i {
  color: var(--accent-color);
  font-size: 2rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-section li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  margin-bottom: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-extra {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-cta {
  position: relative;
  z-index: 1;
  background: rgba(59, 130, 246, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  text-align: center;
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll Progress */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background-color: var(--accent-color);
  z-index: 9999;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
  border: none;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-name {
    font-size: 4rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-container {
    margin-top: 2rem;
  }

  .hero-tech-badges {
    top: -10px;
    right: -10px;
  }

  .upwork-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 90vh;
    padding: 2rem 0;
    margin-top: 70px; /* Adjust margin-top for mobile header height */
  }

  .hero-content {
    gap: 3rem;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-name {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    margin-top: 1rem;
  }

  .hero-image {
    width: 300px;
    height: 300px;
  }

  .tech-badge {
    width: 40px;
    height: 40px;
  }

  .tech-badge i {
    font-size: 1.2rem;
  }

  /* Hide tooltips on mobile for better UX */
  .tech-badge::before,
  .tech-badge::after {
    display: none;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    gap: 2rem;
    padding: 0 1rem;
  }

  .email-card {
    padding: 2rem 1.5rem;
  }

  .email-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Experience Section Mobile */
  .experience-timeline::before {
    left: 30px;
  }

  .experience-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 60px;
  }

  .experience-marker {
    position: absolute;
    left: -60px;
    width: 60px;
    height: 60px;
    margin: 0;
  }

  .marker-icon {
    font-size: 1.2rem;
  }

  .experience-content {
    width: 100%;
    padding: 1.5rem;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .experience-role {
    font-size: 1.1rem;
  }

  /* Upwork Section Mobile */
  .upwork-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .upwork-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .upwork-card {
    padding: 2rem 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-extra {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-name {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-scroll {
    margin-top: 0.5rem;
  }

  .hero-image {
    width: 250px;
    height: 250px;
  }

  .hero-tech-badges {
    display: none;
  }

  .section {
    padding: 3rem 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

/* Fix for position issues */
body {
  padding-top: 0; /* Remove padding-top to fix mobile white line issue */
}

/* Header scroll effect */
header.scrolled {
  background: rgba(15, 23, 42, 0.99);
  backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

header.scrolled .logo-link {
  transform: scale(0.95);
}

header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

header.scrolled .nav-link:hover {
  color: white;
}

/* Sidebar Fixes */
.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  transition: var(--transition);
  z-index: 1100;
  overflow-y: auto;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.sidebar-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar .nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.sidebar .nav-links a {
  color: white;
  font-size: 1.1rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
}

.overlay.active {
  display: block;
}

/* Call to Action Section */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(147, 51, 234, 0.1) 50%,
    rgba(16, 185, 129, 0.1) 100%
  );
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: ctaParticleFloat 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.cta-particles .particle:nth-child(1) {
  top: 20%;
  left: 10%;
}
.cta-particles .particle:nth-child(2) {
  top: 60%;
  left: 80%;
}
.cta-particles .particle:nth-child(3) {
  top: 80%;
  left: 20%;
}
.cta-particles .particle:nth-child(4) {
  top: 30%;
  left: 70%;
}
.cta-particles .particle:nth-child(5) {
  top: 70%;
  left: 30%;
}
.cta-particles .particle:nth-child(6) {
  top: 40%;
  left: 90%;
}

@keyframes ctaParticleFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 0.8;
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.cta-badge i {
  color: #fbbf24;
  animation: pulse 2s infinite;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-stat {
  text-align: center;
}

.cta-stat .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.cta-stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.cta-buttons .btn {
  min-width: 200px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.feature-item i {
  color: #10b981;
  font-size: 1.2rem;
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
  .section-divider {
    padding: 2rem 0;
  }

  .divider-line {
    width: 60px;
  }

  .divider-content {
    margin: 0 1.5rem;
    gap: 0.5rem;
  }

  .divider-text {
    font-size: 1.1rem;
  }

  .divider-subtitle {
    font-size: 0.8rem;
  }

  .divider-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .cta-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-features {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-stat .stat-number {
    font-size: 2rem;
  }
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.language-dropdown .dropdown-toggle:hover,
.language-dropdown .dropdown-toggle:focus {
  background: rgba(59, 130, 246, 0.15);
  outline: none;
}
.language-dropdown .dropdown-toggle i {
  font-size: 1.1rem;
}
.language-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 140px;
  background: #fff;
  color: #1e293b;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  z-index: 2001; /* Increased z-index to ensure visibility */
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}
.language-dropdown .dropdown-menu.show {
  display: block;
}
.language-dropdown .dropdown-menu li {
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
  border: none;
  background: none;
  text-align: left;
}
.language-dropdown .dropdown-menu li:hover {
  background: #3b82f6;
  color: #fff;
}
