/* ============================================================
   sections.css  |  Hero · About · Skills
   ============================================================ */

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7ff 0%, #eef1fc 50%, #f0ebff 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-2xl);
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 620px; }

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
}
.hero-greeting-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: availability-pulse 2s ease-in-out infinite;
}

.hero-name {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}
.hero-name span {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  min-height: 40px;
}
.hero-role-prefix { color: var(--text-muted); font-weight: 400; font-size: 0.85em; }
#typed-role { color: var(--accent-primary); font-weight: 700; }

.typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-primary);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

.hero-tagline {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.hero-social-link:hover {
  background: var(--accent-light);
  border-color: var(--border-accent);
  color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
}
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.hero-stat-sep { width: 1px; height: 16px; background: var(--border-light); }

/* Photo */
.hero-photo-wrap { position: relative; flex-shrink: 0; }
.hero-photo-ring { position: relative; width: 300px; height: 300px; }
.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(79,70,229,0.3);
  animation: spin-slow 18s linear infinite;
}
.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-primary);
  border-right-color: var(--accent-secondary);
  animation: spin-slow 6s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-photo {
  width: 300px; height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
  display: block;
}

.hero-photo-placeholder {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), #e0d9ff);
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}
.hero-photo-placeholder-initials {
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -3px;
}
.hero-photo-placeholder-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-family: var(--font-mono);
}

.hero-badge-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.hero-badge-float.top-left    { top: 10px; left: -50px; animation-delay: -1s; }
.hero-badge-float.bottom-right { bottom: 20px; right: -40px; animation-delay: -2.5s; }
.hero-badge-float-icon { font-size: 18px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-ring  { width: 220px; height: 220px; }
  .hero-photo        { width: 220px; height: 220px; }
  .hero-photo-placeholder { width: 220px; height: 220px; }
  .hero-photo-placeholder-initials { font-size: 52px; }
  .hero-badge-float.top-left    { left: -20px; }
  .hero-badge-float.bottom-right { right: -20px; }
  .hero-role-line { justify-content: center; }
  .hero-cta       { justify-content: center; }
  .hero-socials   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-tagline   { margin: 0 auto var(--space-xl); }
}
@media (max-width: 480px) {
  .hero-photo-ring { width: 180px; height: 180px; }
  .hero-photo       { width: 180px; height: 180px; }
  .hero-photo-placeholder { width: 180px; height: 180px; }
  .hero-badge-float { display: none; }
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-image-col { position: relative; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }

.about-img-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--accent-light) 0%, #e0d9ff 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xl);
}
.about-img-placeholder span {
  font-size: 80px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -3px;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

.about-exp-tag {
  position: absolute;
  bottom: 24px; left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-exp-tag-value { font-size: 28px; font-weight: 700; color: var(--accent-primary); line-height: 1; }
.about-exp-tag-text  { font-size: 12px; color: var(--text-muted); font-weight: 500; line-height: 1.4; max-width: 80px; }

.about-text-col h3    { margin-bottom: var(--space-md); color: var(--text-primary); }
.about-text-col p     { color: var(--text-secondary); margin-bottom: var(--space-md); line-height: 1.8; }

.about-edu-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-edu-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-md); }
.about-edu-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.about-edu-details h5 { color: var(--text-primary); margin-bottom: 3px; }
.about-edu-details p  { font-size: 14px; color: var(--text-muted); margin: 0; }
.about-edu-cgpa {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--accent-primary); background: var(--accent-light);
  padding: 2px 10px; border-radius: var(--radius-full);
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.about-info-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px var(--space-md);
}
.about-info-label {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-subtle);
  margin-bottom: 3px; font-family: var(--font-mono); display: block;
}
.about-info-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

@media (max-width: 900px) {
  .about-grid        { grid-template-columns: 1fr; }
  .about-image-col   { max-width: 360px; margin: 0 auto; }
  .about-exp-tag     { left: 0; }
}

/* ════════════════════════════════════════════════
   SKILLS
════════════════════════════════════════════════ */
.skills-tabs {
  display: flex; align-items: center; gap: var(--space-sm);
  flex-wrap: wrap; justify-content: center;
  margin-bottom: var(--space-xl);
}
.skills-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.skills-tab:hover { border-color: var(--border-accent); color: var(--accent-primary); background: var(--accent-light); }
.skills-tab.active { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); box-shadow: 0 2px 12px rgba(79,70,229,0.3); }

.skills-panel        { display: none; }
.skills-panel.active { display: block; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-md);
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; cursor: default;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-accent); }

.skill-icon  { font-size: 36px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.skill-name  { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.skill-level {
  font-size: 11px; font-family: var(--font-mono);
  color: var(--text-muted); background: var(--bg-secondary);
  padding: 2px 10px; border-radius: var(--radius-full);
}
.skill-card[data-level="Advanced"]     .skill-level { color: #166534; background: #f0fdf4; }
.skill-card[data-level="Intermediate"] .skill-level { color: #1d4ed8; background: #eff6ff; }
.skill-card[data-level="Familiar"]     .skill-level { color: #92400e; background: #fffbeb; }

.skills-concepts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
}
.concept-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 12px var(--space-md);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition);
}
.concept-item:hover { border-color: var(--border-accent); color: var(--accent-primary); background: var(--accent-light); }
.concept-icon { font-size: 18px; flex-shrink: 0; }

@media (max-width: 600px) {
  .skills-grid     { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .skills-concepts { grid-template-columns: 1fr; }
}