/* ══════════════════════════════════════════════════════════
   DEVENDER SISODIA — PERSONAL PORTFOLIO
   Typography: Times New Roman Serif Circuit
   Colors: #7C5CFF (Violet Accent) · #4ECDC4 (Turquoise Accent) 
           #F5F5F5 (Light Text) · #0A0A0A (Dark Background)
   ══════════════════════════════════════════════════════════ */

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

:root {
  --purple-accent: #7C5CFF;
  --cyan-accent: #4ECDC4;
  --text-light: #F5F5F5;
  --text-muted: #A3A3A3;
  --text-dim: #737373;
  --bg-dark: #0A0A0A;
  --bg-card: rgba(20, 20, 25, 0.65);
  --bg-card-hover: rgba(30, 30, 40, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(124, 92, 255, 0.4);

  --font-heading: 'Times New Roman', Times, 'Georgia', serif;
  --font-body: 'Times New Roman', Times, 'Georgia', serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-purple: 0 10px 40px rgba(124, 92, 255, 0.25);
  --shadow-cyan: 0 10px 40px rgba(78, 205, 196, 0.25);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.5);
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* ── Canvas Ambient Mesh ── */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

/* ── Custom Cursor ── */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-accent);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, background 0.3s ease;
  box-shadow: 0 0 12px var(--cyan-accent);
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 255, 0.6);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(2);
  background: var(--purple-accent);
  box-shadow: 0 0 20px var(--purple-accent);
}

body.cursor-hover .cursor-ring {
  width: 65px;
  height: 65px;
  border-color: var(--cyan-accent);
}

/* ── Preloader ── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-expo), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.loader-bar-bg {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple-accent), var(--cyan-accent));
  transition: width 0.1s linear;
}

.loader-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-accent), var(--cyan-accent));
  z-index: 10001;
}

/* ── Layout Container & Section Base ── */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

.bg-dim {
  background: rgba(15, 15, 20, 0.5);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.center {
  text-align: center;
}

/* ── Glassmorphism Cards ── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-expo), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(124, 92, 255, 0.15);
  transform: translateY(-6px);
}

/* ── Typography & Gradients ── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent), #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stroke-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 245, 245, 0.85);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-accent), #5A35FF);
  color: #FFF;
  box-shadow: 0 8px 25px rgba(124, 92, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 35px rgba(124, 92, 255, 0.6);
  transform: translateY(-3px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--cyan-accent), #25A59D);
  color: #0A0A0A;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 12px 35px rgba(78, 205, 196, 0.5);
  transform: translateY(-3px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--purple-accent);
  transform: translateY(-3px);
}

.btn-xl {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
}

/* ── STICKY NAV ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000;
  padding: 1.5rem 0;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

#header.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.4);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

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

.nav-cta {
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: var(--purple-accent) !important;
}

.nav-cta:hover {
  background: var(--purple-accent);
  color: #FFF !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── 1. HERO SECTION ── */
.hero-section {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(124, 92, 255, 0.12), transparent 70%),
              linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.95) 90%, #0A0A0A 100%);
  z-index: 1;
}

.video-preview-mesh {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(80px);
  opacity: 0.6;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--purple-accent);
  top: -100px;
  left: 10%;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: var(--cyan-accent);
  bottom: -150px;
  right: 15%;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #3A1C71;
  top: 40%;
  right: 40%;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.15); }
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.sub-divider {
  color: var(--purple-accent);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

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

.hero-stat-card {
  padding: 1.25rem;
  text-align: center;
}

.stat-number-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-icon-wrapper {
  font-size: 2rem;
  color: var(--cyan-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO MONOCHROME PORTRAIT ── */
.hero-portrait-col {
  display: flex;
  justify-content: center;
}

.portrait-editorial-card {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: rgba(15, 15, 20, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.portrait-editorial-inner {
  height: 500px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s var(--ease-expo), filter 0.4s ease;
}

.portrait-editorial-card:hover .hero-portrait-img {
  transform: scale(1.03);
}

.mono-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  text-align: center;
  z-index: 2;
}

.mono-caption .mono-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.25rem;
}

.mono-caption .mono-role {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── 2. ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

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

.about-card-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 14px;
}

.hl-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.15);
  color: var(--purple-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hl-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.hl-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.lead-text {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.sub-lead-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

/* ── 3. EXPERTISE SECTION ── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.spec-card {
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.spec-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(78, 205, 196, 0.1));
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(78, 205, 196, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.spec-card:hover .spec-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--purple-accent);
  color: #FFF;
}

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

.spec-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.spec-glow {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--purple-accent);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spec-card:hover .spec-glow {
  opacity: 0.25;
}

/* ── 4. SHOWREEL SECTION ── */
.showreel-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.showreel-card {
  padding: 1rem;
  border-radius: 24px;
}

.showreel-thumbnail {
  width: 100%;
  height: 520px;
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(124, 92, 255, 0.3), rgba(10, 10, 10, 0.95)), #12121A;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

.reel-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.play-btn-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  border: none;
  color: #FFF;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 50px rgba(124, 92, 255, 0.6);
  transition: transform 0.3s var(--ease-spring);
  padding-left: 6px;
}

.play-btn-circle:hover {
  transform: scale(1.15);
}

.play-pulse {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 2px solid var(--cyan-accent);
  opacity: 0.6;
  animation: pulsePlay 2s infinite;
}

@keyframes pulsePlay {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.showreel-info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}

.showreel-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

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

/* ── 5. PORTFOLIO ARCHIVE (CREATIVE LIBRARY WITH ALTERNATING HEADINGS) ── */
.archive-categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.archive-cat-group {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.alt-right .archive-cat-header {
  justify-content: flex-end;
}

.archive-cat-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.archive-cat-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.4), transparent);
}

.alt-right .archive-cat-line {
  background: linear-gradient(270deg, rgba(124, 92, 255, 0.4), transparent);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--purple-accent);
  color: #FFF;
  border-color: var(--purple-accent);
  box-shadow: 0 5px 20px rgba(124, 92, 255, 0.3);
}

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

.gallery-item {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-expo);
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.08);
}

.thumb-1 { background: radial-gradient(circle, rgba(124, 92, 255, 0.5), rgba(10, 10, 10, 0.95)); }
.thumb-2 { background: radial-gradient(circle, rgba(78, 205, 196, 0.5), rgba(10, 10, 10, 0.95)); }
.thumb-3 { background: radial-gradient(circle, rgba(245, 245, 245, 0.3), rgba(10, 10, 10, 0.95)); }
.thumb-4 { background: radial-gradient(circle, rgba(150, 92, 255, 0.5), rgba(10, 10, 10, 0.95)); }
.thumb-5 { background: radial-gradient(circle, rgba(78, 180, 205, 0.5), rgba(10, 10, 10, 0.95)); }
.thumb-6 { background: radial-gradient(circle, rgba(200, 100, 255, 0.5), rgba(10, 10, 10, 0.95)); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 10, 10, 0.9) 100%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gal-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-accent);
  letter-spacing: 1px;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.btn-icon-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-accent);
  border: none;
  color: #FFF;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.4);
  transition: transform 0.3s var(--ease-spring);
}

.btn-icon-play:hover {
  transform: scale(1.15);
}

/* ── 6. EXPERIENCE BULLET-POINT TIMELINE ── */
.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  padding: 2.5rem;
  position: relative;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.company-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
}

.role-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-accent);
}

.timeline-period {
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: var(--purple-accent);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.responsibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.responsibility-list i {
  color: var(--cyan-accent);
  margin-top: 4px;
}

/* ── 7. CAREER HIGHLIGHTS (IDENTICAL CARDS) ── */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.achievement-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ach-icon {
  font-size: 2.4rem;
  color: var(--cyan-accent);
  margin-bottom: 1rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.achievement-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.achievement-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 8. WORKFLOW COLOR HIERARCHY ── */
.workflow-horizontal-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.wf-step {
  padding: 1.8rem;
  position: relative;
}

.wf-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple-accent); /* Deep Purple */
  margin-bottom: 0.8rem;
  line-height: 1;
}

.wf-step h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cyan-accent); /* Bright Aqua */
}

.wf-step p {
  font-size: 0.95rem;
  color: #E5E5E5; /* Soft White */
  line-height: 1.5;
}

/* ── 9. TOOLS & SOFTWARE SUBSECTIONS ── */
.tools-subsection {
  margin-bottom: 3.5rem;
}

.tools-subsection:last-child {
  margin-bottom: 0;
}

.tools-sub-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--glass-border);
}

.tools-grid {
  display: grid;
  gap: 1.5rem;
}

.tools-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.tools-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tool-card {
  padding: 2rem 1.2rem;
  text-align: center;
}

.tool-icon {
  font-size: 2.5rem;
  color: var(--purple-accent);
  margin-bottom: 1rem;
  transition: transform 0.3s var(--ease-spring);
}

.tool-card:hover .tool-icon {
  transform: scale(1.2) rotate(6deg);
  color: var(--cyan-accent);
}

.tool-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.tool-card span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── 10. CREATIVE STRENGTHS ── */
.skills-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-col {
  padding: 2.2rem;
}

.skill-col h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cyan-accent);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--glass-border);
}

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

.skill-list li {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-list i {
  color: var(--purple-accent);
  font-size: 0.8rem;
}

/* ── 11. EDUCATION REFINED VERTICAL TIMELINE ── */
.edu-refined-timeline {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.edu-refined-timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-accent), var(--cyan-accent));
  opacity: 0.5;
}

.edu-timeline-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  position: relative;
  z-index: 1;
}

.edu-node-point {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(124, 92, 255, 0.4);
}

.edu-block-content {
  flex-grow: 1;
}

.edu-block-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.edu-degree-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.edu-period-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-accent);
  background: rgba(78, 205, 196, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.edu-institute {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ── 12. CONTACT SECTION ── */
.bg-gradient-final {
  background: radial-gradient(circle at 50% 100%, rgba(124, 92, 255, 0.25), transparent 70%),
              radial-gradient(circle at 80% 50%, rgba(78, 205, 196, 0.15), transparent 60%);
  padding: 120px 0 60px;
}

.contact-headline {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.contact-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.back-to-top-wrapper {
  margin-bottom: 4rem;
}

.btn-back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.btn-back-top:hover {
  color: var(--cyan-accent);
  border-color: var(--cyan-accent);
  transform: translateY(-4px);
}

/* ── CINEMATIC FILM CLOSING FOOTER ── */
.footer-film-closing {
  padding-top: 3rem;
  position: relative;
}

.film-line {
  width: 60px;
  height: 2px;
  background: var(--purple-accent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.film-sub {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ── VIDEO LIGHTBOX MODAL ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(15px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  padding: 2rem;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--cyan-accent);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.modal-video-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.modal-video-container iframe,
.modal-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  background: #000;
  border-radius: 12px;
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero-title { font-size: 4rem; white-space: normal; }
  .contact-headline { font-size: 3.2rem; }
  .specs-grid, .workflow-horizontal-timeline, .tools-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .tools-grid-3 { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-columns, .achievements-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .contact-headline { font-size: 2.4rem; }
  .section-title { font-size: 2.2rem; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s var(--ease-expo);
  }
  .nav-links.open { right: 0; }
  .nav-burger { display: flex; z-index: 9999; }
  .specs-grid, .tools-grid-5, .tools-grid-3, .workflow-horizontal-timeline, .hero-stats-grid,
  .skills-columns, .achievements-grid, .gallery-grid { grid-template-columns: 1fr; }
  .showreel-thumbnail { height: 320px; }
  .play-btn-circle { width: 70px; height: 70px; font-size: 1.5rem; }
  .edu-timeline-block { flex-direction: column; align-items: flex-start; text-align: left; gap: 1rem; }
  .edu-refined-timeline::before { display: none; }
}
