/* ==========================================================================
   SEJAL SINGH — PREMIUM PORTFOLIO STYLESHEET
   Clean, Modern, Professional & Fully Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME TOKENS
   Easily configurable for final color palette updates
   -------------------------------------------------------------------------- */
:root {
  /* Canvas & Surface Colors (Dark Obsidian & Deep Purple tint) */
  --bg-body: #0b0813;
  --bg-hero: #0b0813;
  --bg-card: #130d22;
  --bg-card-hover: #1c1333;
  --bg-surface: #100b1d;
  --bg-alt: #0e0919;
  --bg-pill: rgba(255, 255, 255, 0.05);

  /* Typography Colors */
  --text-main: #ffffff;
  --text-heading: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-light: #cbd5e1;

  /* Theme Accents (Violet, Indigo, Sky Blue, Vibrant Emerald) */
  --primary: #8b5cf6;
  --primary-hover: #a855f7;
  --primary-light: rgba(139, 92, 246, 0.14);
  --primary-border: rgba(139, 92, 246, 0.35);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #a855f7 0%, #818cf8 40%, #38bdf8 100%);
  --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(59, 130, 246, 0.12) 50%, transparent 75%);
  --gradient-card-border: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(99, 102, 241, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);

  /* Accent Spotlights */
  --accent-purple: #c084fc;
  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
  --accent-green: #10b981;
  --accent-orange: #fb923c;

  /* Subtle Borders & Glassmorphism */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(168, 85, 247, 0.45);
  --border-glow: 0 0 20px rgba(139, 92, 246, 0.25);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(139, 92, 246, 0.12);
  --shadow-card-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.2);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout & Transitions */
  --container-max: 1180px;
  --nav-height: 76px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  /* Ambient cosmic dot-grid & subtle radial glows */
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
  background-attachment: fixed;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-purple);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-border);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-hero-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 0 0 15px rgba(168, 85, 247, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6), 0 0 25px rgba(168, 85, 247, 0.5);
  color: #ffffff;
}

.btn-hero-secondary {
  background: rgba(18, 12, 34, 0.85);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(30, 20, 54, 0.95);
  border-color: var(--primary-border);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.825rem;
}

/* --------------------------------------------------------------------------
   5. NAVBAR
   Consistent desktop row, active tab highlighting, mobile drawer
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(11, 8, 19, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(11, 8, 19, 0.94);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e1338 0%, #110a24 100%);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
  letter-spacing: 0.05em;
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-main);
  text-transform: uppercase;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

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

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

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

/* Nav Actions (DOWNLOAD RESUME button) */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-talk-btn,
.nav-resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  white-space: nowrap;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.nav-toggle-icon {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-normal);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-footer {
  display: none;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   Matching exact layout of reference screenshot
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 4rem;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-glow-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.glow-hero-left {
  top: 15%;
  left: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
}

.glow-hero-right {
  top: 10%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
}

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

/* Left Column */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: heroFadeInUp 0.8s ease-out forwards;
}

/* Top Badges */
.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}

.badge-category {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.badge-status {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Pulse indicator for open to opportunities */
.pulse-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pulse-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
}

.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-green);
  animation: pulseRipple 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRipple {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-purple);
}

/* Main Heading */
.hero-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.hero-greeting {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.hero-name-gradient {
  display: inline-block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-accent-dot {
  color: #60a5fa;
  -webkit-text-fill-color: #60a5fa;
}

/* Tagline */
.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* Description */
.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 580px;
  margin-bottom: 2.25rem;
}

/* Buttons */
.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

/* Expertise Bottom Row: Single line, refined compact typography */
.hero-expertise-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-expertise-row::-webkit-scrollbar {
  display: none;
}

.hero-expertise-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.hero-expertise-item:hover {
  color: #ffffff;
}

.exp-dot-purple {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  flex-shrink: 0;
}

.exp-dot-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

.exp-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. HERO RIGHT COLUMN: PORTRAIT COMPOSITION (SIMPLIFIED)
   Single medium-sized portrait card + two floating skill labels
   -------------------------------------------------------------------------- */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFadeInRight 0.8s ease-out 0.15s both;
}

.portrait-stage {
  position: relative;
  width: 320px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Portrait Card: Clean, softly rounded with subtle purple/blue glow */
.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #140e24;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(139, 92, 246, 0.18);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.portrait-stage:hover .portrait-frame {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.28);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.4s ease;
}

.portrait-stage:hover .portrait-img {
  transform: scale(1.025);
}

/* Two Small Floating Skill Labels */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: rgba(14, 10, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.775rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-badge:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--primary-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(139, 92, 246, 0.25);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* 1. Digital Marketing: Upper-Left Corner */
.badge-top-left {
  top: 20px;
  left: -22px;
  border-color: rgba(168, 85, 247, 0.35);
  animation: subtleFloat1 4.5s ease-in-out infinite alternate;
}

.badge-top-left .badge-icon {
  background: rgba(168, 85, 247, 0.18);
  color: var(--accent-purple);
}

/* 2. Web Development: Lower-Right Corner */
.badge-bottom-right {
  bottom: 24px;
  right: -22px;
  border-color: rgba(56, 189, 248, 0.35);
  animation: subtleFloat2 5s ease-in-out 0.8s infinite alternate;
}

.badge-bottom-right .badge-icon {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-cyan);
}

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

@keyframes subtleFloat2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* Keyframes for entrance animations */
@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --------------------------------------------------------------------------
   8. AUTOMATIC SKILLS SCROLLER
   Directly below hero, continuous seamless loop, comfortable speed
   -------------------------------------------------------------------------- */
.skills-scroller-wrap {
  width: 100%;
  background: rgba(15, 10, 26, 0.95);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Gradient edge fades */
.skills-scroller-wrap::before,
.skills-scroller-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.skills-scroller-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-body) 0%, transparent 100%);
}

.skills-scroller-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-body) 0%, transparent 100%);
}

.skills-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scrollSkills 28s linear infinite;
}

.skills-track:hover {
  animation-play-state: paused;
}

.skills-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 0.75rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--primary-border);
  color: #ffffff;
  transform: translateY(-2px);
}

.skill-pill-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
}

@keyframes scrollSkills {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   9. HOME SECTION: CREATIVE MIND, DIGITAL SKILLS, CONTINUOUS LEARNING
   Three professional cards: Digital Marketing & SEO, Web Development, BCA Studies
   -------------------------------------------------------------------------- */
.mindset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.mindset-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.mindset-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.mindset-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.22);
}

.mindset-card:hover::before {
  opacity: 1;
}

.mindset-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.mindset-card:hover .mindset-icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

.mindset-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.mindset-desc {
  font-size: 0.885rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.mindset-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-top: auto;
  transition: var(--transition-fast);
}

.mindset-card:hover .mindset-action-link {
  color: #ffffff;
  gap: 0.65rem;
}

/* Category Block Target & Anchor Offset for skills.html */
.skill-category-block {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.skill-category-block:target,
.skill-category-block.target-active {
  border-color: var(--primary-border);
  background: rgba(139, 92, 246, 0.06);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.22);
  animation: targetPulse 1.8s ease-out;
}

@keyframes targetPulse {
  0% {
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.35);
  }
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
  }
}


/* --------------------------------------------------------------------------
   10. HOME SECTION: CORE SKILLS
   Four cards: SEO, Keyword Research, Google Ads & Meta Ads, Web Design
   -------------------------------------------------------------------------- */
.core-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.core-skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.core-skill-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.22);
}

.core-skill-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.core-skill-card:hover .core-skill-icon {
  transform: scale(1.08);
}

.core-skill-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.core-skill-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   11. HOME SECTION: FEATURED PROJECTS
   Preview cards for three websites + View All Projects button
   -------------------------------------------------------------------------- */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.project-card {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.project-card:target,
.project-card.target-active {
  border-color: var(--primary-border);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.35);
  animation: targetPulse 1.8s ease-out;
}

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

.project-media-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #191228;
  display: block;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(11, 8, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.project-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.project-title a:hover {
  color: var(--accent-purple);
}

.project-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-purple);
  transition: var(--transition-fast);
}

.project-link:hover {
  color: #ffffff;
  gap: 0.75rem;
}

.project-tech-tags {
  display: flex;
  gap: 0.4rem;
}

.tech-tag {
  font-size: 0.725rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.projects-cta-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   Clean, consistent across all 5 pages
   -------------------------------------------------------------------------- */
.footer {
  background: #08050e;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

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

.footer-bio {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 320px;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-purple);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. FOUNDATION PAGES COMMON STYLES
   Used across About, Skills & Services, Projects, Contact pages
   -------------------------------------------------------------------------- */
.page-hero-banner {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, rgba(19, 13, 34, 0.6) 0%, rgba(11, 8, 19, 1) 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto;
}

.page-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   14. ACCESSIBILITY & RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

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

  .hero-badges-row {
    justify-content: center;
  }

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

  .hero-expertise-row {
    justify-content: center;
  }

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

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(11, 8, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav-footer {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-talk-btn {
    width: 100%;
    text-align: center;
  }

  .hero-main-title {
    font-size: 2.75rem;
  }

  .hero-greeting {
    font-size: 2.25rem;
  }

  .portrait-stage {
    width: 280px;
    height: 370px;
  }

  .portrait-frame {
    width: 280px;
    height: 370px;
  }

  .badge-top-left {
    left: -12px;
    top: 14px;
  }

  .badge-bottom-right {
    right: -12px;
    bottom: 18px;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2.25rem;
  }

  .hero-greeting {
    font-size: 1.85rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
  }

  .hero-badges-row {
    flex-direction: column;
    align-items: center;
  }

  .portrait-stage {
    width: 240px;
    height: 320px;
  }

  .portrait-frame {
    width: 240px;
    height: 320px;
    border-radius: var(--radius-md);
  }

  .floating-badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .badge-icon {
    width: 22px;
    height: 22px;
  }

  .badge-top-left {
    left: -6px;
    top: 10px;
  }

  .badge-bottom-right {
    right: -6px;
    bottom: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .hero-expertise-row {
    gap: 0.85rem;
    justify-content: flex-start;
  }

  .hero-expertise-item {
    font-size: 0.65rem;
    gap: 0.3rem;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .skills-track {
    animation: none;
    overflow-x: auto;
  }
}

/* --------------------------------------------------------------------------
   15. RESUME PAGE STYLES
   -------------------------------------------------------------------------- */
.resume-wrapper {
  max-width: 920px;
  margin: 0 auto;
}

.resume-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.resume-paper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.resume-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan), var(--accent-green));
}

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

.resume-name {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.resume-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.resume-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.resume-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition-fast);
}

.resume-chip:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--primary-border);
  color: #ffffff;
}

.resume-section {
  margin-bottom: 2.5rem;
}

.resume-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.resume-section-title svg {
  color: var(--accent-purple);
}

.resume-entry {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
  border-left: 2px solid rgba(139, 92, 246, 0.25);
}

.resume-entry::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
}

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.resume-entry-title {
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--text-main);
}

.resume-entry-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.resume-entry-subtitle {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.resume-entry-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-body);
}

.resume-skills-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.resume-skill-group {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.resume-skill-group h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resume-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resume-skill-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-body);
}

@media (max-width: 768px) {
  .resume-paper {
    padding: 2.25rem 1.5rem;
  }
  .resume-name {
    font-size: 1.85rem;
  }
  .resume-actions-bar {
    flex-direction: column;
    width: 100%;
  }
  .resume-actions-bar .btn {
    width: 100%;
  }
}
