/* -------------------------------------------------------------------------- */
/* ABHAY SHARMA PORTFOLIO - MOVING CYBER GRID + AMBIENT GLOW SYSTEM          */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Color System */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-teal: #2f7a72;
  --accent-teal-bright: #149ebb;
  --accent-yellow: #d9a441;
  --accent-yellow-dark: #b47d19;
  
  --border-light: rgba(226, 232, 240, 0.9);
  --border-hover: rgba(47, 122, 114, 0.4);
  
  --mouse-x: 50vw;
  --mouse-y: 50vh;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Shadows & Transitions */
  --shadow-card: 0 15px 35px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-hero: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 20px rgba(47, 122, 114, 0.15);
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* STEALTH CYBER DARK MODE OVERRIDES */
[data-theme="dark"] {
  --bg-page: #080c14;
  --bg-card: #0f1624;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-teal: #00f2fe;
  --accent-teal-bright: #38bdf8;
  --accent-yellow: #fbbf24;
  --accent-yellow-dark: #f59e0b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.4);
  
  --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-hero: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* FULL PAGE 4K MACRO PLEXUS BLUE VIDEO BACKGROUND */
.full-bg-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.full-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.18;
  filter: saturate(1.25) contrast(1.1);
  transition: opacity 0.5s ease;
}

.full-bg-tint-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(248, 250, 252, 0.76) 0%, rgba(248, 250, 252, 0.94) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Animated Cyber Grid Pattern Overlaid On Plexus */
.cyber-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(20, 158, 187, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 158, 187, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: cyberGridMove 25s linear infinite;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes cyberGridMove {
  0% { background-position: 0 0; }
  100% { background-position: 44px 44px; }
}

/* Interactive Cursor Spotlight Follower */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    650px circle at var(--mouse-x) var(--mouse-y),
    rgba(253, 230, 138, 0.22),
    rgba(20, 158, 187, 0.07) 40%,
    transparent 80%
  );
  transition: opacity 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 5rem 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1180px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

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

.nav-cta-btn {
  background: #0f172a;
  color: #ffffff;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 122, 114, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  background: #ffffff;
  border-radius: 36px;
  padding: 4rem 3.5rem 3.5rem 3.5rem;
  box-shadow: var(--shadow-hero);
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Ambient Liquid Blue Gradient Background Video */
.hero-bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  border-radius: 36px;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.32;
  filter: saturate(1.2) contrast(1.05);
  transition: opacity 0.5s ease;
}

.hero-video-tint-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.82) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Warm Radial Glow Layer Inside Canvas */
.hero-canvas::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.65) 0%, rgba(253, 230, 138, 0.25) 45%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 2;
}

/* Giant Background Typography Name */
.giant-name-wrapper {
  text-align: center;
  margin-bottom: -70px;
  user-select: none;
  position: relative;
  z-index: 3;
}

.giant-name {
  font-size: clamp(3.5rem, 9.5vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.name-outline {
  color: transparent;
  -webkit-text-stroke: 2.5px #0f172a;
}

.name-solid {
  color: #0f172a;
}

/* Hero Content Triple Grid */
.hero-triple-grid {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 2rem;
  align-items: flex-end;
  position: relative;
  z-index: 5;
  margin-top: 1rem;
}

/* Center Portrait Cutout - Hover Zoom In / Zoom Out */
.hero-portrait-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-portrait-card {
  width: 100%;
  max-width: 320px;
  height: 440px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  border: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.hero-portrait-card:hover {
  transform: scale(1.08);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.18));
  display: block;
  transition: filter 0.45s ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, rgba(0, 0, 0, 0.75) 80%, rgba(0, 0, 0, 0.2) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, rgba(0, 0, 0, 0.75) 80%, rgba(0, 0, 0, 0.2) 93%, transparent 100%);
}

.hero-portrait-card::after {
  display: none;
}

.hero-portrait-card:hover .hero-portrait-img {
  filter: drop-shadow(0 25px 40px rgba(245, 158, 11, 0.35));
}

/* Left Subtext Block */
.hero-left-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
}

.hero-role-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-subtext-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
}

.hero-cta-btn {
  background: #0f172a;
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.hero-cta-btn:hover {
  background: var(--accent-teal);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(47, 122, 114, 0.35);
}

/* Right Social Stack */
.hero-right-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
  padding-bottom: 1.5rem;
}

.social-pill-link {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.social-pill-link:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateX(-4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

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

.eyebrow-text {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
  display: block;
}

.section-main-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* AESTHETIC SCROLL POP-IN ANIMATIONS */
.scroll-pop-element {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pop-diagonal-left {
  transform: translate(-40px, 40px) scale(0.92);
}

.pop-diagonal-right {
  transform: translate(40px, 40px) scale(0.92);
}

.pop-up {
  transform: translateY(50px) scale(0.92);
}

/* HIGH-IMPACT ZIG-ZAG SCROLL ENTRANCE (EXPERIENCE INTERNSHIPS) */
.pop-zigzag-left {
  opacity: 0;
  transform: translate3d(-100px, 0, 0) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.pop-zigzag-right {
  opacity: 0;
  transform: translate3d(100px, 0, 0) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-pop-element.in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.pop-zigzag-left.in-view,
.pop-zigzag-right.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* PROJECTS GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-aesthetic-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.project-video-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #080c14;
}

.project-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-aesthetic-card:hover .project-card-video {
  transform: scale(1.06);
}

.project-video-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 85px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 65%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

.project-video-overlay {
  position: absolute;
  bottom: 0.85rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.project-video-overlay .project-card-icon {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}

.project-live-badge {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-live-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.project-card-body {
  padding: 1.5rem 1.75rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(8, 20, 32, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-aesthetic-card:hover .project-card-icon {
  border-color: rgba(6, 182, 212, 0.85);
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

.project-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.tag-simulation {
  background: rgba(217, 164, 65, 0.15);
  color: #b47d19;
  border-color: rgba(217, 164, 65, 0.3);
}

/* EXPERIENCE SECTION - ALTERNATING ZIG-ZAG LAYOUT */
.exp-section {
  overflow-x: clip;
}

.exp-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
}

.exp-aesthetic-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Ambient Liquid Blue Shapes Background Media */
.exp-card-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  border-radius: 24px;
  z-index: 1;
}

.exp-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.16;
  filter: saturate(1.25) contrast(1.1);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.exp-aesthetic-card:hover .exp-bg-video {
  opacity: 0.28;
  transform: scale(1.04);
}

.exp-bg-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.92) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.exp-card-inner-content {
  position: relative;
  z-index: 2;
}

@media (min-width: 960px) {
  .exp-aesthetic-card.pop-zigzag-left {
    max-width: 93%;
    margin-right: auto;
    border-left: 4px solid var(--accent-teal);
  }

  .exp-aesthetic-card.pop-zigzag-right {
    max-width: 93%;
    margin-left: auto;
    border-right: 4px solid var(--accent-teal);
  }
}

.exp-aesthetic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-teal);
}

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

.exp-role-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.exp-company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.exp-date-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #f1f5f9;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

.exp-card-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* CERTIFICATIONS SECTION */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cert-aesthetic-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-aesthetic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-teal);
}

.cert-type-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 0.85rem;
}

.cert-type-credential {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.cert-type-sim {
  background: rgba(217, 164, 65, 0.15);
  color: #b47d19;
}

.cert-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(8, 20, 32, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-aesthetic-card:hover .cert-icon-badge {
  border-color: rgba(6, 182, 212, 0.85);
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

.cert-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.cert-org {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
}

.cert-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
}

.cert-date-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cert-check {
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
}

/* EDUCATION SECTION */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.edu-aesthetic-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.edu-aesthetic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-teal);
}

.edu-campus-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0f172a;
}

.edu-campus-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 95px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 65%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

.edu-campus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.edu-aesthetic-card:hover .edu-campus-img {
  transform: scale(1.05);
}

.edu-badge-overlay {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 2;
}

.edu-type-pill {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.05em;
}

.edu-type-pill.edu-type-school {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}

.edu-loc-pill {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.edu-card-content {
  padding: 1.5rem 1.5rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.edu-inst-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.edu-degree-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.edu-dates-text {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* HIGH-IMPACT CONTACT SECTION (SERIF TYPOGRAPHY & FUNNY QUOTES) */
.contact-section {
  padding: 6rem 0;
  background: #f5f5f0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-left-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* MINIMALIST CONTACT FORM CARD (INSPIRED BY EDITORIAL PORTFOLIO DESIGN) */
.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 2rem 2rem 2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: var(--transition-smooth);
  width: 100%;
}

.contact-form-card:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(47, 122, 114, 0.2);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.minimal-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.form-input-line {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #334155;
  background: transparent;
  padding: 0.45rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  border-radius: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.form-input-line::placeholder {
  color: #a1a1aa;
  font-weight: 400;
  font-size: 0.92rem;
}

.form-input-line:focus {
  outline: none;
  border-bottom-color: var(--accent-teal-bright);
}

.form-group:focus-within .form-label {
  color: var(--accent-teal);
}

.form-textarea {
  resize: vertical;
  min-height: 55px;
  line-height: 1.45;
}

.field-error-msg {
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc2626;
  margin-top: 0.1rem;
  min-height: 0.9rem;
  display: block;
}

.form-input-line.input-error {
  border-bottom-color: #dc2626 !important;
}

/* Submit Button Row & Pill Button */
.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.minimal-submit-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.minimal-submit-btn:hover:not(:disabled) {
  background: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(20, 158, 187, 0.3);
}

.minimal-submit-btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.minimal-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Status Alert Banner */
.form-status-alert {
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.form-status-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-giant-heading {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-giant-heading span.italic-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-teal);
}

.contact-subtext {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 2rem;
}

.funny-quotes-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
  position: relative;
  transition: transform 0.2s ease;
}

.funny-quotes-card:hover {
  transform: translateY(-2px);
}

.quote-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b47d19;
  background: #fef08a;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.quote-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
  font-style: italic;
}

.contact-links-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-email-large {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  color: #0f172a;
  text-decoration: none;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 0.25rem;
  width: fit-content;
  transition: var(--transition-fast);
}

.contact-email-large:hover {
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.contact-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.action-btn-dark {
  background: #0f172a;
  color: #ffffff;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.action-btn-dark:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(47, 122, 114, 0.3);
}

.action-btn-outline {
  background: transparent;
  color: #0f172a;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.action-btn-outline:hover {
  background: #0f172a;
  color: #ffffff;
}

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy-text {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent-teal);
  transform: translateY(-3px);
}

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  width: 90%;
  max-width: 580px;
  padding: 2.25rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.75rem;
  cursor: pointer;
}

.modal-close:hover { color: #ffffff; }

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 960px) {
  .hero-triple-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-right-block {
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .giant-name {
    font-size: 4rem;
  }
  
  .giant-name-wrapper {
    margin-bottom: -30px;
  }

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

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

@media (max-width: 640px) {
  .hero-canvas {
    padding: 2.5rem 1.5rem;
  }

  .giant-name {
    font-size: 2.8rem;
    gap: 0.5rem;
  }

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

  .exp-card-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* -------------------------------------------------------------------------- */
/* STEALTH CYBER DARK MODE TOGGLE & VERIFICATION SYSTEM                       */
/* -------------------------------------------------------------------------- */

/* Stealth Theme Toggle Button (🌙 in Light Mode / ☀️ in Dark Mode) */
.theme-toggle-btn {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #0f172a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  line-height: 1;
}

.theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: #0f172a;
  transform: scale(1.08);
}

/* Light mode defaults: show 🌙, hide ☀️ */
.theme-icon.sun {
  display: none;
}

.theme-icon.moon {
  display: inline-block;
  font-size: 1.05rem;
}

/* Dark mode overrides: show ☀️, hide 🌙 */
[data-theme="dark"] .theme-icon.sun {
  display: inline-block;
  color: #fbbf24;
  font-size: 1.1rem;
}

[data-theme="dark"] .theme-icon.moon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
  color: #fbbf24;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
  transform: scale(1.08);
}

/* 3. Project Source Code & Action Buttons */
.project-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.project-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.project-action-btn.github {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-action-btn.github:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}

.project-action-btn.demo {
  background: transparent;
  color: var(--accent-teal);
  border: 1px solid var(--border-hover);
}

.project-action-btn.demo:hover {
  background: rgba(47, 122, 114, 0.1);
  transform: translateY(-2px);
}

/* 4. Official Credential Verification Modal */
.cert-verify-btn {
  background: transparent;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #059669;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-verify-btn:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-1px);
}

.cert-modal-box {
  width: 92%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: #0d121f;
  color: #ffffff;
  border-radius: 24px;
  padding: 2.2rem;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 242, 254, 0.12);
}

/* High-Resolution Official Certificate Preview Frame */
.cert-image-preview-container {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #05080e;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.cert-image-frame {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cert-modal-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  display: block;
  background: #03060c;
  transition: transform 0.25s ease;
}

.cert-modal-img:hover {
  transform: scale(1.01);
}

.cert-image-badge-overlay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.15rem;
  background: #0f1626;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.cert-image-badge-overlay span {
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.05em;
}

.cert-image-fullscreen-btn {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all 0.2s ease;
}

.cert-image-fullscreen-btn:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: #00f2fe;
  color: #ffffff;
}

.cert-modal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-modal-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.cert-modal-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}

.cert-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.cert-modal-issuer {
  font-size: 0.9rem;
  color: #38bdf8;
  font-weight: 600;
}

.cert-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}

.info-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.verified-text {
  color: #10b981 !important;
}

.cert-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-verify-link-btn {
  background: #38bdf8;
  color: #0f172a;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.cert-verify-link-btn:hover {
  background: #00f2fe;
  transform: translateY(-2px);
}

.cert-modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
}


/* 8. Stealth Cyber Dark Mode Styling Overrides */
/* Full Background 4K Macro Plexus Blue Video in Dark Mode */
[data-theme="dark"] .full-bg-video {
  opacity: 0.44;
  filter: saturate(1.4) contrast(1.18) brightness(1.12);
  mix-blend-mode: screen;
}

[data-theme="dark"] .full-bg-tint-overlay {
  background: radial-gradient(ellipse at 50% 40%, rgba(8, 12, 20, 0.48) 0%, rgba(8, 12, 20, 0.88) 100%);
}

[data-theme="dark"] .cyber-grid-lines {
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
  opacity: 0.8;
}

[data-theme="dark"] .hero-canvas {
  background: #0c111d;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hero-bg-video {
  opacity: 0.58;
  filter: saturate(1.3) contrast(1.15) brightness(1.05);
  mix-blend-mode: screen;
}

[data-theme="dark"] .hero-video-tint-overlay {
  background: radial-gradient(ellipse at 50% 50%, rgba(12, 17, 29, 0.2) 0%, rgba(12, 17, 29, 0.8) 100%);
}

[data-theme="dark"] .hero-canvas::before {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%);
}

[data-theme="dark"] .name-outline {
  -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .name-solid {
  color: #ffffff;
}

[data-theme="dark"] .social-pill-link {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .social-pill-link:hover {
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  border-color: #00f2fe;
}

[data-theme="dark"] .navbar {
  background: rgba(12, 17, 29, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-link {
  color: #94a3b8;
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: #ffffff;
}

[data-theme="dark"] .project-aesthetic-card,
[data-theme="dark"] .exp-aesthetic-card,
[data-theme="dark"] .cert-aesthetic-card,
[data-theme="dark"] .edu-aesthetic-card {
  background: #0f1624;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

[data-theme="dark"] .project-card-title,
[data-theme="dark"] .exp-role-title,
[data-theme="dark"] .cert-name,
[data-theme="dark"] .edu-inst-name {
  color: #ffffff;
}

/* Crisp white section titles in Dark Mode */
[data-theme="dark"] .section-main-title,
[data-theme="dark"] .hero-role-title {
  color: #f8fafc;
}

/* Smooth bottom gradient fades in Dark Mode */
[data-theme="dark"] .hero-portrait-card::after {
  background: linear-gradient(to bottom, rgba(12, 17, 29, 0) 0%, rgba(12, 17, 29, 0.85) 65%, #0c111d 100%);
}

[data-theme="dark"] .edu-campus-image-wrapper::after {
  background: linear-gradient(to bottom, rgba(15, 22, 36, 0) 0%, rgba(15, 22, 36, 0.85) 60%, #0f1624 100%);
}

[data-theme="dark"] .project-video-wrapper::after {
  background: linear-gradient(to bottom, rgba(15, 22, 36, 0) 0%, rgba(15, 22, 36, 0.85) 60%, #0f1624 100%);
}

[data-theme="dark"] .exp-bg-video {
  opacity: 0.38;
  filter: saturate(1.4) contrast(1.18) brightness(1.1);
  mix-blend-mode: screen;
}

[data-theme="dark"] .exp-aesthetic-card:hover .exp-bg-video {
  opacity: 0.55;
  transform: scale(1.05);
}

[data-theme="dark"] .exp-bg-video-overlay {
  background: linear-gradient(135deg, rgba(12, 17, 29, 0.78) 0%, rgba(15, 22, 36, 0.62) 50%, rgba(12, 17, 29, 0.82) 100%);
}

/* Translucent Cyan Icon Badges in Dark Mode */
[data-theme="dark"] .project-card-icon,
[data-theme="dark"] .cert-icon-badge {
  background: rgba(8, 20, 32, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

[data-theme="dark"] .project-aesthetic-card:hover .project-card-icon,
[data-theme="dark"] .cert-aesthetic-card:hover .cert-icon-badge {
  background: rgba(12, 28, 48, 0.95);
  border-color: rgba(56, 189, 248, 0.85);
  color: #67e8f9;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .edu-dates-text {
  color: #94a3b8;
}

[data-theme="dark"] .contact-section {
  background: #080c14;
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .contact-giant-heading {
  color: #ffffff;
}

[data-theme="dark"] .contact-email-large {
  color: #ffffff;
  border-color: #ffffff;
}

[data-theme="dark"] .contact-form-card {
  background: #0f1624;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .form-title {
  color: #ffffff;
}

[data-theme="dark"] .form-label {
  color: #cbd5e1;
}

[data-theme="dark"] .form-input-line {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .form-input-line:focus {
  border-bottom-color: #00f2fe;
}

[data-theme="dark"] .funny-quotes-card {
  background: #0f1624;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .quote-text {
  color: #ffffff;
}

[data-theme="dark"] .tag-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .site-footer {
  background: #05080e;
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* Responsive updates for Verification Modal */
@media (max-width: 640px) {
  .cert-info-grid {
    grid-template-columns: 1fr;
  }
}
