/* CSS Custom Properties */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary-color: #64748b;
  --accent-color: #06b6d4;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --border-color: #e2e8f0;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-colored: 0 10px 15px -3px rgba(59, 130, 246, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.brand-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px -3px var(--primary-color);
  transition: all 0.3s ease;
}

.brand-text:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -8px var(--primary-color);
}

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

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

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

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

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

.qr-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px -3px var(--primary-color);
}

.qr-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px -8px var(--primary-color);
}

.ai-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px -3px var(--primary-color);
  position: relative;
  overflow: hidden;
  margin-left: 10px;
}

.ai-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: ai-nav-rotate 3s linear infinite;
  opacity: 0.8;
}

@keyframes ai-nav-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-3px) scale(1.15) rotate(5deg);
  box-shadow: 0 12px 30px -8px var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: 0.3s;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3Ccircle cx='27' cy='7' r='1'/%3E%3Ccircle cx='47' cy='7' r='1'/%3E%3Ccircle cx='7' cy='27' r='1'/%3E%3Ccircle cx='27' cy='27' r='1'/%3E%3Ccircle cx='47' cy='27' r='1'/%3E%3Ccircle cx='7' cy='47' r='1'/%3E%3Ccircle cx='27' cy='47' r='1'/%3E%3Ccircle cx='47' cy='47' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.greeting {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.name {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.role {
  display: block;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.btn-full {
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.5'%3E%3Cpath d='M20 20c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm0 0c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8-8 3.6-8 8z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 2px;
}

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

/* About Section */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.profile-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.profile-photo {
  position: relative;
}

.profile-photo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 4px solid white;
}

.profile-photo img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-colored);
}

.profile-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.contact-card {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 200px;
}

.contact-card-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: sticky;
  top: 2rem;
}

/* Enhanced About Section Styles */
.about-main-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-left-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 2rem;
}

.about-right-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-photo-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  transition: all 0.3s ease;
}

.profile-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(59, 130, 246, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.about-stats-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.about-stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(59, 130, 246, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stats-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-intro-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.about-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 25%, #ec4899 50%, #f59e0b 75%, #10b981 100%);
  opacity: 0.8;
}

.about-intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px -16px rgba(59, 130, 246, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.profile-photo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.photo-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4);
  opacity: 0;
  transition: all 0.3s ease;
}

.profile-photo:hover .photo-overlay {
  opacity: 1;
}

.photo-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.about-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-name {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.about-tagline {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.05) 0%, 
    rgba(139, 92, 246, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-2px);
  border-color: transparent;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.about-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.detail-category {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.detail-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(59, 130, 246, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.detail-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.detail-category-title i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
}

.detail-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card-image {
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15),
              0 8px 16px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.contact-card-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px -12px rgba(59, 130, 246, 0.2),
              0 16px 32px -8px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
  .about-main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-left-column {
    position: static;
    order: 1;
  }
  
  .about-right-column {
    order: 2;
  }
  
  .about-intro-card {
    padding: 2rem;
  }
  
  .profile-photo-card {
    padding: 1.5rem;
  }
  
  .about-stats-card {
    padding: 1.5rem;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .about-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .detail-category {
    padding: 1.5rem;
  }
  
  .profile-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .profile-photo {
    order: -1;
  }
  
  .profile-photo img {
    max-width: 200px;
    margin: 0 auto;
  }
  
  .contact-card-section {
    position: static;
  }
  
  .contact-card-image {
    max-width: 95%;
    width: 95%;
  }
}

.about-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.8) 0%, 
    rgba(241, 245, 249, 0.6) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(4px);
  border-color: rgba(59, 130, 246, 0.15);
}

.detail-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border-radius: 10px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Skills Section - Enhanced Beautiful Design */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
}

.skill-category {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08),
              0 8px 16px -4px rgba(0, 0, 0, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.02) 0%, 
    rgba(139, 92, 246, 0.02) 50%, 
    rgba(236, 72, 153, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.skill-category::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    #3b82f6 0%, 
    #8b5cf6 25%, 
    #ec4899 50%, 
    #f59e0b 75%, 
    #10b981 100%);
  opacity: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px -12px rgba(59, 130, 246, 0.15),
              0 16px 32px -8px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

.skill-category:hover::after {
  opacity: 1;
}

.skill-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.8rem;
  text-align: center;
  position: relative;
}

.skill-category-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  border-radius: 2px;
  opacity: 0.6;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.skill-tag {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(248, 250, 252, 0.8) 100%);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(59, 130, 246, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
}

.skill-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.skill-tag:hover {
  background: linear-gradient(135deg, 
    #3b82f6 0%, 
    #8b5cf6 50%, 
    #ec4899 100%);
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px -8px rgba(59, 130, 246, 0.4),
              0 6px 16px -4px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.skill-tag:hover::before {
  left: 100%;
}

.skill-tag:active {
  transform: translateY(-2px) scale(1.02);
}

/* New Skill Cards Design */
.skill-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 25%, #ec4899 50%, #f59e0b 75%, #10b981 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px -12px rgba(59, 130, 246, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(59, 130, 246, 0.2);
}

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

.skill-card-container {
  padding: 2rem;
}

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

.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 16px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px -8px rgba(59, 130, 246, 0.6);
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.skill-body {
  space-y: 1.5rem;
}

.skill-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill-tag-mini {
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.skill-tag-mini:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-1px);
  border-color: transparent;
}

.skill-progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0%;
  position: relative;
}

.skill-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skill-percentage {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  min-width: 40px;
}

/* Experience Section - Timeline Design */
.experience-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.experience-timeline {
  position: relative;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  border-radius: 2px;
  opacity: 0.8;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 5rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 1rem;
  z-index: 2;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4),
              0 0 0 6px rgba(255, 255, 255, 1),
              0 0 0 10px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px -8px rgba(59, 130, 246, 0.6),
              0 0 0 6px rgba(255, 255, 255, 1),
              0 0 0 10px rgba(59, 130, 246, 0.2);
}

.timeline-content {
  position: relative;
}

.experience-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 3.2rem;
  min-height: 420px;
  box-shadow: 
    0 20px 50px -12px rgba(0, 0, 0, 0.08),
    0 8px 32px -8px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    135deg, 
    #3b82f6 0%, 
    #8b5cf6 25%, 
    #ec4899 50%, 
    #f59e0b 75%, 
    #10b981 100%
  );
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease;
}

.experience-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle, 
    rgba(59, 130, 246, 0.03) 0%, 
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  border-radius: 50%;
}

.experience-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 35px 80px -12px rgba(59, 130, 246, 0.12),
    0 15px 60px -8px rgba(139, 92, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(255, 255, 255, 0.98);
}

.experience-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.experience-card:hover::after {
  width: 600px;
  height: 600px;
}

.experience-header {
  margin-bottom: 2.5rem;
  position: relative;
  flex-shrink: 0;
}

.experience-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.experience-card:hover .experience-header::after {
  width: 120px;
}

.job-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 70%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.experience-card:hover .job-title {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  padding-left: 1.5rem;
}

.company-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.job-period {
  font-size: 0.95rem;
  color: #4f46e5;
  font-weight: 600;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.12) 0%, 
    rgba(139, 92, 246, 0.12) 100%);
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.job-period::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.experience-card:hover .job-period {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.18) 0%, 
    rgba(139, 92, 246, 0.18) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.25);
}

.experience-card:hover .job-period::before {
  left: 100%;
}

.job-description {
  margin-bottom: 2.5rem;
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.6) 0%, 
    rgba(241, 245, 249, 0.4) 100%);
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
  flex: 1;
}

.job-description::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(59, 130, 246, 0.15);
  line-height: 1;
  font-family: Georgia, serif;
}

.experience-card:hover .job-description {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.06) 0%, 
    rgba(139, 92, 246, 0.04) 100%);
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateX(4px);
}

.job-description p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  padding-left: 1.5rem;
  padding-right: 0.5rem;
  position: relative;
}

.job-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-shrink: 0;
}

.job-technologies .tech-tag {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.08) 100%);
  color: #4338ca;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.job-technologies .tech-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  transition: left 0.5s ease;
}

.job-technologies .tech-tag:hover {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15) 0%, 
    rgba(139, 92, 246, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px -8px rgba(59, 130, 246, 0.25);
  color: #3730a3;
}

.job-technologies .tech-tag:hover::before {
  left: 100%;
}

.experience-card:hover .job-technologies .tech-tag {
  border-color: rgba(59, 130, 246, 0.25);
}

.experience-card:hover .job-technologies .tech-tag:nth-child(odd) {
  animation: techTagFloat 2s ease-in-out infinite;
  animation-delay: 0.2s;
}

.experience-card:hover .job-technologies .tech-tag:nth-child(even) {
  animation: techTagFloat 2s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes techTagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.experience-summary {
  position: sticky;
  top: 2rem;
}

.summary-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(59, 130, 246, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.summary-header i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 16px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4);
}

.summary-header h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.8) 0%, 
    rgba(241, 245, 249, 0.6) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(4px);
  border-color: rgba(59, 130, 246, 0.15);
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.highlight-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.highlight-text span {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Responsive Design for Experience */
@media (max-width: 768px) {
  .experience-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .experience-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 4rem;
    margin-bottom: 2rem;
  }
  
  .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .experience-card {
    padding: 2.5rem;
    min-height: 380px;
  }
  
  .experience-header {
    margin-bottom: 2rem;
  }
  
  .job-title {
    font-size: 1.4rem;
  }
  
  .company-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .company-name {
    font-size: 1.1rem;
  }
  
  .job-description {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .job-description p {
    font-size: 1rem;
    padding-left: 1rem;
  }
  
  .job-technologies .tech-tag {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .experience-summary {
    position: static;
    order: -1;
  }
  
  .summary-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .experience-card {
    padding: 2rem;
    min-height: 350px;
  }
  
  .job-title {
    font-size: 1.3rem;
  }
  
  .job-description {
    padding: 1.2rem;
  }
  
  .job-description::before {
    font-size: 2.5rem;
    top: -6px;
  }
}

/* Projects Section - Enhanced Beautiful Design */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  position: relative;
}

.project-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08),
              0 8px 16px -4px rgba(0, 0, 0, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  group: true;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, 
    #3b82f6 0%, 
    #8b5cf6 25%, 
    #ec4899 50%, 
    #f59e0b 75%, 
    #10b981 100%);
  background-size: 200% 100%;
  animation: gradientFlow 3s ease-in-out infinite;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: left;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}

.project-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    #3b82f6 0%, 
    #8b5cf6 25%, 
    #ec4899 50%, 
    #f59e0b 75%, 
    #10b981 100%);
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  opacity: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.4s ease;
}

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

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

.project-card:hover {
  transform: translateY(-12px) scale(1.02) rotateX(5deg);
  box-shadow: 0 32px 64px -12px rgba(59, 130, 246, 0.15),
              0 16px 32px -8px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(59, 130, 246, 0.2);
}

.project-content-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  margin: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-content-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.02) 0%, 
    rgba(139, 92, 246, 0.02) 50%, 
    rgba(236, 72, 153, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.project-card:hover .project-content-container {
  box-shadow: 0 20px 48px -12px rgba(59, 130, 246, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.15);
}

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

.project-header {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
  position: relative;
}

.project-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 1px;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-title::after {
  opacity: 1;
  width: 60px;
}

.project-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.project-body {
  position: relative;
  z-index: 2;
}

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

.tech-tag {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  color: #3b82f6;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  transition: left 0.5s ease;
}

.tech-tag:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4);
  border-color: transparent;
}

.tech-tag:hover::before {
  left: 100%;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.8) 0%, 
    rgba(241, 245, 249, 0.6) 100%);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.08);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  min-width: 80px;
  justify-content: center;
}

.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.project-link:hover {
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4);
  border-color: transparent;
}

.project-link:hover::before {
  left: 0;
}

.project-link i {
  font-size: 0.8rem;
}

.project-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.08) 0%, 
    rgba(139, 92, 246, 0.08) 100%);
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.stat-item:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-1px);
  border-color: transparent;
}

.stat-item i {
  color: #3b82f6;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.stat-item:hover i {
  color: white;
}

/* Mobile Responsive Enhancements for Skills & Projects */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .skill-category {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  
  .skill-category-title {
    font-size: 1.3rem;
  }
  
  .skill-tag {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    border-radius: 20px;
  }
  
  .project-content-container {
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .project-header {
    margin-bottom: 1rem;
  }
  
  .project-title {
    font-size: 1.2rem;
  }
  
  .project-description {
    font-size: 0.9rem;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem;
  }
  
  .project-links {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
  
  .project-link {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  
  .project-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  .stat-item {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .skill-tags {
    gap: 0.6rem;
  }
  
  .skill-tag {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .project-tech {
    gap: 0.5rem;
    justify-content: center;
  }
  
  .tech-tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .project-links .project-link {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .project-meta {
    margin-bottom: 1rem;
  }
}

/* Background Enhancement for Skills and Projects Sections */
#skills {
  position: relative;
  overflow: hidden;
}

#skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  opacity: 0.6;
  z-index: 0;
}

#skills .container {
  position: relative;
  z-index: 1;
}

#projects {
  position: relative;
  overflow: hidden;
}

#projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  opacity: 0.6;
  z-index: 0;
}

#projects .container {
  position: relative;
  z-index: 1;
}

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

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  width: calc(50% - 2rem);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-colored);
  border-color: var(--primary-light);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content:before {
  content: '';
  position: absolute;
  top: 2rem;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content:before {
  left: -20px;
  border-right-color: white;
}

.timeline-item:nth-child(even) .timeline-content:before {
  right: -20px;
  border-left-color: white;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: 4px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 4px 15px -3px var(--primary-color);
}

.job-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.company-name {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.job-period {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.job-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-colored);
  border-color: var(--primary-light);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px -8px var(--primary-color);
}

.contact-details h4 {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-light);
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text-color) 0%, #0f172a 100%);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

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

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.footer-link:hover {
  color: white;
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px -8px var(--accent-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  color: var(--text-color);
  font-weight: 600;
}

.close {
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.modal-body {
  padding: 2rem;
  text-align: center;
}

#qr-code-container {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 100px 0 60px;
  }

  .name {
    font-size: 2.5rem;
  }

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

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

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

  .timeline:before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 4rem !important;
    margin-right: 0 !important;
  }

  .timeline-content:before {
    left: -20px !important;
    right: auto !important;
    border-right-color: white !important;
    border-left-color: transparent !important;
  }

  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
  }

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

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

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .section {
    padding: 60px 0;
  }

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

  .name {
    font-size: 2rem;
  }

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

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
.social-link:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  }
}

/* AI Assistant Styles */
.ai-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  margin-left: 0.5rem;
  box-shadow: var(--shadow);
}

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

.ai-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 1000;
  position: relative;
}

.ai-float-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 20px 40px -10px rgba(102, 126, 234, 0.4);
}

.ai-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.ai-chat-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 400px;
  height: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  display: none;
  flex-direction: column;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.ai-chat-widget.active {
  display: flex;
}

.ai-chat-widget.minimized {
  height: 60px;
}

.ai-chat-widget.minimized .ai-chat-body,
.ai-chat-widget.minimized .ai-chat-footer {
  display: none;
}

.ai-chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ai-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ai-title {
  flex-grow: 1;
}

.ai-title h4 {
  margin: 0;
  font-size: 1.1rem;
}

.ai-status {
  font-size: 0.85rem;
  opacity: 0.9;
}

.ai-controls {
  display: flex;
  gap: 0.5rem;
}

.ai-control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ai-control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.ai-chat-body {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  background: var(--bg-color);
}

.ai-welcome-message {
  margin-bottom: 1rem;
}

.ai-message {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.ai-message-bot {
  align-items: flex-start;
}

.ai-message-user {
  align-items: flex-end;
  flex-direction: row-reverse;
}

.ai-message-content {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
}

.ai-message-user .ai-message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.ai-message-content p {
  margin: 0 0 0.5rem 0;
}

.ai-message-content p:last-child {
  margin-bottom: 0;
}

.ai-message-content ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.ai-message-content li {
  margin-bottom: 0.25rem;
}

.ai-chat-footer {
  padding: 1rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.ai-input-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ai-message-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.ai-message-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.ai-send-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.ai-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.ai-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ai-connection-settings {
  display: none;
}

.ai-service-select {
  flex-grow: 1;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.85rem;
  background: white;
}

.ai-connect-btn {
  background: var(--accent-color);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.ai-connect-btn:hover {
  background: #0891b2;
}

.ai-connect-btn.connected {
  background: #22c55e;
}

.ai-connect-btn.connecting {
  background: #f59e0b;
  cursor: not-allowed;
}

/* Configuration Modal Styles */
.config-section h4 {
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.ai-service-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.service-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.service-card.selected {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.05);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-card h5 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.service-card p {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-config {
  display: none;
  gap: 0.5rem;
  flex-direction: column;
}

.service-card.selected .service-config {
  display: flex;
}

.service-input {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
}

.config-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Loading Animation */
.ai-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
}

.ai-typing-dot {
  width: 8px;
  height: 8px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite both;
}

.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Mobile Responsiveness for AI Widget */
@media (max-width: 768px) {
  .ai-chat-widget {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 90px;
  }
  
  .ai-float-btn {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}