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

:root {
  --primary-color: #6c63ff;
  --secondary-color: #00c6ff;
  --accent-color: #ffde59;
  --text-color: #333;
  --text-light: #777;
  --text-dark: #111;
  --bg-color: #f9f9f9;
  --bg-dark: #0a192f;
  --bg-light: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6c63ff, #00c6ff);
  --gradient-secondary: linear-gradient(135deg, #00c6ff, #0072ff);
  --gradient-accent: linear-gradient(135deg, #ffde59, #ff914d);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
  --transition-slow: 0.8s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

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

/* Hide scrollbar but keep functionality */
html, body {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

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

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

.loader-circle {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  color: white;
  margin-top: 15px;
  font-size: 18px;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Background Animation */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
}

#background-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
}

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

.logo span::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  bottom: 5px;
  right: -8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition-fast);
}

.nav-links {
  display: flex;
  list-style: none;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.8));
  color: white;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.1), transparent 50%);
  z-index: 1;
}

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

.hero-text {
  flex: 1;
  max-width: 600px;
  padding-right: 40px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--accent-color);
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-job-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary-color);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 1s;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}

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

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

.social-icons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 1.2s;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 1s ease forwards 1s;
}

.hero-shape {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shape::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  animation: morphShape 8s linear infinite;
  opacity: 0.8;
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.scroll-arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: arrowDown 1.5s ease-in-out infinite;
}

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

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

/* Name Animation */
.name {
  display: inline-block;
  color: var(--accent-color);
}

.name .word {
  display: inline-block;
}

.name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: letterFadeIn 0.5s forwards;
}

@keyframes letterFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.name span:nth-child(1) span:nth-child(1) { animation-delay: 0.1s; }
.name span:nth-child(1) span:nth-child(2) { animation-delay: 0.15s; }
.name span:nth-child(1) span:nth-child(3) { animation-delay: 0.2s; }
.name span:nth-child(1) span:nth-child(4) { animation-delay: 0.25s; }
.name span:nth-child(1) span:nth-child(5) { animation-delay: 0.3s; }
.name span:nth-child(1) span:nth-child(6) { animation-delay: 0.35s; }

.name span:nth-child(3) span:nth-child(1) { animation-delay: 0.4s; }
.name span:nth-child(3) span:nth-child(2) { animation-delay: 0.45s; }
.name span:nth-child(3) span:nth-child(3) { animation-delay: 0.5s; }
.name span:nth-child(3) span:nth-child(4) { animation-delay: 0.55s; }
.name span:nth-child(3) span:nth-child(5) { animation-delay: 0.6s; }

.name span:nth-child(5) span:nth-child(1) { animation-delay: 0.65s; }
.name span:nth-child(5) span:nth-child(2) { animation-delay: 0.7s; }
.name span:nth-child(5) span:nth-child(3) { animation-delay: 0.75s; }
.name span:nth-child(5) span:nth-child(4) { animation-delay: 0.8s; }
.name span:nth-child(5) span:nth-child(5) { animation-delay: 0.85s; }

/* Typing Animation */
.txt-rotate {
  position: relative;
}

.txt-rotate::after {
  content: '|';
  position: absolute;
  right: -8px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background-color: var(--bg-light);
}

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

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.image-wrapper {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  z-index: -1;
  animation: borderPulse 3s infinite;
}

@keyframes borderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-primary);
  color: white;
  padding: 15px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.experience-badge .number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  min-width: 100px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-title {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* Timeline */
.timeline {
  margin-top: 80px;
}

.timeline-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}

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

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
  display: flex;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.timeline-date {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

/* Skills Section */
.skills-section {
  background-color: var(--bg-color);
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.skills-category {
  margin-bottom: 20px;
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-left: 15px;
}

.category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

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

.skill-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 198, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.skill-item:hover::before {
  opacity: 1;
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
  transform: scale(1.1);
  animation: pulse 2s infinite;
}

.skill-item h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.skill-progress {
  position: relative;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(5, 5, 5);
  z-index: 1;
}

/* Experience Section */
.experience-section {
  background-color: var(--bg-light);
}

.experience-container {
  max-width: 800px;
  margin: 0 auto;
}

.experience-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
}

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

.experience-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.experience-company {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.experience-duration {
  font-size: 0.9rem;
  color: var(--text-light);
}

.experience-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.experience-description ul {
  padding-left: 20px;
}

.experience-description li {
  margin-bottom: 8px;
  position: relative;
}

.experience-description li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Projects Section */
.projects-section {
  background-color: var(--bg-color);
}

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

.filter-btn {
  padding: 8px 20px;
  background-color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
}

.project-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-xl);
}

.project-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover .project-img::before {
  opacity: 1;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  padding: 5px 10px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  color: var(--primary-color);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.project-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
}

.modal-image {
  flex: 1;
  min-width: 300px;
  margin-right: 30px;
  margin-bottom: 20px;
}

.modal-image img {
  width: 100%;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
}

.modal-details {
  flex: 1;
  min-width: 300px;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-tech span {
  padding: 5px 10px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  color: var(--primary-color);
}

.modal-description {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-features {
  margin-bottom: 25px;
}

.modal-features h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.modal-features-list {
  padding-left: 20px;
}

.modal-features-list li {
  margin-bottom: 8px;
  position: relative;
}

.modal-links {
  display: flex;
  gap: 15px;
}

.modal-link {
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-link {
  background: var(--gradient-primary);
  color: white;
}

.code-link {
  background-color: var(--bg-color);
  color: var(--text-dark);
}

.modal-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(108, 99, 255, 0.05), transparent 40%);
  z-index: 0;
}

.testimonials-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto 40px;
  height: 300px;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  visibility: hidden;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.6;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  background-color: var(--bg-color);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: none;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.testimonial-btn:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(108, 99, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-color);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-card {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 20px;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.contact-details p,
.contact-details a {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.contact-social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.contact-social-icon:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-family: var(--font-primary);
  background-color: transparent;
  transition: border-color 0.3s ease;
}

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

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.3s ease;
}

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

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  background-color: white;
  padding: 0 5px;
  color: var(--primary-color);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo span {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '→';
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-social {
  flex: 1;
  min-width: 200px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-job-title {
    font-size: 1.8rem;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start;
    padding-left: 80px;
  }
  
  .timeline-icon {
    left: 30px;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-item:nth-child(even) .timeline-content::before,
  .timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 20px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    margin: 10px 0;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-job-title {
    font-size: 1.5rem;
  }
  
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .about-stats {
    justify-content: center;
  }
  
  .image-wrapper {
    margin-bottom: 70px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
    .modal-body {
      flex-direction: column;
    }
  }
  
  