/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* CSS Variables for Theme */
:root {
  /* Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.95);

  /* Common Colors */
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --green-500: #10b981;
  --orange-500: #f97316;
  --red-500: #ef4444;
  --yellow-500: #eab308;
  --cyan-500: #06b6d4;
  --teal-500: #14b8a6;
  --pink-500: #ec4899;
}

.dark-theme {
  /* Dark Theme */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --border-color: #475569;
  --card-bg: #1e293b;
  --nav-bg: rgba(15, 23, 42, 0.95);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Loader container */
#loader {
  width: 100%;
  /* full width */
  height: 100vh;
  /* full height */
  position: fixed;
  top: 0;
  left: 0;
  /* background-color:white; */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* above everything */
}

.loader-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(to right, var(--blue-400), var(--purple-500), var(--purple-600));
  border-radius: 50%;
  /* margin: 0 auto 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 2s infinite;
}

.loader-icon::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid #667eea;
  border-radius: 50%;
  opacity: 0.3;
  animation: ripple 3s infinite;
}

.loader-icon::after {
  content: 'FA';
  font-size: 20px;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
}

/* Hide content until loader is gone */
body.loaded #loader {
  display: none;
}


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

/* Typography */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.gradient-text {
  background: linear-gradient(to right, var(--blue-400), var(--purple-500), var(--purple-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  /* border-bottom: 1px solid var(--border-color); */
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  /* border: 1px solid orange; */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* logo */
.logo-container {
  max-width: 200px;
  width: 20%;
  backdrop-filter: blur(10px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, var(--blue-400), var(--purple-500), var(--purple-600));
  /* background: linear-gradient(#3e3dc8, #060615); */
  border-radius: 50%;
  /* margin: 0 auto 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 2s infinite;
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid #667eea;
  /* border: 4px solid transparent;
  border-image: linear-gradient(to right, red, blue) 1; */
  border-radius: 50%;
  opacity: 0.3;
  animation: ripple 3s infinite;
}

.logo-icon::after {
  content: 'FA';
  font-size: 10px;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
}

.logo-text {
  font-size: 15px;
  font-weight: bold;
  background: linear-gradient(to right, var(--blue-400), var(--purple-500), var(--purple-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.hidden {
  display: none;
}

/*Hidden NAv Bar*/
/* Hamburger Icon Styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  /* border: 1px solid orange; */
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  width: 20px;
  height: 2px;
  /* background: #fff; */
  background-color: var(--text-primary);
  margin: 4px 0;
  border-radius: 1.5px;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(to right, var(--blue-500), var(--purple-600));
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--blue-600), var(--purple-600));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

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

.btn-outline:hover {
  background: var(--blue-400);
  color: white;
}

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

.btn-hover-scale:hover .btn-icon {
  transform: translateX(4px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-download:hover .download-icon {
  animation: bounce 0.6s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(-3px);
  }
}

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

.animated-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.animated-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  animation: pulse 3s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
}

.hero-welcome {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.typewriter-text {
  background: linear-gradient(to right, var(--blue-400), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.cursor {
  color: var(--blue-400);
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  align-items: center;
  /* border: 1px solid orange; */
}

.social-links {
  /* border: 1px solid orange; */
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: -20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: top;
  /* text-align: center; */
  /* border: 1px solid orange; */
}

.about-image {
  /* border: 1px solid orange; */
  display: flex;
  justify-content: center;
}

.image-container {
  width: 320px;
  height: 320px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-container:hover {
  transform: scale(1.01);
}

.image-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--blue-500), var(--purple-500), var(--pink-500));
  border-radius: 1rem;
  padding: 4px;
  z-index: 1;
}

.profile-image {
  position: relative;
  width: 320px;
  height: 320px;
  object-fit: cover;
  /* object-fit: contain; */
  border-radius: calc(1rem - 4px);
  z-index: 2;
  transition: transform 0.3s ease;
}

.image-container:hover .profile-image {
  transform: scale(1.05);
}

.about-text {
  space-y: 1.5rem;
  /* border: 1px solid orange; */
}

.about-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 0.5rem;
}

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

/* Skills Section */
.skills-section {
  padding: 5rem 0;
}

.skills-content {
  max-width: 1000px;
  margin: 0 auto;
}

.skills-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.skill-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-icon {
  width: 2rem;
  height: 2rem;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.skill-name {
  font-size: 1.125rem;
  font-weight: 500;
}

.skill-percentage {
  font-size: 1.125rem;
  font-weight: 700;
}

.skill-bar {
  width: 100%;
  height: 12px;
  background: var(--bg-secondary);
  border-radius: 9999px;
  overflow: hidden;
}

.skill-progress {
  /* width: 100%; */
  height: 100%;
  border-radius: 9999px;
  transition: width 6s ease-out;
  width: 0;
}

.tools-grid {
  /* border: 1px solid orange; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tool-card:hover {
  background: var(--bg-secondary);
  transform: translateY(-4px);
}

.tool-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.tool-name {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Timeline Section */
.timeline-section {
  padding: 5rem 0;
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--blue-500);
  transform-origin: top;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1rem;
  height: 1rem;
  background: var(--blue-500);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  z-index: 10;
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 300px;
  margin: 0 2rem;
}

.timeline-item.left .timeline-card {
  margin-right: 2rem;
}

.timeline-item.right .timeline-card {
  margin-left: 2rem;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-company {
  color: var(--text-secondary);
}

/* Professional Experience Section */
.experience-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.experience-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-500), var(--purple-500));
  transform: translateX(-50%);
  opacity: 0.3;
}

.experience-item {
  position: relative;
  margin: 3rem 0;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.experience-item.visible {
  opacity: 1;
}

.experience-item.left {
  transform: translateX(-50px);
}

.experience-item.left.visible {
  transform: translateX(0);
}

.experience-item.right {
  transform: translateX(50px);
}

.experience-item.right.visible {
  transform: translateX(0);
}

.experience-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 16px;
  height: 16px;
  background: var(--blue-500);
  border: 4px solid var(--bg-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: all 0.3s ease;
}

.experience-item:hover .experience-dot {
  background: var(--purple-500);
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.experience-year-badge {
  position: absolute;
  top: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-500));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 3;
  transition: all 0.3s ease;
}

.experience-item.left .experience-year-badge {
  right: calc(50% + 2rem);
}

.experience-item.right .experience-year-badge {
  left: calc(50% + 2rem);
}

.experience-year-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.experience-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 450px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue-500), var(--purple-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--blue-500);
}

.experience-item.left .experience-card {
  margin-right: calc(50% + 3rem);
}

.experience-item.right .experience-card {
  margin-left: calc(50% + 3rem);
}

.experience-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.experience-card:hover .experience-title {
  color: var(--blue-500);
}

.experience-company {
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 1rem;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.experience-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: var(--bg-secondary);
  color: var(--blue-500);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--blue-500);
  color: white;
  transform: translateY(-2px);
}

.experience-achievements {
  space-y: 0.5rem;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.experience-card:hover .achievement-item {
  opacity: 1;
  transform: translateX(0);
}

.achievement-item:nth-child(1) {
  transition-delay: 0.1s;
}

.achievement-item:nth-child(2) {
  transition-delay: 0.2s;
}

.achievement-item:nth-child(3) {
  transition-delay: 0.3s;
}

.achievement-icon {
  color: var(--green-500);
  font-weight: bold;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue-500), var(--purple-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--blue-500);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-500));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-title {
  color: var(--blue-500);
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}


/* Projects Section */
.projects-section {
  padding: 5rem 0;
}

.project-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.project-filters>div {
  background: var(--bg-secondary);
  border-radius: 9999px;
  padding: 4px;
  display: flex;
}

.filter-btn {
  background: none;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: var(--blue-500);
  color: white;
}

.filter-btn:hover:not(.active) {
  color: var(--text-primary);
}

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

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-image-container {
  position: relative;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-actions {
  display: flex;
  gap: 0.75rem;
}

.project-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.project-tag.plus-one {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue-400);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
}

.testimonials-container {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-500), var(--pink-500));
  border-radius: 1.5rem;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.star {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-card:hover .star {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6));
}

.testimonial-card:hover .star:nth-child(1) {
  transition-delay: 0.1s;
}

.testimonial-card:hover .star:nth-child(2) {
  transition-delay: 0.2s;
}

.testimonial-card:hover .star:nth-child(3) {
  transition-delay: 0.3s;
}

.testimonial-card:hover .star:nth-child(4) {
  transition-delay: 0.4s;
}

.testimonial-card:hover .star:nth-child(5) {
  transition-delay: 0.5s;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--blue-400);
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blue-500);
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

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

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-title {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.author-company {
  color: var(--blue-500);
  font-size: 0.875rem;
  font-weight: 500;
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--blue-500);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--blue-400);
  transform: scale(1.1);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-icon.email {
  background: var(--blue-500);
}

.contact-icon.phone {
  background: var(--green-500);
}

.contact-icon.location {
  background: var(--purple-500);
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 500;
}

.contact-social {
  margin-top: 2rem;
  text-align: center;
}

.social-label {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.char-counter {
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* .footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 1rem;
} */

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 20px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-availability {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--blue-500);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--card-bg);
  border-radius: 1rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: var(--bg-secondary);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--bg-tertiary);
}

.modal-image {
  height: 250px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

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

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modal-technologies {
  margin-bottom: 2rem;
}

.modal-technologies h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.modal-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-tech-tag {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue-400);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-actions .btn {
  flex: 1;
  min-width: 200px;
}

/* Animation Classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 1s ease;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(20px);
  transition: all 1s ease;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale-y {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.5s ease;
}

.animate-scale-y.visible {
  transform: scaleY(1);
}



/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .section-title {
    font-size: 4rem;
  }

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

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
  }

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

  .section-title {
    font-size: 2.5rem;
  }

  .timeline-line {
    left: 1rem;
  }

  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 3rem;
  }

  .timeline-dot {
    left: 1rem;
  }

  .timeline-card {
    margin: 0;
  }

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

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .experience-timeline .timeline-line {
    left: 2rem;
  }

  .experience-item {
    justify-content: flex-start !important;
  }

  .experience-dot {
    left: 2rem;
  }

  .experience-item.left .experience-year-badge {
    left: calc(2% + 2rem);
    right: calc(57% + 2rem);
  }

  .experience-item.right .experience-year-badge {
    left: calc(2% + 2rem);
  }

  .experience-card {
    margin-left: 4rem !important;
    margin-right: 1rem !important;
    max-width: none;
  }

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

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .author-info {
    text-align: center;
  }
}

/* @media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .section-title {
    font-size: 4rem;
  }

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

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
  }

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

  .section-title {
    font-size: 2.5rem;
  }

  .timeline-line {
    left: 1rem;
  }

  .timeline-item ,.experience-item{
    justify-content: flex-start !important;
    padding-left: 3rem;
  }

  .timeline-dot ,.experience-dot{
    left: 1rem;
  }

  .timeline-card ,.experience-card{
    margin: 0;
  }

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

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    min-width: auto;
  }
} */