/* ==========================================================================
   Kotagiri Mansi - Cybersecurity & SOC Analyst Portfolio
   Design System & Styling
   ========================================================================== */

/* --- Custom Variables & Theme --- */
:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1322;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(22, 34, 58, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(6, 182, 212, 0.35);
  --border-accent: rgba(16, 185, 129, 0.35);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #ffffff;

  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-yellow: #f59e0b;
  --accent-red: #ef4444;

  --gradient-cyan-blue: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-card: linear-gradient(180deg, rgba(22, 34, 58, 0.6) 0%, rgba(13, 19, 34, 0.8) 100%);
  --gradient-accent-border: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #10b981 100%);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace, Consolas, Monaco;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(6, 182, 212, 0.16);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Global Defaults --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 88% 65%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* --- Utility Container & Section Layouts --- */
.section {
  padding: 92px 24px;
  position: relative;
}

.section.bg-alt {
  background-color: rgba(13, 19, 34, 0.65);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.25);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-highlight);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.section-line {
  width: 48px;
  height: 3px;
  background: var(--gradient-cyan-blue);
  margin: 16px auto 0;
  border-radius: var(--radius-full);
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(8, 12, 20, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-highlight);
}

.brand-bracket {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

.brand-name {
  color: var(--text-highlight);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #080c14;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  background: var(--accent-cyan-light);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
}

.nav-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  padding-top: 140px;
  padding-bottom: 84px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-emerald); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-highlight);
  margin-bottom: 14px;
}

.highlight-text {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  font-family: var(--font-mono);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-cyan-blue);
  color: #080c14;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  filter: brightness(1.1);
}

.spin {
  animation: spin-rotate 1s linear infinite;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.83rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

/* Modern Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  background: rgba(16, 24, 40, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.stat-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
  background: rgba(22, 34, 58, 0.7);
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-highlight);
  line-height: 1.1;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-divider {
  display: none;
}

/* Terminal Preview Window */
.hero-terminal {
  perspective: 1000px;
}

.terminal-window {
  background: #070b13;
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), var(--shadow-glow);
  overflow: hidden;
  font-family: var(--font-mono);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.terminal-window:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.45);
}

.terminal-header {
  background: #0d1422;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  margin-left: 14px;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.terminal-badge {
  font-size: 0.64rem;
  color: var(--accent-emerald-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 18px 20px;
  font-size: 0.86rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.terminal-line {
  color: var(--text-main);
  display: flex;
  gap: 8px;
  align-items: center;
}

.prompt {
  color: var(--accent-cyan);
  font-weight: 600;
}

.cmd {
  color: #f8fafc;
}

.terminal-output {
  color: var(--text-muted);
  padding-left: 18px;
  font-size: 0.82rem;
}

.terminal-output.highlight-quote {
  color: var(--accent-cyan-light);
  font-style: italic;
}

.term-tag {
  display: inline-block;
  color: var(--accent-emerald-light);
  margin-right: 4px;
}

.terminal-box {
  margin: 5px 0 5px 18px;
  background: rgba(13, 19, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
}

.soc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.soc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.soc-dot.green { background: var(--accent-emerald); }
.soc-dot.cyan { background: var(--accent-cyan); }
.soc-dot.yellow { background: var(--accent-yellow); }
.soc-dot.blue { background: var(--accent-blue); }

.cursor {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 700;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- About Me Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 30px;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

.main-bio .bio-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.main-bio h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 14px;
}

.main-bio p {
  color: var(--text-muted);
  margin-bottom: 13px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.main-bio strong {
  color: var(--text-main);
}

.bio-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.highlight-chip {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: rgba(13, 19, 34, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 15px;
}

.chip-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.highlight-chip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-highlight);
}

.highlight-chip p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

/* Quick Info Card */
.quick-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 18px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.info-val {
  font-size: 0.93rem;
  color: var(--text-main);
  font-weight: 500;
}

.info-val.highlight-val {
  color: var(--accent-emerald-light);
  font-weight: 700;
  font-family: var(--font-mono);
}

.link-inline {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-action {
  margin-top: 22px;
}

/* --- Skills Section --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.skill-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent-border);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.skill-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--shadow-md);
}

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

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.category-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.category-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-highlight);
}

.skills-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 19, 34, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: all var(--transition-fast);
}

.skill-badge-item:hover {
  background: rgba(22, 34, 58, 0.85);
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateX(4px);
}

.skill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-dot.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.skill-dot.emerald {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.skill-dot.purple {
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-highlight);
}

/* --- Projects Section (Streamlined & Clean) --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cyan-blue);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

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

.project-badge-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-highlight);
  line-height: 1.25;
}

.project-category {
  font-size: 0.77rem;
  color: var(--accent-emerald-light);
  font-family: var(--font-mono);
  display: block;
  margin-top: 2px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Streamlined Project Bullets */
.project-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.project-bullets li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  position: relative;
  padding-left: 18px;
}

.project-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  line-height: 1.2;
}

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

.tech-tag {
  font-size: 0.73rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.project-tag-status {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* --- Education Section --- */
.education-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-item.current .marker-dot {
  background: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateX(4px);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.meta-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.meta-year {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.institution-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-highlight);
  margin-bottom: 3px;
}

.degree-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 0;
}

.score-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.score-value {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-emerald-light);
}

.score-term {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.degree-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Certifications & Workshops Section --- */
.creds-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.creds-column {
  display: flex;
  flex-direction: column;
}

.column-title-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.column-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.column-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.column-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.column-title-bar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-highlight);
}

.cert-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.cert-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.cert-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cyan);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.cert-status-dot.emerald {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.cert-info h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 3px;
}

.cert-issuer {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 5px;
}

.cert-card.workshop .cert-issuer {
  color: var(--accent-emerald-light);
}

.cert-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  transition: all var(--transition-fast);
}

.contact-channel-card.clickable:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-content {
  flex-grow: 1;
}

.channel-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.channel-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-highlight);
}

.channel-arrow {
  color: var(--accent-cyan);
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.contact-channel-card.clickable:hover .channel-arrow {
  transform: translateX(4px);
}

/* Copy Email Button */
.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #070b13;
  border: 1px solid var(--border-color);
  color: var(--text-highlight);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.copy-btn:hover .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.contact-form h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 5px;
}

.form-instruction {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  background: #070b13;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-highlight);
  font-size: 0.93rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-status {
  margin-top: 14px;
  font-size: 0.86rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-light);
}

/* --- Refined Modern Footer (No bottom navigation buttons) --- */
.footer {
  background: #05080e;
  border-top: 1px solid var(--border-color);
  padding: 44px 24px 30px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .brand-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-highlight);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--accent-cyan-light);
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
}

.dot-separator {
  display: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-cyan);
  color: #080c14;
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-title {
    font-size: 2.7rem;
  }

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

  .about-grid,
  .creds-dual-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 18px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #070b13;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 1.12rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .education-timeline {
    padding-left: 28px;
  }

  .timeline-marker {
    left: -28px;
  }

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

/* Print Stylesheet for cleanly saving resume */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .navbar, .hero-buttons, .hero-terminal, .back-to-top, .contact-form-container, .btn, .footer-socials {
    display: none !important;
  }

  .section {
    padding: 16px 0 !important;
  }

  .about-card, .skill-category-card, .project-card, .timeline-card, .cert-card {
    border: 1px solid #ccc !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  .text-muted, .pill-desc, .project-desc, .cert-note {
    color: #444444 !important;
  }
}
