/* 
  VARUN AKSHAY MASTER PORTFOLIO SYSTEM STYLESHEET
  Themes: Dark Cyber-Glassmorphism & Crisp Light Slate
  Full Responsive Design: Mobile, Tablet, Laptop, Desktop
*/

:root {
  /* DARK THEME TOKENS (DEFAULT) */
  --bg-dark: #0a0d14;
  --bg-card: rgba(22, 28, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-glass-section: rgba(15, 23, 42, 0.45);
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 242, 254, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan: #00f2fe;
  --blue: #4facfe;
  --violet: #a855f7;
  --emerald: #10b981;
  --gold: #f59e0b;
  --rose: #f43f5e;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #a855f7 0%, #00f2fe 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
  --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.2);

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* LIGHT THEME VARIABLES & OVERRIDES */
[data-theme="light"],
body.light-theme {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass-section: #f1f5f9;
  
  --border-glass: rgba(15, 23, 42, 0.12);
  --border-highlight: rgba(2, 132, 199, 0.5);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;

  --cyan: #0284c7;
  --blue: #2563eb;
  --violet: #7c3aed;
  --emerald: #059669;
  --gold: #d97706;
  --rose: #e11d48;

  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #0284c7 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  --gradient-emerald: linear-gradient(135deg, #059669 0%, #047857 100%);

  --shadow-glass: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.12);
  --shadow-emerald: 0 0 25px rgba(5, 150, 105, 0.15);
}

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

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

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

a:hover {
  color: var(--blue);
}

ul {
  list-style: none;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.bg-glass-section {
  background-color: var(--bg-glass-section);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

/* AMBIENT BACKGROUND GLOWS */
.ambient-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
}

.blur-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--cyan);
}

.blur-2 {
  top: 40%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: var(--violet);
}

.blur-3 {
  bottom: -10%;
  left: 20%;
  width: 40vw;
  height: 40vw;
  background: var(--emerald);
  opacity: 0.15;
}

body.light-theme .ambient-blur {
  opacity: 0.10;
}

/* SECTION HEADERS */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-block;
  margin-bottom: 0.5rem;
}

body.light-theme .section-subtitle {
  color: #0284c7;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

/* GLASSMORPHISM CARD SYSTEM */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
}

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

body.light-theme .glass-card {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.light-theme .glass-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 14px 35px rgba(2, 132, 199, 0.12);
}

.feature-glow {
  border-color: rgba(245, 158, 11, 0.3);
}

.feature-glow:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
}

/* BUTTONS & ACTIONS */
.btn-primary {
  background: var(--gradient-primary);
  color: #000000;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
  color: #000000;
}

body.light-theme .btn-primary {
  color: #ffffff;
}

body.light-theme .btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

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

body.light-theme .btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

body.light-theme .btn-secondary:hover {
  background: #cbd5e1;
  color: #000000;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

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

body.light-theme .btn-glass {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .btn-glass:hover {
  background: #e2e8f0;
  color: var(--cyan);
}

.btn-large {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

.btn-cv-header {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald);
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.btn-cv-header:hover {
  background: var(--gradient-emerald);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

body.light-theme .btn-cv-header {
  background: #059669;
  color: #ffffff;
  border-color: transparent;
}

body.light-theme .btn-cv-header:hover {
  background: #047857;
  color: #ffffff;
}

.btn-sm-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-sm-outline:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

body.light-theme .btn-sm-outline {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .btn-sm-outline:hover {
  background: #e2e8f0;
  color: var(--cyan);
}

/* HEADER & NAVBAR */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .glass-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  white-space: nowrap;
}

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

.brand-logo .highlight {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-shrink: 1;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  padding: 0.35rem 0.2rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.48rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: scale(1.08);
}

body.light-theme .theme-toggle-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.theme-toggle-btn .sun-icon {
  display: none;
  color: #d97706;
}

.theme-toggle-btn .moon-icon {
  display: inline-flex;
  color: var(--cyan);
}

body.light-theme .theme-toggle-btn .sun-icon,
[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: inline-flex;
}

body.light-theme .theme-toggle-btn .moon-icon,
[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.45rem 0.65rem;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan);
  border-color: var(--cyan);
}

body.light-theme .mobile-menu-toggle {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

/* HERO SECTION */
.hero-section {
  padding: 3rem 0 2.5rem;
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

body.light-theme .version-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -1px;
  line-height: 1.15;
}

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

.role-typer-container {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-typer {
  color: var(--cyan);
  font-family: var(--font-mono);
}

.cursor {
  color: var(--cyan);
  animation: blink 1s infinite;
}

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

.hero-description {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  max-width: 650px;
  line-height: 1.6;
}

.hero-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.info-pill {
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.light-theme .info-pill {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* AVATAR & HERO VISUAL */
.hero-visual {
  position: relative;
}

.avatar-card {
  text-align: center;
  position: relative;
  padding: 1.25rem;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.15rem;
}

.avatar-frame {
  position: relative;
  width: 220px;
  max-width: 100%;
  height: 270px;
  border-radius: 20px;
  padding: 4px;
  background: var(--gradient-accent);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
  margin: 0 auto;
  transition: var(--transition-normal);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-dark);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.avatar-overlay-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
}

.stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

body.light-theme .mini-stat {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.2;
}
  color: var(--cyan);
}

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

/* IDENTITY GRID */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.identity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.identity-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon.cyan { background: rgba(0, 242, 254, 0.12); color: var(--cyan); }
.card-icon.violet { background: rgba(112, 0, 255, 0.12); color: var(--violet); }
.card-icon.emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.card-icon.gold { background: rgba(245, 158, 11, 0.12); color: var(--gold); }

.identity-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.identity-list li i {
  color: var(--cyan);
  width: 16px;
  height: 16px;
}

body.light-theme .identity-list li i {
  color: var(--emerald);
}

.margin-top-lg { margin-top: 2rem; }
.margin-top-md { margin-top: 1.5rem; }
.margin-top-sm { margin-top: 1rem; }

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.summary-box p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.summary-box p:last-child {
  margin-bottom: 0;
}

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

/* EMPLOYMENT SECTION */
.meta-list li {
  color: var(--text-muted);
}

.meta-list li strong {
  color: var(--text-main);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--cyan);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.tag-pill:hover {
  background: rgba(0, 242, 254, 0.16);
  border-color: var(--cyan);
}

body.light-theme .tag-pill {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0369a1;
}

/* RECRUITER KEYWORD & SKILLS HUB */
.search-box-container {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(22, 28, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.5rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-normal);
}

.search-input-wrapper:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

body.light-theme .search-input-wrapper {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.search-icon {
  color: var(--text-dim);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.search-input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
}

.search-input-wrapper input::placeholder {
  color: var(--text-dim);
}

.clear-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

.search-stats-badge {
  font-size: 0.82rem;
  color: var(--cyan);
  margin-top: 0.75rem;
}

body.light-theme .search-stats-badge {
  color: #0284c7;
}

.skill-category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--gradient-primary);
  color: #000000;
  border-color: transparent;
  font-weight: 700;
}

body.light-theme .tab-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
  font-weight: 600;
}

body.light-theme .tab-btn.active,
body.light-theme .tab-btn:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

body.light-theme .skill-pill {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

body.light-theme .skill-pill:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.recruiter-keywords-card {
  padding: 2rem;
}

.recruiter-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recruiter-card-header h3 {
  font-size: 1.25rem;
}

.badge-pill {
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

body.light-theme .badge-pill {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.3);
}

/* CAREER TIMELINE */
.timeline-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

body.light-theme .timeline-container::after {
  background: rgba(15, 23, 42, 0.15);
}

.timeline-item {
  padding: 12px 48px;
  position: relative;
  width: 50%;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-dot {
  position: absolute;
  width: 38px;
  height: 38px;
  background: var(--bg-dark);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  top: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.95rem;
}

body.light-theme .timeline-dot {
  background: #ffffff;
  border-color: #0284c7;
  color: #0284c7;
}

.timeline-dot.current {
  border-color: var(--emerald);
  color: var(--emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.timeline-item.left .timeline-dot { right: -19px; }
.timeline-item.right .timeline-dot { left: -19px; }

.timeline-content {
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  text-align: left;
}

.timeline-date {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--cyan);
  color: #000000;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

body.light-theme .timeline-date {
  background: #0284c7;
  color: #ffffff;
}

.timeline-header-flex {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
}

.company-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-align: left;
}

.role-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-align: left;
}

.location-text {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  text-align: left;
}

.timeline-details ul li {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.6;
  text-align: left;
  word-spacing: normal;
  letter-spacing: normal;
  display: block;
}

.timeline-details ul li i {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--cyan);
  flex-shrink: 0;
}

body.light-theme .timeline-details ul li i {
  color: #0284c7;
}

/* PROJECTS GALLERY */
.project-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.proj-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.proj-tab.active, .proj-tab:hover {
  background: var(--gradient-primary);
  color: #000000;
  border-color: transparent;
  font-weight: 700;
}

body.light-theme .proj-tab {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
  font-weight: 600;
}

body.light-theme .proj-tab.active,
body.light-theme .proj-tab:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 700;
}

/* PROJECTS GALLERY & UNIFORM CARD CANVAS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-normal);
}

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

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(10, 14, 23, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.project-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.55) opacity(0.5);
  transform: scale(1.15);
  pointer-events: none;
  z-index: 0;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

body.light-theme .project-img-bg {
  filter: blur(18px) brightness(0.9) opacity(0.35);
}

.project-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 95%;
  max-height: 92%;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-card:hover .project-img-bg {
  opacity: 0.7;
  filter: blur(14px) brightness(0.65) opacity(0.7);
}

/* Image Quick Zoom Button (Icon Only) */
.img-zoom-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.img-zoom-btn:hover {
  background: var(--cyan);
  color: #000000;
  opacity: 1;
  border-color: var(--cyan);
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.45);
}

.project-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 3;
}

.mis-badge { background: var(--cyan); color: #000000; }
.web-badge { background: var(--violet); color: #ffffff; }
.game-badge { background: var(--gold); color: #000000; }

body.light-theme .mis-badge { background: #0284c7; color: #ffffff; }
body.light-theme .web-badge { background: #7c3aed; color: #ffffff; }
body.light-theme .game-badge { background: #d97706; color: #ffffff; }

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

.project-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.55;
}

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

.tech-stack-pills span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
}

body.light-theme .tech-stack-pills span {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

/* CERTIFICATES SECTION & CARDS */
.cert-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cert-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.cert-tab.active, .cert-tab:hover {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
}

body.light-theme .cert-tab {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
  font-weight: 600;
}

body.light-theme .cert-tab.active,
body.light-theme .cert-tab:hover {
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 700;
}

.certificate-card {
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--transition-normal);
}

.certificate-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

/* CERTIFICATE LIVE PDF PREVIEW HEADER WRAPPER */
.cert-card-preview-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a0e17;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid var(--border-glass);
}

.cert-pdf-preview-iframe {
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  border: none;
  pointer-events: none;
  background: #0f172a;
  overflow: hidden;
  transform: scale(1);
  transform-origin: top center;
  transition: transform 0.4s ease;
}

.cert-card-preview-wrapper:hover .cert-pdf-preview-iframe {
  transform: scale(1.04);
}

.cert-pdf-overlay-clickpad {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.cert-card-preview-wrapper:hover .cert-pdf-overlay-clickpad {
  background: rgba(0, 242, 254, 0.05);
}

.cert-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cert-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}

body.light-theme .cert-icon-box {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
  color: #7c3aed;
}

.cert-issuer {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

body.light-theme .cert-issuer {
  color: #0284c7;
}

.cert-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.cert-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cert-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* EDU & AI VISION */
.edu-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.col-span-2-lg {
  grid-column: span 2;
}

.edu-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.edu-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.edu-year {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

body.light-theme .edu-year {
  color: #0284c7;
}

.cert-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cert-list li i {
  color: var(--emerald);
  flex-shrink: 0;
}

.ai-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.ai-pill {
  background: rgba(112, 0, 255, 0.12);
  border: 1px solid rgba(112, 0, 255, 0.3);
  color: var(--cyan);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.light-theme .ai-pill {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
  color: #6b21a8;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: #05070b;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .footer {
  background: #e2e8f0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-brand-divider {
  color: var(--cyan);
  font-size: 1.1rem;
  opacity: 0.6;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 640px) {
  .footer-brand-divider {
    display: none;
  }
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  width: 100%;
}

body.light-theme .footer-copy {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
}

/* MODAL DIALOG STYLING (<dialog>) */
.glass-dialog {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 650px;
  width: 90%;
  position: fixed;
  inset: 0;
  margin: auto;
  color: var(--text-main);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.glass-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

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

.dialog-header h3 {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dialog-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-close-btn:hover {
  color: var(--cyan);
}

.dialog-body {
  padding: 1.75rem;
  max-height: 75vh;
  overflow-y: auto;
}

.dialog-body::-webkit-scrollbar {
  width: 6px;
}

.dialog-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.dialog-body::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

body.light-theme .contact-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

.contact-card i {
  color: var(--cyan);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.copy-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-field button {
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.social-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

body.light-theme .social-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.social-btn.linkedin:hover { background: #0077b5; color: #ffffff; border-color: transparent; }
.social-btn.github:hover { background: #24292e; color: #ffffff; border-color: transparent; }
.social-btn.youtube:hover { background: #ff0000; color: #ffffff; border-color: transparent; }
.social-btn.instagram:hover { background: #e1306c; color: #ffffff; border-color: transparent; }

/* SCROLL TO TOP FLOATING BUTTON */
.scroll-to-top-btn {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-highlight);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: var(--gradient-primary);
  color: #000000;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

body.light-theme .scroll-to-top-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0284c7;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
}

body.light-theme .scroll-to-top-btn:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE BREAKPOINTS
   Desktop, Laptop, Tablet, Mobile
   ========================================================================== */

/* LAPTOP / SMALL DESKTOP (993px - 1199px) */
@media (max-width: 1199px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* TABLET & BELOW (<= 1100px) */
.mobile-nav-footer {
  display: none;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: inline-flex; }

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 13, 22, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-glass);
    gap: 0.75rem;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 0.3s ease;
    z-index: 1001;
  }

  body.light-theme .nav-links.mobile-open {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  }

  .nav-links.mobile-open a {
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  body.light-theme .nav-links.mobile-open a {
    border-bottom-color: rgba(15, 23, 42, 0.06);
  }

  .btn-cv-header {
    display: none;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TABLET VERTICAL / PHABLET (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-description {
    margin: 0 auto 1.5rem;
  }

  .hero-info-pills {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .timeline-container::after {
    left: 28px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 65px;
    padding-right: 15px;
  }

  .timeline-item.right {
    left: 0%;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 10px;
    right: auto;
  }

  .edu-ai-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2-lg {
    grid-column: span 1;
  }
}

/* MOBILE PHONES (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

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

  .section-title {
    font-size: 1.85rem;
  }

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

  .identity-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .social-links-grid {
    grid-template-columns: 1fr;
  }

  .cert-filter-bar, .project-filter-bar, .skill-category-tabs {
    gap: 0.45rem;
  }

  .cert-tab, .proj-tab, .tab-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .dialog-body {
    padding: 1.25rem;
  }
}

/* SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }

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

  .role-typer-container {
    font-size: 1.15rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .avatar-frame {
    width: 180px;
    height: 180px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .hero-cta-group .btn-glass {
    width: 100%;
    justify-content: center;
  }

  .stats-mini-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .mini-stat {
    padding: 0.75rem;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .scroll-to-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================
   SIMPLIFIED PORTFOLIO NEW COMPONENT STYLES
   ========================================== */

/* Focus Pillars Grid (About Section - 4 Cards Single Row on Desktop) */
.focus-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Employment Grid (Datamatics Role) */
.employment-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

/* RESPONSIVE OVERRIDES FOR COMPONENTS */
@media (max-width: 1024px) {
  .focus-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .employment-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .focus-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .responsibilities-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.focus-pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.focus-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.06);
}

.pillar-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pillar-icon-wrapper.cyan { background: rgba(0, 242, 254, 0.15); color: var(--cyan); }
.pillar-icon-wrapper.violet { background: rgba(168, 85, 247, 0.15); color: var(--violet); }
.pillar-icon-wrapper.emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.pillar-icon-wrapper.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold); }

.focus-pillar h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.focus-pillar p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Core Skills Tiles Grid (Skills Section) */
.core-skills-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.core-skill-tile {
  padding: 2rem;
  transition: var(--transition-normal);
}

.core-skill-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.tile-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.tile-icon {
  width: 28px;
  height: 28px;
}

.tile-icon.cyan { color: var(--cyan); }
.tile-icon.emerald { color: var(--emerald); }
.tile-icon.violet { color: var(--violet); }
.tile-icon.gold { color: var(--gold); }

.tile-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.tile-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tile-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.tile-list li i {
  width: 18px;
  height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* HIGH-RES LIGHTBOX MODAL STYLES */
dialog {
  position: fixed;
  inset: 0;
  margin: auto;
}

.lightbox-dialog {
  max-width: 900px;
  width: 92vw;
  position: fixed;
  inset: 0;
  margin: auto;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  color: var(--text-main);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.6);
}

.lightbox-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-frame {
  position: relative;
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  padding: 1rem;
}

.lightbox-img-frame img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.lightbox-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* PDF CERTIFICATE PREVIEW LIGHTBOX STYLES */
.pdf-lightbox-dialog {
  max-width: 1000px;
  width: 95vw;
}

.pdf-frame-wrapper {
  position: relative;
  width: 100%;
  height: 72vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  background: #0f172a;
}

.pdf-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}



