/* ═══════════════════════════════════════════════════
   DEEPAK CHOUDHARY PORTFOLIO — style.css
   Premium Light Theme with Vibrant Orange Accents
   Version 3.0 (Pixel-Perfect Mockup Match)
   ═══════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --primary: #FF6B00;
  /* Vibrant Orange */
  --primary-rgb: 255, 107, 0;
  --primary-text: #C2410C;
  --secondary: #FF8E3C;
  --accent: #0EA5E9;
  /* Sky Blue */
  --success: #10B981;
  /* Emerald Green */

  /* Light Theme Colors (Default) */
  --bg: #FCFCFB;
  /* Off-White Canvas */
  --surface: #FFFFFF;
  /* Pure White Card */
  --text: #0F172A;
  /* Deep Slate Text */
  --text-sec: #475569;
  /* Slate Grey Subtext */
  --border: #E2E8F0;
  /* Soft Border */
  --border-hl: rgba(255, 107, 0, 0.15);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 20px 40px -15px rgba(255, 107, 0, 0.15), 0 8px 16px -8px rgba(255, 107, 0, 0.05);
  --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.03);

  /* Radius */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Fonts */
  --font-main: 'Outfit', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg: #0B0F19;
  /* Deep Dark Canvas */
  --surface: #151C2C;
  /* Slate Dark Card */
  --text: #F8FAFc;
  /* Muted White Text */
  --text-sec: #94A3B8;
  /* Slate Blue Subtext */
  --primary-text: #FF8E3C;
  --border: #242F41;
  /* Dark Border */
  --border-hl: rgba(255, 107, 0, 0.3);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 40px -15px rgba(255, 107, 0, 0.3);
  --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-sec);
}

/* Selection */
::selection {
  background: rgba(255, 107, 0, 0.2);
  color: var(--text);
}


/* ─── LOADER ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 52px;
  color: var(--primary);
  letter-spacing: -2px;
  animation: logoPulse 1.5s ease-in-out infinite;
}

.loader-bar-track {
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.15s ease;
}

.loader-percent {
  font-size: 13px;
  color: var(--text-sec);
  font-family: var(--font-mono);
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 100px;
  box-shadow: var(--shadow-nav);
  transition: var(--transition);
}

[data-theme="dark"] .nav-inner {
  background: rgba(21, 28, 44, 0.7);
  border: 1px solid rgba(36, 47, 65, 0.8);
}

.navbar.scrolled {
  padding: 12px 0;
}

.navbar.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .navbar.scrolled .nav-inner {
  background: rgba(21, 28, 44, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -1.5px;
  display: flex;
}

.logo-d {
  color: var(--primary-text);
}

.logo-c {
  color: var(--text);
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: var(--transition);
  border-radius: 100px;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 10px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link.active {
  color: var(--primary-text);
}

.nav-link.active::after {
  width: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
  border: none;
}

.btn-resume:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
  background: #e25f00;
}

.icon-download {
  width: 16px;
  height: 16px;
}

.theme-toggle-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary-text);
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 991px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ─── SIDEBAR DRAWER ─── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 380px;
  max-width: 85vw;
  z-index: 1100;
  background: var(--bg);
  border-right: 1px solid var(--border);
  box-shadow: 20px 0 60px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  padding: 32px 28px 24px;
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar-drawer.open {
  transform: translateX(0);
}

/* Decorative dots */
.sidebar-dots {
  position: absolute;
  bottom: 80px;
  left: -6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}
.sidebar-dots span:nth-child(even) { opacity: 0.3; }

/* Close button */
.sidebar-close {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}
.sidebar-close:hover {
  background: var(--border);
  transform: rotate(90deg);
}
.sidebar-close svg { width: 20px; height: 20px; }

/* Profile header */
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
}
.sidebar-avatar {
  position: relative;
  flex-shrink: 0;
}
.sidebar-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
}
.sidebar-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid var(--bg);
}
.sidebar-profile-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
.sidebar-profile-info p {
  font-size: 14px;
  color: var(--text-sec);
  margin: 0 0 10px;
}
.sidebar-profile-bar {
  width: 36px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), #3b82f6);
}

/* Navigation links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.sidebar-link:hover {
  background: rgba(226, 232, 240, 0.5);
  border-color: var(--border);
}
[data-theme="dark"] .sidebar-link:hover {
  background: rgba(51, 65, 85, 0.4);
}
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
  border-color: rgba(34, 197, 94, 0.2);
  color: #16a34a;
}
[data-theme="dark"] .sidebar-link.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0.08) 100%);
  color: #4ade80;
}
.sidebar-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.sidebar-link-icon svg {
  width: 20px;
  height: 20px;
  color: var(--text-sec);
  transition: var(--transition);
}
.sidebar-link.active .sidebar-link-icon {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.sidebar-link.active .sidebar-link-icon svg {
  color: #fff;
}
.sidebar-link-text {
  flex: 1;
}
.sidebar-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-sec);
  opacity: 0.5;
  flex-shrink: 0;
  transition: var(--transition);
}
.sidebar-link:hover .sidebar-chevron,
.sidebar-link.active .sidebar-chevron {
  opacity: 1;
  transform: translateX(3px);
}

/* Download CV card */
.sidebar-cv-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-top: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(34, 197, 94, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
}
.sidebar-cv-card:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(59, 130, 246, 0.1));
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
}
.sidebar-cv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.sidebar-cv-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.sidebar-cv-info {
  flex: 1;
}
.sidebar-cv-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 2px;
}
.sidebar-cv-info span {
  font-size: 12px;
  color: var(--text-sec);
}

/* Social icons */
.sidebar-social-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.sidebar-social-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  margin-bottom: 14px;
  display: block;
}
.sidebar-social-icons {
  display: flex;
  gap: 12px;
}
.sidebar-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text);
}
.sidebar-social-icons a svg {
  width: 18px;
  height: 18px;
}
.sidebar-social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary-text);
}
/* Color-coded hovers for each social */
.sidebar-social-icons a:nth-child(1):hover { color: #333; border-color: #333; }
.sidebar-social-icons a:nth-child(2):hover { color: #0a66c2; border-color: #0a66c2; }
.sidebar-social-icons a:nth-child(3):hover { color: #1da1f2; border-color: #1da1f2; }
.sidebar-social-icons a:nth-child(4):hover { color: #e4405f; border-color: #e4405f; }
.sidebar-social-icons a:nth-child(5):hover { color: var(--primary-text); border-color: var(--primary); }
[data-theme="dark"] .sidebar-social-icons a:nth-child(1):hover { color: #f0f0f0; border-color: #f0f0f0; }

/* Theme toggle button SVG fixing styles */
.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn:hover svg {
  transform: rotate(45deg) scale(1.1);
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}


.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-greeting {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 12px;
}

.hero-name {
  font-size: clamp(48px, 6.5vw, 76px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.hero-name .highlight {
  color: var(--primary-text);
}

.hero-role {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.role-static {
  color: var(--text);
}

.role-accent {
  color: var(--primary-text);
}

.role-cursor {
  color: var(--primary-text);
  animation: cursorBlink 1s infinite;
}

.hero-bio {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
  background: #e25f00;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.08);
}

.btn-mail {
  width: 18px;
  height: 18px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.socials-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.socials-links {
  display: flex;
  gap: 10px;
}

.social-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-sec);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon-box svg {
  width: 18px;
  height: 18px;
}

.social-icon-box:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* Hero Right: Avatar + IDE Mock */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.avatar-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  margin-bottom: 24px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.avatar-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Floating decorations */
.floating-badge {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  z-index: 3;
  animation: badgeFloat 3s ease-in-out infinite;
}

.badge-code {
  right: -10px;
  top: 30%;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary-text);
  font-size: 16px;
}

.floating-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.orange-dots {
  top: 10%;
  left: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 10px 10px;
  opacity: 0.3;
}

.green-crosses {
  bottom: 10%;
  right: -25px;
  width: 60px;
  height: 60px;
  background: radial-gradient(var(--success) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.25;
}

/* IDE Card */
.code-card {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.code-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.code-card-header {
  display: flex;
  gap: 6px;
  padding: 14px 20px;
  background: rgba(226, 232, 240, 0.2);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .code-card-header {
  background: rgba(36, 47, 65, 0.2);
}

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

.window-dot.red {
  background: #FF5F56;
}

.window-dot.yellow {
  background: #FFBD2E;
}

.window-dot.green {
  background: #27C93F;
}

.code-card-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: left;
}

.keyword {
  color: #E11D48;
  font-weight: 600;
}

.variable {
  color: #2563EB;
}

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

.string {
  color: #059669;
}

[data-theme="dark"] .variable {
  color: #60A5FA;
}

[data-theme="dark"] .string {
  color: #34D399;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-left {
    align-items: center;
  }

  .hero-role {
    justify-content: center;
  }

  .hero-bio {
    margin: 0 auto 36px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .avatar-wrapper {
    width: 280px;
    height: 280px;
  }
}

/* ─── SECTIONS & LABELS ─── */
.section {
  padding: 120px 0;
  position: relative;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-text);
  text-transform: uppercase;
}

.section-label-line {
  flex: 1;
  height: 2px;
  background: var(--primary);
  opacity: 0.65;
}

.section-label.center {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-title.text-left {
  text-align: left;
}

.section-title .highlight {
  color: var(--primary-text);
}

/* ─── ABOUT ME SECTION ─── */
.about-flex {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.about-paragraph {
  font-size: 17px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-know-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-know-more:hover {
  border-color: var(--success);
  color: var(--success);
  transform: translateY(-2px);
}

.btn-know-more .arrow-icon {
  width: 18px;
  height: 18px;
  color: var(--success);
  transition: transform 0.3s;
}

.btn-know-more:hover .arrow-icon {
  transform: translateX(4px);
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hl);
  box-shadow: var(--shadow-hover);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

/* Custom icon background colors */
.location-icon {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary-text);
}

.education-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.age-icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent);
}

.freelance-icon {
  background: rgba(168, 85, 247, 0.1);
  color: #A855F7;
}

.info-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.info-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.info-sub {
  font-size: 14px;
  color: var(--text-sec);
}

@media (max-width: 991px) {
  .about-flex {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title.text-left {
    text-align: center;
  }

  .section-label-group {
    justify-content: center;
  }

  .about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ─── SKILLS / TECH STACK SECTION ─── */
.skills-section {
  padding: 120px 0;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.02) 0%, rgba(16, 185, 129, 0.02) 50%, rgba(255, 255, 255, 0) 100%), var(--bg);
  overflow: hidden;
  transition: background 0.3s ease;
}

.skills-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

/* Command Center Frame */
.skills-command-center {
  margin-top: 50px;
  width: 100%;
}

.console-frame {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

[data-theme="dark"] .console-frame {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

/* Header bar */
.console-header {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  align-items: center;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .console-header {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-controls {
  display: flex;
  gap: 8px;
}

.ctrl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ctrl-dot.red { background-color: #EF4444; }
.ctrl-dot.yellow { background-color: #F59E0B; }
.ctrl-dot.green { background-color: #10B981; }

.console-title-bar {
  text-align: center;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--text-sec);
  letter-spacing: 0.05em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #10B981;
}

.status-pulse-green {
  width: 6px;
  height: 6px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLight 1.8s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #10B981; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Console Body */
.console-body {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  min-height: 520px;
}

/* Sidebar panel */
.console-sidebar {
  background: rgba(0, 0, 0, 0.01);
  border-right: 1px solid var(--border);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

[data-theme="dark"] .console-sidebar {
  background: rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-section-title {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-sec);
  padding: 10px 14px;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.category-btn .btn-num {
  opacity: 0.5;
  margin-right: 6px;
}

.category-btn .btn-text {
  flex: 1;
}

.category-btn:hover {
  background: rgba(255, 107, 0, 0.05);
  color: var(--primary-text);
}

[data-theme="dark"] .category-btn:hover {
  background: rgba(255, 107, 0, 0.1);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  border-color: rgba(255, 107, 0, 0.2);
}

.category-btn.active .btn-num {
  opacity: 0.85;
}

/* System meters */
.system-meters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meter-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  color: var(--text-sec);
  font-weight: 600;
}

.meter-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

[data-theme="dark"] .meter-track {
  background: rgba(255, 255, 255, 0.05);
}

.meter-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.orange-bg {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.green-bg {
  background: linear-gradient(90deg, #10B981, #34D399);
}

/* Viewport panel */
.console-viewport {
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.viewport-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sec);
}

[data-theme="dark"] .viewport-title-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.viewport-count {
  color: var(--primary-text);
  font-weight: 700;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  align-content: start;
}

/* Diagnostic node card */
.console-node {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[data-theme="dark"] .console-node {
  background: rgba(21, 28, 44, 0.35);
  border-color: rgba(255, 255, 255, 0.06);
}

.console-node:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px -10px rgba(255, 107, 0, 0.15);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .console-node:hover {
  background: rgba(21, 28, 44, 0.6);
  box-shadow: 0 10px 25px -10px rgba(255, 107, 0, 0.25);
}

.console-node.active {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.15), 0 10px 20px -10px rgba(255, 107, 0, 0.15);
}

[data-theme="dark"] .console-node.active {
  background: rgba(30, 41, 59, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.25), 0 10px 25px -10px rgba(255, 107, 0, 0.3);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-sm);
  padding: 6px;
}

[data-theme="dark"] .node-icon-wrapper {
  background: rgba(255, 255, 255, 0.04);
}

.node-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.node-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.console-node:hover .node-status-dot {
  animation: pulseLight 1s infinite;
}

.node-info {
  display: flex;
  flex-direction: column;
}

.node-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.node-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--text-sec);
  margin-top: 4px;
}

.node-perf-pct {
  color: var(--primary-text);
  font-weight: 700;
}

.node-mini-bar {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

[data-theme="dark"] .node-mini-bar {
  background: rgba(255, 255, 255, 0.05);
}

.node-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Inspector & Terminal panel */
.console-inspector {
  border-left: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.01);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

[data-theme="dark"] .console-inspector {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.inspector-section-title {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspector-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.empty-inspector-state {
  margin: auto;
  text-align: center;
  color: var(--text-sec);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.glitch-icon {
  font-size: 32px;
  animation: glitchFloat 3s infinite ease-in-out;
}

@keyframes glitchFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.empty-inspector-state p {
  font-size: 12px;
  line-height: 1.6;
}

/* Active inspector details layout */
.active-inspector {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inspector-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inspector-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .inspector-icon-box {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.inspector-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inspector-title-meta {
  display: flex;
  flex-direction: column;
}

.inspector-title-meta h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.inspector-status-badge {
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inspector-status-badge.compiling {
  color: var(--primary-text);
}

.inspector-desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
}

.specs-title {
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.specs-list li {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-list li::before {
  content: "»";
  color: var(--primary);
  font-weight: bold;
}

/* Terminal Log View */
.terminal-log-container {
  height: 180px;
  background: #0F172A;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.terminal-log-header {
  background: #1E293B;
  padding: 6px 12px;
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-log-body {
  padding: 10px 12px;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  line-height: 1.5;
  color: #CBD5E1;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.log-line.text-green { color: #10B981; }
.log-line.text-orange { color: #F59E0B; }
.log-line.text-blue { color: #0EA5E9; }

/* Scrollbar styling for terminal and console viewport */
.terminal-log-body::-webkit-scrollbar,
.console-viewport::-webkit-scrollbar {
  width: 5px;
}

.terminal-log-body::-webkit-scrollbar-track,
.console-viewport::-webkit-scrollbar-track {
  background: transparent;
}

.terminal-log-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

.console-viewport::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* Command Center Console Responsiveness */
@media (max-width: 1024px) {
  .console-body {
    grid-template-columns: 240px 1fr;
    min-height: auto;
  }
  .console-inspector {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  [data-theme="dark"] .console-inspector {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .terminal-log-container {
    height: 100%;
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
  }
  .console-controls {
    display: none;
  }
  .console-title-bar {
    text-align: left;
    font-size: 10px;
  }
  .console-body {
    display: flex;
    flex-direction: column;
  }
  .console-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
    gap: 16px;
  }
  [data-theme="dark"] .console-sidebar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .console-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .category-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
  .system-meters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .console-viewport {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border);
    overflow-y: visible;
  }
  [data-theme="dark"] .console-viewport {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .console-node {
    padding: 14px 12px;
    gap: 8px;
  }
  .node-name {
    font-size: 13px;
  }
  .console-inspector {
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
    border-top: none;
  }
  .terminal-log-container {
    height: 160px;
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .console-categories {
    grid-template-columns: 1fr;
  }
  .system-meters {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

/* Bottom Statistic Grid */
.skills-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.stats-bento-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}
[data-theme="dark"] .stats-bento-card {
  background: rgba(21, 28, 44, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.05);
}

.stats-bento-card.border-orange:hover {
  border-color: rgba(255, 107, 0, 0.4);
}

.stats-bento-card.border-green:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.stats-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.stats-bento-card.border-green .stats-glow {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
}

.stats-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.rocket-bg {
  background: rgba(255, 107, 0, 0.1);
  color: #FF6B00;
}
.github-bg {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}
[data-theme="dark"] .github-bg {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFc;
}
.clock-bg {
  background: rgba(255, 107, 0, 0.1);
  color: #FF6B00;
}
.trophy-bg {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.stats-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.stats-info {
  display: flex;
  flex-direction: column;
}

.stats-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.stats-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sec);
  margin-top: 4px;
}

/* Responsive Fallback (Mobile/Tablet Layout) */
@media (max-width: 991px) {
  .skills-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .skills-stats-grid {
    grid-template-columns: 1fr;
  }
}


/* ─── PROJECTS SECTION ─── */
.projects-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-view-all:hover {
  border-color: var(--success);
  color: var(--success);
}

.btn-view-all .arrow-icon {
  width: 16px;
  height: 16px;
  color: var(--success);
  transition: transform 0.3s;
}

.btn-view-all:hover .arrow-icon {
  transform: translateX(3px);
}

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

.project-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hl);
  box-shadow: var(--shadow-hover);
}

.project-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Project themed background colors */
.voltix-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.shoe-bg {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

[data-theme="dark"] .shoe-bg {
  background: linear-gradient(135deg, #2a1515 0%, #3e1b1b 100%);
}

.rickshaw-bg {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

[data-theme="dark"] .rickshaw-bg {
  background: linear-gradient(135deg, #0e2e21 0%, #153e2d 100%);
}

.clinic-bg {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

[data-theme="dark"] .clinic-bg {
  background: linear-gradient(135deg, #15223e 0%, #1a2e54 100%);
}

.java-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="dark"] .java-bg {
  background: linear-gradient(135deg, #1b263b 0%, #22304d 100%);
}

/* Styled Mock UI inside preview */
.preview-mock-ui {
  width: 80%;
  height: 80%;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.project-card:hover .preview-mock-ui {
  transform: scale(1.05);
}

.mock-ui-header {
  padding: 8px 12px;
  display: flex;
  gap: 4px;
  background: rgba(226, 232, 240, 0.2);
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.mock-ui-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.mock-logo {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.mock-graph {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  width: 60px;
  height: 35px;
}

.graph-bar {
  flex: 1;
  border-radius: 2px;
  background: var(--primary);
  min-height: 4px;
}

/* Shoe preview ui */
.mock-shoe-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-shoe {
  font-size: 32px;
}

.mock-price {
  font-size: 12px;
  font-weight: 700;
  color: #EF4444;
}

/* Rickshaw preview ui */
.mock-rickshaw-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mock-emoji {
  font-size: 32px;
}

.mock-label {
  font-size: 10px;
  color: var(--text-sec);
  font-weight: 600;
}

/* Clinic preview */
.mock-medical-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.med-cross {
  color: #3B82F6;
  font-size: 20px;
}

.med-text {
  font-size: 12px;
  font-weight: 700;
}

/* Java preview */
.mock-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 80%;
}

.mock-tr {
  font-size: 9px;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-sec);
}

.mock-tr.active-tr {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: var(--primary);
  color: var(--primary-text);
}

.project-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.project-desc {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 12px;
  /* Clamp to 3 lines on card view */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
  transition: var(--transition);
}
.project-card:hover .project-read-more {
  opacity: 1;
  gap: 8px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.tech-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sec);
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(226, 232, 240, 0.4);
}

[data-theme="dark"] .tech-tag {
  background: rgba(36, 47, 65, 0.4);
}

.project-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.proj-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-text);
  text-decoration: none;
  transition: var(--transition);
}

.proj-link-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.proj-link-btn:hover {
  color: var(--secondary);
}

.proj-link-btn:hover svg {
  transform: translate(2px, -2px);
}

.proj-github-icon {
  color: var(--text-sec);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
}

.proj-github-icon svg {
  width: 20px;
  height: 20px;
}

.proj-github-icon:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .projects-header-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

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

/* ─── STATS BAR SECTION ─── */
.stats-bar-section {
  padding: 60px 0;
  background: rgba(var(--primary-rgb), 0.02);
}

.stats-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 20px;
}

.bar-stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 180px;
  justify-content: center;
}

.bar-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bar-stat-icon svg {
  width: 20px;
  height: 20px;
}

.bar-stat-info {
  display: flex;
  flex-direction: column;
}

.bar-stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.bar-stat-label {
  font-size: 13px;
  color: var(--text-sec);
}

.bar-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 991px) {
  .bar-divider {
    display: none;
  }

  .stats-bar-wrapper {
    justify-content: center;
  }
}

/* ─── JOURNEY DASHBOARD GRID (EXACT MOCKUP MATCH) ─── */
.journey-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.journey-section .section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.journey-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 42%;
  width: 90px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
}

.timeline-section-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Background Decors */
.journey-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.sparkle-tl {
  top: -10px;
  left: 20px;
  width: 24px;
  height: 24px;
}

.sparkle-tl-sm {
  top: 30px;
  left: 55px;
  width: 14px;
  height: 14px;
}

.dot-matrix-tr {
  top: 0;
  right: 20px;
  width: 90px;
  height: 70px;
  opacity: 0.45;
}

/* Section Header Pill */
.journey-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-text);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* Main Grid Layout */
.journey-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

/* Base Card Styling */
.grid-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  min-height: 280px;
}

.grid-card-tall {
  grid-row: span 2;
  min-height: 584px; /* Matches two stacked cards + gap */
  justify-content: space-between;
}

/* Green Color Theme */
.card-green {
  border-color: rgba(16, 185, 129, 0.15);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.card-green:hover {
  border-color: #10B981;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
}

/* Orange Color Theme */
.card-orange {
  border-color: rgba(255, 107, 0, 0.15);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.card-orange:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.08);
}

[data-theme="dark"] .card-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, var(--surface) 100%);
}
[data-theme="dark"] .card-orange {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.06) 0%, var(--surface) 100%);
}

.grid-card:hover {
  transform: translateY(-6px);
}

/* Card Header */
.grid-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.grid-card-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.card-green .grid-card-icon-circle {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.card-orange .grid-card-icon-circle {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.grid-card-icon-circle svg {
  width: 20px;
  height: 20px;
}

.grid-card-year {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
}

.card-green .grid-card-year {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.card-orange .grid-card-year {
  background: rgba(255, 107, 0, 0.1);
  color: #EA580C;
}

.grid-card-dots {
  margin-left: auto;
  color: var(--text-sec);
  opacity: 0.35;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Card Body */
.grid-card-body {
  flex: 1;
}

.grid-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.grid-card-sub {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.card-green .grid-card-sub { color: #10B981; }
.card-orange .grid-card-sub { color: var(--primary-text); }

.grid-card-desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
  margin-top: 14px;
  font-weight: 500;
}

/* Card Footer */
.grid-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 24px;
}

.grid-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
}

.card-green .grid-card-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}

.card-orange .grid-card-badge {
  background: rgba(255, 107, 0, 0.08);
  color: #EA580C;
}

.grid-card-badge svg {
  width: 14px;
  height: 14px;
}

.grid-card-badge .badge-text {
  font-size: 11px;
  font-weight: 800;
}

/* Watermark illustration */
.grid-card-decor {
  width: 90px;
  height: 70px;
  position: absolute;
  right: 12px;
  bottom: 12px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.decor-img, .decor-img-tall {
  width: 100%;
  height: 100%;
}

.decor-img-tall {
  width: 105px;
  height: 105px;
}

.grid-card-tall .grid-card-decor {
  width: 110px;
  height: 110px;
  right: 16px;
  bottom: 16px;
}

.grid-card:hover .grid-card-decor {
  transform: scale(1.06) rotate(-2deg);
}

.card-green .grid-card-decor { color: #10B981; }
.card-orange .grid-card-decor { color: var(--primary); }

/* Bottom Stats Panel */
.journey-bottom-panel {
  margin-top: 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 240px 1fr 1.6fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.banner-orange {
  border-color: rgba(255, 107, 0, 0.15);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.banner-green {
  border-color: rgba(16, 185, 129, 0.15);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

[data-theme="dark"] .journey-bottom-panel {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.04) 0%, var(--surface) 100%);
}

/* Banner Left */
.banner-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.banner-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.banner-badge-icon svg {
  width: 16px;
  height: 16px;
}

.banner-year {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(255, 107, 0, 0.15);
  color: #EA580C;
  font-family: var(--font-mono);
}

.banner-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.banner-sub {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-text);
  margin-top: 4px;
  position: relative;
  padding-bottom: 4px;
}

.banner-sub::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Banner Middle */
.banner-middle p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
  font-weight: 500;
}

/* Banner Right Stats */
.banner-right {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.banner-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 19px;
  font-weight: 900;
  color: var(--text);
}

.stat-value.text-orange {
  color: var(--primary-text);
}

.stat-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.banner-divider {
  width: 1.5px;
  height: 48px;
  background: var(--border);
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .journey-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-card-tall {
    grid-row: span 1;
    min-height: 280px;
  }
  .journey-bottom-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .banner-divider {
    display: none;
  }
  .banner-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .journey-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .banner-right {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Right Panel Styles */
.experience-right-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Orbit Card */
.orbit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

[data-theme="dark"] .orbit-center {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.center-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0) 70%);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mountain-icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
  margin-bottom: 2px;
}

.center-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
}

.center-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-text);
  text-transform: uppercase;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(71, 85, 105, 0.1);
  pointer-events: none;
}

[data-theme="dark"] .orbit-ring {
  border-color: rgba(248, 250, 252, 0.08);
}

.orbit-ring-1 {
  width: 170px;
  height: 170px;
  animation: spinOrbit 45s linear infinite;
}

.orbit-ring-2 {
  width: 230px;
  height: 230px;
  animation: spinOrbitCounter 60s linear infinite;
}

.orbit-ring-3 {
  width: 290px;
  height: 290px;
  animation: spinOrbit 80s linear infinite;
}

@keyframes spinOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinOrbitCounter {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.orbiting-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-orange-1 {
  background: var(--primary);
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--primary);
}

.dot-green-1 {
  background: var(--success);
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--success);
}

.dot-orange-2 {
  background: var(--secondary);
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--secondary);
}

.dot-grey-1 {
  background: #94a3b8;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.dot-green-2 {
  background: var(--success);
  bottom: 40px;
  right: 40px;
  box-shadow: 0 0 10px var(--success);
}

/* Orbit labels */
.orbit-label {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
  width: 170px;
  transition: var(--transition);
}

.orbit-label:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-hl);
}

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

.label-text {
  display: flex;
  flex-direction: column;
}

.label-text h5 {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1px;
}

.label-text p {
  font-size: 9px;
  color: var(--text-sec);
  line-height: 1.2;
}

.label-learning {
  top: 40px;
  right: -10px;
}

.label-building {
  bottom: 40px;
  left: -10px;
}

/* Experience Stats Grid */
.experience-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.exp-stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.exp-stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-hl);
  box-shadow: var(--shadow-hover);
}

.exp-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.exp-stat-icon svg {
  width: 16px;
  height: 16px;
}

.icon-projects {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
}

.icon-learning {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
}

.icon-hours {
  background: rgba(14, 165, 233, 0.08);
  color: var(--accent);
}

.icon-growth {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
}

.exp-stat-number {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.exp-stat-label {
  font-size: 11px;
  color: var(--text-sec);
  font-weight: 600;
}

@media (max-width: 1199px) {
  .new-experience-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .new-experience-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .experience-stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-badge-detail {
    max-width: 100%;
    width: 100%;
  }

  .timeline-line {
    left: 19px;
  }
}

/* ─── ACHIEVEMENTS SECTION ─── */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ach-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.ach-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hl);
  box-shadow: var(--shadow-hover);
}

.ach-badge-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.ach-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.ach-issuer {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 16px;
}

.ach-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary-text);
  letter-spacing: 0.5px;
}


/* ─── TESTIMONIALS SECTION ─── */
.testimonials-section {
  padding: 120px 0;
  position: relative;
  background: radial-gradient(circle at 90% 10%, rgba(255, 107, 0, 0.02) 0%, rgba(16, 185, 129, 0.02) 60%, rgba(255, 255, 255, 0) 100%), var(--bg);
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Badge styled pills */
.testimonials-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary-text);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.testimonials-badge .badge-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* Header line spacer segment dots */
.spacer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px auto 20px auto;
  width: fit-content;
}

.line-segment {
  height: 4px;
  border-radius: 100px;
}

.segment-orange {
  width: 24px;
  background: var(--primary);
}

.segment-grey {
  width: 12px;
  background: rgba(120, 120, 120, 0.3);
}

.segment-green {
  width: 24px;
  background: #10B981;
}

/* Quote decorations */
.testimonials-section .decor-dots {
  position: absolute;
  width: 90px;
  height: 80px;
  opacity: 0.1;
  background-image: radial-gradient(var(--text) 2px, transparent 2.5px);
  background-size: 15px 15px;
  pointer-events: none;
}

.testimonials-section .dots-left {
  top: 15%;
  left: 3%;
}

.testimonials-section .dots-right {
  bottom: 20%;
  right: 3%;
}

.testimonials-section .decor-star {
  position: absolute;
  top: 18%;
  right: 12%;
  font-size: 24px;
  color: var(--primary);
  opacity: 0.25;
  animation: pulse 3s infinite ease-in-out;
  pointer-events: none;
}

/* Testimonials Slider Area */
.testimonials-slider-container {
  position: relative;
  max-width: 1100px;
  margin: 50px auto 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonials-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

/* Testimonial Card */
.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Card details quote mark */
.card-quote-mark {
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 84px;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.12;
  user-select: none;
}

.testimonial-green .card-quote-mark {
  color: #10B981;
}

.testimonial-orange .card-quote-mark {
  color: var(--primary);
}

/* Star rating badge */
.card-stars-pill {
  align-self: flex-end;
  display: flex;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
}

.testimonial-green .card-stars-pill {
  background: rgba(16, 185, 129, 0.06);
  color: #10B981;
}

.testimonial-orange .modal-detail-pill.tech-pill {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary-text);
}

.star-icon {
  letter-spacing: 1px;
}

/* Card testimonial text */
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 30px 0 20px 0;
  font-weight: 500;
  flex-grow: 1;
}

/* Card Author Info */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: auto;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar.avatar-initials {
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-green .avatar-initials {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.testimonial-orange .avatar-initials {
  background: linear-gradient(135deg, #FF9F43 0%, #FF6B00 100%);
  border: 2px solid rgba(255, 107, 0, 0.2);
}

.author-name {
  font-size: 16px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 4px;
}

.author-role {
  font-size: 13px;
  font-weight: 600;
}

.testimonial-green .role-colored {
  color: #10B981;
}

.testimonial-orange .role-colored {
  color: var(--primary-text);
}

.role-sep {
  color: var(--text-sec);
  opacity: 0.5;
  margin: 0 4px;
}

.role-company {
  color: var(--text-sec);
}

/* Navigation Slider Arrows */
.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 10;
}

.slider-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.08);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

/* Slider Dots Indicator */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(120, 120, 120, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--primary);
}

/* Bottom Stats Container */
.testimonials-stats-card {
  max-width: 1100px;
  margin: 70px auto 0 auto;
  background: var(--surface);
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius);
  padding: 30px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
}

[data-theme="dark"] .testimonials-stats-card {
  border-color: rgba(255, 107, 0, 0.25);
  background: rgba(21, 28, 44, 0.8);
}

.testimonials-stats-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 0, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.tstat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.tstat-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.icon-green {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
}

.icon-orange {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
}

.tstat-item:hover .tstat-icon-wrapper {
  transform: scale(1.1);
}

.tstat-icon {
  width: 24px;
  height: 24px;
}

.tstat-info {
  display: flex;
  flex-direction: column;
}

.tstat-number {
  font-size: 26px;
  font-weight: 850;
  color: var(--text);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tstat-star-inline {
  width: 20px;
  height: 20px;
  color: var(--primary);
  fill: currentColor;
}

.tstat-label {
  font-size: 13px;
  font-weight: 650;
  color: var(--text-sec);
  margin-top: 4px;
}

.tstat-underline {
  height: 3px;
  width: 28px;
  border-radius: 100px;
  margin-top: 8px;
}

.underline-green {
  background: #10B981;
}

.underline-orange {
  background: var(--primary);
}

.tstat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  opacity: 0.8;
}

/* Responsiveness adjustments */
@media (min-width: 992px) {
  .testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transform: none !important;
  }
  
  .testimonial-card {
    flex: unset;
    width: auto;
  }
  
  .slider-arrow {
    display: none !important;
  }
  
  .slider-dots {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .testimonials-slider-container {
    padding: 0 60px;
    position: relative;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .slider-arrow.arrow-left {
    left: 0;
  }

  .slider-arrow.arrow-right {
    right: 0;
  }

  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }
  
  .testimonial-card {
    padding: 30px 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  
  .tstat-divider {
    display: none;
  }
  
  .tstat-item {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .testimonials-stats-card {
    padding: 30px 20px;
  }
  
  .testimonials-section {
    padding: 80px 0;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
  
  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }
}


/* ─── CONTACT SECTION ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-pre {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-sec);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-heading {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-heading .highlight {
  color: var(--primary-text);
}

.contact-desc {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-socials-row {
  display: flex;
  gap: 12px;
}

.contact-socials-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-sec);
  text-decoration: none;
  transition: var(--transition);
}

.contact-socials-row a svg {
  width: 20px;
  height: 20px;
}

.contact-socials-row a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* Contact form */
.contact-middle {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  font-family: var(--font-main);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-submit {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
  padding: 14px;
}

.btn-send {
  width: 16px;
  height: 16px;
}

/* Contact info column */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-touch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.touch-pre {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-sec);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.touch-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.touch-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.touch-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  flex-shrink: 0;
}

.touch-icon svg {
  width: 18px;
  height: 18px;
}

.touch-info {
  display: flex;
  flex-direction: column;
}

.touch-info a,
.touch-info span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.touch-info a:hover {
  color: var(--primary-text);
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--surface);
  transition: background 0.3s;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -1.5px;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-sec);
}

.footer-credit {
  font-size: 14px;
  color: var(--text-sec);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-sec);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-left,
  .footer-right {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ─── ADMIN SYSTEM (HIDDEN OVERLAYS) ─── */
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-overlay.open {
  display: flex;
}

.admin-panel {
  width: 90vw;
  max-width: 1000px;
  height: 80vh;
  max-height: 600px;
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.admin-sidebar {
  width: 220px;
  padding: 30px 20px;
  background: rgba(226, 232, 240, 0.1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-btn {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text-sec);
  text-align: left;
  transition: var(--transition);
}

.admin-nav-btn.active,
.admin-nav-btn:hover {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
}

.admin-logout {
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-sec);
}

.admin-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 800;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.admin-stat-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.admin-.trust-metric-value {
  font-size: 32px;
  font-weight: 850;
  color: var(--primary-text);
}

.admin-stat-label {
  font-size: 13px;
  color: var(--text-sec);
}

.admin-welcome {
  padding: 15px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
}

.admin-btn-add {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.admin-edit {
  padding: 4px 10px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  border: none;
  border-radius: 4px;
  margin-right: 6px;
}

.admin-delete {
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: none;
  border-radius: 4px;
}

.admin-seo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-form-group label {
  font-size: 13px;
  font-weight: 600;
}

.admin-form-group input,
.admin-form-group textarea {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

.admin-btn-save {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  width: fit-content;
}

/* Admin Login */
.admin-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-login-overlay.open {
  display: flex;
}

.admin-login-box {
  width: 360px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.admin-login-logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
}

.admin-login-box h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.admin-login-box p {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 24px;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-login-form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.admin-login-error {
  color: #EF4444;
  font-size: 13px;
  min-height: 18px;
}

.admin-login-close {
  background: none;
  border: none;
  color: var(--text-sec);
  font-size: 14px;
  margin-top: 10px;
}

/* ─── SCROLL REVEAL ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Admin Trigger in Footer */
.admin-trigger-btn {
  background: none;
  border: none;
  color: var(--text-sec);
  opacity: 0.3;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.admin-trigger-btn:hover {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.2);
  background: rgba(var(--primary-rgb), 0.05);
}

.admin-lock-icon {
  width: 13px;
  height: 13px;
  display: block;
}

/* ─── Standalone Login/Admin Pages Support ─── */
.login-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  padding: 20px;
}

.admin-page-wrapper {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
}

.admin-page-wrapper .admin-panel {
  width: 100%;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* ─── Modal Dialog Styling ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#projectForm,
#timelineForm {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-text);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-sec);
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--primary-text);
  transform: scale(1.1);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  /* Ensures scroll container shrinks properly inside the modal flexbox */
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(226, 232, 240, 0.05);
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .admin-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.admin-form-group select {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
}

.admin-form-group select:focus {
  border-color: var(--primary);
}

.admin-form-group input[type="file"] {
  padding: 8px 12px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-sec);
}

.admin-image-or {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-sec);
  position: relative;
  margin: 6px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-image-or::before,
.admin-image-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.admin-image-or::before {
  left: 0;
}

.admin-image-or::after {
  right: 0;
}

.btn-secondary {
  padding: 10px 20px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(226, 232, 240, 0.1);
  border-color: var(--text-sec);
}

/* Image preview box in form */
.admin-form-img-preview {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg) no-repeat center/contain;
  display: none;
  margin-top: 6px;
}

/* ─── PROJECT DETAILS MODAL ─── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  padding: 24px;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  width: 100%;
  max-width: 650px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.25);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-header-img {
  width: 100%;
  height: 250px;
  position: relative;
  background: var(--border);
  flex-shrink: 0;
  overflow: hidden;
}
.modal-header-img .project-image-preview {
  height: 100%;
  width: 100%;
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100;
  pointer-events: auto;
}
.modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.85);
  transform: scale(1.05);
}
.modal-content {
  padding: 32px;
  overflow-y: auto;
  flex-grow: 1;
}
.modal-category {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.modal-description {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
  white-space: pre-wrap;
  margin-bottom: 32px;
}
.modal-footer-links {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  background: var(--bg);
  flex-shrink: 0;
}
.modal-footer-links .proj-link-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}
.modal-footer-links .proj-github-icon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
}
.modal-footer-links .proj-github-icon:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════
   PORTFOLIO ANIMATIONS & TRANSITIONS SYSTEM
   ════════════════════════════════════════════ */

/* ─── PRELOADER TRANSITIONS ─── */
.loader {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.loader.fade-out {
  opacity: 0;
  transform: scale(1.05);
  visibility: hidden;
}

/* ─── NAVBAR & LINKS ENTRANCE ─── */
.nav-logo {
  opacity: 0;
  transform: translateY(-10px);
}
.loaded .nav-logo {
  animation: logoSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.nav-link {
  opacity: 0;
  transform: translateY(-5px);
}
.loaded .nav-link {
  animation: linkFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.loaded .nav-link:nth-child(1) { animation-delay: 0.1s; }
.loaded .nav-link:nth-child(2) { animation-delay: 0.16s; }
.loaded .nav-link:nth-child(3) { animation-delay: 0.22s; }
.loaded .nav-link:nth-child(4) { animation-delay: 0.28s; }
.loaded .nav-link:nth-child(5) { animation-delay: 0.34s; }
.loaded .nav-link:nth-child(6) { animation-delay: 0.4s; }
.loaded .nav-link:nth-child(7) { animation-delay: 0.46s; }

@keyframes logoSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes linkFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── ACTIVE NAV INDICATOR ─── */
.nav-indicator {
  position: absolute;
  bottom: 4px;
  height: 3px;
  background: var(--primary);
  border-radius: 10px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
}
.nav-link::after {
  display: none !important;
}

/* ─── HERO REVEALS & CURSOR ─── */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.loaded .word-reveal {
  opacity: 1;
  transform: translateY(0);
}
.loaded .word-reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.role-cursor {
  color: var(--primary-text);
  animation: cursorBlink 1s step-end infinite;
  font-weight: 400;
}
@keyframes cursorBlink {
  from, to { color: transparent; }
  50% { color: var(--primary-text); }
}

/* ─── HERO IMAGE & CTA STAGGERS ─── */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.avatar-img {
  animation: heroFloat 4s ease-in-out infinite;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.loaded .avatar-img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-secondary {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s,
              box-shadow 0.3s;
}
.loaded .hero-ctas .btn-primary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}
.loaded .hero-ctas .btn-secondary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
.hero-ctas .btn-primary:hover,
.hero-ctas .btn-secondary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3) !important;
}

.hero-socials .social-icon-box {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s,
              border-color 0.3s,
              background 0.3s;
}
.loaded .hero-socials .social-icon-box:nth-child(1) { opacity: 1; transform: scale(1); transition-delay: 0.55s; }
.loaded .hero-socials .social-icon-box:nth-child(2) { opacity: 1; transform: scale(1); transition-delay: 0.63s; }
.loaded .hero-socials .social-icon-box:nth-child(3) { opacity: 1; transform: scale(1); transition-delay: 0.71s; }
.loaded .hero-socials .social-icon-box:nth-child(4) { opacity: 1; transform: scale(1); transition-delay: 0.79s; }

.code-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.loaded .code-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.code-card-body pre code span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.loaded .code-card-body pre code span {
  opacity: 1;
  transform: translateX(0);
}
.loaded .code-card-body pre code span:nth-child(1) { transition-delay: 0.7s; }
.loaded .code-card-body pre code span:nth-child(2) { transition-delay: 0.8s; }
.loaded .code-card-body pre code span:nth-child(3) { transition-delay: 0.9s; }
.loaded .code-card-body pre code span:nth-child(4) { transition-delay: 1.0s; }
.loaded .code-card-body pre code span:nth-child(5) { transition-delay: 1.1s; }

/* ─── ABOUT CARD TILT & KNOW MORE BUTTON ─── */
.info-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s,
              box-shadow 0.35s;
}
.info-card:hover {
  transform: perspective(600px) rotateX(4deg) translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.about-info-grid .info-card:nth-child(1) { transition-delay: 0.05s; }
.about-info-grid .info-card:nth-child(2) { transition-delay: 0.12s; }
.about-info-grid .info-card:nth-child(3) { transition-delay: 0.19s; }
.about-info-grid .info-card:nth-child(4) { transition-delay: 0.26s; }

.btn-know-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary-text);
}
.btn-know-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-know-more:hover::after {
  width: 100%;
}

/* ─── SKILLS PROGRESS BARS ─── */
.progress-bar {
  width: 0 !important;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.progress-bar.animate {
  width: var(--progress-width) !important;
}

/* ─── PROJECTS HOVERS ─── */
.project-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s,
              opacity 0.5s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.project-card:hover .project-preview img,
.project-card:hover .project-image-preview {
  transform: scale(1.05);
}
.project-card .project-preview img,
.project-card .project-image-preview {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.project-card.animate-in {
  opacity: 0;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ─── VERTICAL TIMELINE LAYOUT ─── */
.timeline-v2 {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 20px 0;
}

/* Central Vertical Line */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--border);
  transform: translateX(-50%);
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="dark"] .timeline-line {
  background: rgba(248, 250, 252, 0.08);
}

.timeline-line-progress {
  width: 100%;
  height: 0%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: height 0.1s linear;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  margin-bottom: 50px;
  width: 100%;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translate(-50%, 0);
  z-index: 5;
}

.timeline-node-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.timeline-node-inner svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s ease;
}

.timeline-item.node-active .timeline-node-inner {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.3);
}

.timeline-item.node-active .timeline-node-inner.card-green {
  border-color: var(--success);
  background: var(--success);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.timeline-item.node-active .timeline-node-inner svg {
  transform: scale(1.1);
}

/* Alternating Content */
.timeline-left {
  text-align: right;
}

.timeline-left .grid-card {
  grid-column: 1;
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-right .grid-card {
  grid-column: 2;
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.visible .grid-card {
  transform: translateX(0);
  opacity: 1;
}

/* Reset height card */
.timeline-v2 .grid-card {
  min-height: auto;
  text-align: left;
}

/* Responsive timeline */
@media (max-width: 991px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }
  .timeline-node {
    left: 20px;
    transform: translate(-50%, 0);
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 50px;
    margin-bottom: 40px;
  }
  .timeline-left,
  .timeline-right {
    text-align: left;
  }
  .timeline-left .grid-card,
  .timeline-right .grid-card {
    grid-column: 1;
    transform: translateX(20px);
  }
  .timeline-item.visible .grid-card {
    transform: translateX(0);
  }
}

/* ─── ACHIEVEMENTS & INTERACTIONS ─── */
.ach-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s;
}
.ach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.touch-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.touch-item:hover .touch-icon {
  transform: rotate(12deg) scale(1.1);
}

/* Scroll progress bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* Custom Cursor */
.custom-cursor-dot,
.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: width 0.3s ease,
              height 0.3s ease,
              background-color 0.3s ease,
              border-color 0.3s ease,
              opacity 0.3s ease;
}
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}
.custom-cursor-dot.hover {
  width: 12px;
  height: 12px;
  background-color: var(--secondary);
}
.custom-cursor-outline {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--primary);
  transition: transform 0.08s ease-out,
              width 0.3s ease,
              height 0.3s ease,
              background-color 0.3s ease,
              border-color 0.3s ease;
}
.custom-cursor-outline.hover {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 107, 0, 0.08);
  border-color: var(--secondary);
}
@media (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none !important;
  }
}

/* ─── ACHIEVEMENTS CERTIFICATE HEIGHT INCREASE ─── */
.ach-img-container {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.ach-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ach-card:hover .ach-img-container img {
  transform: scale(1.05); 
}

/* ─── DYNAMIC ACHIEVEMENT MOCK CERTIFICATES ─── */
.ach-mock-certificate {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  font-family: var(--font-main);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ach-card:hover .ach-mock-certificate {
  transform: translateY(-2px);
}

/* Color schemes for various providers */
.ach-mock-certificate.udemy-theme {
  background: linear-gradient(135deg, #a435f0, #5624d0);
}

.ach-mock-certificate.coursera-theme {
  background: linear-gradient(135deg, #0056d2, #003087);
}

.ach-mock-certificate.nptel-theme {
  background: linear-gradient(135deg, #ff6b00, #b24b00);
}

.ach-mock-certificate.google-theme {
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.ach-mock-certificate.aws-theme {
  background: linear-gradient(135deg, #ff9900, #232f3e);
}

.ach-mock-certificate.default-theme {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.mock-cert-border {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  height: 100%;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
}

.mock-cert-border::before {
  content: 'CERTIFICATE';
  position: absolute;
  top: 4px;
  font-size: 8px;
  letter-spacing: 2px;
  opacity: 0.5;
  font-weight: 700;
}

.mock-cert-header {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.95;
  margin-top: 14px;
  text-transform: uppercase;
}

.mock-cert-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ffffff;
}

.mock-cert-recipient {
  font-size: 9px;
  opacity: 0.8;
  font-style: italic;
  font-family: var(--font-mono);
}

.mock-cert-date {
  font-size: 9px;
  opacity: 0.6;
}

.mock-cert-watermark {
  position: absolute;
  bottom: -15px;
  right: -15px;
  font-size: 70px;
  opacity: 0.08;
  transform: rotate(-15deg);
  pointer-events: none;
}

/* ─── LIVE NOW BUILDING WIDGET ─── */
.now-building-widget {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 107, 0, 0.05);
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: 100px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease;
  text-decoration: none !important;
  cursor: default;
}

.now-building-widget[href] {
  cursor: pointer;
}

[data-theme="dark"] .now-building-widget {
  background: rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.25);
  color: #f1f5f9;
}

.now-building-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.1);
  background: rgba(255, 107, 0, 0.08);
}

[data-theme="dark"] .now-building-widget:hover {
  background: rgba(255, 107, 0, 0.12);
}

.now-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.now-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #10B981;
  opacity: 0.45;
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.now-text strong {
  color: var(--primary);
  font-weight: 700;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* ─── CUSTOM CURSOR OVERRIDES ─── */
body.custom-cursor-enabled,
body.custom-cursor-enabled * {
  cursor: none !important;
}

/* ─── ABOUT SECTION OVERHAUL & PREMIUM FIXES ─── */

/* Ambient background glow blob */
.about-section {
  position: relative;
  overflow: hidden;
}
.about-glow-blob {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}
[data-theme="dark"] .about-glow-blob {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.07) 0%, rgba(255, 107, 0, 0) 70%);
}

/* Card border accents */
.info-card.location-card {
  border-left: 3px solid var(--primary) !important;
}
.info-card.education-card {
  border-left: 3px solid var(--success) !important;
}
.info-card.age-card {
  border-left: 3px solid var(--accent) !important;
}
.info-card.freelance-card {
  border-left: 3px solid #A855F7 !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, var(--surface) 100%) !important;
  border-color: rgba(168, 85, 247, 0.15) !important;
}
[data-theme="dark"] .info-card.freelance-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, var(--surface) 100%) !important;
}
.info-card.freelance-card:hover {
  border-color: #A855F7 !important;
  box-shadow: 0 20px 40px -15px rgba(168, 85, 247, 0.15) !important;
}

/* Icon micro-animations */
.info-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.info-card:hover .info-icon {
  transform: scale(1.15) rotate(6deg) !important;
}

/* Live green pulse dot for Freelance */
.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.6s infinite;
  vertical-align: middle;
  transform: translateY(-1px);
}
@keyframes pulseGreen {
  0% {
    transform: scale(0.9) translateY(-1px);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1) translateY(-1px);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.9) translateY(-1px);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Core Stack badging row */
.about-trust-row {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.trust-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 12px;
}
.trust-badges-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-badge-sm {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 6px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: default;
}
.tech-badge-sm:hover {
  border-color: var(--primary);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.1);
}