/**
 * Suravi Sehgal — Component Stylesheet
 * High-polish layout components, cards, navigation, terminal, and modals
 */

/* =============================================================
   1. NAVBAR
   ============================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(4, 7, 17, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(4, 7, 17, 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-btn);
  color: #040711;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
  transition: transform 0.25s var(--ease);
}
.nav-logo:hover .logo-badge {
  transform: scale(1.06);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.logo-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover {
  color: var(--text-main);
  background: var(--surface-2);
}
.nav-link.active {
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.1);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
}
.nav-tool-btn:hover {
  color: var(--cyan);
  background: var(--surface-2);
  border-color: var(--cyan);
}
.nav-tool-btn.sound-on {
  color: var(--cyan-bright);
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.hamburger .bar {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================
   2. HERO SECTION
   ============================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(8, 13, 30, 0.7);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-glow 2.2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero-title span.name-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}
.hero-headline em {
  font-style: normal;
  color: var(--cyan-bright);
}

.hero-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-number .plus {
  color: var(--cyan);
  font-size: 1.4rem;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* Hero Right Column: Developer Visual & CLI */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}
.profile-titles h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.profile-titles p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
}
.profile-titles .profile-loc {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

/* Embedded Hero Terminal */
.hero-terminal {
  margin-top: 1.2rem;
  background: rgba(3, 6, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.terminal-output {
  max-height: 190px;
  overflow-y: auto;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.terminal-output::-webkit-scrollbar {
  width: 4px;
}
.terminal-output::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 4px;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.terminal-prompt {
  color: var(--cyan);
  font-weight: 700;
}
.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
}

/* CLI Text styling */
.cli-line {
  margin-block: 0.25rem;
}
.cli-prompt {
  color: var(--cyan);
}
.cli-cmd-text {
  color: #fff;
}
.cli-response {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}
.cli-hl {
  color: #fff;
  font-weight: 700;
}
.cli-accent {
  color: var(--cyan-bright);
}
.cli-dim {
  color: var(--text-dim);
  font-size: 0.78rem;
}
.cli-cmd {
  color: var(--amber);
  font-weight: 600;
}
.cli-tag {
  color: var(--violet);
}
.cli-badge {
  background: rgba(251, 191, 36, 0.15);
  color: var(--amber);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
}
.cli-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  margin: 2px;
  font-size: 0.72rem;
}
.cli-link {
  color: var(--cyan);
  text-decoration: underline;
}
.cli-err {
  color: #f87171;
}

/* =============================================================
   3. ABOUT SECTION
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-card-left {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.about-card-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-btn);
}

.about-profile-visual {
  margin-bottom: 1.8rem;
  position: relative;
}
.about-large-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
}
.about-role-card {
  position: absolute;
  bottom: -15px;
  left: 15px;
  right: 15px;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 13, 30, 0.92);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(14px);
}
.about-role-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.about-role-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
}

.about-text-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1.2rem;
}
.about-text-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar-item {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pillar-item:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}
.pillar-icon {
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* =============================================================
   4. PROJECTS SECTION & FILTERING
   ============================================================= */
.projects-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: rgba(8, 13, 30, 0.7);
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover {
  color: #fff;
  background: var(--surface-2);
}
.filter-btn.active {
  background: var(--grad-btn);
  color: #040711;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
}

.project-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020409;
  cursor: pointer;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 7, 17, 0.95) 100%);
  pointer-events: none;
}

.project-badge-bar {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 2;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-header {
  margin-bottom: 0.85rem;
}
.project-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.project-subtitle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  line-height: 1.4;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.project-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =============================================================
   5. SKILLS SECTION
   ============================================================= */
.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skills-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s var(--ease);
}
.skills-category-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

@media (min-width: 992px) {
  .skills-category-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .skills-category-card:last-child:nth-child(odd) .skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 2.5rem;
  }
}

.skills-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.skills-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  font-size: 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.skills-category-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.skill-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.skill-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}
.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 1px 7px;
  border-radius: 4px;
}
.skill-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-btn);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  transition: width 1s var(--ease);
}

/* =============================================================
   6. ACHIEVEMENTS & CERTIFICATIONS
   ============================================================= */
.achievements-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.achievement-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.achievement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.4);
}

.ach-icon-col {
  display: flex;
  align-items: flex-start;
}
.ach-medal {
  font-size: 2.2rem;
  line-height: 1;
}

.ach-info {
  flex: 1;
}
.ach-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.ach-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}
.ach-year {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
}

.ach-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.ach-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.ach-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.certifications-col {
  display: flex;
  flex-direction: column;
}
.certifications-col h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.certifications-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.cert-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
}
.cert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.cert-issuer-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cert-icon {
  font-size: 1.3rem;
}
.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}
.cert-verified-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.cert-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--violet);
  margin-bottom: 0.5rem;
}
.cert-id-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cert-id-tag code {
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 6px;
  border-radius: 4px;
}
.cert-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.9rem;
  flex: 1;
}
.cert-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}
.cert-skill-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1px 7px;
  border-radius: 4px;
}
.cert-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-cert-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.btn-cert-verify:hover {
  background: var(--cyan);
  color: #040711;
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}
.btn-cert-inspect {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  transition: all 0.2s var(--ease);
}
.btn-cert-inspect:hover {
  background: var(--surface-2);
  color: #fff;
  border-color: var(--border-strong);
}

/* Modal for Certificate Details */
.modal-cert-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.2rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.08));
  border-bottom: 1px solid var(--border);
}
.modal-cert-badge-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(8, 13, 30, 0.8);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}
.cert-modal-icon {
  font-size: 2.4rem;
}
.modal-cert-head-info {
  flex: 1;
}
.cert-modal-issuer {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}
.cert-verified-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

/* =============================================================
   7. EXPERIENCE & EDUCATION TIMELINE
   ============================================================= */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet), rgba(255, 255, 255, 0.05));
}

.timeline-item {
  display: flex;
  gap: 2rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.3);
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.timeline-card:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.35);
}

.timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.timeline-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.timeline-tag.internship {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.timeline-tag.education {
  background: rgba(129, 140, 248, 0.12);
  color: var(--violet);
  border: 1px solid rgba(129, 140, 248, 0.3);
}
.timeline-tag.leadership {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.timeline-company {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.timeline-loc {
  color: var(--text-dim);
}
.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-points {
  margin-left: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.timeline-points li {
  margin-bottom: 0.45rem;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* =============================================================
   8. GITHUB / DEVELOPER ACTIVITY SECTION
   ============================================================= */
.github-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.github-overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 70%);
  pointer-events: none;
}

.gh-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gh-user-identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.gh-avatar-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  object-fit: cover;
  object-position: center 25%;
}
.gh-name-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.gh-name-wrap a {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--cyan);
}
.gh-name-wrap a:hover {
  text-decoration: underline;
}

.gh-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.gh-metric-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.gh-metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.gh-metric-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

.gh-languages-bar {
  margin-bottom: 2.5rem;
}
.gh-lang-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
}
.lang-progress-multi {
  display: flex;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
}
.lang-segment {
  height: 100%;
  transition: width 1s var(--ease);
}
.lang-ts { background: #3178c6; }
.lang-py { background: #3572a5; }
.lang-dart { background: #00b4ab; }
.lang-js { background: #f1e05a; }
.lang-html { background: #e34c26; }

.lang-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gh-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.gh-cta-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.gh-cta-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================================
   9. CONTACT SECTION & FOOTER
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-info-col p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  transition: all 0.2s var(--ease);
}
.contact-link-card:hover {
  transform: translateX(4px);
  border-color: var(--cyan);
  background: var(--bg-card-hover);
}

.contact-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  font-size: 1.2rem;
}
.contact-link-text h4 {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.contact-link-text p {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
}

.copy-btn {
  margin-left: auto;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  transition: all 0.2s var(--ease);
}
.copy-btn:hover {
  background: var(--cyan);
  color: #040711;
  border-color: var(--cyan);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(14px);
}
.form-group {
  margin-bottom: 1.35rem;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(3, 6, 15, 0.7);
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #020409;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-copy {
  color: var(--text-dim);
  font-size: 0.88rem;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-link:hover {
  color: var(--cyan);
}

/* =============================================================
   10. PROJECT ARCHITECTURE MODAL
   ============================================================= */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: var(--bg-elev);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.15);
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s var(--ease-bounce);
}
.project-modal.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-header-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.modal-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-title-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(8, 13, 30, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.modal-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.modal-subtitle {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--cyan);
}

.modal-inner-content {
  padding: 2rem;
}

.modal-section {
  margin-bottom: 2rem;
}
.modal-subheading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modal-subheading i {
  color: var(--cyan);
}

.modal-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.arch-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
}
.arch-key {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan);
  margin-right: 0.4rem;
}
.arch-val {
  color: var(--text-main);
}

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

.modal-links-box {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.modal-actions-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.modal-repo-info {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.modal-repo-info code {
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

/* =============================================================
   11. RESPONSIVE BREAKPOINTS
   ============================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .skills-container {
    grid-template-columns: 1fr;
  }
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gh-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }
  .section {
    padding-block: 4.5rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(4, 7, 17, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    width: 100%;
    border-radius: var(--radius-md);
  }
  .timeline::before {
    left: 12px;
  }
  .timeline-marker {
    width: 26px;
    height: 26px;
  }
  .timeline-card {
    padding: 1.25rem;
  }
}

/* =============================================================
   12. COLLABORATION CALLOUT & WORKSHOPS
   ============================================================= */
.collab-callout-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(129, 140, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  margin-top: 2.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.collab-callout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-btn);
}
.collab-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}
.collab-text h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.collab-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.collab-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.workshops-section {
  margin-top: 4rem;
}
.workshops-section-head {
  margin-bottom: 1.8rem;
}
.workshops-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.workshops-section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.workshop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(56, 189, 248, 0.1);
}
.workshop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.workshop-org {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 700;
}
.workshop-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.workshop-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.workshop-focus {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  margin-bottom: 0.65rem;
}
.workshop-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}
.workshop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .collab-callout-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .collab-btn {
    margin-left: 0;
    width: 100%;
  }
}

