/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  --bg-primary: #080b11;
  --bg-secondary: #0f1522;
  --card-bg: rgba(15, 21, 34, 0.55);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-glow: rgba(0, 242, 254, 0.15);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Gradients & Accents */
  --accent-cyan: #00f2fe;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #e879f9 100%);
  --gradient-dark: linear-gradient(180deg, #080b11 0%, #0f1522 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', Courier, monospace;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0f1522 0%, #080b11 100%);
}

/* Subtle overlay grid */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

.nav-toggle {
  display: none;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px) saturate(190%);
  -webkit-backdrop-filter: blur(12px) saturate(190%);
  border-bottom: 1px solid var(--card-border);
  background-color: rgba(8, 11, 17, 0.75);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}

.logo span {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #080b11;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  transform: translateY(-2px);
}

/* General Layouts */
section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 242, 254, 0.03);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  background-image: 
    linear-gradient(180deg, rgba(8, 11, 17, 0.55) 0%, rgba(8, 11, 17, 0.98) 100%),
    url('assets/images/portfolio-01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: none;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 21, 34, 0.7);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-badge .status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.hero-title span.grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 5rem;
}

/* Stats Dashboard in Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  border-top: 1px solid var(--card-border);
  padding-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Glassmorphic Card base style */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.06);
}

/* About / Summary Section */
.summary-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.summary-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.summary-quote {
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-cyan);
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.15rem;
  margin: 2rem 0;
}

.summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sum-badge {
  background: rgba(15, 21, 34, 0.6);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sum-badge i {
  color: var(--accent-cyan);
}

.summary-visual {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
  position: relative;
}

.visual-mesh {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(0, 242, 254, 0.15);
  border-radius: 50%;
  animation: spin 30s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-mesh-inner {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(168, 85, 247, 0.2);
  border-radius: 50%;
  animation: spin-reverse 20s linear infinite;
}

.visual-node {
  position: absolute;
  width: 110px;
  height: 110px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080b11;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.4);
}

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

.skill-card {
  padding: 2.5rem;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.skill-card:nth-child(even) .skill-icon {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.2);
}

.skill-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.skill-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Playground / Interactive AI Terminal Section */
.playground-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: stretch;
}

.playground-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.playground-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.playground-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.prompt-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prompt-btn {
  background: rgba(15, 21, 34, 0.6);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-btn:hover, .prompt-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  color: var(--text-primary);
}

.prompt-btn i {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.prompt-btn:hover i, .prompt-btn.active i {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent-cyan);
}

.terminal-card {
  height: 520px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: #0d121d;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ff5f56;
}

.terminal-dot:nth-child(2) { background-color: #ffbd2e; }
.terminal-dot:nth-child(3) { background-color: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-body {
  flex: 1;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  overflow-y: auto;
  color: var(--text-primary);
  background-color: rgba(8, 11, 17, 0.95);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.terminal-line {
  display: flex;
  gap: 0.75rem;
  line-height: 1.5;
}

.terminal-prompt {
  color: var(--accent-cyan);
  font-weight: bold;
  user-select: none;
}

.terminal-input {
  color: var(--text-primary);
}

.terminal-output {
  color: var(--text-secondary);
  white-space: pre-wrap;
  padding-left: 1.25rem;
}

.terminal-output.success {
  color: #27c93f;
}

.terminal-output.code-block {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent-purple);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #c9d1d9;
}

/* Visualization Panel inside Terminal response */
.terminal-viz-box {
  border: 1px solid var(--card-border);
  background: rgba(15, 21, 34, 0.5);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.viz-title {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.viz-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
  padding-top: 1rem;
  border-left: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  padding-left: 0.5rem;
}

.chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 2px 2px 0 0;
  height: 0%;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.chart-bar:nth-child(even) {
  background: var(--gradient-purple);
}

.chart-bar::after {
  content: attr(data-val);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--text-primary);
}

/* Experience Section */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, rgba(255, 255, 255, 0.05) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #080b11;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-dot {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
}

.timeline-card {
  padding: 2.5rem;
}

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

.timeline-title h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-company.non-amazon {
  color: var(--accent-purple);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--card-border);
}

.timeline-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-details li {
  color: var(--text-secondary);
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-details li::before {
  color: var(--accent-purple);
}

.experience-tag-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.exp-tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* Education & Certifications Section */
.edu-cert-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.edu-card {
  padding: 2rem;
}

.edu-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.edu-degree {
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.edu-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.edu-coursework {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.edu-coursework p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.coursework-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coursework-chip {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.certs-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cert-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cert-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cert-card:first-child .cert-badge-icon {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 100%);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
}

.cert-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.cert-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.awards-box {
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 215, 0, 0.1);
  padding: 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.awards-box i {
  color: #ffd700;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.award-details h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.award-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact / Footer Section */
.contact-section {
  padding-bottom: 8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details a, .contact-details p {
  font-size: 1.1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.contact-details a:hover {
  color: var(--accent-cyan);
}

.contact-form {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  background: rgba(8, 11, 17, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.9rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
  background: rgba(8, 11, 17, 0.8);
}

.footer {
  border-top: 1px solid var(--card-border);
  background: #06090e;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo span {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

/* Scroll Fade In Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px var(--accent-cyan);
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.7);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  100% {
    transform: rotate(-360deg);
  }
}

/* Blog Section Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card, .skeleton-card {
  height: 380px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.08);
}

.skeleton-card {
  cursor: default;
}

.skeleton-shimmer {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-card::before {
  content: '';
  display: block;
  width: 35%;
  height: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.skeleton-card::after {
  content: '';
  display: block;
  width: 85%;
  height: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  box-shadow: 
    0 35px 0 rgba(255, 255, 255, 0.04), 
    0 55px 0 rgba(255, 255, 255, 0.04),
    0 95px 0 rgba(255, 255, 255, 0.04),
    0 115px 0 rgba(255, 255, 255, 0.04);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-purple);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.blog-meta .blog-date {
  color: var(--text-muted);
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.blog-card:hover h3 {
  color: var(--accent-cyan);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
  margin-top: auto;
}

.blog-stats-social {
  display: flex;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.blog-stats-social span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-stats-social i {
  font-size: 0.9rem;
}

.blog-link {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-link {
  transform: translateX(4px);
  color: var(--accent-purple);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
  
  .summary-container, .playground-container, .edu-cert-container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .summary-visual {
    height: 300px;
    order: -1;
  }
  
  .playground-info {
    order: 1;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .nav-container {
    padding: 0.75rem 1.25rem;
  }

  .logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .logo-img {
    height: 28px;
  }
  
  .mobile-only {
    display: block !important;
  }
  
  .desktop-only {
    display: none !important;
  }
  
  .nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 110;
    width: 40px;
    height: 40px;
    transition: var(--transition-smooth);
  }
  
  .nav-toggle:hover {
    color: var(--accent-cyan);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 11, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--card-border);
    padding: 6rem 2rem 2rem 2rem;
    transition: var(--transition-smooth);
    z-index: 105;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 2.25rem;
    align-items: flex-start;
    width: 100%;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links .mobile-only .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .timeline-date {
    align-self: flex-start;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
