/* Fonts loaded asynchronously from HTML */

/* Design Tokens & CSS Variables */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;

  /* Color Palette - Clean Professional White & Slate Blue */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --border-muted: #e2e8f0;
  --border-active: #2563eb;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-cyan: #2563eb;
  --accent-teal: #0d9488;
  --accent-emerald: #10b981;
  
  --shadow-glow: 0 4px 20px rgba(37, 99, 235, 0.06);
  --shadow-glow-green: 0 4px 20px rgba(16, 185, 129, 0.06);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Background Canvas */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-muted);
  background: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 0;
}

.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-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-cyan);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  font-family: var(--font-mono);
}

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

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

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

.cta-btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  border-radius: 4px;
  background: transparent;
  transition: var(--transition-fast);
}

.cta-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 110;
}

/* Hero Section */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6.5rem 1.5rem 2.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

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

.hero-pretitle {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.0rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero-key-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.metric-tag {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--accent-cyan);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.metric-tag:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.02);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 1rem;
  border: 1px dashed var(--border-muted);
  animation: rotateDashed 60s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Add a glowing neon halo behind the avatar on hover */
.avatar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  pointer-events: none;
}

.avatar-wrapper:hover::before {
  opacity: 1;
}

.avatar-wrapper:hover {
  border-color: var(--accent-cyan);
}

.avatar-inner {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-muted);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: counterRotate 60s linear infinite;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.avatar-wrapper:hover .avatar-inner {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.avatar-inner img, .avatar-inner svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

/* Subtle modern color correction/overlay to make formal shot blend with dark/light themes */
.avatar-inner img {
  filter: contrast(1.03) brightness(1.01) saturate(0.98);
}

/* Hover Zoom effect */
.avatar-wrapper:hover .avatar-inner img {
  transform: scale(1.08) rotate(2deg);
  filter: contrast(1.06) brightness(1.03) saturate(1.03);
}

/* Animations */
@keyframes rotateDashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* General Layout Sections */
section {
  padding: 3.25rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.5rem;
  position: relative;
}

.section-num {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  background: var(--border-muted);
  max-width: 300px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

.highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight-card h3 i {
  color: var(--accent-cyan);
}

.highlight-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.skill-category:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.skill-category h3 {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 0.75rem;
}

.skill-category h3 i {
  color: var(--accent-teal);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-name {
  color: var(--text-secondary);
}

.skill-val {
  font-family: var(--font-mono);
  color: var(--accent-teal);
}

.skill-bar-bg {
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.skill-bar-fg {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 2px;
  width: 0; /* Animated dynamically with JS */
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background: var(--border-muted);
}

.timeline-item {
  position: relative;
  padding-left: 5.5rem;
  margin-bottom: 2.5rem;
}

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

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--accent-cyan);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.timeline-item:hover .timeline-dot {
  box-shadow: var(--shadow-glow);
  transform: scale(1.2);
}

.timeline-header {
  margin-bottom: 1rem;
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-block;
}

.timeline-company {
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-left: 0.5rem;
}

.timeline-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.timeline-body {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.timeline-body:hover {
  border-color: var(--border-active);
  transform: translateX(4px);
}

.timeline-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.timeline-body li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Certifications Section */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cert-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.cert-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.cert-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  opacity: 0.8;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--accent-cyan);
  border-radius: 4px;
}

.cert-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cert-issuer {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-title span {
  color: var(--accent-cyan);
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.contact-form {
  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-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
  background: var(--bg-surface);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-glow);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
}

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

.modal-content ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-content li {
  position: relative;
  padding-left: 1.5rem;
}

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

/* Footer Section */
footer {
  border-top: 1px solid var(--border-muted);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--accent-cyan);
}

/* Response Popups */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--accent-emerald);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-glow-green);
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Queries */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    justify-items: center;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.25rem;
  }
  .contact-container {
    padding: 1.75rem;
    gap: 2rem;
  }
  section {
    padding: 3rem 1.25rem;
  }
  .hero {
    padding: 5rem 1.25rem 1.5rem 1.25rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-muted);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 105;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .timeline::before {
    left: 11px;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-dot {
    left: 0;
  }
  
  .timeline-role {
    font-size: 1.15rem;
  }
  
  .timeline-company {
    font-size: 0.95rem;
    display: block;
    margin-left: 0;
    margin-top: 0.2rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ========== Scroll Reveal Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children animation delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========== Stats Counter Section ========== */
.stats-section {
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem 0.5rem;
  transition: var(--transition-smooth);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========== Typewriter Effect ========== */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent-cyan);
  animation: blinkCursor 0.75s step-end infinite;
  width: 0;
}

.typewriter.done {
  border-right-color: transparent;
  animation: none;
}

@keyframes blinkCursor {
  from, to { border-color: var(--accent-cyan); }
  50% { border-color: transparent; }
}

/* ========== Education Section ========== */
.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 700px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.education-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.education-icon {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  opacity: 0.8;
  flex-shrink: 0;
}

.education-details h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.education-details .edu-degree {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.education-details .edu-period {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== Back to Top Button ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-muted);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

/* ========== Mobile Nav Overlay ========== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.35);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ========== Stats Responsive ========== */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .education-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .toast-msg {
    bottom: 5rem;
  }
}

/* ==========================================================================
   Premium Animations, Interactive Card Glows & Micro-Transitions
   ========================================================================== */

/* Keyframe Animations */
@keyframes float-icon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes heartbeat-icon {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
  }
  50% {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
  }
}

/* Card Enhancements & Glow Transitions */
.highlight-card, .skill-category, .cert-card, .timeline-body {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow, border-color;
  position: relative;
  overflow: hidden;
}

/* Glassmorphism gradient border overlays */
.highlight-card::after, .skill-category::after, .cert-card::after, .timeline-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.13) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
  pointer-events: none;
}

.highlight-card:hover::after, .skill-category:hover::after, .cert-card:hover::after, .timeline-body:hover::after {
  left: 150%;
  transition: all 0.8s ease-in-out;
}

/* Highlights Card Hover */
.highlight-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.highlight-card:hover i {
  animation: float-icon 1.2s ease-in-out infinite;
  color: var(--accent-cyan);
}

/* Skill Categories Card Hover */
.skill-category:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.skill-category:hover h3 i {
  animation: float-icon 1.2s ease-in-out infinite;
  color: var(--accent-cyan);
}

/* Shimmer Progress Bars on Skill Card Hover */
.skill-bar-fg {
  background: linear-gradient(90deg, var(--accent-cyan) 30%, #60a5fa 50%, var(--accent-cyan) 70%);
  background-size: 200% 100%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-category:hover .skill-bar-fg {
  animation: bar-shimmer 2s infinite linear;
}

/* Certifications Card Hover */
.cert-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.cert-card:hover .cert-icon {
  animation: heartbeat-icon 1.2s ease-in-out infinite;
  color: var(--accent-cyan);
}

/* Timeline Cards Hover */
.timeline-body:hover {
  transform: translateX(6px);
  border-color: var(--border-active);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.timeline-body[data-detail]:hover {
  transform: translateX(8px) scale(1.01);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.timeline-body[data-detail]:hover p {
  color: var(--accent-teal) !important;
  transition: var(--transition-fast);
}

/* Navigation Call-to-Action button pulse */
.cta-btn {
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::before {
  width: 300%;
  height: 300%;
}

/* ==========================================================================
   Dark Theme Overrides & Theme Toggle Button Layout
   ========================================================================== */

/* Dark Mode CSS Variable Overrides */
html.dark-theme, body.dark-theme {
  --bg-base: #0b1120;       /* Deep slate-950 */
  --bg-surface: #151e33;    /* Rich slate-900 */
  --bg-card: #151e33;       /* Slate-900 */
  --border-muted: #1e293b;  /* Slate-800 */
  --border-active: #3b82f6;  /* Blue-500 */
  
  --text-primary: #f8fafc;  /* White-Slate */
  --text-secondary: #94a3b8;/* Slate-400 */
  --text-muted: #475569;    /* Slate-600 */
  
  --accent-cyan: #3b82f6;   /* Bright blue */
  --accent-teal: #14b8a6;   /* Teal */
  --accent-emerald: #10b981;/* Emerald */
  
  --shadow-glow: 0 4px 20px rgba(59, 130, 246, 0.15);
  --shadow-glow-green: 0 4px 20px rgba(16, 185, 129, 0.15);
}

/* Dark mode subtle canvas grid adjustment */
body.dark-theme #canvas-bg {
  opacity: 0.45;
}

body.dark-theme .highlight-card:hover,
body.dark-theme .skill-category:hover,
body.dark-theme .cert-card:hover {
  background: linear-gradient(145deg, #151e33 0%, #0b1120 100%);
}

/* Navigation flex layout containing navigation links & toggles */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Theme Toggle Button Styling */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-muted);
}

.theme-toggle:hover {
  background: var(--border-muted);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

body.dark-theme .theme-toggle i {
  color: #f59e0b; /* Amber color for sun icon */
}

/* Toast Message dark mode adjustments */
body.dark-theme .toast-msg {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-muted);
}

/* Header background dark mode adjustments (resolves light navbar in dark mode) */
body.dark-theme header {
  background: rgba(11, 17, 32, 0.75);
  border-bottom-color: rgba(30, 41, 59, 0.4);
}

body.dark-theme header.scrolled {
  background: rgba(11, 17, 32, 0.9);
}

/* ========== Smooth Scroll Progress Indicator ========== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal), var(--accent-emerald));
  z-index: 1100;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* ========== Custom Magic Pointer Cursor ========== */
#magic-cursor-dot,
#magic-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  opacity: 0;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.25s ease, 
              border-color 0.25s ease, 
              opacity 0.15s ease;
  will-change: transform, width, height, opacity;
}

#magic-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
}

#magic-cursor-ring {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--accent-cyan);
}

body.cursor-hovering #magic-cursor-ring {
  width: 48px;
  height: 48px;
  background-color: rgba(37, 99, 235, 0.06);
  border-color: var(--accent-teal);
}

body.cursor-hovering #magic-cursor-dot {
  background-color: var(--accent-teal);
  width: 4px;
  height: 4px;
}

/* Hide default hardware cursor on desktops when customized cursor active */
@media (min-width: 1025px) {
  body.use-custom-cursor {
    cursor: none;
  }
  body.use-custom-cursor a,
  body.use-custom-cursor button,
  body.use-custom-cursor .cta-btn,
  body.use-custom-cursor .lab-btn,
  body.use-custom-cursor .theme-toggle,
  body.use-custom-cursor .mobile-toggle,
  body.use-custom-cursor .timeline-body[data-detail] {
    cursor: none;
  }
}

/* ========== Glassmorphism Spotlight Shine Hover ========== */
.highlight-card, .skill-category, .cert-card, .timeline-body, .education-card, .lab-monitor, .lab-terminal {
  position: relative;
  overflow: hidden;
}

.highlight-card::before, 
.skill-category::before, 
.cert-card::before, 
.timeline-body::before, 
.education-card::before,
.lab-monitor::before,
.lab-terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(37, 99, 235, 0.08),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Custom glow for dark theme (teal tint) */
body.dark-theme .highlight-card::before,
body.dark-theme .skill-category::before,
body.dark-theme .cert-card::before,
body.dark-theme .timeline-body::before,
body.dark-theme .education-card::before,
body.dark-theme .lab-monitor::before,
body.dark-theme .lab-terminal::before {
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(56, 189, 248, 0.1),
    transparent 50%
  );
}

.highlight-card:hover::before, 
.skill-category:hover::before, 
.cert-card:hover::before, 
.timeline-body:hover::before, 
.education-card:hover::before,
.lab-monitor:hover::before,
.lab-terminal:hover::before {
  opacity: 1;
}

/* Put text and icons above hover spotlights to maintain clarity */
.highlight-card > *, 
.skill-category > *, 
.cert-card > *, 
.timeline-body > *, 
.education-card > *,
.lab-monitor > *,
.lab-terminal > * {
  position: relative;
  z-index: 2;
}

/* ========== Theme Transitioning Liquid Switch ========== */
body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning ::before,
body.theme-transitioning ::after {
  transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ========== Resilience Simulation Lab Styles ========== */
#lab {
  position: relative;
  overflow: hidden;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
  transition: transform 0.1s ease;
}

/* Screen shake animation during simulated outage */
@keyframes screen-shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20%, 60% { transform: translate(-4px, 4px) rotate(-0.5deg); }
  40%, 80% { transform: translate(4px, -4px) rotate(0.5deg); }
}

.lab-grid.outage-flash {
  animation: screen-shake 0.5s ease-in-out;
}

.lab-grid.outage-flash .lab-monitor {
  border-color: #ef4444 !important;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.25) !important;
}

/* Lab Monitor Card */
.lab-monitor {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.monitor-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.monitor-title i {
  color: var(--accent-cyan);
}

.system-sla {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border-radius: 50px;
  transition: var(--transition-fast);
}

.server-nodes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.server-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

body.dark-theme .server-node {
  background: rgba(255, 255, 255, 0.01);
}

.node-icon {
  font-size: 1.2rem;
  color: var(--text-secondary);
  width: 32px;
  display: flex;
  justify-content: center;
}

.node-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 0.75rem;
}

.node-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.node-status {
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-mono);
}

.status-online { color: var(--accent-emerald); }
.status-warning { color: #f59e0b; }
.status-critical { color: #ef4444; }
.status-dr { color: var(--accent-cyan); }

.node-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 1rem;
  position: relative;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* LED Blinking Animation Helpers */
@keyframes ledPulseGreen {
  0%, 100% { box-shadow: 0 0 4px #10b981; }
  50% { box-shadow: 0 0 12px #10b981; }
}
.led-green {
  background-color: #10b981;
  animation: ledPulseGreen 2s infinite;
}

@keyframes ledPulseRed {
  0%, 100% { box-shadow: 0 0 4px #ef4444; }
  50% { box-shadow: 0 0 16px #ef4444; }
}
.led-red {
  background-color: #ef4444;
  animation: ledPulseRed 0.6s infinite;
}

@keyframes ledPulseYellow {
  0%, 100% { box-shadow: 0 0 4px #f59e0b; }
  50% { box-shadow: 0 0 12px #f59e0b; }
}
.led-yellow {
  background-color: #f59e0b;
  animation: ledPulseYellow 1s infinite;
}

@keyframes ledPulseBlue {
  0%, 100% { box-shadow: 0 0 4px #3b82f6; }
  50% { box-shadow: 0 0 12px #3b82f6; }
}
.led-blue {
  background-color: #3b82f6;
  animation: ledPulseBlue 1.5s infinite;
}

@keyframes ledPulseTeal {
  0%, 100% { box-shadow: 0 0 4px #14b8a6; }
  50% { box-shadow: 0 0 12px #14b8a6; }
}
.led-teal {
  background-color: #14b8a6;
  animation: ledPulseTeal 1.5s infinite;
}

.metrics-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-box {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
}

body.dark-theme .metric-box {
  background: rgba(255, 255, 255, 0.01);
}

.m-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.m-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

/* Lab Terminal UI styling */
.lab-terminal {
  background: #090d16;
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.terminal-header {
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.terminal-buttons {
  display: flex;
  gap: 0.4rem;
}

.terminal-buttons span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-buttons span:nth-child(1) { background-color: #ef4444; }
.terminal-buttons span:nth-child(2) { background-color: #f59e0b; }
.terminal-buttons span:nth-child(3) { background-color: #10b981; }

.terminal-title {
  flex-grow: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  padding-right: 42px;
}

.terminal-body-console {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #a9b2c3;
  overflow-y: auto;
  max-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scroll-behavior: smooth;
}

.log-line {
  line-height: 1.4;
  word-break: break-all;
}
.system-log { color: #38bdf8; }
.warn-log { color: #fbbf24; }
.critical-log { color: #f87171; }
.success-log { color: #34d399; }
.ai-log { color: #c084fc; }

.terminal-controls {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Console Simulation Interactive Keys */
.lab-btn {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.lab-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
}

.btn-outage {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.btn-outage:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}

.btn-zerto {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.btn-zerto:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.btn-n8n {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.btn-n8n:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
}

.btn-ai-ops {
  background: rgba(192, 132, 252, 0.1);
  border-color: rgba(192, 132, 252, 0.3);
  color: #c084fc;
}

.btn-ai-ops:hover:not(:disabled) {
  background: rgba(192, 132, 252, 0.25);
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.25);
  transform: translateY(-2px);
}

.btn-reset {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.btn-reset:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Adjust grid for smaller sizes */
@media (max-width: 992px) {
  .lab-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Small Devices */
@media (max-width: 480px) {
  .avatar-wrapper {
    width: 250px;
    height: 250px;
    padding: 0.75rem;
  }
  .avatar-inner {
    width: 210px;
    height: 210px;
  }
  .hero-title {
    font-size: 1.75rem;
    letter-spacing: -1px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .hero-key-metrics {
    justify-content: center;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .certs-grid {
    grid-template-columns: 1fr;
  }
  .contact-container {
    padding: 1.25rem;
    border-radius: 12px;
  }
  .terminal-controls {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .btn-reset {
    grid-column: span 1;
  }
  .education-card {
    padding: 1.25rem;
  }
  .stats-grid {
    gap: 0.75rem;
  }
}

