/* Portfolio – Modern Colorful */

.hero {
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 60%, #ffffff 100%);
  color: #0f172a;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  top: -180px;
  inset-inline-end: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.06);
  bottom: -100px;
  inset-inline-start: -60px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-avatar img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #c7d2fe;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.hero-info h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-info .title {
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #0f172a;
}

.hero-info .bio {
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 24px;
  line-height: 1.8;
  color: #0f172a;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: #0f172a;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  background: var(--gradient);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.hero-actions .btn-outline {
  background: transparent;
  border: 2px solid #0f172a;
  color: #0f172a;
}

.hero-actions .btn-outline:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
}

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

.skill-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: white;
  border-radius: var(--radius);
}

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

.skill-name {
  font-weight: 700;
  font-size: 1rem;
}

.skill-level {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.skill-bar {
  height: 8px;
  background: #e0e7ff;
  border-radius: 999px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 1s ease;
}

.skill-category {
  font-size: 0.75rem;
  color: var(--primary);
  background: #eef2ff;
  padding: 3px 12px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  padding-inline-start: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 7px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding: 22px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: var(--transition);
}

.timeline-item:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  inset-inline-start: -27px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--secondary);
  font-weight: 700;
}

.timeline-item .company {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

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

.timeline-item .desc {
  color: #334155;
  font-size: 0.95rem;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card .card-body {
  padding: 20px;
}

.project-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-card p {
  color: #334155;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.project-tech span {
  background: var(--gradient-soft);
  color: var(--primary-dark);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

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

/* Social */
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 1.1rem;
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .hero-info h1 { font-size: 2rem; }
  .hero-meta, .hero-actions { justify-content: center; }
  .hero-avatar img { width: 140px; height: 140px; }
  .timeline { padding-inline-start: 20px; }
  .timeline-item::before { inset-inline-start: -19px; }
}
