/* Minimal custom styles to complement Tailwind */

:root { color-scheme: light dark; }

.section { padding: 4rem 0; position: relative; }
.section.alt { background: rgba(17, 24, 39, 0.02); }
.dark .section.alt { background: rgba(17, 24, 39, 0.3); }
.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

/* Enhanced Section Titles with Animated Underlines */
.section-title { 
  font-size: 1.875rem; 
  line-height: 2.25rem; 
  font-weight: 800; 
  margin-bottom: 2.5rem; 
  position: relative;
  display: inline-block;
  color: rgb(17 24 39);
  text-align: center;
  width: 100%;
}

.dark .section-title {
  color: rgb(243 244 246);
}

/* Animated underline for section titles */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(79 70 229), rgb(99 102 241), rgb(139 92 246));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animate-underline::after {
  width: 60px;
}

/* Decorative dots around section titles */
.section-title::before {
  content: '• • •';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgb(79 70 229);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.dark .section-title::before {
  color: rgb(165 180 252);
}

.section-title.animate-underline::before {
  opacity: 1;
}

.card { border: 1px solid rgba(229, 231, 235, 1); border-radius: 0.75rem; overflow: hidden; background: white; }
.dark .card { border-color: rgb(55 65 81); background: rgb(17 24 39); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.card-body { padding: 1rem; }

/* Subtle card hover */
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); border-color: rgb(199 210 254); }
.dark .card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.35); border-color: rgb(79 70 229); }

.tag { font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 9999px; border: 1px solid rgba(229, 231, 235, 1); }
.dark .tag { border-color: rgb(55 65 81); }

.badge { font-size: 0.65rem; padding: 0.15rem 0.5rem; border-radius: 9999px; background: rgb(79 70 229); color: white; }

.link { color: rgb(79 70 229); }
.dark .link { color: rgb(165 180 252); }
/* Underline slide animation */
.link { position: relative; text-decoration: none; }
.link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.link:hover::after { transform: scaleX(1); }

.nav-link { color: rgb(75 85 99); }
.dark .nav-link { color: rgb(209 213 219); }
.nav-link:hover { color: rgb(17 24 39); }
.dark .nav-link:hover { color: white; }

/* Timeline */
.timeline-item { position: relative; padding-left: 1.5rem; margin-left: 0.75rem; margin-bottom: 1.5rem; }
.timeline-dot { position: absolute; left: -0.4rem; top: 0.25rem; width: 0.6rem; height: 0.6rem; background: rgb(79 70 229); border-radius: 9999px; }
.timeline-card { border: 1px solid rgba(229, 231, 235, 1); border-radius: 0.5rem; padding: 0.75rem; background: white; }
.dark .timeline-card { border-color: rgb(55 65 81); background: rgb(17 24 39); }

/* Typography helpers for About */
.prose p { margin: 0.75rem 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose a { color: rgb(79 70 229); text-decoration: underline; }
.dark .prose a { color: rgb(165 180 252); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Section Dividers with Animation */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(79 70 229), transparent);
  margin: 3rem 0;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-divider.animate {
  opacity: 1;
  transform: scaleX(1);
}

.dark .section-divider {
  background: linear-gradient(90deg, transparent, rgb(165 180 252), transparent);
}

/* Floating particles around sections */
.section-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgb(79 70 229);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.dark .particle {
  background: rgb(165 180 252);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { left: 80%; animation-delay: 4s; }
.particle:nth-child(6) { left: 90%; animation-delay: 5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

/* Enhanced section backgrounds */
.section-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: radial-gradient(circle at 25% 25%, rgb(79 70 229) 1px, transparent 1px),
                    radial-gradient(circle at 75% 75%, rgb(99 102 241) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  pointer-events: none;
}

.dark .section-bg-pattern {
  opacity: 0.05;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
  .link::after { transition: none; }
  .section-title::after { transition: none; width: 60px; }
  .section-title::before { transition: none; opacity: 1; }
  .section-divider { transition: none; opacity: 1; transform: scaleX(1); }
  .particle { animation: none; }
}

/* Image zoom on card hover (projects/blogs) */
.card img { transition: transform .35s ease; }
.group:hover .card img, .card:hover img { transform: scale(1.03); }

/* Icons: consistent sizing and alignment */
#social-links { display: flex; align-items: center; gap: 0.5rem; }
.icon { width: 1.25rem; height: 1.25rem; display: block; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; color: rgb(75 85 99); border: 1px solid rgba(229, 231, 235, 1); background: white; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.dark .icon-btn { color: rgb(209 213 219); background: rgb(17 24 39); border-color: rgb(55 65 81); }
.icon-btn:hover { color: rgb(79 70 229); border-color: rgb(199 210 254); transform: translateY(-1px); }
.dark .icon-btn:hover { color: rgb(165 180 252); border-color: rgb(79 70 229); }

.contact-item { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.15rem 0.25rem; border-radius: 0.375rem; }
.contact-item svg { width: 1.1rem; height: 1.1rem; }

/* Text clamping */
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
/* 3-line clamp */
.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

/* Align all sections to About width (Tailwind max-w-6xl ≈ 72rem) */
@media (min-width: 1024px) {
  section.section > .container { max-width: 72rem; }
}

/* Make Contact section a bit wider */
@media (min-width: 1280px) {
  section#contact > .container { max-width: 80rem; }
}

/* Projects grid: 3 columns on desktop, compact spacing */
#projects-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  #projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  #projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Project card compact style */
.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.project-header { margin-bottom: 0.5rem; }
.project-subtitle { 
  margin-top: 0.25rem; 
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
}
.project-responsibilities { margin-top: 0.5rem; }
.responsibility-item { margin-bottom: 0.4rem; }

/* Education */
.edu-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; border-radius: 0.375rem; border: 1px solid rgba(229,231,235,1); background: white; }
.dark .edu-logo { border-color: rgb(31 41 55); background: rgb(17 24 39); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

/* Two-column layout for contact */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .contact-two-col { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.contact-inline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .contact-inline { justify-content: flex-start; align-items: stretch; }
}

/* Inline contact items stacked vertically fill container width */
.contact-inline .contact-item {
  width: 100%;
  max-width: 26rem;
  padding: 1rem 1rem; /* slightly taller */
  min-height: 3.25rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.6rem;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
  max-width: 22rem;
}
.dark .contact-item { border-color: rgb(55 65 81); background: rgb(17 24 39); }
.contact-item:hover {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
  transform: translateY(-1px);
}
.dark .contact-item:hover {
  border-color: rgba(165, 180, 252, 0.35);
  box-shadow: 0 8px 20px rgba(165, 180, 252, 0.12);
}

.contact-icon .icon { width: 1.1rem; height: 1.1rem; color: rgb(79 70 229); }
.dark .contact-icon .icon { color: rgb(165 180 252); }
.contact-label { font-size: 0.95rem; }

/* Contact form card */
.contact-card {
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.dark .contact-card { border-color: rgb(55 65 81); background: rgb(17 24 39); }
.contact-form-card { width: 100%; max-width: 48rem; }
.contact-card-header { padding: 1.25rem 1.25rem 0.25rem 1.25rem; }
.contact-card-title { font-weight: 600; }
.contact-card-sub { font-size: 0.875rem; color: rgb(107 114 128); }
.dark .contact-card-sub { color: rgb(156 163 175); }
.contact-form { padding: 1rem 1.25rem 1.25rem 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.85rem; color: rgb(55 65 81); }
.dark .form-field label { color: rgb(209 213 219); }
.form-field input, .form-field textarea {
  border: 1px solid rgb(229 231 235);
  background: white;
  color: rgb(17 24 39);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dark .form-field input, .dark .form-field textarea {
  border-color: rgb(55 65 81);
  background: rgb(17 24 39);
  color: rgb(229 231 235);
}
.form-field input:focus, .form-field textarea:focus {
  border-color: rgb(79 70 229);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.dark .form-field input:focus, .dark .form-field textarea:focus {
  border-color: rgb(165 180 252);
  box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.15);
}
.form-actions { margin-top: 0.25rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 0.5rem; }
.btn-primary { background: rgb(79 70 229); color: white; padding: 0.5rem 0.9rem; }
.btn-primary:hover { background: rgb(67 56 202); }

/* About Cards */
.about-cards { margin-top: 1.5rem; margin-bottom: 2rem; }
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .about-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

.about-card {
  border: 1px solid rgb(229 231 235);
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.dark .about-card {
  border-color: rgb(55 65 81);
  background: rgb(17 24 39);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.about-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
  transform: translateY(-2px);
}
.dark .about-card:hover {
  border-color: rgba(165, 180, 252, 0.35);
  box-shadow: 0 8px 24px rgba(165, 180, 252, 0.12);
}

.about-card-body { padding: 1.25rem; text-align: center; }
.about-card-icon {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 0.75rem auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px; background: rgba(79, 70, 229, 0.08);
}
.about-card-icon .icon { width: 1.75rem; height: 1.75rem; color: rgb(79 70 229); }
.dark .about-card-icon { background: rgba(165, 180, 252, 0.12); }
.dark .about-card-icon .icon { color: rgb(165 180 252); }

.about-card-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.about-card-text { font-size: 0.95rem; color: rgb(75 85 99); }
.dark .about-card-text { color: rgb(209 213 219); }

/* Enhanced Skills Section */
.skills-category {
  margin-bottom: 2rem;
}

.skills-category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(79 70 229);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.dark .skills-category-title {
  color: rgb(165 180 252);
}

.skills-category-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgb(79 70 229), rgb(165 180 252));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.skills-category:hover .skills-category-title::after {
  transform: scaleX(1);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Skills Filters */
.skills-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgb(229 231 235);
  background: white;
  color: rgb(55 65 81);
  transition: all 0.2s ease;
}

.dark .filter-btn {
  background: rgb(17 24 39);
  border-color: rgb(55 65 81);
  color: rgb(209 213 219);
}

.filter-btn:hover {
  border-color: rgb(199 210 254);
  color: rgb(79 70 229);
}

.dark .filter-btn:hover {
  border-color: rgb(79 70 229);
  color: rgb(165 180 252);
}

.filter-btn.active {
  background: rgb(79 70 229);
  color: white;
  border-color: rgb(79 70 229);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

.dark .filter-btn.active {
  background: linear-gradient(135deg, rgb(79 70 229), rgb(99 102 241));
  border-color: rgb(99 102 241);
}

/* Enhanced skill tags with animations */
.skill-tag {
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgb(249 250 251), rgb(243 244 246));
  border: 1px solid rgba(229, 231, 235, 1);
  color: rgb(55 65 81);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  transform: translateY(0);
  opacity: 0;
  animation: skillFadeIn 0.6s ease forwards;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dark .skill-tag {
  background: linear-gradient(135deg, rgb(31 41 55), rgb(17 24 39));
  border-color: rgb(55 65 81);
  color: rgb(209 213 219);
}

/* Staggered animation delay */
.skill-tag:nth-child(1) { animation-delay: 0.1s; }
.skill-tag:nth-child(2) { animation-delay: 0.15s; }
.skill-tag:nth-child(3) { animation-delay: 0.2s; }
.skill-tag:nth-child(4) { animation-delay: 0.25s; }
.skill-tag:nth-child(5) { animation-delay: 0.3s; }
.skill-tag:nth-child(6) { animation-delay: 0.35s; }
.skill-tag:nth-child(7) { animation-delay: 0.4s; }
.skill-tag:nth-child(8) { animation-delay: 0.45s; }

/* Hover effects */
.skill-tag:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, rgb(79 70 229), rgb(99 102 241));
  color: white;
  border-color: rgb(79 70 229);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.dark .skill-tag:hover {
  background: linear-gradient(135deg, rgb(79 70 229), rgb(99 102 241));
  border-color: rgb(99 102 241);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

/* Shimmer effect on hover */
.skill-tag::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: left 0.5s ease;
}

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

/* Monochrome vector icon for skills */
.skill-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
}

.skill-name {
  line-height: 1;
}

/* Keyframe animations */
@keyframes skillFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pulse animation for category titles */
@keyframes categoryPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.skills-category-title {
  animation: categoryPulse 2s ease-in-out infinite;
}

.skills-category:hover .skills-category-title {
  animation: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .skill-tag {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .skills-category-title {
    font-size: 1rem;
  }
}

/* Professional Project Cards */
.project-card {
  background: white;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.dark .project-card {
  background: rgb(17 24 39);
  border-color: rgb(55 65 81);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgb(79 70 229);
}

.dark .project-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.project-header {
  padding: 1.5rem 2rem 1rem 2rem;
  position: relative;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dark .project-header {
  background: rgb(17 24 39);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.project-company {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(79 70 229);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dark .project-company {
  color: rgb(165 180 252);
}

.project-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: rgb(17 24 39);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.dark .project-title {
  color: rgb(243 244 246);
}

.project-subtitle {
  font-size: 0.8rem;
  color: rgb(75 85 99);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .project-subtitle {
  color: rgb(156 163 175);
}

.project-body {
  padding: 0 2rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-description {
  color: rgb(55 65 81);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.dark .project-description {
  color: rgb(209 213 219);
}

.project-responsibilities {
  flex: 1;
}

.responsibilities-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(17 24 39);
  margin-bottom: 0.75rem;
}

.dark .responsibilities-title {
  color: rgb(243 244 246);
}

.responsibility-item {
  font-size: 0.85rem;
  color: rgb(75 85 99);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.dark .responsibility-item {
  color: rgb(156 163 175);
}

.responsibility-item::before {
  content: '•';
  color: rgb(79 70 229);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  top: 0.1rem;
}

.dark .responsibility-item::before {
  color: rgb(165 180 252);
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.tech-tag {
  font-size: 0.72rem;
  padding: 0.1rem 0.35rem;
  background: transparent;
  color: rgb(75 85 99);
  border: none;
  border-radius: 0.25rem;
  transition: color 0.2s ease;
}

.dark .tech-tag {
  background: transparent;
  color: rgb(209 213 219);
}

.tech-tag:hover {
  color: rgb(79 70 229);
}

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

.project-link {
  padding: 0;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
  border: none;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-link-primary {
  background: transparent;
  color: rgb(79 70 229);
}

.project-link-primary:hover {
  color: rgb(67 56 202);
}

.project-link-secondary {
  background: transparent;
  color: rgb(79 70 229);
}

.dark .project-link-secondary {
  color: rgb(165 180 252);
}

.project-link-secondary:hover {
  color: rgb(99 102 241);
}

.project-status {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-live {
  background: rgb(220 252 231);
  color: rgb(22 101 52);
  border: 1px solid rgb(187 247 208);
}

.dark .status-live {
  background: rgb(6 78 59);
  color: rgb(167 243 208);
  border-color: rgb(22 101 52);
}

.status-development {
  background: rgb(254 249 195);
  color: rgb(133 77 14);
  border: 1px solid rgb(253 230 138);
}

.dark .status-development {
  background: rgb(120 53 15);
  color: rgb(253 230 138);
  border-color: rgb(133 77 14);
}

.status-completed {
  background: rgb(219 234 254);
  color: rgb(30 64 175);
  border: 1px solid rgb(147 197 253);
}

.dark .status-completed {
  background: rgb(30 58 138);
  color: rgb(147 197 253);
  border-color: rgb(30 64 175);
}

/* Responsive design */
@media (max-width: 768px) {
  .project-header {
    padding: 1.25rem;
  }
  
  .project-body {
    padding: 1.25rem;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .project-links {
    flex-direction: column;
  }
  
  .project-link {
    text-align: center;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .skill-tag {
    animation: none;
    opacity: 1;
    transition: none;
  }
  
  .skills-category-title {
    animation: none;
  }
  
  .skills-category-title::after {
    transition: none;
  }
  
  .skill-tag:hover {
    transform: none;
  }
  
  .project-card {
    transition: none;
  }
  
  .project-card:hover {
    transform: none;
  }
  
  .tech-tag:hover {
    transform: none;
  }
  
  .project-link:hover {
    transform: none;
  }
}

/* Professional Experience Section */
.experience-timeline {
  position: relative;
  padding: 2rem 0;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgb(79 70 229), rgb(165 180 252));
  border-radius: 2px;
  opacity: 1;
  transform: scaleY(var(--timeline-progress, 0));
  transform-origin: top;
  transition: transform 0.3s ease-out;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.4);
}

.experience-timeline.animate-line::before {
  transform: scaleY(1);
}

.experience-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 5rem;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease-out forwards;
}

.experience-item:nth-child(1) { animation-delay: 0.2s; }
.experience-item:nth-child(2) { animation-delay: 0.4s; }
.experience-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.experience-marker {
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: white;
  border: 4px solid rgb(79 70 229);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  transition: all 0.3s ease;
  z-index: 2;
}

.dark .experience-marker {
  background: rgb(17 24 39);
  border-color: rgb(165 180 252);
  box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.1);
}

.experience-item:hover .experience-marker {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.2);
}

.dark .experience-item:hover .experience-marker {
  box-shadow: 0 0 0 8px rgba(165, 180, 252, 0.2);
}

.experience-card {
  background: white;
  border: 1px solid rgb(229 231 235);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dark .experience-card {
  background: rgb(17 24 39);
  border-color: rgb(55 65 81);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgb(79 70 229), rgb(165 180 252));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.experience-item:hover .experience-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: rgb(79 70 229);
}

.dark .experience-item:hover .experience-card {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  border-color: rgb(165 180 252);
}

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

.experience-title-group {
  flex: 1;
  min-width: 250px;
}

.experience-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgb(17 24 39);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, rgb(79 70 229), rgb(165 180 252));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .experience-role {
  background: linear-gradient(135deg, rgb(165 180 252), rgb(196 181 253));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.experience-company {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgb(79 70 229);
  margin-bottom: 0.5rem;
}

.dark .experience-company {
  color: rgb(165 180 252);
}

.experience-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.experience-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(55 65 81);
  background: rgb(243 244 246);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.dark .experience-period {
  color: rgb(209 213 219);
  background: rgb(31 41 55);
}

.experience-location {
  font-size: 0.85rem;
  color: rgb(107 114 128);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dark .experience-location {
  color: rgb(156 163 175);
}

.experience-location::before {
  content: '📍';
  font-size: 0.75rem;
}

.experience-description {
  color: rgb(75 85 99);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.dark .experience-description {
  color: rgb(156 163 175);
}

.experience-highlights {
  margin-bottom: 1.5rem;
}

.highlights-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(17 24 39);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark .highlights-title {
  color: rgb(243 244 246);
}

.highlights-title::before {
  content: '⭐';
  font-size: 0.8rem;
}

.highlight-item {
  font-size: 0.85rem;
  color: rgb(75 85 99);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  transition: all 0.2s ease;
}

.dark .highlight-item {
  color: rgb(156 163 175);
}

.highlight-item::before {
  content: '▸';
  color: rgb(79 70 229);
  font-weight: bold;
  position: absolute;
  left: 0;
  transition: all 0.2s ease;
}

.dark .highlight-item::before {
  color: rgb(165 180 252);
}

.highlight-item:hover {
  color: rgb(17 24 39);
  padding-left: 1.25rem;
}

.dark .highlight-item:hover {
  color: rgb(243 244 246);
}

.highlight-item:hover::before {
  transform: translateX(0.25rem);
}

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

.experience-tech-tag {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, rgb(79 70 229), rgb(99 102 241));
  color: white;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.experience-tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.dark .experience-tech-tag {
  background: linear-gradient(135deg, rgb(165 180 252), rgb(196 181 253));
  color: rgb(17 24 39);
}

.dark .experience-tech-tag:hover {
  box-shadow: 0 4px 8px rgba(165, 180, 252, 0.3);
}

/* Mobile responsiveness for experience section */
@media (max-width: 768px) {
  .experience-timeline::before {
    left: 1rem;
  }
  
  .experience-item {
    padding-left: 3rem;
  }
  
  .experience-marker {
    left: -2rem;
  }
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .experience-meta {
    align-items: flex-start;
    text-align: left;
  }
  
  .experience-card {
    padding: 1.5rem;
  }
}

/* Company link styling */
.company-link {
  color: rgb(79 70 229);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.dark .company-link {
  color: rgb(165 180 252);
}

.company-link:hover {
  color: rgb(67 56 202);
  text-decoration: underline;
}

.dark .company-link:hover {
  color: rgb(196 181 253);
}

/* Add external link icon */
.company-link::after {
  content: '';
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.375rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15,3 21,3 21,9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: all 0.2s ease;
  transform: translateY(0);
}

.dark .company-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15,3 21,3 21,9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

.company-link:hover::after {
  opacity: 1;
  transform: translateY(-1px) scale(1.1);
}
