/* Enhanced Project Card Styles */
.project-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  border: 0;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

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

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

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  margin-right: 1rem;
}

.project-status {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-live {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-development {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-completed {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .status-live {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

[data-theme="dark"] .status-development {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

[data-theme="dark"] .status-completed {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.project-stats {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.project-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

.project-stat i {
  color: var(--primary-color);
  font-size: 1rem;
}

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

.project-tech .tech-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border-radius: var(--border-radius);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tech-tag-more {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  font-style: italic;
}

[data-theme="dark"] .project-tech .tech-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

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

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

.project-actions .btn-sm {
  padding: 0.3rem 0.3rem;
    text-align: center;
  font-size: 0.75rem;
}

/* Projects CTA Section */
.projects-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.projects-cta .btn {
  margin: 0 0.5rem;
}

/* Enhanced Project Image */
.project-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background: var(--gradient-primary);
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.project-card:hover .project-image::before {
  transform: translateX(100%);
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

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

.project-card:hover .project-overlay .btn {
  transform: translateY(0);
}

/* Project Content Enhanced */
.project-content {
  padding: 1.5rem;
  position: relative;
}

.project-summary {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CSS Variables for Theme - Matching Original Design */
:root {
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-gray-50: #f9fafb;
  --bg-gray-800: #1f2937;
  --border-color: #e5e7eb;
  --border-color-dark: #374151;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6, #f59e0b);
  --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 50%, #fdf2f8 100%);
  --border-radius: 0.75rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  --bg-gray-50: #1f2937;
  --bg-gray-800: #111827;
  --border-color: #374151;
  --border-color-dark: #4b5563;
  --gradient-hero: linear-gradient(135deg, #111827 0%, #1e1b4b 50%, #581c87 100%);
}

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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: var(--transition);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Navigation - Enhanced */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(17, 24, 39, 0.8);
  border-bottom: 1px solid rgba(55, 65, 81, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo .logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.nav-link i {
  font-size: 1rem;
}

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

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

.theme-toggle:hover,
.mobile-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

/* Buttons - Exact Match */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  white-space: nowrap;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

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

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

.btn-dark {
  background: #1f2937;
  color: white;
}

.btn-dark:hover {
  background: #111827;
}

.btn-linkedin {
  background: #0077b5;
  color: white;
}

.btn-linkedin:hover {
  background: #005885;
}

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

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

/* Hero Section - Exact Match */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: blob 7s infinite;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .blob {
  mix-blend-mode: normal;
  opacity: 0.4;
}

.blob-1 {
  top: -10%;
  right: -10%;
  width: 20rem;
  height: 20rem;
  background: #a78bfa;
  animation-delay: 0s;
}

.blob-2 {
  bottom: -10%;
  left: -10%;
  width: 20rem;
  height: 20rem;
  background: #60a5fa;
  animation-delay: 2s;
}

.blob-3 {
  top: 10%;
  left: 10%;
  width: 20rem;
  height: 20rem;
  background: #f472b6;
  animation-delay: 4s;
}

@keyframes blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-image {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin-bottom: 2rem;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-2xl);
}

.profile-ring {
  position: absolute;
  inset: -0.5rem;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #3b82f6);
  opacity: 0.2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.1;
  }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Section Styles - Exact Match */
section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto;
}

/* About Section - Exact Match */
.about-section {
  background: var(--bg-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .about-card {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
}

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

.tech-stack h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.tech-tag {
  padding: 0.5rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
}

[data-theme="dark"] .tech-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--gradient-primary);
  padding: 1px;
}

.image-wrapper img {
  width: 100%;
  border-radius: var(--border-radius-xl);
  display: block;
}

/* Projects Section - Exact Match */
.projects-section {
  background: var(--bg-gray-50);
}

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

/* Education Section - Exact Match */
.education-section {
  background: var(--bg-primary);
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  padding-right: 2rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  padding-left: 2rem;
  text-align: left;
}

.timeline-content {
  width: calc(50% - 1rem);
}

.timeline-dot {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.education-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
  padding: 1.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 0;
}

[data-theme="dark"] .education-card {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.education-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.timeline-item:nth-child(even) .education-header {
  flex-direction: row-reverse;
}

.education-logo {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.education-info {
  flex: 1;
}

.timeline-item:nth-child(even) .education-info {
  text-align: right;
}

.education-institution {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.education-period {
  color: #3b82f6;
  font-weight: 500;
  font-size: 0.875rem;
}

.education-degree {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

/* GitHub Section - Exact Match */
.github-section {
  background: var(--bg-gray-50);
}

.github-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 0;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-icon i {
  font-size: 1.25rem;
  color: #3b82f6;
}

.stat-card .stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

.github-cta {
  text-align: center;
}

/* LinkedIn Section - Exact Match */
.linkedin-section {
  background: var(--bg-primary);
}

.linkedin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.linkedin-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 0;
}

[data-theme="dark"] .linkedin-card {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

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

.linkedin-icon {
  width: 4rem;
  height: 4rem;
  background: #0077b5;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedin-icon i {
  font-size: 2rem;
  color: white;
}

.linkedin-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.connection-count {
  color: #3b82f6;
  font-weight: 500;
  font-size: 0.875rem;
}

.linkedin-stats {
  margin-bottom: 1.5rem;
}

.linkedin-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-md);
}

.linkedin-stat:last-child {
  margin-bottom: 0;
}

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

.linkedin-stat .stat-value {
  font-weight: 600;
  color: var(--text-primary);
}

.linkedin-buttons {
  display: flex;
  gap: 1rem;
}

.linkedin-buttons .btn {
  flex: 1;
}

.endorsements h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.endorsement-item {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

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

.endorsement-quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.endorsement-author strong {
  color: var(--text-primary);
  font-weight: 600;
}

.endorsement-author span {
  color: var(--text-light);
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

/* Future Projects Section - Exact Match */
.future-section {
  background: var(--bg-gray-50);
}

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

.future-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 0;
  height: 100%;
}

.future-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.future-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.future-icon i {
  font-size: 1.25rem;
  color: #8b5cf6;
}

.future-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.future-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-in-progress {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.status-planned {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
}

.status-prototype-done {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

[data-theme="dark"] .status-in-progress {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

[data-theme="dark"] .status-planned {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

[data-theme="dark"] .status-prototype-done {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

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

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-list {
  margin-bottom: 2rem;
}

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

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

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-item:nth-child(1) .contact-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.contact-item:nth-child(2) .contact-icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.contact-item:nth-child(3) .contact-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.contact-details strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

.social-links h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.social-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-form-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 0;
}

[data-theme="dark"] .contact-form-card {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer - Exact Match */
.footer {
  background: #111827;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

[data-theme="dark"] .footer {
  background: #000000;
}

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

.footer-logo .logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-tagline {
  color: #9ca3af;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: #3b82f6;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Responsive Design for Enhanced Projects */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .about-content,
  .linkedin-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-item .timeline-content {
    width: 100%;
    padding: 0 !important;
    text-align: center !important;
  }

  .timeline-item .education-header {
    flex-direction: row !important;
    justify-content: center;
  }

  .timeline-item .education-info {
    text-align: center !important;
  }

  .timeline-line {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .github-stats {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

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

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

  .linkedin-buttons {
    flex-direction: column;
  }

  .container {
    padding: 0 1rem;
  }

  .project-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

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

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

  .project-actions .btn {
    width: 100%;
  }

  .projects-cta .btn {
    display: block;
    margin: 0.5rem auto;
    max-width: 200px;
  }
}

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

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }

  section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .project-title {
    margin-right: 0;
  }

  .project-content {
    padding: 1rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.hidden {
  display: none;
}
.visible {
  display: block;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}
.slide-up {
  animation: slideUp 0.6s ease-in-out;
}
.scale-in {
  animation: scaleIn 0.6s ease-in-out;
}

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

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

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation for Project Cards */
.project-card.loading {
  pointer-events: none;
}

.project-card.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 50 50'%3E%3Cpath fill='%233b82f6' d='M25,5A20.14,20.14,0,0,1,45,22.88a2.51,2.51,0,0,0,2.49,2.26h0A2.52,2.52,0,0,0,50,22.33a25.14,25.14,0,0,0-50,0,2.52,2.52,0,0,0,2.5,2.81h0A2.51,2.51,0,0,0,5,22.88,20.14,20.14,0,0,1,25,5Z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.5s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

[data-theme="dark"] .project-card.loading::after {
  background: rgba(17, 24, 39, 0.8);
}



















/* Reset styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transform: none !important;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding: 0;
  margin: 0;
}

/* Main container */
main,
.container,
.wrapper,
.page-wrapper,
.content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  transform: none !important;
}

/* About Section */
.about-section {
  width: 100%;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Profile Image */
.profile-image-container {
  width: 200px;
  height: 200px;
  margin-bottom: 2rem;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Titles and Headings */
.about-title,
h1,
h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  padding: 0 1rem;
}

/* Text Content */
.about-description,
p {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  text-align: center;
}

/* CTA Buttons */
.button-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.button-container .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  background: #007BFF;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.button-container .btn:hover {
  background: #0056b3;
}

/* Section */
section {
  width: 100%;
  padding: 2rem 1rem;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Images, Video, Iframe safety */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Media Queries - Mobile */
@media (max-width: 768px) {
  .about-section {
    padding: 2rem 1rem;
  }

  .profile-image-container {
    width: 150px;
    height: 150px;
  }

  .about-title,
  h1 {
    font-size: 2rem;
  }

  .about-description,
  p {
    font-size: 1rem;
  }

  .button-container {
    padding: 0 0.5rem;
  }

  .button-container .btn {
    width: 100%;
  }
}
