/* Portfolio Design System - Modern & Professional */

:root {
  /* Light Mode Colors */
  --background: 248 250 252;
  --foreground: 225 29% 10%;
  --card: 0 0% 100%;
  --card-foreground: 225 29% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 225 29% 10%;
  --primary: 239 84% 67%;
  --primary-foreground: 0 0% 98%;
  --secondary: 245 58% 51%;
  --secondary-foreground: 0 0% 98%;
  --muted: 246 38% 96%;
  --muted-foreground: 225 16% 45%;
  --accent: 317 70% 64%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 245 20% 92%;
  --input: 245 20% 92%;
  --ring: 239 84% 67%;
  
  /* Custom Portfolio Colors */
  --portfolio-dark: 225 39% 21%;
  --portfolio-darker: 225 47% 15%;
  --portfolio-light: 245 58% 96%;
  --portfolio-success: 142 76% 36%;
  --portfolio-warning: 38 92% 50%;
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  
  /* Modern Shadows */
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
  
  /* Modern Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

.dark {
  /* Dark Mode Colors */
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --popover: 222.2 84% 4.9%;
  --popover-foreground: 210 40% 98%;
  --primary: 210 40% 98%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 217.2 32.6% 17.5%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
  --input: 217.2 32.6% 17.5%;
  --ring: 212.7 26.8% 83.9%;
  
  /* Dark Mode Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  
  /* Dark Mode Shadows */
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: hsl(var(--portfolio-dark));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Dark mode by default */
body.dark {
  background-color: hsl(var(--portfolio-dark));
}

/* App Layout */
.app {
  min-height: 100vh;
  display: flex;
  width: 100%;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 320px;
  background-color: hsl(var(--card));
  border-right: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  overflow-y: auto;
  z-index: 1000;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}

/* Profile Section */
.profile-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.profile-image {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-medium);
  border: 4px solid hsl(var(--primary) / 0.2);
}

.status-indicator {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background-color: hsl(var(--portfolio-success));
  border-radius: 50%;
  border: 4px solid hsl(var(--background));
  box-shadow: var(--shadow-soft);
}

.profile-info {
  text-align: center;
  margin-bottom: 24px;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.profile-title {
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}

.location .icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Skills Section */
.skills-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 12px;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
  cursor: default;
}

.skill-tag:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Bio Section */
.bio-section {
  margin-bottom: 24px;
}

.bio-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Navigation */
.navigation {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  transition: var(--transition-smooth);
  cursor: pointer;
}

.nav-link:hover {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.nav-link.active {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-medium);
}

.nav-link .icon {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  transition: var(--transition-smooth);
}

.nav-link.active .icon {
  transform: scale(1.1);
}

.nav-link:hover .icon {
  transform: scale(1.05);
}

/* Theme Toggle */
.theme-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  margin: 24px 0;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  backdrop-filter: blur(10px);
}

.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: hsl(var(--muted));
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: var(--gradient-primary);
  border-radius: 50%;
  transition: var(--transition-spring);
  box-shadow: var(--shadow-soft);
}

.dark .theme-toggle::before {
  transform: translateX(30px);
}

.theme-toggle .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}

.theme-toggle .sun-icon {
  left: 6px;
  color: #ef4444;
}

.theme-toggle .moon-icon {
  right: 6px;
  color: #6366f1;
}

.dark .theme-toggle .sun-icon {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.dark .theme-toggle .moon-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.theme-toggle:not(.dark) .sun-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.theme-toggle:not(.dark) .moon-icon {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.theme-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

/* Sidebar Footer */
.sidebar-footer {
  border-top: 1px solid hsl(var(--border));
  padding-top: 16px;
  margin-top: 24px;
}

.footer-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 320px;
}

/* Pages */
.page {
  display: none;
  min-height: 100vh;
  background-color: hsl(var(--background));
}

.page.active {
  display: block;
}

.page-container {
  max-width: 100%;
  padding: 32px;
}

/* Page Headers */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Cards */
.card {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
  position: relative;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: hsl(var(--primary) / 0.3);
}

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

.card-header {
  padding: 24px 24px 0 24px;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
}

.card-title .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.card-content {
  padding: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-smooth);
}

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

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

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 2px solid hsl(var(--border));
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

.btn .icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

/* Gallery */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.gallery-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.gallery-subtitle {
  color: hsl(var(--muted-foreground));
}

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

/* Portfolio Items */
.portfolio-item {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-spring);
  cursor: pointer;
  position: relative;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-12px) scale(1.02);
  border-color: hsl(var(--primary) / 0.4);
}

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

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

.portfolio-image {
  width: 100%;
  height: 192px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.portfolio-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-actions {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-year {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  color: hsl(var(--portfolio-dark));
  padding: 4px 8px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-category {
  font-size: 0.75rem;
  padding: 2px 8px;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 4px);
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
  display: inline-block;
}

.portfolio-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-title {
  color: hsl(var(--primary));
}

.portfolio-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
}

.portfolio-tag {
  font-size: 0.75rem;
  padding: 2px 6px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 4px);
}

.portfolio-actions-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-more-tags {
  font-size: 0.75rem;
  padding: 2px 6px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 4px);
}

.portfolio-link {
  background: none;
  border: none;
  color: hsl(var(--primary));
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.portfolio-link:hover {
  color: hsl(var(--primary) / 0.8);
  background-color: hsl(var(--muted));
}

.portfolio-link .icon {
  width: 16px;
  height: 16px;
}

/* Filters */
.filters-section {
  margin-bottom: 32px;
}

.search-container {
  position: relative;
  margin-bottom: 16px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: hsl(var(--muted-foreground));
}

.search-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  background-color: transparent;
  color: hsl(var(--foreground));
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background-color: hsl(var(--muted));
}

.filter-btn.active {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* Results */
.results-info {
  margin-bottom: 24px;
}

.results-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}

/* Profile Overview */
.profile-overview {
  margin-bottom: 32px;
}

.profile-overview-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.profile-overview-main {
  text-align: center;
}

.profile-overview-image {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-medium);
  border: 4px solid hsl(var(--primary) / 0.2);
  margin: 0 auto 16px;
}

.profile-overview-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.profile-overview-title {
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-item .icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.profile-actions {
  display: flex;
  gap: 8px;
}

.profile-overview-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-section {
  margin-bottom: 24px;
}

.about-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 16px;
}

.stats-section {
  margin-bottom: 24px;
}

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 16px;
  background-color: hsl(var(--muted));
  border-radius: 8px;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Skills List */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.skill-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.skill-percentage {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: hsl(var(--muted));
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease-out;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* Achievements */
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.achievement-icon {
  width: 40px;
  height: 40px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-icon .icon {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
}

.achievement-content {
  flex: 1;
}

.achievement-title {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.achievement-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 4px;
}

.achievement-date {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  font-weight: 500;
}

/* Tools */
.tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tool-tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
  cursor: default;
}

.tool-tag:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.specialization-info {
  padding: 16px;
  background-color: hsl(var(--muted));
  border-radius: 8px;
}

.specialization-title {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.specialization-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Experience Timeline */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.experience-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.experience-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  width: 2px;
  height: calc(100% + 32px);
  background-color: hsl(var(--border));
}

.experience-icon {
  width: 48px;
  height: 48px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.experience-icon .icon {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
}

.experience-content {
  flex: 1;
  min-width: 0;
}

.experience-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.experience-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.experience-company {
  color: hsl(var(--primary));
  font-weight: 500;
}

.experience-type {
  padding: 4px 8px;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.experience-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
}

.experience-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.experience-meta-item .icon {
  width: 16px;
  height: 16px;
}

.experience-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
  line-height: 1.6;
}

.experience-achievements {
  margin-bottom: 16px;
}

.experience-achievements-title {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.experience-achievements-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.experience-achievement {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.experience-achievement::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.experience-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.experience-skill {
  font-size: 0.75rem;
  padding: 2px 6px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 4px);
}

/* Education */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.education-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.education-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  width: 2px;
  height: 64px;
  background-color: hsl(var(--border));
}

.education-icon {
  width: 48px;
  height: 48px;
  background-color: hsl(var(--secondary) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.education-icon .icon {
  width: 24px;
  height: 24px;
  color: hsl(var(--secondary));
}

.education-content {
  flex: 1;
}

.education-degree {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.education-institution {
  color: hsl(var(--secondary));
  font-weight: 500;
  margin-bottom: 4px;
}

.education-period {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
}

.education-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
  line-height: 1.6;
}

.education-achievements {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.education-achievement {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.education-achievement::before {
  content: '';
  width: 4px;
  height: 4px;
  background-color: hsl(var(--secondary));
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Certifications */
.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.certification-item {
  padding: 16px;
  background-color: hsl(var(--muted));
  border-radius: 8px;
}

.certification-name {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.certification-issuer {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 4px;
}

.certification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.certification-date {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.certification-id {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-family: monospace;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.form-input,
.form-textarea {
  padding: 12px;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

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

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-tag {
  padding: 6px 12px;
  border: 1px solid hsl(var(--border));
  background-color: transparent;
  color: hsl(var(--foreground));
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.service-tag:hover {
  background-color: hsl(var(--muted));
}

.service-tag.selected {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon .icon {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
}

.contact-method-content {
  flex: 1;
}

.contact-method-title {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.contact-method-value {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-method-description {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Availability */
.availability-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.availability-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.availability-label {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: hsl(var(--portfolio-success));
  border-radius: 50%;
}

.status-text {
  font-size: 0.875rem;
  color: hsl(var(--portfolio-success));
  font-weight: 500;
}

.availability-value {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Quick Info */
.quick-info-card {
  background: var(--gradient-primary);
  color: white;
}

.quick-info-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.quick-info-text {
  font-size: 0.875rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.quick-info-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.quick-info-item .icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-question {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 16px;
  margin-bottom: 8px;
  min-width: 300px;
  animation: slideIn 0.3s ease-out;
}

.toast-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.toast-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Project Detail Page */
.back-button-container {
  margin-bottom: 32px;
}

.project-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.project-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
}

.project-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.project-detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-detail-meta-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-detail-meta-value {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.project-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-detail-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.project-detail-tag {
  padding: 6px 12px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.project-detail-tag:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.project-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.project-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.project-detail-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-detail-section {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.project-detail-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-detail-section-title .icon {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
}

.project-detail-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-detail-list li {
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.project-detail-list li:last-child {
  border-bottom: none;
}

.project-detail-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.project-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-detail-card {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.project-detail-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
}

.project-detail-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-detail-tech-item {
  padding: 4px 8px;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.project-detail-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-detail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  transition: var(--transition-smooth);
}

.project-detail-link:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.project-detail-link .icon {
  width: 16px;
  height: 16px;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.project-detail-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-detail-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.project-detail-gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.project-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-detail-stat {
  text-align: center;
  padding: 16px;
  background-color: hsl(var(--muted));
  border-radius: var(--radius);
}

.project-detail-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 4px;
}

.project-detail-stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Responsive Design for Project Detail */
@media (max-width: 1024px) {
  .project-detail-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .project-detail-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .project-detail-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .project-detail-title {
    font-size: 2rem;
  }
  
  .project-detail-actions {
    flex-direction: column;
  }
  
  .project-detail-stats {
    grid-template-columns: 1fr;
  }
  
  .project-detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-detail-gallery {
    grid-template-columns: 1fr;
  }
}

/* Text Utilities */
.text-muted {
  color: hsl(var(--muted-foreground));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidebar {
    width: 280px;
  }
  
  .main-content {
    margin-left: 280px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .app {
    flex-direction: column;
  }
  
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    background: hsl(var(--card));
    border-right: none;
    border-bottom: 1px solid hsl(var(--border));
    padding: 0;
  }
  
  .sidebar-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
  }
  
  .profile-section {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .profile-image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .profile-info {
    text-align: center;
  }
  
  .profile-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .profile-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .location {
    font-size: 0.9rem;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .skills-section {
    display: block;
    margin: 1.5rem 0;
  }
  
  .skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .skill-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .navigation {
    margin: 1.5rem 0;
  }
  
  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    transition: all 0.2s ease;
    text-align: left;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
  }
  
  .nav-link .icon {
    width: 20px;
    height: 20px;
  }
  
  .nav-link span {
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .theme-toggle-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: hsl(var(--muted));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    text-align: center;
  }
  
  .theme-toggle {
    width: 60px;
    height: 30px;
  }
  
  .theme-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }
  
  .sidebar-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
  }
  
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  
  .page-container {
    padding: 16px;
  }
  
  .page-header {
    padding: 1rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .profile-overview-content {
    grid-template-columns: 1fr;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .stats-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .profile-grid .profile-overview,
  .profile-grid .about-card,
  .profile-grid .skills-card {
    grid-column: span 1;
  }
  
  .experience-item {
    padding: 1rem;
  }
  
  .experience-icon {
    width: 50px;
    height: 50px;
  }
  
  .experience-content {
    margin-left: 1rem;
  }
  
  .experience-role {
    font-size: 1rem;
  }
  
  .experience-company {
    font-size: 0.9rem;
  }
  
  .experience-description {
    font-size: 0.9rem;
  }
  
  .achievements-list {
    gap: 0.75rem;
  }
  
  .achievement-item {
    padding: 0.75rem;
  }
  
  .achievement-icon {
    width: 40px;
    height: 40px;
  }
  
  .achievement-content h4 {
    font-size: 0.9rem;
  }
  
  .achievement-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid-large {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    flex-direction: column;
  }
  
  .filter-btn {
    text-align: center;
  }
}

/* Construction Page Styles */
.construction-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  backdrop-filter: blur(10px);
}

.construction-content {
  max-width: 600px;
  margin: 0 auto;
}

.construction-icon {
  font-size: 4rem;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
}

.construction-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.progress-section {
  margin-top: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: hsl(var(--muted));
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* Profile Grid Layout */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-grid .profile-overview {
  grid-column: 1 / -1;
}

.profile-grid .about-card,
.profile-grid .skills-card {
  grid-column: span 1;
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-grid .profile-overview,
  .profile-grid .about-card,
  .profile-grid .skills-card {
    grid-column: span 1;
  }
}

/* Company Logo Styles */
.company-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.experience-icon .company-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* HubSpot Form Customization */
#form-target {
  font-family: inherit;
}

.hs-form {
  font-family: inherit;
}

.hs-form__row {
  margin-bottom: 1.5rem;
}

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

.hs-form__field {
  margin-bottom: 1rem;
}

.hs-form__field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  font-size: 0.9rem;
}

.hs-form__field__input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hs-form__field__input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.hs-form__field__checkbox__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.hs-form__field__checkbox__label:hover {
  background: hsl(var(--muted));
}

.hs-form__field__checkbox__input {
  margin: 0;
}

.hs-form__field__checkbox__label-text {
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}

.hs-form__actions {
  margin-top: 1.5rem;
}

.hs-form__actions__submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.9rem;
}

.hs-form__actions__submit:hover {
  background: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
}

.hs-form__field__label__required {
  color: hsl(var(--destructive));
}

.hs-form__virality-link {
  margin-top: 1rem;
}

.hs-form__virality-link iframe {
  border: none;
  border-radius: 0.5rem;
}

/* Dark mode adjustments */
.dark .hs-form__field__input {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}

.dark .hs-form__field__label {
  color: hsl(var(--foreground));
}

.dark .hs-form__field__checkbox__label-text {
  color: hsl(var(--foreground));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hs-form__field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hs-form__field {
    margin-bottom: 1rem;
  }
  
  .hs-form__field__input {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .hs-form__actions__submit {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checkbox-text {
  color: hsl(var(--muted-foreground));
}

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

.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Service Options Styles */
.service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.service-option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.service-option:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.service-option input[type="checkbox"] {
  display: none;
}

.service-option input[type="checkbox"]:checked + .service-text {
  color: hsl(var(--primary));
  font-weight: 600;
}

.service-option input[type="checkbox"]:checked,
.service-option.selected {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
}

.service-option.selected .service-text {
  color: hsl(var(--primary));
  font-weight: 600;
}

.service-text {
  font-size: 0.85rem;
  color: hsl(var(--foreground));
  transition: all 0.2s ease;
}

.form-note {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.5rem;
}

/* Form validation states */
.form-input:invalid:not(:focus):not(:placeholder-shown),
.form-select:invalid:not(:focus),
.form-textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: hsl(var(--destructive));
}

.form-input:valid:not(:focus):not(:placeholder-shown),
.form-select:valid:not(:focus),
.form-textarea:valid:not(:focus):not(:placeholder-shown) {
  border-color: hsl(var(--primary));
}

/* Loading state */
.form-submitting {
  opacity: 0.7;
  pointer-events: none;
}

.form-submitting .btn-primary {
  background: hsl(var(--muted));
  cursor: not-allowed;
}

/* Success/Error messages */
.form-message {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}

.form-message.success {
  background: hsl(var(--success) / 0.1);
  color: hsl(var(--success));
  border: 1px solid hsl(var(--success) / 0.2);
}

.form-message.error {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  border: 1px solid hsl(var(--destructive) / 0.2);
}

/* Dark mode adjustments for form */
.dark .form-input,
.dark .form-select,
.dark .form-textarea {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}

.dark .form-input:focus,
.dark .form-select:focus,
.dark .form-textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Responsive form adjustments */
@media (max-width: 768px) {
  .contact-form {
    gap: 1.25rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .service-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .form-label {
    font-size: 0.85rem;
  }
  
  .service-text {
    font-size: 0.8rem;
  }
  
  .service-option {
    padding: 0.6rem 0.8rem;
  }
  
  .btn-gradient {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .checkbox-label {
    font-size: 0.85rem;
  }
  
  .form-note {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .service-options {
    grid-template-columns: 1fr;
  }
}

/* Education Timeline Styles - Now using experience-item style */
.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Certifications Styles - Now using experience-item style */
.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
